/* ============================================================
   АКВАРИНА — отельный комплекс в Мариуполе
   ============================================================ */

:root {
    --blue: #024597;
    --blue-hover: #024597;
    --blue-deep: #024597;
    --navy: #024597;
    --footer: #0D2055;
    --footer-dark: #0D2055;
    --ink: #152443;
    --muted: #69788F;
    --bg-light: #F7F9FD;
    --tile: #E3EDF8;
    --line: #E4EAF3;
    --white: #FFFFFF;
    --radius: 16px;
    --shadow-card: 0 10px 30px rgba(2, 69, 151, .08);
    --shadow-card-hover: 0 18px 44px rgba(2, 69, 151, .16);
    --tr: .35s cubic-bezier(.2, .65, .3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

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

.ico {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.section {
    padding: 54px 0;
}

.section--white {
    background: var(--white);
}


/* ---------- заголовки секций ---------- */

.h2 {
    font-family: "Oswald", sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--blue-deep);
    letter-spacing: 0;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.dash {
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    margin-top: 4px;
}

.section-head--center {
    justify-content: center;
}

.head-waves {
    width: 44px;
    height: 28px;
    margin-top: 8px;
    fill: none;
    stroke: #024597;
    stroke-width: 3.2;
    stroke-linecap: round;
    animation: squiggleDrift 3.2s ease-in-out infinite;
}

@keyframes squiggleDrift {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(7px);
    }
}

.more-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    transition: gap var(--tr), color var(--tr);
}

.more-link:hover {
    gap: 12px;
    color: var(--blue-hover);
}


/* ---------- кнопки ---------- */

.btn {
    font-family: "Oswald", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr);
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(2, 69, 151, .30);
}

.btn--primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(2, 69, 151, .38);
}

.btn--white {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 8px 22px rgba(2, 69, 151, .22);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 69, 151, .30);
}

.btn--light {
    background: rgba(255, 255, 255, .88);
    color: #024597;
    box-shadow: 0 10px 26px rgba(2, 69, 151, .14);
    backdrop-filter: blur(6px);
}

.btn--light:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 69, 151, .20);
}

.btn--lg {
    padding: 15px 30px;
    font-size: 15px;
    border-radius: 12px;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 999px;
}

.btn--pill {
    border-radius: 999px;
}

.btn--primary.btn--lg.btn--pill {
    width: 181px;
    height: 54px;
    gap: 12px;
    padding: 0 20px;
    border-radius: 65px;
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    box-shadow: 0 -1px 0 0 #0072FF;
    line-height: 1;
}

.btn--primary.btn--lg.btn--pill .ico {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

.btn--primary.btn--lg.btn--pill>span {
    display: flex;
    align-items: center;
    height: 21px;
    line-height: 21px;
}

.btn--primary.btn--lg.btn--pill:hover {
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    box-shadow: 0 -1px 0 0 #0072FF, 0 12px 24px rgba(2, 69, 151, .28);
}

.hero__actions .btn--lg.btn--pill {
    height: 54px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
}

.btn__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #024597;
    color: #fff;
}

.btn__play svg {
    display: block;
    width: 17px;
    height: 17px;
    margin: 0;
    transform: translateX(1px);
    fill: currentColor;
}


/* ---------- иконки-плитки ---------- */

.tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tile);
    color: var(--blue);
    flex: none;
}

.tile .ico {
    width: 24px;
    height: 24px;
}

.tile--lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: var(--white);
    transition: box-shadow var(--tr);
}

.header.is-scrolled {
    box-shadow: 0 6px 24px rgba(2, 69, 151, .10);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__icon {
    width: 58px;
    height: auto;
    display: block;
    flex: none;
}

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

.logo__name {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-deep);
}

.logo__sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 26px;
    margin-left: 14px;
}

.nav__link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    padding: 6px 0;
    transition: color var(--tr);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transition: right var(--tr);
}

.nav__link:hover {
    color: var(--blue);
}

.nav__link:hover::after,
.nav__link--active::after {
    right: 0;
}

.nav__link--active {
    color: var(--blue);
}

.header__info {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.2;
}

.header__phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-deep);
    transition: color var(--tr);
}

.header__phone:hover {
    color: var(--blue-hover);
}

