/* ============================================================
   ZIVEL — Editorial eco-premium landing
============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
input, textarea, button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tokens ---------- */
:root {
    --green: #8BC53F;
    --green-bright: #A6D85F;
    --green-deep: #0F4A2A;
    --green-darker: #082C1A;
    --green-leaf: #4F8C2A;

    --cream: #FAF7EE;
    --bone: #F1ECDD;
    --paper: #FFFFFE;
    --ink: #161E15;
    --ink-soft: #3A4A38;
    --ink-muted: #6B7568;
    --line: rgba(15, 74, 42, 0.12);
    --line-strong: rgba(15, 74, 42, 0.22);

    --font-display: 'Unbounded', sans-serif;
    --font-edit: 'Bricolage Grotesque', serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --fs-mega: clamp(3.5rem, 13vw, 11rem);
    --fs-hero: clamp(2.5rem, 7vw, 5.5rem);
    --fs-h1:   clamp(2.2rem, 5vw, 4rem);
    --fs-h2:   clamp(1.6rem, 3vw, 2.4rem);
    --fs-h3:   clamp(1.15rem, 1.5vw, 1.35rem);
    --fs-body: clamp(0.95rem, 1.05vw, 1.05rem);
    --fs-small: 0.82rem;

    --max-w: 1320px;
    --gutter: clamp(20px, 4vw, 56px);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.25s;
    --t-base: 0.45s;
    --t-slow: 0.8s;
}

/* ---------- Body ---------- */
body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.005em;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.045;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--green-leaf);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--green-bright); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--green-deep);
    --fg: var(--cream);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    padding: 18px 32px;
    background: var(--bg); color: var(--fg);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600; font-size: 0.92rem;
    letter-spacing: 0.01em;
    transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.btn::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--green);
    transform: translateY(101%);
    transition: transform var(--t-base) var(--ease);
    z-index: -1;
    border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--green-darker); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
    --bg: transparent;
    --fg: var(--ink);
    border: 1.5px solid var(--line-strong);
}
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); border-color: var(--ink); }

.btn--full { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.btn__arrow { display: inline-flex; transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background var(--t-base) var(--ease), border-color var(--t-base);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(250, 247, 238, 0.78);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom-color: var(--line);
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 78px; gap: 16px;
}

.logo {
    display: inline-flex; align-items: center;
    line-height: 1;
}
.logo__img {
    height: 38px; width: auto; display: block;
    transition: transform var(--t-fast) var(--ease);
}
.logo:hover .logo__img { transform: scale(1.04); }
.logo--footer { background: var(--cream); padding: 22px 28px; border-radius: 16px; }
.logo--footer .logo__img { height: 70px; }

/* Header tools cluster: nav + lang + cart */
.header__tools { display: flex; align-items: center; gap: 18px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
    font-size: 0.86rem; font-weight: 500;
    color: var(--ink-soft);
    position: relative; padding: 6px 0;
    transition: color var(--t-fast);
}
.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px; background: var(--green-deep);
    transition: width var(--t-base) var(--ease);
}
.nav__link:hover { color: var(--green-deep); }
.nav__link:hover::after { width: 100%; }

/* Language switcher */
.lang {
    display: inline-flex; align-items: center;
    background: rgba(15, 74, 42, 0.06);
    border-radius: 999px;
    padding: 3px;
    font-family: var(--font-display);
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.02em;
}
.lang__btn {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: color var(--t-fast), background var(--t-fast);
    text-transform: uppercase;
}
.lang__btn:hover { color: var(--green-deep); }
.lang__btn.is-active {
    background: var(--green-deep);
    color: var(--cream);
}

/* Cart icon button */
.cart-trigger {
    position: relative;
    width: 42px; height: 42px;
    display: inline-grid; place-items: center;
    color: var(--green-deep);
    background: rgba(15, 74, 42, 0.06);
    border-radius: 50%;
    transition: background var(--t-fast), transform var(--t-fast);
}
.cart-trigger:hover { background: var(--green-deep); color: var(--cream); transform: translateY(-1px); }
.cart-trigger svg { width: 20px; height: 20px; }
.cart-trigger__badge {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--green);
    color: var(--green-darker);
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 600;
    display: grid; place-items: center;
    border: 2px solid var(--cream);
    transform: scale(0);
    transition: transform var(--t-fast) var(--ease);
}
.cart-trigger.has-items .cart-trigger__badge { transform: scale(1); }
.cart-trigger.bump { animation: pop 0.4s var(--ease); }

