/* =========================================================
   GarageWall — component styles
   ---------------------------------------------------------
   Design tokens (colors, fonts, spacing…) live in tokens.css,
   which must be linked before this file.
   ========================================================= */

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.45;
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
input, textarea, select, button { font-family: inherit; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--c-ink);
}

/* =========================================================
   Buttons & Chips
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: var(--fs-nav);
    letter-spacing: 0.01em;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
    will-change: transform;
}
.btn--pill { border-radius: var(--r-button); padding: 10px 22px; }
.btn--dark { background: var(--c-ink-soft); color: var(--c-mint); }
.btn--dark:hover { background: var(--c-ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }
.btn--xl {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 600;
    padding: 26px 56px;
    border-radius: 80px;
    letter-spacing: -0.01em;
}

/* Chip / Tag pill */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.chip-row--lg { gap: 12px; }
.chip-row--sm { gap: 6px; }
.chip-row--xs { gap: 6px; }
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--r-button);
    background: var(--c-mint-soft);
    color: var(--c-ink);
    font-size: var(--fs-chip);
    font-weight: 500;
    line-height: 1;
    border: 1px solid rgba(32, 41, 58, 0.06);
    white-space: nowrap;
}
.chip-row--lg .chip {
    padding: 13px 24px;
    font-size: 16px;
    background: var(--c-mint);
    border-color: transparent;
}
.chip--sm { padding: 7px 14px; font-size: 14px; background: var(--c-bg); }
.chip--xs { padding: 7px 13px; font-size: 14px; background: var(--c-bg); border-color: rgba(32,41,58,0.1); white-space: normal; line-height: 1.25; text-align: left; }
.chip--icon { background: var(--c-ink-soft); color: var(--c-mint); font-weight: 600; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 253, 247, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--c-border);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__mark {
    height: 40px;
    width: auto;
    flex: none;
    object-fit: contain;
}
.logo__text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.logo__title { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo__sub {
    font-size: 12px;
    color: var(--c-muted);
    text-transform: lowercase;
    letter-spacing: 0.02em;
    max-width: 13ch;
}

/* Footer logo — uses the light wordmark (logo-white.png) on the dark surface */
.logo--footer .logo__mark { opacity: 0.95; }
.logo--footer .logo__sub { color: var(--c-mint); opacity: 0.75; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 36px; }
.nav__link {
    font-size: var(--fs-nav);
    font-weight: 500;
    color: var(--c-ink);
    position: relative;
    padding: 6px 0;
    transition: color .18s ease;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--c-ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease, background-color .18s ease;
}
.nav__link:hover { color: var(--c-ink-soft); }
.nav__link:hover::after {
    background: var(--c-ink-soft);
    transform: scaleX(1);
}

/* Burger button (hidden on desktop) */
.burger {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 12px;
    border: 1px solid var(--c-border);
}
.burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    border-top: 1px solid var(--c-border);
    background: var(--c-bg);
    padding: 16px var(--gutter-sm);
}
.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu__list a {
    display: block;
    padding: 14px 8px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 14px;
}
.mobile-menu__list a:hover { background: var(--c-mint-soft); }
.mobile-menu__list .btn { padding: 16px 22px; font-size: 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    height: clamp(520px, 70vh, 720px);
    overflow: hidden;
    background: var(--c-bg);
}
.hero__media {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template: 1fr / 1fr;
}
.hero__media-half { position: relative; overflow: hidden; }
.hero__media-half img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--hero-image-position, center);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35));
    pointer-events: none;
}
.hero[data-render="hero"] .hero__content {
    justify-content: flex-end;
    align-items: flex-start;
    transform: none;
    padding-bottom: clamp(24px, 5vw, 64px);
}

.hero__brand {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hero--slides .hero__content > .btn {
    position: absolute;
    inset-inline-end: var(--gutter);
    bottom: 76px;
}

.hero__controls {
    position: absolute;
    z-index: 3;
    inset-inline: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--c-mint);
    cursor: pointer;
    pointer-events: auto;
}

.hero__arrow::before {
    content: '';
    width: 19px;
    height: 19px;
    border-right: 3px solid currentColor;
    border-top: 3px solid currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
    transform: translateX(-2px) rotate(45deg);
}

