:root { --ink:#1d1d1f; --muted:#6e6e73; --navy:#000; --blue:#0066cc; --sand:#f5f5f7; --line:#d2d2d7; --white:#fff; --accent:#a7d95b; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; overflow-x:hidden; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color:var(--ink); background:#fff; font-size:18px; line-height:1.55; }
button, input { font:inherit; }
a { color:inherit; }
.container { width:min(1160px, calc(100% - 40px)); margin:0 auto; }
.site-header { height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 max(20px, calc((100vw - 1160px)/2)); position:sticky; top:0; z-index:10; background:rgba(255,255,255,.94); border-bottom:1px solid rgba(13,32,49,.08); backdrop-filter:blur(8px); }
.brand { text-decoration:none; color:var(--ink); font-weight:800; letter-spacing:.08em; font-size:18px; white-space:nowrap; }
.brand span { display:block; font-size:10px; letter-spacing:.13em; font-weight:600; color:var(--muted); }
nav { display:flex; gap:26px; }
nav a { color:#384454; text-decoration:none; font-size:15px; font-weight:700; }
nav a:hover, .text-link:hover { color:var(--blue); }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border:1px solid var(--accent); border-radius:999px; background:var(--accent); color:#132000; text-decoration:none; font-weight:700; font-size:16px; cursor:pointer; transition:transform .2s, background .2s; }
.button:hover { transform:translateY(-2px); background:#b9e878; }
.button-small { min-height:40px; padding:0 16px; font-size:14px; }
.button-dark { background:var(--navy); color:#fff; border-color:var(--navy); }
.button-dark:hover { background:var(--blue); }
.button-light { background:#fff; color:var(--navy); border-color:#fff; width:100%; }
.button-consult { min-height:62px; font-size:18px; box-shadow:0 11px 24px rgba(13,32,49,.2); }
.eyebrow { margin:0 0 12px; color:var(--blue); font-weight:800; letter-spacing:.11em; text-transform:uppercase; font-size:12px; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.08; letter-spacing:-.035em; }
h1 { max-width:720px; margin-bottom:24px; font-size:clamp(44px, 6vw, 78px); color:#fff; }
h2 { font-size:clamp(34px, 4vw, 52px); margin-bottom:22px; }
h3 { font-size:23px; }
.hero { min-height:720px; background:linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 40%, rgba(0,0,0,.15) 78%), url('assets/hero-mouth-before-after.png') center/cover; display:flex; align-items:center; color:#f5f5f7; }
.hero .eyebrow { color:var(--accent); }
.hero-content { padding:92px 0; }
.hero-lead { max-width:610px; margin-bottom:30px; font-size:22px; line-height:1.45; }
.hero-actions { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.text-link { text-decoration:none; font-size:16px; font-weight:800; }
.hero-note, .medical-note, .case-disclaimer, figcaption, .form-note { color:var(--muted); font-size:13px; line-height:1.45; }
.hero-note { color:#bdcbd3; max-width:520px; margin-top:34px; }
.section { padding:110px 0; }
.split-layout, .doctor-layout, .contact-layout { display:grid; grid-template-columns:1fr 1fr; gap:86px; align-items:center; }
.problem-intro p:not(.eyebrow) { max-width:530px; color:#455160; margin-bottom:30px; }
.portrait-figure, .doctor-photo { margin:0; }
.portrait-figure img, .doctor-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.portrait-figure { position:relative; }
.portrait-figure img { border-radius:2px; aspect-ratio:1.12; object-position:right center; }
.problem-intro .split-layout { grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr); gap:48px; }
.conversation-figure img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; border-radius:18px; }
.portrait-figure figcaption, .doctor-photo figcaption { margin-top:10px; }
.section-dark { background:var(--navy); color:#fff; }
.section-dark .eyebrow { color:var(--accent); }
.section-dark .medical-note { color:#b8c7d1; margin:26px 0 0; }
.section-heading { max-width:760px; margin-bottom:42px; }
.section-heading h2 { margin-bottom:0; }
.transform-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.65fr) minmax(0,1fr); gap:36px; align-items:center; }
.transform-copy { min-width:0; text-align:center; padding:24px 8px; }
.label { margin:0 0 24px; color:#a1a1a6; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.word-rotator { display:grid; align-items:center; list-style:none; padding:0; margin:0; min-height:160px; }
.word-rotator li { grid-area:1/1; font-size:clamp(22px,2.2vw,29px); font-weight:600; letter-spacing:-.025em; line-height:1.2; opacity:0; transition:opacity .75s ease; overflow-wrap:break-word; }
.word-rotator li.is-active { opacity:1; }
.transform-copy-before .word-rotator { color:#ffb479; }
.transform-copy-after .word-rotator { color:var(--accent); }
.mouth-compare { position:relative; min-width:0; aspect-ratio:1280/941; overflow:hidden; background:#111; border-radius:18px; }
/* Both originals are 1672 x 941. Trim the same 392 px of empty left background. */
.mouth-compare img { width:130.625%; max-width:none; height:100%; position:absolute; top:0; left:-30.625%; object-fit:cover; }
.mouth-compare .smile-before { position:absolute; inset:0; z-index:2; clip-path:inset(0 calc(100% - var(--before, 92%)) 0 0); }
.mouth-compare .smile-after { z-index:1; }
.compare-line { position:absolute; top:0; bottom:0; left:var(--before, 58%); width:2px; background:#fff; z-index:4; box-shadow:0 0 24px rgba(255,255,255,.85); pointer-events:none; }
.compare-handle { position:absolute; top:50%; left:var(--before,58%); z-index:5; display:grid; place-items:center; width:42px; height:42px; border:2px solid #fff; border-radius:50%; background:rgba(0,0,0,.82); color:#fff; font-size:21px; font-weight:800; transform:translate(-50%,-50%); box-shadow:0 0 18px rgba(255,255,255,.42); pointer-events:none; }
.mouth-compare input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; z-index:6; }
.mouth-compare:focus-within { outline:3px solid var(--accent); outline-offset:5px; }
.compare-controls { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 24px; margin-top:24px; color:#a1a1a6; font-size:13px; }
.compare-toggle { padding:8px 16px; border:1px solid #555; border-radius:999px; color:#eee; background:transparent; font:inherit; cursor:pointer; }
.compare-toggle:hover { border-color:var(--accent); }
.compare-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.doctor { background:#f6f8f9; }
.doctor-photo img { height:auto; object-fit:contain; filter:grayscale(1); image-rendering:auto; }
.doctor-photo-apple { background:#f5f5f7; }
.doctor-message { padding:30px 0; }
.doctor-role { margin-top:-12px; font-size:18px; color:var(--blue); font-weight:800; }
blockquote { margin:32px 0; padding-left:27px; border-left:3px solid var(--accent); font-size:23px; line-height:1.42; color:#263848; }
.text-link-dark { color:var(--blue); }
.doctor-links { display:flex; align-items:center; gap:18px 26px; flex-wrap:wrap; }
.doctor-profile { display:inline-flex; align-items:center; gap:8px; color:var(--navy); text-decoration:none; font-size:15px; font-weight:800; border-bottom:1px solid currentColor; }
.doctor-profile:hover { color:var(--blue); }
.heading-row { max-width:none; display:flex; align-items:end; justify-content:space-between; gap:30px; }
.heading-row > p { max-width:340px; color:var(--muted); margin:0; font-size:16px; }
.article-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.article-grid article { background:#fff; padding:35px; }
.article-grid span { color:var(--accent); font-weight:800; }
.article-grid p { color:#52606f; font-size:16px; margin-bottom:0; }
.section-sand { background:var(--sand); }
.carousel-controls { display:flex; gap:8px; }
.icon-button { width:46px; height:46px; border:1px solid #bdc5cc; border-radius:50%; background:transparent; color:var(--navy); cursor:pointer; font-size:20px; }
.icon-button:hover { color:#fff; background:var(--navy); }
.case-viewport { overflow:hidden; outline:none; }
.case-track { display:flex; gap:22px; transition:transform .45s ease; }
.case-card { flex:0 0 calc((100% - 44px)/3); min-width:0; background:#fff; padding:0 0 28px; }
.case-image { display:block; width:100%; height:275px; object-fit:cover; object-position:center; }
.case-card h3, .case-card p { margin-left:23px; margin-right:23px; }
.case-kind { margin-top:23px; color:var(--blue); font-weight:800; letter-spacing:.07em; text-transform:uppercase; font-size:11px; }
.case-card h3 { min-height:75px; margin-bottom:15px; font-size:22px; }
.review { padding-top:15px; border-top:1px solid var(--line); color:#596677; font-size:15px; font-style:italic; }
.case-disclaimer { max-width:860px; margin:24px 0 0; }
.contact-layout { align-items:start; }
.contact-layout > div > p:not(.eyebrow) { color:#c4d1da; max-width:530px; }
.messengers { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.messenger { display:inline-flex; gap:9px; align-items:center; padding:12px 15px; border:1px solid rgba(255,255,255,.35); color:#fff; text-decoration:none; font-weight:700; font-size:15px; }
.messenger:hover { background:rgba(255,255,255,.12); }
.messenger.max { background:#6b3df4; border-color:#6b3df4; color:#fff; }
.messenger.max:hover { background:#5930d9; }
.messenger.whatsapp { background:#25d366; border-color:#25d366; color:#092b17; }
.messenger.whatsapp:hover { background:#1fbd59; }
.contact-form { padding:35px; background:#fff; color:var(--ink); }
.contact-form label { display:block; margin-bottom:18px; color:#344252; font-size:14px; font-weight:800; }
.contact-form input[type="text"], .contact-form input[type="tel"], .chat-form input[type="text"], .chat-form input[type="tel"], .chat-form textarea { display:block; width:100%; margin-top:7px; padding:13px 12px; border:1px solid #d2d2d7; border-radius:12px; background:#fff; color:var(--ink); }
.contact-form input:focus, .chat-form input:focus, .chat-form textarea:focus { outline:3px solid rgba(0,102,204,.22); border-color:var(--blue); }
.contact-form .consent { display:flex; gap:10px; align-items:flex-start; font-weight:400; line-height:1.35; }
.consent input { width:18px; height:18px; flex:none; margin-top:1px; accent-color:var(--navy); }
.form-status { min-height:24px; color:var(--blue); font-weight:700; font-size:15px; margin:14px 0 0; }
.form-note { margin:12px 0 0; }
.legal-links { margin:16px 0 0; color:#657181; font-size:12px; line-height:1.45; }
.legal-links a { color:var(--blue); font-weight:700; }
.legal-document { max-width:860px; }
.legal-document h1 { color:var(--ink); font-size:clamp(42px, 6vw, 68px); }
.legal-document h2 { margin-top:44px; color:var(--ink); font-size:30px; }
.legal-document p { max-width:760px; color:#455160; }
.site-footer { padding:25px 0; background:#07131e; color:#afbdc8; font-size:12px; }
.footer-row { display:flex; gap:20px; justify-content:space-between; }
.footer-row p { margin:0; }
.quiz-dialog { width:min(600px, calc(100% - 30px)); border:0; padding:0; box-shadow:0 20px 80px rgba(0,0,0,.4); }
.quiz-dialog::backdrop { background:rgba(5,16,27,.72); }
.quiz-form { padding:42px; }
.quiz-form h2 { font-size:34px; }
.quiz-close { position:absolute; top:11px; right:14px; width:38px; height:38px; border:0; background:transparent; cursor:pointer; font-size:29px; }
.quiz-progress { color:var(--muted); font-size:14px; }
.quiz-step { display:none; margin:24px 0; padding:0; border:0; }
.quiz-step.active { display:block; }
.quiz-step legend { margin-bottom:16px; font-size:20px; font-weight:800; line-height:1.3; }
.quiz-step label { display:block; padding:12px 0; border-bottom:1px solid var(--line); cursor:pointer; font-size:16px; }
.quiz-step input { margin-right:8px; accent-color:var(--blue); }
.quiz-actions { margin-top:28px; }
.hidden { display:none !important; }
.quiz-result { margin:26px 0 0; padding:18px; background:#edf4f7; color:#17384e; font-weight:700; }
.quiz-booking { margin-top:18px; padding:18px; background:#f7f2e8; color:var(--ink); }
.quiz-booking p { margin-bottom:12px; font-weight:800; }
.quiz-messengers { display:flex; flex-wrap:wrap; gap:10px; }
.quiz-messengers .messenger { color:var(--navy); border-color:#9ca9b3; }
.quiz-messengers .messenger:hover { background:#fff; }
.quiz-messengers .messenger.max { color:#fff; border-color:#6b3df4; }
.quiz-messengers .messenger.whatsapp { color:#092b17; border-color:#25d366; }
.chat-launcher { position:fixed; right:24px; bottom:24px; z-index:12; display:flex; align-items:center; gap:9px; min-height:52px; padding:0 20px; border:0; border-radius:999px; background:var(--accent); color:#132000; box-shadow:0 10px 28px rgba(0,0,0,.22); font:inherit; font-size:15px; font-weight:800; cursor:pointer; }
.chat-launcher:hover { background:#b9e878; transform:translateY(-2px); }
.chat-dialog { width:min(560px, calc(100% - 30px)); border:0; border-radius:20px; padding:0; box-shadow:0 20px 80px rgba(0,0,0,.4); }
.chat-dialog::backdrop { background:rgba(0,0,0,.72); }.chat-form { padding:42px; }.chat-form h2 { color:var(--ink); font-size:34px; }.chat-intro { color:var(--muted); font-size:15px; }.chat-form label { display:block; margin:18px 0; color:#344252; font-size:14px; font-weight:800; }.chat-form textarea { min-height:130px; resize:vertical; }.chat-form .button { width:100%; }.honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto}.word-rotator{display:block;min-height:0}.word-rotator li{opacity:1;transition:none;font-size:18px;margin:12px 0}.compare-toggle{display:none} }
@media (max-width:900px) { nav{display:none}.hero{min-height:640px}.split-layout,.doctor-layout,.contact-layout{grid-template-columns:1fr;gap:42px}.transform-card{grid-template-columns:1fr}.mouth-compare{min-height:340px;order:-1}.transform-copy{padding:25px}.doctor-photo img{height:auto;max-height:620px}.case-card{flex-basis:calc((100% - 22px)/2)}.article-grid{grid-template-columns:1fr}.section{padding:78px 0}.heading-row{align-items:start;flex-direction:column}.heading-row>p{max-width:680px}.contact-layout{gap:36px} }
@media (max-width:560px) { body{font-size:17px}.site-header{height:66px}.site-header .button-small{display:none}.hero{min-height:590px;background-position:60% center}.hero-content{padding:70px 0}.hero h1{font-size:clamp(38px,10vw,44px);overflow-wrap:anywhere}.hero-lead{font-size:19px}.button{width:100%}.hero-actions{gap:18px}.hero-actions .text-link{width:100%;text-align:center}.section{padding:62px 0}.container{width:calc(100% - 28px)}h2{font-size:34px;overflow-wrap:anywhere}.case-card{flex-basis:100%}.case-image{height:320px}.footer-row{flex-direction:column}.quiz-form,.chat-form{padding:32px 24px}.quiz-form h2,.chat-form h2{font-size:29px}.word-list li{font-size:15px}.article-grid article{padding:27px}.contact-form{padding:27px 20px}.mouth-arrows,.compare-handle{display:none}.chat-launcher{right:14px;bottom:14px} }
@media (max-width:900px) {
  .problem-intro .split-layout { grid-template-columns:1fr; gap:32px; }
  .problem-intro p:not(.eyebrow) { max-width:680px; }
  .transform-card { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
  .mouth-compare { grid-column:1/-1; order:-1; width:min(100%,620px); min-height:0; justify-self:center; }
  .transform-copy { padding:8px 12px; }
  .word-rotator { min-height:120px; }
  .word-rotator li { font-size:clamp(20px,3.5vw,28px); }
  .doctor-photo { max-width:500px; justify-self:center; }
  .doctor-photo img { max-height:none; }
}
@media (max-width:560px) {
  .transform-card { gap:24px 20px; }
  .transform-copy { padding:4px; }
  .transform-copy .label { margin-bottom:16px; font-size:10px; }
  .word-rotator { min-height:140px; }
  .word-rotator li { font-size:22px; }
  .mouth-compare .compare-handle { display:grid; width:34px; height:34px; font-size:18px; }
}
