/* =============================================================================
   ТОО-АШУУ — дизайн-система
   Фирменные цвета логотипа: синий #1f46a0 и салатовый #59bc08.
   Тёмные секции — глубокий фирменный синий, светлые — снег.
   Все цвета — в переменных ниже.
   ============================================================================= */
:root {
    --night-950: #050c1d;
    --night-900: #081329;
    --night-850: #0b1a36;
    --night-800: #10234a;
    --night-700: #1a3570;
    --brand-blue: #1f46a0;
    --brand-green: #59bc08;
    --ice: #9fcbed;
    --snow: #f6f3ee;
    --snow-2: #ece6dd;
    --ink: #0c1a28;

    --accent: #6fd11c;
    --accent-light: #b9ef8a;
    --accent-deep: #3f8c05;
    --accent-grad: linear-gradient(135deg, #c3f59a 0%, #7ad62a 45%, #4fa807 100%);
    --on-accent: #0d2403;

    --green: #3fb36b;
    --blue: #3d8bfd;
    --red: #e5484d;
    --black: #0a0a0a;
    --orange: #f08c2e;

    --r-xs: 8px;
    --r-sm: 14px;
    --r: 22px;
    --r-lg: 32px;
    --r-full: 999px;

    --shadow-sm: 0 6px 20px rgba(3, 10, 18, .25);
    --shadow: 0 22px 60px rgba(3, 10, 18, .45);
    --shadow-lg: 0 40px 100px rgba(3, 10, 18, .6);

    --container: 1320px;
    --gap: 28px;
    --header-h: 84px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-soft: cubic-bezier(.4, 0, .2, 1);

    --font: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;

    /* Тёмная тема по умолчанию */
    --bg: var(--night-900);
    --bg-alt: var(--night-850);
    --text: #f1f4f8;
    --text-soft: #b3c2d2;
    --text-dim: #7b8ea3;
    --surface: rgba(255, 255, 255, .04);
    --surface-2: rgba(255, 255, 255, .08);
    --stroke: rgba(255, 255, 255, .1);
    --stroke-strong: rgba(255, 255, 255, .2);
    --stroke-accent: rgba(111, 209, 28, .45);
    --card-bg: var(--night-850);
}

/* Светлая «снежная» секция: те же компоненты, другие переменные */
.theme-light {
    --bg: var(--snow);
    --bg-alt: var(--snow-2);
    --text: var(--ink);
    --text-soft: #3e5064;
    --text-dim: #6d7c8c;
    --surface: #ffffff;
    --surface-2: #fbf9f5;
    --stroke: rgba(12, 26, 40, .1);
    --stroke-strong: rgba(12, 26, 40, .22);
    --stroke-accent: rgba(31, 70, 160, .35);
    --card-bg: #ffffff;
    --accent: #1f46a0;
    --shadow: 0 22px 60px rgba(12, 26, 40, .12);
    color: var(--text);
    background: var(--bg);
}

/* =============================================================================
   БАЗА
   ============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* У Cormorant по умолчанию «старинные» цифры — включаем обычные.
       Именно font-feature-settings: шорткат font: его не сбрасывает */
    font-feature-settings: 'lnum' 1;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.15;
    font-weight: 600;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: var(--on-accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 880px;
}

.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--fill {
    fill: currentColor;
    stroke: none;
}

/* Обычные (лининг) цифры везде: шорткат font: сбрасывает font-variant, поэтому !important */
*,
*::before,
*::after {
    font-variant-numeric: lining-nums !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* =============================================================================
   ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ (включается JS)
   ============================================================================= */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =============================================================================
   КНОПКИ И ПОЛЯ
   ============================================================================= */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font: 600 15px/1.2 var(--font);
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s;
}

.btn .icon {
    font-size: 18px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--accent-grad);
    background-size: 160% 160%;
    background-position: 0 0;
    color: var(--on-accent);
    box-shadow: 0 10px 30px rgba(111, 209, 28, .25);
}

.btn--primary:hover {
    background-position: 100% 100%;
    box-shadow: 0 16px 40px rgba(111, 209, 28, .35);
}

.btn--ghost {
    border-color: var(--stroke-strong);
    color: var(--text);
    background: transparent;
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--glass {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, .16);
}

.btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 19px 40px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

.btn[disabled],
.btn.is-loading {
    opacity: .6;
    pointer-events: none;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    transition: gap .3s var(--ease), color .2s;
}

.link-more:hover {
    gap: 14px;
}

.link-more .icon {
    font-size: 18px;
}

.field__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--text);
    font: 500 15px var(--font);
    color-scheme: dark;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.theme-light .field__input {
    color-scheme: light;
}

.field__input::placeholder {
    color: var(--text-dim);
}