.hero__arrow--prev::before {
    transform: translateX(2px) rotate(-135deg);
}

.hero__arrow:focus-visible {
    outline: 2px solid var(--c-mint);
    outline-offset: 2px;
}

.hero.hero--slides[data-render="hero"] .hero__content {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.hero--slides .hero__title {
    display: grid;
    justify-items: end;
    gap: 4px;
    max-width: 100%;
    font-size: clamp(24px, 3.2vw, 52px);
    line-height: 1.05;
    text-shadow: none;
}

.hero--slides .hero__title-strip {
    padding: 2px 8px 4px;
    background: var(--c-mint);
    color: #4F4E53;
}

.hero--slides .hero__title-wrap {
    max-width: min(100%, 20ch);
    line-height: 1.28;
    text-wrap: balance;
}

.hero--slides .hero__title-wrap .hero__title-strip {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero--slides .hero__subtitle,
.hero--slides .hero__note {
    max-width: 30ch;
    color: #fff;
    text-shadow: 0 1px 8px #000;
}

.hero--slides .hero__subtitle,
.hero--slides .hero__note {
    white-space: pre-line;
}

.hero__note:not(:empty) {
    margin-top: 12px;
}

@media (max-width: 720px) {
    .hero.hero--slides[data-render="hero"] .hero__content {
        justify-content: flex-end;
    }
}
.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 32px;
    padding-bottom: 32px;
    transform: translateY(calc(clamp(96px, 13.5vh, 128px) + 30px));
}
.hero__title {
    font-size: var(--fs-hero);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.01em;
    color: var(--c-mint);
    text-transform: lowercase;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
    max-width: 15ch;
}
.hero__subtitle {
    max-width: 680px;
    margin-top: clamp(16px, 2vw, 24px);
    color: var(--c-bg-alt);
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.35;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero__content .chip-row { margin-top: clamp(28px, 4vw, 48px); }

/* =========================================================
   About / Numbered list
   ========================================================= */
.about { padding: clamp(64px, 8vw, 120px) 0; }
.about__title { margin-bottom: clamp(40px, 5vw, 72px); }

.features { display: flex; flex-direction: column; }
.features__item {
    display: grid;
    grid-template-columns: 80px 1fr minmax(280px, 360px);
    column-gap: 32px;
    align-items: baseline;
    padding: clamp(22px, 2.4vw, 32px) 0;
    border-bottom: 1px solid var(--c-border);
    transition: padding-left .25s ease, color .25s ease;
}
.features__item:first-child { border-top: 1px solid var(--c-border); }
.features__item:hover { padding-left: 16px; }
.features__num {
    font-size: var(--fs-num);
    font-weight: 500;
    color: var(--c-ink-soft);
    line-height: 1;
    letter-spacing: -0.02em;
}
.features__name {
    font-size: var(--fs-num);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--c-ink);
}
.features__desc {
    font-size: 17px;
    line-height: 1.45;
    color: var(--c-ink-soft);
    max-width: 360px;
}

/* =========================================================
   Showcase (wide photo)
   ========================================================= */
.showcase { padding: clamp(16px, 2vw, 32px) 0; }
.showcase__figure {
    border-radius: var(--r-photo);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    box-shadow: var(--shadow-md);
}
.showcase__figure img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* =========================================================
   Bento grid
   ========================================================= */
.bento { padding: clamp(56px, 7vw, 100px) 0; }
.bento__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.bento__card {
    border-radius: var(--r-card);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    position: relative;
    background: var(--c-bg-alt);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento__card--photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.bento__card--photo:hover img { transform: scale(1.04); }
.bento__card--text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    background: var(--c-mint-soft);
}
.bento__card--text:hover { transform: none; box-shadow: var(--shadow-sm); }
.bento__card--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.bento__copy {
    font-size: 18px;
    line-height: 1.4;
    color: var(--c-ink);
    margin-top: auto;
}
.bento__card--text .chip-row { margin-bottom: 16px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta { padding: clamp(28px, 3.5vw, 50px) 0 clamp(32px, 4vw, 56px); }
.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cta__hint { color: var(--c-muted); font-size: 15px; text-align: center; max-width: 480px; }

/* =========================================================
   Team
   ========================================================= */
.team { padding: clamp(64px, 8vw, 120px) 0 clamp(32px, 4vw, 60px); }
.team__title { margin-bottom: clamp(40px, 5vw, 72px); }
/* Carousel wrapper: bleeds to the container edges and hosts the edge
   scroll-shadows. The .team__grid inside is the actual scroller. */
.team__carousel {
    position: relative;
    margin: 0 calc(var(--gutter) * -1);
}
/* Edge shadows hinting more cards to the side. Hidden by default; ui.js
   toggles .has-overflow-start / .has-overflow-end based on scroll position. */
.team__carousel::before,
.team__carousel::after {
    content: "";
    position: absolute;
    top: 8px;       /* line up with the grid's top padding */
    bottom: 16px;   /* line up with the grid's bottom padding */
    width: clamp(36px, 6vw, 72px);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}
.team__carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(32, 41, 58, 0.16), rgba(32, 41, 58, 0));
}
.team__carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(32, 41, 58, 0.16), rgba(32, 41, 58, 0));
}
.team__carousel.has-overflow-start::before { opacity: 1; }
.team__carousel.has-overflow-end::after { opacity: 1; }