.header__address {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--muted);
}

.header__address .ico {
    width: 12px;
    height: 12px;
    color: var(--blue);
}

.header__cta {
    padding: 11px 22px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-deep);
    transition: transform var(--tr), opacity var(--tr);
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    z-index: 2;
    min-height: 655px;
    height: 655px;
    max-height: 655px;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(112deg, #FFFFFF 0%, #F4F9FE 38%, #E9F2FB 68%, #DFEDF9 100%);
}


/* фото главного экрана */

.hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

.hero__photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(256, 256, 256, 0.8), rgba(0, 0, 0, 0)), url('../assets/img/hero-akvarina.jpg');
    background-size: cover;
    background-position: center;
    animation: heroZoom 9s ease-out forwards;
}

.hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

.hero__palms {
    position: absolute;
    z-index: 4;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.palm {
    position: absolute;
    display: block;
    max-width: none;
    filter: saturate(.82) brightness(1.06);
    transform-origin: var(--palm-origin);
    animation: palmSway 7s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes palmSway {
    from {
        transform: var(--palm-from);
    }
    to {
        transform: var(--palm-to);
    }
}

.palm--bl {
    left: -185px;
    bottom: -235px;
    width: 570px;
    opacity: .96;
    --palm-origin: 5% 95%;
    --palm-from: rotate(-3deg);
    --palm-to: rotate(1deg);
    animation-duration: 7.5s;
}

.palm--tl {
    left: -118px;
    top: -48px;
    width: 305px;
    opacity: .92;
    --palm-origin: 50% 4%;
    --palm-from: scaleX(-1) rotate(-2deg);
    --palm-to: scaleX(-1) rotate(2deg);
    animation-duration: 8.5s;
}

.palm--tr {
    right: -18px;
    top: 86px;
    width: 230px;
    opacity: .9;
    --palm-origin: 95% 5%;
    --palm-from: rotate(0deg);
    --palm-to: rotate(-4deg);
    animation-duration: 7s;
}

.hero__content {
    position: relative;
    z-index: 5;
    padding-left: 54px;
}

.hero__badge {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: #D9E9FA;
    color: #024597;
    font-size: 14px;
    font-weight: 600;
}

.hero__title {
    font-family: "Oswald", sans-serif;
    margin-top: 24px;
    font-size: clamp(48px, 5.1vw, 72px);
    font-weight: 700;
    letter-spacing: .015em;
    color: #024597;
    line-height: 1.02;
}

.hero__script {
    display: inline-block;
    font-family: "Marck Script", cursive;
    font-size: clamp(46px, 4.8vw, 68px);
    line-height: 1.15;
    color: #024597;
    margin: 4px 0 0 4px;
}

.hero__subtitle {
    font-family: "Oswald", sans-serif;
    margin-top: 26px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    color: #024597;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}


/* ---------- живые волны ---------- */

.waves {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.waves svg {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 200%;
    height: 100%;
    will-change: transform;
    animation: waveFlow 18s linear infinite;
}

.waves svg:nth-child(1) {
    animation-duration: 26s;
    opacity: .35;
}

.waves svg:nth-child(2) {
    animation-duration: 17s;
    animation-direction: reverse;
    opacity: .55;
}

.waves svg:nth-child(3) {
    animation-duration: 11s;
}

@keyframes waveFlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* появление контента hero */

.anim {
    opacity: 0;
    transform: translateY(26px);
    animation: fadeUp .8s cubic-bezier(.2, .65, .3, 1) forwards;
}

.anim-d1 {
    animation-delay: .15s;
}

.anim-d2 {
    animation-delay: .30s;
}

.anim-d3 {
    animation-delay: .45s;
}

.anim-d4 {
    animation-delay: .60s;
}

.anim-d5 {
    animation-delay: .75s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   ПОЛОСА ПРЕИМУЩЕСТВ
   ============================================================ */

.strip-wrap {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: flex-end;
    max-width: none;
    padding-right: 0;
}

.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(790px, 100%);
    background: var(--white);
    border-radius: 18px 0 0 18px;
    box-shadow: 0 24px 60px rgba(2, 69, 151, .16);
    margin-top: -108px;
    padding: 24px 10px;
}

.strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 14px;
}

.strip__item+.strip__item {
    border-left: 1px solid #D9E5F2;
}

.strip__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--blue);
    flex: none;
}

.strip__ico>svg {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
}

.strip__text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.strip__text b {
    font-size: 14.5px;
    font-weight: 700;
    color: #024597;
}

.strip__text i {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}


/* ============================================================
   ПОЧЕМУ ВЫБИРАЮТ НАС
   ============================================================ */

.why {
    position: relative;
    z-index: 1;
    isolation: isolate;
    padding-top: 38px;
}

.why::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -1px;
    left: 0;
    width: min(52vw, 760px);
    height: 2px;
    background: linear-gradient( 90deg, rgba(2, 69, 151, 0) 0%, rgba(2, 69, 151, .85) 10%, rgba(2, 69, 151, .55) 66%, rgba(2, 69, 151, 0) 100%);
    box-shadow: 0 0 7px rgba(2, 69, 151, .8), 0 3px 18px rgba(2, 69, 151, .34);
    pointer-events: none;
}

