/* Accessibility and low-risk performance enhancements. Loaded after styles.css. */
:root{
  --rose:#a85f64;
  --muted:#66705f;
}

.skip-link{
  position:fixed;
  top:10px;
  right:14px;
  z-index:9999;
  padding:12px 16px;
  border-radius:10px;
  background:#233329;
  color:#fff;
  font-weight:800;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
  transform:translateY(-180%);
  transition:transform .15s ease;
}
.skip-link:focus,
.skip-link:focus-visible{
  transform:translateY(0);
}

:where(a,button,input,textarea,select,[tabindex]):focus-visible{
  outline:3px solid #1d6655 !important;
  outline-offset:3px !important;
}

:where(button,.btn,.header-cta,.date-btn,.slot-btn){
  min-height:44px;
}

.booking-top button{min-width:44px;min-height:44px}
.date-btn,.slot-btn{min-width:44px;min-height:44px}
.booking-consent input[type="checkbox"]{min-width:22px;min-height:22px;flex:0 0 auto}
.booking-consent a{text-decoration:underline;text-underline-offset:2px}
.trust-row{color:#65705e}

.noscript-warning{
  width:min(1180px,calc(100% - 36px));
  margin:16px auto;
  padding:12px 16px;
  border-radius:12px;
  background:#fff4df;
  color:#603e08;
  font-weight:700;
}
.anchor-target{
  position:absolute;
  inset-inline-start:0;
  width:1px;
  height:1px;
  overflow:hidden;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto !important}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

@media (forced-colors: active){
  :where(a,button,input,textarea,select,[tabindex]):focus-visible{
    outline:3px solid CanvasText !important;
  }
  :where(button,.btn,.header-cta,.date-btn,.slot-btn){
    border:1px solid ButtonText !important;
  }
  .date-btn.active,.slot-btn.active{
    outline:3px solid Highlight !important;
    outline-offset:2px !important;
  }
}

@media (prefers-contrast: more){
  :root{--muted:#4f5949}
  .info-card,.steps article,.booking-card,.training-card,.privacy-box{border-width:2px}
  a{text-decoration-thickness:2px}
}


/* Floating accessibility toolbar */
.a11y-widget{
  position:fixed;
  left:18px;
  right:auto;
  bottom:18px;
  z-index:10050;
  direction:rtl;
  font-family:"Heebo",Arial,sans-serif;
}
.a11y-trigger{
  width:64px;
  height:64px;
  border-radius:50%;
  border:3px solid #fff;
  background:#4f5d48;
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(36,48,39,.28);
}
.a11y-trigger svg,
.a11y-title-wrap svg{
  width:34px;
  height:34px;
  fill:currentColor;
  stroke:none;
}
.a11y-panel{
  position:absolute;
  left:0;
  right:auto;
  bottom:78px;
  width:min(390px,calc(100vw - 28px));
  max-height:min(690px,calc(100vh - 120px));
  overflow:auto;
  background:#fff;
  color:#263126;
  border:1px solid rgba(61,77,64,.18);
  border-radius:24px;
  box-shadow:0 22px 60px rgba(28,38,30,.28);
}
.a11y-panel[hidden]{display:none!important}
.a11y-panel-head{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  background:#4f5d48;
  color:#fff;
  border-radius:24px 24px 0 0;
}
.a11y-title-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
}
.a11y-title-wrap svg{width:28px;height:28px}
.a11y-close{
  width:46px;
  height:46px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:42px;
  line-height:1;
  cursor:pointer;
  border-radius:12px;
}
.a11y-panel-body{padding:22px}
.a11y-label{
  display:block;
  font-weight:800;
  color:#59605b;
  margin-bottom:10px;
}
.a11y-text-control{margin-bottom:22px}
.a11y-text-row{
  display:grid;
  grid-template-columns:76px 1fr 76px;
  align-items:center;
  gap:12px;
}
.a11y-text-row button{
  height:58px;
  border:0;
  border-radius:15px;
  background:#f0f3f5;
  color:#1f2830;
  font-size:32px;
  font-weight:800;
  cursor:pointer;
}
.a11y-scale-value{
  text-align:center;
  font-size:26px;
  color:#465348;
}
.a11y-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.a11y-options button{
  min-height:92px;
  border:1px solid #dfe4e1;
  background:#fff;
  color:#20262b;
  border-radius:16px;
  padding:14px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  cursor:pointer;
  font-weight:700;
  line-height:1.35;
}
.a11y-options button.is-active{
  background:#eef3ec;
  border-color:#6f7f69;
  box-shadow:inset 0 0 0 1px #6f7f69;
}
.a11y-option-icon{
  color:#4f5d48;
  font-size:25px;
  flex:0 0 auto;
}
.a11y-letter-icon{
  font-family:Arial,sans-serif;
  font-size:28px;
}
.a11y-reset{
  margin:20px 0 8px;
  min-height:54px;
  border:0;
  border-radius:15px;
  background:#f3f4f5;
  color:#5e666c;
  padding:12px 18px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-weight:800;
}
.a11y-reset span:first-child{font-size:25px}
.a11y-statement-link{
  display:block;
  text-align:center;
  margin-top:20px;
  color:#4f5d48;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Functional display modes controlled by the accessibility toolbar */
html.a11y-readable-font body,
html.a11y-readable-font button,
html.a11y-readable-font input,
html.a11y-readable-font textarea,
html.a11y-readable-font select{
  font-family:Arial,Tahoma,sans-serif!important;
  letter-spacing:.01em;
}

html.a11y-highlight-links body a:not(.a11y-statement-link){
  text-decoration:underline!important;
  text-decoration-thickness:3px!important;
  text-underline-offset:4px!important;
  outline:2px solid currentColor;
  outline-offset:2px;
}

html.a11y-pause-animations,
html.a11y-pause-animations body{
  scroll-behavior:auto!important;
}
html.a11y-pause-animations body *:not(.a11y-widget):not(.a11y-widget *),
html.a11y-pause-animations body *:not(.a11y-widget):not(.a11y-widget *)::before,
html.a11y-pause-animations body *:not(.a11y-widget):not(.a11y-widget *)::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

html.a11y-high-contrast body{
  background:#000!important;
  color:#fff!important;
}
html.a11y-high-contrast body :where(
  .site-header,.hero-card,.info-card,.training-card,.booking-card,.privacy-box,
  .booking-step-head,.booking-confirmation,.booking-form-wrap,.soft-section,
  footer,.date-btn,.slot-btn,input,textarea,select,.btn.ghost
):not(.a11y-widget):not(.a11y-widget *){
  background:#000!important;
  color:#fff!important;
  border-color:#fff!important;
  box-shadow:none!important;
}
html.a11y-high-contrast body :where(
  h1,h2,h3,h4,p,span,small,strong,b,label,.muted,.lead,.eyebrow,.trust-row
):not(.a11y-widget *){
  color:#fff!important;
}
html.a11y-high-contrast body a:not(.a11y-widget *){
  color:#ffeb3b!important;
  text-decoration:underline!important;
  text-decoration-thickness:2px!important;
}
html.a11y-high-contrast body :where(.btn.primary,.header-cta,.date-btn.active,.slot-btn.active):not(.a11y-widget *){
  background:#fff!important;
  color:#000!important;
  border:2px solid #fff!important;
}
html.a11y-high-contrast body input::placeholder,
html.a11y-high-contrast body textarea::placeholder{color:#ddd!important}

@media(max-width:620px){
  .a11y-widget{left:12px;right:auto;bottom:12px}
  .a11y-trigger{width:58px;height:58px}
  .a11y-panel{left:0;right:auto;bottom:70px;width:min(360px,calc(100vw - 24px));border-radius:20px}
  .a11y-panel-head{border-radius:20px 20px 0 0}
  .a11y-panel-body{padding:18px}
  .a11y-options{gap:9px}
  .a11y-options button{min-height:86px;padding:12px 8px}
}
