/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #000000;
    --bg-light: #111111;
    --bg-card: #0d0d0d;
    --surface: #1a1a1a;
    --border: #222222;
    --text: #ffffff;
    --text-muted: #999999;
    --text-dim: #666666;
    --lime: #bfe226;
    --lime-dark: #98c926;
    --lime-glow: rgba(191, 226, 38, 0.15);
    --orange: #ea4e27;
    --orange-hover: #ff6a42;
    --red: #901f1f;
    --font: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 0 11px rgba(0,0,0,0.6);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo img {
    height: 44px;
    width: auto;
}

.header__nav { display: flex; gap: 28px; align-items: center; }

.header__nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

.header__nav > a.active,
.nav-dropdown__toggle.active { color: var(--orange); }

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--lime);
    transition: var(--transition);
}

.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-arrow {
    font-size: 0.65rem;
    opacity: 0.6;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown__menu a::after { display: none; }

.nav-dropdown__menu a:hover {
    color: var(--lime);
    background: rgba(255,255,255,0.04);
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--orange);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.header__cta:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(234, 78, 39, 0.4);
}

.header__cta::after { display: none !important; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.2s ease;
    border-radius: 2px;
    transform-origin: center;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.nav-open { overflow: hidden; }

/* ===== HERO (fullscreen cover like original) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img,
.hero__bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.70), rgba(0,0,0,0.70));
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 24px;
}

.hero__tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--lime);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero__title span {
    color: var(--lime);
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.4);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--orange);
    color: #fff;
}

.btn--primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(234, 78, 39, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--lime);
    border: 2px solid var(--lime);
}

.btn--outline:hover {
    background: var(--lime);
    color: #000;
    transform: translateY(-2px);
}

.btn--lime {
    background: var(--lime);
    color: #000;
    font-weight: 700;
}

.btn--lime:hover {
    background: var(--lime-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--lime-glow);
}

/* ===== SECTION COMMON ===== */
.section__tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--lime);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.7;
}

