/* ============================================================
   Parazox — польський порошок проти паразитів свійської птиці
   Palette: saturated warm (wheat BG + rust terracotta + deep forest)
   Type:    Bitter (display/serif slab) + Manrope (body/grotesk)
   ============================================================ */

:root {
    /* BG family: saturated warm */
    --bg:           #F4E5C7;
    --surface:      #FFFAF0;
    --surface-alt:  #E8D4A8;

    /* Primary — rust terracotta */
    --primary:      #B8442A;
    --primary-rgb:  184, 68, 42;
    --primary-dark: #8E2F1C;

    /* Secondary — deep forest */
    --secondary:    #1F4A2E;
    --secondary-rgb: 31, 74, 46;

    /* Accent — warm ochre */
    --accent:       #D89028;
    --accent-rgb:   216, 144, 40;
    --accent-deep:  #B07418;
    --accent-soft:  #E8AC50;

    /* Text */
    --text-primary: #2A1810;
    --text-body:    #4A3528;
    --text-muted:   #7A6B5D;

    /* Status */
    --success:      #1F4A2E;
    --danger:       #B8442A;
    --warning:      #D89028;

    /* Spacing */
    --space-3: 8px;
    --space-4: 12px;
    --space-5: 16px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 48px;
    --space-9: 64px;

    /* Type */
    --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
    --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
}

/* ============== Reset / Base ============== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.08rem);
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg);
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) {
    body { padding-bottom: 0; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .container { padding: 0 24px; } }

/* ============== Reveal animations ============== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============== Typography ============== */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.section-h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-4);
    line-height: 1.18;
}
.section-h2 .h2-accent { color: var(--primary); }
.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto var(--space-7);
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.55;
}

/* ============== Buttons ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 16px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.01em;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

/* C3 breath + E2 sweep — combined у єдиний keyframe cta-life */
.btn-primary {
    color: #FFFAF0;
    background: linear-gradient(115deg,
        var(--primary-dark) 0%,
        var(--primary) 30%,
        var(--accent) 50%,
        var(--primary) 70%,
        var(--primary-dark) 100%);
    background-size: 300% 100%;
    background-position: 0% 50%;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.35);
    position: relative;
    animation: cta-life 4.6s ease-in-out infinite;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.5);
}
.btn-primary:active { transform: translateY(0) scale(1); }

@keyframes cta-life {
    0%   { transform: scale(1);     background-position: 0% 50%;
           box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.32); }
    50%  { transform: scale(1.025); background-position: 100% 50%;
           box-shadow: 0 14px 38px rgba(var(--primary-rgb), 0.46); }
    100% { transform: scale(1);     background-position: 0% 50%;
           box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.32); }
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    min-height: 48px;
    padding: 10px 22px;
    font-size: 16px;
}
.btn-outline:hover { background: var(--primary); color: #FFFAF0; transform: translateY(-1px); }

.btn-header {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 15px;
    background: var(--primary);
    color: #FFFAF0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 700;
}
.btn-header:hover { background: var(--primary-dark); color: #FFFAF0; }

.btn-cta-hero, .btn-cta-form { width: 100%; max-width: 460px; }

@media (prefers-reduced-motion: reduce) {
    .btn-primary {
        animation: none;
        background-position: 30% 50%;
    }
    .btn-primary:hover { transform: none; }
}

/* ============== Header ============== */
.site-header {
    background: rgba(255, 250, 240, 0.92);
    border-bottom: 1px solid var(--surface-alt);
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.logo-badge {
    display: inline-block;
    background: var(--secondary);
    color: #FFFAF0;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-pl { display: none; font-size: 13px; color: var(--text-muted); font-weight: 500; }
@media (min-width: 768px) { .header-pl { display: inline; } }

/* ============== Hero ============== */
.hero {
    background:
        radial-gradient(circle at 20% 30%, rgba(184, 68, 42, 0.05) 0, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(31, 74, 46, 0.05) 0, transparent 60%),
        linear-gradient(180deg, #F4E5C7 0%, #EFD9B0 100%);
    padding: 28px 0 48px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    /* subtle grain texture */
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.09  0 0 0 0 0.06  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.05'/></svg>");
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.4;
}
.hero-inner { position: relative; z-index: 1; }
.hero-h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.85rem, 5.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.h1-accent { color: var(--primary); }
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.18rem);
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 18px;
}
.sub-accent {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary);
}

/* SIGNATURE: Field Counter */
.field-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-alt);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.45;
    box-shadow: inset 0 1px 2px rgba(42, 24, 16, 0.04);
}
.field-counter strong {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2em;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    transition: color .25s ease, transform .25s ease;
    display: inline-block;
}
.field-counter strong.flash {
    color: var(--secondary);
    transform: translateY(-1px);
}
.fc-icon {
    width: 20px;
    height: 26px;
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.65;
}
@media (prefers-reduced-motion: reduce) {
    .field-counter strong.flash { transform: none; }
}