.field__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(111, 209, 28, .15);
}

select.field__input {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd11c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

select.field__input option {
    background: var(--night-850);
    color: #fff;
}

/* =============================================================================
   ШАПКА
   ============================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    color: #fff;
    transition: background .5s var(--ease), box-shadow .5s;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 13, 22, .55), transparent);
    pointer-events: none;
    transition: opacity .4s;
}

.header.is-scrolled {
    background: rgba(8, 19, 31, .86);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

.header.is-scrolled::before {
    opacity: 0;
}

.header__top {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    transition: margin .5s var(--ease), opacity .4s;
}

.header.is-scrolled .header__top {
    margin-top: -41px;
    opacity: 0;
}

.header__top-inner {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.header__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}

.header__contact:hover {
    color: var(--accent-light);
}

.header__contact .icon {
    font-size: 15px;
    color: var(--accent);
}

.header__socials {
    margin-left: auto;
    display: flex;
    gap: 14px;
}

.header__socials a {
    display: inline-flex;
    font-size: 16px;
    transition: color .2s;
}

.header__socials a:hover {
    color: var(--accent-light);
}

.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.open-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
}

.open-badge--open::before {
    background: #4ade80;
    animation: pulse 2s infinite;
}

.open-badge--closed::before {
    background: #f59e0b;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
    70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.header__inner {
    position: relative;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo__img {
    height: 46px;
    width: auto;
}

.logo__mark {
    width: 46px;
    height: 46px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__name {
    font: 700 26px/1 var(--font-display);
    letter-spacing: .02em;
}

.logo__sub {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.nav__link {
    position: relative;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
    transition: color .2s;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    color: #fff;
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__mobile-extra {
    display: none;
}

.header__cta {
    flex-shrink: 0;
}

.burger {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }

.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-h) + 80px) 0 48px;
    overflow: hidden;
    color: #fff;
    background: var(--night-950);
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s var(--ease-soft), visibility 0s 1.4s;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.4s var(--ease-soft), visibility 0s;
}

.hero__media {
    position: absolute;
    inset: 0;
    transform: scale(1.12);
    transition: transform 8s linear;
}

.hero__slide.is-active .hero__media {
    transform: scale(1);
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 13, 22, .5) 0%, rgba(5, 13, 22, .1) 35%, rgba(5, 13, 22, .35) 65%, rgba(5, 13, 22, .95) 100%),
        linear-gradient(90deg, rgba(5, 13, 22, .55) 0%, transparent 60%);
}

.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 230px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.hero__eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: currentColor;
}

.hero__title {
    max-width: 960px;
    font: 500 clamp(52px, 8.4vw, 124px)/.95 var(--font-display);
    letter-spacing: -.01em;
}

.hero__title em {
    font-style: italic;
    color: var(--accent-light);
}

.hero__text {
    max-width: 560px;
    margin-top: 24px;
    font-size: 18px;
    color: rgba(255, 255, 255, .82);
}

/* Анимация текста активного слайда */
.hero__slide .hero__eyebrow,
.hero__slide .hero__title,
.hero__slide .hero__text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.hero__slide.is-active .hero__eyebrow { opacity: 1; transform: none; transition-delay: .3s; }
.hero__slide.is-active .hero__title   { opacity: 1; transform: none; transition-delay: .45s; }
.hero__slide.is-active .hero__text    { opacity: 1; transform: none; transition-delay: .6s; }

.hero__controls {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 200px;
    z-index: 3;
    pointer-events: none;
}

.hero__controls .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.hero__dots {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero__dot {
    position: relative;
    width: 44px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    overflow: hidden;
}

.hero__dot::before {
    content: '';
    position: absolute;
    inset: -10px 0;
}

.hero__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-light);
    transform: scaleX(0);
    transform-origin: left;
}

.hero__dot.is-active::after {
    animation: dot-progress var(--slide-duration, 7s) linear forwards;
}

.hero.is-paused .hero__dot.is-active::after {
    animation-play-state: paused;
}

@keyframes dot-progress {
    to { transform: scaleX(1); }
}

.hero__arrows {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero__arrow {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    transition: background .3s, border-color .3s;
}

.hero__arrow:hover {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, .12);
}

.hero__arrow .icon {
    font-size: 20px;
}

/* Нарисованные горы — пока нет фото */
.scenery {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.snowfall {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 90px 120px, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 160px 60px, rgba(255, 255, 255, .6), transparent),
        radial-gradient(1px 1px at 230px 180px, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 300px 90px, rgba(255, 255, 255, .5), transparent);
    background-size: 320px 220px;
    animation: snow 18s linear infinite;
    opacity: .55;
}

@keyframes snow {
    to { background-position: 60px 660px; }
}