.team__grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    /* keep snapping aligned to the padded edges so the row rests at scrollLeft 0 */
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* gutter padding aligns the first/last card with the container content;
       top/bottom room keeps the hover-lift and card shadow from clipping */
    padding: 8px var(--gutter) 16px;
}
.trainer {
    flex: 0 0 clamp(248px, 26vw, 320px);
    scroll-snap-align: start;
    background: var(--c-bg-alt);
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.trainer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trainer__photo {
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #eef0ee;
}
.trainer__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(var(--trainer-photo-scale, 1));
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.trainer:hover .trainer__photo img { transform: scale(var(--trainer-photo-hover-scale, 1.05)); }
.trainer__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.trainer__name {
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--c-ink);
}
.trainer__role {
    font-size: 15px;
    color: var(--c-muted);
    margin-top: -4px;
}
.trainer .chip-row { margin-top: 10px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 120px);
    background: var(--c-bg);
    scroll-margin-top: var(--header-h);
}
.faq__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
}
.faq__title {
    max-width: 760px;
    color: var(--c-ink);
    text-transform: lowercase;
}
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq__item {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.faq__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.faq__details { color: var(--c-ink); }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    text-align: left;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question-text {
    min-width: 0;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-ink);
    transition: color .2s ease;
}
.faq__question:hover .faq__question-text { color: var(--c-ink-soft); }
.faq__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: var(--c-mint-soft);
    border: 1px solid rgba(32, 41, 58, 0.06);
    position: relative;
    transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__details[open] .faq__icon {
    background: var(--c-mint);
    border-color: transparent;
}
.faq__details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer {
    padding: 0 72px 24px 24px;
    color: var(--c-ink-soft);
}
.faq__answer-link { text-decoration: underline; }
.faq__answer p {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.5;
}
.faq__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.faq__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--r-chip);
    background: #eef0ee;
    border: 1px solid var(--c-border);
}
.faq__image-open {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}
.faq__image-open:focus-visible {
    outline: 3px solid var(--c-mint);
    outline-offset: -5px;
}
.faq__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}
.faq__image-open:hover img { transform: scale(1.03); }

/* =========================================================
   Footer
   ========================================================= */

/* How to find us */
.location {
    padding: 0 0 clamp(48px, 8vw, 112px);
    background: var(--c-bg);
    scroll-margin-top: var(--header-h);
}

.location__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    margin-block: clamp(24px, 4vw, 48px) 24px;
}

.location__info {
    display: grid;
    gap: 16px;
}

.location__info dt,
.location__parking h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.location__details a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.location__parking {
    padding: clamp(16px, 3vw, 28px);
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    align-self: start;
}

.location__map {
    display: block;
    width: 100%;
    height: clamp(300px, 52vw, 460px);
    border: 0;
    border-radius: var(--r-card);
}