.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.feature-card {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    border-color: var(--lime-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.feature-card__icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border: 1px solid rgba(191, 226, 38, 0.2);
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.infographic-grid {
    margin-top: 12px;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 18px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    color: #111;
}

.infographic-grid__banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

.infographic-grid__snow {
    color: #c62828;
    font-size: 1rem;
}

.infographic-grid__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.infographic-grid__col {
    display: grid;
    gap: 18px;
}

.infographic-grid__col--contains {
    position: relative;
    padding-left: 14px;
    border-left: 2px solid rgba(0, 0, 0, 0.12);
}

.infographic-grid__contains-label {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
    background: #fff;
    padding: 4px 8px;
}

.infographic-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

.infographic-item__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.infographic-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.infographic-item__text {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
}

.infographic-grid--compact {
    padding: 14px 12px 16px;
}

.infographic-grid--compact .infographic-grid__banner {
    margin-bottom: 14px;
    font-size: 0.68rem;
}

.infographic-grid--compact .infographic-item {
    grid-template-columns: 56px 1fr;
    gap: 10px;
}

.infographic-grid--compact .infographic-item__icon {
    width: 56px;
    height: 56px;
}

.infographic-grid--compact .infographic-item__text {
    font-size: 0.64rem;
}

.page-app .infographic-grid {
    margin: 0 0 20px;
}

@media (max-width: 900px) {
    .infographic-grid__cols {
        grid-template-columns: 1fr;
    }

    .infographic-grid__col--contains {
        padding-left: 0;
        border-left: none;
        padding-top: 8px;
        border-top: 2px solid rgba(0, 0, 0, 0.08);
    }

    .infographic-grid__contains-label {
        position: static;
        transform: none;
        margin-bottom: 4px;
    }
}

@media (max-width: 520px) {
    .infographic-item {
        grid-template-columns: 60px 1fr;
    }

    .infographic-item__icon {
        width: 60px;
        height: 60px;
    }
}

/* ===== PRODUCTS ===== */
.products { padding: 100px 0; }

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* Liquid glass product cards */
.product-card {
    --glass-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.04) 42%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(22px) saturate(1.65);
    -webkit-backdrop-filter: blur(22px) saturate(1.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.55s var(--glass-ease),
        box-shadow 0.55s var(--glass-ease),
        border-color 0.45s ease;
    animation: product-card-in 0.85s var(--glass-ease) backwards;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(191, 226, 38, 0.12) 45%,
        rgba(255, 255, 255, 0.14) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
    opacity: 0.35;
    transition: opacity 0.6s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -80%;
    width: 75%;
    height: 260%;
    background: linear-gradient(
        105deg,
        transparent 42%,
        rgba(255, 255, 255, 0.02) 47%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.02) 53%,
        transparent 58%
    );
    transform: translateX(-50%) rotate(16deg);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.products__grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.products__grid .product-card:nth-child(2) { animation-delay: 0.12s; }
.products__grid .product-card:nth-child(3) { animation-delay: 0.19s; }
.products__grid .product-card:nth-child(4) { animation-delay: 0.26s; }
.products__grid .product-card:nth-child(5) { animation-delay: 0.33s; }
.products__grid .product-card:nth-child(n+6) { animation-delay: 0.4s; }

@keyframes product-card-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes liquid-glass-shine-hover {
    0% {
        transform: translateX(-55%) rotate(16deg);
        opacity: 0;
    }
    40% {
        opacity: 0.35;
    }
    100% {
        transform: translateX(70%) rotate(16deg);
        opacity: 0;
    }
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(191, 226, 38, 0.35);
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.45),
        0 0 32px rgba(191, 226, 38, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card:hover::after {
    animation: liquid-glass-shine-hover 1.6s ease-out forwards;
}

.product-card:not(:hover)::after {
    animation: none;
    opacity: 0;
}

.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    background: rgba(234, 78, 39, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 16px rgba(234, 78, 39, 0.35);
}

.product-card__image-wrap {
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.product-card__image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.65s var(--glass-ease);
}

.product-card:hover .product-card__image {
    transform: scale(1.08);
}

.product-card__body {
    position: relative;
    z-index: 2;
    padding: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.product-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.product-card__desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-card__price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lime);
}

.product-card__price small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.product-card__btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(234, 78, 39, 0.95), rgba(234, 78, 39, 0.75));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.35s var(--glass-ease),
        box-shadow 0.35s ease,
        background 0.35s ease;
    font-family: inherit;
    box-shadow:
        0 6px 20px rgba(234, 78, 39, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-card__btn:hover {
    background: linear-gradient(135deg, var(--orange-hover), var(--orange));
    transform: scale(1.06);
    box-shadow:
        0 10px 28px rgba(234, 78, 39, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card::before,
    .product-card::after {
        animation: none;
    }

    .product-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.about__image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.stat {
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.stat__number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lime);
}

.stat__label {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ===== COMPOSITION ===== */
.composition { padding: 100px 0; }

.composition__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.comp-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.comp-card:hover {
    border-color: var(--lime-dark);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.comp-card__icon { font-size: 1.8rem; margin-bottom: 14px; }
.comp-card__title { font-weight: 700; margin-bottom: 8px; color: #fff; }
.comp-card__text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--lime-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.faq-item__question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-item__question:hover { color: var(--lime); }

.faq-item__icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--lime);
    transition: var(--transition);
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
    background: var(--lime);
    color: #000;
    border-color: var(--lime);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-item__answer { max-height: 400px; }

.faq-item__answer-inner {
    padding: 0 22px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== CTA ===== */
.cta { padding: 80px 0; }

.cta__inner {
    background: var(--bg);
    border: 2px solid var(--lime-dark);
    border-radius: 16px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__inner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__inner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(234, 78, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 14px;
    position: relative;
}

.cta__text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    padding: 60px 0 30px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand-text {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 16px;
    color: var(--text-dim);
}

.footer__title {
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 18px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__links a {
    font-size: 0.88rem;
    color: var(--text-dim);
    transition: var(--transition);
}

.footer__links a:hover { color: var(--lime); }

.footer__socials { display: flex; gap: 10px; margin-top: 16px; }

.footer__socials a {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-muted);
}

.footer__socials a:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: #000;
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 150px 0 70px;
    text-align: center;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== KOMBUCHA PAGE ===== */
.info-section { padding: 80px 0; }
.info-section:nth-child(even) { background: var(--bg-light); }

.info-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-section__inner--reverse { direction: rtl; }
.info-section__inner--reverse > * { direction: ltr; }

.info-section__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.info-section__text {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.info-section__image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.vitamins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.vitamin-tag {
    padding: 10px 14px;
    background: var(--lime-glow);
    border: 1px solid rgba(191, 226, 38, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lime);
    text-align: center;
    transition: var(--transition);
}

.vitamin-tag:hover {
    background: rgba(191, 226, 38, 0.25);
    transform: translateY(-2px);
}

/* ===== CONTACTS ===== */
.contacts-section { padding: 80px 0; }

.contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.contact-card {
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    display: block;
}

.contact-card:hover {
    border-color: var(--lime-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}

.contact-card__icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border: 1px solid rgba(191, 226, 38, 0.15);
    border-radius: 50%;
    font-size: 1.4rem;
    margin: 0 auto 18px;
}

.contact-card__title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card__value {
    font-size: 1.1rem;
    color: var(--lime);
    font-weight: 700;
}

/* ===== 404 ===== */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 72px;
}

.page-404__code {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 700;
    color: var(--lime);
    opacity: 0.15;
    line-height: 1;
}

.page-404__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 16px 0;
    color: #fff;
}

/* ===== NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    border-color: rgba(191, 226, 38, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.news-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__body { padding: 24px; }

.news-card__date {
    font-size: 0.75rem;
    color: var(--lime);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.news-card__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== PARTNERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.partner-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: rgba(191, 226, 38, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.partner-card img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ===== STORY BLOCKS ===== */
.story-block {
    color: var(--text-muted);
    line-height: 2;
    font-size: 0.95rem;
}

.story-block p { margin-bottom: 12px; }

.story-block h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.story-block strong { color: #fff; }
.story-block em { color: var(--lime); font-style: italic; }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* app/cabinet не подключают app.js — показываем контент сразу, анимация через mini-app.js */
.page-app .fade-up,
.page-cabinet .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero__title { font-size: clamp(2rem, 5vw, 3rem); }
    .features__grid { grid-template-columns: 1fr; }
    .about__inner { grid-template-columns: 1fr; gap: 40px; }
    .info-section__inner { grid-template-columns: 1fr; }
    .info-section__inner--reverse { direction: ltr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .header__nav {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: calc(72px + env(safe-area-inset-top) + 24px);
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
        gap: 8px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header__nav.active { display: flex; }

    body.nav-open .header {
        z-index: 9999;
    }

    body.nav-open .burger {
        z-index: 10000;
    }

    body.nav-open.pwa-site .header__nav {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }

    body.nav-open .pwa-tabbar {
        visibility: hidden;
        pointer-events: none;
    }

    .header__cta { display: none; }
    .header__nav > a,
    .nav-dropdown__toggle { font-size: 1.1rem; padding: 8px 0; }
    .burger { display: flex; }
    .nav-dropdown__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown__menu { display: flex; flex-direction: column; align-items: center; }
    .nav-dropdown__menu a { padding: 6px 0; font-size: 0.95rem; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .cta__inner { padding: 50px 20px; }
}

/* Главная: фиксированное видео + полупрозрачные секции (только десктоп) */
@media (min-width: 769px) {
    body.page-home {
        background: transparent;
    }

    .page-home .hero-video-bg {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .page-home .hero-video-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .page-home .hero-video-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .page-home .hero {
        overflow: visible;
        position: relative;
        z-index: 1;
    }

    .page-home .hero__content,
    .page-home .hero__scroll {
        position: relative;
        z-index: 2;
    }

    .page-home .features,
    .page-home .products,
    .page-home .about,
    .page-home .faq,
    .page-home .cta,
    .page-home .footer {
        position: relative;
        z-index: 1;
    }

    .page-home .features,
    .page-home .about,
    .page-home .faq {
        background: rgba(0, 0, 0, 0.38) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .page-home .products {
        background: rgba(0, 0, 0, 0.32) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .page-home .cta {
        background: rgba(0, 0, 0, 0.28) !important;
    }

    .page-home .footer {
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .page-home .feature-card,
    .page-home .faq-item,
    .page-home .stat {
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .page-home .cta__inner {
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Главная: видео только в hero на мобильных */
@media (max-width: 768px) {
    .page-home .hero-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh;
        height: -webkit-fill-available;
        z-index: 0;
    }

    .page-home .hero {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .page-home .features,
    .page-home .products,
    .page-home .about,
    .page-home .faq {
        background: var(--bg-light) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .page-home .products {
        background: var(--bg) !important;
    }

    .page-home .feature-card,
    .page-home .faq-item,
    .page-home .stat {
        background: var(--bg) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .page-home .product-card {
        backdrop-filter: blur(16px) saturate(1.4);
        -webkit-backdrop-filter: blur(16px) saturate(1.4);
    }
}

/* ===== MINI APP / PWA / CABINET ===== */
.page-app,
.page-cabinet {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    min-height: 100vh;
    background: var(--bg);
}

.page-app .header,
.page-app .footer,
.page-cabinet .header,
.page-cabinet .footer { display: none; }

body.no-scroll { overflow: hidden; }

/* --- Application header --- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    padding-top: calc(10px + env(safe-area-inset-top));
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-header__logo { display: inline-flex; }
.app-header__logo img { height: 32px; width: auto; }

.app-header__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    line-height: 1.1;
}

.app-header__title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
}

.app-header__platform {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
}

.app-header__icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.app-header__icon-btn:hover {
    background: rgba(191, 226, 38, 0.12);
    color: var(--lime);
}

.app-header__icon-btn:active { transform: scale(0.94); }

.app-header__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.app-header__badge--zero { display: none; }

.app-main {
    padding: 20px 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.app-hero {
    text-align: center;
    margin-bottom: 32px;
    padding: 28px 16px;
}

.app-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 12px 0;
}

.app-hero__title span { color: var(--lime); }

.app-hero__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.app-section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime);
    margin: 0 0 18px;
}

.app-products-grid {
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* --- Tabbar --- */
.app-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: env(safe-area-inset-bottom);
}

.app-tabbar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.app-tabbar__item svg { opacity: 0.7; }
.app-tabbar__item--active,
.app-tabbar__item:hover { color: var(--lime); }
.app-tabbar__item--active svg,
.app-tabbar__item:hover svg { opacity: 1; }

/* --- Loader --- */
.app-loader {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.92);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    color: var(--text-muted);
}

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

.app-loader__spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(191, 226, 38, 0.2);
    border-top-color: var(--lime);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Glass panel --- */
.glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --- Cabinet --- */
.app-main--cabinet {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cabinet-profile {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas:
        "avatar info"
        "stats stats";
    gap: 16px 18px;
    align-items: center;
}

.cabinet-profile__avatar {
    grid-area: avatar;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lime-glow);
    border: 2px solid rgba(191, 226, 38, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lime);
}

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

.cabinet-profile__info { grid-area: info; min-width: 0; }
.cabinet-profile__name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.cabinet-profile__meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }

.cabinet-profile__stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.cabinet-profile__stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cabinet-stat__num {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lime);
    line-height: 1;
}

.cabinet-stat__label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* --- Tabs --- */
.cabinet-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.cabinet-tab {
    flex: 1;
    position: relative;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.cabinet-tab:hover { color: #fff; }
.cabinet-tab--active {
    background: rgba(191, 226, 38, 0.16);
    color: var(--lime);
}

.cabinet-tab__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.cabinet-panel { display: none; }
.cabinet-panel--active {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: cabinet-fade 0.35s ease;
}

@keyframes cabinet-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Orders --- */
.cabinet-orders__list { display: flex; flex-direction: column; gap: 12px; }

.cabinet-order { padding: 18px 20px; }
.cabinet-order__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cabinet-order__num {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}

.cabinet-order__date {
    display: block;
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.cabinet-order__status {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lime);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(191, 226, 38, 0.12);
    border: 1px solid rgba(191, 226, 38, 0.3);
}

.cabinet-order__status--done { color: #b6f8b1; background: rgba(150, 250, 130, 0.12); border-color: rgba(150, 250, 130, 0.3); }
.cabinet-order__status--cancelled { color: #f5a3a3; background: rgba(245, 80, 80, 0.12); border-color: rgba(245, 80, 80, 0.3); }

.cabinet-order__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.cabinet-order__items li {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 0.88rem;
}

.cabinet-order__items img {
    width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
}

.cabinet-order__item-name { color: #fff; }
.cabinet-order__item-qty { color: var(--text-muted); font-weight: 600; }

.cabinet-order__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: baseline;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.cabinet-order__discount {
    font-size: 0.82rem;
    color: var(--orange);
    font-weight: 600;
}

.cabinet-order__total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lime);
}

/* --- Empty / Guest --- */
.cabinet-empty,
.cabinet-guest {
    text-align: center;
    padding: 36px 24px;
}

.cabinet-empty__icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.cabinet-empty h3,
.cabinet-guest__title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
}

.cabinet-empty p,
.cabinet-guest__text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cabinet-guest .btn,
.cabinet-empty .btn { margin: 6px; }

/* --- Phone auth --- */
.cabinet-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.cabinet-auth__step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cabinet-auth__step--hidden { display: none; }

.cabinet-auth__status {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 1.2em;
}

.cabinet-auth__status[data-type="error"] { color: #ff8d6f; }
.cabinet-auth__status[data-type="success"] { color: var(--lime); }

.cabinet-auth__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 12px 0;
}

.cabinet-auth__divider::before,
.cabinet-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.cabinet-auth__platforms {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .cabinet-auth__platforms { grid-template-columns: 1fr 1fr; }
}

/* --- Forms --- */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: rgba(191, 226, 38, 0.55);
    background: rgba(191, 226, 38, 0.06);
}

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

/* --- Profile form --- */
.cabinet-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cabinet-form__title { font-size: 1rem; color: #fff; margin: 0; }

.cabinet-form__submit { align-self: flex-start; min-width: 160px; }

.cabinet-form__status {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 1em;
}

.cabinet-form__status[data-type="success"] { color: var(--lime); }
.cabinet-form__status[data-type="error"] { color: #ff8d6f; }

/* --- Connections --- */
.cabinet-connections__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
}

.cabinet-connections__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 0.88rem;
}

.cabinet-connections__on { color: var(--lime); font-weight: 600; }
.cabinet-connections__off { color: var(--text-dim); }
.cabinet-connections__note {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* --- Offers list --- */
.offers-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .offers-list { grid-template-columns: 1fr 1fr; }
}

.offer-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
}

.offer-card--used { opacity: 0.55; }
.offer-card--used::after {
    content: 'Использовано';
    position: absolute;
    top: 14px; right: 14px;
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--text-muted);
}

.offer-card__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(191, 226, 38, 0.14);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.offer-card__title {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 6px;
}

.offer-card__text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.offer-card__details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.offer-card__discount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--lime);
}

.offer-card__code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    font: 600 0.78rem var(--font);
    letter-spacing: 0.06em;
    cursor: pointer;
}

.offer-card__code:hover { color: var(--lime); border-color: rgba(191, 226, 38, 0.4); }

.offer-card__expires {
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* --- Cart sheet --- */
.cart-sheet {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    pointer-events: none;
}

.cart-sheet[aria-hidden="false"] { pointer-events: auto; }

.cart-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-sheet[aria-hidden="false"] .cart-sheet__backdrop { opacity: 1; }

.cart-sheet__panel {
    position: relative;
    margin-left: auto;
    width: min(440px, 100%);
    max-height: 100vh;
    background: rgba(10, 10, 10, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: -16px 0 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    padding-bottom: env(safe-area-inset-bottom);
}

.cart-sheet[aria-hidden="false"] .cart-sheet__panel { transform: translateX(0); }

.cart-sheet__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    padding-top: calc(18px + env(safe-area-inset-top));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-sheet__head h2 { font-size: 1.2rem; }

.cart-sheet__close {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-sheet__body {
    overflow-y: auto;
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.cart-item img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item__name { font-weight: 600; color: #fff; font-size: 0.9rem; }
.cart-item__price { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 4px 8px;
}

.cart-item__qty button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.cart-item__qty span { min-width: 18px; text-align: center; font-weight: 700; }

.cart-sheet__empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 12px;
}

.cart-sheet__empty div { font-size: 2.4rem; margin-bottom: 10px; }

.cart-offer-input {
    display: flex;
    gap: 8px;
}

.cart-offer-input input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font: inherit;
    text-transform: uppercase;
}

.cart-offer-input button {
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--lime);
    background: transparent;
    color: var(--lime);
    font-weight: 600;
    cursor: pointer;
}

.cart-offer-status {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    min-height: 1em;
}

.cart-offer-status[data-type="success"] { color: var(--lime); }
.cart-offer-status[data-type="error"] { color: #ff8d6f; }

.address-field__wrap {
    position: relative;
}

.address-field__hint {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.35;
}

.address-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    max-height: 240px;
    overflow-y: auto;
    background: #1a1f18;
    border: 1px solid rgba(198, 255, 0, 0.25);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.address-suggest__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.address-suggest__item:last-child {
    border-bottom: 0;
}

.address-suggest__item:hover,
.address-suggest__item--active {
    background: rgba(198, 255, 0, 0.08);
}

.address-suggest__title {
    display: block;
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.3;
}

.address-suggest__subtitle {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.address-suggest__kind {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.address-suggest__empty {
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 8px;
}

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

.delivery-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.delivery-option--active,
.delivery-option:has(input:checked) {
    border-color: rgba(198, 255, 0, 0.45);
    background: rgba(198, 255, 0, 0.06);
}

.delivery-option input {
    margin-top: 4px;
    accent-color: var(--lime);
}

.delivery-option__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.delivery-option__title {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.delivery-option__meta {
    color: var(--lime);
    font-size: 0.85rem;
}

.delivery-pvz-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.delivery-pvz-picker__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 2px;
}

.delivery-pvz-item {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.delivery-pvz-item:hover,
.delivery-pvz-item--active {
    border-color: rgba(198, 255, 0, 0.45);
    background: rgba(198, 255, 0, 0.06);
}

.delivery-pvz-item__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.delivery-pvz-item__name {
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.3;
}

.delivery-pvz-item__dist {
    flex-shrink: 0;
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 600;
}

.delivery-pvz-item__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(198, 255, 0, 0.14);
    color: var(--lime);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.delivery-pvz-item__address {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.35;
    word-break: break-word;
}

.delivery-pvz-item__time {
    display: block;
    margin-top: 4px;
    color: var(--text-dim);
    font-size: 0.72rem;
    line-height: 1.3;
}

.cart-summary {
    margin-top: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
}

.cart-summary > div { display: flex; justify-content: space-between; }
.cart-summary__total { padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, 0.1); font-size: 1.1rem; }
.cart-summary__total strong { color: var(--lime); }

.cart-checkout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-checkout__submit { margin-top: 6px; }

/* --- App offers rail (in shop) --- */
.app-offers { margin-bottom: 28px; }
.app-offers__rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.app-offer-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    text-align: left;
    padding: 14px 16px;
    background: linear-gradient(140deg, rgba(191, 226, 38, 0.15), rgba(234, 78, 39, 0.08));
    border: 1px solid rgba(191, 226, 38, 0.25);
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.app-offer-card:hover { transform: translateY(-2px); }

.app-offer-card__badge {
    align-self: flex-start;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lime);
}

.app-offer-card__title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }

.app-offer-card__code {
    font: 700 0.78rem var(--font);
    letter-spacing: 0.06em;
    color: var(--orange);
}

/* --- Toast --- */
.app-toast {
    position: fixed;
    left: 50%;
    bottom: calc(96px + env(safe-area-inset-bottom));
    transform: translate(-50%, 16px);
    z-index: 600;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.92rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.app-toast[data-type="error"] { border-color: rgba(255, 100, 80, 0.4); color: #ffb1a3; }
.app-toast[data-type="success"] { border-color: rgba(191, 226, 38, 0.5); color: var(--lime); }

/* --- Buttons (small additions for cabinet) --- */
.btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.product-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* --- PWA install prompt --- */
.pwa-install {
    position: fixed;
    bottom: calc(86px + env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    z-index: 300;
    display: none;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(191, 226, 38, 0.35);
    border-radius: 14px;
    align-items: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.pwa-install--show { display: flex; }

.pwa-install__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--lime);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.pwa-install__text {
    flex: 1;
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.3;
}

.pwa-install__text small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.pwa-install__btn {
    padding: 8px 14px;
    background: var(--lime);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.pwa-install__close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 6px;
}

/* --- Responsive --- */
@media (max-width: 520px) {
    .cart-sheet__panel { width: 100%; }
    .app-main { padding: 16px 12px 20px; }
    .glass-panel { padding: 16px; border-radius: 14px; }
    .cabinet-profile {
        grid-template-columns: 64px 1fr;
        gap: 12px 14px;
    }
    .cabinet-profile__avatar { width: 64px; height: 64px; font-size: 1.5rem; }
    .cabinet-profile__name { font-size: 1.15rem; }
    .cabinet-profile__stats { gap: 4px; }
    .cabinet-stat__num { font-size: 1.1rem; }
    .cabinet-stat__label { font-size: 0.58rem; }
    .cabinet-tab { font-size: 0.76rem; padding: 8px 10px; }
    .cabinet-guest,
    .cabinet-empty { padding: 28px 16px; }
    .cabinet-auth input { font-size: 16px; }
    .cabinet-order { padding: 14px 16px; }
    .cabinet-order__head { flex-direction: column; gap: 8px; }
}

@media (min-width: 769px) {
    .page-cabinet,
    .page-app {
        padding-bottom: 40px;
    }
    .app-tabbar { display: none; }
    .pwa-standalone .pwa-tabbar { display: flex; }
}

/* ===== PWA STANDALONE ===== */
html.pwa-standalone {
    height: -webkit-fill-available;
}

html.pwa-standalone body {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

.pwa-standalone .header {
    padding-top: env(safe-area-inset-top);
}

.pwa-standalone body.pwa-site {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.pwa-standalone .hero {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    padding-top: calc(72px + env(safe-area-inset-top));
    box-sizing: border-box;
}

.pwa-standalone .page-home .hero-video-bg {
    height: 100dvh;
    height: -webkit-fill-available;
}

.pwa-standalone .page-hero {
    padding-top: calc(150px + env(safe-area-inset-top));
}

.pwa-standalone .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.pwa-standalone .page-app,
.pwa-standalone .page-cabinet {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

.pwa-standalone .pwa-install {
    bottom: calc(96px + env(safe-area-inset-bottom));
}
