/* ==========================================================
   Dr. Gnanavelu — clean clinical design system
   ========================================================== */

:root {
    --navy: #123b63;
    --navy-dark: #0b2d4d;
    --blue: #245f93;
    --blue-soft: #edf5fb;
    --ink: #27394a;
    --muted: #6d7f8e;
    --surface: #f7fafc;
    --white: #fff;
    --line: #dce6ed;
    --teal: #2d7f8d;
    --shadow: 0 18px 45px rgba(18, 59, 99, .10);
}

html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--ink); }
::selection { background: rgba(36, 95, 147, .16); color: var(--navy); }

/* ---------- Global ---------- */
.site-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.home-section { padding: 104px 0; }

.section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-kicker > span {
    width: 32px;
    height: 1px;
    flex: 0 0 auto;
    background: currentColor;
}

.section-kicker-light { color: #cfe5f6; }

.home-section h2,
.appointment-band h2 {
    margin: 0;
    color: var(--navy);
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.lead-copy {
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}
.text-link i { font-size: .72rem; transition: transform .25s ease; }
.text-link:hover { color: var(--blue); }
.text-link:hover i { transform: translateX(4px); }
.text-link-strong { margin-top: 26px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.button-primary {
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 10px 25px rgba(18, 59, 99, .16);
}
.button-primary:hover {
    color: var(--white);
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(36, 95, 147, .20);
}
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { color: var(--navy); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.hero-slider-stage { position: relative; min-height: 650px; }

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr);
    align-items: center;
    gap: clamp(55px, 7vw, 105px);
    width: 100%;
    padding: 74px 0 48px;
}

.hero-copy { max-width: 650px; }
.hero-copy > * { opacity: 0; transform: translateY(12px); }
.hero-slide.is-active .hero-copy > * { animation: hero-reveal .65s ease forwards; }
.hero-slide.is-active .hero-copy .hero-heading { animation-delay: .07s; }
.hero-slide.is-active .hero-copy .hero-text { animation-delay: .13s; }
.hero-slide.is-active .hero-copy .hero-actions { animation-delay: .19s; }
.hero-slide.is-active .hero-copy .hero-credentials { animation-delay: .25s; }

@keyframes hero-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero-heading {
    max-width: 690px;
    margin: 0;
    color: var(--navy);
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(2.7rem, 5.1vw, 4.55rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.hero-text {
    max-width: 610px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.82;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }

.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #70818e;
    font-size: .78rem;
}
.hero-credentials div { display: inline-flex; align-items: center; gap: 8px; }
.hero-credentials i { color: var(--teal); }

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    justify-self: end;
    padding: 0 18px 24px 0;
}
.hero-image-wrap {
    overflow: hidden;
    /* aspect-ratio: 4 / 4.7; */
    border-radius: 26px;
    background: #eaf1f5;
    box-shadow: var(--shadow);
}
.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.hero-slide.is-active .hero-image { transform: scale(1); }

.hero-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    max-width: calc(100% - 25px);
    padding: 9px 17px 9px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--navy);
    background: rgba(255,255,255,.97);
    box-shadow: 0 15px 32px rgba(18, 59, 99, .12);
    font-size: .78rem;
    font-weight: 650;
}
.caption-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--teal);
    background: var(--blue-soft);
}

.hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 30px;
}
.hero-controls { display: flex; align-items: center; gap: 12px; }
.slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
    transition: .2s ease;
}
.slider-button:hover { color: var(--white); border-color: var(--navy); background: var(--navy); transform: translateY(-1px); }
.slider-dots { display: flex; align-items: center; gap: 7px; margin: 0 3px; }
.slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #cbd6de;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.slider-dot.is-active { width: 28px; background: var(--blue); }
.hero-slide-count { margin: 0; color: #8997a2; font-size: .72rem; letter-spacing: .08em; }
.hero-slide-count span { color: var(--navy); font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 27px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: #fff; font-size: 1.65rem; font-weight: 700; letter-spacing: -.025em; }
.trust-item span { display: block; margin-top: 4px; color: #b9cddd; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Intro ---------- */
.intro-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.intro-content { max-width: 680px; }
.intro-content p { margin: 0 0 18px; color: var(--muted); line-height: 1.85; }
.intro-content .lead-copy { color: var(--navy); }

/* ---------- Services ---------- */
.services-section { background: var(--surface); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
    position: relative;
    display: block;
    min-height: 285px;
    padding: 28px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.service-icon, .principle-icon, .insight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--blue);
    background: var(--blue-soft);
}
.service-card-body { margin-top: 55px; }
.service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.service-arrow { position: absolute; right: 27px; bottom: 25px; color: var(--blue); font-size: .75rem; }

/* Service detail hero */
.hero-service-inner {
    margin-left: 210px;
}

/* Mobile only */
@media (max-width: 767px) {
    .hero-service-inner {
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-service-inner h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .hero-service-inner nav {
        line-height: 1.5;
    }
}
.nav-dropdown-menu,
.nav-dropdown-menu a,
.nav-dropdown-menu span,
.nav-dropdown-menu button {
    font-family: 'Inter', sans-serif;
}

.nav-dropdown-menu a {
    font-size: 14px;
    font-weight: 500;
}

.nav-dropdown-menu a:last-child {
    font-weight: 600;
}
.lift-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.lift-card:hover { transform: translateY(-5px); border-color: #c6d6e1; box-shadow: 0 18px 40px rgba(18,59,99,.08); }

/* ---------- Patient section ---------- */
.patient-section { background: var(--white); }
.patient-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.patient-copy > p { max-width: 580px; color: var(--muted); line-height: 1.82; }
.patient-copy .button { margin-top: 18px; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.principle-card { display: flex; gap: 17px; min-height: 170px; padding: 28px; background: var(--surface); }
.principle-card h3 { margin: 0 0 7px; color: var(--navy); font-size: .92rem; font-weight: 700; }
.principle-card p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }

/* ---------- Stories ---------- */
/* =========================================================
   PATIENT STORIES / TESTIMONIALS
   ========================================================= */

.stories-section {
  background: #f1f6f9;
  padding: 80px 0;
}

/* Section header */
.stories-section .section-heading {
  margin-bottom: 42px;
}

/* Controls */
.story-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.story-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);

  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.story-controls button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.story-controls button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Story track */
.story-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;

  width: 100%;
  padding: 3px 2px 12px;

  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

/* Story card */
.story-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 275px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 28px;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;

  text-align: center;
  scroll-snap-align: start;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 91, 150, 0.18);
  box-shadow: 0 12px 30px rgba(20, 55, 80, 0.08);
}

/* Rating */
.story-rating {
  margin: 0 0 17px;

  color: var(--teal);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 2px;
}

/* Review */
.story-card > p {
  width: 100%;
  max-width: 290px;
  margin: 0;

  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.8;
}

/* Patient information */
.story-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  margin-top: 28px;
  text-align: left;
}

/* Patient initial */
.story-person > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 38px;
  width: 38px;
  height: 38px;

  border-radius: 50%;

  color: var(--blue);
  background: var(--blue-soft);

  font-size: 0.8rem;
  font-weight: 700;
}

/* Patient name and location */
.story-person strong,
.story-person small {
  display: block;
}

.story-person strong {
  color: var(--navy);
  font-size: 0.8rem;
  line-height: 1.3;
}