/* Виджет бронирования */
.hero__booking {
    position: relative;
    z-index: 4;
}

.booking-widget {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr .8fr .8fr auto;
    align-items: end;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r);
    background: rgba(8, 19, 31, .62);
    backdrop-filter: blur(22px) saturate(140%);
    box-shadow: var(--shadow-lg);
}

.booking-widget__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-widget__field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.booking-widget .field__input {
    height: 52px;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.booking-widget__submit {
    height: 52px;
}

/* =============================================================================
   ПОЛОСА «СЕГОДНЯ НА СКЛОНЕ» + ЖИВАЯ ПОГОДА
   ============================================================================= */
.today {
    position: relative;
    z-index: 2;
    padding: 0 0 24px;
    background: var(--night-950);
}

.today__grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, 1fr);
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    overflow: hidden;
    background: rgba(255, 255, 255, .02);
}

.today__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 22px 26px;
}

.today__item + .today__item {
    border-left: 1px solid var(--stroke);
}

.today__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.today__value {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 600 30px/1.1 var(--font-display);
    color: #fff;
}

.today__value .icon,
.today__value svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--accent);
    stroke: var(--accent);
}

.today__note {
    font-size: 13px;
    color: var(--text-soft);
}

.today__item--status .open-badge {
    font: 600 22px/1.2 var(--font-display);
    color: #fff;
}

/* =============================================================================
   СЕКЦИИ
   ============================================================================= */
.section {
    position: relative;
    padding: 120px 0;
    background: var(--bg);
}

.section--alt {
    background: var(--bg-alt);
}

.section--tight {
    padding: 72px 0;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 56px;
}

.section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent);
}

.section__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

.section__title {
    max-width: 760px;
    font: 500 clamp(38px, 5vw, 64px)/1.02 var(--font-display);
    letter-spacing: -.01em;
}

.section__title em {
    font-style: italic;
    color: var(--accent);
}

.section__lead {
    max-width: 560px;
    margin-top: 18px;
    font-size: 17px;
    color: var(--text-soft);
}

.section__head--center .section__lead {
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.empty {
    padding: 64px 24px;
    border: 1px dashed var(--stroke-strong);
    border-radius: var(--r);
    text-align: center;
    color: var(--text-dim);
}

.note {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-dim);
}

.lead {
    margin-bottom: 28px;
    font: 500 24px/1.5 var(--font-display);
    color: var(--text);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

/* =============================================================================
   ИНТРО «О КУРОРТЕ»
   ============================================================================= */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: center;
}

.intro__text {
    margin-top: 26px;
    font-size: 17px;
    color: var(--text-soft);
}

.intro__text p + p {
    margin-top: 14px;
}

.intro__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 44px 0 40px;
    padding: 28px 0;
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

.stat__value {
    display: block;
    font: 500 46px/1 var(--font-display);
    color: var(--text);
}

.stat__value small {
    font-size: .5em;
    color: var(--accent);
}

.stat__label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

.intro__media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--night-850);
}

.intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 18px 22px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    color: var(--ink);
}

.intro__badge strong {
    display: block;
    font: 600 34px/1 var(--font-display);
}

.intro__badge span {
    font-size: 13px;
    color: #4b5b6b;
}

/* =============================================================================
   ПРЕИМУЩЕСТВА
   ============================================================================= */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.feature {
    position: relative;
    padding: 34px 30px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}

.feature:hover {
    transform: translateY(-6px);
    border-color: var(--stroke-accent);
    box-shadow: var(--shadow);
}

.feature__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 50%;
    background: rgba(111, 209, 28, .12);
    color: var(--accent);
}

.feature__icon .icon {
    font-size: 28px;
}

.feature__title {
    font: 600 26px/1.15 var(--font-display);
}

.feature__text {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-soft);
}

/* =============================================================================
   ТРАССЫ
   ============================================================================= */
.slope {
    position: relative;
    padding: 32px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    overflow: hidden;
    transition: transform .6s var(--ease), border-color .4s;
}

.slope:hover {
    transform: translateY(-6px);
    border-color: var(--stroke-accent);
}

.slope::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--level-color, var(--accent));
    opacity: .14;
    filter: blur(14px);
}

.slope--green,    .slope__dot--green    { --level-color: var(--green); }
.slope--blue,     .slope__dot--blue     { --level-color: var(--blue); }
.slope--red,      .slope__dot--red      { --level-color: var(--red); }
.slope--black,    .slope__dot--black    { --level-color: var(--black); }
.slope--freeride, .slope__dot--freeride { --level-color: var(--orange); }

.slope__level {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--level-color);
    box-shadow: 0 0 0 6px var(--surface-2);
}

