/* ==========================================================================
   Tarrytown Chiropractic — global styles
   Desktop reference: 1600px Figma frame (64px gutters, 1472px content)
   ========================================================================== */

:root {
  --blue: #2f7ab5;
  --blue-dark: #0d6aab;
  --green: #7eb163;
  --navy: #052b45;
  --text: #868686;
  --text-dark: #4a4a4a;
  --mint: #e9f2e5;
  --ice: #f7fbfd;
  --ice-border: #d7e7f0;
  --sky: #e2ecf4;
  --white: #fff;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", Arial, sans-serif;
  --font-nav: "Montserrat", Arial, sans-serif;
  --font-ui: "Inter", Arial, sans-serif;

  --gutter: 64px;
  --section: 90px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 14px rgba(13, 106, 171, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* 1472px content as in Figma; the gutter gives way first so a 1600px window
   with a classic scrollbar still gets the full design width. */
.container {
  width: min(1472px, calc(100% - var(--gutter) * 2), 100% - 32px);
  margin-inline: auto;
}
@media (min-width: 1536px) {
  .container { width: min(1472px, 100% - 64px); }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Images that have not been exported yet keep their soft frame instead of a broken icon */
.img-frame { background: #e6eef4; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame img.is-missing { visibility: hidden; }

/* Icons ----------------------------------------------------------------- */
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
}

/* Typography ------------------------------------------------------------ */
.title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.25vw, 52px);
  line-height: 1.23;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.lead {
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  color: var(--text);
}

.lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 33px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: #6c9d53; }
.btn--outline-green { border-color: var(--green); color: var(--green); }
.btn--outline-green:hover { background: var(--green); color: var(--white); }
.btn--outline-white { border-color: var(--white); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--blue); }
.btn--sm { padding: 14px 24px; font-size: 15px; line-height: 20px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* Phone pill (header, callouts) */
.phone-pill {
  display: inline-flex; align-items: center; gap: 12.6px;
  padding: 11px 17.6px;
  border: 1.26px solid rgba(27, 181, 122, .2);
  border-radius: 999px;
  background: #f4fbf8;
  text-decoration: none;
  white-space: nowrap;
}
.phone-pill .icon-circle { width: 35px; height: 35px; }
.phone-pill .icon-circle .icon { width: 20px; height: 20px; }
.phone-pill__label { font-weight: 500; font-size: 15.1px; line-height: 20px; color: var(--green); }
.phone-pill__number { font-weight: 600; font-size: 18.9px; line-height: 25px; color: var(--blue); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  position: relative;
  height: 36px;
  background: var(--blue);
  color: var(--white);
}
.topbar .container { height: 100%; display: flex; align-items: center; }

.reviews {
  display: flex; align-items: center; gap: 13.8px;
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 1;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.reviews img.g { width: 27.5px; height: 27.5px; }
.reviews img.stars { width: 105.5px; height: 18.35px; }
.reviews strong { font-weight: 700; }
.reviews--dark { color: var(--blue-dark); font-size: 16px; gap: 10px; }
.reviews--dark img.g { width: 27px; height: 27px; }
.reviews--dark img.stars { width: 105px; height: 18.3px; }

.topbar__cta {
  /* Starts 348px inside the container's right edge (as in Figma) and runs
     to the viewport edge, so it stays lined up with the header phone pill. */
  position: absolute; top: 0; right: 0; bottom: 0;
  left: calc(100% - var(--gutter) - 348px);
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  padding-left: 48px;
  background: var(--green);
  color: var(--white); text-decoration: none;
  font-weight: 500; font-size: 17px; line-height: 24px;
  transition: background-color .2s;
}
.topbar__cta:hover { background: #6c9d53; }
.topbar__cta img { width: 20.8px; height: 23.8px; }
@media (min-width: 1536px) {
  .topbar__cta { left: calc(50% + min(736px, 50% - 32px) - 348px); }
}

.header {
  position: relative; z-index: 20;
  height: 92px;
  background: #fdfefe;
}
.header .container { height: 100%; display: flex; align-items: center; }

.logo { display: block; flex: none; width: 249px; margin-top: 6px; align-self: flex-start; }
.logo img { width: 100%; height: auto; }

.nav { margin-left: 110px; }
.nav ul { display: flex; align-items: center; gap: 34px; }
.nav a {
  display: block;
  font-family: var(--font-nav); font-weight: 500; font-size: 14.79px; line-height: 20.88px;
  color: var(--blue); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] {
  margin-right: -10px;
  padding: 8.7px 12.18px; border-radius: 9px;
  background: var(--green); color: var(--white);
}

.header__phone { margin-left: auto; width: 376px; justify-content: center; gap: 9px; padding-inline: 13px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 10px;
  background: var(--green); color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 723px;
  padding: 60px 0 100px;
  overflow: hidden;
  background: var(--white);
}

.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(-87.62deg, rgba(255,255,255,0) 45.53%, rgba(255,255,255,.86) 60.24%, #fff 94.54%);
}
/* The cut-out person sits above the white wash so the face stays crisp */
.hero__media img.hero__person { z-index: 1; }

.hero__content { position: relative; z-index: 2; }
.hero__inner { max-width: 662px; margin-left: 3px; }

.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 3.745vw, 59.92px);
  line-height: 1.068;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.hero__text {
  max-width: 657px;
  margin-top: 27px;
  font-weight: 600; font-size: 17px; line-height: 28px;
  color: var(--text);
}

.hero .btn-row { margin-top: 27px; }
.hero .btn--blue { min-width: 344px; }
.hero .btn--outline-green { min-width: 224px; }

.owner-card {
  display: flex; align-items: center; gap: 13px;
  width: 387px; max-width: 100%;
  margin-top: 52px;
  padding: 19px 33px;
  border-radius: 20px;
  background: var(--green);
  color: var(--white);
  filter: drop-shadow(2px 3px 4px rgba(74,103,145,.1)) drop-shadow(9px 11px 7px rgba(74,103,145,.09)) drop-shadow(20px 24px 9.5px rgba(74,103,145,.05));
}
.owner-card .icon-circle { width: 72px; height: 72px; background: var(--blue); }
.owner-card .icon-circle .icon { width: 36px; height: 36px; }
.owner-card small { display: block; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.owner-card strong {
  display: block; margin-top: 4px;
  font-family: var(--font-serif); font-weight: 700; font-size: 33px; line-height: 1.3; letter-spacing: -0.04em;
  white-space: nowrap;
}

/* Trust bar ------------------------------------------------------------- */
.trust {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: -38px;
  padding: 24px 28px;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
  min-height: 156px;
  padding: 18px 20px;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-md);
  background: var(--ice);
}
.trust__item > div { flex: 1; min-width: 0; }
.trust__item h3 { font-weight: 700; font-size: 18px; line-height: 24px; color: var(--blue-dark); }
.trust__item p { margin-top: 6px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--text); }
/* Copy widths follow the Figma frame */
.trust__item:nth-child(1) p { max-width: 230px; }
.trust__item:nth-child(3) p { max-width: 226px; }

/* About ----------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: 651fr 746fr; gap: 75px;
  margin-top: 84px;
}
.about__image { position: relative; border-radius: 31px; aspect-ratio: 651 / 578; }
.about__label {
  position: absolute; top: 9.2%; left: 22.27%;
  padding: 11.8px 25px;
  border-radius: 28px;
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: 16px; line-height: 25.97px;
  color: #5a6578; white-space: nowrap;
}
.about__body { display: flex; flex-direction: column; }
.about__body .lead { max-width: 677px; margin-top: 25px; }
.about__body .lead + .lead { margin-top: 28px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: auto;
  padding: 24px;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  background: var(--ice);
  box-shadow: var(--shadow-soft);
}
.stat {
  min-height: 176px;
  padding: 20px 19px;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-md);
  background: var(--white);
}
.stat .icon-circle { display: flex; width: 44px; height: 44px; }
.stat strong {
  display: block; margin-top: 12px;
  font-weight: 700; font-size: clamp(30px, 2.5vw, 40px); line-height: 1.1;
  color: var(--blue);
}
.stat > span:not(.icon-circle) { display: block; margin-top: 12px; font-weight: 500; font-size: 12.5px; line-height: 18px; color: #6b6b6b; white-space: nowrap; }

/* Conditions ------------------------------------------------------------ */
.conditions {
  margin-top: 77px;
  padding: 54px 64px 64px;
  border-radius: 32px;
  background: var(--mint);
  text-align: center;
}
.conditions > .lead { max-width: 1182px; margin: 32px auto 0; color: #5a6578; font-weight: 500; }

.conditions__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 32px;
}
.condition-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 26px 27px 27px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 26px rgba(5, 43, 69, .06);
}
.condition-card h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(26px, 2.4vw, 38px); line-height: 1.2; letter-spacing: -0.03em;
  color: var(--green);
}
.tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px 18px;
  width: 100%; margin: 14px 0 21px;
}
.tile {
  padding: 15px 15px 24px;
  border: 1px solid #e1ecf2;
  border-radius: 20px;
  background: var(--ice);
  text-align: left;
}
.tile .img-frame { aspect-ratio: 260 / 136; border-radius: 12px; }
.tile h4 { margin-top: 15px; font-weight: 600; font-size: 18px; line-height: 22px; color: var(--blue); }

