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

/* === Палитра из лого (logo-derived, warm) === */
:root {
    /* Бренд */
    --green-dark: #2E7D1F;
    --green: #4CAF35;
    --green-light: #C8E63E;
    --yellow: #F4E842;
    --red: #D32F2F;
    --red-dark: #B71C1C;

    /* Нейтралы (cream warm) */
    --cream: #FDFBF4;
    --cream-deep: #F6F2E5;
    --ink: #1F2A1A;
    --ink-soft: #4A5240;
    --line: #E8EDE3;
    --line-strong: #D4DBC9;
    --muted: #8A9180;

    /* Системные */
    --white: #FFFFFF;

    /* Warm-tinted shadows (под cream, без AI-glow) */
    --shadow-sm: 0 1px 2px rgba(74, 82, 64, 0.06);
    --shadow-md: 0 4px 12px rgba(74, 82, 64, 0.08), 0 1px 2px rgba(74, 82, 64, 0.04);
    --shadow-lg: 0 18px 48px -12px rgba(74, 82, 64, 0.16), 0 6px 16px -8px rgba(74, 82, 64, 0.08);
    /* CTA shadow — без glow, тёплая, спокойная */
    --shadow-cta: 0 8px 24px -4px rgba(46, 125, 31, 0.22), 0 2px 6px rgba(46, 125, 31, 0.10);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-pill: 999px;

    /* Apple-style cubic-bezier */
    --t-fast: 0.18s cubic-bezier(0.32, 0.72, 0, 1);
    --t: 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    --t-slow: 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

/* === Base === */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    font-feature-settings: "kern", "liga", "calt";
    /* Variable axis weight default */
    font-weight: 400;
}

/* Subtle grain overlay на cream surfaces (P2.5) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.32 0 0 0 0 0.25 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

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

button {
    font: inherit;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--green-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

/* === Контейнер === */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* === Eyebrow (utility, P2.2) === */
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1;
}

/* === Шапка === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 251, 244, 0.86);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(74, 82, 64, 0.06);
    transition: height var(--t), box-shadow var(--t), background var(--t);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
    transition: height var(--t);
}

/* P3.4 — scroll-aware shrink */
.header.scrolled .header-inner {
    height: 56px;
}

.header.scrolled {
    box-shadow: 0 1px 0 rgba(74, 82, 64, 0.10), 0 8px 24px -16px rgba(74, 82, 64, 0.10);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: width var(--t), height var(--t);
}

.header.scrolled .logo-img {
    width: 34px;
    height: 34px;
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--green-dark);
}

.logo-text small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    margin-top: 1px;
}

.header-phone {
    font-weight: 600;
    font-size: 14px;
    color: var(--green-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: rgba(76, 175, 53, 0.08);
    transition: background var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
}

.header-phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header-phone:hover {
    background: rgba(76, 175, 53, 0.14);
    transform: translateY(-1px);
}

.header-phone:active {
    transform: translateY(0) scale(0.98);
}

/* === Hero (asymmetric Editorial Split) === */
.hero {
    position: relative;
    background: var(--cream);
    padding: 36px 0 56px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-content {
    text-align: left;
    order: 2;
}

.hero-eyebrow {
    margin-bottom: 16px;
    color: var(--green-dark);
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-1px);
    animation: pulse-soft 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.hero-media {
    order: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-title {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.035em;
    color: var(--ink);
    text-wrap: balance;
}

.hero-title-lead {
    font-weight: 500;
    display: block;
}

.hero-title .accent {
    color: var(--green-dark);
    display: block;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: clamp(15px, 3.6vw, 17px);
    color: var(--ink-soft);
    margin: 0 0 32px;
    max-width: 480px;
    line-height: 1.55;
    font-weight: 400;
    text-wrap: pretty;
}

.hero-cta {
    display: inline-flex;
}

/* === Кнопки === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
    line-height: 1;
    font-family: inherit;
}

/* P0.4 — pill button with nested arrow-in-circle (button-in-button) */
.btn-pill {
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow-cta);
    letter-spacing: 0.005em;
    font-weight: 600;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.btn-pill .btn-pill-label {
    line-height: 1;
}

.btn-pill .btn-pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t), background var(--t);
}

.btn-pill .btn-pill-icon svg {
    width: 16px;
    height: 16px;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(46, 125, 31, 0.32), 0 4px 10px rgba(46, 125, 31, 0.14);
    background: #266519;
}

.btn-pill:hover .btn-pill-icon {
    transform: translate(3px, -1px) scale(1.05);
}

.btn-pill:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-cta);
}