/* Burger */
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 1.5px; background: var(--green-deep); border-radius: 2px; transition: var(--t-fast); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 80px;
    overflow: hidden;
    background: var(--cream);
    isolation: isolate;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: end;
    min-height: calc(100vh - 210px);
}
.hero__left { position: relative; z-index: 2; }

.hero__eyebrow {
    margin-bottom: 32px;
    opacity: 0; transform: translateY(20px);
    animation: rise 0.9s var(--ease-out) 0.1s forwards;
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 36px;
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: baseline; }
.hero__title .word > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise-word 1s var(--ease-out) forwards;
}
.hero__title .word:nth-child(1) > span { animation-delay: 0.2s; }
.hero__title .word:nth-child(2) > span { animation-delay: 0.3s; }
.hero__title .word:nth-child(3) > span { animation-delay: 0.4s; }
.hero__title .word:nth-child(4) > span { animation-delay: 0.5s; }
.hero__title .word:nth-child(5) > span { animation-delay: 0.6s; }
.hero__title .word:nth-child(6) > span { animation-delay: 0.7s; }

.hero__title em {
    font-family: var(--font-edit);
    font-style: italic;
    font-weight: 400;
    color: var(--green-leaf);
}

.hero__desc {
    max-width: 480px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 44px;
    opacity: 0; transform: translateY(20px);
    animation: rise 0.9s var(--ease-out) 0.85s forwards;
}

.hero__actions {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
    opacity: 0; transform: translateY(20px);
    animation: rise 0.9s var(--ease-out) 1s forwards;
}

.hero__visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 220px 220px 24px 24px;
    overflow: hidden;
    box-shadow:
        0 30px 80px -30px rgba(15, 74, 42, 0.5),
        0 10px 30px -15px rgba(15, 74, 42, 0.25);
    opacity: 0; transform: translateY(40px) scale(0.96);
    animation: rise-scale 1.2s var(--ease-out) 0.5s forwards;
}
.hero__visual-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.2s var(--ease);
    will-change: transform;
}
.hero__visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 74, 42, 0.4) 100%);
}

.hero__badge {
    position: absolute;
    bottom: 28px; left: 28px;
    z-index: 3;
    background: rgba(250, 247, 238, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-radius: 999px;
    display: flex; align-items: center; gap: 12px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--green-deep);
}
.hero__badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Marquee */
.hero__marquee {
    margin-top: 100px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fade 0.8s var(--ease) 1.4s forwards;
}
.hero__marquee-track { display: flex; gap: 60px; animation: marquee 32s linear infinite; width: max-content; }
.hero__marquee-item {
    display: inline-flex; align-items: center; gap: 16px;
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.hero__marquee-item .leaf { color: var(--green); display: inline-flex; }

/* Bamboo decorations с поддержкой mouse-parallax через CSS-переменные */
.bamboo-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    will-change: transform;
    transform:
        translate3d(var(--mx, 0px), var(--my, 0px), 0)
        rotate(var(--rot, 0deg))
        translateY(var(--sway, 0px));
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bamboo-leaf--1 { top: 10%;  right: 44%; width: 90px;  --rot: -15deg; }
.bamboo-leaf--2 { bottom: 14%; left: -2%; width: 130px; --rot: 175deg; opacity: 0.5; }
.bamboo-leaf--3 { top: 28%;  right: 1%;  width: 70px;  --rot: 30deg;  opacity: 0.7; }
.bamboo-leaf--4 { top: 60%;  left: 38%;  width: 56px;  --rot: 110deg; opacity: 0.35; }
.bamboo-leaf--5 { top: 14%;  left: -4%;  width: 75px;  --rot: -50deg; opacity: 0.4; }

/* Sway-анимация через отдельный wrapper-эффект */
.bamboo-leaf--1 { animation: sway-a 9s ease-in-out infinite; }
.bamboo-leaf--2 { animation: sway-b 11s ease-in-out infinite; }
.bamboo-leaf--3 { animation: sway-a 7s ease-in-out infinite; animation-delay: -2s; }
.bamboo-leaf--4 { animation: sway-b 13s ease-in-out infinite; animation-delay: -4s; }
.bamboo-leaf--5 { animation: sway-a 10s ease-in-out infinite; animation-delay: -1s; }

/* Слой scroll-parallax (через --scroll переменную) — дополнительный transform на wrapper */
.bamboo-layer { position: absolute; inset: 0; pointer-events: none; }
.bamboo-layer--front { transform: translate3d(0, calc(var(--scroll, 0) * -0.15px), 0); }
.bamboo-layer--mid   { transform: translate3d(0, calc(var(--scroll, 0) * -0.08px), 0); }
.bamboo-layer--back  { transform: translate3d(0, calc(var(--scroll, 0) * -0.03px), 0); }

/* ---------- ABOUT ---------- */
.about { padding: 140px 0; position: relative; background: var(--cream); }
.about__head {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 90px;
}
.about__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--ink);
}
.about__title em { font-family: var(--font-edit); font-style: italic; font-weight: 400; color: var(--green-leaf); }

