/* Healthy Children Pediatric Center — site styles */
:root {
  --blue: #0057c9;
  --blue-dark: #003f94;
  --blue-deep: #062a5c;
  --blue-50: #eef4fd;
  --blue-100: #d9e7fb;
  --orange: #ff4e00;          /* brand orange: buttons, accents */
  --orange-hover: #e04400;
  --orange-text: #c93a00;     /* orange for small link text (meets WCAG AA on white) */
  --orange-50: #fff1ea;
  --green: #73a502;
  --green-text: #4c6e00;
  --green-50: #f2f8e6;
  --sun: #fcc419;
  --ink: #231f20;
  --ink-2: #4a4546;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 42, 92, .06), 0 8px 24px rgba(6, 42, 92, .08);
  --shadow-lg: 0 2px 4px rgba(6, 42, 92, .06), 0 18px 48px rgba(6, 42, 92, .14);
  --font-head: "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
a { color: var(--orange-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-deep); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .7em 1.5em;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1875rem; line-height: 1.1;
  text-decoration: none; border: 2px solid var(--orange); border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 78, 0, .25);
  transition: background .15s, transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue-100); box-shadow: none; }
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue); color: var(--blue-dark); }
.btn--small { min-height: 46px; padding: .55em 1.15em; font-size: 1.1875rem; }
.btn--white { background: #fff; color: var(--blue-deep); border-color: #fff; box-shadow: none; }
.btn--white:hover { background: var(--blue-50); color: var(--blue-deep); border-color: var(--blue-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--orange-text); }
.text-link svg { transition: transform .15s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- top bar ---------- */
.topbar { background: var(--blue-deep); color: #fff; font-size: .95rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__label { margin: 0; opacity: .85; }
.topbar__phones { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar__phones a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; padding: 6px 0; }
.topbar__phones a svg { color: var(--sun); width: 1.05em; height: 1.05em; }
.topbar__phones a span { opacity: .85; }
.topbar__phones a:hover strong { text-decoration: underline; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--blue-deep); font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.site-nav__list > li > a:hover, .sub-toggle:hover { background: var(--blue-50); color: var(--blue); }
.site-nav__list a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 10px 10px 4px 4px; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  list-style: none; margin: 0; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; color: var(--blue-deep); font-weight: 800; font-family: var(--font-head); text-decoration: none; }
.sub a small { font-family: var(--font-body); font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.sub a:hover { background: var(--blue-50); }
.btn--nav { min-height: 46px; padding: .5em 1.2em; font-size: 1.1875rem; }
.menu-toggle { display: none; }

@media (max-width: 1060px) {
  .brand img { width: 210px; }
  .site-header__inner { min-height: 72px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; min-height: 46px; border: 2px solid var(--blue-100); border-radius: 12px;
    background: #fff; color: var(--blue-deep); font: 800 1rem var(--font-head); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: .2s; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 72px); overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list > li > a, .sub-toggle { width: 100%; padding: 14px 12px; font-size: 1.1rem; justify-content: space-between; }
  .site-nav__list a[aria-current="page"], .has-sub.is-current > .sub-toggle { box-shadow: inset 4px 0 0 var(--orange); border-radius: 4px 10px 10px 4px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub:hover .sub-toggle[aria-expanded="true"] + .sub, .has-sub:focus-within .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .btn--nav { width: 100%; }
}
@media (max-width: 720px) {
  .topbar__label { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__phones { gap: 18px; font-size: .9rem; }
  .brand img { width: 180px; }
}
@media (max-width: 400px) {
  .topbar__phones a span { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: .6rem; color: var(--green-text); font: 800 .9rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 4px; background: var(--green); }
.section--blue .eyebrow { color: #fff; } .section--blue .eyebrow::before { background: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.section--blue .lead { color: rgba(255, 255, 255, .9); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { color: var(--blue); }
.hero h1 span { color: var(--blue-deep); display: block; }
.hero .lead { max-width: 560px; }
.hero__img { border-radius: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 1.5rem 0 0; font-weight: 700; color: var(--blue-deep); font-size: .98rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; margin: 0 auto; }
}

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px) 0; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 196, 25, .35), rgba(252, 196, 25, 0) 70%); pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, .92); max-width: 700px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.5rem; }
.breadcrumb { font-size: .92rem; margin-bottom: 1rem; color: rgba(255, 255, 255, .85); }
.breadcrumb a { color: #fff; }
.page-hero--split .container { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: center; }
.page-hero--split img { max-width: 280px; justify-self: end; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .18)); background: #fff; border-radius: 50%; padding: 12px; }
@media (max-width: 760px) { .page-hero--split .container { grid-template-columns: 1fr; } .page-hero--split img { display: none; } }

/* ---------- office cards ---------- */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .office-grid { grid-template-columns: 1fr; } }
.office-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.office-card + .office-card { border-top-color: var(--green); }
.office-card__title { margin-bottom: .2em; font-size: 1.45rem; }
.office-card__doctor { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; margin-bottom: .8rem; }
.office-card__doctor svg { color: var(--green); }
.office-card__phone { display: inline-flex; align-items: center; gap: 10px; font: 900 clamp(1.6rem, 3vw, 1.95rem)/1.1 var(--font-head); color: var(--blue); text-decoration: none; margin-bottom: .9rem; }
.office-card__phone svg { width: 1em; height: 1em; color: var(--orange); }
.office-card__phone:hover { color: var(--blue-dark); }
.office-card__list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 8px; }
.office-card__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.office-card__list svg { color: var(--blue); margin-top: 3px; }
.office-card__list a { color: var(--ink); text-decoration: none; }
.office-card__list a:hover { color: var(--orange-text); text-decoration: underline; }
.office-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero-offices { margin-top: clamp(-36px, -3vw, -20px); position: relative; z-index: 2; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card--link .text-link { margin-top: auto; padding-top: .6rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; background: var(--blue-50); color: var(--blue); }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--green { background: var(--green-50); color: var(--green-text); }
.icon-badge--orange { background: var(--orange-50); color: var(--orange-text); }

/* ---------- split / prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: minmax(0, 1fr); } .split .decor-kids { max-width: 260px; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--blue); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.checklist--2col { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 620px) { .checklist--2col { grid-template-columns: 1fr; } }

/* quote / statement blocks */
.statement { position: relative; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: #fff; box-shadow: var(--shadow); border-left: 8px solid var(--blue); }
.statement--orange { border-left-color: var(--orange); }
.statement p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink); }
.statement p:last-child { margin-bottom: 0; }
.statement--big p { font: 800 clamp(1.4rem, 2.6vw, 1.95rem)/1.3 var(--font-head); color: var(--blue-deep); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { text-align: center; padding: 20px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); }
.stat strong { display: block; font: 900 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--font-head); color: #fff; }
.stat span { color: rgba(255, 255, 255, .9); font-weight: 600; }

