/* CORNEA · expressive contemporary edition */
:root{--blue:#2559df;--ink:#152645;--muted:#62728b;--light:#eff3ff;--line:#e0e6f1}body{font-family:Manrope,Arial,sans-serif;background:#fafbff;font-size:17px;line-height:1.5}h1,h2,h3{font-family:Manrope,Arial,sans-serif}h2{font-size:clamp(44px,4.9vw,70px);line-height:1.12;font-weight:600;letter-spacing:-.065em}h2 span{color:#7b8ba4}.wrap{width:min(1320px,calc(100% - 80px))}.section{padding-top:115px;padding-bottom:115px}.eyebrow{font-size:12px;letter-spacing:.12em;margin-bottom:25px}.header-row{height:100px}.logo>span{font-size:27px;letter-spacing:-.065em}.logo small{font-size:9px}.logo svg{width:46px;height:46px}nav{gap:25px}nav a{font-size:15px;font-weight:600}.header-actions{gap:24px}.header-phone{font-size:27px}.header-phone small{font-size:10px}.btn{border-radius:15px;min-height:62px;font-size:16px;padding:19px 26px;font-weight:700}.btn span{font-size:27px}.compact{min-height:50px;font-size:14px;padding:13px 20px}.hero{padding-top:52px;padding-bottom:66px;grid-template-columns:1.14fr 1fr;gap:42px}.hero-copy{padding:30px 0}.hero .eyebrow{font-size:12px}.hero h1{position:relative;font-size:clamp(66px,7.1vw,102px);font-weight:600;line-height:1.025;letter-spacing:-.075em}.headline-star{width:53px;height:53px;position:absolute;bottom:13px;right:32px;color:var(--blue);transform:rotate(12deg)}.hero h1 span{color:var(--blue)}.intro{font-size:18px;line-height:1.65;max-width:490px;margin:31px 0 32px}.hero-actions{gap:27px}.text-link{font-size:16px;font-weight:600;gap:18px}.hero-note{margin-top:40px;gap:15px}.hero-note strong{font-size:13px}.hero-note small{font-size:12px;margin-top:4px}.avatars img{height:45px;width:45px}.hero-visual{height:655px;border-radius:32px;background:#d9e6fc;overflow:hidden}.hero-photo{inset:84px 0 0;height:calc(100% - 84px);object-position:52% center;filter:saturate(.85)}.hero-visual:after{inset:45% 0 0;background:linear-gradient(transparent,#0625688c)}.visual-label{top:33px;left:28px;font-size:10px;letter-spacing:.1em}.visual-corner{position:absolute;top:13px;right:24px;color:var(--blue);font-size:45px;letter-spacing:-.08em;font-weight:800}.visual-corner span{font-size:13px;vertical-align:top;letter-spacing:0}.photo-tag{position:absolute;top:115px;left:25px;background:#ffffffc9;backdrop-filter:blur(8px);padding:11px 14px;border-radius:10px;font-size:10px;line-height:1.5;letter-spacing:.1em;color:var(--blue);z-index:2}.visual-card{bottom:52px;left:22px;right:22px;border-radius:20px;padding:25px;gap:18px}.visual-card strong{font-size:21px;letter-spacing:-.04em;line-height:1.25}.visual-card small{font-size:11px;line-height:1.4}.visual-card button{width:49px;height:49px;font-size:27px;flex-shrink:0}.card-icon{font-size:48px}.visual-bottom{bottom:22px;font-size:10px}.care-strip{background:var(--blue)}.care-strip .wrap{min-height:89px;gap:25px}.care-strip span{font-size:14px;letter-spacing:-.025em;gap:20px}.care-strip b{font-size:35px}.vision{display:grid;grid-template-columns:1fr 1fr;gap:95px;align-items:center;padding-top:95px;padding-bottom:85px;border-bottom:1px solid var(--line)}.vision-art{color:var(--blue);position:relative;padding:35px 15px;background:#eff3ff;border-radius:50% 50% 18px 18px}.vision-art svg{width:100%;display:block}.vision-art>span{display:block;text-align:center;font-size:10px;letter-spacing:.18em;margin-top:22px;color:#627aa9}.vision h2{font-size:clamp(38px,3.65vw,52px)}.vision p{font-size:17px;margin-top:26px;max-width:480px}.section-head{margin-bottom:48px;gap:55px}.section-head>p{font-size:17px;max-width:340px;line-height:1.7}.services-grid{grid-template-columns:repeat(3,1fr);gap:19px}.service-card{background:white;border:1px solid var(--line);min-height:320px;padding:30px;border-radius:24px;box-shadow:0 8px 22px #203e8103}.service-card:hover{background:white;border-color:#9cb7fa;box-shadow:0 20px 40px #203e8112;transform:translateY(-5px)}.service-top{margin-bottom:30px}.service-icon{font-size:46px}.service-number{font-size:13px}.service-card h3{font-size:25px;font-weight:600;line-height:1.22;letter-spacing:-.05em;margin-bottom:15px}.service-card p{font-size:15px;line-height:1.65}.service-link{padding-top:27px;font-size:14px}.service-link b{font-size:27px}.service-feature-label{font-size:10px;letter-spacing:.15em;margin-bottom:13px}.service-card:first-child{grid-column:span 2;background:var(--blue);color:white;border-color:var(--blue);position:relative;overflow:hidden;padding-right:30%;min-height:360px}.service-card:first-child:after{content:'';position:absolute;width:255px;height:255px;border:1px solid #ffffff36;border-radius:50%;right:-47px;top:68px;box-shadow:0 0 0 37px #ffffff0a,0 0 0 75px #ffffff08;pointer-events:none}.service-card:first-child .service-icon,.service-card:first-child .service-number,.service-card:first-child .service-link{color:white}.service-card:first-child h3{font-size:38px;line-height:1.18}.service-card:first-child p{color:#d8e4ff;max-width:410px}.service-card:first-child .service-top{margin-bottom:17px}.service-card:nth-child(4){background:#eaf0ff}.service-card:last-child{background:#162d59;color:white}.service-card:last-child p{color:#c2d0e8}.service-card:last-child .service-icon,.service-card:last-child .service-link{color:#b3ccff}.clinic-section{padding:100px 0;background:#eef3fb}.clinic-grid{gap:75px}.clinic-image{height:650px;border-radius:28px}.clinic-image>img{object-position:center}.clinic-stamp{position:absolute;top:25px;left:25px;border:1px solid #ffffffa0;border-radius:50%;background:#ffffffda;color:var(--blue);width:105px;height:105px;display:grid;place-content:center;text-align:center;font-size:10px;font-weight:700;letter-spacing:.05em;line-height:1.6;z-index:2;transform:rotate(-12deg)}.image-caption{left:35px;bottom:35px}.image-caption span{font-size:15px}.image-caption strong{font-size:38px;line-height:1.2;letter-spacing:-.045em}.clinic-copy>p{font-size:17px;line-height:1.75;margin:27px 0}.feature{gap:23px;padding:22px 0}.feature>span{font-size:14px}.feature h3{font-size:22px;letter-spacing:-.035em}.feature p{font-size:15px;line-height:1.65}.clinic-copy>.text-link{margin-top:24px}.doctors-grid{gap:23px}.doctor{border:1px solid var(--line);padding:12px;background:white;border-radius:24px}.doctor-image{aspect-ratio:4/4.9;border-radius:16px;margin-bottom:24px}.doctor-image span{font-size:11px;padding:12px 13px;left:10px;right:10px;bottom:10px}.doctor h3{font-size:24px;line-height:1.22;margin:0 9px;letter-spacing:-.045em}.patronymic{font-size:14px;margin:7px 9px 0}.doctor p{font-size:14px;margin:18px 9px 23px;line-height:1.65}.doctor-book{margin:0 9px;margin-top:auto;padding:18px 0 9px;font-size:14px}.doctor-book span{font-size:25px}.journey{background:#eaf0fb}.steps{gap:25px}.step>div{border-radius:20px;aspect-ratio:1.2;margin-bottom:25px}.step>div>span{width:46px;height:46px;font-size:14px;bottom:12px;left:12px}.step h3{font-size:24px;letter-spacing:-.045em;line-height:1.25;margin-bottom:17px}.step p{font-size:15px;line-height:1.7}.faq-grid{gap:85px}.faq-grid>div>p{font-size:17px}summary{font-size:21px;padding:27px 0;line-height:1.5;font-weight:500;letter-spacing:-.025em}summary span{font-size:32px}details p{font-size:16px;line-height:1.75;padding-bottom:28px}.contact-section{background:#1948b0;position:relative;isolation:isolate;overflow:hidden;padding:100px 0}.contact-section:before{content:'';position:absolute;left:-200px;bottom:-450px;width:900px;height:900px;border-radius:50%;border:1px solid #ffffff16;box-shadow:0 0 0 65px #ffffff03,0 0 0 130px #ffffff02;z-index:-1;pointer-events:none}.contact-grid{gap:85px}.contact-section h2{font-size:clamp(46px,5.1vw,74px);line-height:1.08;letter-spacing:-.065em}.contact-grid>div>p{font-size:17px;max-width:470px;color:#d7e2fa;margin:29px 0}.big-phone{font-size:80px;padding:7px 0 22px;max-width:480px;font-weight:600}.big-phone span{font-size:50px}.contact-details{gap:37px;margin:32px 0}.contact-details small{font-size:10px}.contact-details strong{font-size:15px}.social{font-size:14px;color:#dce8ff}.contact-form{padding:40px;border-radius:28px;box-shadow:0 30px 80px #0c267433}.contact-form h3{font-size:33px;line-height:1.25;font-weight:600;margin-bottom:30px}form{gap:20px}label{font-size:14px;gap:11px}input,select{font-size:16px;padding:17px 16px;border-radius:12px;min-height:58px;background:#f5f7fc}form small{font-size:12px;line-height:1.65}.form-status{font-size:15px;line-height:1.6}footer{background:#113783;padding:40px 0}.footer-row p,.footer-row>a:last-child{font-size:14px}dialog{font-family:Manrope,Arial,sans-serif;padding:38px;border-radius:26px;width:min(540px,calc(100% - 32px))}dialog h2{font-size:34px;letter-spacing:-.045em}.dialog-intro{font-size:16px;line-height:1.6;margin:20px 0 27px}dialog .eyebrow{font-size:11px}.dialog-close{width:38px;height:38px;font-size:28px;right:17px;top:17px}
@media(min-width:1600px){.hero{gap:65px}.hero h1{font-size:108px}.hero-visual{height:700px}}@media(max-width:1200px){.wrap{width:calc(100% - 56px)}.header-phone{display:none}nav{gap:19px}nav a{font-size:14px}.hero h1{font-size:clamp(63px,7.5vw,90px)}.hero{gap:30px}.headline-star{right:14px;width:40px;height:40px}.hero-visual{height:610px}.intro{font-size:17px}.hero-actions{gap:20px}.hero-actions .btn{padding:17px 18px;font-size:14px;gap:17px}.hero-actions .text-link{font-size:14px}.hero-note strong{font-size:11px}.hero-note small{font-size:11px}.care-strip span{font-size:12px}.care-strip b{font-size:28px}.service-card{padding:25px;min-height:330px}.service-card h3{font-size:23px}.service-card:first-child h3{font-size:34px}.doctor h3{font-size:21px}.doctor-image span{font-size:10px}.doctor p{font-size:13px}.doctor-book{font-size:12px}.clinic-grid{gap:50px}.clinic-image{height:650px}.contact-grid{gap:50px}.contact-form{padding:30px}.contact-details strong{font-size:13px}.vision{gap:60px}}
@media(max-width:900px){.header-row{height:84px}.menu-btn{display:block;width:48px;height:48px}nav{display:none;top:84px}nav.open{display:flex}nav a{font-size:17px}.header-actions{gap:13px}.hero{grid-template-columns:1fr 1fr;gap:24px}.hero h1{font-size:63px}.hero-visual{height:565px}.headline-star{display:none}.hero-actions{align-items:flex-start;flex-direction:column;gap:20px}.hero-note{margin-top:30px}.hero-note .avatars img{width:35px;height:35px}.intro{font-size:16px}.visual-card{padding:19px;gap:11px;left:14px;right:14px}.visual-card strong{font-size:17px}.visual-card small{font-size:10px}.visual-card .card-icon{font-size:37px}.visual-card button{width:39px;height:39px}.care-strip .wrap{display:grid;grid-template-columns:1fr 1fr;padding:20px 0;gap:15px;min-height:115px}.care-strip span{font-size:14px;white-space:normal}.care-strip b{display:none}.vision{gap:40px;padding:70px 0}.vision h2{font-size:36px}.vision p{font-size:16px}.section{padding-top:80px;padding-bottom:80px}.section-head{align-items:flex-start;gap:30px}.section-head>p{font-size:16px;max-width:260px}.services-grid{grid-template-columns:repeat(2,1fr)}.service-card:first-child{grid-column:span 2;padding-right:30%;min-height:360px}.service-card:last-child{grid-column:span 2;min-height:260px}.clinic-grid{grid-template-columns:1fr;gap:40px}.clinic-image{height:480px}.clinic-copy{max-width:680px}.doctors-grid{grid-template-columns:repeat(2,1fr);gap:26px}.doctor h3{font-size:26px}.doctor p{font-size:16px}.doctor-book{font-size:15px}.doctor-image span{font-size:12px}.patronymic{font-size:15px}.steps{grid-template-columns:1fr 1fr;gap:34px 26px}.step h3{font-size:25px}.step p{font-size:16px}.journey .section-head{flex-direction:column}.faq-grid{grid-template-columns:1fr;gap:28px}.contact-grid{grid-template-columns:1fr;gap:45px}.contact-form{max-width:660px;padding:38px}.contact-section h2{font-size:62px}.contact-details strong{font-size:16px}.footer-row p,.footer-row>a:last-child{font-size:12px}}
@media(max-width:680px){.wrap{width:calc(100% - 40px)}.hero{grid-template-columns:1fr;gap:35px;padding-top:37px;padding-bottom:40px}.hero-copy{padding:8px 0}.hero h1{font-size:clamp(58px,12.5vw,80px)}.hero h1 span br{display:block}.headline-star{display:block;width:47px;height:47px;right:15px;bottom:10px}.intro{font-size:18px;max-width:100%;margin:26px 0 28px}.hero-actions{flex-direction:row;align-items:center;gap:25px}.hero-actions .btn{font-size:15px;padding:18px 20px}.hero-actions .text-link{font-size:15px}.hero-note strong{font-size:12px}.hero-note small{font-size:12px}.hero-note .avatars img{width:40px;height:40px}.hero-visual{height:520px;border-radius:25px;max-width:600px}.hero-photo{object-position:center 30%;inset:75px 0 0;height:calc(100% - 75px)}.visual-card{left:19px;right:19px;bottom:50px;padding:23px;gap:16px}.visual-card strong{font-size:21px}.visual-card small{font-size:11px}.visual-card button{width:44px;height:44px}.visual-label{font-size:10px;top:29px;left:23px}.visual-corner{font-size:40px;right:20px;top:12px}.photo-tag{top:95px;left:20px}.vision{grid-template-columns:1fr;gap:35px;padding:60px 0}.vision-art{max-width:480px;width:100%;margin:auto;padding:25px}.vision-art svg{max-height:220px}.vision h2{font-size:42px}.vision p{font-size:17px}.section-head{flex-direction:column;gap:22px;margin-bottom:32px}.section-head>p{max-width:100%;font-size:17px}.services-grid{gap:15px}.service-card{min-height:350px;padding:24px}.service-card h3{font-size:23px}.service-card p{font-size:15px}.service-card:first-child{padding-right:22%;min-height:385px}.service-card:first-child h3{font-size:37px}.service-card:first-child:after{right:-160px}.service-card:last-child{grid-column:auto;min-height:350px}.clinic-section{padding:65px 0}.clinic-image{height:420px}.clinic-copy>p{font-size:17px}.feature h3{font-size:22px}.feature p{font-size:16px}.image-caption strong{font-size:34px}.doctors-grid{gap:22px 16px}.doctor{padding:9px;border-radius:20px}.doctor h3{font-size:22px;margin:0 6px}.patronymic{font-size:13px;margin-left:6px;margin-right:6px}.doctor p{font-size:14px;margin-left:6px;margin-right:6px}.doctor-image span{font-size:10px;padding:10px 9px}.doctor-book{font-size:12px;margin-left:6px;margin-right:6px}.step h3{font-size:22px}.step p{font-size:15px}.step>div{aspect-ratio:1.05}.faq-grid>div>p{font-size:17px}summary{font-size:20px}details p{font-size:16px}.contact-section{padding:70px 0}.contact-section h2{font-size:54px}.contact-grid>div>p{font-size:17px}.big-phone{font-size:74px}.contact-details strong{font-size:14px}.contact-form{padding:30px}.contact-form h3{font-size:30px}.footer-row{flex-wrap:wrap}.footer-row p{font-size:13px}.footer-row>a:last-child{font-size:13px;width:100%}footer{padding-bottom:115px}.mobile-bar{display:flex;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.mobile-bar a,.mobile-bar button{font-size:14px;min-height:49px;border-radius:12px}}
@media(max-width:430px){.wrap{width:calc(100% - 36px)}.header-row{height:78px}.logo>span{font-size:20px}.logo small{font-size:6px}.logo svg{width:29px}.header-actions{gap:8px}.header-actions .compact{font-size:12px;padding:11px 13px;gap:11px;min-height:43px}.header-actions .compact span{font-size:19px}.menu-btn{width:38px;height:43px;padding:10px}nav{top:78px}nav a{font-size:17px}.hero h1{font-size:clamp(51px,13.5vw,59px)}.hero .eyebrow{font-size:10px}.headline-star{width:36px;height:36px;right:10px;bottom:8px}.intro{font-size:17px;line-height:1.65}.hero-actions{gap:17px}.hero-actions .btn{font-size:13px;padding:17px;min-height:57px;gap:13px}.hero-actions .text-link{font-size:13px;gap:10px}.hero-note{gap:11px}.hero-note strong{font-size:10px}.hero-note small{font-size:11px}.hero-note .avatars img{width:34px;height:34px}.hero-visual{height:435px;border-radius:24px}.visual-card{padding:20px;left:14px;right:14px;gap:12px}.visual-card strong{font-size:19px}.visual-card small{font-size:9px}.visual-card button{width:38px;height:38px}.visual-card .card-icon{font-size:35px}.care-strip span{font-size:12px}.care-strip .wrap{gap:13px}.vision h2{font-size:37px}.vision p{font-size:16px}.vision-art{padding:25px 14px}.vision-art>span{font-size:9px}.section{padding:65px 0}h2{font-size:40px}.eyebrow{font-size:10px}.section-head>p{font-size:16px}.services-grid{grid-template-columns:1fr;gap:15px}.service-card{min-height:280px;padding:27px}.service-card:first-child{grid-column:auto;min-height:390px;padding:28px}.service-card:first-child h3{font-size:35px}.service-card:first-child:after{right:-165px;top:50px}.service-card:first-child p{max-width:250px}.service-card:last-child{min-height:280px}.service-card h3{font-size:27px}.service-card p{font-size:16px}.service-link{font-size:15px}.service-top{margin-bottom:25px}.service-number{font-size:13px}.service-icon{font-size:45px}.service-feature-label{font-size:10px}.clinic-image{height:410px}.image-caption{left:25px;bottom:28px}.image-caption strong{font-size:30px}.clinic-stamp{left:20px;top:20px;width:88px;height:88px;font-size:9px}.clinic-copy>p{font-size:16px}.feature h3{font-size:22px}.feature p{font-size:15px}.feature>span{font-size:12px}.doctors-grid{grid-template-columns:1fr;gap:24px}.doctor{padding:14px;border-radius:25px}.doctor-image{aspect-ratio:4/4.2;max-height:410px;margin-bottom:24px}.doctor h3{font-size:28px;margin:0 9px}.patronymic{font-size:16px;margin-left:9px;margin-right:9px}.doctor p{font-size:16px;margin:20px 9px 25px}.doctor-image span{font-size:12px;left:13px;right:13px;bottom:13px;padding:12px}.doctor-book{font-size:16px;margin:0 9px;padding:20px 0 10px}.steps{grid-template-columns:1fr;gap:33px}.step>div{aspect-ratio:1.45;margin-bottom:22px}.step>div>span{width:44px;height:44px;font-size:14px}.step h3{font-size:27px}.step p{font-size:16px}.faq-grid{gap:23px}summary{font-size:18px;line-height:1.5;padding:24px 0}details p{font-size:16px;padding-right:10px}.contact-section h2{font-size:46px}.contact-grid>div>p{font-size:17px}.contact-details{flex-direction:column;gap:23px}.contact-details small{font-size:10px}.contact-details strong{font-size:16px}.social{font-size:13px}.contact-form{padding:27px 23px;border-radius:23px}.contact-form h3{font-size:29px}label{font-size:14px}input,select{font-size:16px;min-height:58px;padding:16px 13px}form .btn{font-size:16px;gap:15px;padding:18px 20px}form small{font-size:12px}.form-status{font-size:15px}dialog{padding:34px 24px;width:calc(100% - 28px)}dialog h2{font-size:30px}.dialog-intro{font-size:16px}.dialog-close{top:12px;right:12px}.mobile-bar a,.mobile-bar button{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Mobile navigation and compact two-column layouts */
@media(max-width:900px){
 nav{left:20px;right:20px;top:calc(100% + 10px);padding:23px;border:1px solid #4777e3;background:#1949b8;color:white;border-radius:22px;box-shadow:0 22px 45px #132a5c30;max-height:calc(100dvh - 180px);overflow-y:auto;gap:0;counter-reset:nav-link}
 nav::before{content:'Карния / НАВИГАЦИЯ';font-size:10px;font-weight:700;letter-spacing:.13em;color:#b9d0ff;display:block;padding:2px 10px 16px}
 nav a{color:white;display:flex;align-items:center;gap:18px;font-size:19px;font-weight:500;padding:17px 10px;border-top:1px solid #ffffff20;border-radius:0;counter-increment:nav-link}
 nav a::before{content:'0' counter(nav-link);color:#b5ccff;font-size:11px;letter-spacing:.08em}
 nav a:hover,nav a:focus-visible{background:#ffffff10;color:white;border-radius:9px}
 .menu-btn[aria-expanded="true"]{background:var(--blue)}.menu-btn[aria-expanded="true"] span{background:white}
}
@media(max-width:680px){.header-actions .compact{display:none}.header-row{justify-content:space-between}.header-actions{margin-left:auto}.doctors-grid,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){
 .doctors-grid{gap:24px 12px}.doctor{min-width:0;padding:8px;border-radius:18px}.doctor-image{aspect-ratio:4/5;border-radius:12px;margin-bottom:16px;max-height:none}.doctor-image span{left:5px;right:5px;bottom:6px;padding:8px 6px;font-size:9px;line-height:1.4;border-radius:7px}.doctor h3{font-size:19px;line-height:1.25;letter-spacing:-.04em;margin:0 4px;overflow-wrap:normal}.patronymic{font-size:11px;line-height:1.5;margin:6px 4px 0;overflow-wrap:anywhere}.doctor p{font-size:13px;line-height:1.65;margin:14px 4px 20px}.doctor-book{font-size:12px;line-height:1.45;margin:0 4px;margin-top:auto;padding:15px 0 7px;gap:7px}.doctor-book span{font-size:21px}
 .steps{gap:30px 16px}.step{min-width:0}.step>div{aspect-ratio:1.1;border-radius:14px;margin-bottom:18px}.step>div>span{width:32px;height:32px;left:8px;bottom:8px;font-size:12px}.step h3{font-size:20px;line-height:1.3;letter-spacing:-.04em;margin-bottom:12px}.step p{font-size:14px;line-height:1.7}
 nav{left:14px;right:14px;padding:20px;border-radius:20px}nav a{font-size:18px;padding:16px 8px}
}
/* Custom accessible service selector; native select remains the form value. */
.choice{position:relative;min-width:0}.choice-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;min-height:58px;width:100%;border:1px solid #e4e9f1;border-radius:12px;background:#f5f7fc;padding:16px;color:var(--ink);font-size:16px;font-weight:500;line-height:1.45}.choice-trigger>span:first-child{min-width:0}.choice-trigger:after{content:'';width:8px;height:8px;flex-shrink:0;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg);margin-right:4px;margin-top:-4px;transition:transform .2s}.choice-trigger[aria-expanded="true"]{border-color:var(--blue);box-shadow:0 0 0 3px #2559df12;background:#fff}.choice-trigger[aria-expanded="true"]:after{transform:rotate(225deg);margin-top:5px}.choice-trigger:focus-visible{outline:3px solid #2559df26;outline-offset:2px}.choice-list{position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:40;background:white;padding:7px;border:1px solid #dfe6f6;box-shadow:0 16px 40px #142e602b;border-radius:14px;max-height:270px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bed0f5 transparent}.choice.open-up .choice-list{top:auto;bottom:calc(100% + 9px)}.choice-list[hidden]{display:none}.choice-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;background:white;color:#40526e;border-radius:9px;padding:13px 12px;font-size:14px;font-weight:500;line-height:1.5}.choice-option[aria-selected="true"]{background:#edf3ff;color:var(--blue);font-weight:700}.choice-option[aria-selected="true"]:after{content:'✓';font-size:17px;flex-shrink:0}.choice-option.active,.choice-option:hover{background:#e7efff;color:var(--blue)}.choice-list::-webkit-scrollbar{width:5px}.choice-list::-webkit-scrollbar-thumb{background:#bed0f5;border-radius:5px}
@media(max-width:430px){.choice-trigger{font-size:16px;padding:16px 13px}.choice-option{font-size:14px;padding:12px 10px}}
/* Compact service navigation on phones. */
.mobile-services{display:none}.care-strip span{justify-content:flex-start;gap:16px}.care-strip b{display:inline-block;flex-shrink:0;line-height:1;font-size:30px}
.faq-list details,.faq-list details[open],.faq-list summary,.faq-list summary:active,.faq-list summary:hover{background:transparent}.faq-list summary,.mobile-services summary{-webkit-tap-highlight-color:transparent;user-select:none}.faq-list summary:focus:not(:focus-visible){outline:none}.faq-list summary:focus-visible{outline:2px solid var(--blue);outline-offset:5px;border-radius:6px}
@media(max-width:900px){.care-strip span{gap:10px}.care-strip b{display:inline-block;font-size:21px}}
@media(max-width:680px){
 #services .services-grid{display:none}.mobile-services{display:block;border:1px solid #dfe6f1;border-radius:20px;overflow:hidden;background:#fff}.service-row{border-bottom:1px solid var(--line)}.service-row:last-child{border-bottom:0}.service-row>summary{padding:20px;display:flex;align-items:center;gap:15px;list-style:none;min-height:82px;margin:0;font-weight:600;color:var(--ink);letter-spacing:-.025em;background:transparent}.service-row>summary::-webkit-details-marker{display:none}.service-row>summary:focus-visible{outline:2px solid var(--blue);outline-offset:-3px;border-radius:8px}.service-row>summary span{font-size:inherit;color:inherit}.service-row>summary .mobile-service-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;font-size:30px;font-weight:400;color:var(--blue);background:#eff4ff;border-radius:10px}.service-row>summary .mobile-service-title{font-size:17px;line-height:1.4;flex:1}.service-row>summary .service-toggle{font-size:27px;line-height:1;font-weight:400;color:var(--blue);width:20px;flex-shrink:0;text-align:center}.service-row[open]>summary{background:#f4f7ff}.service-row[open]>summary .service-toggle{transform:rotate(45deg)}.service-row[open]>summary .mobile-service-icon,.service-row[open]>summary .mobile-service-title{transform:none}.service-row-body{padding:0 20px 23px 73px;background:#f4f7ff}.service-row-body p{font-size:15px;line-height:1.7;margin-bottom:19px}.service-row-body .btn{min-height:46px;font-size:13px;padding:12px 17px;border-radius:11px;gap:35px}.service-row-body .btn span{font-size:22px}#services .section-head{margin-bottom:28px}#services .section-head h2{font-size:38px}#services .section-head>p{font-size:15px;line-height:1.65}.care-strip .wrap{gap:17px 14px;padding:22px 0}.care-strip span{font-size:12px;align-items:center;line-height:1.5}.care-strip b{font-size:22px}
}
@media(max-width:380px){.service-row>summary{padding:18px 16px;gap:11px}.service-row>summary .mobile-service-title{font-size:16px}.service-row-body{padding-left:65px;padding-right:16px}.care-strip span{font-size:11px}.care-strip b{font-size:19px}.care-strip .wrap{column-gap:12px}}

/* Match the visible left edge of ж to the preceding heading lines. */
.hero h1 .hero-life{display:inline-block;transform:translateX(.06em)}

/* Clearer team note beneath the hero buttons. */
.hero-note{gap:18px;margin-top:36px}.hero-note .avatars img{width:52px;height:52px}.hero-note strong{font-size:16px;font-weight:600;line-height:1.45}.hero-note small{font-size:14px;line-height:1.5;margin-top:5px}
@media(max-width:1100px){.hero-note{gap:13px}.hero-note .avatars img{width:44px;height:44px}.hero-note strong{font-size:14px}.hero-note small{font-size:13px}}
@media(max-width:680px){.hero-note{gap:16px;margin-top:31px}.hero-note .avatars img{width:46px;height:46px}.hero-note strong{font-size:14px;line-height:1.5}.hero-note small{font-size:13px;line-height:1.5}.hero-note>div:last-child{min-width:0;flex:1}.hero-note .avatars{flex-shrink:0}}
@media(max-width:380px){.hero-note{gap:12px}.hero-note .avatars img{width:42px;height:42px}.hero-note strong{font-size:13px}.hero-note small{font-size:12px}}

/* Booking interactions and confirmation */
.btn[data-book],.mobile-bar button[data-book],form button[type="submit"]{position:relative;isolation:isolate;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.btn[data-book]::after,.mobile-bar button[data-book]::after,form button[type="submit"]::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#ffffff32 50%,transparent 75%);transform:translateX(-120%);z-index:-1}
.btn[data-book] span,.doctor-book span,.service-link span{display:inline-block;transition:transform .25s ease}
@media(hover:hover){.btn[data-book]:hover,.mobile-bar button[data-book]:hover,form button[type="submit"]:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 10px 24px #2559df28}.btn[data-book]:hover::after,.mobile-bar button[data-book]:hover::after,form button[type="submit"]:not(:disabled):hover::after{animation:booking-sheen .65s ease}.btn[data-book]:hover span,.doctor-book:hover span,.service-link:hover span{transform:translate(3px,-3px)}}
.btn[data-book]:active,.mobile-bar button[data-book]:active,form button[type="submit"]:not(:disabled):active{transform:scale(.97);box-shadow:none}
form button.is-sending span{font-size:0;width:20px;height:20px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:booking-spin .8s linear infinite;flex-shrink:0}
.success-dialog{width:min(480px,calc(100% - 32px));text-align:center;padding:42px 34px 34px}

.success-mark{width:82px;height:82px;border-radius:50%;background:#edf3ff;color:var(--blue);display:grid;place-items:center;margin:2px auto 27px;box-shadow:0 0 0 10px #f6f8ff}
.success-mark svg{width:48px;height:48px}.success-dialog[open] .success-mark path{stroke-dasharray:48;stroke-dashoffset:48;animation:booking-check .5s .15s ease forwards}
.success-dialog .eyebrow{margin-bottom:15px;justify-content:center;text-align:center}.success-dialog h2{font-size:34px;line-height:1.15;padding:0;letter-spacing:-.045em}.success-dialog p{font-size:16px;line-height:1.7;color:var(--muted);margin:20px 0 28px}.success-done{width:100%}
@keyframes booking-sheen{to{transform:translateX(120%)}}
@keyframes booking-spin{to{transform:rotate(360deg)}}
@keyframes booking-confirm{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes booking-check{to{stroke-dashoffset:0}}
@media(max-width:430px){.success-dialog{padding:40px 24px 26px}.success-dialog h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.btn[data-book],.mobile-bar button[data-book],form button[type="submit"],.btn[data-book] span,.doctor-book span,.service-link span{transition:none}.btn[data-book]::after,.mobile-bar button[data-book]::after,form button[type="submit"]::after{display:none}.success-dialog[open],.success-dialog[open] .success-mark path,form button.is-sending span{animation:none}.success-dialog[open] .success-mark path{stroke-dashoffset:0}}

/* Full-photo hero card */
.hero-visual .hero-photo{inset:0;height:100%;object-position:52% center;filter:none}
.hero-visual .visual-heading{position:absolute;top:24px;left:24px;right:auto;max-width:calc(100% - 48px);display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border-radius:100px;background:#fffffff2;color:#183c79;font-size:13px;line-height:1.4;font-weight:600;box-shadow:0 5px 20px #173b7610;z-index:2}
.visual-heading>span{font-size:19px;line-height:1;color:var(--blue)}
@media(max-width:680px){.hero-visual .hero-photo{object-position:52% center}.hero-visual .visual-heading{top:18px;left:18px;max-width:calc(100% - 36px);padding:10px 14px;font-size:12px}}

/* CORNEA brand mark */
.logo .cornea-mark{width:62px;height:42px;object-fit:contain;flex-shrink:0}.footer-row .cornea-mark{filter:brightness(0) invert(1)}
@media(max-width:430px){.logo .cornea-mark{width:43px;height:30px}}

/* Mobile service icons and contact layout */
.service-row>summary .mobile-service-icon{line-height:1;padding:0}.mobile-service-icon svg{display:block;width:24px;height:24px;flex-shrink:0}
@media(max-width:680px){#contacts .big-phone{display:none}#contacts .contact-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;margin:28px 0}#contacts .contact-details>div{min-width:0}#contacts .contact-details strong{font-size:14px;line-height:1.7}#contacts .contact-details small{font-size:9px;letter-spacing:.08em}}

/* Patient reviews */
.reviews-section{background:#eff3fb}.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.reviews-grid:focus-visible{outline:2px solid var(--blue);outline-offset:6px;border-radius:24px}
.review-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;min-width:0}.review-quote-mark{display:block;height:48px;font-size:68px;line-height:1;color:var(--blue);font-family:Georgia,serif;margin-bottom:22px}
.review-text{display:flex;flex-direction:column;border:0;background:transparent}.review-text p{font-size:16px;line-height:1.8;letter-spacing:0;color:var(--ink);padding:0;margin:0;order:1}.review-text .review-full{display:none}.review-text[open] .review-full{display:block}.review-text[open] .review-preview{display:none}
.review-text summary{order:2;display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;padding:18px 0 0;margin:0;font-size:14px;font-weight:600;color:var(--blue);letter-spacing:0;background:transparent;-webkit-tap-highlight-color:transparent}.review-text summary::-webkit-details-marker{display:none}.review-text summary span{font-size:inherit;transform:none}.review-text summary>span:last-child{font-size:22px}.review-text summary .review-read-less{display:none}.review-text[open] summary .review-read-less{display:inline}.review-text[open] summary .review-read-more{display:none}
.review-author{display:flex;gap:13px;align-items:center;border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.review-initial{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#edf3ff;color:var(--blue);font-size:17px;font-weight:600}.review-author h3{font-size:17px;line-height:1.4;letter-spacing:-.02em;margin:0}.review-author p{font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 0}.reviews-swipe{display:none}
@media(max-width:1000px) and (min-width:681px){.reviews-grid{gap:15px}.review-card{padding:23px}.review-text p{font-size:15px}}
@media(max-width:680px){.reviews-section .section-head{margin-bottom:20px}.reviews-swipe{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);margin:0 0 16px}.reviews-swipe span{font-size:22px;color:var(--blue)}.reviews-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;align-items:flex-start;padding-bottom:12px}.review-card{flex:0 0 calc(100% - 22px);scroll-snap-align:start;padding:26px 24px}.review-text p{font-size:16px}.reviews-section h2{font-size:38px}}

.review-card>.review-preview{font-size:16px;line-height:1.8;color:var(--ink);margin:0}.review-card:has(.review-text[open])>.review-preview{display:none}.review-text[open] .review-full{margin-top:16px}

/* Keep review controls level and authors aligned */
.review-text[open]>summary span{transform:none}.reviews-grid{align-items:stretch}.review-card{display:flex;flex-direction:column}.review-text{margin-bottom:24px}.review-author{margin-top:auto}
@media(max-width:680px){.reviews-grid{align-items:stretch}}

/* Gentle motion for the decorative star and eye. */
.headline-star{transform-origin:center;animation:cornea-star-turn 32s linear infinite}
.vision-eye-blink{transform-box:view-box;transform-origin:240px 130px;animation:cornea-eye-blink 11s ease-in-out infinite}
.vision-eye-gaze{animation:cornea-eye-gaze 13s ease-in-out infinite}
.vision-eye-ring{transform-box:fill-box;transform-origin:center;animation:cornea-eye-breathe 7s ease-in-out infinite}
@keyframes cornea-star-turn{from{transform:rotate(12deg)}to{transform:rotate(372deg)}}
@keyframes cornea-eye-gaze{0%,12%,100%{transform:translate(0,0)}28%,38%{transform:translate(12px,-3px)}56%,66%{transform:translate(-11px,3px)}82%,88%{transform:translate(3px,0)}}
@keyframes cornea-eye-blink{0%,45%,49%,100%{transform:scaleY(1)}47%{transform:scaleY(.045)}}
@keyframes cornea-eye-breathe{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.035);opacity:.65}}
@media(prefers-reduced-motion:reduce){.headline-star,.vision-eye-blink,.vision-eye-gaze,.vision-eye-ring{animation:none}}
/* Contacts section doubles as the site footer (logo + credit row lives inside it) */
footer.contact-section{padding:100px 0 0}
footer.contact-section .footer-row{margin-top:85px;padding:34px 0 38px;border-top:1px solid #ffffff26}
footer.contact-section .footer-row .logo{color:#fff}
@media(max-width:1050px){footer.contact-section .footer-row{margin-top:60px}}
@media(max-width:680px){footer.contact-section{padding:70px 0 0}footer.contact-section .footer-row{margin-top:48px;padding:26px 0 calc(26px + env(safe-area-inset-bottom))}}

/* map inside the contacts footer (shared by all pages) */
.contact-map{position:relative;min-height:520px;border-radius:30px;overflow:hidden;background:#dfe9f8;border:1px solid #ffffff40;box-shadow:0 14px 45px #0d24442b}
.contact-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.contact-map-fallback{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;text-align:center;padding:24px;color:#36578c;background:repeating-linear-gradient(0deg,transparent 0 39px,#cddcf2 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,#cddcf2 39px 40px)}
.contact-map-fallback span{font-weight:800;font-size:17px;color:#0b1430}
.contact-map-fallback a{font-weight:600;color:var(--blue,#2155d6);text-underline-offset:4px}
@media (max-width:900px){.contact-map{min-height:360px}}
@media (max-width:560px){.contact-map{min-height:300px;border-radius:26px}}

/* ===== scroll motion (progress bar, heading line masks, card rise, photo wipe) ===== */
.scroll-bar{position:fixed;left:0;top:0;width:100%;height:3px;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#2155d6,#7aa2ff);z-index:9000;pointer-events:none;will-change:transform}
x-l{display:block;overflow:hidden;padding:.08em 0 .16em;margin:-.08em 0 -.16em}
x-t{display:block}
x-l:nth-child(2)>x-t{--i:1}
x-l:nth-child(3)>x-t{--i:2}
x-l:nth-child(4)>x-t{--i:3}
[data-motion-step="0"]{--d:0s}
[data-motion-step="1"]{--d:.09s}
[data-motion-step="2"]{--d:.18s}
[data-motion-step="3"]{--d:.27s}
html.js-anim [data-a=h] x-t{transform:translateY(115%);transition:transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--i,0)*.1s)}
html.js-anim [data-a=h].a-in x-t{transform:none}
html.js-anim [data-a=r]{transform:translateY(36px) scale(.985);transition:transform .95s cubic-bezier(.2,.8,.2,1) var(--d,0s)}
html.js-anim [data-a=r].a-in{transform:none}
html.js-anim [data-a=p]{clip-path:inset(0 0 100% 0);transition:clip-path 1.15s cubic-bezier(.65,0,.2,1)}
html.js-anim [data-a=p].a-in{clip-path:inset(-40px)}
html.js-anim [data-a=p] img{transform:scale(1.18);transition:transform 1.5s cubic-bezier(.2,.8,.2,1)}
html.js-anim [data-a=p].a-in img{transform:none}
.cinema-stats b{font-variant-numeric:tabular-nums}
@media(hover:hover){
 .doctors-grid>*,.reviews-grid>*{transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease}
 .doctors-grid>*:hover,.reviews-grid>*:hover{transform:translateY(-6px);box-shadow:0 20px 44px #1b3f8a22}
}

/* mobile: hero fits the first screen (content was taller than 100svh on real phones) */
@media(max-width:760px){
#about.cinema-hero .cinema-main{padding:96px 20px 18px}
#about.cinema-hero h1{font-size:clamp(36px,10vw,42px);margin-top:10px}
#about.cinema-hero p{font-size:16px;line-height:1.45;margin-top:14px}
#about.cinema-hero .cinema-actions{margin-top:20px;gap:10px}
#about.cinema-hero .cinema-btn{min-height:48px;padding-top:0;padding-bottom:0}
#about.cinema-hero .cinema-stats{margin-top:20px}
#about.cinema-hero .cinema-info{margin-bottom:12px}
#about.cinema-hero .cinema-info>div{padding:10px 12px 0 0;font-size:14px}
#about.cinema-hero .cinema-info small{font-size:11px;margin-bottom:2px}
}

/* services: one consistent line-icon set (replaces text glyphs) */
.service-icon svg{width:28px;height:28px;display:block}
.service-icon .ico{display:grid;place-items:center}

/* vision test: dark band so the interactive block stands out */
html{overflow-x:clip}
.vt{position:relative;isolation:isolate}
.vt::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;z-index:-1;background:radial-gradient(760px 380px at 86% 0%,#2a62e640,transparent 70%),radial-gradient(640px 340px at 6% 100%,#1948b052,transparent 70%),linear-gradient(180deg,#0a1836 0%,#0f2a62 100%)}
.vt .section-head h2{color:#fff}
.vt .section-head h2 span{color:#8fb2ff}
.vt .section-head p{color:#c3d2ef}
.vt .section-head .eyebrow{color:#9dbcff}
.vt-card{border-color:#ffffff1f;box-shadow:0 30px 80px #00061a73,0 0 0 1px #ffffff14}

/* doctors: one photo format (same crop, tone, label) + hover state */
.doctor-image{background:linear-gradient(180deg,#e6eefb,#d3e1f7)}
.doctor-image img{width:100%;height:100%;object-fit:cover;object-position:50% 14%;filter:saturate(.94) contrast(1.02)}
.doctor-image::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(0deg,#0b1a3d8c,transparent);pointer-events:none}
.doctor-image span{z-index:1;transition:background .3s,color .3s,border-color .3s,transform .35s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.doctor:hover .doctor-image span{background:var(--blue,#2155d6);color:#fff;border-color:transparent;transform:translateY(-4px)}}

/* warm gold accent: used sparingly (awards number, rating, review marks) */
:root{--gold:#e7ae4c;--gold-soft:#fff3d9;--gold-ink:#a96a0a}
.cinema-stats>div:nth-child(2) b{background:linear-gradient(180deg,#ffe6ad 0%,#e9a93f 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.review-card .review-quote-mark{color:var(--gold)}
.review-card .review-initial{background:var(--gold-soft);color:var(--gold-ink)}
.rating-chip{display:inline-flex;align-items:center;gap:10px;margin:0 0 26px;padding:10px 18px 10px 14px;border-radius:100px;background:#fff;border:1px solid #f1e2bf;box-shadow:0 6px 18px #b9801a14;font-size:15px;font-weight:700;color:#0b1430;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.rating-chip .stars{color:var(--gold);letter-spacing:2px;font-size:16px;line-height:1}
.rating-chip small{color:#5b6b86;font-weight:500;font-size:13px}
@media(hover:hover){.rating-chip:hover{transform:translateY(-2px);box-shadow:0 10px 24px #b9801a24}}
@media(max-width:560px){.rating-chip{font-size:14px;padding:9px 14px 9px 12px;gap:8px}.rating-chip small{font-size:12px}}


/* doctor cards: one filled primary action, profile link demoted to a quiet text link */
.doctors-grid .doctor .doctor-book{order:1;margin:0 9px;margin-top:auto;padding:15px 18px;border:0;border-radius:14px;background:var(--blue,#2155d6);color:#fff;font-weight:700;font-size:14px;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.doctors-grid .doctor .doctor-book:hover{background:#1b46b4;box-shadow:0 10px 22px #2155d633}
.doctors-grid .doctor .doctor-book:active{transform:scale(.98)}
.doctors-grid .doctor .doctor-book span{font-size:20px;line-height:1;color:#fff}
.doctors-grid .doctor .doctor-profile-link{order:2;margin:8px 9px 6px;padding:8px 0;border-top:0;justify-content:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted,#5b6b86)}
.doctors-grid .doctor .doctor-profile-link:hover{color:var(--blue,#2155d6)}
.doctors-grid .doctor .doctor-profile-link span{font-size:16px}
@media(max-width:430px){
 .doctors-grid .doctor .doctor-book{margin:0 4px;margin-top:auto;padding:12px 12px;font-size:12px;gap:6px;border-radius:12px}
 .doctors-grid .doctor .doctor-book span{font-size:17px}
 .doctors-grid .doctor .doctor-profile-link{margin:6px 4px 4px;font-size:12px}
}
@media(min-width:681px) and (max-width:1180px){
 .doctors-grid .doctor .doctor-book{padding:14px 8px;font-size:12.5px;justify-content:center;white-space:nowrap}
 .doctors-grid .doctor .doctor-book span{display:none}
}
@media(max-width:430px){
 .doctors-grid .doctor .doctor-book{justify-content:center;white-space:nowrap;padding:12px 6px}
 .doctors-grid .doctor .doctor-book span{display:none}
}

/* reviews strip on phones: horizontal swipe only, never a vertical scroll inside */
@media(max-width:680px){.reviews-grid{overflow-y:hidden}.reviews-grid>*{transform:none!important}}




@media(max-width:680px){
 .reviews-grid{scrollbar-width:none}
 .reviews-grid::-webkit-scrollbar{display:none}
 .review-card .review-quote-mark{height:34px;margin-bottom:6px;font-size:60px}
 .review-text[open] .review-full{margin-top:0}
}

/* doctor cards: button label and profile link centered at every width */
.doctors-grid .doctor .doctor-book,.doctors-grid .doctor .doctor-profile-link{justify-content:center;text-align:center;gap:10px}

/* doctor cards: no arrows */
.doctors-grid .doctor .doctor-book span,.doctors-grid .doctor .doctor-profile-link span{display:none}

/* list markers that used to be arrows */
.physician-areas li>span:empty{display:block;width:6px;height:6px;margin-top:.72em;border-radius:50%;background:#476fa9;flex:none}

/* Readable supporting text across clinic pages. */
body{--muted:#465b73}
body .doctor p,body .service-card p,body .service-row-body p,body .step p{font-size:16px;line-height:1.7}
body .patronymic{font-size:14px;line-height:1.6}
body .doctor-profile-link,body .doctor-book{font-size:14px;line-height:1.5}
body .doctor-image span{font-size:12px;line-height:1.5}
body .physician-index-copy small{font-size:14px;line-height:1.5;color:#465b73}
body form label{font-size:15px;line-height:1.6;color:#40536b}
body form .privacy-consent{font-size:14px;line-height:1.7;color:#465b73;margin-top:16px}
body .dialog-intro{font-size:16px;line-height:1.7;color:#465b73}
body .cinema-info small{font-size:13px;color:#ffffffd9}
body .cinema-stats span{font-size:14px;line-height:1.5;color:#ffffffd9}
@media(max-width:680px){
 body .doctor p{font-size:15px}
 body .patronymic{font-size:13px}
 body .doctor-image span{font-size:12px}
 body .doctor-profile-link,body .doctor-book{font-size:14px;flex-wrap:wrap}
 body .cinema-stats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:0}
 body .cinema-stats>div{min-width:0;align-content:start;padding-left:10px;padding-right:10px}
 body .cinema-stats>div:last-child{padding-right:0}
 body .cinema-stats span{font-size:clamp(12px,3.4vw,14px);overflow-wrap:anywhere}
 body .cinema-stats>div:first-child{padding-left:0}
}
/* Inline booking action in the contact paragraph. */
.contact-section .contact-book-link{display:inline;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;line-height:inherit;text-align:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}
.contact-section .contact-book-link:hover{text-decoration-thickness:2px}
.contact-section .contact-book-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
/* Fit booking to the visible screen, including the mobile keyboard viewport. */
body #booking{position:fixed;inset:auto;top:var(--booking-center,50%);left:50%;transform:translate(-50%,-50%);margin:0;width:min(540px,calc(100% - 28px));max-height:calc(var(--booking-viewport,100dvh) - 24px);padding:28px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:16px}
body #booking h2{padding-right:38px;font-size:30px;line-height:1.2}
body #booking .dialog-intro{margin:14px 0 20px}
body #booking form{gap:14px}
body #booking label{gap:7px}
body #booking input,body #booking .choice-trigger{min-height:52px;padding:12px 14px;line-height:1.5;font-size:16px}
body #booking form>button[type=submit]{min-height:52px;margin:0;padding:12px 18px}
body #booking .privacy-consent{margin-top:0}
@media(max-width:560px){body #booking{padding:24px 22px}body #booking h2{font-size:28px}}
/* Center the close icon independently of font metrics. */
body dialog .dialog-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;line-height:1;cursor:pointer}
body dialog .dialog-close svg{display:block;width:20px;height:20px;pointer-events:none}
body dialog .dialog-close:hover{background:#eaf1fc}
body dialog .dialog-close:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* Geometric accordion icons do not depend on text baseline alignment. */
body .faq-list summary>.accordion-icon,body .service-row>summary .service-toggle{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;padding:0;line-height:1;transform:none;color:var(--blue)}
body .accordion-icon svg,body .service-toggle svg{display:block;width:20px;height:20px}
body details[open]>summary>.accordion-icon,body .service-row[open]>summary .service-toggle{transform:none}
body details[open]>summary .accordion-vertical{display:none}
