/* ============================================================
   Чистий Ставок — Опівнічна вода палітра
   Dark-mode + aqua-teal + amber accent
   ============================================================ */

:root {
    --primary:      #14B8A6;
    --primary-rgb:  20,184,166;
    --primary-dark: #0F9488;
    --secondary:    #0EA5E9;
    --bg:           #0B1620;
    --bg-deeper:    #08111A;
    --surface:      #122231;
    --surface-2:    #0F1C28;
    --surface-hit:  #14283A;
    --border:       #1F3447;
    --text-primary: #E8F4F8;
    --text-body:    #9FB4C2;
    --text-muted:   #6B8294;
    --accent:       #F59E0B;
    --accent-light: #FBBF24;
    --accent-dark:  #D97706;
    --success:      #34D399;
    --danger:       #F87171;
    --radius:       16px;
    --radius-lg:    24px;
    --container:    1200px;
}

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

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Typography === */
.section-h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.625rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 16px;
}
.section-sub {
    text-align: center;
    color: var(--text-body);
    font-size: 1.0625rem;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* === Bubbles signature === */
.bubbles {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.bubbles span {
    position: absolute;
    bottom: -30px;
    left: var(--l);
    width: var(--s);
    height: var(--s);
    background: rgba(var(--primary-rgb), 0.22);
    border: 1px solid rgba(232, 244, 248, 0.12);
    border-radius: 50%;
    animation: bubbleUp var(--d) linear var(--dl) infinite;
    opacity: 0;
    will-change: transform, opacity;
}
@keyframes bubbleUp {
    0%   { transform: translate(0, 0); opacity: 0; }
    10%  { opacity: 0.7; }
    50%  { transform: translate(8px, -50vh); }
    85%  { opacity: 0.5; }
    100% { transform: translate(-8px, -110vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bubbles { display: none; }
}
@media (max-width: 767px) {
    /* battery friendly — half the bubbles on mobile */
    .bubbles span:nth-child(n+9) { display: none; }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px;
    min-height: 56px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.btn-primary {
    color: #1A0F00;
    background: linear-gradient(110deg, var(--accent-dark) 0%, var(--accent-light) 50%, var(--accent-dark) 100%);
    background-size: 200% 100%;
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.55);
    animation: ctaSweep 4s linear infinite, ctaBreathe 2.6s ease-in-out infinite;
}
@keyframes ctaSweep {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes ctaBreathe {
    0%, 100% { transform: scale(1.0); box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.55); }
    50%      { transform: scale(1.025); box-shadow: 0 14px 38px -10px rgba(245, 158, 11, 0.7); }
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(var(--primary-rgb), 0.12); }
.btn-mini {
    padding: 10px 16px;
    min-height: 44px;
    font-size: 0.875rem;
    background: var(--accent);
    color: #1A0F00;
    box-shadow: 0 4px 14px -4px rgba(245, 158, 11, 0.5);
    animation: none;
}
.btn-hero {
    width: 100%;
    margin: 12px 0;
    font-size: 1.0625rem;
}
.btn-submit {
    width: 100%;
    margin-top: 12px;
    font-size: 1.0625rem;
}
@media (prefers-reduced-motion: reduce) {
    .btn-primary { animation: none; }
    .btn-primary:hover { transform: none; }
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 17, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.125rem;
}
.logo-text em { color: var(--primary); font-style: normal; }
.logo img { width: 28px; height: 28px; }
.header-trust { display: flex; align-items: center; gap: 12px; }
.badge-fish {
    display: none;
    padding: 6px 12px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
}
@media (min-width: 768px) {
    .badge-fish { display: inline-block; }
}

/* === HERO === */
.hero {
    position: relative;
    padding: 32px 0 56px;
    background: radial-gradient(ellipse at top, var(--surface) 0%, var(--bg) 60%);
    z-index: 2;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
.hero-h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(1.875rem, 6vw, 3.75rem);
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.55;
}
.hero-photo-mobile {
    margin: 16px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px -15px rgba(var(--primary-rgb), 0.4),
                0 0 0 1px rgba(var(--primary-rgb), 0.15);
    position: relative;
}
.hero-photo-mobile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(11, 22, 32, 0.35));
    pointer-events: none;
}
.hero-photo-mobile .hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.hero-photo-desktop { display: none; }
.hero-benefits {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}
.hero-benefits li::before {
    content: "";
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero-trust {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.hero-trust li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 22px;
    position: relative;
}
.hero-trust li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--success);
    font-weight: 700;
}

/* Timer */
.timer-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    margin: 4px 0 16px;
    flex-wrap: wrap;
}
.timer-label {
    color: var(--text-body);
    font-size: 0.875rem;
    font-weight: 500;
}
.timer {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: baseline;
}
.timer-base { color: var(--accent); }
#timer-ms {
    font-size: 0.875rem;
    opacity: 0.75;
    min-width: 2.5ch;
    display: inline-block;
}
.timer-inline {
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* === Sections shared === */
.section {
    position: relative;
    padding: clamp(56px, 9vw, 100px) 0;
    z-index: 2;
}

/* === PAIN === */
.pain {
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
}
.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;
}
.pain-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.25);
}
.pain-card p { font-size: 1rem; line-height: 1.45; }
.pain-bullet {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    position: relative;
    margin-top: 2px;
}
.pain-bullet::after {
    content: "!";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
}
.pain-photo {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.pain-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.88);
}
.pain-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent, rgba(11, 22, 32, 0.9));
    color: var(--text-body);
    font-size: 0.9375rem;
    text-align: center;
}