.slope__title {
    margin-top: 24px;
    font: 600 30px var(--font-display);
}

.slope__meta {
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-soft);
}

.slope__dot {
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--level-color, var(--accent));
}

.slope__dot--black {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
}

/* =============================================================================
   ЦЕНЫ, СКИ-ПАССЫ
   ============================================================================= */
.price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.price__from,
.price__unit {
    font-size: 14px;
    color: var(--text-dim);
}

.price__value {
    font: 600 30px/1 var(--font-display);
    color: var(--text);
}

.pass {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px 36px 36px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}

.pass:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.pass--featured {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        var(--accent-grad) border-box;
}

.pass__tag {
    position: absolute;
    top: -14px;
    left: 36px;
    padding: 5px 16px;
    border-radius: var(--r-full);
    background: var(--accent-grad);
    color: var(--on-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.pass__name {
    font: 600 30px var(--font-display);
}

.pass .price {
    margin-top: 22px;
}

.pass .price__value {
    font-size: 58px;
}

.pass__note {
    margin-top: 10px;
    font-size: 14px;
    color: var(--accent);
}

.pass__list {
    flex-grow: 1;
    margin: 26px 0 32px;
    padding: 0;
    list-style: none;
    color: var(--text-soft);
}

.pass__list li {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--stroke);
}

.pass__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--accent);
}

/* =============================================================================
   КАРТОЧКИ
   ============================================================================= */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--card-bg);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--stroke-accent);
    box-shadow: var(--shadow);
}

.card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--night-800);
}

.card__media img,
.card__media .scenery {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.card:hover .card__media img,
.card:hover .card__media .scenery {
    transform: scale(1.06);
}

.card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: rgba(8, 19, 31, .65);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.card__badge--accent {
    background: var(--accent-grad);
    color: var(--on-accent);
}

.card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.card__meta {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.card__title {
    font: 600 28px/1.15 var(--font-display);
}

.card__title a {
    transition: color .2s;
}

.card__title a:hover {
    color: var(--accent);
}

.card__title + .card__meta {
    margin: 10px 0 0;
}

.card__text {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-soft);
}

.card__footer {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Плитки услуг */
.tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 3 / 4;
    padding: 30px;
    border-radius: var(--r);
    overflow: hidden;
    color: #fff;
    background: var(--night-800);
    isolation: isolate;
}

.tile__img,
.tile .scenery {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.tile:hover .tile__img,
.tile:hover .scenery {
    transform: scale(1.07);
}

.tile__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 13, 22, .88) 100%);
}

.tile__body {
    width: 100%;
}

.tile__title {
    display: block;
    font: 600 30px/1.1 var(--font-display);
}

.tile__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.tile:hover .tile__more {
    opacity: 1;
    transform: none;
}

/* Отзывы */
.review {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
}

.review__quote {
    height: 30px;
    font: 600 80px/1 var(--font-display);
    color: var(--accent);
    opacity: .6;
}

.review__rating {
    margin-top: 18px;
    color: var(--accent);
    letter-spacing: 3px;
}

.review__text {
    flex-grow: 1;
    margin-top: 14px;
    font: 500 20px/1.55 var(--font-display);
    color: var(--text);
}

.review__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--stroke);
}

.review__date {
    font-size: 13px;
    color: var(--text-dim);
}

/* =============================================================================
   ПРОГНОЗ ПОГОДЫ
   ============================================================================= */
.forecast {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.forecast__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 10px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-sm);
    background: var(--surface);
    text-align: center;
}

.forecast__day.is-open {
    border-color: var(--stroke-accent);
    box-shadow: inset 0 0 0 1px var(--stroke-accent);
}

.forecast__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.forecast__day.is-open .forecast__name {
    color: var(--accent);
}

.forecast__date {
    font-size: 12px;
    color: var(--text-dim);
}

.forecast__icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--text);
}

.forecast__temp {
    font: 600 24px var(--font-display);
}

.forecast__temp span {
    font-size: 16px;
    color: var(--text-dim);
}

.forecast__snow {
    min-height: 18px;
    font-size: 12px;
    font-weight: 600;
    color: #2f73ad;
}

.forecast__fallback {
    grid-column: 1 / -1;
}

/* =============================================================================
   ТРАНСФЕР
   ============================================================================= */
.route {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 34px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    transition: transform .6s var(--ease), border-color .4s;
}

.route--link:hover {
    transform: translateY(-6px);
    border-color: var(--stroke-accent);
}

.route__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(111, 209, 28, .12);
    color: var(--accent);
    font-size: 24px;
}

.route__name {
    font: 600 28px var(--font-display);
}

.route__text {
    color: var(--text-soft);
    font-size: 15px;
}