.why::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -28px;
    left: -40px;
    width: min(58vw, 820px);
    height: 78px;
    background: radial-gradient( ellipse at top, rgba(2, 69, 151, .18) 0%, rgba(2, 69, 151, .08) 42%, rgba(2, 69, 151, 0) 74%);
    filter: blur(5px);
    pointer-events: none;
}

.why .section-head {
    margin-bottom: 40px;
}

.why .h2 {
    color: #024597;
}

.why__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.why__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    background: linear-gradient(180deg, #F0F7FE 0%, #FFFFFF 78%);
    border-radius: 20px;
    padding: 22px 14px 20px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(2, 69, 151, .09);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.why-ico {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    color: #024597;
}

.why-card h3 {
    font-family: "Roboto", sans-serif;
    margin-top: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #024597;
}

.why-card p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #7A8AA3;
}

.why__video {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 205px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.why__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform .8s ease;
}

.why__video:hover img {
    transform: scale(1.05);
}

.why__video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 69, 151, .25);
    transition: background var(--tr);
}

.why__video:hover::after {
    background: rgba(2, 69, 151, .15);
}

.play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: #024597;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(2, 69, 151, .35);
    transition: transform var(--tr);
}

.play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.play::before,
.play::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .8);
    animation: pulse 2.4s ease-out infinite;
}

.play::after {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .9;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.why__video:hover .play {
    transform: translate(-50%, -50%) scale(1.08);
}


/* ============================================================
   НОМЕРА
   ============================================================ */

.rooms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.room-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 237px;
    display: block;
    box-shadow: var(--shadow-card);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.room-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.room-card:hover img {
    transform: scale(1.06);
}

.room-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 69, 151, .88) 0%, rgba(2, 69, 151, .30) 45%, rgba(2, 69, 151, .05) 70%);
}

.room-card__body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    color: #fff;
}

.room-card__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}

.room-card__ico .ico {
    width: 20px;
    height: 20px;
}

.room-card__body h3 {
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    font-weight: 600;
}

.room-card__body p {
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .82);
}


/* ============================================================
   САУНА И ЧАН
   ============================================================ */

.sauna {
    padding-top: 24px;
}

.sauna__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spa-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 271px;
    box-shadow: var(--shadow-card);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.spa-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s ease;
}

.spa-card:hover img {
    transform: scale(1.05);
}

.spa-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 69, 151, .9) 0%, rgba(2, 69, 151, .35) 50%, rgba(2, 69, 151, .08) 75%);
}

.spa-card__body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px;
    color: #fff;
}

.spa-card__body h3 {
    font-family: "Oswald", sans-serif;
    font-size: 27px;
    font-weight: 700;
}

.spa-card__body p {
    margin: 8px 0 18px;
    max-width: 420px;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
}

.spa-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.spa-card__actions .btn {
    border: 0;
    cursor: pointer;
}


/* ============================================================
   КАРУСЕЛИ (галерея и отзывы)
   ============================================================ */

.carousel {
    overflow: hidden;
}

.carousel.has-expanded-review {
    overflow: visible;
}

.carousel__track {
    display: flex;
    gap: 18px;
    transition: transform .6s cubic-bezier(.25, .7, .3, 1);
}

