﻿::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #F6F7F8;
}
::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.18);
    border-radius: 10rem;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.38);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.18) #F6F7F8;
}

body,html {
    padding: 0;
    margin: 0;
    font-family: "Arimo", sans-serif;
    scroll-behavior: smooth;
    background: #F6F7F8;
    overflow-x: clip;             /* prevent horizontal scroll from elements that intentionally bleed */
}

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

a,button {
    outline: none;
    color: unset;
    cursor: pointer;
    text-decoration: none;
}

img {
    pointer-events: none;
    width: 100%;
}

:root {
    --w: #fff;
    --bg: #F6F7F8;
    --b: #000;
    --acc: #217CFC;
    --shadow: 0 8px 44px rgba(0,0,0,0.08);
    --title: 2.8rem;
    --text: 1rem;
    --subtitle: 1.8rem;
}

.zerouser {
    width: 32px;
}

header {
    position: fixed;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 10;
    transition: padding 0.4s ease;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(246, 247, 248, 0.82);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 32px rgba(0,0,0,0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

header.is-scrolled {
    padding: 14px 0;
}

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

header .responsive {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3,1fr);
    max-width: 1400px;
    padding: 0 2rem;
    position: relative;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header .logo a {
    transition: filter 0.4s ease;
}

header.is-scrolled .logo a {
    filter: brightness(0);
}

header .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

header .actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
}

header .actions a {
    transition: filter 0.4s ease;
}

header.is-scrolled .actions a svg path {
    fill: #217CFC;
}

header.is-scrolled .actions #telegram svg path:nth-child(1) {
    fill: #FFF;
}

header .nav a {
    color: var(--w);
    font-size: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.4s ease;
    position: relative;
}

header .nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    border-radius: 10rem;
    transition: width 0.3s ease;
}

header .nav a:hover::after {
    width: 100%;
}

header.is-scrolled .nav a {
    color: var(--b);
}

header .nav a.is-active {
    font-weight: 700;
}

header.is-scrolled .nav a.is-active {
    color: var(--acc);
    font-weight: 400;
}

header .nav a.is-active::after {
    width: 100%;
}

header .actions button {
    background: var(--w);
    box-shadow: var(--shadow);
    border: 0;
    font-size: var(--text);
    padding: 0.8rem 2.8rem;
    letter-spacing: -0.02em;
    border-radius: 10rem;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, filter 0.2s ease;
}

header.is-scrolled .actions button {
    background: var(--b);
    color: var(--w);
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 20vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: url(/assets/img/bg.png) center center / cover no-repeat;
    border-radius: 0 0 5rem 5rem;
    z-index: 2;
}

.hero h1 {
    font-size: 0;
}

.hero h1 img {
    height: 120px;
}

.hero h2 {
    color: var(--w);
    font-size: var(--subtitle);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero .welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero .welcome button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    color: var(--w);
    font-size: var(--text);
    padding: 0.8rem 2.8rem;
    border-radius: 10rem;
    letter-spacing: -0.02em;
    font-family: "Arimo", sans-serif;
}

.hero-iceberg {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60vw;
    display: block;
    transform: translateX(-50%) translateY(100%);
    will-change: transform;
    animation: iceberg-rise 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes iceberg-rise {
    to { transform: translateX(-50%) translateY(0); }
}

.directions {
    position: relative;
    padding: 180px 2rem 100px;
    display: flex;
    justify-content: center;
}

.iceberg-foot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.dir-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.directions h2 {
    font-size: var(--title);
    letter-spacing: -0.04em;
    color: var(--b);
    text-align: center;
    line-height: 1.15;
    max-width: 680px;
}

.dir-nav {
    display: flex;
    gap: 0.25rem;
    background: rgba(0,0,0,0.06);
    padding: 0.3rem;
    border-radius: 10rem;
}

.dir-tab {
    background: transparent;
    border: 0;
    padding: 0.55rem 1.4rem;
    border-radius: 10rem;
    font-size: 0.9rem;
    letter-spacing: -0.02em;
    color: rgba(0,0,0,0.5);
    font-family: "Arimo", sans-serif;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.dir-tab.is-active {
    background: var(--w);
    color: var(--b);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.dir-slider {
    position: relative;
    width: 100%;
    height: 300px;
}

.dir-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 0;
}

.dir-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.dir-card {
    background: var(--w);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    overflow: visible;
}

.dir-content {
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.dir-content h3 {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--b);
}

.dir-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(0,0,0,0.55);
}

.dir-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.btn-primary {
    background: var(--acc);
    color: var(--w);
    border: 0;
    padding: 0.75rem 2rem;
    border-radius: 10rem;
    font-size: 0.95rem;
    font-family: "Arimo", sans-serif;
    letter-spacing: -0.02em;
}

.btn-secondary {
    color: rgba(0,0,0,0.5);
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.dir-media {
    position: relative;
    overflow: visible;
}

.dir-media-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 2rem 2rem 0;
    z-index: 0;
}

.dir-line {
    width: auto;
    height: 100%;
}

.dir-photo {
    position: absolute;
    z-index: 1;
}

#slide1 {
    height: 420px;
    width: auto;
    top: -6.2rem;
    right: -2rem;
}

