/* ---------------------------------------------------------------------
   R Prasad Ayurveda — site components
   Depends on design-system.css for tokens and primitives.
   --------------------------------------------------------------------- */

/* --------------------------- announcement ------------------------- */

.topbar {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: var(--text-caption);
  overflow: hidden;
}

.topbar a { text-decoration: underline; text-underline-offset: 2px; }

.topbar-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 3rem;
  justify-content: center;
}

/* Only scroll when there is more than one message to rotate through. */
.topbar-track.is-marquee {
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: topbar-scroll 38s linear infinite;
}

@keyframes topbar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.topbar:hover .topbar-track.is-marquee { animation-play-state: paused; }

/* ------------------------------ header ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.85rem;
}

.nav-brand {
  display: block;
  font-weight: 800;
  font-size: 1.3125rem;
  line-height: 1.1;
  color: var(--teal);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: var(--text-small);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-block: 0.35rem;
  color: var(--ink);
  transition: color var(--fast) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
  transition: right var(--base) var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current='page'] { color: var(--teal); }

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--teal);
  font-size: 1.15rem;
  cursor: pointer;
}

/* --------------------------- mobile menu -------------------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(16, 47, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--base) var(--ease), visibility var(--base);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(330px, 86vw);
  padding: 1.25rem;
  background: var(--white);
  box-shadow: -18px 0 50px rgba(16, 47, 51, 0.18);
  transform: translateX(105%);
  transition: transform var(--base) var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--teal);
  cursor: pointer;
}

.mobile-menu-links { display: flex; flex-direction: column; }

.mobile-menu-links a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
  color: var(--ink);
}
.mobile-menu-links a:hover { color: var(--teal); }

.mobile-menu-cta { margin-top: auto; }

/* ------------------------------- hero ----------------------------- */

.hero {
  background: linear-gradient(120deg, var(--mint), var(--white) 58%, var(--cream));
  padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 5.3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 1rem + 3.5vw, 3.2rem);
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero h1 { margin-bottom: 1rem; }

.hero-copy > .text-lead { max-width: 60ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.75rem;
}

/* Four-photo strip at the top of the hero visual, per the client's brief. */
.hero-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #DCEFED, #F9F4E9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder state while the client's four photos are outstanding. */
.hero-photo--empty {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--teal-2);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 1.6rem;
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #DCEFED, #F9F4E9);
  box-shadow: var(--shadow-panel);
}

.hero-visual-card {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hero-visual-card strong {
  display: block;
  margin: 0.35rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--teal);
  line-height: 1.25;
}

/* ---------------------------- trust bar --------------------------- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--teal);
  color: var(--white);
}

.trust div {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--dark-line);
}
.trust div:last-child { border-right: 0; }

.trust strong {
  display: block;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  line-height: 1.2;
}

.trust span {
  font-size: var(--text-caption);
  opacity: 0.82;
}

/* ------------------------- section heading ------------------------ */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.section-head .eyebrow { margin-bottom: 0.6rem; }
.section-head h2 { max-width: 36ch; }

.center .eyebrow { margin-bottom: 0.6rem; }
.center h2 { margin-bottom: 0.9rem; }

/* ------------------------- pipeline / steps ----------------------- */

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  counter-reset: pipeline;
}

.pipeline-step {
  position: relative;
  padding: 1.4rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.pipeline-step::before {
  counter-increment: pipeline;
  content: '0' counter(pipeline);
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.pipeline-step h3 { margin-bottom: 0.35rem; font-size: var(--text-body); }
.pipeline-step p  { font-size: var(--text-small); color: var(--muted); }

.section--dark .pipeline-step {
  background: var(--dark-card);
  border-color: var(--dark-line);
  box-shadow: none;
}
.section--dark .pipeline-step h3 { color: var(--white); }
.section--dark .pipeline-step p  { color: var(--on-dark); }
.section--dark .pipeline-step::before { color: var(--on-dark-quiet); }

/* Four-column variant used on the Our Approach page. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.step {
  padding: 1.4rem 1.2rem 1.4rem 0;
  border-top: 2px solid var(--sage);
}

.step b {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.3125rem;
  color: var(--teal);
}
.step span { font-size: var(--text-small); color: var(--muted); }

/* --------------------------- conditions --------------------------- */

.condition-group + .condition-group { margin-top: 2.75rem; }

.condition-group-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.condition-group-head h3 { font-size: var(--text-h3); }
.condition-group-head span { font-size: var(--text-caption); color: var(--muted-light); }

.condition-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--mint);
  border-color: #D8ECEC;
}