.route__price {
    margin-top: auto;
}

.contact-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 34px 40px;
    border-radius: var(--r);
    color: #fff;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(111, 209, 28, .35), transparent 60%),
        linear-gradient(135deg, var(--night-850), var(--night-700));
}

.contact-strip__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.contact-strip__text {
    margin-top: 6px;
    font: 600 30px var(--font-display);
}

.contact-strip .actions {
    margin-top: 0;
}

/* =============================================================================
   INSTAGRAM + CTA
   ============================================================================= */
.insta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 64px;
    border-radius: var(--r-lg);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(225, 48, 108, .35), transparent 55%),
        radial-gradient(ellipse at 100% 0%, rgba(111, 209, 28, .4), transparent 55%),
        linear-gradient(135deg, var(--night-850), var(--night-700));
}

.insta__handle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--accent-light);
}

.insta__handle .icon {
    font-size: 22px;
}

.insta__title {
    max-width: 680px;
    margin-top: 14px;
    font: 500 clamp(32px, 4vw, 52px)/1.05 var(--font-display);
}

.insta__text {
    margin-top: 14px;
    color: rgba(255, 255, 255, .75);
}

.cta {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    color: #fff;
    background: var(--night-950);
    text-align: center;
}

.cta .scenery {
    opacity: .6;
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__title {
    max-width: 820px;
    font: 500 clamp(42px, 6vw, 84px)/1 var(--font-display);
}

.cta__title em {
    font-style: italic;
    color: var(--accent-light);
}

.cta__text {
    max-width: 520px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
}

.cta .actions {
    justify-content: center;
}

/* =============================================================================
   ПОДВАЛ
   ============================================================================= */
.footer {
    position: relative;
    padding-top: 100px;
    color: var(--text-soft);
    background: var(--night-950);
    border-top: 1px solid var(--stroke);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1fr 1.3fr;
    gap: 50px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer .logo {
    color: #fff;
}

.footer__tagline {
    max-width: 300px;
    margin-top: 10px;
    font: italic 500 22px/1.35 var(--font-display);
    color: var(--text-soft);
}

.footer__title {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}

.footer__link,
.footer__text {
    font-size: 15px;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .2s;
}

.footer__link:hover {
    color: #fff;
}

.footer__link .icon {
    color: var(--accent);
}

.footer__links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 28px;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.socials__link {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--stroke);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text);
    transition: border-color .3s, color .3s;
}

.socials__link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.subscribe .btn {
    flex-shrink: 0;
}

.subscribe {
    width: 100%;
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-full);
    background: var(--surface);
}

.subscribe .field__input {
    flex: 1;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 10px 14px;
}

.footer__bottom {
    margin-top: 80px;
    padding: 26px 0;
    border-top: 1px solid var(--stroke);
    font-size: 13px;
    color: var(--text-dim);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__legal a:hover {
    color: var(--text);
}

.float-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
    transition: transform .4s var(--ease);
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ring 2.4s var(--ease) infinite;
}

@keyframes ring {
    from { transform: scale(1); opacity: .8; }
    to   { transform: scale(1.6); opacity: 0; }
}

.float-whatsapp:hover {
    transform: scale(1.08);
}

.float-whatsapp .icon {
    font-size: 30px;
}

/* =============================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ============================================================================= */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 120px) 0 90px;
    overflow: hidden;
    color: #fff;
    background: var(--night-950);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 13, 22, .55) 0%, rgba(5, 13, 22, .4) 50%, rgba(5, 13, 22, .92) 100%);
}

.page-hero__inner {
    position: relative;
}

.page-hero .section__eyebrow {
    color: var(--accent-light);
}

.page-hero__title {
    max-width: 960px;
    font: 500 clamp(46px, 7vw, 96px)/1 var(--font-display);
}