#slide2 {
    height: 420px;
    width: auto;
    top: -3.2rem;
    right: 2rem;
}

#slide3 {
    height: 420px;
    width: auto;
    bottom: 0;
    right: 5rem;
}

#slide4 {
    height: 350px;
    width: auto;
    bottom: -0.8rem;
    right: 5rem;
}

#slide5 {
    height: 420px;
    width: auto;
    bottom: 0;
    right: 10rem;
}

#prices {
    display: flex;
    justify-content: center;
    align-items: center;
}

#prices h2 {
    font-size: var(--title);
    letter-spacing: -0.04em;
    color: var(--b);
    text-align: center;
    line-height: 1.15;
}

.prices .bento {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.prices .bento .grid-1 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}

.responsive {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.cell {
    background: var(--w);
    padding: 2rem;
    border-radius: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    align-items: center;
    padding-bottom: 25vh;
}

.cell a {
    position: absolute;
    bottom: 2rem;
    width: calc(100% - 8rem);
    padding: 1rem 0;
    border-radius: 10rem;
    text-align: center;
    font-size: var(--text);
    font-weight: 600;
    box-shadow: var(--shadow);
    letter-spacing: -0.02em;
    background: var(--w);
}

.cell h3 {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.cell.group {
    background: url(/assets/img/free.png);
    background-size: cover;
    color: #fff;
}

.cell.group img {
    position: absolute;
    bottom: 0;
}

.cell.group a {
    color: var(--b);
}

.cell .two-hands {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    bottom: 0;
}

.cell .two-hands img {
    width: 9rem;
}

.cell.groupsub a {
    background: var(--b);
    color: var(--w);
}

.cell.groupsub a span {
    color: rgba(255,255,255,0.55);
}

.cell.onetime img {
    position: absolute;
    bottom: 0;
    max-height: 220px;
    width: auto;
}

.cell.family img {
    position: absolute;
    bottom: 0;
}

.cell.family a span {
    color: rgba(0,0,0,0.55);
}

.bento .grid-2 {
    display: grid;
    width: 100%;
    grid-template-columns: 0.85fr 1.1fr 1.1fr 0.85fr;
    gap: 1rem;
}

.cell.personal {
    color: var(--b);
    overflow: hidden;
    padding-bottom: 2rem;
    padding-top: 25vh;
}

.cell.personal h3 {
    color: var(--b);
    text-align: center;
    padding-bottom: 4rem;
}

.cell.personal > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
}

.cell.personal a {
    background: var(--b);
    color: var(--w);
    box-shadow: none;
    border: none;
}

.cell.personal a span {
    color: rgba(255,255,255,0.5);
}

.cell.individual-sub {
    grid-column: span 2;
    align-items: flex-start;
    overflow: visible;
}

.cell.individual-sub h3 {
    max-width: 55%;
}

.cell.individual-sub .mountain-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    max-height: 100%;
}

.cell.individual-sub .punchingbag {
    position: absolute;
    top: 0;
    width: auto;
    max-height: 100%;
    right: 5rem;
}

.cell.individual-sub .ind-buttons {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cell.individual-sub .ind-buttons button {
    padding: 0.75rem 2rem;
    border-radius: 10rem;
    font-size: 0.9rem;
    border: 0;
    font-family: "Arimo", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: var(--b);
    color: var(--w);
}

.cell.individual-sub .ind-buttons .accent {
    background: var(--acc);
}

.cell.discount {
    align-items: flex-start;
    overflow: hidden;
}

.cell.discount .starbg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: auto;
}