/* Communities ----------------------------------------------------------- */
.communities { margin-top: 94px; }
.communities > .lead { max-width: 1056px; margin-top: 26px; color: #5a6578; font-weight: 400; }
.communities__grid {
  display: grid; grid-template-columns: 560fr 880fr; gap: 32px;
  margin-top: 57px;
}
.areas { display: flex; flex-direction: column; gap: 16px; }
.area {
  display: flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 12px 16px;
  border: 1px solid var(--ice-border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(13, 106, 171, .04);
  font-weight: 600; font-size: 16px; color: var(--blue);
}
.area .icon-circle { width: 40px; height: 40px; }
.area .icon-circle .icon { width: 18px; height: 18px; }
.communities .btn { margin-top: 32px; align-self: flex-start; min-width: 344px; }
.communities__col { display: flex; flex-direction: column; }

.map {
  position: relative;
  min-height: 660px;
  border-radius: var(--radius-lg);
  background: #f1f7fe;
  box-shadow: var(--shadow-soft);
}
.map > .img-frame { position: absolute; inset: 0; border-radius: inherit; background: #f1f7fe; }
.map__badge {
  position: absolute; top: 34px; right: 46px;
  width: 124px; height: 124px; padding: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(13, 106, 171, .15);
}
.map__card {
  position: absolute; right: 34px; top: 47.4%;
  width: 337px;
  border-radius: 22px; overflow: hidden;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-ui);
  box-shadow: 0 22px 34px rgba(0, 0, 0, .2), 0 4px 10px rgba(0, 0, 0, .08);
}
.map__card-head { display: flex; align-items: center; gap: 16px; min-height: 90px; padding: 0 25px; }
.map__card-head .icon-circle { width: 48px; height: 48px; }
.map__card-head .icon-circle .icon { width: 22px; height: 22px; }
.map__card-head small { display: block; font-weight: 500; font-size: 16px; line-height: 20px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.map__card-head strong { display: block; margin-top: 4px; font-weight: 700; font-size: 20px; line-height: 24px; }
.map__card address {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 0 25px;
  border-top: 2px solid rgba(255, 255, 255, .75);
  border-bottom: 2px solid rgba(255, 255, 255, .75);
  font-style: normal; font-size: 17px; line-height: 23px;
}
/* Lucide "navigation" turned to point left, as in the design */
.map__card address .icon { flex: none; width: 22px; height: 22px; color: var(--green); transform: rotate(-135deg); }
.map__card a.directions {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 65px; padding: 0 20px; background: var(--green);
  font-weight: 700; font-size: 19px; text-decoration: none; color: var(--white);
  transition: background-color .2s;
}
.map__card a.directions:hover { background: #6c9d53; }

/* Accident banner ------------------------------------------------------- */
.banner {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end;
  min-height: 474px;
  margin-top: 94px;
  padding: 65px 64px;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(90deg, #1f8fe8 0%, #0a84e4 60%, #0e76c9 100%);
}
.banner > .img-frame { position: absolute; inset: 0; background: transparent; }
.banner > .img-frame img { object-position: left center; }
.banner__content { position: relative; z-index: 1; width: 599px; max-width: 100%; color: var(--white); }

/* Below the full 1472px width the spine slides under the copy, so a blue
   overlay keeps the text readable. */
@media (max-width: 1499px) {
  .banner::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13, 106, 171, .1) 0%, rgba(13, 106, 171, .9) 40%);
  }
}
.banner h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(32px, 3.125vw, 50px); line-height: 1.12; letter-spacing: -0.03em;
}
.banner p { margin-top: 29px; font-weight: 600; font-size: 17px; line-height: 28px; }
.banner .btn-row { margin-top: 35px; }

/* Why choose us --------------------------------------------------------- */
.why {
  display: grid; grid-template-columns: 810fr 580fr; gap: 61px;
  margin-top: 90px;
  padding-left: 22px;
}
.why h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(32px, 3.125vw, 50px); line-height: 1.14; letter-spacing: -0.02em;
  color: var(--blue);
}
.why h2 span { color: var(--green); }
.why > div:first-child { padding-top: 14px; }
.why .btn-row { margin-top: 40px; }
.why__features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 57px;
}
.feature { padding-top: 28px; border-top: 3px solid var(--green); }
.feature .icon { width: 26px; height: 26px; color: var(--green); stroke-width: 1.6; }
.feature h3 { margin-top: 12px; font-weight: 600; font-size: 18px; line-height: 26px; color: var(--blue); }
.feature p { margin-top: 8px; font-size: 15.5px; line-height: 24px; color: #2a394e; }
.why__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 23px; padding-top: 24px;
  border-top: 1px solid #d6dce8;
  font-size: 14px; line-height: 22px; color: #2a394e;
}
.why__facts p:nth-child(2) { font-size: 16px; }
.why__facts b { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--blue); }
.why__facts b.green { color: var(--green); }
.why__image { border-radius: 16px; min-height: 599px; }