@media (max-width: 720px) {
    .location__details {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer {
    background: var(--c-ink-soft);
    color: var(--c-mint);
    padding: clamp(40px, 5vw, 64px) 0 28px;
}
.footer__card {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr auto;
    gap: 40px;
    align-items: start;
    position: relative;
}
.footer .logo--footer .logo__title,
.footer .logo--footer .logo__sub { color: var(--c-mint); }
.footer .logo--footer .logo__sub { opacity: 0.7; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__label { font-size: 14px; opacity: 0.7; letter-spacing: 0.02em; }
.footer__value { font-size: 17px; line-height: 1.5; color: var(--c-mint); }
.footer__value a { color: inherit; transition: opacity .2s ease; }
.footer__value a:hover { opacity: 0.7; text-decoration: underline; }

.footer__socials {
    display: flex;
    gap: 12px;
    justify-self: end;
    align-self: start;
}
.social {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-mint);
    color: var(--c-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background-color .2s ease;
}
/* Icons (vk.png / tg.png) are mint circles with a glyph — fill the button. */
.social img { width: 100%; height: 100%; object-fit: cover; }
.social:hover { transform: translateY(-2px); background: var(--c-mint-soft); }

.footer__bottom {
    text-align: center;
    color: rgba(186, 255, 212, 0.62);
    font-size: 13px;
    margin-top: 24px;
}

/* =========================================================
   Floating call button
   ========================================================= */
.floating-call {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 5vw, 72px);
    height: clamp(60px, 5vw, 72px);
    border-radius: 50%;
    filter: drop-shadow(0 12px 28px rgba(32, 41, 58, 0.24));
    transition: transform .18s ease, filter .18s ease;
    touch-action: manipulation;
}
.floating-call:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 16px 34px rgba(32, 41, 58, 0.28));
}
.floating-call:active { transform: scale(0.96); }
.floating-call:focus-visible {
    outline: 3px solid var(--c-mint);
    outline-offset: 4px;
}
.floating-call img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================================
   Informational cookie notice
   ========================================================= */
.cookie-notice {
    position: fixed;
    z-index: 80;
    left: max(24px, env(safe-area-inset-left));
    bottom: max(24px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(500px, calc(100% - 48px));
    padding: 14px 16px;
    border: 1px solid var(--c-border);
    border-radius: 18px;
    background: var(--c-bg-alt);
    box-shadow: var(--shadow-lg);
    color: var(--c-ink);
    transition: opacity .2s ease, transform .2s ease;
}
.cookie-notice__text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}
.cookie-notice__text a {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.cookie-notice__text a:hover { opacity: 0.68; }
.cookie-notice__close {
    flex: none;
    min-width: 48px;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--c-ink);
    color: var(--c-mint);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}
.cookie-notice__close:hover { transform: translateY(-1px); background: var(--c-ink-soft); }
.cookie-notice__close:focus-visible,
.cookie-notice__text a:focus-visible {
    outline: 3px solid var(--c-mint);
    outline-offset: 3px;
}
.cookie-notice.is-hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

/* =========================================================
   Documents page (/docs)
   ========================================================= */
.docs { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); min-height: 60vh; }
.docs__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.docs__title { margin-bottom: 16px; text-transform: lowercase; }
.docs__intro { font-size: 17px; line-height: 1.5; color: var(--c-ink-soft); }

.docs__list { display: flex; flex-direction: column; gap: 14px; }

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.doc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }

.doc-item__open {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 8px 18px 22px;
    text-align: left;
    min-width: 0;
}
.doc-item__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--c-mint);
    color: var(--c-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.doc-item__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-ink);
    transition: color .2s ease;
}
.doc-item__open:hover .doc-item__title { color: var(--c-ink-soft); }
.doc-item__hint { flex: none; font-size: 14px; color: var(--c-muted); }

.doc-item__download {
    flex: none;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    padding: 10px 18px;
    border-radius: var(--r-button);
    background: var(--c-mint-soft);
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(32, 41, 58, 0.06);
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
}
.doc-item__download:hover { background: var(--c-mint); transform: translateY(-1px); }
.doc-item__download-icon { font-size: 16px; line-height: 1; }

/* =========================================================
   Document viewer modal
   ========================================================= */
