/* ============================================================
   The Ivory Dental — Clear Aligner Landing
   Step 1 review build · Mobile-first responsive
   ============================================================ */

:root {
  --blue: #2F6899;
  --blue-deep: #1C4E78;
  --blue-ink: #15324C;
  --gold: #A6864F;
  --gold-lt: #C2A468;
  --cream: #F7F2E8;
  --ivory: #FBF8F2;
  --line: #E7DFD0;
  --green: #2E9E55;
  --line-green: #06C755;
  --text: #2B3035;
  --muted: #5C6166;
  --font-head: "Prompt", sans-serif;
  --font-body: "IBM Plex Sans Thai", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

@keyframes ivFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #d9d2c4; border-radius: 8px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.container--narrow { max-width: 840px; }
.container--form { max-width: 680px; }
.center { text-align: center; }

.section { padding: 52px 0; position: relative; scroll-margin-top: 64px; }
.section--hero { background: linear-gradient(180deg, #FBF8F2 0%, #F4EFE5 100%); }
.section--white { background: #fff; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--form { background: linear-gradient(180deg, #EEF4F9 0%, #F6F1E8 100%); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto; }
.section__head .h2 { margin-top: 12px; }
.section__head .sub { margin-top: 14px; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.h2 {
  font-family: var(--font-head); font-weight: 600; font-size: 25px;
  line-height: 1.25; color: var(--blue-ink); letter-spacing: -.01em; margin: 0;
  text-wrap: balance;
}
.sub { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; text-wrap: pretty; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--blue); margin: 12px 0 0; }
.kicker strong { color: var(--blue-deep); }
.fineprint { font-size: 13px; color: #9A917F; margin-top: 20px; }
.c-blue { color: var(--blue); }
.c-gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 16px;
  cursor: pointer; border: none; white-space: nowrap; line-height: 1; padding: 15px 28px;
  transition: transform .15s ease, box-shadow .15s ease; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; box-shadow: 0 14px 26px -12px var(--blue-deep); }
.btn--gold { background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 100%); color: #fff; box-shadow: 0 14px 26px -12px rgba(140,110,60,.65); }
.btn--line { background: #fff; color: #07A24B; border: 1.6px solid var(--line-green); box-shadow: 0 6px 16px -10px rgba(6,160,60,.5); }
.btn--ghost { background: #fff; color: var(--blue-ink); border: 1.5px solid var(--line); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { font-size: 17px; padding: 16px 28px; }
.btn--full { width: 100%; }
.btn img { width: 20px; height: 20px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.85);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: all .25s ease;
}
.header.scrolled { background: rgba(255,255,255,.92); border-bottom-color: rgba(20,40,60,.08); box-shadow: 0 8px 24px -18px rgba(20,40,60,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.header__logo img { height: 34px; width: auto; }
.header__nav { display: none; align-items: center; gap: 26px; }
.header__nav a { font-weight: 500; font-size: 15px; color: #3A4248; white-space: nowrap; }
.header__nav a:hover { color: var(--blue); }
.header__actions { display: none; align-items: center; gap: 12px; }
.header__tel { display: flex; align-items: center; gap: 8px; color: var(--blue-ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.header__tel-icon { width: 34px; height: 34px; border-radius: 50%; background: #EAF1F7; display: flex; align-items: center; justify-content: center; }
.header__burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; cursor: pointer; }
.header__burger span { width: 22px; height: 2px; background: var(--blue-ink); border-radius: 2px; display: block; transition: .25s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(20,40,60,.4);
  padding: 14px 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu a { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--blue-ink); padding: 14px 6px; border-bottom: 1px solid #F1ECE2; }
.mobile-menu a:active { color: var(--blue); }
.mobile-menu__cta { margin-top: 14px; border-bottom: none; color: #fff; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.hero__media { order: -1; }
.hero__media img { width: 100%; height: auto; max-height: 440px; object-fit: contain; margin: 0 auto; display: block; mix-blend-mode: multiply; }
.hero__h1 { font-family: var(--font-head); font-weight: 700; font-size: 31px; line-height: 1.16; color: var(--blue-ink); letter-spacing: -.015em; margin: 16px 0 0; text-wrap: balance; }
.hero__p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 18px 0 0; max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__cta-line { display: none; }

/* ---------- pain points ---------- */
.pain__img { margin: 24px auto 0; max-width: 1040px; border-radius: 18px; overflow: hidden; }
.pain__img + .center { margin-top: 28px; }

/* ---------- clear aligner explainer (image already contains benefit text) ---------- */
.aligner__img { max-width: 1080px; margin: 28px auto 0; }
.aligner__img img { width: 100%; height: auto; border-radius: 18px; display: block; }

/* ---------- split (aligner / doctor) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.split__media { order: -1; display: flex; align-items: center; justify-content: center; }
.split__media img { border-radius: 20px; width: 100%; }
.benefits { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.benefits li { display: flex; gap: 13px; align-items: flex-start; }
.benefits__check { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #E7F0EA; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.benefits strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--blue-ink); }
.benefits span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; font-weight: 500; font-size: 13.5px; color: #46505A; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.split__text .btn { margin-top: 24px; }
.doctor__media { order: -1; }
.doctor__media img { width: 100%; height: auto; border-radius: 18px; display: block; }

/* ---------- pricing ---------- */
.pricing { display: flex; gap: 16px; margin-top: 30px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 18px 18px 8px; margin-left: -18px; margin-right: -18px; scrollbar-width: none; }
.pricing::-webkit-scrollbar { display: none; }
.pricing > .price-card { flex: 0 0 84%; scroll-snap-align: center; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 18px 40px -30px rgba(20,40,60,.35); }
.price-card--popular { border: 2px solid var(--blue); box-shadow: 0 36px 60px -34px rgba(30,78,120,.5); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-lt), #A6864F); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(140,110,60,.7); white-space: nowrap; }
.price-card__img { border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #F1F5F9, #F7F2E8); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.price-card__img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.price-card__name { font-family: var(--font-head); font-weight: 700; font-size: 23px; color: var(--blue-ink); margin-top: 16px; }
.price-card__tag { font-size: 13px; color: #8A8170; margin-top: 2px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.price-card__price span { font-size: 14px; color: #6E7175; }
.price-card__price strong { font-family: var(--font-head); font-weight: 700; font-size: 32px; color: var(--blue); line-height: 1; }
.price-card__price em { font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 18px; color: var(--blue); }
.price-card__feats { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid #EEE7D9; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card__feats li { position: relative; padding-left: 26px; font-size: 14.5px; color: #41474D; line-height: 1.5; }
.price-card__feats li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A6864F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.price-card .btn { margin-top: 22px; }

/* ---------- installment banner ---------- */
.installment-sec { background: #fff; }
.installment { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.installment__text { display: flex; align-items: center; }
.installment__inner { width: 100%; max-width: 100%; padding: 0; }
.installment__kicker { font-weight: 500; font-size: 16px; color: #3A4248; margin-bottom: 12px; }
.installment__head { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.12; letter-spacing: -.01em; color: var(--blue-ink); margin: 0; }
.installment__disc { font-size: 13px; color: #6E7175; line-height: 1.6; margin: 16px 0 0; max-width: 460px; }
.installment__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.installment__media { order: 0; line-height: 0; }
.installment__media img { width: 100%; height: auto; border-radius: 16px; display: block; }

/* ---------- reviews before/after ---------- */
.ba { position: relative; max-width: 620px; margin: 32px auto 0; border-radius: 20px; overflow: hidden; user-select: none; aspect-ratio: 4/3; background: #1c1410; box-shadow: 0 26px 54px -36px rgba(20,40,60,.45); }
.ba__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--after { position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba__before img { width: 100vw; max-width: 620px; height: 100%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); cursor: ew-resize; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); display: flex; }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; }
.ba__handle span::before { left: 8px; border-right-color: var(--blue); transform: translateY(-50%); }
.ba__handle span::after { right: 8px; border-left-color: var(--blue); transform: translateY(-50%); }
.ba__tag { position: absolute; bottom: 12px; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; color: #fff; background: rgba(0,0,0,.5); padding: 4px 12px; border-radius: 999px; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.ba__note { text-align: center; font-size: 12.5px; color: #9A917F; margin: 14px auto 0; max-width: 620px; }
.section--ivory .center { margin-top: 32px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq__item { background: #FBFAF7; border: 1px solid #EEE7D9; border-radius: 16px; padding: 18px 20px; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: none; padding: 0; cursor: pointer; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--blue-ink); line-height: 1.4; }
.faq__q svg { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .25s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .25s ease, margin .25s ease; }
.faq__item.is-open .faq__a { max-height: 320px; opacity: 1; margin-top: 10px; }
.faq__a p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ---------- form ---------- */
/* MOBILE-FIRST: หัวข้อสั้นๆ ลอยบนพื้น + ฟอร์มเป็นการ์ดขาวเด่น (ลดข้อความ เน้นฟอร์ม) */
.lead { margin-top: 4px; display: grid; grid-template-columns: 1fr; }
.lead__aside { text-align: center; color: var(--blue-ink); padding: 0 6px 16px; position: relative; }
.lead__aside::after { display: none; content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(194,164,104,.15); }
.lead__aside .eyebrow { color: var(--gold); }
.lead__title { font-family: var(--font-head); font-weight: 700; font-size: 23px; line-height: 1.3; color: var(--blue-ink); margin: 10px 0 0; position: relative; }
.lead__desc { display: none; font-size: 14.5px; line-height: 1.7; color: #C8D6E3; margin: 14px 0 0; position: relative; }
.lead__trust { display: none; list-style: none; padding: 0; margin: 22px 0 0; flex-direction: column; gap: 12px; position: relative; }
.lead__trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #EAF1F7; }
.lead__trust svg { flex: 0 0 auto; }
.lead__contact { display: none; flex-wrap: wrap; gap: 10px; margin-top: 24px; position: relative; }
.lead__contact a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 9px 16px; }
.lead__panel { background: transparent; border: none; border-radius: 0; padding: 4px 0 0; box-shadow: none; }
.field { border: none; padding: 0; margin: 0 0 16px; }
.field__label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--blue-ink); display: block; margin-bottom: 8px; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
.input { width: 100%; font-family: var(--font-body); font-size: 15.5px; color: #1F2429; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .15s; }
.input:focus { border-color: var(--blue); }
.input.is-invalid { border-color: #D14343; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.choice { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px; color: #41474D; cursor: pointer; transition: .15s; background: #fff; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--blue); background: #EAF1F7; color: var(--blue-ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.consent span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.consent a { color: var(--blue); text-decoration: underline; }
.field__error { font-size: 12.5px; color: #D14343; margin-top: 6px; min-height: 0; }
.lead__panel .btn--lg { margin-top: 22px; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success__icon { width: 74px; height: 74px; border-radius: 50%; background: #E7F0EA; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.form-success h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--blue-ink); margin: 20px 0 0; }
.form-success p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.form-success__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- footer ---------- */
.footer { background: var(--blue-ink); color: #CBD7E2; padding: 54px 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer__logo { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .96; }
.footer__lead { font-size: 14px; line-height: 1.7; color: #A9BACA; margin: 18px 0 0; max-width: 360px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: #CBD7E2; }
.footer__social img { width: 20px; height: 20px; }
.footer__head { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: #A9BACA; font-size: 14.5px; line-height: 1.5; }
.footer__col a:hover { color: #fff; }
.footer__contact p, .footer__contact a { display: flex; gap: 10px; align-items: flex-start; color: #A9BACA; font-size: 14px; line-height: 1.5; margin: 0; }
.footer__contact svg { flex: 0 0 auto; margin-top: 2px; }
.footer__contact img { width: 16px; height: 16px; }
.footer__cta { color: #fff; margin-top: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.footer__bottom span { font-size: 13px; color: #8294A6; }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: #8294A6; text-decoration: underline; font-size: 13px; }

/* ---------- floating buttons (mobile only) ---------- */
.floating { position: fixed; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 12px; z-index: 60; transition: bottom .3s ease; }
.floating.pdpa-visible { bottom: 92px; }
.floating__btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(0,0,0,.4); border: 3px solid #fff; }
.floating__btn--line { background: var(--line-green); animation: ivFloat 1.3s ease-in-out infinite; }
.floating__btn--call { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); }
.floating__btn img { width: 30px; height: 30px; }

/* ---------- pdpa popup ---------- */
.pdpa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(21,50,76,.97); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -16px rgba(0,0,0,.5); }
.pdpa__inner { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
.pdpa span { font-size: 13.5px; color: #D6E2EC; line-height: 1.55; }
.pdpa a { color: #9FD0F2; text-decoration: underline; }

/* ============================================================
   ≥ 560px (small tablet / large phone)
   ============================================================ */
@media (min-width: 560px) {
  .container { padding: 0 24px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pdpa__inner { flex-direction: row; align-items: center; padding: 16px 24px; }
  .pdpa span { flex: 1; }
  .ba__before img { max-width: 620px; }
}

/* ============================================================
   ≥ 980px (desktop)
   ============================================================ */
@media (min-width: 980px) {
  .section { padding: 92px 0; scroll-margin-top: 82px; }
  .installment { scroll-margin-top: 82px; }
  .h2 { font-size: clamp(28px, 3.3vw, 40px); }
  .sub { font-size: 18px; }
  .kicker { font-size: 19px; }

  .header__inner { height: 78px; }
  .header__logo img { height: 38px; }
  .header__nav { display: flex; }
  .header__actions { display: flex; }
  .header__burger { display: none; }
  .mobile-menu { display: none !important; }

  .hero { grid-template-columns: 1.04fr 0.96fr; gap: 48px; }
  .hero__media { order: 0; }
  .hero__media img { max-height: 600px; margin-left: auto; margin-right: 0; }
  .hero__h1 { font-size: clamp(36px, 4.4vw, 53px); }
  .hero__p { font-size: 19px; }
  .hero__cta-line { display: inline-flex; }

  .split { grid-template-columns: 0.92fr 1.08fr; gap: 54px; }
  .split__media { order: 0; }
  /* doctor section: text left, image right (image larger, no frame) */
  .split--doctor { grid-template-columns: 0.9fr 1.1fr; }
  .doctor__media { order: 0; }

  .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; overflow: visible; padding: 0; margin-left: auto; margin-right: auto; }
  .pricing > .price-card { flex: none; }
  .price-card--popular { transform: translateY(-10px); }

  .installment { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
  .installment__text { justify-content: flex-start; padding: 0; }
  .installment__inner { max-width: 520px; padding: 0; }
  .installment__media { order: 0; }
  .installment__kicker { font-size: 20px; }
  .installment__head { font-size: clamp(38px, 3.4vw, 52px); }
  .installment__disc { font-size: 15px; }

  .lead { grid-template-columns: 0.92fr 1.08fr; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -55px rgba(20,40,60,.55); }
  .lead__aside { text-align: left; padding: 46px 40px; background: linear-gradient(160deg, #1C4E78 0%, var(--blue-ink) 100%); color: #fff; overflow: hidden; }
  .lead__aside::after { display: block; }
  .lead__aside .eyebrow { color: var(--gold-lt); }
  .lead__title { font-size: 30px; color: #fff; }
  .lead__desc { display: block; }
  .lead__trust { display: flex; }
  .lead__contact { display: flex; }
  .lead__panel { padding: 40px; border: none; border-radius: 0; box-shadow: none; }

  .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; }
  .footer { padding-bottom: 0; }

  .floating { display: none; }
}
