/*
 * assets/css/lp.css : Bhandari Starlife Eye Hospital, cataract surgery landing page
 * Brand: navy from the logo wordmark, one light tint, one dark shade.
 * Magenta (from the logo swoosh) is used only for the hand-drawn underline motif.
 * Type: Space Grotesk (headings) + Source Sans 3 (body).
 */
:root {
  --navy: #0B2C66;
  --navy-dark: #061A3F;
  --tint: #EAF0FA;
  --ink: #13203B;
  --muted: #4B5A75;
  --line: #D6DFEC;
  --paper: #FFFFFF;
  --mark: #D3239E;
  --wa: #128C4A;
  --star: #F2A516;
  --ok: #157A5B;
  --warn: #A55A07;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 26, 63, .06), 0 8px 24px rgba(6, 26, 63, .08);
  --font-head: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-dark); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.small-note { font-size: 14px; color: var(--muted); }
.text-link { font-weight: 600; text-underline-offset: 3px; }

/* hand-drawn underline motif */
.scribble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C48 4 96 3.2 146 5.6c38 1.8 80 4.4 151-.8' fill='none' stroke='%23D3239E' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% .34em;
  padding-bottom: .1em;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-wa { background: #fff; color: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #EAF7F0; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--tint); }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 17px; color: var(--navy-dark); }
.brand-text span { font-size: 13px; color: var(--muted); }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--tint); white-space: nowrap; }
.open-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-status.is-open .dot { background: #1BA46A; box-shadow: 0 0 0 4px rgba(27, 164, 106, .18); }
.open-status.is-closed .dot { background: #D98E04; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-sm { white-space: nowrap; }

/* floating call button */
.call-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(6, 26, 63, .28);
  transition: transform .2s ease, bottom .25s ease, background-color .2s ease;
}
.call-float svg { width: 26px; height: 26px; fill: currentColor; position: relative; z-index: 1; }
.call-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--navy);
  animation: callPulse 2.2s ease-out infinite;
}
.call-float:hover { background: var(--navy-dark); transform: scale(1.06); }
.call-float:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; }
@keyframes callPulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
body.modal-open .call-float { display: none; }