.page-hero__text {
    max-width: 620px;
    margin-top: 22px;
    font-size: 18px;
    color: rgba(255, 255, 255, .8);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.breadcrumbs a:hover {
    color: var(--accent-light);
}

/* Текст из редактора */
.prose {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.8;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h1,
.prose h2,
.prose h3 {
    margin-top: 1.6em;
    font-family: var(--font-display);
    color: var(--text);
}

.prose h1, .prose h2 { font-size: 36px; }
.prose h3 { font-size: 28px; }

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose img {
    height: auto;
    border-radius: var(--r-sm);
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose blockquote {
    margin: 1.4em 0;
    padding-left: 24px;
    border-left: 2px solid var(--accent);
    font: italic 500 24px/1.5 var(--font-display);
    color: var(--text);
}

.prose strong {
    color: var(--text);
}

/* Цифры */
.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.stats__item {
    padding: 34px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
}

.stats__value {
    display: block;
    font: 500 60px/1 var(--font-display);
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.theme-light .stats__value {
    background: linear-gradient(135deg, #3a64c8, #1f46a0);
    -webkit-background-clip: text;
    background-clip: text;
}

.stats__label {
    display: block;
    margin-top: 12px;
    color: var(--text-soft);
}

/* Таблицы */
.levels {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.levels__item {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 600;
    background: var(--surface);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
}

.table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 15px;
}

.table th,
.table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--stroke);
}

.table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.table tr:last-child td {
    border-bottom: 0;
}

.table tbody tr {
    transition: background .2s;
}

.table tbody tr:hover {
    background: var(--surface-2);
}

.table__sub {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-dim);
}

.table__price {
    font: 600 22px var(--font-display);
    white-space: nowrap;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status--open   { background: rgba(63, 179, 107, .14); color: #3fb36b; }
.status--closed { background: rgba(229, 72, 77, .14); color: #e5484d; }

/* Детальная страница */
.detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 60px;
    align-items: start;
}

.detail__subtitle {
    margin: 48px 0 22px;
    font: 600 34px var(--font-display);
}

.detail__aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.sidebar-card .price__value {
    font-size: 44px;
}

.sidebar-card__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent);
}

.specs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.specs li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--stroke);
    font-size: 15px;
}

.specs li:last-child {
    border-bottom: 0;
}

.specs span {
    color: var(--text-dim);
}

.specs strong {
    text-align: right;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
    color: var(--text-soft);
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist .icon {
    font-size: 18px;
    color: var(--accent);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 44px;
}

.photo-grid__item {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-sm);
    overflow: hidden;
    cursor: zoom-in;
}

.photo-grid__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-grid__item img,
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.photo-grid__item:hover img,
.gallery__item:hover img {
    transform: scale(1.06);
}

/* Вкладки / фильтры */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs--center {
    justify-content: center;
}

.tabs__item {
    padding: 11px 22px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-full);
    background: var(--surface);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color .3s, color .3s, background .3s;
}

.tabs__item:hover {
    border-color: var(--stroke-accent);
    color: var(--text);
}

.tabs__item.is-active {
    border-color: transparent;
    background: var(--accent-grad);
    color: var(--on-accent);
}

.tabs--sticky {
    position: sticky;
    top: calc(var(--header-h) + 10px);
    z-index: 10;
    padding: 10px;
    margin: 0 -10px;
    border-radius: var(--r-full);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
}

/* Услуги */
.services-list {
    display: grid;
    gap: 22px;
    margin-top: 50px;
}

.service-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    overflow: hidden;
}

.service-item__media {
    position: relative;
    min-height: 220px;
    background: var(--night-800);
}

.service-item__media img,
.service-item__media .scenery {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item__body {
    display: flex;
    flex-direction: column;
    padding: 34px;
}

.service-item__title {
    font: 600 30px var(--font-display);
}

.service-item__text {
    margin-top: 12px;
    color: var(--text-soft);
}

.service-item__price {
    margin-top: auto;
    padding-top: 20px;
    font: 600 22px var(--font-display);
    color: var(--accent);
}

/* Прокат */
.rental-group + .rental-group {
    margin-top: 64px;
}

.rental-group__title {
    margin-bottom: 26px;
    font: 600 38px var(--font-display);
}

.rental-item {
    display: flex;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    background: var(--surface);
    transition: border-color .3s, transform .6s var(--ease);
}

.rental-item:hover {
    border-color: var(--stroke-accent);
    transform: translateY(-4px);
}

.rental-item__img {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: var(--r-sm);
    object-fit: cover;
}

.rental-item__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(111, 209, 28, .12);
    color: var(--accent);
    font-size: 28px;
}

.rental-item__name {
    font: 600 26px/1.15 var(--font-display);
}

.rental-item__desc {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-soft);
}

.rental-item__prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 14px;
}

/* Сводный прайс */
.price-block + .price-block {
    margin-top: 80px;
}

.price-block__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.price-block__title {
    font: 500 44px/1 var(--font-display);
}

/* Меню */
.menu-section {
    margin-top: 70px;
    scroll-margin-top: calc(var(--header-h) + 90px);
}

.menu-section__title {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--stroke-accent);
    font: 500 44px var(--font-display);
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 60px;
}

.menu-item {
    display: flex;
    gap: 18px;
    padding: 16px 0;
}

.menu-item__img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-item__body {
    flex-grow: 1;
    min-width: 0;
}

.menu-item__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.menu-item__name {
    font: 600 24px/1.2 var(--font-display);
}

.menu-item__dots {
    flex-grow: 1;
    min-width: 20px;
    border-bottom: 1px dotted var(--stroke-strong);
    transform: translateY(-5px);
}