.btn--soft { background: var(--c-mint-soft); color: var(--c-ink); }
.btn--soft:hover { background: var(--c-mint); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.doc-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 40px);
    opacity: 0;
    transition: opacity .2s ease;
}
.doc-modal[hidden] { display: none; }
.doc-modal.is-open { opacity: 1; }
.doc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 41, 58, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.doc-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(960px, 100%);
    height: min(90vh, 100%);
    background: var(--c-bg-alt);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(12px) scale(.99);
    transition: transform .25s ease;
}
.doc-modal.is-open .doc-modal__dialog { transform: none; }
.doc-modal__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 14px 22px;
    border-bottom: 1px solid var(--c-border);
}
.doc-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doc-modal__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.doc-modal__actions .btn { padding: 9px 18px; }
.doc-modal__close {
    width: 42px; height: 42px;
    flex: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    color: var(--c-ink);
    transition: background-color .2s ease;
}
.doc-modal__close:hover { background: var(--c-mint-soft); }
.doc-modal__body { flex: 1 1 auto; min-height: 0; background: #eef0ee; }
.doc-modal__frame { width: 100%; height: 100%; border: 0; }

/* =========================================================
   Image lightbox
   ========================================================= */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 36px);
    opacity: 0;
    transition: opacity .2s ease;
}
.image-modal[hidden] { display: none; }
.image-modal.is-open { opacity: 1; }
.image-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 41, 58, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.image-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    height: min(88vh, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(12px) scale(.99);
    transition: transform .25s ease;
}
.image-modal.is-open .image-modal__dialog { transform: none; }
.image-modal__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--r-chip);
    background: var(--c-bg-alt);
    box-shadow: var(--shadow-lg);
}
.image-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-mint);
    color: var(--c-ink);
    font-size: 28px;
    line-height: 1;
    box-shadow: var(--shadow-md);
    transition: background-color .2s ease, transform .2s ease;
}
.image-modal__close:hover {
    background: var(--c-mint-soft);
    transform: translateY(-1px);
}

/* =========================================================
   Prices page (/prices)
   ========================================================= */
.prices { padding: clamp(48px, 7vw, 96px) 0 clamp(16px, 2vw, 28px); }
.prices + .cta { padding-top: clamp(14px, 1.75vw, 25px); }
.prices__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.prices__title { margin-bottom: 16px; text-transform: lowercase; }
.prices__intro {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--c-ink-soft);
}

.prices__groups { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.prices__group { display: flex; flex-direction: column; gap: 20px; }
.prices__group-title { text-transform: lowercase; }

/* Dark category card — echoes the source price-list jpg and the footer card */
.pcard {
    background: var(--c-ink-soft);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--r-card);
    padding: clamp(22px, 3vw, 36px);
    box-shadow: var(--shadow-md);
}
.pcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pcard__title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--c-mint);
}
.pcard__section + .pcard__section { margin-top: 26px; }
.pcard__section-title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

/* Table (wrapped in .pcard__scroll so wide tables scroll on small screens) */
.pcard__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable__table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}
.ptable__corner { width: 38%; }   /* empty top-left cell above the row names */

.ptable__col {
    padding: 0 16px 14px;
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    vertical-align: bottom;
}
.ptable__col--empty { color: transparent; }
.ptable__col-label { display: block; }
.ptable__col-sub { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.45); margin-top: 2px; }
.ptable__col .badge { margin-top: 6px; }

.ptable__table tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.ptable__rowhead { padding: 16px 16px 16px 0; font-weight: 500; vertical-align: top; }
.ptable__name { font-size: 16px; color: rgba(255, 255, 255, 0.92); }
.ptable__sub { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 3px; font-weight: 400; }
.ptable__rowhead .gear { margin-right: 8px; }

.ptable__cell { padding: 16px; vertical-align: top; white-space: nowrap; }
.ptable__price-line { display: inline-flex; align-items: center; gap: 8px; }
.ptable__price { font-size: 17px; font-weight: 500; }
.ptable__old {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}
.ptable__price-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.6);
    white-space: normal;
}

