/* AGR Medical Center
   Midnight navy #0D1A33, dusk blue #8FB4E3, midnight orange.
   Apple-inspired: clarity, generous space, large type, rounded tiles. */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0d1a33;
  --navy-2: #15284b;
  --navy-3: #1e355f;
  --dusk: #8fb4e3;
  --dusk-300: #b4cdee;
  --dusk-200: #d2e1f5;
  --dusk-100: #e6eef9;
  --dusk-50: #f3f7fc;
  --white: #ffffff;

  --ink: #0d1a33;
  --ink-2: #4a5874;
  --ink-3: #65728d;
  --link: #2b5c99;
  --on-dark: #f4f7fc;
  --on-dark-2: #a7b9d6;

  --orange: #c2531a;
  --orange-hover: #d25e21;
  --orange-text: #b54c16;
  --orange-bright: #f0874a;
  --alert: #b42318;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --nav-h: 52px;
  --subnav-h: 52px;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 28px;
  --radius-sm: 18px;
  --section: clamp(88px, 11vw, 148px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--subnav-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
}

.skip-link:focus {
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: calc(820px + 2 * var(--gutter));
}

.center {
  text-align: center;
}

/* ---------- Global nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 26, 51, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--on-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  flex: none;
  width: 26px;
  height: 25px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 8px 0;
  white-space: nowrap;
  font-size: 13.5px;
  color: rgba(244, 247, 252, 0.82);
  transition: color 0.2s var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--white);
  text-decoration: none;
}

.nav__links a[aria-current='page'] {
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__phone {
  font-size: 13.5px;
  color: var(--dusk);
  white-space: nowrap;
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--on-dark);
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-btn span:first-child {
  top: 18px;
}

.menu-btn span:last-child {
  top: 25px;
}

.menu-btn[aria-expanded='true'] span:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded='true'] span:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) 32px;
  background: var(--navy);
  overflow-y: auto;
}

.menu[hidden] {
  display: none;
}

.menu ul {
  list-style: none;
}

.menu__link {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}

.menu__link:hover {
  text-decoration: none;
  color: var(--dusk);
}

.menu__link[aria-current='page'] {
  color: var(--dusk);
}

.menu__foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}

/* ---------- Page sub-nav (product-page style) ---------- */

.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  height: var(--subnav-h);
  background: rgba(13, 26, 51, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(167, 185, 214, 0.14);
  border-bottom: 1px solid rgba(167, 185, 214, 0.14);
}

.subnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.subnav__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  white-space: nowrap;
}

.subnav__title:hover {
  text-decoration: none;
}

.subnav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.subnav__links a {
  font-size: 12.5px;
  color: var(--on-dark-2);
  white-space: nowrap;
}

.subnav__links a:hover {
  color: var(--white);
  text-decoration: none;
}

.subnav__links .btn {
  color: var(--white);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--orange);
  color: var(--white);
  font: 500 17px/1 var(--font);
  letter-spacing: -0.01em;
  text-align: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--orange-hover);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  min-height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
}

.btn--md {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--ghost {
  background: transparent;
  color: var(--link);
  box-shadow: inset 0 0 0 1px currentColor;
}

.btn--ghost:hover {
  background: rgba(43, 92, 153, 0.06);
}

.on-dark .btn--ghost,
.btn--ghost-light {
  color: var(--dusk);
  background: transparent;
  box-shadow: inset 0 0 0 1px currentColor;
}

.on-dark .btn--ghost:hover,
.btn--ghost-light:hover {
  background: rgba(143, 180, 227, 0.1);
}

.btn--block {
  width: 100%;
}

/* "Learn more ›" links */
.more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: inherit;
  color: var(--link);
  white-space: nowrap;
}

.more::after {
  content: '›';
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-0.03em);
  padding-left: 3px;
}

.on-dark .more {
  color: var(--dusk);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 28px;
  font-size: 19px;
}

.ctas--start {
  justify-content: flex-start;
}

/* ---------- Sections and type ---------- */

