/* Shared shell on the sport and New Year pages; their content styles remain scoped. */
body.lh-body:has(.ny),body.lh-body:has(.lsk){padding-top:76px}
body:has(.ny) .lh-top,body:has(.lsk) .lh-top{background:var(--dark)}
#responsive-menu-pro-button,#responsive-menu-pro-container{display:none!important}
@media(max-width:699px){body.lh-body:has(.ny),body.lh-body:has(.lsk){padding-top:64px}}
/* Keep availability actions within the mobile card after applying the shared shell. */
.ny-av-off .ny-hero-cta{min-width:0;max-width:100%;flex:0 1 auto}
@media(max-width:600px){.ny-av-off .ny-hero-cta{width:100%}.ny-av-off .ny-btn{max-width:100%;white-space:normal}}
/* Fixed landing CTA bars must not cover the final legal/footer lines. */
body:has(.ny) .lh-foot,body:has(.lsk) .lh-foot{padding-bottom:92px}

/* CF7 prints the visible reCAPTCHA attribution directly below submit. */
.grecaptcha-badge{visibility:hidden!important}
.wpcf7 .wpcf7-form .lsk-recaptcha{
  display:block; margin:7px 0 0; padding:0; color:#555e56;
  font:400 12px/1.5 var(--ui,sans-serif); letter-spacing:normal; text-transform:none;
}
.lh-call .wpcf7 .wpcf7-form .lsk-recaptcha{color:#d4d9d1}
.wpcf7 form p:has(> .wpcf7-submit){position:relative;margin-bottom:0}
.wpcf7 form p > .wpcf7-submit ~ .wpcf7-spinner{
  position:absolute;inset-inline-end:12px;top:25px;transform:translateY(-50%);margin:0;pointer-events:none;
}

@media (max-width: 380px) {
  .lh-top .lh-top-in { width:calc(100% - 24px); gap:6px; }
  .lh-top .lh-logo { gap:6px; }
  .lh-top .lh-logo i { font-size:8px; letter-spacing:.08em; }
  .lh-top .lh-burger-l { display:none; }
  .lh-top .lh-burger { min-width:44px; min-height:44px; justify-content:center; }
  .lh-top .lh-top-r { gap:6px; }
}

/* CF7 announces the result in its existing live region. Keep the visual
   receipt in the form, next to the action that produced it. */
.wpcf7 form.wpcf7-form:is(.sent,.failed,.aborted,.spam,.invalid,.unaccepted,.payment-required) .wpcf7-response-output:not(:empty),
.wpcf7 form.wpcf7-form .lsk-captcha-status:not(:empty) {
  --notice-ink:#663f26;
  --notice-paper:#faf3e8;
  --notice-rule:#dbc6a6;
  position:relative;
  box-sizing:border-box;
  margin:16px 0 0;
  padding:15px 18px 15px 54px;
  border:1px solid var(--notice-rule) !important;
  border-radius:10px;
  background:var(--notice-paper);
  color:var(--notice-ink) !important;
  font:500 15px/1.55 var(--ui, sans-serif);
  text-align:left;
  text-transform:none;
  letter-spacing:normal;
  overflow-wrap:anywhere;
}
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output:not(:empty) {
  --notice-ink:#244b39;
  --notice-paper:#eef4ed;
  --notice-rule:#c7d7c8;
}
.wpcf7 form.wpcf7-form :is(.wpcf7-response-output,.lsk-captcha-status):not(:empty)::before {
  content:"";
  position:absolute;
  top:15px;
  left:15px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--notice-ink);
}
.wpcf7 form.wpcf7-form :is(.wpcf7-response-output,.lsk-captcha-status):not(:empty)::after {
  content:"";
  position:absolute;
  top:21px;
  left:26px;
  width:2px;
  height:12px;
  background:linear-gradient(to bottom,#fff 0 65%,transparent 65% 82%,#fff 82%);
}
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output:not(:empty)::after {
  top:22px;
  left:22px;
  width:10px;
  height:6px;
  box-sizing:border-box;
  border:solid #fff;
  border-width:0 0 2px 2px;
  background:none;
  transform:rotate(-45deg);
}
@media (forced-colors:active) {
  .wpcf7 form.wpcf7-form :is(.wpcf7-response-output,.lsk-captcha-status)::before,
  .wpcf7 form.wpcf7-form :is(.wpcf7-response-output,.lsk-captcha-status)::after {display:none}
}

/* A successful lead occupies the same card as the form it replaces. */
.wpcf7 form.wpcf7-form[hidden]{display:none!important}
.wpcf7 .lsk-lead-receipt{
  box-sizing:border-box; width:100%; padding:clamp(24px,4vw,46px) clamp(18px,3vw,34px);
  border-radius:var(--r-2,14px); background:#edf2e9; color:#253e31;
  text-align:center;
}
.wpcf7 .lsk-receipt-mark{
  display:grid; place-items:center; margin:0 auto 18px; width:44px; height:44px;
  border-radius:50%; background:#2c4d3a; box-shadow:0 0 0 5px #dce7d8;
}
.wpcf7 .lsk-receipt-mark::after{
  content:""; width:14px; height:8px; border:solid #fff; border-width:0 0 2px 2px;
  transform:translateY(-2px) rotate(-45deg);
}
.wpcf7 .lsk-lead-receipt h3{
  margin:0; color:#253e31; font-family:var(--disp,Georgia,serif);
  font-size:clamp(26px,3.2vw,38px); font-weight:500; line-height:1.12;
  letter-spacing:-.025em; text-transform:none; overflow-wrap:break-word;
}
.wpcf7 .lsk-lead-receipt p{
  max-width:32ch; margin:12px auto 16px; color:#425647;
  font:400 15px/1.5 var(--ui,sans-serif); text-transform:none; letter-spacing:normal;
}
.wpcf7 .lsk-lead-receipt button{
  padding:10px 4px; min-height:44px; background:transparent; border:0; color:#5e4926;
  font:600 14px/1.4 var(--ui,sans-serif); cursor:pointer; text-decoration:underline;
  text-underline-offset:4px;
}
.wpcf7 .lsk-lead-receipt button:is(:hover,:focus-visible){background:transparent;color:#283f31}

/* Lead forms use one scale of nested curves across page templates. */
:is(#zayavka, #lh-call) {
  --lead-panel-radius:clamp(28px,3vw,44px);
  --lead-field-radius:16px;
}
#zayavka :is(.lh-form-card,.ny-form-card),
.lsk #zayavka .lsk-formwrap .booking__template {
  border-radius:var(--lead-panel-radius);
}
:is(#zayavka,#lh-call) .wpcf7 form.wpcf7-form :is(
  input[type=text],input[type=email],input[type=tel],input[type=date],input[type=number],select,textarea
) {
  border-radius:var(--lead-field-radius);
}
:is(#zayavka,#lh-call) .wpcf7 form.wpcf7-form .wpcf7-submit {
  border-radius:999px;
}
:is(#zayavka,#lh-call) .wpcf7 .lsk-lead-receipt {
  border-radius:calc(var(--lead-panel-radius) - 8px);
}
.lsk #zayavka.lsk-sec::before {
  --ls-tint-from:#385344;
  --ls-tint-to:#304d3d;
}
@media(prefers-reduced-motion:no-preference) {
  .lsk #zayavka.lsk-sec::before {animation:ls-photo-breathe 5s ease-in-out infinite alternate}
}