/* ---------- services ---------- */
.service { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.service .icon-badge { margin: 0; width: 64px; height: 64px; }
.service h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: .35em; }
.service ul { margin: .4em 0 0; }
.service p:last-child, .service ul:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; gap: 12px; } .service .icon-badge { width: 52px; height: 52px; } }
.service-list { display: grid; gap: 18px; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.chip-nav a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-deep); font-weight: 700; text-decoration: none; font-size: .95rem; }
.chip-nav a:hover { background: var(--blue-100); }

/* ---------- doctors ---------- */
.doctor { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; scroll-margin-top: 110px; }
.doctor__avatar { aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; font: 900 3.4rem var(--font-head); box-shadow: var(--shadow); }
.doctor__avatar--green { background: linear-gradient(135deg, var(--green) 0%, #4f7300 100%); }
.doctor__role { color: var(--green-text); font-weight: 800; margin-bottom: .8rem; }
.doctor__facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1rem; }
.doctor__facts li { padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-deep); font-weight: 700; font-size: .92rem; }
@media (max-width: 680px) { .doctor { grid-template-columns: 1fr; } .doctor__avatar { width: 120px; font-size: 2.4rem; } }

/* ---------- office detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.panel h2 { font-size: 1.45rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > svg { width: 22px; height: 22px; margin-top: 4px; color: var(--blue); }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--blue-deep); font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--orange-text); }
.big-link { font: 900 1.6rem/1.2 var(--font-head); color: var(--blue) !important; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 700; color: var(--blue-deep); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: #8a8486; }
.hours tr.today { background: var(--blue-50); }
.hours tr.today th::after { content: "Today"; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 800; vertical-align: 2px; }
.note { font-size: .95rem; color: var(--ink-2); margin: 1rem 0 0; }
.map-wrap { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--blue-50); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 620px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ---------- insurance / forms ---------- */
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ins-grid { grid-template-columns: 1fr; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1rem; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-text); font-weight: 700; border: 1px solid #dbeab9; }
.pill-list--no li { background: #f6f6f7; color: var(--ink-2); border-color: var(--line); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.doc-list strong { font-family: var(--font-head); color: var(--blue-deep); }
.doc-list .links { display: flex; gap: 14px; font-weight: 700; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--orange-50); border: 1px solid #ffd6c2; }
.callout svg { color: var(--orange-text); width: 24px; height: 24px; margin-top: 2px; }
.callout p { margin: 0; }
.callout--blue { background: var(--blue-50); border-color: var(--blue-100); }
.callout--blue svg { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.section-head--center + .faq { margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font: 800 1.1rem/1.35 var(--font-head); color: var(--blue-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-text); font-size: 1.3rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq__a { padding: 0 22px 18px; color: var(--ink-2); }
.faq__a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: var(--blue); color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: auto -80px -140px auto; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); }
.cta-band__phones { display: grid; gap: 12px; position: relative; }
.cta-band__phones a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--blue-deep); text-decoration: none; font: 900 1.25rem var(--font-head); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.cta-band__phones a small { display: block; font: 700 .85rem var(--font-body); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.cta-band__phones a svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--orange); color: #fff; }
.cta-band__phones a:hover { transform: translateY(-2px); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255, 255, 255, .88); padding: 56px 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: .7em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 16px; padding: 6px; margin-bottom: 14px; }
.footer-phone { font: 900 1.35rem var(--font-head); color: var(--sun) !important; }
.footer-hours { font-size: .92rem; opacity: .85; }
.footer-links ul, .footer-social { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-social { margin-top: 10px; }
.footer-emergency { margin: 36px 0 12px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: .95rem; }
.footer-copy { font-size: .88rem; opacity: .7; margin: 0; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(6, 42, 92, .12);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 14px; background: var(--orange); color: #fff; text-decoration: none; font: 900 1.02rem/1.1 var(--font-head); }
  .callbar a + a { background: var(--blue); }
  .callbar small { display: block; font: 700 .78rem var(--font-body); opacity: .95; }
}

/* misc */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.decor-kids { width: 100%; max-width: 420px; margin: 0 auto; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--sun); }