.condition-card .condition-term {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--teal-2);
}

.condition-card p { font-size: var(--text-small); color: var(--muted); }

.condition-card .condition-more {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--teal);
}

/* Category tile on the home page. */
.category-card {
  background: var(--mint);
  border-color: #D8ECEC;
}

.category-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.category-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.category-card li a {
  display: block;
  padding: 0.3rem 0;
  font-size: var(--text-small);
  color: var(--muted);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.category-card li a:hover {
  color: var(--teal);
  transform: translateX(3px);
}

/* --------------------------- therapies ---------------------------- */

.therapy-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.therapy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.therapy-icon { font-size: 1.75rem; line-height: 1; }

/* ---------------------------- journey ----------------------------- */

.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 3.1rem);
  align-items: center;
}

.journey-list > div {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.journey-list > div:last-child { border-bottom: 0; }

.journey-list b {
  flex: 0 0 auto;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

/* ----------------------- page header (inner) ---------------------- */

.page-header {
  background: linear-gradient(120deg, var(--mint), var(--white) 65%, var(--cream));
  padding-block: clamp(2.75rem, 2rem + 3vw, 4rem);
}

.breadcrumb {
  margin-bottom: 0.9rem;
  font-size: var(--text-caption);
  color: var(--muted);
}
.breadcrumb a { color: var(--teal-2); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* -------------------------- disease page -------------------------- */

.disease-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 3.5vw, 3.4rem);
  align-items: center;
}

.disease-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 1.6rem;
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #DCEFED, #F8F1E2);
  box-shadow: var(--shadow-panel);
}

.disease-visual-card {
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.disease-visual-card .icon { font-size: 2.75rem; line-height: 1; }

.symptoms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.symptom {
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: 18px;
  border-left: 4px solid var(--sage);
  box-shadow: var(--shadow-card);
  font-size: var(--text-small);
}

.prose > p { color: var(--muted); font-size: var(--text-lead); }

.post-layout,
.disease-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 1rem + 3vw, 3rem);
  align-items: start;
}

.disease-aside { position: sticky; top: 96px; }

.aside-links a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-small);
  color: var(--ink);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.aside-links a:hover { color: var(--teal); transform: translateX(3px); }
.aside-links a:last-child { border-bottom: 0; }

/* ------------------------------ FAQ ------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-2);
  transition: transform var(--base) var(--ease), background var(--fast) var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--mint);
}

.faq-answer {
  display: none;
  padding-bottom: 1.15rem;
  color: var(--muted);
}
.faq-item.is-open .faq-answer { display: block; }

/* ---------------------------- CTA band ---------------------------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background: var(--teal);
  border-radius: var(--radius-panel);
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p  { color: var(--on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----------------------------- gallery ---------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------ blog ------------------------------ */

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.blog-cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--mint);
  font-size: 2rem;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: var(--space-card);
}

/* ----------------------------- doctors ---------------------------- */

.doctor-card { display: flex; flex-direction: column; gap: 0.5rem; }

.doctor-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: 0.9rem;
  border-radius: calc(var(--radius-card) - 6px);
  background: var(--mint);
}

.doctor-photo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* --------------------------- testimonials ------------------------- */

.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }

.testimonial-quote {
  font-size: var(--text-lead);
  color: var(--ink);
  line-height: 1.55;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.avatar-circle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--mint);
  border: 1px solid var(--sage);
  border-radius: 50%;
  font-weight: 700;
  color: var(--teal);
}

/* ------------------------------ footer ---------------------------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: clamp(2.75rem, 2rem + 2.5vw, 3.5rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.2rem;
}

.site-footer h3 {
  margin-bottom: 0.85rem;
  color: var(--white);
  font-size: var(--text-body);
}

.site-footer a {
  display: block;
  margin: 0.5rem 0;
  font-size: var(--text-small);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.site-footer a:hover { color: var(--white); transform: translateX(3px); }

.footer-brand .nav-brand { color: var(--white); }
.footer-brand p { font-size: var(--text-small); }

.social-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

.social-icon {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-caption);
}
.social-icon:hover { background: var(--dark-card); transform: none !important; }

.footer-map {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dark-line);
  font-size: var(--text-caption);
  opacity: 0.85;
}

/* ------------------------- sticky mobile bar ---------------------- */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  background: var(--white);
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.12);
}