/* Testimonials ---------------------------------------------------------- */
.testimonials {
  margin-top: 109px;
  background: var(--mint);
  overflow: hidden;
}
.testimonials .container {
  display: grid; grid-template-columns: 330px 124px minmax(0, 1fr); align-items: center; column-gap: 19px;
  min-height: 593px; padding: 0;
}
.testimonials .title { line-height: 1.08; }
.testimonials .reviews { margin-top: 18px; }
.slider-controls { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.slider-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 53px; height: 53px; padding: 0;
  border: 0; border-radius: 50%;
  background: #b1ced6; color: var(--blue);
  transition: background-color .2s, color .2s;
}
.slider-btn--next { background: var(--green); color: var(--white); }
.slider-btn:hover { background: var(--blue); color: var(--white); }
.slider-dots { display: flex; align-items: center; gap: 8px; margin-inline: 8px; }
.slider-dots span { width: 8px; height: 8px; border-radius: 4px; background: #cbdfde; }
.slider-dots span.is-active { width: 26px; background: var(--green); }
.testimonials .btn { margin-top: 44px; min-width: 288px; padding: 15px 33px; font-size: 17px; line-height: 24px; }
.testimonials__note { margin-top: 32px; font-size: 13px; line-height: 20px; color: #595563; white-space: nowrap; }

.brand-badge {
  width: 124px; height: 124px; padding: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 10px 12px 22px rgba(0, 0, 0, .14), 2px 3px 6px rgba(0, 0, 0, .06);
}

/* Cards sit flush with the container's right edge; the right padding
   leaves room for the second card's rotated corner. */
.quotes { position: relative; display: flex; justify-content: flex-end; gap: 0; padding: 38px 28px 38px 0; }
.quote {
  position: relative;
  width: 400px; flex: none;
  margin: 0;
  padding: 44px 32px 36px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 30px rgba(5, 43, 69, .06);
  transform: rotate(-2.5deg);
  transition: transform .4s, opacity .4s;
}
.quotes .quote:nth-child(2) { transform: rotate(7deg) translateY(8px); margin-left: 40px; }
.quote__stars { display: flex; gap: 4px; color: #f5a623; }
.quote__stars .icon { width: 17px; height: 17px; stroke-width: 1.8; }
.quote blockquote {
  position: relative;
  margin: 26px 0 0;
  font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 31.5px;
  color: #1d6fae;
}
.quote blockquote::before {
  content: "\201C";
  position: absolute; left: -10px; top: -24px;
  font-size: 96px; line-height: 1; color: #d3e5ee; z-index: -1;
}
.quote blockquote { z-index: 0; max-width: 336px; }
.quotes .quote:nth-child(2) blockquote { max-width: 300px; }
.quote footer {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding-top: 26px;
  border-top: 1px solid #ececec;
}
.quote .avatar { width: 56px; height: 56px; border-radius: 50%; }
.quote cite { display: block; font-style: normal; font-weight: 600; font-size: 18px; line-height: 26px; color: #281938; }
.quote footer small { display: block; font-size: 16px; line-height: 24px; color: #595563; }
.verified { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; align-self: flex-start; font-size: 13px; color: #595563; }
.verified .icon { width: 17px; height: 17px; color: #6dbccb; }

/* FAQ ------------------------------------------------------------------- */
.faq {
  display: grid; grid-template-columns: 451px 1fr; column-gap: 41px;
  margin-top: 102px;
}
.faq__intro { display: flex; flex-direction: column; }
.faq__intro .title { max-width: 420px; line-height: .93; }
.faq__image { margin-top: auto; border-radius: var(--radius-lg); aspect-ratio: 451 / 414; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid #d9d0c1;
  border-radius: 12px;
  background: var(--white);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: #9cc28a; border-radius: 16px;
  background: #e2ecf5;
  box-shadow: 0 14px 24px rgba(13, 106, 171, .08);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 80px; padding: 18px 23px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 17px; line-height: 24px; color: var(--blue-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { min-height: 0; padding: 26px 27px 22px; font-size: 22px; line-height: 30px; }
.faq-item__toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #d8cfc0; background: #fffcf7; color: var(--green);
}
.faq-item__toggle .icon { width: 16px; height: 16px; stroke-width: 1.5; }
.faq-item__toggle .minus { display: none; }
.faq-item[open] .faq-item__toggle { border-color: var(--blue-dark); background: var(--green); color: var(--white); }
.faq-item[open] .faq-item__toggle .plus { display: none; }
.faq-item[open] .faq-item__toggle .minus { display: block; }
.faq-item__answer {
  margin: 0 27px; padding: 24px 0 30px;
  border-top: 1px solid #c9d6e0;
  font-weight: 500; font-size: 16px; line-height: 28px; color: #858583;
}

/* Callout --------------------------------------------------------------- */
.callout {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 720px) 1fr auto; align-items: center; gap: 32px;
  min-height: 210px;
  margin-top: 52px;
  padding: 20px 35px 20px 48px;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
/* Faint arc behind the phone pill */
.callout::after {
  content: "";
  position: absolute; right: -150px; top: 50%;
  width: 420px; height: 420px; transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%;
  pointer-events: none;
}
.callout__eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.callout h2 {
  margin-top: 14px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 41px); line-height: 1.2; letter-spacing: -0.02em;
}
.callout p { margin-top: 12px; font-size: 15px; line-height: 22px; }
.callout p.callout__eyebrow { margin-top: 0; font-size: 12px; }
.callout__avatar {
  display: flex; align-items: center; justify-content: center; justify-self: center;
  width: 170px; height: 170px; border-radius: 50%;
  background: var(--blue);
  border: 6px solid var(--blue);
  box-shadow: inset 0 0 0 7px var(--white);
}
.callout__avatar .icon { width: 62px; height: 62px; color: var(--white); stroke-width: 1.6; }
.callout .phone-pill { position: relative; z-index: 1; justify-self: end; background: #f4fbf8; border-color: rgba(255,255,255,.9); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  margin-top: 89px;
  padding: 49px 0 33px;
  background: var(--navy);
  color: #a8c8e0;
  font-size: 15px; line-height: 24px;
}
/* Column starts follow Figma: 64 / 452 / 720 / 1038px, chat button flush right */
.footer__grid {
  display: grid; grid-template-columns: 388fr 268fr 318fr 340px 158fr;
  align-items: start;
}
.footer__logo { width: 160px; margin: 10px 0 0 32px; }
.footer__about p { margin-top: 37px; max-width: 300px; font-size: 14px; line-height: 24px; }
.footer h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--white);
}
.footer__grid > div > h3 { margin-top: 10px; }
.footer h3::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 15px; background: var(--green); }
.footer__links { margin-top: 15px; display: grid; gap: 9px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--green); }

.footer-cta {
  padding: 32px 28px 30px;
  border-radius: 20px;
  background: var(--blue-dark);
}
.footer__grid > .footer-cta > h3 { margin-top: 0; }
.footer-cta h3 { font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.footer-cta h3::after { display: none; }
.footer-cta p { margin-top: 0; font-size: 14px; line-height: 27px; color: rgba(255,255,255,.8); }
.footer-cta .btn { width: 100%; margin-top: 18px; padding: 13px 20px; font-weight: 600; font-size: 15px; }
.footer-cta__place { display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-cta p.footer-cta__place { margin-top: 20px; line-height: 22px; color: rgba(255,255,255,.85); }
.footer-cta__place .icon { width: 15px; height: 15px; color: var(--green); }

.chat-btn {
  justify-self: end; align-self: start;
  display: flex; align-items: center; justify-content: center;
  width: 104px; height: 104px; margin-top: 155px; border-radius: 50%;
  background: var(--green); color: var(--white);
  transition: transform .2s;
}
.chat-btn:hover { transform: scale(1.05); }
.chat-btn .icon { width: 42px; height: 42px; stroke-width: 1.75; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 47px; padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px; color: #6b8ea8;
}
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* The two 420px testimonial cards only fit the full 1472px container */
@media (max-width: 1535px) {
  .testimonials .container { grid-template-columns: minmax(0, 1fr) auto 720px; }
  .quote { width: 340px; padding: 36px 28px 30px; }
  .quotes { padding-right: 30px; }
}

@media (max-width: 1400px) {
  .nav { margin-left: 56px; }
  .nav ul { gap: 24px; }
  .footer__grid { grid-template-columns: 1.3fr .9fr 1fr 1.3fr auto; gap: 28px; }
  .chat-btn { width: 84px; height: 84px; }
  .header__phone .phone-pill__label { display: none; }
}

@media (max-width: 1240px) {
  :root { --gutter: 40px; --section: 72px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; }
  /* Four stats stay on one line; cards size to their content */
  .stats { margin-top: 32px; gap: 12px; padding: 16px; }
  .stat { min-height: 0; padding: 16px 14px; }
  .stat > span:not(.icon-circle) { white-space: normal; }
  .conditions { padding: 48px 32px; }
  .tiles { gap: 16px; }
  .why { grid-template-columns: 1fr 1fr; gap: 40px; padding-left: 0; }
  .why__features { grid-template-columns: 1fr; gap: 20px; }
  .why__facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
  .footer { margin-top: 56px; }
  .testimonials .container { grid-template-columns: 1fr; justify-items: stretch; padding: 56px 0; }
  .testimonials .container > div:first-child { text-align: center; }
  .testimonials .reviews, .slider-controls { justify-content: center; }
  .brand-badge { display: none; }
  .testimonials__note { white-space: normal; }
  /* Cards sit side by side, upright, across the full width */
  .quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; padding: 36px 0 0; }
  .quotes .quote, .quotes .quote:nth-child(2) { display: flex; flex-direction: column; width: auto; margin: 0; transform: none; }
  .quotes .quote blockquote, .quotes .quote:nth-child(2) blockquote { max-width: none; margin-bottom: 26px; font-size: 19px; line-height: 28px; }
  .quote footer { margin-top: auto; }
  .quote cite { white-space: nowrap; }
  .faq { grid-template-columns: 1fr 1.6fr; }
  .callout { grid-template-columns: 1fr auto; }
  .callout__avatar { display: none; }
}

@media (max-width: 1100px) {
  /* Collapsible navigation */
  .nav-toggle { display: inline-flex; }
  .header__phone { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 12px var(--gutter) 24px;
    background: var(--white);
    box-shadow: 0 14px 24px rgba(5, 43, 69, .12);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 12px 14px; border-radius: 9px; font-size: 16px; }
  .nav a[aria-current="page"] { margin: 0; padding: 12px 14px; }
  .nav .nav__phone { display: block; margin-top: 12px; }

  .hero { padding: 48px 0 100px; }
  .hero__text { max-width: 100%; }
  .hero .btn--blue, .hero .btn--outline-green { min-width: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__logo { margin-left: 0; }
  .chat-btn { grid-column: 2; margin-top: 0; }
}

@media (min-width: 1101px) {
  .nav .nav__phone { display: none; }
}

/* Below 1500px the full-bleed photo would slide under the copy,
   so the photo gets its own right-hand column centred on the patient. */
@media (min-width: 901px) and (max-width: 1499px) {
  .hero__inner { max-width: calc(48vw - var(--gutter) - 16px); }
  .hero__media { left: 48%; }
  .hero__media img { object-position: 80% center; }
  .hero__media::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 28%); }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .topbar__cta { left: auto; justify-content: center; padding: 0 20px; font-size: 15px; }
  .topbar .reviews span.label { display: none; }

  /* Hero stacks: copy first, photo below so nothing covers the patient */
  /* Photo becomes the hero background; a white wash keeps the copy readable */
  .hero { min-height: 0; padding: 56px 0 96px; }
  .hero__media img { object-position: 78% center; }
  .hero__media::after { z-index: 2; background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.82) 60%, rgba(255,255,255,.72) 100%); }
  .hero__inner { max-width: none; margin: 0; }
  .owner-card { margin-top: 32px; }

  .about { grid-template-columns: 1fr; }
  /* Stacked split sections read copy first, image second */
  .about__image { order: 2; }
  .conditions__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .communities__grid { grid-template-columns: 1fr; }
  .areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .map { min-height: 520px; }
  .banner { justify-content: flex-start; padding: 48px 32px; min-height: 0; }
  .banner > .img-frame img { object-position: 30% center; }
  .banner::after { background: linear-gradient(180deg, rgba(9, 74, 140, .5) 0%, rgba(9, 74, 140, .8) 100%); }
  .why { grid-template-columns: 1fr; }
  .why__image { min-height: 0; aspect-ratio: 580 / 420; }
  .why__features { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr; row-gap: 32px; }
  .faq__intro { display: contents; }
  .faq__image { order: 3; width: 100%; aspect-ratio: 4 / 3; }
  .callout { grid-template-columns: 1fr; }
  .callout .phone-pill { justify-self: start; }
}

@media (max-width: 700px) {
  .conditions__grid { grid-template-columns: 1fr; }
  .why__features { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar { height: auto; }
  .topbar .container { display: none; }
  .topbar__cta { position: static; height: 40px; }
  .header { height: 76px; }
  .logo { width: 180px; margin-top: 10px; }

  .hero { padding: 40px 0 88px; }
  .hero h1 { font-size: 34px; line-height: 1.12; }
  .hero__text { font-size: 16px; line-height: 26px; margin-top: 18px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { white-space: normal; padding: 15px 24px; }
  .owner-card { width: 100%; padding: 16px 20px; }
  .owner-card .icon-circle { width: 56px; height: 56px; }
  .owner-card .icon-circle .icon { width: 28px; height: 28px; }
  .owner-card strong { font-size: 26px; }

  .trust { grid-template-columns: 1fr; padding: 16px; }
  .trust__item { min-height: 0; }
  .about { margin-top: 56px; }
  .about__label { top: 16px; left: 50%; transform: translateX(-50%); padding: 7px 16px; font-size: 13px; line-height: 20px; }
  .stats { padding: 10px; gap: 8px; }
  .stat { padding: 12px 8px; text-align: center; }
  .stat .icon-circle { width: 32px; height: 32px; margin-inline: auto; }
  .stat .icon-circle .icon { width: 16px; height: 16px; }
  .stat strong { margin-top: 8px; font-size: 22px; }
  .stat > span:not(.icon-circle) { margin-top: 4px; font-size: 11px; line-height: 14px; }
  .conditions { margin-top: 56px; padding: 40px 16px; border-radius: 24px; }
  .condition-card { padding: 22px 14px 26px; }
  .tiles { gap: 10px; }
  .tile { padding: 8px 8px 12px; }
  .tile h4 { font-size: 14px; line-height: 20px; }
  .communities, .banner, .why, .faq { margin-top: 56px; }
  .communities .btn { min-width: 0; align-self: stretch; }
  .map { min-height: 560px; }
  .map__card { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; transform: none; }
  .map__badge { width: 84px; height: 84px; padding: 14px; top: 16px; right: 16px; }
  .banner { padding: 36px 20px; border-radius: 28px; }
  .testimonials { margin-top: 64px; }
  .testimonials .container { padding: 48px 0; }
  .quotes { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  /* One testimonial at a time; the slider arrows rotate which one is first */
  .quotes .quote:nth-child(n + 2) { display: none; }
  .quote { padding: 22px 20px; }
  .why__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .areas { gap: 10px; }
  .area { gap: 10px; min-height: 56px; padding: 10px 12px; font-size: 14px; }
  .area .icon-circle { width: 32px; height: 32px; }
  .area .icon-circle .icon { width: 16px; height: 16px; }
  .quote blockquote { font-size: 18px; line-height: 27px; }
  .faq-item summary { padding: 18px; }
  .faq-item[open] summary { font-size: 17px; line-height: 24px; }
  .faq-item__answer { margin: 0 18px; }
  .callout { padding: 32px 20px; margin-top: 40px; }
  /* Pill stays on one line: full width, centred, slightly smaller type */
  .callout .phone-pill { justify-self: stretch; justify-content: center; gap: 8px; padding: 9px 12px; }
  .callout .phone-pill .icon-circle { width: 32px; height: 32px; }
  .callout .phone-pill .icon-circle .icon { width: 17px; height: 17px; }
  .callout .phone-pill__label { font-size: 13px; }
  .callout .phone-pill__number { font-size: 16px; }
  .footer { margin-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .chat-btn { grid-column: 1; width: 64px; height: 64px; }
  .chat-btn .icon { width: 26px; height: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Section spacing on smaller screens: tablet 48px, mobile 36px */
@media (max-width: 1100px) {
  .about, .conditions, .communities, .banner, .why, .testimonials, .faq, .callout, .footer { margin-top: 48px; }
}
@media (max-width: 640px) {
  .about, .conditions, .communities, .banner, .why, .testimonials, .faq, .callout, .footer { margin-top: 36px; }
}
/* Very small phones: the callout pill keeps just the icon and number */
@media (max-width: 360px) {
  .callout .phone-pill__label { display: none; }
}
/* The floating chat button is hidden on phones */
@media (max-width: 640px) {
  .chat-btn { display: none; }
}
/* Let the About grid and the four stats shrink on narrow phones */
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .stats { gap: 6px; padding: 8px; }
  .stat { padding: 10px 4px; }
  .stat strong { font-size: 18px; }
  .stat > span:not(.icon-circle) { font-size: 10px; }
  .about__label { font-size: 11px; padding: 6px 12px; }
}
@media (max-width: 1240px) {
  .testimonials .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .testimonials .reviews { flex-wrap: wrap; row-gap: 4px; font-size: 14px; }
}
/* Footer CTA card on phones: everything left-aligned, shorter button label */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .footer-cta { text-align: left; }
  .footer-cta .btn { width: auto; }
  .footer-cta__place { justify-content: flex-start; }
}
/* Phone pill inside the mobile menu keeps its own pill layout
   instead of inheriting the plain menu-link styles */
.nav .nav__phone .phone-pill {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0; padding: 10px 14px;
  font-family: var(--font-sans);
  border-radius: 999px;
}
.nav .nav__phone .phone-pill .icon-circle { width: 32px; height: 32px; }
.nav .nav__phone .phone-pill .icon-circle .icon { width: 17px; height: 17px; }
.nav .nav__phone .phone-pill__label { font-size: 14px; }
.nav .nav__phone .phone-pill__number { font-size: 17px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.section { margin-top: 75px; }
.section--lg { margin-top: 100px; }
.page-flush .footer { margin-top: 0; }

/* Page hero: one photo with the white fade already in the image */
.hero--page { display: flex; align-items: center; padding: 60px 0; }
.hero--page .btn-row { margin-top: 45px; }
.hero--page .btn--blue { min-width: 298px; }
.hero--page .btn--outline-green { min-width: 247px; }
@media (min-width: 1500px) {
  .hero--page .hero__media::after { display: none; }
}

/* Image + copy with call-to-action box */
.split {
  display: grid; grid-template-columns: 651fr 746fr; gap: 75px;
  align-items: center;
}
.split--reverse { grid-template-columns: 746fr 651fr; }
.split--reverse .split__image { order: 2; }
.split__image { border-radius: 31px; aspect-ratio: 651 / 578; }
.split__body .lead { margin-top: 25px; }
.split__body .lead + .lead { margin-top: 28px; }
.cta-box {
  margin-top: 55px;
  padding: 28px 24px;
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  background: var(--ice);
  box-shadow: var(--shadow-soft);
}
.cta-box p { font-weight: 500; font-size: 20px; line-height: 30px; color: #1d6fae; }
.cta-box .btn { margin-top: 28px; }
.split--inline-box .cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 45px; padding: 24px;
}
.split--inline-box .cta-box p { max-width: 330px; font-size: 15px; line-height: 24px; }
.split--inline-box .cta-box .btn { margin-top: 0; }

/* Conditions page feature blocks (card + large photo) */
.feature-block {
  padding: 54px 64px 64px;
  border-radius: 32px;
  background: var(--mint);
  text-align: center;
}
.feature-block--sky { background: #eef4f9; }
.feature-block > .title { color: var(--green); }
.feature-block--sky > .title { color: var(--blue); }
.feature-block > .lead { max-width: 1182px; margin: 32px auto 0; color: #5a6578; font-weight: 400; }
.feature-block__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px;
  margin-top: 32px;
}
/* Stretches to the card's height beside it */
.feature-block__image { border-radius: var(--radius-lg); min-height: 100%; }
.feature-block__more { margin-top: 40px; }
.feature-block__more p { font-size: 17px; line-height: 28px; color: #4a4a4a; }
.feature-block__more .btn { margin-top: 24px; }
.condition-card--green .tile h4 { color: var(--green); }
.condition-card--blue h3 { color: var(--blue); }
.condition-card--blue .btn--green { background: var(--blue); }
.condition-card--blue .btn--green:hover { background: var(--blue-dark); }

/* Services */
.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px;
  margin-top: 44px;
}
.service-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 18px 36px;
  border: 1px solid #9cc28a;
  border-radius: 16px;
  background: var(--mint);
  text-align: center;
  cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.service-card .img-frame { width: 100%; border-radius: 12px; aspect-ratio: 439 / 240; }
.service-card__name {
  margin-top: 28px;
  padding: 12px 25px; border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-weight: 500; font-size: 17px; line-height: 24px;
  transition: background-color .25s, color .25s;
}
.service-card__text {
  max-width: 520px; margin: 20px auto 28px;
  font-size: 16px; line-height: 26px; color: #4a4a4a;
}
/* The arrow books the service: it opens the contact form */
.service-card__arrow {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 53px; height: 53px; margin-top: auto;
  border-radius: 50%;
  background: var(--green); color: var(--white);
  transition: transform .2s, background-color .25s, color .25s;
}
.service-card__arrow:hover { transform: scale(1.06); }
.services-more {
  display: flex; align-items: center; justify-content: flex-end; gap: 65px;
  margin-top: 90px;
}
.services-more p { font-size: 18px; line-height: 28px; color: #4a4a4a; }
.services-more .btn { padding-inline: 42px; }
@media (min-width: 1101px) {
  #our-services { margin-top: 96px; }
}

/* Wide screens: description appears over the photo on hover or tap, so card heights never change */
@media (min-width: 1360px) {
  .service-card__arrow { margin-top: 28px; }
  .service-card__text {
    position: absolute; top: 18px; left: 18px; right: 18px;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 439 / 240;
    max-width: none; margin: 0; padding: 20px 28px;
    border-radius: 12px;
    background: var(--green); color: var(--white);
    font-size: 15px; line-height: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .service-card:hover, .service-card:focus-within, .service-card.is-open { border-color: var(--green); background: var(--green); }
  .service-card:hover .service-card__text, .service-card:focus-within .service-card__text, .service-card.is-open .service-card__text { opacity: 1; visibility: visible; }
  .service-card:hover .service-card__name, .service-card:focus-within .service-card__name, .service-card.is-open .service-card__name { background: var(--white); color: var(--blue); }
  .service-card:hover .service-card__arrow, .service-card:focus-within .service-card__arrow, .service-card.is-open .service-card__arrow { background: var(--white); color: var(--green); }
}

/* Tablet: centered title and closing row */
@media (max-width: 1100px) {
  #our-services > .title { text-align: center; }
  .services-grid { margin-top: 28px; }
  .services-more { justify-content: center; flex-wrap: wrap; gap: 16px 32px; margin-top: 36px; text-align: center; }
}
/* Small tablet: each card lies on its side, photo left and copy right */
@media (min-width: 641px) and (max-width: 900px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-card {
    display: grid; grid-template-columns: 42% minmax(0, 1fr); grid-template-rows: auto auto 1fr auto;
    column-gap: 24px; align-items: start;
    padding: 16px; text-align: left;
  }
  .service-card .img-frame { grid-row: 1 / 5; height: 100%; min-height: 220px; aspect-ratio: auto; }
  .service-card__name, .service-card__text, .service-card__arrow { grid-column: 2; }
  .service-card__name { justify-self: start; margin-top: 8px; }
  .service-card__text { max-width: none; margin: 14px 0 18px; }
  .service-card__arrow { justify-self: start; margin-top: 0; }
}
/* Phones: stacked and centered */
@media (max-width: 640px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { padding: 14px 14px 24px; }
  .service-card__name { margin-top: 20px; padding: 10px 18px; font-size: 15px; line-height: 22px; }
  .service-card__text { margin: 16px auto 20px; font-size: 15px; line-height: 24px; }
  .services-more { flex-direction: column; gap: 16px; }
}
/* Patient information */
.expect {
  padding: 55px 65px 64px;
  border-radius: 32px;
  background: var(--mint);
}
.expect__card {
  position: relative;
  display: flex; align-items: center;
  min-height: 516px; padding: 40px 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 30px rgba(5, 43, 69, .08);
}
.expect__card > .img-frame { position: absolute; inset: 0; background: var(--white); }
.expect__card > .img-frame img { object-position: right center; }
.expect__content { position: relative; max-width: 590px; }
.expect__content .title { color: var(--green); }
.expect__content p { margin-top: 22px; font-size: 17px; line-height: 28px; color: #4a4a4a; }
.expect__policy { margin-top: 40px; text-align: center; font-size: 17px; line-height: 28px; color: #4a4a4a; }
.expect__policy p + p { max-width: 1180px; margin-inline: auto; }
.expect__policy .btn { margin-top: 32px; }

.forms {
  display: grid; grid-template-columns: 849fr 580fr; gap: 44px;
  align-items: center;
  margin-top: 30px;
}
.forms__box {
  padding: 50px 44px;
  border: 1px solid var(--blue);
  border-radius: 40px;
  background: var(--ice);
  text-align: center;
}
.forms__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-around; gap: 24px; }
.forms__item h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 28px; line-height: 37px; color: var(--blue);
}
.forms__item .btn { margin-top: 40px; }
.forms__divider { height: 1px; margin: 50px 0; background: #c9d6e0; }
.forms__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.forms__actions .btn { padding-inline: 42px; }
.forms__image { border-radius: 16px; aspect-ratio: 580 / 599; }

/* Testimonials page */
.reviews-page { padding: 109px 0 100px; background: var(--mint); text-align: center; }
.reviews-page .reviews { justify-content: center; margin-top: 24px; }
.quote-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 418px)); justify-content: center; gap: 30px;
  margin-top: 60px;
  text-align: left;
}
.quote-grid .quote {
  display: flex; flex-direction: column;
  width: auto; margin: 0; padding: 44px 41px 36px;
  transform: none;
  box-shadow: 0 24px 40px rgba(5, 43, 69, .12);
}
.quote-grid .quote blockquote { max-width: 333px; margin-bottom: 30px; font-size: 22px; line-height: 30px; }
.quote-grid .quote footer { margin-top: auto; }
.avatar--letter {
  display: flex; align-items: center; justify-content: center; flex: none;
  color: var(--white); font-weight: 500; font-size: 26px;
}
.reviews-page__more {
  display: inline-block; margin-top: 90px;
  font-weight: 500; font-size: 17px; color: var(--green); text-decoration: none;
}
.reviews-page__more:hover { text-decoration: underline; }

/* Contact page */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) 659px; gap: 64px;
  align-items: center;
  margin-top: 44px;
}
.contact h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 3.75vw, 60px); line-height: 1.33; letter-spacing: -0.03em;
  color: var(--blue);
}
.contact__intro .lead { max-width: 650px; margin-top: 28px; color: #6b6b6b; font-weight: 600; }
.contact__intro .lead a { color: inherit; }
.contact__info { display: grid; grid-template-columns: 370px auto; gap: 48px; margin-top: 28px; }
.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #c5ccd6;
}
.info-item + .info-item { margin-top: 26px; }
.info-item .icon-circle, .hours .icon-circle { width: 44px; height: 44px; }
.info-item h3, .hours h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 24px; line-height: 30px; color: var(--blue);
}
.info-item p { margin-top: 4px; font-size: 17px; line-height: 26px; color: #595563; }
.info-item a { color: inherit; text-decoration: none; }
.info-item a:hover { color: var(--blue); }
.hours { padding-left: 28px; border-left: 1px solid #c5ccd6; }
.hours__head { display: flex; align-items: center; gap: 16px; }
.hours ul { margin-top: 22px; font-size: 17px; line-height: 28px; color: #6b6b6b; }

.contact-form {
  padding: 36px 40px 48px;
  border: 1px solid var(--blue);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(5, 43, 69, .06);
}
.contact-form h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 3.75vw, 60px); line-height: 1.2; letter-spacing: -0.03em;
  color: var(--blue); text-align: center;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 24px; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-ui); font-weight: 500; font-size: 13px; color: #4a5565;
}
.field .req { color: #e5484d; }
.field input, .field textarea {
  display: block; width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid #d5dae1; border-radius: 8px;
  background: var(--white);
  font: 400 14px/1.4 var(--font-ui); color: #1f2937;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 122, 181, .12);
}
.field--trap { position: absolute; left: -9999px; }
.contact-form .btn {
  width: 100%; margin-top: 30px; padding: 13px 20px;
  font-weight: 600; font-size: 16px;
  box-shadow: 0 12px 20px rgba(47, 122, 181, .25);
}
.form-note { margin-top: 30px; font-family: var(--font-ui); font-size: 12px; line-height: 17px; color: #6b7280; text-align: center; }
.form-status { margin-top: 20px; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 20px; }
.form-status--success { background: #ecf6e6; color: #3c6b26; }
.form-status--error { background: #fdecec; color: #a12d2d; }

.map-embed { height: 254px; margin-top: 99px; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Inner pages — responsive */
@media (max-width: 1240px) {
  .split, .split--reverse { gap: 48px; }
  .feature-block { padding: 48px 32px; }
  .contact { grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; }
  .contact__info { grid-template-columns: 1fr; gap: 28px; }
  .hours { padding: 28px 0 0; border-left: 0; border-top: 1px solid #c5ccd6; }
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .section, .section--lg { margin-top: 48px; }
  .forms__item h3 { font-size: 22px; line-height: 30px; }
  .forms__box { padding: 40px 28px; }
  .reviews-page { padding: 64px 0; }
  .reviews-page__more { margin-top: 48px; }
  .map-embed { margin-top: 48px; }
}
@media (max-width: 900px) {
  .hero--page { padding: 56px 0; min-height: 0; }
  /* Stacked: copy first, image after */
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split__image, .split--reverse .split__image { order: 2; }
  .feature-block__grid { grid-template-columns: minmax(0, 1fr); }
  .feature-block__image { order: 2; height: auto; aspect-ratio: 4 / 3; }
  .expect { padding: 40px 32px; }
  .expect__card { display: block; min-height: 0; padding: 0; }
  .expect__card > .img-frame { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .expect__content { max-width: none; padding: 32px 28px 36px; }
  .forms { grid-template-columns: minmax(0, 1fr); }
  .forms__image { order: 2; aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .section, .section--lg { margin-top: 36px; }
  .hero--page { padding: 40px 0; }
  .cta-box p { font-size: 17px; line-height: 26px; }
  .split--inline-box .cta-box { flex-direction: column; align-items: flex-start; }
  .feature-block { padding: 36px 16px; border-radius: 24px; }
  .expect { padding: 28px 16px; border-radius: 24px; }
  .expect__content { padding: 24px 20px 28px; }
  .forms__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .forms__item .btn { margin-top: 16px; }
  .forms__divider { margin: 32px 0; }
  .forms__box { padding: 32px 20px; border-radius: 28px; }
  .quote-grid .quote { padding: 28px 22px; }
  .quote-grid .quote blockquote { font-size: 18px; line-height: 27px; }
  .contact { margin-top: 32px; }
  .contact-form { padding: 28px 20px 32px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .map-embed { height: 300px; margin-top: 36px; }
}
/* Testimonials grid: long names wrap instead of pushing the badge out */
.quote-grid .quote cite { white-space: normal; }
.quote-grid .verified { flex: none; }
@media (max-width: 900px) {
  .quote-grid .quote { padding: 28px 24px; }
  .quote-grid .quote blockquote { max-width: none; }
}
/* ==========================================================================
   Line breaks, heading sizes and hero proportions
   ========================================================================== */
/* Desktop: copy column matches the Figma text width so lines break the same */
@media (min-width: 1101px) {
  .split__body .lead { max-width: 677px; }
}
.feature-block > .lead { font-weight: 500; }

/* Wider than the 1600px design: hero grows with the width so the photo is not cropped */
@media (min-width: 1601px) {
  .hero { min-height: 45.1875vw; }
}

@media (max-width: 1100px) {
  /* Manual line breaks are for the desktop layout only */
  h1 br, h2 br, h3 br, .lead br { display: none; }
  .cta-box, .split--inline-box .cta-box { margin-top: 28px; }
}
/* Phones: long headings stay within three lines */
@media (max-width: 640px) {
  .hero:not(.hero--page) h1 { font-size: clamp(22px, 7.2vw, 27px); line-height: 1.15; }
  .banner h2, .why h2 { font-size: clamp(22px, 6.9vw, 26px); line-height: 1.2; }
}@media (max-width: 360px) {
  .title { font-size: 27px; }
}@media (max-width: 360px) {
  .reviews--dark { flex-wrap: wrap; justify-content: center; row-gap: 4px; font-size: 14px; }
}
/* Phones: callout copy is centered */
@media (max-width: 640px) {
  .callout { text-align: center; }
}
/* Patient page refinements */
.expect__policy { font-weight: 500; }
.forms__item h3 { font-weight: 500; }
@media (max-width: 900px) {
  .expect__content { text-align: center; }
  /* Forms stack one under another */
  .forms__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .forms__item .btn { margin-top: 16px; }
  /* Callout: centered copy and phone pill */
  .callout { padding: 32px 40px; text-align: center; }
  .callout .phone-pill { justify-self: center; }
}
@media (max-width: 640px) {
  .callout .phone-pill { justify-self: stretch; }
}
/* Contact page colours */
.field input::placeholder, .field textarea::placeholder { color: #868686; }
.contact__intro .lead { color: #868686; }
.info-item h3, .hours h3 { color: #2f7ab5; }
.info-item p, .hours ul { color: #868686; }
/* Thank You and 404 pages */
.notice {
  display: flex; flex-direction: column; align-items: center;
  max-width: 760px; margin: 0 auto; padding: 110px 0 20px;
  text-align: center;
}
.notice__badge {
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--green); color: var(--white);
  box-shadow: 0 14px 28px rgba(126, 177, 99, .35);
}
.notice__badge .icon { width: 46px; height: 46px; stroke-width: 1.75; }
.notice__code {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(88px, 11vw, 150px); line-height: 1; letter-spacing: -0.03em;
  color: var(--green);
}
.notice h1 {
  margin-top: 28px;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(34px, 3.75vw, 56px); line-height: 1.15; letter-spacing: -0.03em;
  color: var(--blue);
}
.notice .lead { margin-top: 20px; }
.notice .lead a { color: var(--blue); font-weight: 600; text-decoration: none; }
.notice .btn-row { justify-content: center; margin-top: 36px; }
@media (max-width: 1100px) {
  .notice { padding-top: 64px; }
}
@media (max-width: 640px) {
  .notice { padding-top: 48px; }
  .notice .btn-row { width: 100%; }
}