.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.about__card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 42px 38px;
    transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base);
    position: relative;
    overflow: hidden;
}
.about__card:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: 0 20px 50px -25px rgba(15, 74, 42, 0.25); }
.about__card--hero {
    grid-column: span 7;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-darker) 100%);
    color: var(--cream);
    border-color: transparent;
    padding: 56px 48px;
    min-height: 360px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.about__card--hero::before {
    content: ''; position: absolute;
    top: -40%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139, 197, 63, 0.18), transparent 60%);
}
.about__card--med { grid-column: span 5; }
.about__card--small { grid-column: span 4; }
.about__card-num {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 500;
    color: var(--green); letter-spacing: 0.05em;
    margin-bottom: 16px; display: block;
}
.about__card-title {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 500;
    line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.about__card--hero .about__card-title { font-size: 2.4rem; max-width: 480px; margin-bottom: 20px; }
.about__card-text { color: var(--ink-soft); line-height: 1.65; font-size: 0.97rem; }
.about__card--hero .about__card-text { color: rgba(250, 247, 238, 0.78); }
.about__card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--bone);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--green-deep);
}
.about__card--hero .about__card-icon { background: rgba(139, 197, 63, 0.15); color: var(--green); }

/* ---------- BENEFITS — переработано: чистый hover без layout-shift ---------- */
.benefits {
    padding: 140px 0;
    background: var(--green-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.benefits::before {
    content: ''; position: absolute;
    bottom: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(139,197,63,0.18), transparent 65%);
    pointer-events: none;
}
.benefits__head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: end;
    margin-bottom: 80px;
}
.benefits__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--cream);
}
.benefits__title em {
    font-family: var(--font-edit);
    font-style: italic; color: var(--green); font-weight: 400;
}
.benefits__lead {
    color: rgba(250, 247, 238, 0.7);
    font-size: 1.02rem;
    max-width: 420px;
    line-height: 1.65;
}

/* Сетка преимуществ */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(250, 247, 238, 0.14);
    border-bottom: 1px solid rgba(250, 247, 238, 0.14);
}
.benefit {
    --line-w: 0%;
    position: relative;
    padding: 56px 30px 56px 30px;
    border-right: 1px solid rgba(250, 247, 238, 0.1);
    overflow: hidden;
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.benefit:last-child { border-right: none; }
.benefit.is-visible { opacity: 1; transform: translateY(0); }

/* Эффект на hover: верхняя зелёная линия + лёгкий tint фона + glow на иконке. БЕЗ сдвига контента. */
.benefit::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    height: 2px; width: 0;
    background: var(--green);
    transition: width 0.55s var(--ease);
    z-index: 2;
}
.benefit::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(139, 197, 63, 0.07), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.benefit:hover::before { width: 100%; }
.benefit:hover::after  { opacity: 1; }
.benefit:hover .benefit__icon-wrap { box-shadow: 0 0 0 6px rgba(139, 197, 63, 0.12); transform: scale(1.05); }
.benefit:hover .benefit__icon { color: var(--green-bright); }
.benefit:hover .benefit__num { color: var(--cream); }