.mobile-bar a {
  flex: 1;
  padding: 0.85rem 0.4rem;
  text-align: center;
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--teal);
  border-right: 1px solid var(--line-soft);
}
.mobile-bar a:last-child {
  background: var(--teal);
  color: var(--white);
  border-right: 0;
}

/* --------------------------- responsive --------------------------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout,
  .disease-layout { grid-template-columns: minmax(0, 1fr); }
  .disease-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* The header CTA would push the hamburger off-screen next to the
     wordmark; the drawer and the sticky bottom bar both carry it. */
  .nav-actions > .btn { display: none; }

  .hero-grid,
  .disease-hero,
  .journey { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 300px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust div:nth-child(2n) { border-right: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bar { display: flex; }
  body { padding-bottom: 56px; }
}

@media (max-width: 720px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .symptoms { grid-template-columns: minmax(0, 1fr); }
  .hero-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
  .hero-photo { border-radius: 12px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-brand { font-size: 1.0625rem; }
  .nav-brand small { font-size: 0.5rem; letter-spacing: 0.14em; }
}

/* =====================================================================
   2026-09-21 revision: client logo, banner slider, roadmap, no icons
   ===================================================================== */

/* ------------------------------- logo ------------------------------- */

.nav-logo { display: block; flex: 0 0 auto; line-height: 0; }
.nav-logo img { height: 54px; width: auto; }
.nav-logo--sm img { height: 40px; }

.footer-logo { width: 210px; height: auto; margin-bottom: 1rem; }

/* Text-only controls: the client asked for no icons anywhere. */
.nav-toggle,
.mobile-menu-close {
  width: auto;
  padding: 0 0.95rem;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.social-row { flex-wrap: wrap; }

.social-link {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption) !important;
  font-weight: 600;
}
.social-link:hover { background: var(--dark-card); transform: none !important; }

/* ------------------------------ banner ------------------------------ */

.banner {
  padding-top: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  background: var(--mint);
}

.banner-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--teal);
  box-shadow: var(--shadow-panel);
}

.banner-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.banner-track::-webkit-scrollbar { display: none; }

.banner-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}

.banner-slide picture,
.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder slide, shown until the client's artwork is dropped in. */
.banner-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(121, 183, 189, 0.35), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(248, 245, 236, 0.18), transparent 50%),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
}

.banner-placeholder-num {
  font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
}

.banner-placeholder-label {
  font-size: var(--text-h3);
  font-weight: 700;
}

.banner-placeholder-size {
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.banner-size-mobile { display: none; }

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.9rem;
}

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: #BFD3D5;
  cursor: pointer;
  transition: width var(--base) var(--ease), background var(--base) var(--ease);
}
.banner-dot.is-active { width: 28px; background: var(--teal); }

/* The hero now sits under the banner, so it continues the same ground. */
.banner + .hero { background: linear-gradient(180deg, var(--mint), var(--white) 55%, var(--cream)); }

@media (max-width: 720px) {
  .banner-frame {
    aspect-ratio: 9 / 16;
    max-height: 82svh;
    border-radius: var(--radius-card);
  }
  .banner-size-desktop { display: none; }
  .banner-size-mobile { display: inline; }
}

/* ----------------------------- roadmap ------------------------------ */

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 1rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

/* The road itself. */
.roadmap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sage), var(--teal));
  transform: translateY(-50%);
}

.roadmap-step {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
}

.roadmap-node {
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--sage);
}

.roadmap-body {
  grid-row: 1;
  align-self: end;
  position: relative;
  width: 100%;
  margin-bottom: 1.6rem;
  padding: 1.15rem 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* Alternate stops sit below the road, so it reads as a route, not a row. */
.roadmap-step:nth-child(even) .roadmap-body {
  grid-row: 3;
  align-self: start;
  margin: 1.6rem 0 0;
}

/* Stem joining each stop to the road. */
.roadmap-body::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  width: 2px;
  height: 1.6rem;
  background: var(--sage);
  transform: translateX(-50%);
}
.roadmap-step:nth-child(even) .roadmap-body::after { top: -1.6rem; bottom: auto; }

.roadmap-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--text-caption);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-2);
}

.roadmap-body h3 { margin-bottom: 0.4rem; font-size: 1.0625rem; }
.roadmap-body p { font-size: var(--text-small); color: var(--muted); }