.section {
  padding: var(--section) 0;
}

.section--tint {
  background: var(--dusk-50);
}

.section--dark,
.on-dark {
  color: var(--on-dark);
}

.section--dark {
  background: var(--navy);
}

.section--tight {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--flush-top {
  padding-top: 0;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--orange-text);
}

.on-dark .eyebrow,
.section--dark .eyebrow {
  color: var(--orange-bright);
}

.display {
  display: block;
  font-size: clamp(44px, 7.6vw, 96px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.036em;
}

.headline {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.headline-sm {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.026em;
}

.lead {
  max-width: 34em;
  margin: 20px auto 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

.on-dark .lead,
.section--dark .lead {
  color: var(--on-dark-2);
}

.lead--start {
  margin-left: 0;
}

.lead--sm {
  margin-top: 12px;
  font-size: 19px;
}

.intro {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px);
  background: var(--navy);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
}

.hero .eyebrow {
  color: var(--dusk);
}

.hero__title {
  margin: 0;
}

.hero .lead {
  color: var(--on-dark-2);
}

.hero .ctas .more {
  color: var(--dusk);
}

.hero--page {
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* ---------- Home: dusk-blue landing ---------- */

.page-home {
  background: var(--dusk);
}

.page-home .nav {
  background: rgba(143, 180, 227, 0.8);
  color: var(--navy);
}

.page-home .brand,
.page-home .nav__links a,
.page-home .nav__phone,
.page-home .menu-btn {
  color: var(--navy);
}

.page-home .nav__links a:hover {
  color: #000;
}

.hero--dusk {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 6.5vw, 96px);
  background: var(--dusk);
  color: var(--navy);
}

.hero--dusk .eyebrow {
  color: #1e355f;
}

.hero--dusk .lead {
  color: #213555;
}

.hero--dusk .ctas .more {
  color: var(--navy);
  font-weight: 500;
}

/* Headline on the left, the two doctors on the right */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  text-align: left;
}

.hero-split .display {
  font-size: clamp(40px, 4.3vw, 64px);
}

.hero-split .lead {
  margin-left: 0;
}

.hero-split .ctas {
  justify-content: flex-start;
}

.hero-note {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: #1e355f;
}

.hero-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.doc-card {
  display: block;
  color: var(--navy);
}

.doc-card:hover {
  text-decoration: none;
}

.doc-card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #c3d7f1 0%, #a9c5ea 100%);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease);
}

.doc-card:hover .doc-card__frame {
  transform: translateY(-4px);
}

.doc-card__frame img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 90%;
  transform: translateX(-50%);
}

.doc-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--orange);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13, 26, 51, 0.16);
}

.doc-card__badge svg {
  width: 32px;
  height: 32px;
}

.doc-card__meta {
  padding: 14px 4px 0;
}

.doc-card__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.doc-card__role {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  color: #213555;
}

.doc-card__meta .more {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
}

/* Same badge on the doctor introduction of the practice pages */
.doc-split {
  position: relative;
}

.doc-split > .doc-card__badge {
  top: 20px;
  right: 20px;
}

/* Inner pages with a sub-nav: the page's own Book button replaces the global one */
.has-subnav .nav__actions .btn {
  display: none;
}