.benefit__num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--green);
    margin-bottom: 28px;
    display: block;
    letter-spacing: 0.06em;
    transition: color var(--t-base);
}

.benefit__icon-wrap {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: rgba(139, 197, 63, 0.08);
    display: grid; place-items: center;
    margin-bottom: 32px;
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.benefit__icon {
    width: 30px; height: 30px;
    color: var(--green);
    transition: color var(--t-base);
}
.benefit__icon svg { width: 100%; height: 100%; }

.benefit__title {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 500;
    line-height: 1.18; letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--cream);
}
.benefit__desc {
    color: rgba(250, 247, 238, 0.6);
    font-size: 0.94rem; line-height: 1.6;
}

/* Stats row */
.benefits__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 100px;
}
.stat { border-left: 2px solid var(--green); padding: 6px 0 6px 28px; }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1; letter-spacing: -0.03em;
    color: var(--cream);
    display: block;
    margin-bottom: 8px;
}
.stat__label { font-size: 0.85rem; color: rgba(250, 247, 238, 0.65); line-height: 1.5; }

/* ---------- PRODUCTS ---------- */
.products { padding: 140px 0; background: var(--cream); position: relative; }
.products__head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: end;
    margin-bottom: 80px;
}
.products__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--ink);
}
.products__title em { font-family: var(--font-edit); font-style: italic; color: var(--green-leaf); font-weight: 400; }
.products__lead { color: var(--ink-soft); max-width: 380px; line-height: 1.65; }

.products__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.product {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 32px;
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.product:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15, 74, 42, 0.25); }
.product.is-active { border-color: var(--green); box-shadow: 0 0 0 4px rgba(139, 197, 63, 0.15), 0 30px 60px -30px rgba(15, 74, 42, 0.3); }

.product__media {
    position: relative;
    aspect-ratio: 5/4;
    background: linear-gradient(160deg, #EFF6E0 0%, #F5F1E0 60%, #EAE5D5 100%);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product__media::before {
    content: ''; position: absolute;
    width: 70%; height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 197, 63, 0.18), transparent 70%);
    z-index: 0;
}
.product__img {
    position: relative; z-index: 1;
    max-height: 78%; max-width: 78%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 74, 42, 0.25));
    transition: transform 0.7s var(--ease);
    will-change: transform;
}
.product:hover .product__img { transform: scale(1.05) rotate(-1.5deg); }

.product__badge {
    position: absolute;
    top: 22px; left: 22px;
    z-index: 2;
    background: var(--green-deep);
    color: var(--green);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.product__badge--accent { background: var(--green); color: var(--green-darker); }

.product__body { padding: 36px 36px 36px; }
.product__cat {
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--green-leaf); margin-bottom: 14px;
    display: block;
}
.product__title {
    font-family: var(--font-display);
    font-size: 1.65rem; font-weight: 500;
    line-height: 1.1; letter-spacing: -0.02em;
    color: var(--ink); margin-bottom: 22px;
}
.product__features { display: grid; gap: 10px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.product__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.product__features li::before {
    content: '';
    width: 16px; height: 16px;
    flex: none;
    margin-top: 4px;
    background: var(--green);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

.product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.product__price-label { font-size: 0.74rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.product__price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.product__price-value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.product__price-curr { font-size: 0.82rem; color: var(--ink-muted); font-weight: 500; }

.qty {
    display: inline-flex; align-items: center;
    background: var(--bone);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    flex: none;
}
.qty__btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--green-deep);
    font-size: 1.15rem; font-weight: 500;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
    border: 1px solid var(--line);
    flex: none;
}
.qty__btn:hover { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }
.qty__btn:active { transform: scale(0.92); }
.qty__btn[data-action="minus"]:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.qty__value {
    min-width: 42px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 500; font-size: 1rem;
    color: var(--ink);
    transition: transform 0.25s var(--ease);
}
.qty__value.bump { transform: scale(1.25); }

/* ---------- CART MODAL (центральная) ---------- */
.cart-modal {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.cart-modal.is-open { opacity: 1; visibility: visible; }
.cart-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 44, 26, 0.55);
    backdrop-filter: blur(8px);
}
.cart-modal__card {
    position: relative;
    background: var(--cream);
    border-radius: 28px;
    width: min(560px, 92vw);
    max-height: 86vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(8, 44, 26, 0.4);
    transform: translateY(20px) scale(0.96);
    transition: transform var(--t-base) var(--ease);
}
.cart-modal.is-open .cart-modal__card { transform: translateY(0) scale(1); }