.cell.discount h3 {
    position: relative;
    z-index: 1;
}

.cell.discount h3 span {
    display: block;
    color: var(--acc);
}

.cell.discount .handshake {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.gallery {
    position: relative;
}

.gallery-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    overflow: hidden;
}

.gallery-head {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.gallery-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 0.75rem;
}

.gallery h2 {
    font-size: var(--title);
    letter-spacing: -0.04em;
    color: var(--b);
    line-height: 1.08;
}

.gallery-rail {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    height: 55vh;
    padding: 0 2rem;
    will-change: transform;
}

.gallery-track img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    border-radius: 1.5rem;
    object-fit: cover;
    aspect-ratio: 3 / 4;          /* default; wide variants override below */
}
.gallery-track img[src*="/place/2"],
.gallery-track img[src*="/place/3"],
.gallery-track img[src*="/place/4"] {
    aspect-ratio: 4 / 3;
}

.contacts {
    padding: 100px 2rem 160px;
    display: flex;
    justify-content: center;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    width: 100%;
    align-items: stretch;
}

.contacts-map {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 480px;
    background: var(--w);
}

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

.map-loader {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 0;
    cursor: pointer;
    font-family: inherit;
    color: #475569;
    padding: 1rem;
    transition: background .2s;
}

.map-loader:hover { background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); }

.map-loader svg {
    width: 2.6rem;
    height: 2.6rem;
    color: #217CFC;
}

.map-loader-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
}

.map-loader-cta {
    font-size: 0.85rem;
    color: #64748b;
}

.contacts-info {
    background: var(--w);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.contacts-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 0.75rem;
}

.contacts-info h2 {
    font-size: var(--title);
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--b);
}

.contacts-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contacts-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts-icon svg {
    width: 1rem;
    height: 1rem;
}

.contacts-label {
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(0,0,0,0.38);
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.contacts-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--b);
    letter-spacing: -0.02em;
}

.contacts-value a {
    color: var(--b);
    transition: color 0.2s;
}

.contacts-value a:hover {
    color: var(--acc);
}

.blog {
    padding: 120px 2rem;
    display: flex;
    justify-content: center;
}

.blog-head {
    margin-bottom: 3rem;
}

.blog-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 0.75rem;
}

.blog h2 {
    font-size: var(--title);
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--b);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--w);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--b);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.13);
}

.blog-thumb {
    aspect-ratio: 3/2;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.4rem;
}