.carousel-nav {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.cnav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--blue);
    transition: transform var(--tr), background var(--tr), color var(--tr), opacity var(--tr), box-shadow var(--tr);
}

.cnav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(2, 69, 151, .14);
}

.cnav--solid {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.cnav--solid:hover {
    background: var(--blue-hover);
}

.cnav:disabled {
    opacity: .4;
    pointer-events: none;
}


/* — галерея — */

.g-card {
    position: relative;
    flex: 0 0 calc((100% - 60px) / 4);
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.g-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.g-card:hover img {
    transform: scale(1.07);
}

.g-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 69, 151, .72) 0%, rgba(2, 69, 151, .12) 25%, transparent 35%);
}

.g-card figcaption {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}


/* ============================================================
   CTA — АКВАЗОНА
   ============================================================ */

.cta {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: var(--navy);
}

.cta__media {
    position: absolute;
    inset: 0 42% 0 0;
}

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

.cta__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(2, 69, 151, 0) 22%, rgba(2, 69, 151, .68) 42%, #024597 58%, #024597 100%);
}

.cta__inner {
    position: relative;
    z-index: 2;
}

.cta__content {
    margin-left: auto;
    width: 52%;
    padding: 64px 0;
    color: #fff;
}

.cta__badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cta__content h2 {
    font-family: "Oswald", sans-serif;
    margin-top: 18px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.cta__content p {
    margin: 14px 0 26px;
    max-width: 480px;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .85);
}


/* ============================================================
   ОТЗЫВЫ
   ============================================================ */

.review {
    position: relative;
    flex: 0 0 301px;
    height: 341px;
    background: var(--white);
    border-radius: 18px;
    padding: 31px 25px 23px;
    overflow: hidden;
    box-shadow: 0 4px 23px rgba(21, 101, 192, .09);
    display: flex;
    flex-direction: column;
    transition: transform var(--tr), box-shadow var(--tr);
}

.review::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--blue);
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(21, 101, 192, .15);
}

.review__quote {
    height: 47px;
    font-size: 73px;
    line-height: 51px;
    font-weight: 400;
    color: var(--blue);
    opacity: .18;
    font-family: Georgia, serif;
    margin-bottom: 16px;
}

.review p {
    height: 92px;
    overflow: hidden;
    font-size: 15.4px;
    line-height: 1.7;
    color: #444;
    flex: none;
}

.review.is-expanded {
    height: auto;
    overflow: visible;
}

.review.is-expanded p {
    height: auto;
    overflow: visible;
}

.review__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14.25px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .016em;
    color: var(--blue);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: transform var(--tr);
}

.review__more:hover {
    transform: translateX(4px);
}

.review__foot {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid #F3F3F3;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review__foot b {
    font-size: 14.8px;
    line-height: 1.5;
    color: var(--blue-deep);
}

.review__foot time {
    font-size: 12.5px;
    line-height: 1.5;
    color: #AAA;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C3D3E8;
    transition: background var(--tr), transform var(--tr), width var(--tr), border-radius var(--tr);
}

.carousel-dots button:hover {
    transform: scale(1.3);
}

.carousel-dots button.is-active {
    background: var(--blue);
    width: 22px;
    border-radius: 4px;
}

.reviews__action {
    text-align: center;
    margin-top: 28px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    position: relative;
    margin-top: 8px;
}

.waves--footer {
    height: 110px;
    background: var(--bg-light);
}

.waves--footer svg:nth-child(1) {
    opacity: .28;
}

.waves--footer svg:nth-child(2) {
    opacity: .30;
}

.footer__body {
    position: relative;
    background: var(--footer);
    overflow: hidden;
    padding: 40px 0 56px;
}

.footer__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer__lines path {
    animation: lineDrift 16s ease-in-out infinite alternate;
}

.footer__lines path:nth-child(2) {
    animation-duration: 21s;
    animation-delay: -6s;
}

.footer__lines path:nth-child(3) {
    animation-duration: 12s;
    animation-delay: -3s;
}

@keyframes lineDrift {
    from {
        transform: translateX(-28px);
    }
    to {
        transform: translateX(28px);
    }
}

.footer__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer__title {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
}

.footer__row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
    transition: color var(--tr);
}

a.footer__row:hover {
    color: #fff;
}