/* Hero photo */
.hero-photo {
    margin: 0 -16px 22px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
    position: relative;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
    .hero { padding: 56px 0 88px; }
    .hero-inner {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
        align-items: start;
    }
    .hero-text-block { order: 1; min-width: 0; }
    .hero-photo {
        order: 2;
        margin: 0;
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(42, 24, 16, 0.18);
        position: sticky;
        top: 88px;
        align-self: start;
        aspect-ratio: 4 / 5;
    }
}

/* Hero checks */
.hero-checks {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 0;
    line-height: 1.45;
}
.hero-checks li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background-color: var(--secondary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFAF0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    margin-top: 1px;
}

/* Timer */
.timer-wrap {
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.timer-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.timer {
    background: var(--secondary);
    color: #FFFAF0;
    padding: 14px 22px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    letter-spacing: 0.01em;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(var(--secondary-rgb), 0.18);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 2px;
    transition: background .15s, box-shadow .15s;
}
.timer.pulse {
    background: var(--primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18), 0 6px 22px rgba(var(--primary-rgb), 0.35);
}
.t-sep { opacity: 0.5; margin: 0 2px; }
.t-ms {
    font-size: 0.55em;
    opacity: 0.7;
    margin-left: 4px;
    font-weight: 700;
    min-width: 1.6em;
    text-align: left;
}

/* Trust block */
.trust-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-body);
    font-weight: 500;
    line-height: 1.4;
}
.trust-dot {
    flex-shrink: 0;
    width: 20px; height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    position: relative;
}
.trust-dot::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFAF0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* Order counter (A2 effect) */
.order-counter {
    background: var(--surface);
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    border: 1px dashed var(--surface-alt);
    font-weight: 500;
}
.order-counter strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.15em;
    font-variant-numeric: tabular-nums;
    transition: transform .25s ease;
    display: inline-block;
}
.order-counter strong.bump {
    transform: scale(1.12);
    color: var(--secondary);
}
@media (prefers-reduced-motion: reduce) {
    .order-counter strong.bump { transform: none; }
}

/* ============== Pain section ============== */
.pain-section { background: var(--surface-alt); padding: 64px 0; }
@media (min-width: 1024px) { .pain-section { padding: 100px 0; } }

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.pain-card {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(42, 24, 16, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(42, 24, 16, 0.12);
}
.pain-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 3px solid var(--surface-alt);
}
.pain-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.05rem, 2.5vw, 1.18rem);
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}
.pain-card p { font-size: 14px; color: var(--text-body); line-height: 1.55; }
.pain-card strong { font-family: var(--font-display); color: var(--primary); font-weight: 700; }