.blog-thumb-1 { background: linear-gradient(140deg, #152238 0%, #0a1220 100%); }
.blog-thumb-2 { background: linear-gradient(140deg, #0f2318 0%, #060f0a 100%); }
.blog-thumb-3 { background: linear-gradient(140deg, #2a1218 0%, #140608 100%); }
.blog-thumb-4 { background: linear-gradient(140deg, #16122a 0%, #0b0814 100%); }

.blog-thumb-num {
    font-family: "Russo One", sans-serif;
    font-size: 4rem;
    color: rgba(255,255,255,0.07);
    line-height: 1;
    letter-spacing: -0.04em;
    user-select: none;
}

.blog-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.blog-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--acc);
    background: rgba(33,124,252,0.1);
    width: max-content;
    padding: 0.5rem 1rem;
    border-radius: 10rem;
}

.blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
    color: var(--b);
}

.blog-card p {
    font-size: 0.84rem;
    color: rgba(0,0,0,0.5);
    line-height: 1.65;
    letter-spacing: -0.01em;
    flex: 1;
    margin-top: 0.1rem;
}

.blog-read {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--b);
    letter-spacing: -0.01em;
    margin-top: 0.6rem;
    transition: color 0.2s, gap 0.2s;
}

.blog-read svg {
    width: 14px;
    height: 14px;
}

.blog-card:hover .blog-read {
    color: var(--acc);
    gap: 0.5rem;
}

footer {
    background: var(--b);
    padding: 5rem 2rem 2.5rem;
    display: flex;
    justify-content: center;
}

footer .responsive {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1.6fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}

.footer-logo {
    height: 1.8rem;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.1rem;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.38);
    font-size: 0.85rem;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.footer-nav {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.01em;
    margin-bottom: 0.7rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--w); }

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.footer-social-link:hover { color: var(--w); }

.footer-social-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.6rem;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social-icon svg {
    width: 1rem;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 2rem;
    color: rgba(255,255,255,0.26);
    font-size: 0.74rem;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.footer-age {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.38);
    padding: 0.18rem 0.55rem;
    border-radius: 0.3rem;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
}
@keyframes hero-btn-breathe {
    0%, 100% { border-color: rgba(255,255,255,0.4); }
    50%       { border-color: rgba(255,255,255,0.95); }
}

.hero .welcome button {
    animation: hero-btn-breathe 2.6s ease-in-out infinite;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.hero .welcome button:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.95);
    animation-play-state: paused;
}

header .actions button:hover,
header.is-scrolled .actions button:hover {
    filter: brightness(0.88);
}

.btn-primary {
    transition: filter 0.2s ease;
}
.btn-primary:hover { filter: brightness(1.13); }

.btn-secondary { transition: opacity 0.2s ease; }
.btn-secondary:hover { opacity: 0.55; }

.cell a { transition: opacity 0.2s ease; }
.cell a:hover { opacity: 0.78; }
.cell[data-open-modal] { cursor: pointer; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.cell[data-open-modal]:hover { box-shadow: 0 12px 56px rgba(0,0,0,0.13); transform: translateY(-2px); }

.cell.individual-sub .ind-buttons button { transition: filter 0.2s ease; }
.cell.individual-sub .ind-buttons button:hover { filter: brightness(1.2); }
.js-anim .cell.group,
.js-anim .cell.onetime,
.js-anim .cell.family {
    overflow: hidden;
}
.js-anim .cell.groupsub {
    overflow: hidden;
}
.js-anim .cell.group h3,
.js-anim .cell.onetime h3,
.js-anim .cell.family h3,
.js-anim .cell.group a,
.js-anim .cell.onetime a,
.js-anim .cell.family a,
.js-anim .cell.group > img,
.js-anim .cell.onetime > img,
.js-anim .cell.family > img {
    opacity: 0;
}
.js-anim .cell.groupsub .two-hands img { opacity: 0; }
.js-anim .cell.personal > img { opacity: 0; }
.js-anim .cell.discount .handshake { opacity: 0; }

@keyframes cell-text-in {
    from { opacity: 0; transform: translateX(-26px); }
    to   { opacity: 1; transform: none; }
}
@keyframes cell-btn-rise {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
@keyframes cell-img-rise {
    from { opacity: 0; transform: translateY(72px); }
    to   { opacity: 1; transform: none; }
}
@keyframes hand-left-in {
    from { opacity: 0; transform: translateX(-90px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes hand-right-in {
    from { opacity: 0; transform: translateX(90px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes hand-left-train {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0); }
    45%      { transform: translateX(-5px) translateY(-8px) rotate(-2deg); }
}
@keyframes hand-right-train {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0); }
    45%      { transform: translateX(5px) translateY(-6px) rotate(2deg); }
}
@keyframes personal-fly {
    from { opacity: 0; transform: translateX(-115%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes bag-sway {
    0%, 100% { transform: rotate(0deg); }
    30%      { transform: rotate(2.5deg); }
    70%      { transform: rotate(-2.5deg); }
}
@keyframes handshake-rise {
    from { opacity: 0; transform: translateY(80px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cell.group.anim-in h3,
.cell.onetime.anim-in h3,
.cell.family.anim-in h3 {
    animation: cell-text-in 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
.cell.group.anim-in a,
.cell.onetime.anim-in a,
.cell.family.anim-in a {
    animation: cell-btn-rise 0.55s cubic-bezier(0.16,1,0.3,1) 0.38s both;
}
.cell.group.anim-in > img,
.cell.onetime.anim-in > img,
.cell.family.anim-in > img {
    animation: cell-img-rise 1s cubic-bezier(0.16,1,0.3,1) 0.52s both;
}

.cell.groupsub.anim-in .two-hands img:first-child {
    animation:
        hand-left-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.15s both,
        hand-left-train 2s ease-in-out 1.1s infinite;
}
.cell.groupsub.anim-in .two-hands img:last-child {
    animation:
        hand-right-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.27s both,
        hand-right-train 3.2s ease-in-out 1.3s infinite;
}

.cell.personal.anim-in > img {
    animation: personal-fly 0.85s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

.cell.individual-sub .punchingbag {
    transform-origin: top center;
    animation: bag-sway 2.4s ease-in-out infinite;
}

.cell.discount.anim-in .handshake {
    animation: handshake-rise 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.4rem 0.5rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(0,0,0,0.07);
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgba(0,0,0,0.28);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 0.8rem;
    transition: color 0.2s;
    text-align: center;
    flex: 1;
}

.mobile-nav-item svg {
    width: 1.45rem;
    height: 1.45rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-nav-item.is-active {
    color: var(--acc);
}
@keyframes loader-pulse {
    0%, 100% { opacity: 0.18; }
    50%       { opacity: 0.85; }
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--w);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    height: 44px;
    width: auto;
    filter: brightness(0);
    animation: loader-pulse 1.8s ease-in-out infinite;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    pointer-events: none;
    transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.modal-overlay.is-open {
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.modal-sheet {
    background: var(--w);
    border-radius: 2rem;
    width: 100%;
    max-width: 560px;
    padding: 2.5rem;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18);
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
    position: relative;
}

.modal-overlay.is-open .modal-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-handle { display: none; }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.modal-close {
    background: var(--bg);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.modal-close:hover { background: rgba(0,0,0,0.1); }

.modal-close svg { width: 16px; height: 16px; }

.modal-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-optional {
    font-weight: 400;
    color: rgba(0,0,0,0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg);
    border: 1.5px solid transparent;
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    font-family: "Arimo", sans-serif;
    font-size: 1rem;
    color: var(--b);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,0.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--acc);
    background: var(--w);
}

.form-group textarea { resize: none; }

/* ── Custom select (modal) ─────────────────────────────────────── */
.cf-select { position: relative; }

.cf-select-trigger {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid transparent;
    border-radius: 0.85rem;
    padding: 0.75rem;
    font-family: "Arimo", sans-serif;
    font-size: 1rem;
    color: var(--b);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.cf-select-trigger:hover { background: rgba(0,0,0,0.04); }
.cf-select-trigger:focus,
.cf-select.is-open .cf-select-trigger {
    border-color: var(--acc);
    background: var(--w);
    outline: none;
}
.cf-select-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cf-select-value.is-placeholder { color: rgba(0,0,0,0.32); }

.cf-select-chevron {
    width: 18px;
    height: 18px;
    color: rgba(0,0,0,0.45);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.cf-select.is-open .cf-select-chevron { transform: rotate(180deg); }

.cf-select-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0; right: 0;
    background: var(--w);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0.85rem;
    padding: 0.35rem;
    margin: 0;
    list-style: none;
    box-shadow: 0 14px 38px rgba(0,0,0,0.14);
    z-index: 10;
    max-height: 240px;
    overflow-y: auto;
    transform-origin: top;
    animation: cf-select-pop 0.16s ease both;
}
@keyframes cf-select-pop {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}
.cf-select-panel li {
    padding: 0.65rem 0.85rem;
    border-radius: 0.6rem;
    font-size: 0.96rem;
    color: var(--b);
    cursor: pointer;
    user-select: none;
    transition: background 0.12s ease;
}
.cf-select-panel li:hover,
.cf-select-panel li.is-focus { background: var(--bg); }
.cf-select-panel li[aria-selected="true"] {
    background: var(--b);
    color: var(--w);
}
.cf-select.is-invalid .cf-select-trigger { border-color: #d63a3a; }

.modal-submit {
    background: var(--b);
    color: var(--w);
    border: 0;
    padding: 1rem 0;
    border-radius: 10rem;
    font-family: "Arimo", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    width: 100%;
    margin-top: 0.4rem;
    transition: filter 0.2s ease;
}

.modal-submit:hover { filter: brightness(1.18); }

.modal-privacy {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.35);
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.modal-privacy a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0 0.5rem;
    text-align: center;
}

.modal-success[hidden] { display: none; }

.modal-success svg {
    width: 48px;
    height: 48px;
    color: var(--acc);
    transform: rotate(180deg);
}

.modal-success h4 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.modal-success p {
    color: rgba(0,0,0,0.5);
    font-size: 0.95rem;
}

@media (max-width: 1280px) {
    :root {
        --title: 2.5rem;
    }
    .directions {
        padding: 150px 2rem 80px;
    }
    .contacts {
        padding: 90px 2rem 120px;
    }
    .blog {
        padding: 90px 2rem;
    }
    .gallery-track {
        height: 48vh;
    }
    .cell h3 {
        font-size: 1.6rem;
    }
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    footer {
        padding: 4rem 2rem 2.5rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --title: 2.4rem;
    }
    .prices .bento .grid-1 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cell.individual-sub {
        grid-column: span 2;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-socials {
        grid-column: span 2;
        flex-direction: row;
        gap: 1.5rem;
    }

    .cell.group img {
        width: auto;
        height: max-content;
    }

    .directions { padding: 140px 1.5rem 70px; }
    .gallery-track { height: 46vw; }
    .contacts { padding: 80px 1.5rem 100px; }
    .blog { padding: 80px 1.5rem; }
    footer { padding: 4rem 1.5rem 2.5rem; }
}

@media (max-width: 768px) {
    :root {
        --title: 1.9rem;
        --subtitle: 1.1rem;
    }

    .cell.groupsub {
        overflow: hidden;
    }

    .onetime h3 {
        max-width: 50%;
        margin-right: auto;
    }

    .cell.onetime {
        overflow: hidden;
    }

    .cell.onetime img {
        height: max-content;
        width: auto;
        right: -3rem;
    }

    .cell .two-hands {
        bottom: -8rem;
    }

    header {
        padding: 14px 0;
    }
    header::before {
        opacity: 1;
    }
    header .logo a,
    header.is-scrolled .logo a {
        filter: brightness(0);
    }
    header .responsive {
        grid-template-columns: auto 1fr;
    }
    header .nav {
        display: none;
    }
    header .actions {
        justify-content: flex-end;
        gap: 0;
    }
    header .actions > a {
        display: none;
    }
    header .actions button,
    header.is-scrolled .actions button {
        background: var(--b);
        color: var(--w);
        box-shadow: none;
        padding: 0.6rem 1.3rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 20vh;
        min-height: 100svh;
        border-radius: 0 0 2.5rem 2.5rem;
    }
    .hero h1 img {
        height: 58px;
    }
    .hero h2 {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    .hero .welcome {
        gap: 1.5rem;
    }
    .hero .welcome button {
        padding: 0.75rem 2rem;
    }
    .hero-iceberg {
        width: auto;
        height: 50vh;
    }

    .directions {
        padding: 90px 1.2rem 50px;
        overflow: hidden;
    }
    .iceberg-foot {
        width: auto;
        height: 50vh;
    }
    .directions h2 {
        font-size: 1.55rem;
        max-width: 100%;
    }
    .dir-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        width: 100%;
    }
    .dir-nav::-webkit-scrollbar { display: none; }
    .dir-tab {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
    .dir-slider {
        height: 60vh;
    }

    .dir-slide {
        position: relative;
        inset: auto;
        display: none;
        opacity: 1;
        pointer-events: auto;
        height: 100%;
    }
    .dir-slide.is-active {
        display: block;
        animation: mob-slide-in 0.3s ease;
    }
    @keyframes mob-slide-in {
        from { opacity: 0; transform: translateY(6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .dir-card {
        grid-template-columns: 1fr;
        height: 100%;
    }
    .dir-content {
        padding: 1.8rem;
        justify-content: start;
        gap: 0.75rem;
    }
    .dir-content h3 {
        font-size: 1.35rem;
    }
    .dir-media {
        height: auto;
        order: -1;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .dir-media-bg {
        border-radius: 0;
    }
    #slide1, #slide2, #slide3, #slide4, #slide5 {
        height: 210px;
        width: auto;
        top: auto;
        bottom: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .dir-cta {
        flex-direction: column;
        gap: 5px;
        margin-top: 0.5rem;
        position: absolute;
        bottom: 2rem;
        width: calc(100% - 4rem);
    }

    .dir-cta button {
        width: 100%;
    }

    .dir-cta a {
        background: var(--bg);
        width: 100%;
        padding: 0.75rem 2rem;
        border-radius: 10rem;
        text-align: center;
    }

    #prices {
        padding: 50px 1.2rem;
        align-items: flex-start;
    }
    #prices h2 {
        font-size: 1.8rem;
    }
    .prices .bento {
        margin: 1.5rem 0;
    }
    .prices .bento .grid-1 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento .grid-2 {
        grid-template-columns: 1fr;
    }
    .cell {
        padding: 1.4rem;
        padding-bottom: 11rem;
        border-radius: 1.5rem;
    }
    .cell h3 {
        font-size: 2.2rem;
    }
    .cell a {
        bottom: 1.4rem;
        width: calc(100% - 2.8rem);
        font-size: 0.88rem;
        padding: 0.85rem 0;
    }
    .cell .two-hands img {
        width: 43%;
    }
    .cell.individual-sub {
        grid-column: span 1;
        padding-bottom: 9.5rem;
        padding-top: 1.4rem;
        overflow: hidden;
    }
    .cell.individual-sub h3 {
        max-width: 80%;
    }
    .cell.individual-sub .punchingbag {
        right: 0;
        max-height: 88%;
    }
    .cell.individual-sub .mountain-bg {
        max-height: 80%;
    }
    .cell.individual-sub .ind-buttons {
        bottom: 1.4rem;
        left: 1.4rem;
    }
    .cell.individual-sub .ind-buttons button {
        padding: 0.6rem 1.3rem;
        font-size: 0.8rem;
    }
    .cell.personal {
        padding-top: 11rem;
        padding-bottom: 2rem;
    }
    .cell.personal > img {
        width: 50%;
    }
    .cell.discount {
        min-height: 380px;
        padding-bottom: 1.4rem;
    }

    .cell.family {
        overflow: hidden;          /* image intentionally hangs below — clip it */
    }
    .cell.family img {
        right: 1rem;
        bottom: -3rem;
        width: 36vh;
    }
    .cell.group {
        overflow: hidden;
    }

    .gallery-sticky {
        gap: 1.5rem;
    }
    .gallery h2 {
        font-size: 1.7rem;
    }
    .gallery-track {
        height: 52vw;
    }

    .cell.group img {
        bottom: -4rem;
    }

    .blog {
        padding: 60px 1.2rem;
    }
    .blog h2 {
        font-size: 1.7rem;
    }
    .blog-head {
        margin-bottom: 2rem;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .blog-body {
        padding: 1.2rem;
        gap: 0.45rem;
    }
    .blog-card p {
        display: none;
    }
    .blog-card h3 {
        font-size: 0.92rem;
    }

    .contacts {
        padding: 60px 1.2rem 40px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .contacts-map {
        min-height: 260px;
    }
    .contacts-info {
        padding: 2rem;
        gap: 1.5rem;
    }
    .contacts-info h2 {
        font-size: 2rem;
    }

    footer {
        padding: 3rem 1.2rem 2rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-socials {
        grid-column: auto;
        flex-direction: row;
        gap: 1.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.68rem;
        align-items: flex-start;
    }

    .mobile-nav {
        display: flex;
    }
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    }

    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .modal-sheet {
        max-width: 100%;
        border-radius: 2rem 2rem 0 0;
        padding: 1rem 1.4rem 2rem;
        max-height: 92svh;
        overflow-y: auto;
        transform: translateY(100%);
        opacity: 1;
    }
    .modal-overlay.is-open .modal-sheet {
        transform: translateY(0);
    }
    .modal-handle {
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(0,0,0,0.12);
        border-radius: 10rem;
        margin: 0 auto 1.5rem;
    }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    :root {
        --title: 1.65rem;
    }
    .hero h1 img {
        height: 48px;
    }
    .prices .bento .grid-1 {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card p {
        display: block;
        font-size: 0.8rem;
    }
    .contacts-info h2 {
        font-size: 1.7rem;
    }
    .gallery-track {
        height: 64vw;
    }
    .cell h3 { font-size: 1.55rem; }
    .cell { padding-bottom: 9rem; }
    .cell.personal { padding-top: 9rem; }
    .dir-slider { height: 80vh; }
}
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    width: calc(100% - 3rem);
    max-width: 680px;
    background: var(--b);
    color: var(--w);
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 44px rgba(0,0,0,0.22);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
    pointer-events: none;
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner p {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
    margin: 0;
    min-width: 200px;
}
.cookie-banner p a {
    color: var(--w);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.8;
}
.cookie-banner p a:hover { opacity: 1; }
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-more {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.cookie-more:hover { color: var(--w); }
.cookie-accept {
    background: var(--w);
    color: var(--b);
    border: none;
    border-radius: 10rem;
    padding: 0.55rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.cookie-accept:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .cookie-banner {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 0.75rem);
        border-radius: 1rem;
        padding: 1rem 1.2rem;
    }
    .cookie-inner { gap: 0.85rem; }
    .cookie-actions { width: 100%; justify-content: space-between; }
}