.menu-item__price {
    flex-shrink: 0;
    font: 600 22px var(--font-display);
    color: var(--accent);
}

.menu-item__hit {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: var(--r-full);
    background: var(--accent-grad);
    color: var(--on-accent);
    font: 700 11px var(--font);
    letter-spacing: .06em;
    vertical-align: middle;
}

.menu-item__desc {
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-dim);
}

/* Галерея */
.gallery {
    columns: 3 320px;
    column-gap: 18px;
    margin-top: 44px;
}

.gallery__item {
    display: block;
    margin-bottom: 18px;
    border-radius: var(--r-sm);
    overflow: hidden;
    break-inside: avoid;
    cursor: zoom-in;
}

.gallery__item.is-hidden {
    display: none;
}

/* Лайтбокс (JS) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 90px;
    background: rgba(3, 8, 14, .95);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease-soft), visibility 0s .4s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s var(--ease-soft), visibility 0s;
}

.lightbox__figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    margin: 0 auto;
    border-radius: var(--r-sm);
    transform: scale(.96);
    transition: transform .5s var(--ease);
}

.lightbox.is-open .lightbox__image {
    transform: none;
}

.lightbox__caption {
    margin-top: 16px;
    color: rgba(255, 255, 255, .75);
}

.lightbox__btn {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    transition: background .3s, border-color .3s;
}

.lightbox__btn:hover {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, .14);
}

.lightbox__btn .icon {
    font-size: 22px;
}

.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev  { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 22px; top: 50%; transform: translateY(-50%); }

.lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .6);
}

/* FAQ */
.faq {
    display: grid;
    gap: 12px;
}

.faq__item {
    border: 1px solid var(--stroke);
    border-radius: var(--r-sm);
    background: var(--surface);
    transition: border-color .3s;
}

.faq__item[open] {
    border-color: var(--stroke-accent);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    font: 600 22px/1.3 var(--font-display);
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question .icon {
    font-size: 22px;
    color: var(--accent);
    transition: transform .4s var(--ease);
}

.faq__item[open] .faq__question .icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 28px 26px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination__item {
    min-width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0 14px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-full);
    font-weight: 700;
    transition: border-color .2s;
}

.pagination__item:hover {
    border-color: var(--accent);
}

.pagination__item.is-active {
    border-color: transparent;
    background: var(--accent-grad);
    color: var(--on-accent);
}

/* Формы */
.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.form--card {
    padding: 48px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-lg);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.form__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__field--wide {
    grid-column: 1 / -1;
}

.form__field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.form__field textarea {
    resize: vertical;
}

.form__check {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    cursor: pointer;
}

.form__check input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
}

.has-error .field__input {
    border-color: var(--red);
}

.form__error,
.form__errors {
    font-size: 13px;
    color: var(--red);
}

.form__errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form__note {
    font-size: 13px;
    color: var(--text-dim);
}

.form__note a {
    color: var(--accent);
    text-decoration: underline;
}

/* Сообщения */
.messages {
    position: fixed;
    top: calc(var(--header-h) + 60px);
    right: 24px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-sm);
    background: rgba(11, 26, 42, .94);
    backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: var(--shadow);
    animation: message-in .6s var(--ease);
    transition: opacity .4s, transform .4s var(--ease);
}

.message .icon {
    margin-top: 2px;
    font-size: 20px;
    color: #4ade80;
}

.message--error .icon {
    color: var(--red);
}

.message__close {
    margin-left: auto;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .6);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.message.is-hiding {
    opacity: 0;
    transform: translateX(30px);
}

@keyframes message-in {
    from { opacity: 0; transform: translateX(40px); }
}

/* Контакты */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--stroke);
    border-radius: var(--r-sm);
    background: var(--surface);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(111, 209, 28, .12);
    color: var(--accent);
    font-size: 22px;
}

.contact-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.contact-card__value {
    display: block;
    margin-top: 4px;
    font: 600 22px/1.3 var(--font-display);
}

a.contact-card__value:hover {
    color: var(--accent);
}

.map {
    position: relative;
    height: 480px;
    background: var(--night-850);
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Ошибки 404/500 */
.error-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--night-950);
    text-align: center;
}

.error-page .scenery {
    opacity: .6;
}

.error-page__inner {
    position: relative;
    z-index: 1;
}