.footer__row .ico {
    width: 16px;
    height: 16px;
    color: #024597;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--tr), transform var(--tr);
}

.footer__social a:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-3px);
}

.footer__social .ico {
    width: 20px;
    height: 20px;
}

.footer__map {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 40px rgba(2, 69, 151, .35);
    height: 250px;
}

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

.hours {
    display: flex;
    flex-direction: column;
}

.hours__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 13.5px;
}

.hours__row:last-child {
    border-bottom: 0;
}

.hours__row span {
    color: rgba(255, 255, 255, .65);
}

.hours__row b {
    color: #fff;
    font-weight: 600;
}

.footer__booking {
    width: 181px;
    height: 54px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: 65px;
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    box-shadow: 0 -1px 0 0 #0072FF;
    line-height: 1;
}

.footer__booking:hover {
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    box-shadow: 0 -1px 0 0 #0072FF, 0 12px 24px rgba(1, 41, 91, .28);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.footer__logo .logo__icon {
    width: 54px;
    height: auto;
}

.footer__logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer__logo b {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .04em;
}

.footer__logo i {
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.footer__bottom {
    background: var(--footer-dark);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, .60);
}

.footer__bottom a {
    color: rgba(255, 255, 255, .60);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--tr);
}

.footer__bottom a:hover {
    color: #fff;
}

.footer__dev {
    background: var(--footer-dark);
    color: #fff;
}

.footer__dev-inner {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer__dev-label {
    font-family: "Hooskai Chamfered Square", "Oswald", sans-serif;
    font-size: 9.2px;
    line-height: 14.4px;
    font-weight: 400;
    letter-spacing: .328px;
    color: #fff;
}

.footer__dev-logo {
    display: block;
    width: 116px;
    height: 24px;
}

.footer__dev-logo img {
    display: block;
    width: 100%;
    height: 100%;
}


/* ============================================================
   ВИДЕО-МОДАЛКА
   ============================================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 69, 151, .8);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: min(960px, 100%);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: translateY(24px) scale(.97);
    transition: transform .35s cubic-bezier(.2, .65, .3, 1);
}

.modal.is-open .modal__dialog {
    transform: none;
}

.modal__dialog video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    margin: 0 auto;
    object-fit: contain;
    background: #000;
}

/* видео-диалог подстраивается под натуральные пропорции ролика */
#videoModal .modal__dialog {
    width: auto;
    max-width: min(960px, 100%);
}

.modal__dialog--form {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 28px 80px rgba(1, 41, 91, .38);
}

/* форма бронирования (обычная заявка) */
.modal__dialog--form .modal-form {
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: inherit;
}

.field select,
.field input[type="date"],
.field input[type="time"],
.field input[type="number"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 15px;
    font: inherit;
    font-weight: 400;
    color: var(--ink);
    background: #F8FBFF;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}

.field select {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301295B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.field select:focus,
.field input[type="date"]:focus,
.field input[type="time"]:focus,
.field input[type="number"]:focus {
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(2, 69, 151, .10);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.field-row[hidden],
.consent[hidden] {
    display: none;
}

.field-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.consent--option {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
}

@media (max-width: 560px) {
    .modal-form {
        padding: 28px 20px 24px;
    }
    .field-row--3 {
        grid-template-columns: 1fr 1fr;
    }
    .field-row--3 .field:first-child {
        grid-column: 1 / -1;
    }
}

.modal__close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--tr), transform var(--tr);
}

.modal__close:hover {
    background: rgba(255, 255, 255, .3);
    transform: rotate(90deg);
}

.modal__close--dark {
    background: rgba(2, 69, 151, .08);
    color: var(--blue);
}

.modal__close--dark:hover {
    background: rgba(2, 69, 151, .14);
}

.modal-form {
    padding: 36px;
    color: var(--ink);
}

.modal-form__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #D9E9FA;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.modal-form__title {
    margin-top: 16px;
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    line-height: 1.15;
    color: var(--blue-deep);
}

.modal-form__text {
    margin: 10px 0 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-deep);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 15px;
    font: inherit;
    font-weight: 400;
    color: var(--ink);
    background: #F8FBFF;
    outline: none;
    transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}

.field textarea {
    resize: vertical;
    min-height: 112px;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(2, 69, 151, .10);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--muted);
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--blue);
    flex: none;
}