.cart-modal__head {
    padding: 26px 32px 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.cart-modal__title {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 500;
    color: var(--ink); letter-spacing: -0.01em;
}
.cart-modal__close {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--ink-soft);
    transition: background var(--t-fast), color var(--t-fast);
}
.cart-modal__close:hover { background: var(--bone); color: var(--green-deep); }

.cart-modal__body { flex: 1; overflow-y: auto; padding: 18px 32px; min-height: 120px; }
.cart-modal__empty { text-align: center; padding: 50px 20px; color: var(--ink-muted); font-size: 0.95rem; }
.cart-modal__empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }

.cart-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--line);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__media {
    aspect-ratio: 1;
    border-radius: 16px;
    background: linear-gradient(160deg, #EFF6E0, #EAE5D5);
    display: grid; place-items: center;
    overflow: hidden;
}
.cart-item__media img { width: 78%; height: 78%; object-fit: contain; }
.cart-item__name { font-family: var(--font-display); font-size: 0.98rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; line-height: 1.25; }
.cart-item__price { font-size: 0.84rem; color: var(--ink-muted); margin-bottom: 10px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item__sub { font-family: var(--font-display); font-weight: 600; color: var(--green-deep); font-size: 1rem; }

.cart-modal__foot { padding: 20px 32px 26px; border-top: 1px solid var(--line); background: var(--paper); }
.cart-modal__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-modal__total-label { font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.cart-modal__total-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.cart-modal__cta { width: 100%; }

/* ---------- ORDER ---------- */
.order {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-darker) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.order::before {
    content: ''; position: absolute;
    top: -20%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,197,63,0.15), transparent 65%);
    pointer-events: none;
}
.order__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.order__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--cream);
    margin-bottom: 24px; margin-top: 16px;
}
.order__title em { font-family: var(--font-edit); font-style: italic; color: var(--green); font-weight: 400; }
.order__lead { color: rgba(250, 247, 238, 0.72); font-size: 1.02rem; line-height: 1.65; max-width: 460px; margin-bottom: 36px; }

.order__summary {
    background: rgba(250, 247, 238, 0.06);
    border: 1px solid rgba(250, 247, 238, 0.1);
    border-radius: 22px;
    padding: 28px;
    backdrop-filter: blur(10px);
}
.order__summary-head {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.78rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 247, 238, 0.55);
    margin-bottom: 18px;
}
.order__summary-empty { color: rgba(250, 247, 238, 0.5); font-size: 0.92rem; line-height: 1.6; }
.order__summary-empty a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.order__summary-list { display: flex; flex-direction: column; gap: 4px; }
.order__summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(250, 247, 238, 0.12);
    color: var(--cream);
    font-size: 0.94rem;
}
.order__summary-row:last-child { border-bottom: none; }
.order__summary-row .qty-tag { color: var(--green); margin-left: 8px; font-family: var(--font-display); font-size: 0.85rem; }
.order__summary-row .price-tag { font-family: var(--font-display); font-weight: 500; }
.order__summary-total {
    display: none; justify-content: space-between; align-items: baseline;
    margin-top: 16px; padding-top: 18px;
    border-top: 1.5px solid var(--green);
    font-family: var(--font-display);
}
.order__summary-total.show { display: flex; }
.order__summary-total span { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 247, 238, 0.6); }
.order__summary-total strong { font-size: 1.6rem; font-weight: 500; color: var(--green); letter-spacing: -0.01em; }