.error-page__code {
    font: 500 clamp(120px, 22vw, 260px)/.9 var(--font-display);
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-page .actions {
    justify-content: center;
}

/* =============================================================================
   АДАПТИВ
   ============================================================================= */
@media (max-width: 1320px) {
    .nav {
        gap: 18px;
    }

    .nav__link {
        font-size: 13px;
    }
}

@media (max-width: 1180px) {
    :root {
        --header-h: 76px;
    }

    .burger {
        display: block;
    }

    .header__cta {
        margin-left: auto;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        margin: 0;
        padding: 120px 32px 40px;
        background:
            radial-gradient(ellipse at 100% 0%, rgba(111, 209, 28, .22), transparent 55%),
            var(--night-950);
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s var(--ease), visibility 0s .5s;
        overflow-y: auto;
    }

    .nav-open .nav {
        opacity: 1;
        visibility: visible;
        transition: opacity .5s var(--ease), visibility 0s;
    }

    .nav__link {
        font: 500 32px/1.2 var(--font-display);
        color: #fff;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .6s var(--ease), transform .6s var(--ease), color .2s;
    }

    .nav-open .nav__link {
        opacity: 1;
        transform: none;
    }

    .nav-open .nav__link:nth-child(2)  { transition-delay: .04s; }
    .nav-open .nav__link:nth-child(3)  { transition-delay: .08s; }
    .nav-open .nav__link:nth-child(4)  { transition-delay: .12s; }
    .nav-open .nav__link:nth-child(5)  { transition-delay: .16s; }
    .nav-open .nav__link:nth-child(6)  { transition-delay: .2s; }
    .nav-open .nav__link:nth-child(7)  { transition-delay: .24s; }
    .nav-open .nav__link:nth-child(8)  { transition-delay: .28s; }
    .nav-open .nav__link:nth-child(9)  { transition-delay: .32s; }
    .nav-open .nav__link:nth-child(10) { transition-delay: .36s; }

    .nav__link::after {
        display: none;
    }

    .nav__link.is-active {
        color: var(--accent-light);
    }

    .nav__mobile-extra {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 30px;
        color: var(--text-soft);
    }

    .features,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .today__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .today__item:nth-child(4) {
        border-left: 0;
    }

    .today__item:nth-child(n + 4) {
        border-top: 1px solid var(--stroke);
    }

    .forecast {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .header__cta {
        display: none;
    }

    .burger {
        margin-left: auto;
    }

    .section {
        padding: 90px 0;
    }

    .intro,
    .detail,
    .contacts {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intro__media {
        aspect-ratio: 16 / 11;
    }

    .detail__aside {
        position: static;
    }

    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-widget {
        grid-template-columns: 1fr 1fr;
    }

    .booking-widget__submit {
        grid-column: 1 / -1;
    }

    .hero__content {
        bottom: 330px;
    }

    .hero__controls {
        bottom: 300px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .menu-list {
        grid-template-columns: 1fr;
    }

    .insta {
        grid-template-columns: 1fr;
        padding: 44px;
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 68px;
        --gap: 18px;
    }

    .container {
        padding: 0 18px;
    }

    .header__top {
        display: none;
    }

    .logo__name {
        font-size: 23px;
    }

    .logo__mark {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding-bottom: 24px;
    }

    .hero__content {
        bottom: 420px;
    }

    .hero__text {
        font-size: 16px;
    }

    .hero__eyebrow {
        gap: 10px;
        font-size: 11px;
        letter-spacing: .14em;
    }

    .hero__eyebrow::before {
        width: 24px;
    }

    .hero__controls {
        bottom: 390px;
    }

    .hero__arrows {
        display: none;
    }

    .booking-widget {
        padding: 16px;
        gap: 12px;
    }

    .section {
        padding: 72px 0;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .section__head--center {
        align-items: center;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .features,
    .footer__inner,
    .stats,
    .form__grid,
    .checklist,
    .intro__stats {
        grid-template-columns: 1fr;
    }

    .intro__stats {
        gap: 24px;
    }

    .today__grid {
        grid-template-columns: 1fr 1fr;
    }

    .today__item {
        padding: 18px;
        border-left: 0 !important;
        border-top: 1px solid var(--stroke);
    }

    .today__item--status {
        grid-column: 1 / -1;
        border-top: 0;
    }

    .today__item:nth-child(odd):not(.today__item--status) {
        border-left: 1px solid var(--stroke) !important;
    }

    .today__value {
        font-size: 24px;
    }

    .forecast {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tile {
        aspect-ratio: 16 / 11;
    }

    .tile__more {
        opacity: 1;
        transform: none;
    }

    .pass .price__value {
        font-size: 46px;
    }

    .form--card {
        padding: 26px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rental-item {
        flex-direction: column;
    }

    .lightbox {
        padding: 70px 12px;
    }

    .lightbox__prev,
    .lightbox__next {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    .contact-strip {
        padding: 28px;
    }

    .insta {
        padding: 30px;
    }

    .messages {
        left: 18px;
        right: 18px;
        max-width: none;
    }

    .float-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}