/* === SOLUTION === */
.solution {
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.solution-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
}
.sol-step {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px 24px;
    border-radius: var(--radius);
    position: relative;
}
.sol-num {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.sol-time {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 12px;
}
.sol-h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.sol-step p {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.solution-photo {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(var(--primary-rgb), 0.3);
}
.solution-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* === BENEFITS === */
.benefits { background: var(--bg); }
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.b-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.b-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -10px rgba(var(--primary-rgb), 0.3);
}
.b-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.b-card-body { padding: 20px; }
.b-card-body h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.b-card-body p {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* === BEFORE/AFTER — scroll-driven hero slider (C3) === */
.before-after { background: var(--bg); }
.ba-hero {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(var(--primary-rgb), 0.3),
                0 0 0 1px rgba(var(--primary-rgb), 0.15);
    aspect-ratio: 16 / 10;
    background: var(--surface);
}
.ba-hero-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ba-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-hero-before img { filter: saturate(0.7) brightness(0.82); }
.ba-hero-after {
    clip-path: inset(0 var(--reveal, 100%) 0 0);
    transition: clip-path 0.08s linear;
}
.ba-hero-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: calc(100% - var(--reveal, 100%));
    width: 2px;
    background: var(--primary);
    box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.75);
    pointer-events: none;
    z-index: 3;
    transform: translateX(-1px);
    transition: left 0.08s linear;
}
.ba-hero-divider::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25),
                0 6px 20px rgba(0,0,0,0.4);
}
.ba-hero-label {
    position: absolute;
    bottom: 14px;
    padding: 6px 12px;
    background: rgba(11, 22, 32, 0.85);
    border-radius: 8px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--text-primary);
    z-index: 2;
    backdrop-filter: blur(6px);
}
.ba-hero-label--before { left: 14px; }
.ba-hero-label--after  { right: 14px; background: rgba(var(--primary-rgb), 0.9); color: var(--bg); font-weight: 600; font-style: normal; }
@media (prefers-reduced-motion: reduce) {
    .ba-hero-after { clip-path: inset(0 50% 0 0); transition: none; }
    .ba-hero-divider { left: 50%; transition: none; }
}

.ba-pairs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ba-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.ba-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.ba-photo--before img { filter: saturate(0.75) brightness(0.85); }
.ba-photo--after::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.12), transparent 30%);
    pointer-events: none;
}
.ba-label {
    position: absolute;
    bottom: 10px; left: 10px;
    padding: 4px 10px;
    background: rgba(11, 22, 32, 0.85);
    color: var(--text-primary);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 0.8125rem;
    border-radius: 6px;
}
.ba-label--after {
    background: rgba(var(--primary-rgb), 0.85);
    color: var(--bg);
    font-weight: 600;
    font-style: normal;
}