.story-person small {
  margin-top: 3px;

  color: #8a98a3;
  font-size: 0.7rem;
  line-height: 1.3;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
  .stories-section {
    padding: 65px 0;
  }

  .story-track {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .story-card {
    flex: 0 0 320px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .stories-section {
    padding: 55px 0;
  }

  .story-controls {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .story-controls button {
    width: 38px;
    height: 38px;
  }

  .story-track {
    gap: 14px;
    padding: 3px 2px 14px;
  }

  .story-card {
    flex: 0 0 calc(100vw - 48px);
    min-height: 260px;
    padding: 24px 20px;

    border-radius: 14px;
  }

  .story-card > p {
    max-width: 280px;
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .story-person {
    margin-top: 24px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .story-card {
    flex-basis: calc(100vw - 36px);
    min-height: 250px;
    padding: 22px 18px;
  }

  .story-rating {
    margin-bottom: 14px;
  }

  .story-person {
    margin-top: 22px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .story-track {
    scroll-behavior: auto;
  }

  .story-card,
  .story-controls button {
    transition: none;
  }

  .story-card:hover,
  .story-controls button:hover {
    transform: none;
  }
}
/* Blog hero - desktop */
.blog-hero-inner {
    margin-left: 200px;
}

/* Blog hero - mobile */
@media (max-width: 767px) {
    .blog-hero-inner {
        margin-left: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-hero-inner h1 {
        padding-top: 10px;
        padding-bottom: 0;
        font-size: 1.75rem;
        line-height: 1.2;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}
/* ---------- Insights ---------- */
.insights-section { background: var(--white); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card { display: flex; flex-direction: column; min-height: 365px; padding: 28px; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.insight-content { display: flex; flex: 1; flex-direction: column; padding-top: 42px; }
.insight-content > span { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.insight-content h3 { margin: 10px 0 12px; color: var(--navy); font-size: 1.02rem; line-height: 1.45; }
.insight-content p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.insight-content small { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; color: #8997a2; font-size: .7rem; }
.insight-content small i { color: var(--blue); }

/* ---------- CTA ---------- */
.appointment-band { padding: 80px 0; background: var(--navy); }
.appointment-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.appointment-band h2 { max-width: 700px; color: var(--white); }
.appointment-band p:not(.section-kicker) { max-width: 650px; margin: 15px 0 0; color: #bfd0de; line-height: 1.75; }

/* ---------- Existing shared components ---------- */
.timeline-item { position: relative; padding-left: 2.25rem; }
.timeline-item::before { content: ''; position: absolute; left: .4rem; top: .35rem; width: .65rem; height: .65rem; border-radius: 999px; background: var(--teal); }
.timeline-item::after { content: ''; position: absolute; left: .68rem; top: 1rem; bottom: -1.5rem; width: 2px; background: rgba(18,59,99,.12); }
.timeline-item:last-child::after { display: none; }
.stars i { color: var(--teal); }
.dot-pattern { background-image: radial-gradient(rgba(36,95,147,.14) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.menu-open { overflow: hidden; }
.thin-scroll::-webkit-scrollbar { height: 6px; width: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: rgba(18,59,99,.2); border-radius: 999px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .site-container { width: min(100% - 40px, 760px); }
    .hero-slider-stage { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 58px 0 38px; }
    .hero-visual { justify-self: start; max-width: 600px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-grid, .patient-grid { grid-template-columns: 1fr; gap: 45px; }
    .insight-grid { grid-template-columns: 1fr 1fr; }
    .appointment-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .site-container { width: min(100% - 32px, 560px); }
    .home-section { padding: 74px 0; }
    .hero-grid { gap: 34px; padding: 42px 0 28px; }
    .hero-heading { font-size: clamp(2.25rem, 12vw, 3.35rem); line-height: 1.06; }
    .hero-text { margin-top: 20px; font-size: .92rem; line-height: 1.75; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 26px; }
    .button { width: 100%; }
    .hero-actions .text-link { justify-content: center; }
    .hero-credentials { gap: 11px 16px; margin-top: 28px; }
    .hero-visual { padding: 0 10px 18px 0; }
    .hero-image-wrap { border-radius: 18px; }
    .hero-image-caption { min-height: 48px; padding: 7px 11px 7px 7px; font-size: .68rem; }
    .caption-icon { width: 32px; height: 32px; border-radius: 9px; }
    .hero-footer { padding-bottom: 22px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item { padding: 20px 14px; }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
    .trust-item strong { font-size: 1.4rem; }
    .section-heading-row { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
    .service-grid, .principles-grid, .insight-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 245px; }
    .principle-card { min-height: auto; }
    .story-card { flex-basis: 86vw; }
    .appointment-band { padding: 62px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-topbar { background: #1f4fb5; color: #fff; }
.site-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.site-topbar-contact { display: flex; align-items: center; gap: 13px; font-size: .72rem; }
.site-topbar-contact a { color: #fff; text-decoration: none; opacity: .96; }
.site-topbar-contact a:hover { opacity: .78; }
.site-topbar-contact i { margin-right: 7px; font-size: .68rem; }
.site-topbar-contact > span { width: 1px; height: 14px; background: rgba(255,255,255,.35); }
.site-socials { display: flex; gap: 7px; }
.site-socials a { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.10); text-decoration: none; font-size: .67rem; }
.site-socials a:hover { background: rgba(255,255,255,.22); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 28px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.site-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--navy); font-size: 1rem; }
.site-brand strong, .site-brand small { display: block; }
.site-brand strong { color: var(--navy); font-family: 'Inter', Arial, sans-serif; font-size: 1.1rem; line-height: 1.15; }
.site-brand small { margin-top: 3px; color: #7c8994; font-size: .7rem; letter-spacing: .02em; }
.desktop-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.desktop-nav > a, .nav-dropdown > button { color: #2c3d4d; font-size: .82rem; font-weight: 600; text-decoration: none; background: transparent; border: 0; cursor: pointer; }
.desktop-nav > a:hover, .nav-dropdown > button:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: inline-flex; align-items: center; gap: 6px; padding: 29px 0; }
.nav-dropdown > button i { font-size: .58rem; transition: transform .2s ease; }
.nav-dropdown:hover > button i { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% - 7px); left: 50%; display: grid; grid-template-columns: 1fr 1fr; width: 620px; max-width: 80vw; padding: 16px; gap: 4px; opacity: 0; visibility: hidden; transform: translate(-50%, 7px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(18,59,99,.13); transition: .2s ease; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 9px; padding: 10px 11px; color: var(--ink); border-radius: 9px; text-decoration: none; font-size: .72rem; }
.nav-dropdown-menu a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-dropdown-menu i { width: 17px; color: var(--blue); }
.site-nav-actions { display: flex; align-items: center; gap: 10px; }
.header-appointment { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; color: #fff; background: #246e9f; box-shadow: 0 5px 14px rgba(36,110,159,.18); font-size: .78rem; font-weight: 650; text-decoration: none; }
.header-appointment:hover { color: #fff; background: var(--navy); }
.mobile-menu-trigger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; }

@media (max-width: 1100px) {
    .desktop-nav { gap: 17px; }
    .site-nav { gap: 18px; }
    .header-appointment { padding-inline: 14px; }
}
@media (max-width: 1023px) {
    .desktop-nav, .header-appointment { display: none; }
    .mobile-menu-trigger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
    .site-topbar-inner { min-height: 36px; }
    .site-topbar-contact a:last-child, .site-topbar-contact > span { display: none; }
    .site-socials { display: none; }
    .site-nav { min-height: 68px; }
    .site-brand strong { font-size: .98rem; }
    .site-brand small { font-size: .63rem; }
    .site-brand-mark { width: 39px; height: 39px; }
}
#mobile-menu { background: #fff !important; }
#mobile-menu .text-primary { color: var(--navy) !important; }
#mobile-menu a:hover { color: var(--blue); }
#mobile-menu .bg-coral { background: var(--navy) !important; }

/* ==========================================================
   PAGE-WIDE POLISH — consistent internal pages
   ========================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -110px;
    top: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(45,127,141,.055);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    padding: 72px 0 68px;
}
.page-hero-compact .page-hero-inner { padding: 54px 0 52px; }
.page-hero .eyebrow,
.page-hero .section-kicker { color: var(--blue); }
.page-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--navy) !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: clamp(2.2rem, 4.7vw, 4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -.045em;
    line-height: 1.08 !important;
}
.page-hero p {
    max-width: 700px;
    margin-top: 16px;
    color: var(--muted) !important;
    line-height: 1.8;
}
.page-hero nav { color: #81909b !important; }
.page-hero nav a { color: var(--blue) !important; }

/* Remove the old decorative hero badge entirely; the image remains content-free. */
.hero-visual { padding-right: 0; }
.hero-image-wrap { border-radius: 22px; box-shadow: 0 18px 48px rgba(18,59,99,.12); }

/* Internal pages should use the same container rhythm as the homepage. */
main > section:not(.home-hero):not(.trust-strip):not(.appointment-band) > .container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Neutralize legacy gold/coral utility styling into the clinical palette. */
.text-gold, .hover\\:text-gold:hover { color: var(--teal) !important; }
.bg-gold { background: var(--teal) !important; }
.bg-coral { background: var(--blue) !important; }
.text-coral { color: var(--blue) !important; }
.border-coral { border-color: var(--blue) !important; }
.hover\\:bg-gold:hover { background: var(--teal) !important; }
.hover\\:text-primarydark:hover { color: var(--navy-dark) !important; }

/* Cleaner generic cards used by internal pages. */
.lift-card {
    box-shadow: none;
}
.lift-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(18,59,99,.07);
}

/* Forms */
input, textarea, select {
    border-color: var(--line) !important;
    background: #fff !important;
    color: var(--ink) !important;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #a9c5d8 !important;
    box-shadow: 0 0 0 3px rgba(36,95,147,.09) !important;
}

/* Mobile page hero */
@media (max-width: 640px) {
    .page-hero-inner { padding: 48px 0 44px; }
    .page-hero-compact .page-hero-inner { padding: 42px 0 40px; }
    .page-hero h1 { font-size: 2.35rem !important; }
}