/* hero: split screen with doctor portrait */
.hero { padding: 44px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.rating-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; color: var(--ink); margin-bottom: 18px; }
.rating-pill .stars, .stars { color: var(--star); letter-spacing: 1px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 16px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 600px; }
.before-laser { margin: 22px 0 26px; padding: 16px 18px; border-left: 3px solid var(--navy); background: #F6F8FC; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.before-title { font-weight: 600; margin-bottom: 8px; color: var(--navy-dark); }
.before-laser li { position: relative; padding-left: 26px; margin: 4px 0; }
.before-laser li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.proof-line { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.proof-line li { position: relative; padding-left: 14px; }
.proof-line li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }

.hero-visual { position: relative; padding-bottom: 40px; }
.portrait-panel { position: relative; background: var(--tint); border-radius: 22px; overflow: hidden; aspect-ratio: 11 / 10; display: flex; align-items: flex-end; justify-content: center; }
.portrait-panel .portrait { mix-blend-mode: multiply; width: 92%; max-width: 520px; }
.name-tag { position: absolute; left: 18px; top: 18px; background: #fff; border-radius: var(--radius-sm); padding: 10px 14px; box-shadow: var(--shadow); line-height: 1.3; }
.name-tag strong { display: block; font-family: var(--font-head); color: var(--navy-dark); }
.name-tag span { font-size: 14px; color: var(--muted); }
.inset-photo { position: absolute; right: -14px; bottom: 0; width: 46%; margin: 0; background: #fff; padding: 8px 8px 6px; border-radius: 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.inset-photo img { border-radius: 7px; aspect-ratio: 4 / 3; object-fit: cover; }
.inset-photo figcaption { font-size: 13px; color: var(--muted); padding: 6px 2px 0; }

/* booking */
.book { background: var(--tint); }
.book-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: start; }
.msf { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 26px 26px 22px; }
.msf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.msf-count { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.msf-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.msf-bar span { display: block; height: 100%; background: var(--navy); border-radius: 6px; transition: width .3s ease; }
.msf-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.msf-step.is-active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msf-step legend { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy-dark); padding: 0; margin-bottom: 6px; line-height: 1.25; }
.hint { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.opts-stack { grid-template-columns: 1fr; }
.opt {
  font: 600 16px/1.3 var(--font-body); text-align: left; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 16px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.opt:hover { border-color: var(--navy); background: #F6F8FC; }
.opt.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.msf-back { margin-top: 14px; background: none; border: 0; padding: 6px 0; font: 600 15px var(--font-body); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.msf-final .msf-back { display: block; margin: 10px auto 0; }
.field-label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; color: var(--navy-dark); }
.field, .phone-field input {
  width: 100%; font: 400 17px var(--font-body); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
}
.field:focus, .phone-field input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(11, 44, 102, .14); }
.phone-field { display: flex; align-items: stretch; }
.phone-field span { display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: #F6F8FC; font-weight: 600; color: var(--muted); }
.phone-field input { border-radius: 0 10px 10px 0; }
.field-error { color: #B42318; font-size: 14px; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 15px/1.2 var(--font-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer;
}
.chip small { font-weight: 400; color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: var(--navy); }
.chip.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-selected small { color: #D7E1F3; }
.chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 18px 0 4px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.msf-submit { margin-top: 16px; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 4px 0; }
/* server response line under a submit button (booking form, call and WhatsApp modals) */
.form-status { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; line-height: 1.4; border: 1px solid transparent; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; background: #FEF3F2; border-color: #FECDCA; }
.form-status.is-success { color: var(--ok); background: #ECFDF3; border-color: #ABEFC6; }

/* validation states */
.field.is-invalid, .phone-field.is-invalid input, .phone-field.is-invalid span { border-color: #D92D20; }
.field.is-invalid:focus, .phone-field.is-invalid input:focus { box-shadow: 0 0 0 3px rgba(217, 45, 32, .14); }
.chips.is-invalid { border-radius: 12px; outline: 1.5px dashed #D92D20; outline-offset: 4px; }
.consent.is-invalid { color: #B42318; }
.consent.is-invalid input { outline: 2px solid #D92D20; outline-offset: 1px; }

/* request in flight / sent */
.msf.is-sending .msf-final .chip, .msf.is-sending .msf-final .field, .msf.is-sending .msf-back { pointer-events: none; opacity: .7; }
.msf-submit:disabled { cursor: progress; }
.msf.is-sent .msf-submit:disabled { opacity: 1; background: var(--ok); border-color: var(--ok); }

.after-panel { background: var(--navy-dark); color: #E4EBF7; border-radius: 18px; padding: 28px 26px; }
.after-panel h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.after-list li { position: relative; padding: 0 0 16px 22px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.after-list li:last-child { border-bottom: 0; margin-bottom: 0; }
.after-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 3px; border-radius: 2px; background: var(--mark); }
.after-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }
.after-list a { color: #fff; font-weight: 700; }
.save-number { margin-top: 20px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.save-number p { margin-bottom: 10px; font-size: 15px; }
.save-number strong { color: #fff; }
.after-panel .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.after-panel .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* reviews: pull quote plus list */
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pull-quote { margin: 0; position: relative; padding-top: 12px; }
.pull-quote::before { content: "\201C"; position: absolute; left: -4px; top: -40px; font: 700 110px/1 Georgia, 'Times New Roman', serif; color: var(--mark); }
.pull-quote blockquote { margin: 10px 0 14px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--navy-dark); font-weight: 500; }
.pull-quote figcaption { font-weight: 600; color: var(--muted); }
.review-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.review-list li:first-child { border-top: 0; padding-top: 0; }
.review-list p { margin-bottom: 6px; }
.review-list span { font-size: 15px; font-weight: 600; color: var(--muted); }
.review-list em { font-style: normal; color: var(--star); margin-left: 6px; letter-spacing: 1px; }
.reviews .small-note { margin-top: 18px; }
.rating-card { background: var(--tint); border-radius: var(--radius); padding: 26px 26px 24px; }
.rating-big { display: flex; align-items: baseline; gap: 12px; margin-bottom: 2px; }
.rating-big strong { font: 700 52px/1 var(--font-head); color: var(--navy-dark); }
.rating-big .stars { font-size: 22px; }
.rating-sub { font-weight: 600; color: var(--navy-dark); }
.rating-card p:not(.rating-big):not(.rating-sub) { color: var(--muted); }

/* doctors */
.doctors { background: var(--navy-dark); color: #DCE4F2; }
.doctors h2 { color: #fff; }
.doctor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.doctor { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
.doctor-photo { background: #fff; border-radius: 16px; overflow: hidden; }
.doctor h3 { color: #fff; margin-bottom: 4px; }
.doctor .role { color: #A9B9D6; font-size: 15px; margin-bottom: 8px; }
.doctor p { margin-bottom: 0; }
.team-note { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 820px; }

/* suitability */
.suits-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 18px; }
.suits-col h3 { font-size: 19px; }
.suits-col li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--line); }
.suits-col.good li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.suits-col.wait li::before { content: ""; position: absolute; left: 3px; top: .95em; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--warn); }
.suits-col.wait li::after { content: ""; position: absolute; left: 9px; top: 1.15em; width: 2px; height: 5px; background: var(--warn); }
.honest { margin-top: 36px; background: var(--tint); border-radius: var(--radius); padding: 24px 26px; }
.honest li { margin: 8px 0; padding-left: 18px; position: relative; }
.honest li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--navy); }

/* comparison */
.compare { background: var(--tint); }
.compare-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 26px; }
.compare-col { border-radius: var(--radius); padding: 24px 24px 18px; }
.compare-col.get { background: #fff; border-top: 4px solid var(--navy); box-shadow: var(--shadow); }
.compare-col.watch { border: 1.5px dashed #B9C6DC; }
.compare-col li { position: relative; padding: 8px 0 8px 28px; }
.compare-col.get li::before { content: ""; position: absolute; left: 4px; top: 1.0em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.compare-col.watch li::before { content: "!"; position: absolute; left: 0; top: .5em; width: 19px; height: 19px; border-radius: 50%; background: #FCEFD9; color: var(--warn); font: 700 13px/19px var(--font-head); text-align: center; }
.inline-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }

/* first visit */
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.rail { position: relative; margin-top: 18px; }
.rail::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.rail-item { display: grid; grid-template-columns: 150px 1fr; gap: 0 30px; padding: 10px 0; position: relative; }
.rail-item::after { content: ""; position: absolute; left: 145px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--navy); }
.rail-label { font-family: var(--font-head); font-weight: 600; color: var(--navy-dark); margin: 0; }
.rail-item p:last-child { margin: 0; }
.prep-card { background: #FFFDF6; border: 1px solid #EDE3C6; border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.prep-card h3, .prep-card h2 { font-size: 20px; }
.checklist li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid #F0E8D2; font-size: 16px; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 4px; background: #fff; }

/* cost */
.cost { padding-top: 24px; }
.cost-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; border-top: 1px solid var(--line); padding-top: 56px; }
.cost-factors { margin: 0; }
.cost-factors div { padding: 14px 0; border-bottom: 1px dotted #AEBBD1; }
.cost-factors div:first-child { padding-top: 0; }
.cost-factors dt { font-family: var(--font-head); font-weight: 600; color: var(--navy-dark); }
.cost-factors dd { margin: 4px 0 0; color: var(--muted); }

/* tech + photo strip */
.tech { background: var(--navy-dark); color: #DCE4F2; }
.tech h2 { color: #fff; }
.tech-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.tech-list li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tech-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }
.photo-strip { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 12px; margin-top: 40px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; }
.photo-strip figcaption { font-size: 13px; color: #A9B9D6; margin-top: 6px; }

/* faq: two-column Q&A */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 18px; }
.qa { padding: 20px 0; border-top: 1px solid var(--line); }
.qa h3 { font-size: 18px; margin-bottom: 6px; }
.qa p { margin: 0; color: var(--muted); }

/* find us */
.find { background: var(--tint); }
.find-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.address { font-size: 18px; }
.hours { border-collapse: collapse; margin: 6px 0 20px; font-size: 16px; }
.hours th { text-align: left; font-weight: 600; padding: 4px 18px 4px 0; color: var(--navy-dark); }
.hours td { padding: 4px 0; color: var(--muted); }
.find-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.building { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.building img { border-radius: 10px; aspect-ratio: 513 / 600; object-fit: cover; }
.building figcaption { color: var(--muted); font-size: 15px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe6f1; }
.map-wrap iframe { display: block; width: 100%; height: 460px; border: 0; }

/* footer */
.site-footer { background: var(--navy-dark); color: #B6C3DA; font-size: 15px; padding: 48px 0 40px; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: 32px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; height: 64px; width: auto; margin-bottom: 14px; }
.disclaimer p { font-size: 14px; }

/* modals */
.lp-modal { position: fixed; inset: 0; z-index: 100; background: rgba(6, 26, 63, .62); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lp-modal[hidden] { display: none; }
.lp-modal-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 28px 24px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.lp-modal-card h2 { font-size: 24px; }
.lp-modal-card p { color: var(--muted); font-size: 16px; }
.lp-modal-card .btn { margin-top: 14px; }
.lp-modal-x { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }

/* mobile sticky bar */
.sticky-bar { display: none; }

/* thank-you */
.ty-hero { padding: 48px 0 72px; }
.ty-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.ty h1 { font-size: clamp(30px, 4vw, 42px); }
.ty-lead { font-size: 19px; color: var(--muted); }
.ty-slot { font-size: 17px; }
.ty-number { margin: 26px 0; padding: 24px; border-radius: var(--radius); background: var(--tint); }
.ty-number-label { margin: 0; color: var(--muted); font-weight: 600; }
.ty-number-big { font-family: var(--font-head); font-size: clamp(30px, 5vw, 44px); font-weight: 700; color: var(--navy-dark); margin: 0 0 8px; letter-spacing: .01em; }
.ty-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ty-where h2 { font-size: 22px; }

/* privacy / terms pages (markup kept from the original site) */
.page-legal .container { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px; }
.page-legal .sml-banner { background: var(--tint); padding: 48px 0 36px; }
.page-legal .sml-banner h1 { font-size: clamp(28px, 4vw, 40px); }
.page-legal .sml-banner p { color: var(--muted); }
.page-legal .privacy-section, .page-legal .privacy-policy { padding: 40px 0 64px; }
.page-legal .policy-block { margin-bottom: 26px; }
.page-legal h2 { font-size: 22px; margin-top: 26px; }
.page-legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.page-legal .brand-name { font-family: var(--font-head); font-weight: 600; color: var(--navy-dark); margin-top: 24px; }
.page-legal .clearfix { clear: both; }

/* responsive */
@media (max-width: 1080px) {
  .open-status { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 980px) {
  section { padding: 56px 0; }
  .hero { padding: 28px 0 48px; }
  .hero-grid, .book-grid, .visit-grid, .cost-grid, .tech-grid, .find-grid, .ty-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 560px; }
  .prep-card { position: static; }
  .reviews-grid { grid-template-columns: 1fr; gap: 36px; }
  .doctor-row { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(5, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .photo-strip figure { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 820px) {
  body { padding-bottom: 68px; }
  body.page-thankyou { padding-bottom: 0; }
  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(6, 26, 63, .08);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; transition: transform .25s ease;
  }
  .sticky-bar.is-hidden { transform: translateY(110%); }
  .sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 12px; font: 600 15px var(--font-head); text-decoration: none; color: var(--navy-dark); background: var(--tint); }
  .sticky-bar a svg { width: 18px; height: 18px; fill: currentColor; }
  .sticky-bar a.js-open-wa { color: var(--wa); background: #EAF7F0; }
  .sticky-bar .sticky-book { background: var(--navy); color: #fff; }
  /* float sits above the sticky bar, and drops down when the bar hides over the form */
  .call-float { right: 14px; width: 54px; height: 54px; }
  .sticky-bar:not(.is-hidden) ~ .call-float { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .header-actions .btn-sm { padding: 8px 10px; font-size: 14px; }
  .brand-text strong { font-size: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { min-height: 64px; gap: 10px; }
  .brand img { height: 42px; }
  .brand-text strong { font-size: 15px; }
  .brand-text span { font-size: 12px; }
  .hide-sm { display: none; }
  .header-actions .btn-sm { padding: 8px 14px; }
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .inset-photo { width: 52%; right: -4px; }
  .msf { padding: 20px 16px 18px; border-radius: 14px; }
  .msf-step legend { font-size: 20px; }
  .opts { grid-template-columns: 1fr; }
  .after-panel { padding: 22px 18px; }
  .suits-cols, .compare-cols, .faq-cols, .tech-list { grid-template-columns: 1fr; }
  .suits-cols { gap: 20px; }
  .doctor { grid-template-columns: 110px 1fr; gap: 14px; }
  .rail::before { left: 6px; }
  .rail-item { grid-template-columns: 1fr; padding-left: 30px; }
  .rail-item::after { left: 1px; top: 15px; }
  .map-wrap iframe { height: 320px; }
  .pull-quote::before { font-size: 90px; top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