.modal-form__submit {
    width: 100%;
    height: 54px;
    margin-top: 22px;
    border-radius: 65px;
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    box-shadow: 0 -1px 0 0 #0072FF;
}

.modal-form__success {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.modal__dialog--thanks {
    width: min(440px, 100%);
}

.modal-thanks {
    padding: 42px 36px 36px;
    text-align: center;
}

.modal-thanks__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0358C1 -16.67%, #01295B 100%);
    color: #fff;
    box-shadow: 0 -1px 0 0 #0072FF;
}

.modal-thanks__icon svg {
    width: 34px;
    height: 34px;
}


/* ============================================================
   REVEAL-АНИМАЦИИ ПРИ СКРОЛЛЕ
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s cubic-bezier(.2, .65, .3, 1), transform .8s cubic-bezier(.2, .65, .3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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


/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1180px) {
    .why__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .why__grid {
        grid-template-columns: 1fr 1fr;
    }
    .g-card {
        flex-basis: calc((100% - 40px) / 3);
    }
    .rooms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header__info {
        display: none;
    }
}

@media (max-width: 920px) {
    #hero {
        overflow: hidden;
    }
    .header__inner {
        height: 72px;
    }
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        box-shadow: 0 20px 40px rgba(2, 69, 151, .15);
        padding: 12px 24px 20px;
        margin: 0;
        transform: translateY(-130%);
        transition: transform .4s cubic-bezier(.2, .65, .3, 1);
    }
    .nav.is-open {
        transform: none;
    }
    .nav__link {
        padding: 12px 0;
        font-size: 16px;
    }
    .burger {
        display: flex;
        margin-left: auto;
    }
    .header__cta {
        display: none;
    }
    .hero {
        padding-top: 72px;
    }
    .hero__content {
        padding-left: 24px;
    }
    .hero__photo {
        width: 100%;
    }
    .palm--bl {
        left: -150px;
        bottom: -165px;
        width: 440px;
    }
    .palm--tl {
        left: -128px;
        top: -28px;
        width: 250px;
    }
    .palm--tr {
        right: -54px;
        top: 70px;
        width: 190px;
    }
    .hero__photo::after {
        background: linear-gradient(to right, rgba(244, 249, 254, .96) 0%, rgba(244, 249, 254, .82) 45%, rgba(244, 249, 254, .55) 100%), linear-gradient(to top, #F2F6FB 0%, rgba(242, 246, 251, 0) 22%);
    }
    .strip-wrap {
        padding-right: 24px;
    }
    .strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 0;
        margin-top: -64px;
        border-radius: 18px;
    }
    .strip__item {
        justify-content: flex-start;
        padding: 10px 18px;
    }
    .strip__item+.strip__item {
        border-left: 0;
    }
    .strip__item:nth-child(even) {
        border-left: 1px solid var(--line);
    }
    .why__grid {
        grid-template-columns: 1fr;
    }
    .why__video {
        min-height: 320px;
    }
    .sauna__grid {
        grid-template-columns: 1fr;
    }
    .g-card,
    .review {
        flex-basis: calc((100% - 20px) / 2);
    }
    .cta__media {
        inset: 0;
    }
    .cta__gradient {
        background: linear-gradient(180deg, rgba(2, 69, 151, .55) 0%, rgba(2, 69, 151, .9) 70%);
    }
    .cta__content {
        width: 100%;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer__map {
        height: 280px;
    }
}

@media (max-width: 580px) {
    .section {
        padding: 52px 0;
    }
    .h2 {
        font-size: 25px;
    }
    .section-head {
        flex-wrap: wrap;
    }
    .hero {
        min-height: 600px;
        height: auto;
        max-height: none;
    }
    .hero__content {
        padding-left: 24px;
    }
    .palm--bl {
        left: -170px;
        bottom: -120px;
        width: 360px;
        opacity: .82;
    }
    .palm--tl {
        left: -126px;
        top: -18px;
        width: 205px;
        opacity: .7;
    }
    .palm--tr {
        right: -75px;
        width: 160px;
        opacity: .68;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__subtitle {
        font-size: 16px;
        line-height: 1.7;
    }
    .hero__subtitle br {
        display: none;
    }
    .waves--footer {
        height: 70px;
    }
    .strip {
        grid-template-columns: 1fr;
    }
    .strip__item:nth-child(even) {
        border-left: 0;
    }
    .strip__item+.strip__item {
        border-top: 1px solid var(--line);
    }
    .why__cards {
        grid-template-columns: 1fr;
    }
    .rooms__grid {
        grid-template-columns: 1fr;
    }
    .g-card,
    .review {
        flex-basis: 100%;
    }
    .cta__content h2 {
        font-size: 27px;
    }
    .footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   ДОПОЛНЕНИЯ ДЛЯ ИНТЕГРАЦИИ С LARAVEL (динамические данные)
   ============================================================ */