.btn-pill-compact {
    padding: 6px 6px 6px 18px;
    font-size: 14px;
    gap: 10px;
}

.btn-pill-compact .btn-pill-icon {
    width: 32px;
    height: 32px;
}

.btn-pill-compact .btn-pill-icon svg {
    width: 14px;
    height: 14px;
}

/* Legacy primary (used inside form) — same pill DNA */
.btn-primary {
    background: var(--green-dark);
    color: var(--white);
    box-shadow: var(--shadow-cta);
    border-radius: var(--radius-pill);
    padding: 16px 28px;
    letter-spacing: 0.005em;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #266519;
    box-shadow: 0 14px 36px -8px rgba(46, 125, 31, 0.32), 0 4px 10px rgba(46, 125, 31, 0.14);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    padding: 12px 18px;
    font-weight: 500;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
}

.btn-ghost:hover {
    color: var(--ink);
    background: var(--cream-deep);
    border-color: var(--muted);
}

.btn-full {
    width: 100%;
}

/* === Trust bar (inline divider list, P1.1) === */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.trust-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    padding: 10px 0;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--green-dark);
    stroke-width: 1.5;
}

.trust-item:nth-child(odd) {
    padding-right: 14px;
}

.trust-item:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

/* === Квиз === */
.quiz-section {
    padding: 40px 0 56px;
    background: var(--cream);
    position: relative;
}

.quiz-box {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 28px 20px;
    border: 1px solid var(--line);
    position: relative;
    /* Doppelrand inner highlight */
}

.quiz-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

/* P1.5 — mono счётчик слева */
.progress-counter {
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.progress-counter-sep {
    color: var(--muted);
    margin: 0 2px;
    font-weight: 400;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--green-dark);
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    width: 20%;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}

/* Шаги */
.quiz-step {
    display: none;
    animation: stepIn 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

.quiz-step.active {
    display: block;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.quiz-title {
    font-size: clamp(22px, 5.4vw, 28px);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
    text-align: left;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.quiz-subtitle {
    font-size: 14px;
    color: var(--ink-soft);
    text-align: left;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Сетка */
.quiz-grid {
    display: grid;
    gap: 12px;
}

.size-grid {
    grid-template-columns: repeat(2, 1fr);
}

.two-col {
    grid-template-columns: 1fr;
}

.gifts-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
}

/* Карточка */
.quiz-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 14px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
    text-align: center;
    min-height: 72px;
    position: relative;
}

.quiz-card:hover {
    border-color: var(--green);
    background: rgba(200, 230, 62, 0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quiz-card:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

/* Selected — solid border + inset highlight, без gradient (P2.1) */
.quiz-card:has(input:checked) {
    border-color: var(--green-dark);
    background: var(--white);
    box-shadow:
        inset 0 0 0 1px var(--green-dark),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        var(--shadow-md);
    transform: translateY(-1px);
}

.quiz-card:has(input:checked)::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--green-dark);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.quiz-card.wide {
    grid-column: 1 / -1;
}

.quiz-card.large {
    padding: 24px 18px;
    min-height: 110px;
}

/* P1.6 — highlight (popular sizes) */
.quiz-card.highlight {
    border-color: var(--green-light);
    background: rgba(200, 230, 62, 0.04);
}

.quiz-card.highlight .card-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: rgba(200, 230, 62, 0.32);
    padding: 3px 7px;
    border-radius: var(--radius-pill);
    line-height: 1;
}

.quiz-card.highlight:has(input:checked) .card-tag {
    background: var(--green-light);
}

/* Свой размер — dashed border */
.quiz-card.custom {
    border-style: dashed;
    border-color: var(--line-strong);
    color: var(--ink-soft);
    background: transparent;
}

.quiz-card.custom:hover {
    border-style: dashed;
    border-color: var(--green-dark);
    color: var(--ink);
}

.card-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.2;
}

.card-desc {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 400;
    line-height: 1.4;
}

.gift-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-deep);
    border-radius: 12px;
    margin-bottom: 2px;
    color: var(--green-dark);
    transition: background var(--t-fast), transform var(--t-fast);
}