.order__form {
    background: rgba(250, 247, 238, 0.04);
    border: 1px solid rgba(250, 247, 238, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 44px;
}
.field { margin-bottom: 22px; }
.field__label {
    display: block;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(250, 247, 238, 0.6);
    margin-bottom: 10px;
}
.field__label .opt { color: rgba(250, 247, 238, 0.35); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field__input, .field__textarea {
    width: 100%;
    background: rgba(250, 247, 238, 0.05);
    border: 1.5px solid rgba(250, 247, 238, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--cream);
    font-size: 1rem;
    transition: border-color var(--t-fast), background var(--t-fast);
    outline: none;
    font-family: var(--font-body);
}
.field__input::placeholder, .field__textarea::placeholder { color: rgba(250, 247, 238, 0.3); }
.field__input:focus, .field__textarea:focus { border-color: var(--green); background: rgba(250, 247, 238, 0.08); }
.field__input.invalid, .field__textarea.invalid { border-color: #FF6E6E; }
.field__textarea { resize: vertical; min-height: 100px; }
.field__error { display: block; font-size: 0.78rem; color: #FF8B8B; min-height: 16px; margin-top: 6px; }
.field__legal { font-size: 0.78rem; color: rgba(250, 247, 238, 0.45); margin-top: 18px; line-height: 1.5; }

.submit-btn {
    --bg: var(--green);
    --fg: var(--green-darker);
    width: 100%; justify-content: center;
    padding: 20px 32px;
    font-size: 1rem;
}
.submit-btn::before { background: var(--cream); }
.submit-btn:hover { color: var(--green-darker); }
.submit-btn .btn__loader { display: none; }
.submit-btn.is-loading .btn__text { display: none; }
.submit-btn.is-loading .btn__loader { display: inline-flex; }
.submit-btn .btn__loader svg { animation: spin 0.9s linear infinite; }

/* ---------- CONTACTS + MAP ---------- */
.contacts {
    padding: 140px 0;
    background: var(--cream);
    position: relative;
}
.contacts__head {
    display: grid; grid-template-columns: 0.5fr 1.5fr;
    gap: 60px; align-items: end;
    margin-bottom: 70px;
}
.contacts__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--ink);
}
.contacts__title em {
    font-family: var(--font-edit);
    font-style: italic; font-weight: 400; color: var(--green-leaf);
}

.contacts__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}

.contacts__info {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px 36px;
    display: flex; flex-direction: column; gap: 24px;
}
.contacts__row { padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.contacts__row:last-of-type { border-bottom: none; padding-bottom: 0; }
.contacts__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.74rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--green-leaf);
    margin-bottom: 10px;
}
.contacts__value {
    font-size: 1rem; line-height: 1.6;
    color: var(--ink);
}
.contacts__value a { transition: color var(--t-fast); }
.contacts__value a:hover { color: var(--green-leaf); }
.contacts__route { align-self: flex-start; margin-top: auto; }

.contacts__map {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 460px;
    box-shadow: 0 20px 50px -25px rgba(15, 74, 42, 0.25);
    position: relative;
}
.contacts__map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: block;
    /* Лёгкая стилизация — приглушаем синие/жёлтые тона карты, оставляя натуральный вид */
    filter: saturate(0.85) contrast(0.96);
}

/* ---------- MODAL ---------- */
.modal {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 44, 26, 0.72); backdrop-filter: blur(8px); }
.modal__card {
    position: relative;
    background: var(--cream);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
    max-width: 460px; width: 90%;
    transform: translateY(20px) scale(0.96);
    transition: transform var(--t-base) var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--green);
    display: grid; place-items: center;
    color: var(--green-darker);
    animation: pop 0.5s var(--ease) 0.2s backwards;
}
.modal__title {
    font-family: var(--font-display);
    font-size: 1.7rem; font-weight: 500;
    color: var(--green-deep);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.modal__desc { color: var(--ink-soft); line-height: 1.6; margin-bottom: 28px; }
.modal__close {
    background: var(--green-deep); color: var(--cream);
    padding: 14px 28px; border-radius: 999px;
    font-weight: 600; font-size: 0.9rem;
    transition: background var(--t-fast);
}
.modal__close:hover { background: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { background: var(--green-darker); color: var(--cream); padding: 90px 0 32px; }
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 247, 238, 0.12);
}
.footer__brand .logo { color: var(--cream); }
.footer__brand .logo .accent { color: var(--green); }
.footer__brand .logo__sprout path { fill: var(--green); }
.footer__brand .logo__sprout path:first-child { fill: var(--cream); }
.footer__tagline { color: rgba(250, 247, 238, 0.55); margin-top: 18px; max-width: 320px; line-height: 1.6; font-size: 0.94rem; }