/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; color: var(--blue-deep) !important; text-decoration: none;
  font: 800 .95rem/1.2 var(--font-head);
}
.lang-switch svg { width: 1.1em; height: 1.1em; color: var(--blue); }
.lang-switch:hover { background: var(--sun); }
.topbar__inner { gap: 20px; }
.topbar__phones { margin-left: auto; }
@media (max-width: 760px) {
  .topbar__phones { display: none; }
  .topbar__label { display: block; font-size: .9rem; }
  .topbar__inner { justify-content: space-between; min-height: 46px; }
  .lang-switch { padding: 7px 14px; font-size: 1rem; }
}
:lang(es) .hours tr.today th::after { content: "Hoy"; }

/* ---------- Spanish suggestion banner ---------- */
.lang-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%);
  width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 16px; background: var(--blue-deep); color: #fff;
  box-shadow: var(--shadow-lg); font-weight: 600;
}
.lang-banner p { margin: 0; flex: 1 1 200px; }
.lang-banner .btn { min-height: 44px; padding: .45em 1.1em; }
.lang-banner__close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.lang-banner__close:hover { background: rgba(255,255,255,.12); }
@media (max-width: 760px) { .lang-banner { bottom: 88px; } }

.site-nav__list > li > a, .sub-toggle, .btn--nav { white-space: nowrap; }
@media (min-width: 1061px) and (max-width: 1240px) {
  .brand img { width: 220px; }
  .site-nav__list > li > a, .sub-toggle { padding: 10px 9px; font-size: .98rem; }
}