@media (max-width: 1080px) {
  .roadmap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    max-width: 640px;
    margin-inline: auto;
  }
  .roadmap::before {
    top: 0;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 4px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, var(--sage), var(--teal));
  }
  .roadmap-step {
    grid-template-rows: none;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    justify-items: stretch;
  }
  .roadmap-node { grid-row: 1; grid-column: 1; }
  .roadmap-body,
  .roadmap-step:nth-child(even) .roadmap-body {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin: 0;
  }
  .roadmap-body::after,
  .roadmap-step:nth-child(even) .roadmap-body::after {
    top: 50%;
    bottom: auto;
    left: -1.1rem;
    width: 1.1rem;
    height: 2px;
    transform: translateY(-50%);
  }
}

/* --------------------------- process line --------------------------- */

.process-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-line li {
  counter-increment: process;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--teal);
}

.process-line li::before {
  content: counter(process);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: var(--text-caption);
}

.process-line li:not(:last-child)::after {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--sage);
}

/* ----------------------- readability on dark ------------------------ */
/* White cards inside a dark section (Meet Your Physicians) inherited the
   section's white text and were unreadable. */

.section--dark .card:not(.card--dark) { color: var(--ink); }
.section--dark .card:not(.card--dark) h3 { color: var(--teal); }
.section--dark .card:not(.card--dark) p,
.section--dark .card:not(.card--dark) .text-muted { color: var(--muted); }
.section--dark .card:not(.card--dark) .text-caption { color: var(--muted-light); }
.section--dark .card:not(.card--dark) .eyebrow { color: var(--teal-2); }
.section--dark .card:not(.card--dark) .badge {
  background: var(--white);
  border-color: var(--line);
  color: var(--teal);
}

.doctor-card h3 { font-size: 1.25rem; }
.doctor-card .text-small { font-size: 0.9375rem; line-height: 1.55; }

@media (max-width: 560px) {
  .nav-logo img { height: 44px; }
}

/* =====================================================================
   2026-09-22 revision: full-screen banner, smaller logo, decluttered
   hero, swipeable physicians on mobile
   ===================================================================== */

/* ------------------------------- logo ------------------------------- */
/* Scales with the viewport instead of a fixed 54px. */

.nav { padding-block: 0.65rem; }
.nav-logo img { height: clamp(32px, 1.1vw + 22px, 42px); }
.nav-logo--sm img { height: 34px; }
.footer-logo { width: clamp(150px, 12vw, 190px); }

@media (max-width: 560px) {
  .nav { padding-block: 0.55rem; }
  .nav-logo img { height: 32px; }
}

/* --------------------------- full-screen banner --------------------------- */
/* Fills the viewport below the header, edge to edge, on every screen size.
   --banner-top is the header height, measured by main.js; the fallback
   covers the first paint. */

.banner {
  padding: 0;
  background: var(--teal);
}

.banner-frame {
  aspect-ratio: auto;
  width: 100%;
  height: calc(100svh - var(--banner-top, 110px));
  min-height: 360px;
  border-radius: 0;
  box-shadow: none;
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 2.5vh, 1.75rem);
  z-index: 2;
  padding: 0;
}

.banner-dot { background: rgba(255, 255, 255, 0.5); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.banner-dot.is-active { background: var(--white); }

@media (max-width: 900px) {
  /* Leave room for the sticky Call / WhatsApp / Book bar. */
  .banner-frame { height: calc(100svh - var(--banner-top, 110px) - var(--mobile-bar-h, 56px)); }
}

@media (max-width: 720px) {
  .banner-frame {
    aspect-ratio: auto;
    max-height: none;
    border-radius: 0;
  }
}

/* ------------------------------ hero ------------------------------- */
/* Single column now that the side box is gone. */

.hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

/* ------------------------ physicians scroller ------------------------ */

.swipe-hint { display: none; }

@media (max-width: 720px) {
  .doctor-scroller {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .doctor-scroller::-webkit-scrollbar { display: none; }

  /* Next card peeks in, so it is obvious there is more to see. */
  .doctor-scroller > .card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .swipe-hint {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
    font-size: var(--text-caption);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
  }
}

@media (min-width: 721px) {
  .doctor-scroller { margin-top: 2.5rem; }
}

/* Payment step on the booking success screen. */
.payment-step {
  margin: 1.5rem auto 0;
  max-width: 440px;
  padding: 1.25rem 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.payment-step h3 { margin-bottom: 0.4rem; }
.payment-step .btn { margin-top: 0.9rem; }

/* Per-device banner slides. */
@media (min-width: 721px) { .banner-slide--mobile { display: none; } }
@media (max-width: 720px) { .banner-slide--desktop { display: none; } }
.banner-dots:empty { display: none; }
