/* Public pages of the Dentist, Clinic and Coordinator panels
   (templates/public/professionals/panel_landing_base.html). Builds on the
   tokens and buttons of lumben-professionals.css (.pro-page); the role photo
   is panel-photo.css. */

/* The theme's header is see-through; here it is solid so the hero never shows through it. */
body.pro-panel-page .site-header,
body.pro-panel-page.nav-bg .site-header {
  background-color: #fff !important;
  box-shadow: 0 1px 0 var(--pro-line);
}

/* ── Hero: message left, photo right ─────────────────────────────────────── */
.pp-hero { padding: 116px 0 56px; background: #f7f9fc; }
.pp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pp-hero__copy .pro-eyebrow { margin-bottom: 14px; }
.pp-h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--pro-deep);
  text-wrap: balance;
}
.pp-lead { max-width: 560px; margin: 0; font-size: 18px; line-height: 1.6; color: #3d4654; }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0; }
.pp-btn-main { min-width: 168px; }
.pp-demo { margin: 14px 0 0; }
.pp-access {
  max-width: 560px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--pro-ice-line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--pro-ink-2);
}
.pp-hero__photo .panel-photo__frame { box-shadow: 0 18px 40px rgba(13, 34, 64, .14); }

/* ── Workflow ────────────────────────────────────────────────────────────── */
.pp-flow { padding: 56px 0 64px; background: #fff; }
.pp-h2 { margin: 0 0 28px; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--pro-deep); }
.pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.pp-step {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--pro-ice-line);
  border-radius: var(--pro-radius-sm);
  background: var(--pro-ice);
}
.pp-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--pro-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.pp-step__title { margin: 0 0 8px; font-size: 16px; line-height: 1.3; letter-spacing: .02em; color: var(--pro-deep); }
.pp-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--pro-ink-2); }

.pp-others {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--pro-ink-2);
}
.pp-others a {
  display: inline-block;
  padding: 8px 0;
  color: var(--pro-accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pp-others a:hover { color: var(--pro-navy); }

/* ── Smaller screens: copy and actions first, then the photo ─────────────── */
@media (max-width: 991px) {
  .pp-hero { padding: 100px 0 40px; }
  .pp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp-hero__photo { max-width: 640px; }
  .pp-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 575px) {
  .pp-hero { padding-top: 84px; }
  .pp-hero .container, .pp-flow .container { padding-left: 16px; padding-right: 16px; }
  .pp-lead { font-size: 16px; }
  .pp-actions .pro-btn { flex: 1 1 100%; }
  .pp-flow { padding: 40px 0 48px; }
}
