/* Esvita doctor pages: overview (/doctors/) and individual doctor pages.
   Section rhythm alternates navy, light, white and Esvita blue so the page never sits on one ground. */
section + section { border-top: 0; }
.white { background: #fff; color: var(--paper-ink); }
.brand { background: radial-gradient(90% 120% at 85% 0%, #4a6fd0 0%, #2c4ea8 45%, #1d3687 100%); color: #fff; }
.paper .link, .white .link { color: #2f55c8; }
.paper .facts dd span, .white .facts dd span { color: var(--paper-2); }
h2 + .sub { margin-top: 14px; max-width: 640px; }
.actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Portrait stage: transparent cutouts on an Esvita glow */
.stage { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 24px; background: radial-gradient(70% 60% at 50% 35%, rgba(77, 125, 255, .55), rgba(10, 42, 223, .18) 55%, rgba(3, 10, 44, 0) 80%), linear-gradient(180deg, #0c1a5c 0%, #071140 100%); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(7, 17, 64, 0), rgba(7, 17, 64, .85)); pointer-events: none; }
.stage img { position: relative; width: auto; max-width: 92%; height: 94%; object-fit: contain; object-position: bottom; }

/* ---------- Overview page ---------- */
.ov-hero { padding: 72px 0 0; overflow: hidden; }
.ov-hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: -0.05em; max-width: 1000px; margin: 0 auto; }
.ov-hero .lead { max-width: 680px; margin: 24px auto 0; }
.ov-hero .actions { justify-content: center; margin-top: 32px; }
.lineup { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 0; max-width: 1180px; margin: 56px auto 0; padding: 0 24px; }
.lineup::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 60%; background: radial-gradient(50% 70% at 50% 100%, rgba(77, 125, 255, .55), rgba(10, 42, 223, 0) 70%); pointer-events: none; }
.lineup a { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.lineup a:hover { transform: translateY(-10px); }
.lineup img { height: clamp(260px, 36vw, 470px); width: auto; max-width: 115%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.lineup .tag { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(3, 10, 44, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); white-space: nowrap; font-size: 14px; font-weight: 600; }
.lineup .tag span { display: block; font-size: 12px; font-weight: 400; color: var(--text-2); }
.ov-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ov-stats div { padding: 28px 24px; text-align: center; }
.ov-stats div + div { border-left: 1px solid var(--line); }
.ov-stats b { display: block; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.ov-stats span { font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) {
  .ov-hero { padding-top: 44px; }
  .lineup { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 20px; margin-top: 36px; gap: 8px; }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup a { scroll-snap-align: center; }
  .lineup img { height: 380px; max-width: 100%; }
  .lineup .tag { white-space: normal; width: 92%; text-align: center; font-size: 13px; }
  .ov-stats div { padding: 20px 8px; }
  .ov-stats b { font-size: 26px; }
  .ov-stats span { font-size: 12px; }
}

/* Treatment totals on Esvita blue */
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.totals b { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.045em; line-height: 1; margin-bottom: 12px; }
.totals span { color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) { .totals { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 32px; } .totals b { font-size: 36px; } }

/* Doctor directory with treatment filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--paper-line); font-size: 15px; background: #fff; color: var(--paper-ink); }
.chips button.on { background: var(--paper-ink); border-color: var(--paper-ink); color: #fff; }
.dir { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.doc { display: grid; grid-template-columns: 42% 1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--paper-line); transition: box-shadow .4s, transform .4s, opacity .3s; }
.doc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 18, 56, .35); }
.doc.dim { opacity: .28; }
.doc .stage { border-radius: 0; min-height: 320px; }
.doc .body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.doc .t { font-size: 14px; color: var(--paper-2); }
.doc h3 { font-size: 24px; letter-spacing: -0.03em; }
.doc .f { color: var(--paper-ink); font-size: 16px; margin-top: 4px; }
.doc .meta { display: flex; gap: 22px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.doc .meta b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.doc .meta span { font-size: 13px; color: var(--paper-2); }
.doc .go { color: #2f55c8; font-weight: 500; margin-top: 14px; }
.doc .go::after { content: " ›"; }
@media (max-width: 960px) { .dir { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .doc { grid-template-columns: 1fr; } .doc .stage { min-height: 300px; height: 300px; } }

/* Shared standards on white */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.standards svg { width: 32px; height: 32px; color: #385cad; margin-bottom: 16px; }
.standards h3 { margin-bottom: 6px; }
.standards p { color: var(--paper-2); font-size: 15px; }
@media (max-width: 860px) { .standards { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 32px; } }
@media (max-width: 480px) { .standards { grid-template-columns: 1fr; } }

/* ---------- Doctor page ---------- */
.hero { padding: 64px 0 var(--pad); }
.crumb { font-size: 14px; color: var(--text-2); text-align: center; margin-bottom: 18px; }
.crumb a:hover { color: var(--text); }
.hero-head { text-align: center; margin-bottom: 48px; }
.kicker { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin-bottom: 10px; }
.hero-head .role { margin-top: 14px; font-size: 19px; color: var(--text-2); }
.hero-head .role span { white-space: nowrap; }
.hero-head .role span + span::before { content: " · "; }
@media (max-width: 600px) { .hero-head .role span { display: block; } .hero-head .role span + span::before { content: none; } }
.hero-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-body .stage { aspect-ratio: 4 / 5; }
.hero .lead { margin-bottom: 32px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.hero-meta b { display: block; font-size: 24px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
.hero-meta span { font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-head { margin-bottom: 28px; }
  .hero-body { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta b { font-size: 19px; }
  .hero .btn { width: 100%; }
}

/* Meet: words beside the intro video, or beside skills when there is no video yet */
.meet .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.meet blockquote { margin-top: 28px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.28; letter-spacing: -0.03em; font-weight: 600; }
.meet p { margin-top: 20px; font-size: 19px; }
.meet .video { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(11, 18, 56, .45); }
.skills { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line); }
.skills h3 { margin-bottom: 14px; }
.skills ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { padding: 8px 12px; border-radius: 999px; background: #eef2fb; color: #233a7a; font-size: 14px; }
@media (max-width: 860px) { .meet .wrap { grid-template-columns: 1fr; gap: 32px; } .meet .video { aspect-ratio: 16 / 12; } }

/* Highlights on Esvita blue */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.strengths b { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.045em; font-weight: 700; line-height: 1; margin-bottom: 12px; }
.strengths span { color: rgba(255, 255, 255, .82); font-size: 17px; }
@media (max-width: 860px) { .strengths { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 32px; } .strengths b { font-size: 36px; } }

/* Explained by your dentist: vertical videos, shown only once videos exist */
.explained { position: relative; overflow: hidden; background: radial-gradient(60% 60% at 50% 0%, rgba(10, 42, 223, .35), rgba(3, 10, 44, 0) 70%), var(--bg); }
.explained .wrap { max-width: 1280px; }
.explained h2 { font-size: clamp(36px, 5.6vw, 64px); text-align: center; }
.explained .sub { margin: 16px auto 0; text-align: center; }
.ask-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 48px; }
.ask { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.ask:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(10, 42, 223, .55); }
.ask img, .ask video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ask video { opacity: 0; transition: opacity .4s; }
.ask.previewing video { opacity: 1; }
.ask .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(3, 10, 44, .92)); font-size: 16px; font-weight: 600; line-height: 1.3; }
.ask .cap span { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--bg); font-size: 12px; }
@media (max-width: 1100px) { .ask-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .ask-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; margin: 32px -20px 0; padding: 0 20px 8px; gap: 12px; scrollbar-width: none; }
  .ask-row::-webkit-scrollbar { display: none; }
  .ask { scroll-snap-align: start; }
}

/* Video player overlay */
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(3, 10, 44, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.player[hidden] { display: none; }
.player video { height: min(86vh, 900px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; object-fit: contain; }
.player .close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; }
.player .q { position: absolute; left: 0; right: 0; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; color: var(--text-2); }

/* Process: five horizontal steps, the line draws in when the section is reached */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 56px; list-style: none; }
.process::before, .process::after { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; border-radius: 2px; }
.process::before { background: #e3e7f2; }
.process::after { background: linear-gradient(90deg, #385cad, #6cca98); transform-origin: left; transform: scaleX(0); transition: transform 2.4s cubic-bezier(.45,0,.2,1); }
.process.go::after { transform: scaleX(1); }
.process li { position: relative; z-index: 1; text-align: center; }
.process .ic { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #e3e7f2; color: #8a93b3; transition: background .5s, border-color .5s, color .5s, transform .5s cubic-bezier(.22,1,.36,1); }
.process .ic svg { width: 26px; height: 26px; }
.process li > div { opacity: .35; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.process.go li .ic { background: #385cad; border-color: #385cad; color: #fff; transform: scale(1.06); }
.process.go li > div { opacity: 1; transform: none; }
.process.go li:nth-child(2) .ic, .process.go li:nth-child(2) > div { transition-delay: .5s; }
.process.go li:nth-child(3) .ic, .process.go li:nth-child(3) > div { transition-delay: 1s; }
.process.go li:nth-child(4) .ic, .process.go li:nth-child(4) > div { transition-delay: 1.5s; }
.process.go li:nth-child(5) .ic, .process.go li:nth-child(5) > div { transition-delay: 2s; }
.process.go li:last-child .ic { background: #6cca98; border-color: #6cca98; color: #062a18; }
.process h3 { font-size: 18px; margin-bottom: 6px; }
.process p { color: var(--paper-2); font-size: 15px; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .process::before, .process::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .process::after { transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, #385cad, #6cca98); }
  .process.go::after { transform: scaleY(1); }
  .process li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: left; align-items: start; }
  .process .ic { margin: 0; }
  .process li > div { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .process::after, .process .ic, .process li > div { transition: none !important; } }

/* Training and experience */
.two { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 24px; } }
.facts dd span { display: block; color: var(--text-2); font-size: 15px; }

/* Materials and technology */
.flow-title { margin-top: 56px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.flow > div { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--paper-line); }
.flow svg { width: 36px; height: 36px; color: #385cad; margin-bottom: 18px; }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--paper-2); font-size: 15px; }
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.brands figure { height: 112px; display: grid; place-items: center; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); }
.brands img { max-height: 44px; max-width: 80%; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.brands figure:hover img { filter: none; opacity: 1; }
.brands .wide { max-height: 30px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; gap: 10px; } .flow > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; } .flow svg { margin: 0; width: 32px; height: 32px; } .brands { grid-template-columns: repeat(2, 1fr); gap: 8px; } .brands figure { height: 88px; } .brands figure:last-child { grid-column: span 2; } }

/* Cases: dated timeline per patient */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.case { border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.viewer { position: relative; aspect-ratio: 540 / 385; background: #000; overflow: hidden; }
.viewer img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s, opacity .3s; }
.viewer.pending img { filter: blur(14px) saturate(.6); opacity: .45; transform: scale(1.1); }
.viewer .note { position: absolute; inset: 0; display: none; place-content: center; text-align: center; gap: 4px; font-size: 15px; color: #fff; }
.viewer.pending .note { display: grid; }
.viewer .note b { font-size: 19px; font-weight: 600; }
.viewer .stamp { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(3,10,44,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: #fff; }
.viewer.pending .stamp { display: none; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stages button { padding: 12px 6px 11px; text-align: center; font-size: 14px; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.stages button span { display: block; font-size: 12px; font-weight: 400; margin-top: 2px; }
.stages button.on { color: var(--text); border-color: var(--text); }
.case-info { padding: 20px 22px 24px; display: grid; gap: 14px; }
.who { display: flex; gap: 12px; align-items: center; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: 17px; }
.who span { font-size: 14px; color: var(--text-2); }
.why { font-size: 17px; line-height: 1.5; }
.why cite { display: block; font-style: normal; font-size: 14px; color: var(--text-3); margin-top: 6px; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; } .stages button { font-size: 13px; } }

/* Clinic: full-bleed photo band */
.clinic { position: relative; padding: 0; min-height: 560px; display: flex; align-items: flex-end; background: #000; }
.clinic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clinic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,44,.86) 0%, rgba(3,10,44,.55) 50%, rgba(3,10,44,.1) 100%), linear-gradient(180deg, rgba(3,10,44,0) 40%, rgba(3,10,44,.7) 100%); }
.clinic .wrap { position: relative; z-index: 1; padding-block: 80px 64px; }
.clinic .lead { color: rgba(255,255,255,.85); max-width: 560px; }
.clinic-thumbs { display: flex; gap: 12px; margin-top: 28px; }
.clinic-thumbs img { width: 120px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 760px) { .clinic { min-height: 520px; } .clinic .wrap { padding-block: 64px 40px; } .clinic-thumbs img { width: 96px; height: 68px; } }

/* Reviews */
.rating { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.rating b { font-size: 44px; letter-spacing: -0.04em; line-height: 1; }
.rating span { color: var(--paper-2); font-size: 15px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.quotes blockquote { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--paper-line); font-size: 19px; line-height: 1.5; letter-spacing: -0.015em; }
.quotes .stars { color: #e3a41c; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.quotes cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--paper-2); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; } .quotes blockquote { padding: 22px; font-size: 17px; } }

/* Other doctors */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.other { display: block; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--paper-line); transition: transform .4s, box-shadow .4s; }
.other:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11, 18, 56, .4); }
.other .stage { border-radius: 0; height: 260px; }
.other div:last-child { padding: 18px 20px 20px; }
.other b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.other span { font-size: 14px; color: var(--paper-2); }
@media (max-width: 860px) { .others { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -20px 0; padding: 0 20px 4px; scrollbar-width: none; } .others::-webkit-scrollbar { display: none; } .other { scroll-snap-align: start; } }

/* Closing call to action */
.contact { text-align: center; }
.contact .lead { max-width: 640px; margin: 20px auto 32px; }
.contact .actions { justify-content: center; }
.contact .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 24px; }
.contact .avatar img { height: 100%; }
.contact .faces { display: flex; justify-content: center; margin-bottom: 24px; }
.contact .faces .avatar { margin: 0 -8px; width: 76px; height: 76px; border: 3px solid var(--bg); }
@media (max-width: 760px) { .contact .actions { flex-direction: column; gap: 18px; } .contact .btn { width: 100%; } }

/* Online consultation booking */
.book { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(3, 10, 44, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.book[hidden] { display: none; }
.sheet { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--paper-ink); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.sheet .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: #eef1f8; font-size: 22px; line-height: 1; color: var(--paper-ink); }
.sheet-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding-right: 40px; }
.sheet-head .avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.sheet-head b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.sheet-head span { font-size: 14px; color: var(--paper-2); }
.sheet h4 { font-size: 15px; font-weight: 600; margin: 22px 0 10px; }
.sheet select { width: 100%; font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--paper-line); background: #fff; color: var(--paper-ink); }
.lengths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--paper-line); background: #fff; }
.opt b { display: block; font-size: 17px; }
.opt span { font-size: 13px; color: var(--paper-2); }
.opt.on { border-color: #385cad; background: #f2f5fd; box-shadow: 0 0 0 1px #385cad inset; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 62px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--paper-line); text-align: center; background: #fff; }
.day small { display: block; font-size: 12px; color: var(--paper-2); }
.day b { display: block; font-size: 19px; margin: 2px 0; }
.day.on { background: #385cad; border-color: #385cad; color: #fff; }
.day.on small { color: rgba(255,255,255,.8); }
.day:disabled { opacity: .35; cursor: default; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--paper-line); font-size: 15px; font-variant-numeric: tabular-nums; background: #fff; }
.slot.on { background: #385cad; border-color: #385cad; color: #fff; }
.tz { font-size: 13px; color: var(--paper-2); margin-top: 10px; }
.sheet .btn { width: 100%; margin-top: 22px; background: #385cad; color: #fff; }
.sheet .btn:disabled { background: #c9d0e3; cursor: default; }
.picked { padding: 14px 16px; border-radius: 14px; background: #f2f5fd; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.picked button { color: #2f55c8; font-size: 14px; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--paper-line); background: #fff; color: var(--paper-ink); }
.field input:focus, .sheet select:focus { outline: none; border-color: #385cad; box-shadow: 0 0 0 3px rgba(56, 92, 173, .15); }
.field .err { font-size: 13px; color: #c62828; }
.done { text-align: center; padding: 12px 0 4px; }
.done .tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #6cca98; color: #062a18; }
.done h3 { font-size: 24px; margin-bottom: 8px; }
.done p { color: var(--paper-2); }
@media (max-width: 560px) {
  .book { padding: 0; place-items: end stretch; }
  .sheet { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .slots { grid-template-columns: repeat(3, 1fr); }
}

/* Small round portrait crop from a cutout */
.avatar { display: block; overflow: hidden; background: radial-gradient(80% 80% at 50% 30%, #4a6fd0, #0c1a5c); }
.avatar img { width: 100%; height: 130%; object-fit: cover; object-position: center top; }

/* Why patients choose: three reasons, then the doctor's own numbers */
.strengths.why { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.strengths.why b { font-size: clamp(44px, 6vw, 72px); }
.numbers-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2); }
.numbers-row b { display: block; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; line-height: 1.1; }
.numbers-row span { font-size: 15px; color: rgba(255, 255, 255, .75); }
@media (max-width: 860px) {
  .strengths.why { grid-template-columns: 1fr; gap: 28px; }
  .strengths.why > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
  .strengths.why b { font-size: 40px; margin: 0; }
  .numbers-row { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
}

/* Explained by your dentist: written answers now, video cards on top once filmed */
.qa { max-width: 860px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 4px; font-size: clamp(18px, 2vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); font-weight: 400; transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 48px 24px 4px; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.ask-row + .qa { margin-top: 48px; }

/* Treatments the doctor leads */
.treat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.tcard { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: #f3f5fb; border: 1px solid var(--paper-line); color: var(--paper-ink); transition: transform .3s, box-shadow .3s; }
a.tcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11, 18, 56, .4); }
.tcard b { font-size: 19px; letter-spacing: -0.02em; }
.tcard span { color: var(--paper-2); font-size: 15px; }
.tcard em { margin-top: auto; padding-top: 8px; font-style: normal; color: #2f55c8; font-weight: 500; }
.tcard em::after { content: " ›"; }
.tcopy { display: flex; flex-direction: column; gap: 8px; flex: 1; }
/* Photo cards: the result on top, untouched by copy; text sits below */
.tcard.has-img { padding: 0; overflow: hidden; gap: 0; background: #f3f5fb; }
.tcard.has-img .tphoto { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #0b1238; }
.tcard.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.tcard.has-img .tcopy { padding: 20px 22px 24px; }
.tcard.has-img:hover img { transform: scale(1.08); }
.tcard.has-img:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 18, 56, .45); }
@media (max-width: 960px) { .treat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .treat { grid-template-columns: 1fr; } }
/* Phones: photo cards become a swipeable row with the next card peeking in */
@media (max-width: 760px) {
  .treat.photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .treat.photos::-webkit-scrollbar { display: none; }
  .treat.photos .tcard { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (max-width: 760px) { .qa details p { padding-right: 4px; font-size: 16px; } }

/* Workflow steps as photo cards */
.flow { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wf { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0c1a5c; box-shadow: 0 30px 60px -36px rgba(11, 18, 56, .55); }
.wf img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.wf:hover img { transform: scale(1.05); }
.wf figcaption { position: absolute; inset: auto 0 0 0; padding: 80px 20px 20px; color: #fff; background: linear-gradient(180deg, rgba(3, 10, 44, 0) 0%, rgba(3, 10, 44, .78) 45%, rgba(3, 10, 44, .95) 100%); }
.wf figcaption span { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #9fb8ff; margin-bottom: 6px; }
.wf h3 { color: #fff; margin-bottom: 4px; }
.wf p { color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.45; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .flow { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; margin: 24px -20px 0; padding: 0 20px 8px; gap: 12px; scrollbar-width: none; }
  .flow::-webkit-scrollbar { display: none; }
  .flow > .wf { display: block; padding: 0; scroll-snap-align: start; }
}

/* ---------- Revision round 2 ---------- */


/* FAQ: the doctor beside the answers */
.askfaq { display: grid; grid-template-columns: 340px 1fr; gap: 56px; margin-top: 48px; align-items: start; }
.faq-person { position: sticky; top: 88px; }
.faq-person .stage { aspect-ratio: 4 / 5; }
.faq-person p { margin-top: 16px; }
.faq-person b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.faq-person span { font-size: 14px; color: var(--paper-2); }
.askfaq .qa { margin: 0; max-width: none; border-top-color: var(--paper-line); }
.white .qa details { border-bottom-color: var(--paper-line); }
.white .qa summary::after { border-color: var(--paper-line); color: var(--paper-2); }
.white .qa details p { color: var(--paper-2); }
@media (max-width: 860px) {
  .askfaq { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .faq-person { position: static; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
  .faq-person .stage { aspect-ratio: 1; border-radius: 50%; }
  .faq-person p { margin: 0; }
}

/* Process: dark, glowing, with a light travelling along the line */
.process-show { position: relative; overflow: hidden; color: #fff; background: radial-gradient(55% 80% at 12% 0%, rgba(77, 125, 255, .38), rgba(77, 125, 255, 0) 60%), radial-gradient(45% 70% at 92% 100%, rgba(108, 202, 152, .20), rgba(108, 202, 152, 0) 60%), linear-gradient(180deg, #07155a 0%, #030a2c 100%); }
.process-show h2 { text-align: center; font-size: clamp(36px, 5vw, 60px); }
.process-show .process { margin-top: 72px; }
.process-show .process::before, .process-show .process::after { top: 31px; }
.process-show .process::before { background: rgba(255, 255, 255, .12); }
.process-show .process::after { background: linear-gradient(90deg, #4d7dff, #9fb8ff, #6cca98); box-shadow: 0 0 18px rgba(77, 125, 255, .8); }
.process-show .process .ic { width: 64px; height: 64px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.process-show .process .ic svg { width: 28px; height: 28px; }
.process-show .process.go li .ic { background: linear-gradient(135deg, #5b8cff, #2c4ea8); border-color: transparent; color: #fff; box-shadow: 0 0 0 8px rgba(77, 125, 255, .14), 0 14px 44px rgba(77, 125, 255, .6); }
.process-show .process.go li:last-child .ic { background: linear-gradient(135deg, #5b8cff, #2c4ea8); color: #fff; }
.process-show .process.go li:nth-child(5) .ic { background: linear-gradient(135deg, #8ee0b5, #4fb883); color: #03271a; box-shadow: 0 0 0 8px rgba(108, 202, 152, .15), 0 14px 44px rgba(108, 202, 152, .55); }
.process-show .process h3 { color: #fff; }
.process-show .process p { color: rgba(255, 255, 255, .7); }
.step-n { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: #9fb8ff; margin-bottom: 6px; }
.process .comet { position: absolute; z-index: 2; top: 27px; left: 10%; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 6px rgba(140, 180, 255, .9), 0 0 40px 12px rgba(77, 125, 255, .5); opacity: 0; pointer-events: none; }
.process.go .comet { animation: comet 2.4s cubic-bezier(.45,0,.2,1) forwards; }
@keyframes comet { 0% { left: 10%; opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
@media (max-width: 860px) {
  .process-show .process { margin-top: 40px; }
  .process-show .process::before, .process-show .process::after { top: 32px; bottom: 32px; left: 31px; }
  .process-show .process li { grid-template-columns: 64px 1fr; }
  .process .comet { top: 32px; left: 27px; }
  .process.go .comet { animation-name: comet-v; }
  @keyframes comet-v { 0% { top: 32px; opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 32px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .process .comet { display: none; } }

/* Training on a light ground */
.paper .facts dd { color: var(--paper-ink); }

/* Results: before / after sliders */
.rating-line { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--text-2); flex-wrap: wrap; }
.rating-line b { font-size: 30px; color: #fff; letter-spacing: -0.03em; }
.rating-line .stars { color: #ffc542; letter-spacing: 2px; }
.results-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 420px); gap: 20px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.ba { scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.ba-view { --pos: 50%; position: relative; aspect-ratio: 540 / 385; overflow: hidden; background: #000; }
.ba-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-view .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-view .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .45); pointer-events: none; }
.ba-view .knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--bg); display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-view .tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(3, 10, 44, .72); font-size: 12px; color: #fff; pointer-events: none; }
.ba-view .tag.l { left: 12px; } .ba-view .tag.r { right: 12px; }
.ba-view input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-info { display: flex; gap: 12px; align-items: center; padding: 16px 18px; }
.ba-info img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ba-info b { display: block; font-size: 16px; }
.ba-info span { font-size: 13px; color: var(--text-2); }
@media (max-width: 860px) { .results-row { grid-auto-columns: 86%; margin: 28px -20px 0; padding: 0 20px 8px; scroll-padding: 0 20px; } }

/* Clinic: thumbnails swap the large photo */
.clinic > img.clinic-bg { transition: opacity .25s; }
.clinic-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; opacity: .75; transition: opacity .3s, border-color .3s, transform .3s; }
.clinic-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.clinic-thumbs button.on { border-color: #fff; opacity: 1; }
.clinic-thumbs button img { display: block; border: 0; border-radius: 12px; }
@media (max-width: 760px) { .clinic-thumbs { gap: 8px; } .clinic-thumbs img { width: 76px; height: 56px; } }

/* Lead and muted text on white sections */
.white .lead, .white .muted { color: var(--paper-2); }

/* Why patients choose: live counter on the left, numbers land in the list on the right */
.countup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.cu-stage { display: grid; min-height: 240px; align-items: center; }
.cu-live, .cu-final { grid-area: 1 / 1; }
.cu-live { opacity: 0; transform: translateY(18px); transition: opacity .35s, transform .45s cubic-bezier(.22,1,.36,1); }
.cu-live.in { opacity: 1; transform: none; }
.cu-live.out { opacity: 0; transform: translateX(48px) scale(.92); }
.cu-live b { display: block; font-size: clamp(64px, 9vw, 128px); font-weight: 700; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(159, 184, 255, .45); }
.cu-live span { display: block; margin-top: 12px; font-size: 19px; color: rgba(255, 255, 255, .85); }
.cu-final { font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.countup.armed .cu-final { opacity: 0; transform: translateY(20px); }
.countup.armed.finished .cu-final { opacity: 1; transform: none; }
.cu-list { list-style: none; }
.cu-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.cu-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.cu-list b { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cu-list span { color: rgba(255, 255, 255, .82); font-size: 17px; }
.countup.armed .cu-list li { opacity: 0; transform: translateX(-36px); }
.countup.armed .cu-list li.shown { opacity: 1; transform: none; transition: opacity .35s, transform .5s cubic-bezier(.22,1.4,.36,1); animation: land .7s ease-out; }
@keyframes land { 0% { text-shadow: 0 0 0 rgba(159, 184, 255, 0); } 30% { text-shadow: 0 0 28px rgba(159, 184, 255, .9); } 100% { text-shadow: 0 0 0 rgba(159, 184, 255, 0); } }
@media (max-width: 760px) {
  .countup { grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 32px; }
  .cu-stage { min-height: 150px; }
  .cu-live b { font-size: 46px; }
  .cu-live span { font-size: 14px; }
  .cu-final { font-size: 30px; }
  .cu-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .cu-list b { font-size: 26px; }
  .cu-list span { font-size: 13px; }
}

/* WhatsApp button */
.wa-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 500; transition: background .3s, border-color .3s; }
.wa-btn svg { color: #25d366; flex: none; }
.wa-btn:hover { background: rgba(37, 211, 102, .12); border-color: #25d366; }
@media (max-width: 760px) { .contact .wa-btn { width: 100%; justify-content: center; } }

/* Logos on phones: the fifth logo sits centred at normal size */
@media (max-width: 860px) { .brands figure:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); } }