.quiz-card.gift {
    padding: 22px 12px 18px;
    min-height: 120px;
}

.quiz-card.gift .card-label {
    font-size: 14px;
}

.quiz-card.gift:hover .gift-icon {
    background: rgba(200, 230, 62, 0.18);
    transform: scale(1.04);
}

/* Формы */
.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    outline: none;
}

.input:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(46, 125, 31, 0.12);
}

.input::placeholder {
    color: var(--muted);
}

.input.optional {
    background: var(--cream);
}

.consent {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

.consent a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Навигация */
.quiz-nav {
    margin-top: 22px;
    display: flex;
    justify-content: flex-start;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* === Каталог моделей (asymmetric bento, P1.2) === */
.models {
    padding: 64px 0 72px;
    background: var(--cream);
    position: relative;
}

.models-eyebrow {
    color: var(--green-dark);
    margin-bottom: 14px;
}

.models-title {
    font-size: clamp(28px, 5.5vw, 42px);
    font-weight: 700;
    text-align: left;
    color: var(--ink);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1.05;
    text-wrap: balance;
}

.models-subtitle {
    text-align: left;
    color: var(--ink-soft);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.5;
    text-wrap: pretty;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.model-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative;
}

/* Magnetic hover (P2.3) */
.model-card:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-strong);
}

.model-card:active {
    transform: translateY(-1px) scale(0.998);
    transition-duration: 0.1s;
}

/* Hero "Стандарт" — popular ring */
.model-card.model-hero {
    border-color: var(--green-dark);
    box-shadow:
        0 0 0 1px var(--green-dark),
        var(--shadow-md);
}

.model-card.model-hero:hover {
    box-shadow:
        0 0 0 1px var(--green-dark),
        var(--shadow-lg);
}

.model-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--green-dark);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    line-height: 1;
}

.model-photo {
    aspect-ratio: 4 / 3;
    background: var(--cream-deep);
    overflow: hidden;
}

.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.model-card:hover .model-photo img {
    transform: scale(1.08);
}

.model-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.model-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0;
}

.model-card.model-hero .model-name {
    color: var(--green-dark);
    font-size: 20px;
}

.model-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.model-specs li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.45;
    font-weight: 400;
}

/* P3.1 — custom SVG checkmark */
.model-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D1F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Ghost CTA (для не-hero карточек, P1.3) */
.model-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 14px;
    transition: color var(--t-fast), gap var(--t-fast);
}

.model-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-fast);
}

.model-link:hover {
    color: #266519;
    gap: 12px;
}

.model-link:hover svg {
    transform: translateX(2px);
}

.model-cta {
    margin-top: auto;
    align-self: flex-start;
}

/* === Гарантии (inline divider list, P1.4) === */
.guarantees {
    padding: 48px 0 56px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.guarantees-eyebrow {
    color: var(--green-dark);
    margin-bottom: 14px;
}

.guarantees-title {
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 700;
    text-align: left;
    color: var(--ink);
    margin-bottom: 32px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

.guarantees-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
}

.guarantee-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.guarantee-row:last-child {
    border-bottom: 1px solid var(--line);
}

.guarantee-term {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}

.guarantee-term svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--green-dark);
    stroke-width: 1.5;
}

.guarantee-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 0 36px;
    font-weight: 400;
}

/* === Promo (rhythm break — solid green-dark, P0.5) === */
.promo-section {
    padding: 56px 0 64px;
    background: var(--cream);
}

.promo-box {
    background: var(--green-dark);
    color: var(--cream);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Doppelrand inner highlight */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        var(--shadow-lg);
}