/* Mint accents: ✓ "снаряжение включено" and discount/label pills */
.gear { color: var(--c-mint); font-weight: 700; line-height: 1; }
.pcard__head .gear { font-size: 20px; }
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    background: var(--c-mint);
    color: var(--c-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* Legend box + footnote inside a card */
.pcard__note {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-chip);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pcard__note p { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }
.pcard__footnotes {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.pcard__footnote { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.5); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    :root { --gutter: 32px; }
    .nav__list { gap: 24px; }

    .features__item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        column-gap: 20px;
        row-gap: 8px;
    }
    .features__desc { grid-column: 2 / -1; max-width: none; }

    .bento__grid { grid-template-columns: repeat(2, 1fr); }
    .bento__card--wide { grid-column: span 2; aspect-ratio: 16 / 8; }

    .footer__card {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer__socials { grid-column: 2; grid-row: 1; align-self: start; }
}

@media (max-width: 720px) {
    :root {
        --gutter: 16px;
        --header-h: 64px;
        --fs-h2: clamp(30px, 8vw, 36px);
        --fs-h3: clamp(20px, 6vw, 24px);
        --fs-num: 20px;
        --fs-body: 15px;
        --fs-chip: 13px;
        --fs-nav: 15px;
        --r-card: 20px;
        --r-photo: 22px;
    }

    body { line-height: 1.4; }
    .section-title { line-height: 1.02; letter-spacing: 0; }

    .nav { display: none; }
    .burger { display: inline-flex; }
    .header__inner { min-height: var(--header-h); gap: 12px; }
    .logo__mark { height: 32px; }
    .burger {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .mobile-menu { padding: 10px var(--gutter); }
    .mobile-menu__list { gap: 4px; }
    .mobile-menu__list a {
        padding: 11px 8px;
        font-size: 16px;
        border-radius: 10px;
    }
    .mobile-menu__list .btn { padding: 13px 18px; font-size: 15px; }

    .hero {
        height: auto;
        min-height: min(500px, calc(100svh - var(--header-h)));
    }
    .hero__content {
        min-height: min(500px, calc(100svh - var(--header-h)));
        justify-content: flex-end;
        padding-top: calc(var(--header-h) + 20px);
        padding-bottom: 30px;
        transform: none;
    }
    .hero__title {
        max-width: 100%;
        font-size: clamp(34px, 10vw, 44px);
        line-height: 0.95;
        letter-spacing: 0;
    }
    .hero__content .chip-row {
        margin-top: 18px;
        max-width: 330px;
        gap: 6px;
    }
    .chip { padding: 8px 13px; font-size: 13px; }
    .chip-row--lg .chip {
        padding: 8px 12px;
        font-size: 12px;
        line-height: 1.1;
    }
    .chip--sm,
    .chip--xs {
        padding: 6px 10px;
        font-size: 12px;
    }

    .about { padding: 44px 0 34px; }
    .about__title { margin-bottom: 24px; }
    .features__item {
        grid-template-columns: 32px 1fr;
        column-gap: 10px;
        row-gap: 4px;
        align-items: start;
        padding: 12px 0;
    }
    .features__num {
        font-size: 16px;
        line-height: 1.15;
        padding-top: 2px;
        letter-spacing: 0;
    }
    .features__name {
        font-size: 19px;
        line-height: 1.12;
        letter-spacing: 0;
    }
    .features__desc {
        grid-column: 2 / -1;
        font-size: 13px;
        line-height: 1.35;
        max-width: none;
    }
    .features__item:hover { padding-left: 0; }

    .showcase { padding: 8px 0; }
    .showcase__figure { aspect-ratio: 4 / 3; border-radius: 20px; }

    .bento { padding: 36px 0; }
    .bento__grid { grid-template-columns: 1fr; }
    .bento__grid { gap: 12px; }
    .bento__card {
        border-radius: 18px;
        aspect-ratio: 16 / 10;
    }
    .bento__card--wide { grid-column: 1; aspect-ratio: 16 / 10; }
    .bento__card--text {
        aspect-ratio: auto;
        min-height: 150px;
        padding: 16px;
    }
    .bento__card--text .chip-row { margin-bottom: 12px; }
    .bento__copy {
        font-size: 14px;
        line-height: 1.35;
    }

    .team { padding: 42px 0 26px; }
    .team__title { margin-bottom: 24px; }
    .team__carousel { margin: 0 calc(var(--gutter) * -1); }
    .team__grid {
        gap: 14px;
        scroll-padding-inline: var(--gutter);
        padding: 4px var(--gutter) 12px;
    }
    .trainer {
        flex-basis: 218px;
        border-radius: 18px;
    }
    .trainer__body {
        padding: 16px;
        gap: 7px;
    }
    .trainer__name { font-size: 22px; letter-spacing: 0; }
    .trainer__role { font-size: 13px; margin-top: -2px; }
    .trainer .chip-row { margin-top: 6px; gap: 5px; }

    .faq { padding: 26px 0 42px; }
    .faq__inner { gap: 24px; }
    .faq__question {
        gap: 14px;
        padding: 17px 14px;
    }
    .faq__question-text {
        font-size: 17px;
        line-height: 1.25;
    }
    .faq__icon {
        width: 30px;
        height: 30px;
    }
    .faq__answer {
        padding: 0 14px 18px;
    }
    .faq__answer p {
        font-size: 14px;
        line-height: 1.45;
    }
    .faq__gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .faq__image {
        border-radius: 12px;
    }
    .image-modal {
        padding: 10px;
    }
    .image-modal__dialog {
        height: min(84vh, 100%);
    }
    .image-modal__img {
        border-radius: 12px;
    }
    .image-modal__close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 26px;
    }

    .cta { padding: 34px 0 28px; }
    .cta__inner { gap: 10px; }
    .cta__hint { font-size: 13px; }
    .btn--xl { padding: 16px 26px; font-size: 16px; border-radius: 44px; }

    .footer__card {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .footer__socials { grid-column: 1; grid-row: auto; justify-self: start; }
    .footer__value { font-size: 15px; line-height: 1.45; }
    .social {
        width: 46px;
        height: 46px;
    }

    .cookie-notice {
        left: max(16px, env(safe-area-inset-left));
        bottom: max(100px, calc(env(safe-area-inset-bottom) + 84px));
        width: min(500px, calc(100% - 32px));
        gap: 12px;
        padding: 12px;
    }
    .cookie-notice__text { font-size: 13px; }

    .logo__sub { display: none; }

    /* Prices: table rows become compact service cards on phones. */
    .prices { padding: 34px 0 12px; }
    .prices + .cta { padding-top: 9px; }
    .prices__head {
        margin-bottom: 22px;
        max-width: none;
    }
    .prices__title { margin-bottom: 10px; }
    .prices__intro {
        font-size: 14px;
        line-height: 1.4;
    }
    .prices__groups { gap: 24px; }
    .prices__group { gap: 12px; }
    .prices__group-title { margin-top: 6px; }
    .pcard {
        padding: 16px 12px;
        border-radius: 18px;
        box-shadow: var(--shadow-sm);
    }
    .pcard__head {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }
    .pcard__title {
        font-size: 18px;
        line-height: 1.15;
        letter-spacing: 0;
    }
    .pcard__section + .pcard__section { margin-top: 18px; }
    .pcard__section-title {
        margin-bottom: 8px;
        font-size: 13px;
    }
    .pcard__scroll {
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
    }
    .ptable__table {
        display: block;
        min-width: 0;
        table-layout: auto;
        border-collapse: separate;
    }
    .ptable__table thead { display: none; }
    .ptable__table tbody {
        display: grid;
        gap: 8px;
    }
    .ptable__table tbody tr {
        display: block;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
    }
    .ptable__rowhead {
        display: block;
        padding: 0 0 9px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .ptable__rowhead .gear { margin-right: 6px; }
    .ptable__name {
        font-size: 14px;
        line-height: 1.25;
    }
    .ptable__sub {
        font-size: 12px;
        line-height: 1.3;
        margin-top: 2px;
    }
    .ptable__cell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 4px;
        align-items: start;
        padding: 9px 0 0;
        white-space: normal;
    }
    .ptable__cell::before {
        content: attr(data-label);
        min-width: 0;
        font-size: 12px;
        line-height: 1.3;
        color: rgba(255, 255, 255, 0.58);
    }
    .ptable__cell--empty { display: none; }
    .ptable__price-line {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 5px;
    }
    .ptable__price {
        font-size: 15px;
        line-height: 1.25;
        text-align: right;
    }
    .ptable__old { font-size: 12px; }
    .ptable__price-note {
        grid-column: 1 / -1;
        justify-self: end;
        max-width: 100%;
        margin-top: 0;
        font-size: 11px;
        text-align: right;
    }
    .badge {
        padding: 2px 7px;
        font-size: 11px;
    }
    .pcard__note {
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
        gap: 4px;
    }
    .pcard__note p {
        font-size: 12px;
        line-height: 1.35;
    }
    .pcard__footnotes { margin-top: 10px; }
    .pcard__footnote {
        font-size: 12px;
        line-height: 1.35;
    }

    /* Documents: drop the "Просмотр" hint, slim the row down */
    .doc-item__hint { display: none; }
    .doc-item__open { gap: 14px; padding: 14px 4px 14px 16px; }
    .doc-item__icon { width: 42px; height: 42px; }
    .doc-item__title { font-size: 16px; }
    .doc-item__download { margin-right: 12px; padding: 9px 14px; }
    .doc-item__download-icon { font-size: 15px; }

    /* Viewer modal: full-bleed sheet, compact actions */
    .doc-modal { padding: 0; }
    .doc-modal__dialog { width: 100%; height: 100%; border-radius: 0; }
    .doc-modal__head { padding: 12px 12px 12px 16px; gap: 10px; }
    .doc-modal__title { font-size: 16px; }
    .doc-modal__actions { gap: 6px; }
    .doc-modal__actions .btn { padding: 9px 14px; font-size: 14px; }
}

@media (max-width: 420px) {
    :root { --gutter: 14px; }

    .hero,
    .hero__content {
        min-height: min(470px, calc(100svh - var(--header-h)));
    }
    .hero__title { font-size: clamp(32px, 9.8vw, 40px); }
    .hero__content .chip-row { max-width: 300px; }
    .chip-row--lg .chip {
        padding: 7px 10px;
        font-size: 11.5px;
    }
    .features__item {
        grid-template-columns: 30px 1fr;
        padding: 11px 0;
    }
    .features__name { font-size: 18px; }
    .features__desc { font-size: 12.5px; }
    .pcard {
        padding: 14px 10px;
        border-radius: 16px;
    }
    .ptable__table tbody tr { padding: 10px; }
    .ptable__cell { column-gap: 10px; }

    /* Keep only the download icon on very small screens */
    .doc-modal__actions .btn--soft { display: none; }
}

/* =========================================================
   States (toggled by JS)
   ========================================================= */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(32, 41, 58, 0.08); }

.mobile-menu {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
}

.btn--pressed { transform: scale(0.97) !important; }

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}