/* ============== Solution section ============== */
.solution-section { background: var(--bg); padding: 64px 0; }
@media (min-width: 1024px) { .solution-section { padding: 100px 0; } }

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 56px;
    align-items: stretch;
    margin: 56px 0 32px;
}
@media (min-width: 900px) {
    .solution-steps { flex-direction: row; align-items: stretch; gap: 16px; }
    .sol-step { flex: 1; }
}
.sol-step {
    background: var(--surface);
    padding: 28px 24px 24px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(42, 24, 16, 0.07);
    position: relative;
}
.sol-num {
    width: 56px; height: 56px;
    background: var(--secondary);
    color: #FFFAF0;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -56px auto 14px;
    box-shadow: 0 6px 18px rgba(var(--secondary-rgb), 0.32);
    border: 4px solid var(--bg);
}
.sol-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin: 12px 0;
}
.sol-step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.sol-step p { font-size: 14px; line-height: 1.55; }
.sol-step strong { font-family: var(--font-display); color: var(--primary); font-weight: 700; }
.sol-arrow {
    display: none;
    flex: 0 0 auto;
    align-self: center;
}
@media (min-width: 900px) {
    .sol-arrow {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--secondary);
        opacity: 0.35;
        position: relative;
    }
    .sol-arrow::before, .sol-arrow::after {
        content: '';
        position: absolute;
        right: -2px;
        width: 8px; height: 2px;
        background: var(--secondary);
    }
    .sol-arrow::before { transform: rotate(45deg); top: -2px; }
    .sol-arrow::after  { transform: rotate(-45deg); top: 2px; }
}

.callout-stripe {
    background: var(--secondary);
    color: #FFFAF0;
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center;
    padding: 24px 20px;
    border-radius: 8px;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(var(--secondary-rgb), 0.22);
}

/* ============== Features section ============== */
.features-section { background: var(--surface-alt); padding: 64px 0; }
@media (min-width: 1024px) { .features-section { padding: 100px 0; } }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.feature-card {
    background: var(--surface);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(42, 24, 16, 0.06);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(42, 24, 16, 0.14);
}
.feature-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}
.feature-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}
.feature-card p { font-size: 14px; line-height: 1.5; color: var(--text-body); }

/* ============== Before/After ============== */
.ba-section { background: var(--bg); padding: 64px 0; }
@media (min-width: 1024px) { .ba-section { padding: 100px 0; } }

.ba-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.ba-card {
    background: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(42, 24, 16, 0.08);
}
.ba-after { box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.18); }
.ba-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-card figcaption {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.5;
}
.ba-card figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 6px 0 8px;
    line-height: 1.1;
}
.ba-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFAF0;
    font-family: var(--font-body);
}
.ba-label-before { background: var(--text-muted); }
.ba-label-after { background: var(--primary); }
.ba-after figcaption strong { color: var(--primary); }

/* ============== Compare table ============== */
.compare-section { background: var(--surface-alt); padding: 64px 0; }
@media (min-width: 1024px) { .compare-section { padding: 100px 0; } }

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(42, 24, 16, 0.08);
    background: var(--surface);
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}
.compare-table thead th {
    background: var(--secondary);
    color: #FFFAF0;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 14px 12px;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
}
.compare-table thead th.th-highlight { background: var(--primary); }
.compare-table tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--surface-alt);
    color: var(--text-body);
    vertical-align: middle;
}
.compare-table tbody tr:nth-child(even) td { background: rgba(232, 212, 168, 0.18); }
.compare-table tbody td.cell-highlight {
    background: rgba(var(--primary-rgb), 0.08);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    color: var(--text-primary);
    font-weight: 600;
}
.compare-table tbody tr:last-child td.cell-highlight { border-bottom: 2px solid var(--primary); }
.compare-table tbody tr:first-child td.cell-highlight { border-top: 2px solid var(--primary); }
.compare-table strong { font-family: var(--font-display); color: var(--primary); }

.ic-yes, .ic-no, .ic-warn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
    color: #FFFAF0;
    vertical-align: middle;
}
.ic-yes { background: var(--secondary); }
.ic-no  { background: var(--primary); }
.ic-warn { background: var(--accent); color: var(--text-primary); }

.compare-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}
@media (min-width: 768px) { .compare-hint { display: none; } }

/* ============== Howto ============== */
.howto-section { background: var(--bg); padding: 64px 0; }
@media (min-width: 1024px) { .howto-section { padding: 100px 0; } }

.howto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 800px) { .howto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.howto-card {
    background: var(--surface);
    padding: 28px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(42, 24, 16, 0.07);
    position: relative;
}
.howto-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 72px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.howto-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}
.howto-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.howto-card p { font-size: 14px; line-height: 1.55; }