/* ---------- Tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3.4vw, 48px) 0;
  background: var(--dusk-50);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.tile--dusk {
  background: linear-gradient(180deg, #a6c4ea 0%, var(--dusk) 100%);
}

.tile--navy {
  background: var(--navy-2);
  color: var(--on-dark);
}

.tile--white {
  background: var(--white);
}

.tile--pad {
  padding-bottom: clamp(32px, 4vw, 48px);
}

.tile--start {
  text-align: left;
}

.tile__eyebrow {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-text);
}

.tile--navy .tile__eyebrow,
.section--dark .tile__eyebrow {
  color: var(--orange-bright);
}

.tile--dusk .tile__eyebrow {
  color: var(--navy);
}

.tile__title {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
}

.tile__title--sm {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.022em;
}

.tile__text {
  max-width: 30em;
  margin: 12px auto 0;
  font-size: 17px;
  color: var(--ink-2);
}

.tile--start .tile__text {
  margin-left: 0;
}

.tile--navy .tile__text {
  color: var(--on-dark-2);
}

.tile--dusk .tile__text {
  color: #213555;
}

.tile__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 18px;
  font-size: 17px;
}

.tile--start .tile__links {
  justify-content: flex-start;
}

.tile--dusk .more {
  color: var(--navy);
  font-weight: 500;
}

.tile--navy .more {
  color: var(--dusk);
}

.tile__media {
  margin: auto calc(-1 * clamp(24px, 3.4vw, 48px)) 0;
  padding-top: 28px;
}

.tile__media img {
  width: 100%;
  object-fit: cover;
}

.tile__media--inset {
  margin: auto 0 clamp(24px, 3.4vw, 48px);
}

.tile__media--inset img {
  border-radius: var(--radius-sm);
}

/* Doctor tiles: cut-out portrait standing on the bottom edge */
.doc-tile {
  min-height: clamp(540px, 50vw, 640px);
}

.doc-tile__photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: auto calc(-1 * clamp(24px, 3.4vw, 48px)) 0;
  padding-top: 24px;
}

.doc-tile__photo img {
  width: auto;
  height: clamp(300px, 30vw, 400px);
  object-fit: contain;
}

.doc-tile__photo--wide img {
  height: clamp(300px, 30vw, 400px);
}

/* Doctor introduction on practice pages: text left, portrait standing right */
.doc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 0 0 0 clamp(32px, 5vw, 72px);
  min-height: 420px;
  text-align: left;
}

.doc-split__text {
  align-self: center;
  padding: 48px 0;
}

.doc-split .tile__text {
  margin-left: 0;
}

.doc-split .tile__links {
  justify-content: flex-start;
}

.doc-split__photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.doc-split__photo img {
  width: auto;
  height: clamp(300px, 34vw, 440px);
}

.doc-split__photo--wide img {
  height: clamp(300px, 34vw, 440px);
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bento > * {
  grid-column: span 2;
}

.bento .span-3 {
  grid-column: span 3;
}

.bento .span-4 {
  grid-column: span 4;
}

.bento .span-6 {
  grid-column: span 6;
}

.bento .tile {
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.8vw, 36px) 0;
}

.bento .tile--pad {
  padding-bottom: clamp(28px, 3vw, 40px);
}

.bento .tile__media {
  margin: auto calc(-1 * clamp(24px, 2.8vw, 36px)) 0;
}

.bento .tile__media img {
  aspect-ratio: 4 / 3;
}

.bento .span-4 .tile__media img,
.bento .span-3 .tile__media img {
  aspect-ratio: 16 / 9;
}

.split-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 56px);
  text-align: left;
}

.split-tile .tile__text {
  margin-left: 0;
}

.split-tile .tile__links {
  justify-content: flex-start;
}

.split-tile img {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* Wide image */
.wide-media {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: var(--max);
}

.intro + .wide-media {
  margin-top: 0;
}

.tiles--hero {
  margin-top: clamp(48px, 6vw, 80px);
}

.wide-media img {
  width: 100%;
  border-radius: var(--radius);
}

/* Three-up feature columns */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
}

.feature h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-2);
}

.section--dark .feature p {
  color: var(--on-dark-2);
}

.feature .more {
  margin-top: 4px;
}

/* Chips for conditions */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.chips--center {
  justify-content: center;
}

.chips li {
  padding: 9px 16px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--dusk-100);
  border-radius: 999px;
}

.section--tint .chips li {
  background: var(--white);
}

.section--dark .chips li,
.tile--navy .chips li {
  color: var(--on-dark);
  background: var(--navy-3);
}

/* Two-column content block on practice pages */
.block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.block--flip .block__media {
  order: 2;
}

.block__media {
  margin: 0;
}