.promo-eyebrow {
    color: var(--green-light);
    margin-bottom: 14px;
}

.promo-title {
    font-size: clamp(26px, 6vw, 38px);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-wrap: balance;
}

.promo-list {
    font-size: clamp(15px, 3.5vw, 18px);
    color: var(--cream);
    font-weight: 500;
    margin: 0 auto 16px;
    max-width: 640px;
    line-height: 1.6;
    letter-spacing: -0.005em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.promo-list span[aria-hidden="true"] {
    color: var(--green-light);
    opacity: 0.6;
}

.promo-note {
    font-size: 13px;
    color: rgba(232, 237, 227, 0.7);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.005em;
}

/* === Footer (P3.3 — 2-row simplified) === */
.footer {
    background: var(--ink);
    color: rgba(232, 237, 227, 0.7);
    padding: 48px 0 24px;
    position: relative;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(232, 237, 227, 0.08);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(232, 237, 227, 0.55);
    font-weight: 400;
    letter-spacing: 0.005em;
}

.footer-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color var(--t-fast);
    align-self: flex-start;
    letter-spacing: -0.005em;
}

.footer-phone:hover {
    color: var(--green-light);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.footer-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(232, 237, 227, 0.7);
    line-height: 1.5;
}

.footer-addresses span[aria-hidden="true"] {
    opacity: 0.4;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    font-size: 13px;
    color: rgba(232, 237, 227, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(232, 237, 227, 0.25);
    transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.footer-link:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(232, 237, 227, 0.08);
    text-align: left;
    font-size: 12px;
    color: rgba(232, 237, 227, 0.45);
    letter-spacing: 0.01em;
}

/* === Responsive === */
@media (min-width: 480px) {
    .container {
        padding: 0 24px;
    }

    .quiz-box {
        padding: 32px 28px;
    }

    .size-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-text {
        font-size: 17px;
    }

    .header-phone {
        font-size: 15px;
        padding: 9px 16px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        padding: 80px 0 96px;
    }

    .hero .container {
        max-width: 1080px;
    }

    /* P0.4 — Asymmetric Editorial Split (60/40 + overlap) */
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
        align-items: center;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-media {
        order: 2;
        margin-left: -1.5rem;
        transform: rotate(0.8deg);
        transform-origin: center;
    }

    .hero-image {
        aspect-ratio: 4 / 5;
        max-height: 560px;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .quiz-box {
        padding: 48px 44px;
    }

    .size-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Trust bar: 4-col но с inline dividers */
    .trust-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .trust-item:nth-child(odd),
    .trust-item:nth-child(even) {
        padding: 4px 18px;
        border-left: 1px solid var(--line);
    }

    .trust-item:first-child {
        border-left: none;
        padding-left: 0;
    }

    .trust-item:last-child {
        padding-right: 0;
    }

    .gifts-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-card.large {
        padding: 32px 22px;
    }

    /* P1.4 — guarantees 3-col без визуальных карт, только padding/dividers */
    .guarantees-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .guarantee-row {
        border-top: none;
        border-bottom: none;
        padding: 28px 24px;
        border-left: 1px solid var(--line);
    }

    .guarantee-row:first-child {
        border-left: none;
        padding-left: 0;
    }

    .guarantee-row:last-child {
        border-bottom: none;
        padding-right: 0;
    }

    /* Models — bento на md (2fr + 1fr stacked) */
    .models-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(0, auto);
        gap: 20px;
    }

    .model-card.model-hero {
        grid-column: 1 / -1;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }

    .footer-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .promo-box {
        padding: 56px 40px;
    }
}

@media (min-width: 1024px) {
    /* Унифицировано на 1080px (диктует header — лого и телефон). */
    .container {
        max-width: 1080px;
    }

    /* Намеренно узкий — только quiz */
    .quiz-section .container {
        max-width: 880px;
    }

    .hero {
        padding: 96px 0 112px;
    }

    .hero-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 64px;
    }

    .hero-image {
        max-height: 600px;
    }

    /* Models bento full: row 1 = hero (60%) + 2 stacked (40%) ; row 2 = 3 равных */
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: dense;
        gap: 24px;
    }

    .model-card.model-hero {
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
    }

    .model-card.model-hero .model-photo {
        aspect-ratio: 16 / 10;
    }

    .model-card.model-hero .model-body {
        padding: 28px 32px;
        gap: 14px;
    }
}

