/* Compact layout, theme-aware interaction and reusable contact information. */
:root{--accent:#006c67;--accent-on:#fff;--accent-soft:#edf7f2;--heading-font:system-ui,"Segoe UI",Arial,sans-serif;--body-font:system-ui,"Segoe UI",Arial,sans-serif}
body.public-body{font-family:var(--body-font)}.public-body :is(h1,h2,h3,h4){font-family:var(--heading-font)}
.public-body :is(.section-pad,.booking-section,.process-section,.offline-section,.inner-hero){padding-block:44px}.public-body .hero{padding-block:32px}.public-body .section-heading{margin-bottom:24px}.public-body .section-heading>p{margin-bottom:0}.public-body .hero-actions{margin:20px 0 24px;gap:12px;align-items:stretch;flex-wrap:wrap}.public-body .trust-grid{padding-top:18px}.public-body .warning-card{margin-top:28px;padding:24px}.public-body .about-grid{gap:36px}.public-body .inner-hero{padding-block:40px}
.site-logo img{display:block;width:48px;height:48px}.nav-shell{gap:18px;min-height:76px}.nav-links{gap:20px}.nav-links>a{white-space:nowrap}.nav-links .header-phone{margin-left:22px;white-space:nowrap;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.menu-chevron{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;transition:transform .2s}.services-menu>summary,.language-menu>summary{display:flex;align-items:center;line-height:24px;gap:6px}.services-menu[open]>summary .menu-chevron,.language-menu[open]>summary .menu-chevron{transform:rotate(180deg)}.doctor-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex-shrink:0;border:2px solid var(--line)}
html[data-theme] .public-body .button{background:var(--accent);color:var(--accent-on);border-color:var(--accent)}html[data-theme] .public-body .button:hover{filter:brightness(.94)}html[data-theme] .public-body .button-outline{background:transparent;color:var(--accent);border-color:var(--accent)}html[data-theme] .public-body .button-outline:hover{background:var(--accent-soft);filter:none}.public-body :is(.eyebrow,.topic-more,.path-number){color:var(--accent)}.public-body .blog-tabs a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:var(--accent-on)}
.path-grid{gap:16px;padding-block:18px;grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .path-card,html[data-theme] .path-card:first-child,html[data-theme] .path-card:last-child{border:1px solid var(--line-strong);border-radius:12px;padding:18px 22px;min-height:94px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px}.path-card strong{font-size:18px}.path-card small{font-size:15px;line-height:1.5}.path-number{font-size:18px;font-weight:700}
.public-body .price-card{min-height:0;padding:24px;gap:0}.public-body .price-head{padding-bottom:16px;margin-bottom:18px}.public-body .price-card h3{margin:0 0 12px}.public-body .price-card p{min-height:0;flex:none;font-size:16px;line-height:1.55;margin:0 0 18px}.public-body .price-card .button{margin-top:auto}.public-body .pricing-grid{align-items:stretch}.public-body .price-card .button{padding-block:12px;min-height:46px}
html[data-theme=light] :is(.hero,.offline-section){background:var(--accent-soft);color:var(--ink)}html[data-theme=light] .offline-section :is(h2,h3,strong,a){color:var(--ink)}html[data-theme=light] .offline-section :is(p,small,.eyebrow,.prep-label,.check-list,.check-list li){color:var(--ink-2)}html[data-theme=light] .offline-section .prep-card{background:#ffffffb3;border:1px solid var(--line-strong);padding:24px}html[data-theme=light] .offline-section .contact-card{background:#ffffffb3;border:1px solid var(--line-strong)}html[data-theme=light] .offline-section .tip{background:#ffffffb3;color:var(--ink);border:1px solid var(--line)}html[data-theme=light] .check-list-light li:before{color:var(--accent);background:var(--accent-soft)}
.topic-grid{gap:20px}.topic-card summary{padding:24px;min-height:0}.topic-card h3{margin:12px 0 10px}.topic-icon{width:60px;height:60px}.topic-card p{line-height:1.6}.topic-more{margin-top:18px}.topic-detail{padding:0 24px 24px}.topic-card{position:relative;isolation:isolate;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;transform-origin:center}.topic-card summary:after{content:"";position:absolute;width:150px;height:150px;right:-65px;top:-65px;border:2px solid var(--accent);border-radius:50%;opacity:.16;pointer-events:none;transition:width .35s,height .35s,opacity .35s;z-index:-1}.topic-card summary{isolation:isolate}.topic-card summary>*{position:relative}.topic-card:hover,.topic-card:focus-within{transform:translateY(-6px);box-shadow:0 16px 28px #102c4020;border-color:var(--accent)}.topic-card:hover summary:after,.topic-card:focus-within summary:after,.topic-card[open] summary:after{width:280px;height:280px;opacity:.3}.topic-card:hover .topic-icon,.topic-card[open] .topic-icon{transform:scale(1.08) rotate(-4deg)}.topic-icon{transition:transform .3s;stroke:var(--accent)}html[data-theme] .topic-card:hover,html[data-theme] .topic-card[open]{background:var(--accent-soft)}html[data-theme=dark] .topic-card:hover,html[data-theme=dark] .topic-card:focus-within{box-shadow:0 14px 30px #0007;border-color:var(--accent)}.topic-card:active{transform:translateY(-2px) scale(.99)}.topic-card[open] .topic-detail{animation:topic-reveal .35s ease-out}@keyframes topic-reveal{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.process-grid{gap:20px;border:0;counter-reset:process}.process-grid li{position:relative;padding:22px;border:1px solid var(--line-strong);border-radius:16px;background:var(--surface);min-width:0}.process-grid li:before{display:none}.process-grid li:not(:last-child):after{content:"→";position:absolute;right:-18px;top:42px;color:var(--accent);font-size:24px;z-index:1}.process-grid li>span{position:absolute;right:16px;top:16px;width:auto;height:auto;padding:4px 8px;font-size:14px;background:var(--accent-soft);color:var(--accent);border-radius:8px}.process-icon{width:44px;height:44px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:20px}.process-grid h3{font-size:20px;line-height:1.3;margin:0 0 10px}.process-grid p{font-size:16px;line-height:1.6;color:var(--ink-2);margin:0}.heading-row{gap:30px}
.footer{padding-block:36px 20px}.footer-top{padding-bottom:24px;margin-bottom:24px}.footer-grid{grid-template-columns:1fr 1.2fr .7fr 1.1fr;gap:28px}.footer-grid>div{min-width:0}.footer-links{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}.footer-links a{font-size:15px;line-height:1.5}.contact-list{padding:0;list-style:none;display:grid;gap:14px;margin:16px 0 0}.contact-list li{display:flex;gap:12px;align-items:center;min-width:0}.contact-list svg{width:24px;height:24px;flex:0 0 24px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.contact-list li>span{display:flex;flex-direction:column;min-width:0}.contact-list small{font-size:12px;line-height:1.4;opacity:.9}.contact-list a,.contact-list li>span>span{font-size:15px;overflow-wrap:anywhere}.footer-bottom{display:block;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.footer-bottom p{margin:12px 0 0;font-size:13px}.developer-credit{display:inline;margin-left:14px;font-size:13px;line-height:1.7}.footer .brand-copy small{white-space:normal}.footer-contact{border-radius:14px;padding:16px;margin:-16px;background:#ffffff08}
html[data-theme=light] .footer{background:#edf3f3;color:#1d3441}html[data-theme=light] .footer :is(strong,a,p,small,.footer-bottom,span){color:#294551}html[data-theme=light] .footer .button{color:var(--accent-on)}html[data-theme=light] .footer-top{border-color:var(--line)}html[data-theme=light] .footer-contact{background:#ffffff70}
.contacts-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;margin-top:28px;align-items:start}.contact-panel,.requisites-panel{border:1px solid var(--line-strong);border-radius:20px;padding:28px;background:var(--surface);min-width:0}.contact-panel{background:var(--accent-soft)}.contacts-grid h2{font-size:28px}.contacts-grid h3{font-size:21px;line-height:1.4}.contacts-page .contact-list{gap:24px}.contacts-page .contact-list a,.contacts-page .contact-list li>span>span{font-size:18px}.contacts-page .contact-list small{font-size:14px}.requisites{margin:18px 0 0}.requisites>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line)}.requisites dt{color:var(--muted);font-size:14px}.requisites dd{margin:0;overflow-wrap:anywhere;font-size:16px}.account-number{font-variant-numeric:tabular-nums}.ambient-panel{position:relative;overflow:hidden;isolation:isolate}.ambient-shapes{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:inherit}.ambient-shapes i{position:absolute;width:160px;height:160px;right:-50px;top:-50px;border:2px solid currentColor;border-radius:38%;opacity:.08;animation:ambient-drift 18s ease-in-out infinite alternate}.ambient-shapes i:nth-child(2){top:auto;bottom:-45px;right:25%;width:120px;height:120px;border-radius:50%;animation-delay:-8s;background:currentColor;opacity:.04}.ambient-shapes i:nth-child(3){top:40%;right:-40px;width:110px;height:110px;animation-delay:-13s;border-radius:20%}@keyframes ambient-drift{from{transform:translate(-10px,10px) rotate(0)}to{transform:translate(20px,-20px) rotate(100deg)}}
.payment-logos{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:28px;padding:20px 0;border-top:1px solid var(--line)}.payment-logo{display:grid;place-items:center;flex:0 0 auto;padding:10px 12px;border-radius:10px;background:#fff;min-width:88px;height:56px}.payment-logo img{display:block;width:auto;max-width:100px;max-height:32px;object-fit:contain}.payment-logo.erip img{max-width:88px}.payment-logo.mir img{width:72px}.payment-logos .payment-dark{display:none}html[data-theme=dark] .payment-logos{border-color:#365063}html[data-theme=dark] .payment-logo{background:#fff}
@media(max-width:1150px){.nav-links .header-phone{margin-left:0;margin-top:8px;border-top:1px solid var(--line);padding-top:16px}.nav-shell{min-height:68px}.footer-grid{grid-template-columns:1fr 1fr}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-grid li:nth-child(2):after{display:none}.hero-actions .button{width:auto}}
@media(max-width:650px){.public-body :is(.section-pad,.booking-section,.process-section,.offline-section,.inner-hero){padding-block:30px}.public-body .hero{padding-block:24px}.public-body .section-heading{margin-bottom:20px}.public-body .price-card{padding:20px}.public-body .price-card p{margin-bottom:16px}.public-body .hero-actions{flex-direction:column}.hero-actions .button{width:100%;white-space:normal;text-align:center}.path-grid{grid-template-columns:1fr;gap:12px;padding-block:14px}.path-card{min-height:88px}.topic-card summary{padding:22px}.topic-detail{padding-inline:22px}.contacts-grid{grid-template-columns:1fr}.contact-panel,.requisites-panel{padding:22px}.requisites>div{grid-template-columns:1fr;gap:5px}.process-grid{grid-template-columns:1fr;gap:24px}.process-grid li{padding:20px 20px 20px 80px}.process-icon{position:absolute;left:20px;top:24px;width:40px;height:40px}.process-grid li>span{position:static;display:inline-block;margin-bottom:12px}.process-grid li:not(:last-child):after{content:"↓";display:block;top:auto;bottom:-27px;right:50%;transform:translateX(50%)}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-top{align-items:flex-start;gap:18px;flex-wrap:wrap}.footer-top .brand-copy strong{font-size:17px}.footer-top .brand-copy small{font-size:11px}.developer-credit{display:block;margin:8px 0 0}.payment-logos{gap:10px;padding-top:18px}.payment-logo{min-width:76px;height:50px;padding:8px}.payment-logo img{max-width:82px;max-height:28px}.heading-row{gap:16px}.public-body .booking-intro h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.ambient-shapes i,.topic-card[open] .topic-detail{animation:none}.topic-card,.topic-icon,.topic-card summary:after,.menu-chevron{transition:none}.topic-card:hover,.topic-card:focus-within,.topic-card:active{transform:none}}

@media(max-width:650px){.footer-top .brand{flex:0 0 auto}.public-body .footer{padding-bottom:90px}}
html[data-theme] .public-body .eyebrow-light{color:#b4e4dc}
.payment-logo.erip{width:112px;overflow:hidden}.payment-logo.erip img{width:150px;max-width:none;max-height:none}

.contacts-clinic{margin-top:28px;padding-top:20px;border-top:1px solid var(--line-strong)}.contacts-clinic p{font-size:16px}.contacts-clinic a{color:var(--ink);font-size:18px}
