/* Дополнительные интерфейсы: социальные сети и отключённая форма */
.skip-link{position:fixed;left:16px;top:-100px;z-index:500;padding:12px 18px;background:#fff;border:2px solid #153040;color:#153040;font-weight:800;border-radius:10px}
.skip-link:focus{top:12px}
.header-inner{gap:14px}
.header-socials{display:flex;gap:5px;align-items:center;flex:none}
.header-socials a{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eef8fd;border:1px solid #d2e9f2;color:#116c95;font-size:10px;font-weight:850;transition:background .2s}
.header-socials a:hover{background:#d8f0fa}
.mobile-nav-socials{display:none}
.a11y-toggle{display:flex;align-items:center;gap:7px;flex:none;padding:9px 10px;min-height:42px;border:1px solid #b8d9e8;border-radius:10px;color:#0a5075;background:#f2fbff;font-size:11px;font-weight:800;line-height:1.15;text-align:left}
.a11y-toggle>span:first-child{font-weight:900;font-size:16px;white-space:nowrap}
.a11y-toggle-label{max-width:85px}
.a11y-toggle[aria-pressed="true"]{background:#0b354a;color:#fff;border-color:#0b354a}
.footer-social-row{display:flex;align-items:center;gap:24px;padding:4px 0 24px;color:#e9f6fa}
.footer-social-row>strong{font-size:12px}
.footer-social-links{display:flex;gap:10px;flex-wrap:wrap}
.footer-social-links a{border:1px solid #538096;color:#edfaff;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:750}
.footer-social-links a:hover{background:#1e526b}
.form-unavailable{background:#fff;border:1px solid #88bfd9;border-left:5px solid #0a6f9f;border-radius:12px;padding:16px 17px;margin:16px 0 24px}
.form-unavailable strong{display:block;color:#123c56;font-size:14px;margin-bottom:5px}
.form-unavailable p{font-size:13px;line-height:1.65;margin:0;color:#314e60}
.form-unavailable a{font-weight:850;color:#086998;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.disabled-fields{border:0;margin:0;padding:0;min-width:0;opacity:.64}
.disabled-fields .field input,.disabled-fields .field textarea{background:#f2f5f6;cursor:not-allowed}
.disabled-fields .btn-submit:disabled{cursor:not-allowed;opacity:1;background:#6d8593;box-shadow:none}
.disabled-fields .consent{cursor:default}

/* Панель версии для слабовидящих */
.a11y-panel[hidden]{display:none!important}
.a11y-panel{position:absolute;top:100%;left:0;right:0;z-index:120;background:#fff;box-shadow:0 16px 42px rgba(7,40,58,.22);border-top:1px solid #c9dfe8;border-bottom:2px solid #1c5674;max-height:min(74dvh,560px);overflow-y:auto;color:#142b36}
.a11y-panel-inner{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-top:20px;padding-bottom:20px}
.a11y-panel-title{display:flex;flex-direction:column;gap:3px;max-width:215px}
.a11y-panel-title strong{font-size:15px}
.a11y-panel-title span{color:#536772;font-size:11px;line-height:1.5}
.a11y-choice{min-width:0;border:0;margin:0;padding:0}
.a11y-choice legend{font-size:12px;font-weight:800;margin-bottom:7px}
.a11y-options{display:flex;flex-wrap:wrap;gap:5px}
.a11y-options button,.a11y-actions button{background:#f1f8fb;color:#11364a;border:1px solid #bdd8e6;border-radius:8px;padding:9px 12px;min-height:40px;font-size:13px;font-weight:850}
.a11y-options button[aria-pressed="true"]{background:#0c4e70;color:#fff;border-color:#0c4e70}
.a11y-checks{display:flex;flex-direction:column;gap:8px}
.a11y-checks label{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.a11y-checks input{width:18px;height:18px;accent-color:#075e8c}
.a11y-actions{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}
.a11y-actions button{white-space:nowrap}
.a11y-actions button:first-child{text-decoration:underline;text-underline-offset:3px}

@media(max-width:1180px){.header-cta{display:none}}
@media(max-width:990px){
  .header-socials{display:none}
  .a11y-toggle{margin-left:auto}
  .header-inner .menu-toggle{margin-left:0}
  .mobile-nav-socials{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0 0}
  .mobile-nav-socials a{padding:10px 12px;background:#eef8fd;border:1px solid #d7eaf1;border-radius:9px;font-size:12px;font-weight:800;color:#135e86}
  .a11y-panel-inner{gap:14px}
}
@media(max-width:760px){
  .a11y-toggle{padding:8px 10px}
  .a11y-toggle-label{display:none}
  .footer-social-row{flex-wrap:wrap;gap:12px;padding-bottom:22px}
  .footer-social-row>strong{width:100%}
  .a11y-panel-title{max-width:none;width:100%}
  .a11y-panel-inner{align-items:flex-start}
  .a11y-checks{width:100%;flex-direction:row;flex-wrap:wrap;gap:10px 20px}
  .a11y-actions{margin-left:0}
}

/* Контрастный режим: текст и управление крупнее, без декоративных цветов. */
html.a11y-mode{--a11y-bg:#fff;--a11y-fg:#000;--a11y-scale:1.16}
html.a11y-mode[data-a11y-theme="dark"]{--a11y-bg:#000;--a11y-fg:#fff}
html.a11y-mode[data-a11y-theme="yellow"]{--a11y-bg:#000;--a11y-fg:#ffeb00}
html.a11y-mode[data-a11y-size="large"]{--a11y-scale:1.35}
html.a11y-mode[data-a11y-size="extra"]{--a11y-scale:1.58}
html.a11y-mode body{background:var(--a11y-bg)!important;color:var(--a11y-fg)!important;font-family:Arial,Verdana,sans-serif!important;font-size:calc(17px * var(--a11y-scale))!important;line-height:1.7}
html.a11y-mode body *{color:var(--a11y-fg)!important;text-shadow:none!important;box-shadow:none!important;animation:none!important;transition:none!important;background-image:none!important}
html.a11y-mode body *:not(img):not(iframe):not(svg){background-color:transparent!important}
html.a11y-mode :is(.header,.topline,.footer,.nav,.a11y-panel,.map-overlay){background-color:var(--a11y-bg)!important}
html.a11y-mode .header,html.a11y-mode .footer,html.a11y-mode .topline{border-bottom:2px solid var(--a11y-fg)!important}
html.a11y-mode :is(.hero-blob,.hero-photo-shade,.hero-decor-ring,.feature-line-art,.proof-icons,.award-star){display:none!important}
html.a11y-mode :is(p,li,small,summary,label,input,textarea,.nav>a,.topline,.topline a,.brand-label small,.footer-links a,.footer-bottom,.contact-social a,.footer-social-links a,.contact-box span,.hours-bar small,.hours-bar strong,.hero-proof,.benefit-number,.eyebrow,.room-type-tag,.room-type-no,.timeline span,.form-unavailable strong,.form-unavailable p,.form-kicker,.form-fallback,.photo-disclaimer,.pool-call,.pool-time,.map-overlay span,.a11y-checks label,.a11y-panel-title span,.a11y-choice legend){font-size:calc(16px * var(--a11y-scale))!important;line-height:1.65!important}
html.a11y-mode :is(.btn,button,.a11y-toggle,.a11y-options button,.a11y-actions button){font-size:calc(15px * var(--a11y-scale))!important;line-height:1.35!important;white-space:normal!important}
html.a11y-mode :is(h1){font-size:clamp(36px,calc(39px * var(--a11y-scale)),75px)!important;line-height:1.25!important;letter-spacing:0!important}
html.a11y-mode :is(h2){font-size:clamp(32px,calc(31px * var(--a11y-scale)),60px)!important;line-height:1.25!important;letter-spacing:0!important}
html.a11y-mode :is(h3,.contact-box h3,.brand-label strong){font-size:calc(22px * var(--a11y-scale))!important;line-height:1.4!important;letter-spacing:0!important}
html.a11y-mode :is(.header-inner,.footer-top,.hero-grid,.section-head,.contact-grid,.hours-bar){height:auto;min-height:0}
html.a11y-mode :is(.benefit-card,.treatment-feature,.treatment-list,.treatment-item,.room-type,.contact-form-wrap,.contact-box,.form-unavailable,.hours-bar,.a11y-panel){border:2px solid var(--a11y-fg)!important;border-radius:6px!important}
html.a11y-mode :is(a:not(.brand),button,.btn,input,textarea,summary){outline-offset:4px}
html.a11y-mode a:not(.brand){text-decoration:underline!important;text-underline-offset:4px}
html.a11y-mode :is(.btn,button,input,textarea){border:2px solid var(--a11y-fg)!important;background-color:var(--a11y-bg)!important;color:var(--a11y-fg)!important;opacity:1!important}
html.a11y-mode :is(input,textarea)::placeholder{color:var(--a11y-fg);opacity:1}
html.a11y-mode :is(.a11y-options button[aria-pressed="true"],.a11y-toggle[aria-pressed="true"]){background-color:var(--a11y-fg)!important;color:var(--a11y-bg)!important}
html.a11y-mode .a11y-toggle[aria-pressed="true"] span{color:var(--a11y-bg)!important}
html.a11y-mode :is(a,button,input,textarea,summary):focus-visible{outline:4px solid var(--a11y-fg)!important;outline-offset:5px!important}
html.a11y-mode .header-inner{flex-wrap:wrap;gap:14px;padding-top:12px;padding-bottom:12px}
html.a11y-mode .header-socials,html.a11y-mode .header-cta{display:none!important}
html.a11y-mode .a11y-toggle{margin-left:auto}
html.a11y-mode .menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:50px;min-height:50px;flex:none;padding:8px}
html.a11y-mode .menu-toggle span{display:block;width:22px;height:3px;background-color:var(--a11y-fg)!important}
html.a11y-mode .nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:75dvh;overflow-y:auto;padding:20px 5%;flex-direction:column;align-items:stretch;gap:10px;z-index:100;background-color:var(--a11y-bg)!important;border:2px solid var(--a11y-fg)!important}
html.a11y-mode .nav.nav-open{display:flex}
html.a11y-mode .nav>a{padding:10px}
html.a11y-mode .mobile-nav-socials{display:flex;gap:12px;flex-wrap:wrap}
html.a11y-mode .mobile-nav-extra{display:block}
html.a11y-mode .a11y-panel{border-top:2px solid var(--a11y-fg)!important;max-height:74dvh}
html.a11y-mode :is(.hero-grid,.pool-grid,.rooms-layout,.history-grid,.contact-grid){gap:30px}
html.a11y-mode :is(.hero-photo-wrap,.pool-img,.history-photo){border-radius:0!important}
html.a11y-mode .disabled-fields{opacity:1}
html.a11y-wide-spacing body *{letter-spacing:.07em!important;word-spacing:.13em!important;line-height:1.9!important}
html.a11y-hide-images :is(img,.hero-visual,.pool-img,.room-pictures,.history-photo){display:none!important}
html.a11y-mode .has-js .reveal,html.a11y-mode .reveal{opacity:1!important;transform:none!important}
html.a11y-mode .floating-call{display:none}
html.a11y-mode .container{width:min(1220px,calc(100% - 40px))}
@media(max-width:760px){
  html.a11y-mode :is(.hero-grid,.benefits-grid,.pool-grid,.rooms-layout,.history-grid,.contact-grid){grid-template-columns:minmax(0,1fr)!important}
  html.a11y-mode :is(.section-head,.treatment-intro){display:block}
  html.a11y-mode .header-inner{flex-wrap:nowrap}
  html.a11y-mode .brand-label{display:none}
  html.a11y-mode .a11y-panel-inner{align-items:stretch}
  html.a11y-mode .a11y-panel-title,html.a11y-mode .a11y-checks{width:100%}
  html.a11y-mode .a11y-checks{flex-direction:column}
  html.a11y-mode .a11y-actions{width:100%}
  html.a11y-mode .footer-top{grid-template-columns:minmax(0,1fr)}
  html.a11y-mode .hero-actions{flex-direction:column}
  html.a11y-mode .hero-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.a11y-panel *, .a11y-toggle {transition:none!important}}
/* Текстовое название остаётся видимым, если посетитель отключил изображения. */
html.a11y-hide-images .brand-label{display:flex!important}
@media(max-width:760px){
  html.a11y-hide-images .brand-label strong{font-size:17px!important}
  html.a11y-hide-images .brand-label small{font-size:13px!important}
  html.a11y-hide-images .header-inner{gap:8px}
}