/* ============== Reviews ============== */
.reviews-section { background: var(--surface-alt); padding: 64px 0; }
@media (min-width: 1024px) { .reviews-section { padding: 100px 0; } }

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

.review-card {
    background: var(--surface);
    padding: 24px 24px 26px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(42, 24, 16, 0.07);
    position: relative;
}
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 6px; left: 16px;
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--primary);
    opacity: 0.16;
    line-height: 1;
    font-weight: 900;
}
.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--surface-alt);
}
.review-head strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.rev-loc { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; }
.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
    font-style: italic;
}

/* ============== Bundles ============== */
.bundles-section { background: var(--bg); padding: 64px 0; }
@media (min-width: 1024px) { .bundles-section { padding: 100px 0; } }

.bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
}
@media (min-width: 768px) {
    .bundles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }
}

.bundle-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(42, 24, 16, 0.09);
    position: relative;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}
.bundle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(42, 24, 16, 0.16);
}
.bundle-card.bundle-hit {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.22);
}
@media (min-width: 768px) {
    .bundle-card.bundle-hit { transform: scale(1.04); z-index: 2; }
    .bundle-card.bundle-hit:hover { transform: scale(1.04) translateY(-3px); }
}
.bundle-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bundle-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bundle-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.bundle-hint {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}
.bundle-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}
.price-new {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}
.bundle-per {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.bundle-btn { margin-top: auto; width: 100%; }
.bundle-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #FFFAF0;
    padding: 6px 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    z-index: 1;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.32);
}
.bundle-badge-best { background: var(--secondary); }

/* D3 stock_bar — на bundle-hit */
.stock-bar {
    margin-top: 14px;
}
.stock-bar-track {
    background: var(--surface-alt);
    border-radius: 999px;
    height: 8px;
    position: relative;
    overflow: hidden;
}
.stock-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, var(--accent-soft) 100%);
    background-size: 200% 100%;
    border-radius: 999px;
    transition: width .8s ease;
    animation: stock-shimmer 3.5s linear infinite;
    position: relative;
}
@keyframes stock-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.stock-bar-text {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.stock-bar-text strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
    .stock-bar-fill { animation: none; }
}

/* ============== Sotki calc (calculator) ============== */
.sotki-calc {
    background: var(--surface);
    border: 1px solid var(--surface-alt);
    border-radius: 14px;
    padding: 20px 18px 24px;
    max-width: 720px;
    margin: 0 auto var(--space-7);
    box-shadow: 0 6px 22px rgba(42, 24, 16, 0.08);
}
@media (min-width: 700px) { .sotki-calc { padding: 22px 26px 26px; } }

.sotki-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    gap: 16px;
    flex-wrap: wrap;
}
.sotki-label {
    font-weight: 600;
    font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
    color: var(--text-primary);
}
.sotki-value {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
}
.sotki-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        var(--primary) 0%,
        var(--accent-deep) 12%,
        rgba(232, 212, 168, 0.6) 12%);
    outline: none;
    transition: background 350ms ease;
    cursor: pointer;
    touch-action: pan-y;
}
.sotki-slider:focus-visible { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25); }
.sotki-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4), 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
    animation: thumbPulse 2.4s ease-in-out infinite;
}
.sotki-slider:active::-webkit-slider-thumb,
.sotki-slider.is-touched::-webkit-slider-thumb {
    animation: none;
    transform: scale(1.08);
}
.sotki-slider::-moz-range-thumb {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    cursor: pointer;
}
@keyframes thumbPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4), 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    50%      { box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4), 0 0 0 10px rgba(var(--primary-rgb), 0); }
}
.sotki-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.sotki-recommend {
    margin-top: 16px;
    font-size: clamp(0.96rem, 0.3vw + 0.92rem, 1.05rem);
    text-align: center;
    color: var(--text-body);
    line-height: 1.5;
}
.sotki-recommend strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    transition: color 350ms;
}
.bundle-card.is-recommend-flash { animation: bundleRecommendFlash 800ms ease-out; }
@keyframes bundleRecommendFlash {
    0%   { box-shadow: 0 0 0 0 var(--primary); }
    40%  { box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 6px 22px rgba(42, 24, 16, 0.09); }
}
@media (prefers-reduced-motion: reduce) {
    .sotki-slider::-webkit-slider-thumb { animation: none; }
    .bundle-card.is-recommend-flash { animation: none; }
}