/* --- динамический слайдшоу фона главного экрана --- */

.hero__photo--dynamic::before {
    display: none;
}

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

.hero__slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide.is-on {
    opacity: 1;
}


/* --- виджет выбора звёзд в форме отзыва --- */

.rating-field {
    margin-bottom: 18px;
}

.rating-field>span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.rating-stars {
    display: inline-flex;
    gap: 6px;
    font-size: 30px;
    line-height: 1;
}

.rating-stars .star {
    color: #D6DEEC;
    transition: color .15s ease, transform .15s ease;
}

.rating-stars .star:hover {
    transform: scale(1.12);
}

.rating-stars .star.is-on {
    color: #F5A623;
}

.rating-stars.is-error .star {
    color: #E5484D;
}

.rating-field .rating-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #E5484D;
}

.rating-stars.is-error+.rating-error {
    display: block;
}


/* --- кнопка «Забронировать» на карточке номера --- */

.room-card__btn {
    margin-top: 13px;
}


/* --- страница «Бассейн»: герой и вводный текст --- */

.hero--bassein .hero__photo::before {
    background-image: url("../assets/img/cta-aquazone.png");
}

.hero--bassein .hero__photo::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .94) 0%,
        rgba(255, 255, 255, .7) 38%,
        rgba(255, 255, 255, .15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

.section-lead {
    max-width: 760px;
    margin: -6px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}


/* --- тематические подстраницы (отель / сауна / чан) --- */

.subpage {
    padding-top: 124px;
}

.subpage__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.subpage__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--tile);
    color: var(--blue);
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.subpage__title {
    margin: 16px 0 18px;
}

.subpage__desc {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.subpage__desc p {
    margin-bottom: 12px;
}

.subpage__actions {
    margin-top: 26px;
}

.subpage__media {
    position: relative;
}

.subpage__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
    .subpage { padding-top: 104px; }
    .subpage__grid { grid-template-columns: 1fr; gap: 28px; }
}


/* --- блок преимуществ на подстраницах --- */

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.adv-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.adv-card__ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--tile);
    color: var(--blue);
}

.adv-card__ico svg {
    width: 30px;
    height: 30px;
}

.adv-card h3 {
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--blue-deep);
}

@media (max-width: 760px) {
    .adv-grid { grid-template-columns: 1fr; }
}


/* --- кнопка-телефон в шапке (как ссылка tel:) --- */

.header__phone {
    cursor: pointer;
}


/* --- cookie-баннер --- */

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9000;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card-hover);
}

.cookie-banner.is-hidden {
    display: none;
}

.cookie-banner__text {
    flex: 1 1 320px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.cookie-banner__link {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-banner__button {
    flex: none;
    padding: 11px 26px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    transition: background var(--tr), transform var(--tr);
}

.cookie-banner__button:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-banner__button {
        width: 100%;
    }
}


/* --- телефон в мобильном меню (бургер) --- */

.nav__phone {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-deep);
}

.nav__phone .ico {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

@media (max-width: 920px) {
    .nav__phone {
        display: flex;
    }
}


/* --- плавающая кнопка звонка (красная трубка) --- */

.call-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    box-shadow: 0 10px 26px rgba(229, 57, 53, .45);
    transition: transform var(--tr), background var(--tr);
}

.call-fab:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.call-fab__ico {
    position: relative;
    z-index: 2;
    width: 26px;
    height: 26px;
}

.call-fab__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e53935;
    opacity: .55;
    animation: call-fab-pulse 1.8s ease-out infinite;
}