/* ---------- blog ---------- */
.post-card h3 { font-size: 1.2rem; }
.post-card__meta { font-size: .9rem; font-weight: 700; color: var(--green-text); margin-bottom: .4rem; }
.post-meta { margin: 1rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.post-body { max-width: 720px; }
.post-body > p:first-child { font-size: 1.15rem; color: var(--ink-2); }
.post-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-top: 1.6em; }
.post-body li { margin-bottom: .35em; }
.post-body .callout { margin: 1.2em 0; }
.post-aside { position: sticky; top: 110px; }
.post-aside h2 { font-size: 1.25rem; }
.aside-phone { display: block; margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: var(--blue-50); color: var(--blue) !important; text-decoration: none; font: 900 1.3rem var(--font-head); }
.aside-phone small { display: block; font: 700 .8rem var(--font-body); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.aside-phone:hover { background: var(--blue-100); }
.sources { margin-top: 2.2em; padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .95rem; }
.sources h2 { font-size: 1.05rem !important; margin: 0 0 .5em !important; }
.sources ul { margin: 0; }
.sources a { word-break: break-word; }
@media (max-width: 900px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-aside { position: static; } }

/* ---------- doctor photos ---------- */
.hero__img { border-radius: 0; filter: drop-shadow(0 12px 28px rgba(6, 42, 92, .12)); }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--green); flex: none; }
.office-card__doctor { gap: 12px; font-weight: 700; color: var(--blue-deep); }
.doctor__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 24px; box-shadow: var(--shadow); border: 6px solid #fff; outline: 4px solid var(--blue); }
.doctor__photo--green { outline-color: var(--green); }
@media (max-width: 680px) { .doctor__photo { width: 160px; } }
.doctor-card { flex-direction: row; gap: 20px; align-items: flex-start; }
.doctor-card__photo { width: 120px; height: 120px; flex: none; border-radius: 20px; object-fit: cover; object-position: center 20%; }
.doctor-card__body { display: flex; flex-direction: column; min-height: 100%; }
@media (max-width: 480px) { .doctor-card { flex-direction: column; } .doctor-card__photo { width: 96px; height: 96px; } }
.doctor-mini { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doctor-mini img { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.doctor-mini p { margin: 0; }
@media (max-width: 480px) { .doctor-mini { flex-direction: column; align-items: flex-start; } }
.doctor-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.2em 0 1.4em; }
.doctor-pair a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .92rem; line-height: 1.35; }
.doctor-pair a:hover { box-shadow: var(--shadow); color: var(--ink-2); }
.doctor-pair img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.doctor-pair strong { display: block; color: var(--blue-deep); font-family: var(--font-head); font-size: 1rem; }
@media (max-width: 560px) { .doctor-pair { grid-template-columns: 1fr; } }

/* ---------- About page photos ---------- */
.photo-rounded { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); object-fit: cover; }
.vm-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.vm-stack { display: grid; gap: 20px; }
.why-head { margin-bottom: clamp(28px, 4vw, 44px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .vm-split, .why-head { grid-template-columns: minmax(0, 1fr); }
  .vm-split .photo-rounded { max-width: 460px; margin: 0 auto; }
}