/* ============== Form section ============== */
.form-section {
    background: var(--secondary);
    padding: 56px 0 64px;
    position: relative;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(216, 144, 40, 0.08) 0, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(184, 68, 42, 0.08) 0, transparent 50%);
}
@media (min-width: 1024px) { .form-section { padding: 88px 0 100px; } }

.form-box {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 14px;
    padding: 28px 24px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    position: relative;
}
@media (min-width: 768px) { .form-box { padding: 40px 36px 40px; } }

.timer-form { margin: 0 0 18px; }
.timer-form .timer { font-size: clamp(1.5rem, 4.5vw, 1.9rem); padding: 10px 18px; }

.form-h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
}
.form-sub {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.45;
}

.form-bundles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}
.form-bundle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid var(--surface-alt);
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    text-align: center;
    background: var(--surface);
}
.form-bundle input { position: absolute; opacity: 0; pointer-events: none; }
.form-bundle:has(input:checked) {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.18);
}
.form-bundle:has(input:checked) .fb-price { color: var(--primary); }
.fb-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}
.fb-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    color: var(--text-body);
    margin-top: 4px;
    line-height: 1;
}
.fb-badge {
    position: absolute;
    top: -8px; right: -4px;
    background: var(--primary);
    color: #FFFAF0;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}
.fb-badge-best { background: var(--secondary); }

.form-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.ff-row { display: flex; flex-direction: column; gap: 6px; }
.ff-label { font-size: 13px; font-weight: 600; color: var(--text-body); }
.ff-row input {
    min-height: 56px;
    padding: 14px 16px;
    border: 2px solid var(--surface-alt);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s, transform .15s;
    width: 100%;
}
.ff-row input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-1px);
}
.ff-row input.error { border-color: var(--danger); }

.trust-form { margin-top: 18px; }

/* ============== FAQ ============== */
.faq-section { background: var(--surface-alt); padding: 64px 0; }
@media (min-width: 1024px) { .faq-section { padding: 100px 0; } }

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border-radius: 8px;
    padding: 18px 22px;
    box-shadow: 0 2px 10px rgba(42, 24, 16, 0.05);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--surface-alt);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    transition: transform .25s, background .25s, color .25s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--primary);
    color: #FFFAF0;
}
.faq-item p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
}

/* ============== Footer ============== */
.site-footer {
    background: var(--text-primary);
    color: rgba(255, 250, 240, 0.7);
    padding: 48px 0 24px;
    font-size: 14px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col strong {
    font-family: var(--font-display);
    color: #FFFAF0;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 700;
}
.footer-col a { color: rgba(255, 250, 240, 0.7); transition: color .2s; }
.footer-col a:hover { color: #FFFAF0; }
.footer-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.footer-text {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 250, 240, 0.55);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 250, 240, 0.1);
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255, 250, 240, 0.5);
    text-align: center;
}

/* ============== Sticky CTA ============== */
.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--surface);
    border-top: 1px solid var(--surface-alt);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -6px 22px rgba(42, 24, 16, 0.14);
}
.sc-left { display: flex; flex-direction: column; line-height: 1.1; }
.sc-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--primary);
}
.sc-new {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 20px;
    color: var(--primary);
}
.sc-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 15px;
    flex-shrink: 0;
}
@media (min-width: 1024px) { .sticky-cta { display: none !important; } }

/* ============== Toast (C1_live_toast) ============== */
.toast-stack {
    position: fixed;
    bottom: 90px; left: 16px;
    z-index: 85;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}
@media (min-width: 1024px) {
    .toast-stack { bottom: 24px; left: 24px; max-width: 360px; }
}
.toast {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(42, 24, 16, 0.18);
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease-out, transform .35s ease-out;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
}
.toast small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============== Reduced motion umbrella ============== */
@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;
    }
}