.footer__col h5 {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--green);
    margin-bottom: 18px;
}
.footer__col a, .footer__col p {
    display: block;
    color: rgba(250, 247, 238, 0.7);
    padding: 5px 0;
    font-size: 0.94rem;
    transition: color var(--t-fast), transform var(--t-fast);
}
.footer__col a:hover { color: var(--green); transform: translateX(4px); }

.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    padding-top: 28px;
    color: rgba(250, 247, 238, 0.4);
    font-size: 0.82rem;
}
.footer__big-mark {
    margin-top: 60px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 18vw, 18rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.85;
    color: rgba(139, 197, 63, 0.07);
    text-align: center;
    user-select: none;
    pointer-events: none;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ---------- Animations ---------- */
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes rise-scale { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes rise-word { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139, 197, 63, 0.7); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(139, 197, 63, 0); }
}
@keyframes sway-a {
    0%, 100% { transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(var(--rot, 0deg)) translateY(0); }
    50%      { transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(calc(var(--rot, 0deg) + 6deg)) translateY(-12px); }
}
@keyframes sway-b {
    0%, 100% { transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(var(--rot, 0deg)) translateY(0); }
    50%      { transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(calc(var(--rot, 0deg) - 5deg)) translateY(10px); }
}
@keyframes pop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .about__grid { grid-template-columns: repeat(6, 1fr); }
    .about__card--hero { grid-column: span 6; }
    .about__card--med { grid-column: span 6; }
    .about__card--small { grid-column: span 3; }

    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .benefit { border-bottom: 1px solid rgba(250, 247, 238, 0.1); }
    .benefit:nth-child(2) { border-right: none; }
    .benefit:nth-child(3), .benefit:nth-child(4) { border-bottom: none; }

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

@media (max-width: 880px) {
    .nav {
        position: fixed; top: 78px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 24px var(--gutter);
        background: rgba(250, 247, 238, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        transition: transform var(--t-base) var(--ease);
        z-index: 99;
    }
    .nav.is-open { transform: translateY(0); }
    .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .burger { display: inline-flex; }

    .hero { padding: 110px 0 60px; }
    .hero__grid { grid-template-columns: 1fr; gap: 50px; min-height: auto; }
    .hero__visual { aspect-ratio: 5/4; border-radius: 32px; max-height: 460px; }
    .hero__marquee { margin-top: 60px; }
    .bamboo-leaf--1, .bamboo-leaf--4 { display: none; }

    .about { padding: 90px 0; }
    .about__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
    .about__card--hero { padding: 38px 28px; min-height: 280px; }
    .about__card { padding: 32px 28px; }

    .benefits { padding: 90px 0; }
    .benefits__head { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .benefits__grid { grid-template-columns: 1fr; }
    .benefit { padding: 40px 24px; border-right: none; border-bottom: 1px solid rgba(250, 247, 238, 0.1); }
    .benefit:last-child { border-bottom: none; }
    .benefits__stats { grid-template-columns: 1fr; gap: 24px; margin-top: 60px; }

    .products { padding: 90px 0; }
    .products__head { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .products__grid { grid-template-columns: 1fr; gap: 24px; }
    .product__body { padding: 28px 24px; }

    .order { padding: 90px 0; }
    .order__wrap { grid-template-columns: 1fr; gap: 40px; }
    .order__form { padding: 32px 24px; }

    .contacts { padding: 90px 0; }
    .contacts__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
    .contacts__grid { grid-template-columns: 1fr; gap: 18px; }
    .contacts__info { padding: 30px 24px; }
    .contacts__map, .contacts__map iframe { min-height: 320px; }

    .cart-modal__head { padding: 22px 22px 14px; }
    .cart-modal__body { padding: 14px 22px; }
    .cart-modal__foot { padding: 18px 22px 22px; }

    .footer { padding: 70px 0 24px; }
    .footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .lang { display: none; }
}

@media (max-width: 480px) {
    .hero__title { font-size: clamp(2rem, 12vw, 3.4rem); }
    .modal__card { padding: 40px 28px; }
    .product__features li { font-size: 0.88rem; }
}