@media (min-width: 721px) {
    .hero[data-render="hero"] .hero__content {
        padding-inline: max(var(--gutter), 66px);
        padding-bottom: 110px;
    }

    .hero--slides .hero__content > .btn {
        inset-inline-end: max(var(--gutter), 66px);
        bottom: clamp(32px, 3vw, 48px);
    }

    .hero--slides .hero__note {
        max-width: 38ch;
    }
}

@media (max-width: 720px) {
    .hero[data-render="hero"] .hero__content {
        padding-bottom: 74px;
    }

    .hero.hero--slides[data-render="hero"] .hero__content {
        justify-content: flex-start;
        padding-top: 22px;
        padding-bottom: 132px;
    }

    .hero--slides .hero__title {
        margin-bottom: auto;
        font-size: calc(clamp(24px, 3.2vw, 52px) * 1.05);
    }

    .hero--slides .hero__media-half img {
        object-position: var(--hero-mobile-image-position, var(--hero-image-position, center));
    }

    .hero--slides .hero__content > .btn {
        left: 50%;
        inset-inline-end: auto;
        bottom: 36px;
        translate: -50% 50%;
        width: max-content;
        max-width: calc(100% - 128px);
        text-align: center;
    }

    .hero--slides .hero__subtitle {
        margin-top: 24px;
    }

    .hero__controls {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    .hero__arrow::before {
        width: 15px;
        height: 15px;
    }
}