/* === COMPARE TABLE === */
.compare { background: var(--surface-2); }
.compare-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    -webkit-overflow-scrolling: touch;
}
.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: var(--surface);
    font-size: 0.9375rem;
}
.compare-table th,
.compare-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-body);
}
.compare-table thead th {
    background: var(--primary);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.875rem;
}
.compare-table thead th.own {
    background: var(--primary-dark);
}
.compare-table td.own {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--text-primary);
    font-weight: 600;
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}
.compare-table tbody td:first-child {
    color: var(--text-primary);
    font-weight: 600;
}
.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    margin-right: 6px;
}
.ico-yes { background: var(--success); }
.ico-mid { background: var(--accent); }
.ico-no  { background: var(--danger); }

/* === HOWTO === */
.howto { background: var(--bg); }
.howto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.ht-step {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ht-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -10px rgba(var(--primary-rgb), 0.3);
}
.ht-step img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.ht-step-num {
    position: absolute;
    top: 12px; left: 12px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg);
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25);
}
.ht-step h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    padding: 18px 18px 6px;
}
.ht-step p {
    padding: 0 18px 18px;
    color: var(--text-body);
    font-size: 0.9375rem;
}
.howto-hint {
    text-align: center;
    padding: 16px 20px;
    background: rgba(var(--primary-rgb), 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    color: var(--text-body);
    font-size: 0.9375rem;
    max-width: 800px;
    margin: 0 auto;
}

/* === REVIEWS === */
.reviews { background: var(--surface-2); }
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.review {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}
.review::before {
    content: "\201C";
    position: absolute;
    top: 12px; right: 18px;
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.18;
    line-height: 1;
}
.review-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.review-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex: 0 0 56px;
}
.review-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}
.review-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.review-stars {
    color: var(--accent);
    font-size: 0.9375rem;
    letter-spacing: 1px;
}
.review-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--text-body);
    font-size: 1.0625rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* === BUNDLES === */
.bundles {
    background: var(--bg);
    background-image: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.06), transparent 60%);
}
.bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.bundle-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bundle-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--primary-rgb), 0.5);
}
.bundle-card.selected {
    border-color: var(--primary);
    box-shadow: 0 16px 40px -10px rgba(var(--primary-rgb), 0.4);
}
.bundle-card--hit {
    background: var(--surface-hit);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px -15px rgba(var(--primary-rgb), 0.45);
}
.bundle-flag {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent);
    color: #1A0F00;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 18px -4px rgba(245, 158, 11, 0.6);
}
.bundle-flag--max {
    background: var(--secondary);
    color: #fff;
}
.bundle-head { margin-bottom: 16px; }
.bundle-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.625rem;
    color: var(--text-primary);
}
.bundle-sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2px;
}
.bundle-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1rem;
}
.price-new {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.price-new small {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    margin-left: 4px;
}
.bundle-per {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 12px;
}
.bundle-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 12px;
    background: var(--danger);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 8px;
}
.bundle-desc {
    color: var(--text-body);
    font-size: 0.9375rem;
    margin-bottom: 18px;
    line-height: 1.5;
}
.bundle-btn { width: 100%; }

.orders-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 0.9375rem;
    flex-wrap: wrap;
    text-align: center;
}
.orders-counter strong {
    color: var(--accent);
    font-weight: 700;
    display: inline-block;
    transition: transform 0.35s ease, color 0.35s ease;
    will-change: transform;
}
.dot-live {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* === ORDER FORM === */
.order { background: var(--bg); }
.order-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
}
.order .section-h2,
.order .section-sub {
    text-align: center;
    margin-bottom: 8px;
}
.order .section-sub { margin-bottom: 24px; }

.form-bundles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px 0 22px;
}
.form-bundle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 6px 12px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 90px;
    justify-content: center;
}
.form-bundle input { position: absolute; opacity: 0; pointer-events: none; }
.form-bundle.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}
.fb-flag {
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    background: var(--accent);
    color: #1A0F00;
    font-weight: 700;
    font-size: 0.6875rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
}
.fb-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
}
.fb-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.form-field {
    margin-bottom: 16px;
}
.form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 6px;
}
.form-field input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 14px 16px;
    height: 56px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input::placeholder { color: var(--text-muted); }
.form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}
.form-field.error input {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15);
}

.form-trust {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-trust li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-left: 22px;
    position: relative;
}
.form-trust li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--success);
    font-weight: 700;
}

