/*
Theme Name: Gnato Ortho
Description: Совместный проект SmileCraft и Авалон. Редактируемая тема без ACF Pro.
Version: 1.1.0
Text Domain: gnato-ortho
*/

/* 01. Fonts and design tokens */
@font-face{font-family:Cormorant;src:url('assets/fonts/cormorant.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:Manrope;src:url('assets/fonts/manrope.ttf') format('truetype');font-display:swap;font-weight:400}
:root{--paper:#f7f7f5;--paper-alt:#f0f0ee;--ink:#222;--muted:#747474;--line:#dcdcd9;--placeholder:#e8e8e6;--dark:#202121;--serif:Cormorant,Georgia,'Times New Roman',serif;--sans:Manrope,Arial,sans-serif;--radius:10px;--gutter:clamp(20px,5.2vw,76px);--space:clamp(32px,3.5vw,54px);--header-height:80px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img,video{display:block;max-width:100%}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.02;letter-spacing:-.035em}h1{font-size:clamp(54px,5.55vw,82px)}h2{font-size:clamp(34px,3.6vw,54px)}h3{font-size:clamp(24px,2.3vw,34px)}p{line-height:1.5}ul,ol{padding:0;margin:0;list-style:none}button:disabled{cursor:default;opacity:.35}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #747474;outline-offset:5px}section[id],footer[id],.anchor-target{scroll-margin-top:100px}.container{width:min(100%,1440px);padding-inline:var(--gutter);margin-inline:auto}.section{padding-block:var(--space)}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:500;line-height:1.4;margin-bottom:12px}.muted{color:var(--muted)}.media{background:var(--placeholder);position:relative;overflow:hidden}.media img{width:100%;height:100%;object-fit:cover}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:200;top:12px;left:12px;transform:translateY(-200%);background:white;padding:12px}.skip-link:focus{transform:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--dark);color:#fff;border:1px solid var(--dark);padding:16px 26px;border-radius:40px;line-height:1.2;font-size:13px;min-height:50px;transition:background .2s,transform .2s;white-space:nowrap}.button span{font-size:18px;transition:transform .2s}.button:hover{background:#393a3a}.button:hover span,.text-link:hover span{transform:translateX(3px)}.text-link{display:inline-flex;gap:8px;align-items:center;font-size:13px;text-decoration:underline;text-decoration-color:#b7b7b2;text-underline-offset:5px;line-height:1.4}.text-link span{display:inline-block;text-decoration:none;transition:transform .2s}.circle-link,.round-icon{display:inline-flex;flex-shrink:0;width:44px;height:44px;border:1px solid #bcbcbc;border-radius:50%;align-items:center;justify-content:center;background:transparent;font-size:23px;line-height:1;transition:background .2s}.circle-link:hover,.round-icon:hover{background:#fff}.circle-link{font-size:0}.circle-link span{font-size:23px}.round-icon svg{width:22px;height:22px}.actions{display:flex;gap:28px;align-items:center;flex-wrap:wrap}.video-link{display:flex;gap:12px;align-items:center;font-size:13px;background:none;border:0;padding:0;text-align:left;line-height:1.35}.video-link small{display:block;color:var(--muted);font-size:11px;margin-top:3px}

/* 02. Header */
.site-header{position:sticky;top:0;z-index:30;background:rgba(247,247,245,.97);border-bottom:1px solid #e8e8e6;backdrop-filter:blur(12px)}.header-inner{height:var(--header-height);display:flex;align-items:center;gap:26px;justify-content:space-between}.brands{display:flex;align-items:center;gap:20px;flex-shrink:0}.brand{display:flex;flex-direction:column}.brand-name{font-family:var(--serif);font-size:29px;line-height:1;letter-spacing:-.035em}.brand-name--second{font-size:27px;letter-spacing:-.02em}.brand-caption{font-size:9px;line-height:1.4;margin-top:3px}.brand-cross{font-size:18px;font-weight:300;color:var(--muted)}.primary-nav{display:flex;gap:clamp(16px,2.1vw,30px);align-items:center;font-size:11px;color:#555}.primary-nav a:hover,.footer-nav a:hover{color:#111;text-decoration:underline;text-underline-offset:5px}.header-booking{min-height:42px;padding:11px 22px;font-size:12px;gap:10px}.menu-toggle{display:none}

/* 03. Hero and clinic cards */
.hero{padding-bottom:20px;background:var(--paper-alt)}.hero-main{min-height:490px;position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center}.hero-copy{position:relative;z-index:2;padding-block:48px 32px;max-width:605px}.hero-copy h1{margin-bottom:14px}.hero-subtitle{font-size:clamp(18px,1.75vw,26px);line-height:1.35;margin-bottom:14px;letter-spacing:-.025em}.hero-description{max-width:555px;font-size:15px;line-height:1.55;margin-bottom:20px}.hero-visual{align-self:stretch;position:relative;margin-right:calc(-1*var(--gutter));min-height:490px}.hero-image{position:absolute;inset:0;background:#e2e2e0}.hero-image img{object-position:center}.anatomy-terms{position:absolute;right:var(--gutter);top:29%;width:105px;display:flex;flex-direction:column;gap:16px;font-size:10px;line-height:1.35;letter-spacing:.04em;color:#666}.clinic-teasers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px}.clinic-teaser{display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-height:144px;background:var(--paper)}.clinic-teaser>div:first-child{padding:18px 28px}.clinic-teaser h2{font-size:30px;margin-bottom:7px}.clinic-teaser p{font-size:12px;line-height:1.4;max-width:245px}.teaser-photo{position:relative;padding:6px}.teaser-photo>.media{height:100%;min-height:132px;border-radius:5px;background:#dcdcd9}.teaser-photo .circle-link{position:absolute;right:18px;top:19px;background:var(--paper);width:42px;height:42px;border:0}

/* 04. Problems */
.problems{border-top:1px solid var(--line);padding-top:25px;padding-bottom:34px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px}.problems-heading{margin-bottom:28px}.heading-note{max-width:400px;align-self:center;padding-top:18px;font-size:13px;color:var(--muted)}.heading-note .text-link{float:right;margin-top:16px;color:var(--ink)}.problem-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}.problem-visual{position:relative;margin-bottom:15px}.problem-visual .media{aspect-ratio:1.2/1;background:#e2e2e0}.card-number{position:absolute;left:0;top:0;border-radius:0 0 16px 0;background:var(--paper);font-family:var(--serif);font-size:27px;line-height:1;padding:2px 9px 7px 2px}.problem-card h3{font-size:21px;line-height:1.08;margin-bottom:11px;letter-spacing:-.02em}.problem-card p{font-size:11px;color:var(--muted);line-height:1.5}

/* 05. Joint approach */
.approach{background:var(--dark);color:var(--paper);padding-block:36px 22px}.approach-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:28px}.approach-copy{padding-right:45px;border-right:1px solid #777}.approach-copy h2{margin-bottom:27px}.approach-copy p{font-size:19px;line-height:1.4;border-left:1px solid #aaa;padding-left:24px;max-width:465px}.approach-comparison{padding-left:0}.approach-cards{display:grid;grid-template-columns:1fr 44px 1fr;gap:16px;border:1px solid #757575;border-top:0;border-radius:0 0 16px 16px;padding:0 0 20px}.approach-cards article{border-radius:18px;background:#303232;padding:22px 24px;min-height:250px}.approach-cards h3{font-family:var(--sans);font-size:20px;letter-spacing:.04em;line-height:1.35;margin-bottom:19px}.approach-cards h3 small{display:block;color:#c6c6c6;font-size:16px;letter-spacing:0;font-weight:400}.approach-cards li{font-size:12px;line-height:1.5;position:relative;padding-left:20px;margin-block:9px;color:#ddd}.approach-cards li:before{content:'↦';position:absolute;left:0;color:#aaa}.comparison-cross{align-self:center;width:32px;height:32px;position:relative;margin:auto}.comparison-cross:before,.comparison-cross:after{content:'';position:absolute;top:50%;left:0;width:100%;height:1px;background:#e8e8e6;transform:rotate(45deg)}.comparison-cross:after{transform:rotate(-45deg)}.approach-caption{text-align:center;font-size:14px;letter-spacing:.09em;line-height:1.3;margin-top:4px}

/* 06. Clinics and specialists */
.clinics{padding-top:30px;padding-bottom:0}.clinics h2{font-size:clamp(32px,3.2vw,48px);margin-bottom:26px}.clinic-grid,.specialist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px}.clinic-profile,.specialist-profile{display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;min-width:0}.clinic-portrait{aspect-ratio:.94/1;min-height:240px;border-radius:4px;background:#e2e2e0}.profile-copy{display:flex;flex-direction:column;align-items:flex-start}.profile-copy h3{font-size:36px;margin-bottom:7px}.profile-heading{display:flex;align-items:flex-start;justify-content:space-between;width:100%;gap:12px}.profile-heading .circle-link{width:42px;height:42px}.profile-subtitle{font-size:13px;line-height:1.4;margin-bottom:16px}.dash-list{font-size:12px;line-height:1.45;color:var(--muted);margin-bottom:20px}.dash-list li{padding-left:20px;position:relative;margin-bottom:5px}.dash-list li:before{content:'—';position:absolute;left:0;color:#aaa}.address{display:flex;align-items:flex-start;gap:13px;font-size:12px;color:var(--muted);margin-top:auto;line-height:1.35}.address .round-icon{width:35px;height:35px}.address p{line-height:1.4}.address .round-icon svg{width:19px;height:19px}.specialists{padding-top:34px;padding-bottom:18px}.specialists h2{margin-bottom:25px}.specialist-profile{grid-template-columns:.8fr 1.2fr}.specialist-portrait{aspect-ratio:.97/1;border-radius:5px;min-height:240px}.specialist-profile .muted{font-size:13px;line-height:1.45;margin-bottom:20px}.specialist-profile .text-link{margin-top:auto}.specialist-profile h3{max-width:280px}

/* 07. Treatment steps */
.steps{padding-top:24px;padding-bottom:8px}.steps .section-heading{gap:24px;margin-bottom:24px}.steps-note{font-size:12px;line-height:1.5;margin-left:auto;max-width:275px}.steps-layout{display:grid;grid-template-columns:3fr 1fr;gap:20px}.steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.step{position:relative;border-top:1px solid var(--line);padding:6px 0 22px}.step-number{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.step-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:11px}.step-icon{display:flex;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;align-items:center;justify-content:center;flex-shrink:0}.step-icon svg{width:28px;height:28px}.step h3{font-size:20px;line-height:1.08;letter-spacing:-.02em}.step p{padding-left:46px;font-size:10px;color:var(--muted);line-height:1.5}.step:not(:last-child):after{content:'→';position:absolute;right:-24px;top:35px;font-size:24px;color:#aaa;font-weight:300}.steps-visual{position:relative;align-self:stretch;min-height:175px}.steps-visual .media{position:absolute;inset:0;background:#dcdcd9}.steps-visual p{position:relative;margin:20px 16px 0 auto;max-width:145px;font-size:10px;line-height:1.4;letter-spacing:.06em;color:#777}

/* 08. Clinical stories */
.cases{padding-top:25px;padding-bottom:30px}.cases-heading{margin-bottom:20px;align-items:center}.cases-heading>p{font-size:12px;align-self:flex-end;margin-bottom:9px;margin-right:auto}.slider-controls{display:flex;gap:8px}.slider-controls .round-icon{width:44px;height:44px;font-size:24px}.case-slider{overflow:hidden;touch-action:pan-y pinch-zoom}.case-track{display:flex;align-items:flex-start;transition:transform .45s cubic-bezier(.2,.65,.25,1)}.case-slide{flex:0 0 100%;min-width:0;display:grid;grid-template-columns:.9fr 1.55fr .7fr;gap:44px;align-items:start}.case-video{position:relative;aspect-ratio:9/16;border-radius:8px;overflow:hidden;max-height:520px}.case-video>.media{position:absolute;inset:0}.case-video img{object-fit:cover}.case-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #fff;color:white;background:#2224;border-radius:50%;width:66px;height:66px;font-size:28px}.case-copy{padding-top:15px}.case-number{font-size:12px;color:var(--muted);margin-bottom:8px}.case-copy h3{font-size:clamp(28px,2.4vw,36px);line-height:1.03;margin-bottom:16px}.case-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.case-tags li{font-size:11px;background:var(--paper-alt);border:1px solid var(--line);padding:3px 12px;border-radius:20px}.case-text{margin-bottom:13px}.case-text h4{font-size:11px;font-weight:600;color:var(--muted);margin-bottom:3px}.case-text p{font-size:13px;color:#666;line-height:1.55}.case-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0}.case-metrics>div+div{border-left:1px solid var(--line);padding-left:16px}.case-metrics strong{display:block;font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.1}.case-metrics span{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:5px}.case-copy .button{font-size:12px;min-height:44px;padding:13px 22px}.case-results>p{font-size:11px;margin-bottom:5px}.case-photo{aspect-ratio:1.65;border-radius:5px;background:#e2e2e0;flex:0 0 100%}.case-photos{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;scrollbar-width:thin}.case-photos .media{scroll-snap-align:start}.result-arrow{display:block;text-align:center;color:#aaa;font-size:30px;font-weight:300;line-height:1.1;margin:16px 0}.case-empty .case-copy{align-self:center}

/* 09. Final screen and footer */
.final-cta{background:var(--paper-alt);overflow:hidden}.final-inner{display:grid;grid-template-columns:1.25fr .75fr;min-height:310px;position:relative}.final-copy{padding-block:45px 50px;position:relative;z-index:1}.final-copy h2{white-space:nowrap;font-size:clamp(34px,3.75vw,56px);margin-bottom:14px}.final-description{font-size:19px;color:var(--muted);margin-bottom:20px}.final-visual{position:relative;margin-right:calc(-1*var(--gutter))}.final-visual>.media{position:absolute;inset:0;background:#e2e2e0}.final-visual .anatomy-terms{top:36%;right:var(--gutter);font-size:9px;gap:10px}.site-footer{padding:32px 0 18px}.footer-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;align-items:start}.footer-clinic{display:flex;gap:24px;align-items:start}.footer-name{font-size:14px;font-weight:600}.footer-clinic>div>p{font-size:9px;color:var(--muted);margin-top:4px}.footer-contact{font-size:11px;display:grid;gap:9px}.footer-contact .address{font-size:10px;gap:10px}.footer-contact .round-icon{width:28px;height:28px}.footer-nav{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;padding-top:14px;justify-content:flex-end}.footer-bottom{display:flex;gap:20px;justify-content:space-between;margin-top:20px;font-size:10px;color:var(--muted)}.footer-bottom p:empty{display:none}

/* 10. Accessible dialogs and Contact Form 7 */
.modal{padding:0;border:0;border-radius:12px;background:var(--paper);color:var(--ink);width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 18px 80px #0003}.modal::backdrop{background:#20212199;backdrop-filter:blur(4px)}.modal[open]{animation:dialog-in .2s ease-out}.modal-panel{position:relative;padding:48px}.modal-close{position:absolute;top:12px;right:12px;width:40px;height:40px;background:transparent;border:0;font-size:32px;font-weight:300;color:var(--muted)}.modal h2{font-size:42px;margin:6px 0 14px}.modal-panel>p{font-size:14px;color:var(--muted);margin-bottom:28px}.wpcf7 form{margin-top:25px}.wpcf7 label{display:block;font-size:12px}.wpcf7 input:not([type=submit]){width:100%;background:transparent;border:0;border-bottom:1px solid #bdbdba;border-radius:0;min-height:48px;padding:10px 0;font-size:16px;color:var(--ink);margin:4px 0 14px}.wpcf7 input[type=submit]{display:inline-flex;background:var(--dark);border:1px solid var(--dark);color:white;border-radius:40px;padding:16px 26px;margin-top:8px;cursor:pointer}.wpcf7 .wpcf7-not-valid-tip{font-size:12px;margin-top:-10px;margin-bottom:12px;color:#9d3535}.wpcf7 form .wpcf7-response-output{padding:12px;margin:20px 0 0;border:1px solid #bfbfb9;font-size:13px}.wpcf7 form.invalid .wpcf7-response-output{border-color:#b48664}.wpcf7 form.sent .wpcf7-response-output{border-color:#718775}.wpcf7 form.failed .wpcf7-response-output{border-color:#a66d6d}.wpcf7 form.submitting input[type=submit]{opacity:.5;pointer-events:none}.modal-panel>.form-consent{font-size:10px;line-height:1.6;margin:16px 0 0}.form-consent a{text-decoration:underline;text-underline-offset:3px}.video-modal{width:min(900px,calc(100vw - 32px));background:#171818}.video-modal .modal-panel{padding:52px 20px 20px}.video-modal .modal-close{color:white}.video-player video{width:100%;max-height:75dvh}.video-player iframe{display:block;border:0;width:100%;aspect-ratio:16/9}.video-player a{color:white;text-decoration:underline}

/* 11. Responsive composition */
@media(min-width:1600px){.hero-main{min-height:520px}.hero-visual{min-height:520px}}
@media(max-width:1180px){:root{--gutter:36px}.header-inner{gap:16px}.brands{gap:12px}.brand-name{font-size:25px}.brand-name--second{font-size:23px}.brand-caption{font-size:8px}.primary-nav{gap:15px;font-size:10px}.header-booking{padding-inline:16px}.hero-main{grid-template-columns:1.08fr .92fr}.hero-subtitle{font-size:21px}.hero-description{font-size:14px}.actions{gap:18px}.hero .button{padding-inline:20px;font-size:12px}.clinic-teasers{gap:28px}.clinic-teaser>div:first-child{padding-inline:22px}.problem-grid{gap:20px}.problem-card h3{font-size:19px}.approach-copy{padding-right:28px}.approach-copy p{font-size:17px}.approach-cards{gap:9px;grid-template-columns:1fr 30px 1fr}.approach-cards article{padding:20px 18px}.approach-cards li{font-size:11px}.clinic-grid,.specialist-grid{gap:30px}.clinic-profile,.specialist-profile{gap:20px;grid-template-columns:.82fr 1.18fr}.profile-copy h3{font-size:30px}.clinic-portrait,.specialist-portrait{min-height:220px}.dash-list{font-size:11px}.steps-grid{gap:22px}.step-title{gap:7px}.step h3{font-size:18px}.step-icon{width:30px;height:30px}.step-icon svg{width:24px;height:24px}.step p{padding-left:37px}.step:not(:last-child):after{right:-20px}.case-slide{gap:28px}.case-copy h3{font-size:30px}.final-copy h2{font-size:43px}.footer-inner{grid-template-columns:1fr 1fr}.footer-nav{grid-column:1/-1;justify-content:flex-start;padding-top:0}.footer-clinic{justify-content:space-between}}
@media(max-width:1024px){:root{--header-height:72px;--gutter:30px}.primary-nav{position:absolute;top:100%;left:0;right:0;padding:26px var(--gutter);background:var(--paper);border-bottom:1px solid var(--line);display:none;grid-template-columns:repeat(3,1fr);gap:22px;font-size:15px}.primary-nav.is-open{display:grid}.header-booking{margin-left:auto}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:transparent}.menu-toggle span{height:1px;background:var(--ink);width:22px;transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.hero-main{min-height:470px}.hero-visual{min-height:470px}.hero-copy{padding-top:40px}.hero-subtitle br{display:none}.hero-subtitle{font-size:19px}.hero-description{font-size:13px}.hero .actions{gap:16px;align-items:flex-start;flex-direction:column}.anatomy-terms{right:30px;width:90px;font-size:9px}.clinic-teaser h2{font-size:27px}.clinic-teaser p{font-size:11px}.clinic-teaser>div:first-child{padding:18px}.problem-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.problem-card h3{font-size:25px}.problem-card p{font-size:12px}.heading-note{max-width:330px}.approach-grid{grid-template-columns:.8fr 1.2fr;gap:22px}.approach-copy p{font-size:15px;padding-left:16px}.approach-copy h2{font-size:36px}.approach-cards h3{font-size:17px}.approach-cards h3 small{font-size:13px}.approach-cards article{padding:16px 12px}.approach-cards li{padding-left:15px}.approach-caption{font-size:11px}.clinic-grid,.specialist-grid{gap:26px}.clinic-profile,.specialist-profile{grid-template-columns:1fr;gap:18px}.clinic-portrait{aspect-ratio:1.3}.specialist-portrait{aspect-ratio:1.3}.profile-copy h3{font-size:34px}.profile-copy{min-height:225px}.specialist-profile .profile-copy{min-height:220px}.dash-list,.specialist-profile .muted{font-size:13px}.steps-layout{grid-template-columns:1fr 220px}.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 25px}.step h3{font-size:22px}.step p{font-size:11px}.step:nth-child(2):after{display:none}.steps-note{margin-left:0;font-size:11px;max-width:200px}.steps .text-link{font-size:11px}.case-slide{grid-template-columns:.85fr 1.3fr;gap:24px}.case-results{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:6px 15px}.case-results>p:first-child{grid-column:1;grid-row:1}.case-results>p:nth-of-type(2){grid-column:2;grid-row:1}.case-results>.media,.case-results>.case-photos{grid-row:2}.case-results .result-arrow{display:none}.case-video{grid-row:1/span 2}.case-metrics{gap:10px}.case-metrics>div+div{padding-left:10px}.cases-heading{flex-wrap:wrap}.cases-heading>p{flex-basis:50%;margin-bottom:0;align-self:center}.final-copy h2{white-space:normal;font-size:44px}.final-description{font-size:16px}.final-inner{grid-template-columns:1.1fr .9fr}.final-copy .actions{gap:16px;align-items:flex-start;flex-direction:column}}
@media(max-width:767px){:root{--gutter:24px;--space:34px}.header-inner{gap:12px}.brands{gap:12px}.brand-name{font-size:23px}.brand-name--second{font-size:22px}.brand-caption{font-size:7px}.header-booking{font-size:11px;padding:12px 16px;min-height:40px}.header-booking span{display:none}.hero-main{grid-template-columns:1fr 1fr;min-height:430px}.hero-copy h1{font-size:54px}.hero-subtitle{font-size:17px}.hero-description{font-size:12px}.hero-visual{min-height:430px}.hero .button{font-size:11px;padding:14px 17px;min-height:45px}.hero .video-link{font-size:11px}.hero .round-icon{width:36px;height:36px}.hero .video-link small{font-size:9px}.anatomy-terms{right:20px;width:70px;font-size:8px;gap:12px}.clinic-teasers{gap:20px}.clinic-teaser{grid-template-columns:1fr;min-height:0}.clinic-teaser>div:first-child{padding:18px 18px 12px}.clinic-teaser h2{font-size:29px}.clinic-teaser p{font-size:12px}.teaser-photo{height:125px}.teaser-photo>.media{min-height:0}.problems-heading{align-items:start}.problems-heading h2{font-size:38px}.heading-note{max-width:240px;font-size:11px}.problem-grid{gap:24px 20px}.problem-card h3{font-size:23px}.problem-card p{font-size:11px}.approach-grid{grid-template-columns:1fr}.approach-copy{border-right:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:25px}.approach-copy h2{font-size:40px;margin-bottom:0}.approach-copy p{font-size:15px}.approach-comparison{margin-top:8px}.approach-cards{grid-template-columns:1fr 40px 1fr;gap:14px}.approach-cards article{padding:22px}.approach-cards h3{font-size:20px}.approach-cards li{font-size:12px}.approach-caption{font-size:12px;margin-top:10px}.clinics h2{font-size:36px}.clinic-grid,.specialist-grid{gap:24px}.profile-copy h3{font-size:30px}.profile-subtitle{font-size:12px}.dash-list{font-size:12px}.clinic-portrait,.specialist-portrait{min-height:0}.profile-copy{min-height:255px}.specialist-profile .profile-copy{min-height:245px}.specialists h2{font-size:38px}.steps .section-heading{flex-wrap:wrap;gap:16px}.steps h2{flex-basis:100%;font-size:38px}.steps-note{max-width:none;flex:1}.steps-layout{grid-template-columns:1fr}.steps-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.step-title{display:block}.step-icon{margin-bottom:9px}.step p{padding-left:0;font-size:10px}.step h3{font-size:20px}.step:not(:last-child):after{top:36px;right:-18px}.step:nth-child(2):after{display:block}.steps-visual{min-height:180px;margin-bottom:10px}.steps-visual p{max-width:170px;margin:22px 30px 0 auto}.case-slide{grid-template-columns:.8fr 1.2fr;gap:20px}.case-copy{padding-top:0}.case-copy h3{font-size:28px}.case-text p{font-size:12px}.case-tags{margin-bottom:12px}.case-metrics{grid-template-columns:1fr;gap:8px;margin-block:18px}.case-metrics>div+div{border-left:0;padding-left:0}.case-metrics strong{font-size:23px}.case-metrics span{display:inline}.case-copy .button{white-space:normal;font-size:11px;padding-inline:16px}.cases-heading{gap:12px}.cases-heading h2{font-size:38px}.cases-heading>p{font-size:11px;flex-basis:60%;order:3}.slider-controls{margin-left:auto}.final-copy h2{font-size:40px}.final-description{font-size:15px}.final-inner{grid-template-columns:1.15fr .85fr}.final-copy{padding-block:35px}.final-copy .button{font-size:11px;padding-inline:18px}.final-visual .anatomy-terms{right:18px;font-size:8px;width:72px}.footer-inner{gap:24px}.footer-clinic{display:block}.footer-contact{margin-top:16px}.footer-nav{gap:18px}.modal-panel{padding:42px 32px 30px}.modal h2{font-size:37px}}
@media(max-width:540px){:root{--gutter:20px;--header-height:68px}body{font-size:14px}.header-inner{gap:9px}.brands{gap:10px}.brand-name{font-size:23px}.brand-name--second{font-size:21px}.brand-caption{font-size:6px}.brand-cross{font-size:15px}.header-booking{display:none}.menu-toggle{margin-left:auto;width:40px;height:40px}.menu-toggle span{width:18px}.primary-nav{grid-template-columns:repeat(2,1fr);font-size:15px}.hero-main{display:flex;flex-direction:column;min-height:0;padding-bottom:0}.hero-copy{width:100%;padding:34px 0 26px;max-width:none}.hero-copy h1{font-size:clamp(49px,13vw,66px);margin-bottom:16px}.hero-subtitle{font-size:19px;line-height:1.4}.hero-description{font-size:13px;line-height:1.55;max-width:400px;margin-bottom:20px}.hero .actions{flex-direction:row;align-items:center;gap:18px}.hero .button{font-size:11px;padding:15px 19px;min-height:47px}.hero .video-link small{font-size:8px}.hero .video-link{gap:8px;font-size:10px}.hero .round-icon{width:35px;height:35px}.hero-visual{width:calc(100% + 2*var(--gutter));min-height:300px;margin:0 calc(-1*var(--gutter));aspect-ratio:1.3}.anatomy-terms{right:25px;top:22%;width:85px;font-size:9px;gap:17px}.clinic-teasers{padding-top:20px;grid-template-columns:1fr;gap:14px}.clinic-teaser{grid-template-columns:1fr 1fr;min-height:140px}.clinic-teaser>div:first-child{padding:20px}.clinic-teaser h2{font-size:28px}.clinic-teaser p{font-size:11px}.teaser-photo{height:auto}.problems{padding-top:28px}.problems-heading{display:block;margin-bottom:25px}.problems-heading h2{font-size:clamp(35px,9.4vw,44px)}.eyebrow{font-size:10px;letter-spacing:.12em}.heading-note{max-width:none;font-size:12px;padding-top:20px}.heading-note .text-link{float:none;margin-top:12px;font-size:12px}.problem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.problem-visual .media{aspect-ratio:1.12}.problem-card h3{font-size:24px}.problem-card p{font-size:11px}.card-number{font-size:27px}.approach{padding-block:30px}.approach-copy{display:block}.approach-copy h2{font-size:43px;margin-bottom:20px}.approach-copy p{font-size:16px;padding-left:18px;max-width:none}.approach-comparison{margin-top:28px}.approach-cards{grid-template-columns:1fr;gap:14px;padding:0 0 18px;border:0}.approach-cards article{min-height:0;padding:22px 25px;border-radius:14px}.approach-cards h3{font-size:20px;margin-bottom:15px}.approach-cards h3 small{font-size:15px}.approach-cards li{font-size:13px;margin:9px 0}.comparison-cross{width:26px;height:26px}.approach-caption{border-top:1px solid #777;padding-top:16px;font-size:10px;letter-spacing:.09em}.clinics h2{font-size:38px;line-height:1.08;max-width:370px}.clinic-grid,.specialist-grid{grid-template-columns:1fr;gap:32px}.clinic-profile{grid-template-columns:.85fr 1.15fr;gap:18px}.clinic-portrait{aspect-ratio:auto;min-height:245px}.profile-copy{min-height:0}.profile-copy h3{font-size:31px}.profile-heading .circle-link{width:32px;height:32px}.profile-subtitle{font-size:11px;line-height:1.45;margin-bottom:12px}.dash-list{font-size:11px;margin-bottom:0}.dash-list li{padding-left:15px}.address{font-size:11px;margin-top:18px;gap:8px}.address .round-icon{width:28px;height:28px}.specialists{padding-top:32px}.specialists h2{font-size:39px;line-height:1.05}.specialist-profile{grid-template-columns:.85fr 1.15fr;gap:18px}.specialist-portrait{aspect-ratio:auto;min-height:230px}.specialist-profile .profile-copy{min-height:230px}.specialist-profile h3{font-size:31px}.specialist-profile .muted{font-size:11px;margin-bottom:12px}.specialist-profile .text-link{font-size:11px}.steps{padding-top:24px}.steps h2{font-size:40px}.steps-note{font-size:11px}.steps .text-link{font-size:10px}.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px}.step-title{display:flex;gap:9px}.step-icon{margin:0;width:31px;height:31px}.step h3{font-size:23px}.step p{padding-left:40px;font-size:11px}.step:not(:last-child):after{top:38px;right:-21px}.step:nth-child(2):after{display:none}.steps-visual{min-height:155px}.cases{padding-top:22px}.cases-heading h2{font-size:38px;flex-basis:70%}.cases-heading>p{flex-basis:100%;font-size:11px;margin:0}.slider-controls{gap:6px}.slider-controls .round-icon{width:33px;height:33px;font-size:19px}.case-slide{display:grid;grid-template-columns:1fr;gap:23px}.case-video{grid-row:auto;max-height:none;width:75%;justify-self:center}.case-copy{grid-row:2}.case-copy h3{font-size:34px}.case-text p{font-size:13px}.case-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.case-metrics>div+div{border-left:1px solid var(--line);padding-left:10px}.case-metrics strong{font-size:22px}.case-metrics span{font-size:10px;display:block}.case-copy .button{font-size:12px}.case-results{grid-column:1;grid-row:3;gap:8px 16px}.case-empty .case-copy{text-align:center}.final-inner{display:flex;flex-direction:column}.final-copy{padding-block:32px}.final-copy h2{font-size:43px;max-width:390px;line-height:1.05}.final-description{font-size:16px;max-width:320px}.final-copy .actions{flex-direction:row;align-items:center;gap:20px}.final-copy .button{font-size:11px;padding:15px 17px}.final-copy .video-link{font-size:11px;gap:9px}.final-copy .round-icon{width:35px;height:35px}.final-visual{margin:0 calc(-1*var(--gutter));min-height:240px;aspect-ratio:1.7}.final-visual .anatomy-terms{right:25px;top:30%;width:90px;font-size:9px}.site-footer{padding-top:25px}.footer-inner{grid-template-columns:1fr 1fr;gap:24px 18px}.footer-name{font-size:13px}.footer-clinic>div>p{font-size:8px}.footer-nav{font-size:10px;gap:15px}.footer-bottom{flex-direction:column;gap:10px}.modal-panel{padding:44px 25px 26px}.modal h2{font-size:37px}.modal-panel>p{font-size:13px;margin-bottom:20px}.modal-panel>.form-consent{font-size:10px;margin-top:15px}.wpcf7 input[type=submit]{width:100%}.video-modal .modal-panel{padding:48px 12px 12px}}
@media(max-width:374px){:root{--gutter:16px}.brand-name{font-size:21px}.brand-name--second{font-size:19px}.brands{gap:8px}.brand-caption{font-size:5.5px}.hero .actions,.final-copy .actions{flex-direction:column;align-items:flex-start;gap:16px}.hero-copy h1{font-size:49px}.hero-subtitle{font-size:18px}.clinic-teaser>div:first-child{padding:16px}.problem-card h3{font-size:22px}.clinic-profile,.specialist-profile{gap:14px;grid-template-columns:.75fr 1.25fr}.profile-copy h3{font-size:28px}.clinic-portrait{min-height:250px}.specialist-portrait{min-height:240px}.specialist-profile .profile-copy{min-height:240px}.step-title{display:block}.step-icon{margin-bottom:8px}.step p{padding-left:0}.steps .section-heading .text-link{display:none}.cases-heading h2{font-size:33px}.cases-heading{gap:8px}.slider-controls .round-icon{width:30px;height:30px}.final-copy h2{font-size:39px}}

/* 12. Motion */
@keyframes dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Additional WordPress pages share the same stylesheet. */
.page-content{padding-block:clamp(36px,6vw,80px);min-height:60vh;max-width:1000px}.page-content h1{font-size:clamp(40px,5vw,70px);margin-bottom:30px}.page-content p{margin-bottom:18px}.page-content a{text-decoration:underline}.page-content ul,.page-content ol{list-style:revert;padding-left:24px;margin-bottom:20px}

/* Uploaded images use their own transparency; gray is only for empty slots. */
.media.has-image{background:transparent}
.final-visual>.media.has-image{padding-top:12px}
.final-visual>.media.has-image img{object-fit:contain;object-position:center bottom}

/* Specialist portraits keep the complete photograph and a comfortable column width. */
.specialist-profile{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.specialist-portrait{width:100%;min-width:0;min-height:0;aspect-ratio:3/4;align-self:start}
.specialist-portrait.has-image{aspect-ratio:auto}
.specialist-portrait img{width:100%;height:auto;object-fit:contain;object-position:center top}
.specialist-profile .profile-copy{min-width:0;min-height:0}
.specialist-profile h3{max-width:none;overflow-wrap:anywhere}
@media(max-width:1024px){
    .specialist-profile{grid-template-columns:minmax(0,1fr);gap:20px}
    .specialist-portrait{max-width:360px;margin-inline:auto}
}
@media(max-width:767px){
    .specialist-grid{grid-template-columns:minmax(0,1fr);gap:36px}
    .specialist-profile{grid-template-columns:minmax(0,1fr);gap:20px}
}

/* Clinic patient groups: crown and braces line icons. */
.clinic-teaser-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.clinic-focus-icon{display:flex;flex-shrink:0;width:38px;height:38px;margin-top:16px;align-items:center;justify-content:center;color:#656762}
.clinic-focus-icon svg{width:36px;height:36px;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
@media(max-width:540px){.clinic-focus-icon{width:34px;height:34px;margin-top:14px}.clinic-focus-icon svg{width:32px;height:32px}.clinic-teaser{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}

/* Six editable treatment stages. */
.steps-layout{grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:30px;align-items:center}
.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 28px;align-items:start}
.steps-grid .step{min-width:0;padding-bottom:12px}
.steps-grid .step-title{display:flex;gap:10px}
.steps-grid .step h3{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.steps-grid .step p{font-size:12px;padding-left:46px}
.steps-grid .step-icon{width:36px;height:36px;margin:0}
.steps-grid .step-icon svg{width:27px;height:27px;stroke-linecap:round;stroke-linejoin:round}
.steps-grid .step:after{display:none}
.steps-grid .step:not(:last-child):after{display:block;right:-24px;top:36px;font-size:21px}
.steps-grid .step:nth-child(3n):after{display:none}
.steps-visual{align-self:center;width:100%;min-height:0;aspect-ratio:1.1}
.steps-visual .media img{object-fit:contain}
@media(max-width:1024px){.steps-layout{grid-template-columns:minmax(0,1fr) 200px;gap:25px}.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}.steps-grid .step:nth-child(3n):not(:last-child):after{display:block}.steps-grid .step:nth-child(2n):after{display:none}.steps-grid .step h3{font-size:23px}}
@media(max-width:767px){.steps-layout{grid-template-columns:minmax(0,1fr)}.steps-visual{max-width:320px;justify-self:center;aspect-ratio:1.65}.steps-grid .step h3{font-size:24px}}
@media(max-width:540px){.steps-grid{grid-template-columns:minmax(0,1fr);gap:16px}.steps-grid .step-title{align-items:center;margin-bottom:8px}.steps-grid .step h3{font-size:27px}.steps-grid .step p{font-size:12px;max-width:430px}.steps-grid .step:not(:last-child):after{display:none}.steps-grid .step:nth-child(3n):not(:last-child):after{display:none}.steps-visual{max-width:280px}}

/* Two rehabilitation directions with a shared heading. */
.approach--branches{padding-block:46px 48px}
.rehab-heading{text-align:center;font-size:clamp(36px,3.7vw,54px);line-height:1.08;max-width:920px;margin:0 auto}
.rehab-branches{width:100%;max-width:1000px;height:76px;margin:8px auto 0;color:#999e98}
.rehab-branches svg{width:100%;height:100%;display:block;overflow:visible}
.rehab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;max-width:1100px;margin-inline:auto}
.rehab-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 30px 30px;border:1px solid #50534f;border-radius:16px;background:#303232}
.rehab-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:17px;color:#cbd0c6}
.rehab-icon svg{width:40px;height:40px;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.rehab-icon svg rect[fill]{fill:#303232}
.rehab-card h3{font-size:clamp(27px,2.7vw,38px);line-height:1.1;overflow-wrap:anywhere;max-width:100%}
.rehab-card p{font-size:15px;color:#c6c9c3;line-height:1.55;margin-top:16px;max-width:440px}
@media(max-width:767px){.approach--branches{padding-block:36px}.rehab-grid{gap:18px}.rehab-card{padding:24px 18px}.rehab-card h3{font-size:28px}.rehab-card p{font-size:13px}.rehab-branches{height:60px}}
@media(max-width:540px){.rehab-heading{font-size:37px}.rehab-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:25px}.rehab-branches{display:none}.rehab-card{padding:24px 22px}.rehab-card h3{font-size:32px}.rehab-card p{font-size:14px}.rehab-icon{margin-bottom:14px}}