.block__body .after {
  margin-top: 24px;
}

.block__media img {
  width: 100%;
  border-radius: var(--radius);
}

.block__body .headline-sm {
  margin-bottom: 16px;
}

.block__body > p {
  color: var(--ink-2);
}

.section--dark .block__body > p {
  color: var(--on-dark-2);
}

.block__body .chips {
  margin-top: 24px;
}

.block__body h3 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

/* Checklist */
.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dusk)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%230D1A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

/* Text panel used in place of a photo */
.panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--dusk);
  color: var(--navy);
  border-radius: var(--radius);
}

.panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.panel .checklist li::before {
  background-color: var(--white);
}

/* Highlight tile inside sections */
.callout {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
}

.section--dark .callout {
  background: var(--navy-2);
}

.callout h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.018em;
}

.callout p {
  color: var(--on-dark-2);
}

/* Urgent eye symptoms */
.urgent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding: clamp(32px, 4vw, 52px);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(240, 135, 74, 0.35);
}

.urgent .eyebrow {
  color: var(--orange-bright);
}

.urgent p {
  margin-top: 12px;
  max-width: 40em;
  color: var(--on-dark-2);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(13, 26, 51, 0.14);
}

.faq details {
  border-bottom: 1px solid rgba(13, 26, 51, 0.14);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--link);
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 48px 24px 0;
  color: var(--ink-2);
}

/* Test tiles on the diagnostics page */
.test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.test {
  display: flex;
  flex-direction: column;
  padding: 12px 12px clamp(28px, 3vw, 40px);
  background: var(--dusk-50);
  border-radius: var(--radius);
}

.test img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
}

.test__body {
  padding: 28px clamp(16px, 2.4vw, 28px) 0;
}

.test__for {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-text);
}

.test__body > p:not(.test__for) {
  margin-top: 12px;
  color: var(--ink-2);
}

.prep {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 14px;
}

.prep h3 {
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.prep p {
  font-size: 15px;
  color: var(--ink-2);
}

.test--dusk {
  background: var(--dusk);
  justify-content: center;
}

.test--dusk .test__body {
  padding-bottom: 8px;
}

.test--dusk .test__for {
  color: var(--navy);
}

.test--dusk .test__body > p:not(.test__for) {
  color: #213555;
}

.test--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.test--wide img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 320px;
}

.checks {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  list-style: none;
}

.checks li {
  padding: 16px 20px;
  background: var(--white);
  border-radius: 14px;
}

.checks strong {
  display: block;
  font-size: 17px;
}

.checks span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink-2);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--navy);
  background: var(--dusk);
  border-radius: 50%;
}

.steps h3 {
  font-size: 21px;
  letter-spacing: -0.018em;
}

.steps p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}

/* Location */
.location {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px;
}

.map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--dusk-100);
  border-radius: var(--radius);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.place {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius);
}

.place h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.place dl {
  margin: 20px 0 28px;
}

.place dl div {
  padding: 14px 0;
  border-top: 1px solid rgba(167, 185, 214, 0.2);
}

.place dt {
  font-size: 13px;
  color: var(--on-dark-2);
}

.place dd {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.place dd a {
  color: var(--on-dark);
}

.place__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.placeholder {
  text-decoration: underline dotted var(--orange-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

/* ---------- Booking form ---------- */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px;
  align-items: start;
}

.form-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border-radius: var(--radius);
}

.form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 15px;
  font-weight: 600;
}

.field .hint {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: 400 17px/1.3 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c6d9;
  border-radius: 12px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5874' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 16px center / 12px no-repeat;
  padding-right: 40px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 4px rgba(143, 180, 227, 0.45);
}

.field[data-invalid] input {
  border-color: var(--alert);
}

.field__error {
  font-size: 14px;
  color: var(--alert);
}

.field__error:empty {
  display: none;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice span {
  display: block;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid #b9c6d9;
  border-radius: 14px;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.choice strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.choice small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-2);
}