/* === FAQ === */
.faq { background: var(--bg); }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item[open] {
    border-color: rgba(var(--primary-rgb), 0.5);
    border-left: 3px solid var(--primary);
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    padding-right: 50px;
    font-size: 1rem;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: "×";
    transform: translateY(-50%) rotate(0deg);
}
.faq-item p {
    padding: 0 22px 20px;
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* === FOOTER === */
.site-footer {
    background: var(--bg-deeper);
    padding: 48px 0 24px;
    color: var(--text-body);
    font-size: 0.9375rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-col h4 {
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-body); }
.footer-col a:hover { color: var(--primary); }
.footer-logo {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* === STICKY CTA === */
.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(8, 17, 26, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}
.sticky-cta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sticky-timer {
    color: var(--accent);
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.0625rem;
    font-variant-numeric: tabular-nums;
}
.sticky-price {
    color: var(--text-body);
    font-size: 0.8125rem;
}
.sticky-btn {
    flex: 0 0 auto;
    padding: 12px 22px;
    min-height: 48px;
    font-size: 0.9375rem;
}

/* === Live toast === */
.toast-container {
    position: fixed;
    bottom: 90px; left: 14px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100vw - 28px);
    width: 280px;
}
.toast {
    background: var(--surface);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(var(--primary-rgb), 0.18);
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.4;
    transform: translateX(-110%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease;
}
.toast.show {
    transform: translateX(0);
    opacity: 1;
}
.toast small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .toast { transition: opacity 0.3s ease; transform: none; }
}

/* ============================================================
   RESPONSIVE — Tablet/Desktop
   ============================================================ */
@media (min-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pain-card--wide { grid-column: 1 / -1; }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ba-pairs {
        grid-template-columns: 1fr 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
    .howto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bundles-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .solution-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
    .sticky-cta { display: none !important; }
    .hero { padding: 60px 0 80px; }
    .hero-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 56px;
    }
    .hero-photo-mobile { display: none; }
    .hero-photo-desktop {
        display: block;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 30px 80px -20px rgba(var(--primary-rgb), 0.35),
                    0 0 0 1px rgba(var(--primary-rgb), 0.18);
        align-self: stretch;
    }
    .hero-photo-desktop .hero-img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pain-card--wide { grid-column: span 1; }
    .bundle-card--hit {
        transform: scale(1.04);
    }
    .bundle-card--hit:hover {
        transform: scale(1.04) translateY(-3px);
    }
}

/* ============================================================
   Animations — IntersectionObserver targets
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    .dot-live { animation: none; }
    .btn-primary { animation: none; }
    .pain-card { transition: none; }
    .b-card, .ht-step, .bundle-card { transition: none; }
}

/* ============== CALCULATOR (bulk-patch 2026-05-22) ============== */
.sotki-calc { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 20px 18px 24px; max-width: 720px; margin: 0 auto var(--space-7, 32px); }
@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-on-dark, #f4f7f2); }
.sotki-value { font-family: var(--font-display, inherit); font-weight: 800; color: var(--accent-soft, var(--accent, #f4a574)); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.sotki-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent, #d97746) 0%, var(--accent-deep, #b85a2e) 16%, rgba(255,255,255,0.18) 16%); outline: none; transition: background 350ms ease; cursor: pointer; touch-action: pan-y; }
.sotki-slider:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }
.sotki-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent, #d97746); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.45); cursor: pointer; transition: transform 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(--accent, #d97746); border: 3px solid #fff; cursor: pointer; }
@keyframes thumbPulse { 0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 0 0 rgba(255,255,255,0.45); } 50% { box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 0 10px rgba(255,255,255,0); } }
.sotki-marks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.78rem; color: rgba(244,247,242,0.55); 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-on-dark, #f4f7f2); line-height: 1.5; }
.sotki-recommend strong { color: var(--accent-soft, var(--accent, #f4a574)); font-family: var(--font-display, inherit); 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(--accent, #d97746); transform: scale(1); } 40% { box-shadow: 0 0 0 12px rgba(217,119,70,0); transform: scale(1.02); } 100% { box-shadow: 0 0 0 0 rgba(217,119,70,0); transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sotki-slider::-webkit-slider-thumb { animation: none; } .bundle-card.is-recommend-flash { animation: none; } }
/* ============== END CALCULATOR ============== */
