:root {
  color-scheme: light;
  --forest: #234e42;
  --forest-deep: #18362e;
  --ink: #263d37;
  --muted: #4d635b;
  --line: #d8e5dd;
  --tint: #f4f5f3;
  --mint: #bcebd8;
  --mint-light: #e6f7ef;
  --green: #2d6d59;
  --brand-green: #285c4d;
  --white: #fff;
  --radius: 20px;
  --heading-font: Georgia, "Times New Roman", serif;
  --button-fill: linear-gradient(150deg, #bdf2d9, #75c9a8);
  --button-fill-hover: linear-gradient(150deg, #a8eccc, #63ba97);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
figure, fieldset, ul, ol, dl, dd { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #0e8267; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-family: var(--heading-font); letter-spacing: -.022em; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); }
h2 { font-size: clamp(2rem, 3.55vw, 3.1rem); }
h3 { font-size: 1.18rem; letter-spacing: -.018em; }
p { color: var(--muted); }
h2 + p { margin-top: 18px; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: clamp(53px, 6vw, 82px); }
.section-tight { padding-block: 54px 64px; }
.section-tinted { background: var(--tint); }
.section-panel { padding: clamp(22px, 4vw, 48px); border: 1px solid #e7ece8; border-radius: var(--radius); background: var(--tint); }
.section-heading { max-width: 690px; margin-bottom: 31px; }
.section-heading > p:last-child:not(.eyebrow) { font-size: 1.0625rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: end; max-width: none; gap: 18px 40px; }
.eyebrow {
  color: var(--green);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .095em;
  line-height: 1.4;
  margin-bottom: 13px;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus-visible { transform: none; }

.header { position: relative; z-index: 3; background: #fff; color: var(--ink); }
.contact-strip { background: #f4f7f4; border-bottom: 1px solid #e4ebe6; }
.contact-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; min-height: 38px; padding-block: 6px; color: var(--muted); font-size: .82rem; }
.contact-strip-inner > * { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.contact-strip-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta-icon { position: relative; display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; color: var(--green); }
.meta-icon::before, .meta-icon::after { content: ""; position: absolute; }
.pin::before { width: 10px; height: 10px; left: 1px; top: 0; border: 1.4px solid currentColor; border-radius: 55% 55% 55% 0; transform: rotate(-45deg); }
.pin::after { width: 3px; height: 3px; left: 4.5px; top: 3.5px; border-radius: 50%; background: currentColor; }
.clock::before { inset: 0; border: 1.4px solid currentColor; border-radius: 50%; }
.clock::after { width: 4px; height: 5px; left: 6px; top: 3px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.document-icon::before { inset: 0 2px; border: 1.3px solid currentColor; border-radius: 2px; }
.document-icon::after { width: 5px; left: 4px; top: 5px; height: 3px; border-block: 1px solid currentColor; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 74px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.2; }
.brand strong { display: block; color: var(--brand-green); font-family: var(--heading-font); font-size: 1.38rem; letter-spacing: -.02em; font-weight: 400; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: .76rem; }
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 9px 9px 9px 3px;
  background: #e3f3e9;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; }
.brand-mark::before { width: 17px; height: 12px; left: 8px; top: 20px; border-radius: 2px 10px 2px 10px; background: #82bca4; transform: rotate(12deg); }
.brand-mark::after { width: 13px; height: 22px; left: 22px; top: 8px; border-radius: 12px 2px 12px 2px; background: #4f9c80; transform: rotate(13deg); }
.header-contact { display: flex; align-items: center; }
.duty-status { display: inline-flex; align-items: center; gap: 9px; color: var(--green); text-decoration: none; font-size: .86rem; font-weight: 645; }
.duty-status:hover { text-decoration: underline; text-underline-offset: 3px; }
.status-dot { position: relative; display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #45996a; }
.pulse::after { content: ""; position: absolute; inset: -2px; border: 1px solid #6ebf88; border-radius: 50%; animation: duty-pulse 2.1s ease-out infinite; }
@keyframes duty-pulse { 0% { transform: scale(.8); opacity: .85; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.header-cta { white-space: nowrap; }
.header .header-cta { min-height: 40px; padding-inline: 13px; border-color: var(--line); background: #fff; }
.header .header-cta:hover { background: var(--mint-light); }
.nav { display: flex; align-items: center; gap: clamp(13px, 1.65vw, 24px); min-height: 38px; font-size: .86rem; font-weight: 650; color: var(--ink); }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.header .menu-toggle, .header .mobile-call { display: none; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 720;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary, .button-hero { color: var(--forest-deep); background: var(--button-fill); border-color: #8ccdb4; box-shadow: 0 5px 14px #508a6e35; }
.button-primary:hover, .button-hero:hover { background: var(--button-fill-hover); }
.button-outline { color: var(--forest); border-color: #bbcec0; background: var(--white); }
.button-outline:hover { border-color: var(--green); background: #f0f7f4; }
.button-mint { color: var(--forest-deep); background: var(--mint); }
.button-mint:hover { background: #cce7d4; }
.button-hero { min-height: 53px; padding-inline: 22px; }
.arrow { line-height: 1; font-size: 1.12em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 23px; align-items: center; }
.hero-link { color: var(--green); font-weight: 650; text-underline-offset: 5px; font-size: .9375rem; }
.hero-link:hover { color: var(--forest-deep); }
.inline-link { display: inline-block; color: var(--green); font-weight: 710; text-underline-offset: 4px; }
.inline-link span { display: inline-block; margin-left: 4px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: #f7f7f2;
  border-radius: 0 0 clamp(20px, 3vw, 42px) 0;
}
.hero-phone { display: grid; color: var(--forest); font-weight: 720; text-decoration: none; }
.hero-phone span { font-size: .74rem; font-weight: 500; }
.hero-phone:hover { text-decoration: underline; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4.1vw, 58px);
  padding-block: clamp(35px, 4vw, 65px);
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { text-wrap: initial; line-height: 1.06; font-size: clamp(2.5rem, 4.15vw, 3.82rem); }
.hero-copy h1, .quiz-intro h2, .split-heading h2, .lead h2 {
  font-family: inherit;
  font-weight: 720;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.hero-copy h1 span { display: block; color: var(--green); white-space: nowrap; }
.hero-summary { max-width: 490px; margin-block: 18px 20px; color: var(--muted); font-size: clamp(1rem, 1.36vw, 1.11rem); }
.hero-profile {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  min-height: clamp(380px, 32vw, 485px);
}
.hero-photo { position: absolute; inset: 0; }
.hero-profile img { height: 100%; object-fit: cover; object-position: 62% 24%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #e5f8ec 3%, #e5f8eced 28%, #e5f8ec91 44%, transparent 64%); }
.photo-status { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: .79rem; font-weight: 700; line-height: 1.3; }
.hero-profile-details { position: relative; display: grid; gap: 8px; width: min(100%, 360px); margin: 0 2px 4px 0; padding: 14px 17px 12px; border: 1px solid #e4ece5; border-radius: var(--radius); background: #fffffff5; box-shadow: 0 8px 22px #283b3021; }
.hero-profile-details h2 { font-size: 1.38rem; text-wrap: initial; }
.hero-profile-details h2 + p { margin-top: 5px; font-size: .9rem; }
.profile-clinic { margin-top: 2px; font-size: .79rem; }
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 490px;
  margin-bottom: 24px;
  padding: 13px 15px;
  background: #f4fcf4eb;
  border: 1px solid #b8daca;
  border-radius: 15px;
  list-style: none;
  gap: 8px 12px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 650;
}
.hero-features li { display: flex; gap: 8px; align-items: center; }
.hero-features li::before { content: "✓"; display: inline-grid; place-items: center; flex: 0 0 18px; height: 18px; border-radius: 50%; background: #aee1c9; color: #1c5845; font-size: .71rem; font-weight: 750; }
.check-list li::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #367b66;
}

#quiz { padding-block: clamp(32px, 4vw, 64px); }
.quiz-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5.3vw, 70px);
  padding: clamp(26px, 4.3vw, 55px);
  color: var(--ink);
  background: linear-gradient(130deg, #d6f5e5, #a9e1c9 75%, #e1f0d8);
  border: 1px solid #a9d8bf;
  border-radius: var(--radius);
}
.quiz-intro { padding-top: 8px; }
.quiz-intro > p { max-width: 405px; font-size: 1.075rem; }
.quiz-duty { display: inline-flex; align-items: center; gap: 11px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; text-decoration: none; line-height: 1.35; }
.quiz-duty img { width: 42px; height: 42px; border-radius: 5px; object-fit: cover; object-position: center 56%; }
.quiz-duty strong { font-size: .86rem; }
.quiz-duty .status-dot { width: 6px; height: 6px; margin-right: 4px; }
.quiz-duty small { display: block; color: var(--muted); font-size: .76rem; }
.check-list { display: grid; gap: 11px; list-style: none; padding: 0; margin: 23px 0; }
.check-list li { display: flex; align-items: baseline; gap: 11px; color: var(--ink); }
.quiz-card, .lead-card {
  min-width: 0;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #dce8df;
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 31px);
  box-shadow: 0 6px 18px #385a4910;
}
.quiz-card { min-height: 365px; }
.quiz-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quiz-progress span { height: 4px; border-radius: 4px; background: #dae6e4; }
.quiz-progress .current { background: #347760; }
.quiz-progress .done { background: #8bbcac; }
.step-label { margin-block: 8px 17px; font-size: .81rem; }
.quiz-card h3, .lead-card h3 { margin-bottom: 13px; font: 400 1.36rem/1.2 var(--heading-font); }
.quiz-card h3:focus, .result h3:focus { outline: none; }
.quiz-options { display: grid; gap: 7px; }
.quiz-option {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-align: left;
  line-height: 1.32;
}
.quiz-option::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #77928c; flex: 0 0 auto; }
.quiz-option:hover, .quiz-option.selected { background: #eef8f4; border-color: #72a895; }
.quiz-option.selected::before { background: var(--green); box-shadow: inset 0 0 0 2px white; }
.text-button {
  padding: 5px 0;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
}
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }

.card-grid { display: grid; gap: 15px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.surface {
  padding: clamp(19px, 2.4vw, 29px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.surface p { margin-top: 9px; }
.surface .inline-link { margin-top: 14px; }
.testimonials { background: #f4f8f5; }
.family-doctor { display: flex; align-items: center; gap: 18px; margin-top: 15px; padding: 18px 22px; border-radius: var(--radius); background: var(--mint-light); }
.family-doctor img { flex: 0 0 auto; width: 62px; height: 72px; border-radius: 12px; object-fit: cover; object-position: 50% 26%; }
.family-doctor p { margin-top: 4px; }
.testimonial { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(17px, 2.2vw, 27px); border: 1px solid #b9decb; border-radius: 7px; background: #fff; }
.testimonial-stars { color: #32856a; letter-spacing: .13em; line-height: 1; }
.testimonial blockquote { margin: 0; color: var(--ink); }
.testimonial figcaption { margin-top: auto; color: var(--muted); font-size: .86rem; }
.section-actions { margin-top: 18px; }
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "portrait title" "portrait copy";
  gap: 15px clamp(20px, 3.5vw, 44px);
  padding: 14px;
  border: 1px solid #e4ebe6;
  border-radius: var(--radius);
  background: #f4f6f3;
}
.support-title { grid-area: title; padding: 24px 23px 0 0; }
.support-title h2 span { display: block; margin-bottom: 7px; }
.support-portrait { grid-area: portrait; position: relative; min-height: 470px; overflow: hidden; border-radius: 5px; background: #e9e4d8; }
.support-portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 43%; }
.support-copy { grid-area: copy; padding: 0 23px 22px 0; }
.support-copy > p + p { margin-top: 9px; }
.support-steps { list-style: none; display: grid; gap: 8px; margin-block: 17px; padding: 0; counter-reset: support; }
.support-steps li { counter-increment: support; position: relative; padding: 13px 14px 13px 54px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.support-steps li::before { content: counter(support); position: absolute; top: 14px; left: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--mint); color: var(--forest); font-weight: 750; font-size: .82rem; }
.support-steps p { margin-top: 6px; }
.program { display: flex; flex-direction: column; align-items: flex-start; min-height: 231px; }
.program h3 { font: 400 1.3rem/1.18 var(--heading-font); }
.program h3 strong { font-size: 3.45rem; letter-spacing: -.06em; font-weight: 400; }
.program p { margin-bottom: 20px; }
.program .button { margin-top: auto; }
.program-list { margin-block: 0 22px; gap: 7px; }
.program-featured { background: linear-gradient(145deg, #eef8f2, #c4e4d4); border-color: #c6dfd0; }
.program-featured h3 strong { color: var(--green); }
.services-grid { display: grid; gap: 9px; margin-top: 16px; }
.services-grid .surface { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) auto; align-items: center; gap: 10px 21px; padding-block: 17px; border-radius: 6px; }
.services-grid .surface :is(p, .inline-link) { margin-top: 0; }
.services-grid .inline-link { white-space: nowrap; }
.steps { counter-reset: step; list-style: none; padding: 0; margin-bottom: 24px; display: grid; gap: 17px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding: 16px 12px; border: 1px solid #dfebe3; border-radius: 6px; background: #fff; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; color: var(--green); font: 400 1.6rem/1 var(--heading-font); font-variant-numeric: tabular-nums; }
.steps p { margin-top: 8px; }
.ward-layout { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: 12px; }
.ward-photo { height: 100%; min-height: 275px; object-fit: cover; border-radius: var(--radius); }
.ward-list { display: grid; align-content: center; gap: 14px; padding: clamp(20px, 3vw, 32px); border: 1px solid #e2ebe1; border-radius: var(--radius); background: var(--mint-light); }
.ward-list > div { position: relative; padding-left: 36px; }
.ward-list > div::before { content: "✓"; display: grid; place-items: center; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px; color: var(--green); background: #dcecdf; font-size: .82rem; font-weight: 750; }
.ward-list dt { font-weight: 720; }
.ward-list dd { color: var(--muted); margin-top: 3px; }
.doctor-band { display: grid; align-items: center; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); border: 1px solid #e6ece7; border-radius: var(--radius); padding: clamp(22px, 4vw, 45px); background: linear-gradient(135deg, #e7f2eb, #fafbf9 75%); }
.doctor-section-photo { aspect-ratio: 1.12; border-radius: 5px; object-fit: cover; object-position: center 64%; }
.doctor-band .doctor-specialties { margin-top: 9px; }
.doctor-availability { display: flex; align-items: center; gap: 8px; margin: 15px 0 11px; color: var(--green); font-weight: 720; font-size: .92rem; }
.contact-layout.two { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.contact-card p + p { margin-top: 6px; }
.contact-home { background: var(--mint-light); }
.contact-card .button { margin-top: 15px; }
.contact-channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contact-channels > * { padding: 7px 11px; border: 1px solid #bcd3c2; border-radius: 8px; text-decoration: none; font-size: .88rem; font-weight: 700; }
.travel-panel { margin-top: 20px; padding: 19px 24px; border: 1px solid var(--line); border-radius: 13px; }
.travel-panel p { margin-top: 6px; }
.travel-groups { display: grid; gap: 14px; margin-top: 14px; }
.travel-groups h4 { margin: 0; font-size: .9rem; }
.travel-panel ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin-top: 6px; list-style: none; }
.travel-panel li { padding: 4px 9px; border-radius: 6px; background: var(--mint-light); color: var(--green); font-size: .84rem; }
.faq-layout { display: grid; gap: clamp(16px, 2.5vw, 31px); }
#faq h2 { text-align: center; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 12px 16px; gap: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-light); color: var(--green); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 16px 16px; }

.lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 6vw, 80px); padding: clamp(22px, 4.4vw, 54px); border: 1px solid #cee9db; border-radius: var(--radius); background: linear-gradient(130deg, #f5faf7 18%, #ccefdc); }
.lead-grid > div:first-child { padding-top: 17px; }
.lead-grid > div:first-child p:not(.eyebrow) { margin-bottom: 17px; font-size: 1.075rem; }
.lead-channels { margin-block: 11px 17px; }
.lead-channels a { background: #fff; color: var(--green); border-color: #c5d9cb; }
.lead-channels a:hover { background: var(--mint); }
#lead-card { scroll-margin-top: 20px; }
.contact-form { display: grid; gap: 12px; }
.form-hint { font-size: .825rem; line-height: 1.35; }
.channel-hint { margin-top: 6px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field span, .channels legend { font-size: .875rem; font-weight: 675; }
.field input, .field select {
  width: 100%;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #acbfc4;
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
.field input::placeholder { color: #637680; opacity: 1; }
.field select { padding-right: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.channel-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.channel-options label { position: relative; cursor: pointer; }
.channel-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.channel-options span { border: 1px solid #acbfc4; border-radius: 8px; display: block; padding: 5px 9px; font-size: .83rem; }
.channel-options input:checked + span { border-color: var(--green); background: var(--mint-light); color: #144d3b; }
.channel-options input:focus-visible + span { outline: 3px solid #0e8267; outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; cursor: pointer; }
.consent input { margin: 3px 0 0; accent-color: var(--green); width: 16px; height: 16px; flex: 0 0 auto; }
.form-links { display: flex; gap: 5px 13px; flex-wrap: wrap; font-size: .78rem; text-underline-offset: 3px; }
.contact-form .button { width: 100%; }
.result { padding-block: 19px; }
.result p { margin-bottom: 16px; }
.footer { padding-block: 33px 25px; background: #f1f4f1; }
.footer-main { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) minmax(0, .8fr); align-items: start; gap: 21px; }
.footer nav { display: grid; gap: 7px; font-size: .875rem; text-underline-offset: 4px; }
.footer-license { scroll-margin-top: 24px; }
.footer-license h2 { font-size: 1.06rem; letter-spacing: 0; }
.footer-license p { margin-top: 5px; font-size: .88rem; overflow-wrap: anywhere; }
.footer-license .inline-link { margin-top: 6px; font-size: .86rem; }
.footer-note { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 21px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.floating-actions {
  position: fixed;
  z-index: 2;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(15px, env(safe-area-inset-bottom));
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 9px;
  background: white;
  box-shadow: 0 7px 24px #28463826;
}
.floating-actions .button { min-height: 43px; }
.floating-actions .float-call { display: none; }
.document { max-width: 680px; padding-block: 55px; }
.document > .eyebrow { margin-top: 39px; }
.document h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); overflow-wrap: anywhere; }
.document p:not(.eyebrow) { margin-top: 16px; }
.document p + .inline-link { margin-top: 23px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 26px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 4.18vw, 3.45rem); }
  .actions { gap: 13px; }
}
@media (max-width: 1080px) {
  .header .menu-toggle { display: inline-flex; min-height: 41px; padding-inline: 11px; border-color: var(--line); background: var(--tint); color: var(--ink); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 13px max(18px, calc((100% - 940px) / 2));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 21px #102e2523;
  }
  .nav.open { display: grid; gap: 0; }
  .nav a { padding: 9px 0; }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px), (max-width: 1080px) and (max-height: 440px) and (orientation: landscape) {
  .header { display: flex; flex-direction: column; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; gap: 8px; padding-block: 8px; }
  .header .brand { gap: 8px; }
  .header .brand small { font-size: .7rem; }
  .header .mobile-call { display: inline-flex; min-height: 44px; padding: 8px 13px; background: var(--forest); color: #fff; white-space: nowrap; }
  .header .mobile-call:hover { background: var(--forest-deep); }
  .header .menu-toggle, .header-contact, .nav, .nav.open { display: none; }
  .contact-strip { order: 1; border-top: 1px solid #e6efe8; background: #f2f8f3; }
  .contact-strip-inner { gap: 3px 13px; min-height: 35px; padding-block: 5px; font-size: .75rem; }
  .contact-strip-inner > * { gap: 6px; }
  .contact-strip-inner .header-license, .contact-strip-inner .duty-status, .floating-actions.hero-in-view { display: none; }
  .floating-actions .float-telegram { display: none; }
  .floating-actions .float-call { display: inline-flex; }
  .hero { background: linear-gradient(145deg, #fbfbf6 10%, #eaf6ee); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; max-width: 540px; padding-block: 23px; gap: 13px; }
  .hero-copy { display: contents; }
  .hero-phone { display: none; }
  .hero-copy h1 { font-size: clamp(1.8rem, 8.4vw, 3.25rem); }
  .hero-summary { margin: 0; font-size: .975rem; line-height: 1.5; }
  .hero .button-hero { justify-content: space-between; width: 100%; min-height: 49px; padding-inline: 15px; }
  .hero-profile { display: block; min-height: 0; border: 1px solid #dceae1; border-radius: 12px; overflow: hidden; background: #fff; }
  .hero-photo { position: relative; inset: auto; }
  .hero-profile img { height: auto; aspect-ratio: 1.58; object-position: 83% center; }
  .hero-photo::after { display: none; }
  .hero-profile-details { width: auto; margin: 0; padding: 12px 14px; border: 0; box-shadow: none; }
  .hero-profile-details h2 { font-size: 1.2rem; }
  .hero-features { order: 1; margin: 1px 0 0; font-size: .78rem; gap: 6px 8px; }
  .hero-features li { gap: 6px; }
}
@media (max-width: 760px) {
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .family-doctor { align-items: flex-start; padding: 15px; gap: 12px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 42px; }
  .section-tight { padding-block: 32px 42px; }
  .quiz-panel, .split-heading, .doctor-band, .lead-grid, .ward-layout { grid-template-columns: minmax(0, 1fr); }
  #quiz { padding-block: 44px 22px; }
  .quiz-panel { gap: 18px; padding: 17px; }
  .quiz-intro { padding-inline: 5px; }
  .quiz-intro > p { margin-top: 11px; }
  .quiz-intro .check-list { margin-block: 13px; gap: 5px; font-size: .925rem; }
  .quiz-card { min-height: 0; }
  .card-grid.three, .card-grid.two, .contact-layout.two { grid-template-columns: minmax(0, 1fr); }
  .support-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "portrait" "copy"; gap: 13px; }
  .support-title { padding: 6px 3px 0; }
  .support-copy { padding: 2px 3px 7px; }
  .support-portrait { min-height: 0; aspect-ratio: 1.36; }
  .support-portrait img { object-position: center 30%; }
  .program { min-height: 0; }
  .services-grid .surface { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .ward-photo { height: auto; min-height: 0; aspect-ratio: 1.75; }
  .doctor-section-photo { max-width: 470px; aspect-ratio: 1.35; }
  .lead-grid > div:first-child { padding-top: 0; }
  .footer { padding-bottom: 140px; }
  .footer-main { grid-template-columns: 1fr; }
  .floating-actions { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); }
  .floating-actions .button { flex: 1; padding-inline: 6px; font-size: .84rem; }
}
@media (max-width: 480px) {
  .document h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
}
@media (max-width: 390px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 10px; }
  .steps li::before { grid-row: span 2; align-self: center; margin-bottom: 0; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 26px); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 300px) {
  .header .brand { gap: 6px; }
  .header .brand-mark { width: 36px; height: 36px; }
  .header .mobile-call { padding-inline: 9px; font-size: .88rem; }
}
@media (min-width: 540px) and (max-width: 1080px) and (max-height: 440px) and (orientation: landscape) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; max-width: none; gap: 15px; padding-block: 18px; }
  .hero-copy { display: flex; flex-direction: column; gap: 10px; }
  .hero-copy h1 { font-size: clamp(1.55rem, 4.45vw, 2.5rem); }
  .hero-summary { font-size: .91rem; line-height: 1.42; }
  .hero .button-hero { min-height: 45px; }
  .floating-actions { left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .pulse::after { animation: none; }
}