.choice input:checked + span {
  border-color: var(--link);
  background: var(--dusk-50);
  box-shadow: inset 0 0 0 1px var(--link);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
}

.form__submit {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.form__fine {
  font-size: 14px;
  color: var(--ink-3);
}

.booking__aside {
  position: sticky;
  top: calc(var(--nav-h) + var(--subnav-h) + 16px);
}

.emergency {
  padding: 18px 0;
  background: var(--navy-2);
  color: var(--on-dark-2);
  font-size: 14px;
  text-align: center;
}

.emergency strong,
.emergency a {
  color: var(--on-dark);
}

/* ---------- Footer ---------- */

.footer {
  padding: 36px 0 24px;
  background: var(--dusk-50);
  border-top: 1px solid rgba(13, 26, 51, 0.08);
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer a {
  color: var(--ink-2);
}

.footer__notes {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 26, 51, 0.12);
}

.footer__notes p {
  margin-bottom: 8px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.footer h2 {
  margin-bottom: 10px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer address {
  font-style: normal;
}

.footer__hours {
  margin: 6px 0 0;
}

.footer .footer__contact {
  margin-top: 10px;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 26, 51, 0.12);
}

.footer__base p {
  margin: 0;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  .hero__title,
  .hero .lead,
  .hero .ctas {
    animation: rise 1s var(--ease) both;
  }
  .hero .lead {
    animation-delay: 0.08s;
  }
  .hero .ctas {
    animation-delay: 0.16s;
  }
  .hero-docs {
    animation: rise 1.1s 0.24s var(--ease) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1068px) {
  .nav__phone {
    display: none;
  }
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split .display {
    font-size: clamp(44px, 8vw, 72px);
  }
  .hero-split .lead {
    margin-left: auto;
  }
  .hero-split .ctas {
    justify-content: center;
  }
  /* Smaller screens: Dr. Gangi Reddy TK first, Dr. Archana M below */
  .hero-docs {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 440px;
    margin: 8px auto 0;
  }
  .doc-card {
    text-align: left;
  }
  .subnav__links li:not(:last-child) {
    display: none;
  }
  .bento > *,
  .bento .span-3,
  .bento .span-4 {
    grid-column: span 3;
  }
  .bento .span-4:first-child,
  .bento .span-6,
  .bento .md-full {
    grid-column: span 6;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__actions {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .tiles,
  .test-grid,
  .location,
  .booking {
    grid-template-columns: 1fr;
  }
  .block,
  .split-tile,
  .test--wide {
    grid-template-columns: 1fr;
  }
  .block--flip .block__media {
    order: 0;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .booking__aside {
    position: static;
  }
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__cols > div:last-child {
    grid-column: 1 / -1;
  }
  .urgent {
    grid-template-columns: 1fr;
  }
  .doc-split {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 24px;
    text-align: center;
  }
  .doc-split__text {
    padding: 40px 0 8px;
  }
  .doc-split .tile__text {
    margin-left: auto;
  }
  .doc-split .tile__links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --radius: 22px;
  }
  body {
    font-size: 16px;
  }
  .bento > *,
  .bento .span-3,
  .bento .span-4,
  .bento .span-6 {
    grid-column: span 6;
  }
  .steps,
  .form__row,
  .choices {
    grid-template-columns: 1fr;
  }
  .ctas {
    font-size: 17px;
  }
  .doc-tile {
    min-height: 520px;
  }
  .hero-docs {
    gap: 28px;
  }
  .doc-card__badge {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
  }
  .doc-card__badge svg {
    width: 26px;
    height: 26px;
  }
  .doc-tile__photo img {
    height: 300px;
  }
  .doc-tile__photo--wide img {
    height: 290px;
  }
  .map {
    min-height: 320px;
  }
  .test--wide img {
    min-height: 220px;
  }
  .subnav__title {
    font-size: 17px;
  }
  .faq summary {
    font-size: 18px;
  }
}

@media print {
  .nav,
  .subnav,
  .menu,
  .map {
    display: none;
  }
}