@keyframes call-fab-pulse {
    0%   { transform: scale(1);   opacity: .55; }
    70%  { transform: scale(1.9); opacity: 0;   }
    100% { transform: scale(1.9); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
    .call-fab__pulse { animation: none; display: none; }
}

@media (max-width: 560px) {
    .call-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
    .call-fab__ico {
        width: 23px;
        height: 23px;
    }
    /* приподнять трубку над cookie-баннером, пока он виден */
    body:has(.cookie-banner:not(.is-hidden)) .call-fab {
        bottom: 150px;
    }
}


/* --- телефон в мобильном (бургер) меню --- */

.nav__phone {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-deep);
}

.nav__phone .ico {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

@media (max-width: 920px) {
    .nav__phone {
        display: flex;
    }
}


/* --- плавающая кнопка звонка (красная трубка) --- */

.call-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 8500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    box-shadow: 0 10px 24px rgba(229, 57, 53, .45);
    transition: transform var(--tr), background var(--tr);
}

.call-fab:hover {
    background: #d32f2f;
    transform: translateY(-2px) scale(1.04);
}

.call-fab__ico {
    position: relative;
    z-index: 2;
    width: 26px;
    height: 26px;
}

.call-fab__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e53935;
    opacity: .55;
    animation: callFabPulse 2s ease-out infinite;
}

@keyframes callFabPulse {
    0%   { transform: scale(1);   opacity: .55; }
    70%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 560px) {
    .call-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
    .call-fab__ico {
        width: 23px;
        height: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .call-fab__pulse {
        animation: none;
    }
}


/* ============================================================
   ДОРАБОТКА: боковое мобильное меню + отступы первых секций
   (блок в конце файла — переопределяет предыдущие правила)
   ============================================================ */

/* --- секция онлайн-бронирования (виджет) --- */
.booking-online .section-head__sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 16px;
}
.booking-online__box {
    max-width: 920px;
    margin: 28px auto 0;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(2, 69, 151, .12);
    padding: 20px;
}
@media (max-width: 580px) {
    .booking-online__box {
        margin-top: 20px;
        padding: 14px;
        border-radius: 14px;
    }
}

/* --- подложка бокового меню --- */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(10, 32, 75, .42);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}
body.menu-open {
    overflow: hidden;
}

@media (min-width: 921px) {
    /* на десктопе подложка не нужна */
    .nav-backdrop { display: none; }
}

@media (max-width: 920px) {
    /* боковое (off-canvas) меню справа на всю высоту */
    .nav {
        top: 0;
        left: auto;
        right: 0;
        width: min(86vw, 340px);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        gap: 2px;
        padding: 92px 26px 28px;
        border-radius: 22px 0 0 22px;
        box-shadow: -18px 0 50px rgba(2, 69, 151, .20);
        transform: translateX(105%);
        transition: transform .4s cubic-bezier(.2, .65, .3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .nav.is-open {
        transform: none;
    }
    .nav__link {
        padding: 15px 4px;
        font-size: 17px;
        border-bottom: 1px solid var(--line);
    }
    .nav__link::after {
        display: none;
    }
    .nav__link--active {
        color: var(--blue);
        font-weight: 600;
    }
    .nav__phone {
        margin-top: 16px;
        padding: 14px 4px 4px;
        border-top: 0;
        font-size: 19px;
    }

    /* первые секции: воздух под фиксированной шапкой + ровные отступы */
    .hero {
        align-items: flex-start;
        height: auto;
        min-height: 0;
        max-height: none;
        padding-top: 104px;
        padding-bottom: 92px;
    }
    .hero__title {
        margin-top: 18px;
    }
    .hero__subtitle {
        margin-top: 20px;
    }
    .hero__actions {
        margin-top: 26px;
    }
    .subpage {
        padding-top: 104px;
    }
}

@media (max-width: 580px) {
    .hero {
        padding-top: 96px;
        padding-bottom: 84px;
    }
    .hero__badge {
        font-size: 13px;
        padding: 8px 16px;
    }
    .hero__actions {
        gap: 12px;
        margin-top: 24px;
    }
    .subpage {
        padding-top: 92px;
    }
    /* strip-карточка преимуществ — отделить от кнопок hero */
    .strip {
        margin-top: -52px;
    }
}