/* === Видео сборки === */
.video-showcase {
    padding: 56px 0 64px;
    background: var(--cream);
    position: relative;
}

.video-header {
    text-align: left;
    margin-bottom: 28px;
    max-width: 720px;
}

.video-eyebrow {
    color: var(--green-dark);
    margin-bottom: 14px;
}

.video-title {
    font-size: clamp(24px, 4.5vw, 36px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-align: left;
    margin: 0 0 12px;
    text-wrap: balance;
}

.video-subtitle {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    max-width: 520px;
    margin: 0;
    font-weight: 400;
    text-wrap: pretty;
}

/* Doppelrand на video frame (P2.1) */
.video-frame {
    max-width: 1080px;
    margin: 0 auto;
    padding: 6px;
    background: var(--cream-deep);
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        var(--shadow-lg);
}

.video-frame-inner {
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ink);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.video-frame-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* === Lazy poster + play button === */
.video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--ink);
    color: inherit;
    cursor: pointer;
    display: block;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}

.video-poster-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1), filter 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.video-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(31, 42, 26, 0) 0%, rgba(31, 42, 26, 0.35) 70%, rgba(31, 42, 26, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 18px 48px rgba(31, 42, 26, 0.35),
        0 4px 12px rgba(31, 42, 26, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    z-index: 2;
    transition:
        transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
        box-shadow 0.32s cubic-bezier(0.32, 0.72, 0, 1),
        background 0.25s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.video-play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.video-play-btn::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1), transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.video-poster-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 6px);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(31, 42, 26, 0.5);
}

.video-poster:hover .video-poster-art,
.video-poster:focus-visible .video-poster-art {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.video-poster:hover .video-play-btn,
.video-poster:focus-visible .video-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow:
        0 24px 60px rgba(31, 42, 26, 0.45),
        0 6px 16px rgba(31, 42, 26, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    background: var(--white);
}

.video-poster:hover .video-play-btn::after,
.video-poster:focus-visible .video-play-btn::after {
    opacity: 1;
    transform: scale(1);
}

.video-poster:hover .video-poster-hint,
.video-poster:focus-visible .video-poster-hint {
    opacity: 1;
    transform: translate(-50%, 0);
}

.video-poster:active .video-play-btn {
    transform: translate(-50%, -50%) scale(1.02);
    transition-duration: 0.1s;
}

.video-poster:focus {
    outline: none;
}

.video-poster:focus-visible {
    outline: 3px solid var(--green-light);
    outline-offset: -3px;
}

@media (min-width: 768px) {
    .video-showcase {
        padding: 88px 0 96px;
    }

    .video-header {
        margin-bottom: 36px;
    }

    .video-frame {
        padding: 8px;
        border-radius: 26px;
    }

    .video-frame-inner {
        border-radius: 18px;
    }

    .video-play-btn {
        width: 80px;
        height: 80px;
    }

    .video-play-btn svg {
        width: 32px;
        height: 32px;
        margin-left: 4px;
    }

    .video-poster-hint {
        font-size: 14px;
        bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-poster-art,
    .video-play-btn,
    .video-play-btn::after,
    .video-poster-hint,
    .video-poster::before {
        transition: none !important;
    }

    .video-poster:hover .video-poster-art,
    .video-poster:focus-visible .video-poster-art {
        transform: none;
    }
}

/* === Reveal — staggered cascade (P2.4) === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
    transition:
        opacity 0.7s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.7s cubic-bezier(0.32, 0.72, 0, 1),
        filter 0.7s cubic-bezier(0.32, 0.72, 0, 1);
    transition-delay: calc(var(--index, 0) * 80ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* === A11y === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@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;
    }

    .hero-media {
        transform: none !important;
    }

    .reveal {
        transform: none !important;
        filter: none !important;
    }
}
