/* =====================================================
   concrete-business — style.css  (redesign 2026-05-18 v2)
   Unified dark-hero + white-body palette (Avektra-style).
   Manrope + JetBrains Mono. Single file, mobile-first.
   ===================================================== */

/* === CSS Variables === */
:root {
    /* === BODY PALETTE (unified white — replaces cream) === */
    --body-bg:         #FFFFFF;
    --body-alt:        #F5F6F8;
    --body-deep:       #E8EAEE;

    /* Ink */
    --ink:             #1A1D24;
    --ink-light:       #4B5563;
    --ink-mute:        #8B92A0;

    /* Yellow accents — KEEP */
    --accent:          #F2C744;
    --accent-deep:     #D4A017;
    --accent-pale:     #FDF2BD;

    /* Icon circle */
    --icon-bg:         #F0F2F5;
    --icon-bg-hover:   #FDF2BD;
    --icon-stroke:     #2C3340;

    /* Cards */
    --card-bg:         #FFFFFF;
    --card-border:     #E8EAEE;
    --card-shadow:     0 2px 12px rgba(26, 29, 36, 0.06);
    --card-shadow-hover: 0 8px 24px rgba(26, 29, 36, 0.12);

    /* Functional */
    --success:         #15803D;
    --danger:          #B91C1C;

    /* Legacy aliases (keep for quiz/admin/thanks compatibility) */
    --bg-cream:        #FFFFFF;
    --bg-cream-deep:   #F5F6F8;
    --bg-paper:        #FFFFFF;
    --warm:            #D4A017;
    --warm-deep:       #92400E;
    --concrete:        #6B6963;
    --concrete-light:  #D1D5DB;

    /* Typography */
    --font-display:    'Manrope', sans-serif;
    --font-body:       'Manrope', sans-serif;
    --font-mono:       'JetBrains Mono', monospace;

    /* Sizing */
    --radius-pill:     999px;
    --radius-card:     12px;
    --radius-sm:       6px;
    --shadow-card:     var(--card-shadow);
    --shadow-cta:      0 6px 18px rgba(242, 199, 68, 0.35);
    --shadow-lift:     var(--card-shadow-hover);

    /* Size scale */
    --size-1: 4px;
    --size-2: 8px;
    --size-3: 16px;
    --size-4: 24px;
    --size-5: 32px;
    --size-6: 48px;
    --size-7: 64px;
    --size-8: 96px;

    --container-max: 1200px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--body-bg);
}

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

ul, ol {
    margin: 0;
    padding: 0;
}

/* === Typography === */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 var(--size-3);
    color: var(--ink);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

p {
    margin: 0 0 var(--size-3);
}

a {
    color: var(--warm);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === Layout === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--size-3);
}

section {
    padding: var(--size-7) 0;
}

.section__lead {
    font-size: 1.0625rem;
    color: var(--ink-light);
    margin-bottom: var(--size-5);
    max-width: 680px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--size-2);
    padding: 14px var(--size-4);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.18s ease;
    text-align: center;
    line-height: 1.3;
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
    box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    text-decoration: none;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 199, 68, 0.45);
}

.btn--secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--concrete-light);
}

.btn--secondary:hover {
    border-color: var(--ink);
    background: rgba(31, 41, 55, 0.04);
    text-decoration: none;
    color: var(--ink);
}

.btn--cta {
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: var(--shadow-cta);
}

.btn--cta:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 199, 68, 0.45);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn--ghost {
    background: transparent;
    color: var(--ink-light);
    border: 1.5px solid var(--concrete-light);
    padding: var(--size-2) var(--size-3);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    color: var(--ink);
    border-color: var(--concrete);
    outline: none;
}

.btn--back {
    display: inline-flex;
    align-items: center;
    gap: var(--size-1);
}

/* === Geotag pill === */
.geotag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-pale);
    color: var(--warm-deep);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--size-3);
    text-transform: uppercase;
}

/* === Hero — SPLIT LAYOUT (redesign 2026-05-18) === */
.hero {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Blueprint grid overlay — subtle technical feel */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 105, 99, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 105, 99, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Split grid */
.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: minmax(420px, 0.9fr) 1.1fr;
        min-height: 88vh;
    }
}

/* Left column — cream text area */
.hero__left {
    padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(242, 199, 68, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
        var(--bg-cream);
    position: relative;
    z-index: 1;
}

/* Right column — full-bleed photo */
.hero__right {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .hero__right {
        order: -1;
        min-height: 260px;
        max-height: 420px;
    }
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Photo stamp — last object */
.hero__photo-stamp {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(31, 41, 55, 0.82);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    border-left: 3px solid var(--accent);
}

.stamp-label {
    display: block;
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.stamp-data {
    display: block;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Brand logo */
.hero__brand {
    margin-bottom: 20px;
}

.hero__brand img {
    display: block;
}

/* Title — in left col */
.hero__title {
    color: var(--ink);
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 12px 0 10px;
}

.hero__title-accent {
    display: inline;
    color: var(--ink);
    background: linear-gradient(180deg, transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%);
    padding: 0 0.06em;
}

/* Subtitle */
.hero__subtitle {
    font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
    color: var(--ink-light);
    margin-bottom: 20px;
    max-width: 520px;
    font-weight: 400;
    line-height: 1.55;
}

.hero__subtitle strong {
    color: var(--ink);
    font-weight: 700;
}

/* Benefits list */
.hero__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hero__benefits li {
    font-size: 0.875rem;
    color: var(--ink-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.ic-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-deep);
    stroke: var(--accent-deep);
    margin-top: 2px;
}

/* CTA buttons */
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: var(--size-2);
}

@media (min-width: 480px) {
    .hero__cta {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

/* Trust strip — below grid */
.hero__trust-strip {
    background: var(--bg-cream-deep);
    border-top: 1px solid var(--concrete-light);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.hero__trust-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

@media (min-width: 640px) {
    .hero__trust-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item__num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.trust-item__label {
    font-size: 0.75rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* === Quiz CTA === */
.quiz-cta {
    background: var(--bg-cream-deep);
}

.quiz-cta__card {
    background: var(--bg-paper);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--size-7) var(--size-6);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quiz-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-pale);
    border-radius: var(--radius-card);
    margin: 0 auto var(--size-4);
    color: var(--warm);
}

.quiz-cta__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--warm);
    stroke-width: 1.75;
    fill: none;
}

.quiz-cta h2 {
    margin-bottom: var(--size-2);
}

.quiz-cta p {
    color: var(--ink-light);
    font-size: 1rem;
    margin-bottom: var(--size-5);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-cta__hint {
    margin-top: var(--size-3);
    font-size: 0.875rem !important;
    color: var(--ink-mute) !important;
    margin-bottom: 0 !important;
}

#quiz-container {
    margin-top: var(--size-5);
    text-align: left;
}

/* === Services (photo-card style) === */
.services {
    background: var(--body-bg);
}

.services__grid {
    display: grid;
    gap: var(--size-3);
}

@media (min-width: 640px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.service-card__photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--body-deep);
}

.service-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.service-card:hover .service-card__photo img {
    transform: scale(1.05);
}

.service-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card__code {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.service-card__price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--size-3);
}

.service-card__price strong {
    font-weight: 800;
    color: var(--accent-deep);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.service-card ul li {
    padding: 5px 0 5px 24px;
    position: relative;
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.45;
}

.service-card ul li .icon-check {
    position: absolute;
    left: 0;
    top: 7px;
    width: 15px;
    height: 15px;
    stroke: var(--accent-deep);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

/* === Why Cheaper (icon-circle style) === */
.why-cheaper {
    background: var(--body-alt);
}

.why-cheaper__grid {
    display: grid;
    gap: 20px;
    margin-bottom: var(--size-5);
}

@media (min-width: 640px) {
    .why-cheaper__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .why-cheaper__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--card-bg);
    padding: var(--size-4);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: box-shadow 0.2s ease;
}

.why-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.why-item__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.why-item:hover .why-item__icon {
    background: var(--icon-bg-hover);
}

.why-item__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--icon-stroke);
    stroke-width: 1.75;
    fill: none;
}

.why-item__body {
    flex: 1;
}

.why-item h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.why-item p {
    margin: 0;
    color: var(--ink-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.why-cheaper__footer {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border-left: 4px solid var(--accent);
    padding: var(--size-4) var(--size-5);
    font-size: 1rem;
    color: var(--ink);
    box-shadow: var(--card-shadow);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.why-cheaper__footer strong {
    color: var(--ink);
}

/* === How We Work (timeline) === */
.how-we-work {
    background: var(--body-bg);
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--accent-deep) 100%);
    border-radius: 1px;
}

.step {
    position: relative;
    padding-left: 68px;
    margin-bottom: var(--size-5);
}

.step:last-child {
    margin-bottom: 0;
}

.step__num {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(242, 199, 68, 0.4);
    z-index: 1;
}

.step h3 {
    margin-bottom: 6px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    padding-top: 10px;
}

.step p {
    margin: 0;
    color: var(--ink-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* === Brigade (photo-left layout) === */
.brigade {
    background: var(--body-alt);
}

.brigade__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--size-6);
    align-items: center;
}

@media (min-width: 900px) {
    .brigade__grid {
        grid-template-columns: 400px 1fr;
    }
}

.brigade__photo {
    flex-shrink: 0;
}

.brigade__photo img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow-hover);
    display: block;
}

@media (max-width: 899px) {
    .brigade__photo img {
        max-height: 380px;
        aspect-ratio: 16 / 9;
    }
}

.brigade__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brigade__role {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brigade__content h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.brigade__content blockquote {
    margin: 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    background: var(--card-bg);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    font-size: 1.0625rem;
    color: var(--ink);
    line-height: 1.65;
    font-style: italic;
    box-shadow: var(--card-shadow);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.brigade__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brigade__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--ink-light);
    line-height: 1.5;
}

.brigade__bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-deep);
    flex-shrink: 0;
    margin-top: 7px;
}

/* === Stats Row (new section) === */
.stats-row {
    background: var(--body-bg);
    border-top: 1px solid var(--body-deep);
    border-bottom: 1px solid var(--body-deep);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    border-right: 1px solid var(--body-deep);
}

.stat-item:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid var(--body-deep);
        border-top: 1px solid var(--body-deep);
    }

    .stat-item:nth-child(4) {
        border-top: 1px solid var(--body-deep);
        border-right: none;
    }
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--ink-light);
    line-height: 1.45;
    max-width: 140px;
}

/* === Cases (white palette) === */
.cases {
    background: var(--body-alt);
}

.cases__grid {
    display: grid;
    gap: var(--size-3);
}

@media (min-width: 640px) {
    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .cases__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--card-border);
}

.case-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.case-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.case-card__img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--body-deep);
    transition: transform 0.3s ease;
}

.case-card:hover .case-card__img-wrap img {
    transform: scale(1.04);
}

.case-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 29, 36, 0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 12px 14px;
    gap: 8px;
}

.case-card__district {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-card__price-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    background: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.case-card__body {
    padding: var(--size-3);
}

.case-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
    padding: 0;
}

.case-card__meta {
    font-size: 0.8125rem;
    color: var(--ink-mute);
    margin-bottom: 8px;
}

.case-card__desc {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.case-card__price {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent-deep);
    font-size: 0.9375rem;
}

/* === Documents === */
.documents {
    background: var(--body-bg);
}

.documents__grid {
    display: grid;
    gap: var(--size-3);
}

@media (min-width: 768px) {
    .documents__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.document-card {
    display: block;
    padding: var(--size-4);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: var(--ink);
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--card-border);
}

.document-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
    text-decoration: none;
}

.document-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--icon-bg);
    border-radius: 50%;
    margin-bottom: var(--size-3);
    transition: background 0.2s ease;
}

.document-card:hover .document-card__icon {
    background: var(--icon-bg-hover);
}

.document-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--icon-stroke);
    stroke-width: 1.75;
    fill: none;
}

.document-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--size-2);
    color: var(--ink);
}

.document-card p {
    color: var(--ink-light);
    font-size: 0.9rem;
    margin-bottom: var(--size-3);
    line-height: 1.5;
}

.document-card__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-deep);
    font-weight: 600;
    font-size: 0.875rem;
}

.document-card__action svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* === Reviews === */
.reviews {
    background: var(--body-alt);
}

.reviews__grid {
    display: grid;
    gap: var(--size-3);
}

@media (min-width: 768px) {
    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    padding: var(--size-4);
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--size-2);
    gap: var(--size-2);
}

.review-card__header strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.review-card__stars {
    color: var(--accent-deep);
    font-size: 1.0625rem;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.review-card__meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-mute);
    margin-bottom: var(--size-3);
    letter-spacing: 0.03em;
}

.review-card p:last-child {
    margin-bottom: 0;
    color: var(--ink-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* === Guarantee === */
.guarantee {
    background: var(--body-bg);
}

.guarantee__cards {
    display: grid;
    gap: var(--size-3);
    margin-bottom: var(--size-5);
}

@media (min-width: 768px) {
    .guarantee__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.guarantee-card {
    background: var(--card-bg);
    padding: var(--size-5);
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.guarantee-card h3 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.guarantee-card__what {
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: var(--size-2);
    color: var(--ink);
}

.guarantee-card__law {
    font-size: 0.875rem;
    color: var(--ink-light);
    margin: 0;
    line-height: 1.55;
}

.guarantee h3 {
    margin-top: var(--size-5);
    margin-bottom: var(--size-3);
    font-size: 1.125rem;
}

.guarantee__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--size-3);
}

.guarantee__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--size-2);
    padding: 10px 0;
    border-bottom: 1px solid var(--body-deep);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ink-light);
}

.guarantee__list li:last-child {
    border-bottom: none;
}

.guarantee__list li .icon-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--success);
    stroke-width: 2.5;
    fill: none;
}

.guarantee__list li .icon-x {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--concrete);
    stroke-width: 2.5;
    fill: none;
}

.guarantee__footer {
    margin-top: var(--size-5);
    padding: var(--size-4);
    background: var(--body-alt);
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    font-size: 0.9375rem;
    color: var(--ink-light);
}

.guarantee__footer strong {
    color: var(--ink);
}

/* === For Parents === */
.for-parents {
    background: var(--body-alt);
}

.for-parents__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--size-5);
    counter-reset: item;
    display: grid;
    gap: var(--size-3);
}

@media (min-width: 640px) {
    .for-parents__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.for-parents__list li {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    padding: var(--size-3) var(--size-4);
    padding-left: calc(var(--size-4) + 44px);
    position: relative;
    counter-increment: item;
    min-height: 60px;
}

.for-parents__list li::before {
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: var(--size-3);
    top: var(--size-3);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-deep);
    line-height: 1;
}

.for-parents__list strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.9375rem;
}

.for-parents__list li > :not(strong) {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.5;
}

.for-parents__cta {
    padding: var(--size-4);
    background: var(--accent-pale);
    border-radius: var(--radius-card);
    margin: var(--size-5) 0 var(--size-4);
    border: 1px solid rgba(242, 199, 68, 0.5);
}

.for-parents__cta strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-weight: 700;
}

/* === FAQ === */
.faq {
    background: var(--body-bg);
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    margin-bottom: var(--size-2);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    padding: var(--size-3) var(--size-4);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: var(--card-bg);
    transition: background 0.15s ease;
    color: var(--ink);
    font-size: 0.9375rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-deep);
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
    margin-left: var(--size-3);
    line-height: 1;
}

.faq-item[open] summary {
    background: var(--body-alt);
    border-bottom: 1px solid var(--body-deep);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: var(--size-3) var(--size-4);
    margin: 0;
    color: var(--ink-light);
    font-size: 0.9375rem;
    background: var(--card-bg);
    line-height: 1.6;
}

/* === Final CTA (dark section, Avektra-style) === */
.final-cta {
    background: var(--hero-bg);
    padding: 72px 0;
}

.final-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .final-cta__grid {
        grid-template-columns: 1fr 420px;
    }
}

.final-cta__text h2 {
    color: var(--hero-text);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.12;
}

.final-cta__text p {
    color: var(--hero-text-mute);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 520px;
}

.final-cta__photo {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.final-cta__photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    opacity: 0.85;
}

/* === Footer === */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--size-7) 0 var(--size-4);
}

.footer__inner {
    display: grid;
    gap: var(--size-5);
    margin-bottom: var(--size-5);
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--size-4);
    }
}

.footer__col h3 {
    font-family: var(--font-display);
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: var(--size-3);
    letter-spacing: 0.01em;
}

.footer__col p {
    font-size: 0.875rem;
    margin-bottom: var(--size-2);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer__col a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer__geo {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--size-3);
    margin-top: var(--size-4);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8125rem;
}

/* === Quiz === */
.quiz-step {
    padding: var(--size-4) 0;
}

.quiz-progress {
    position: relative;
    background: rgba(201, 197, 188, 0.5);
    border-radius: var(--radius-pill);
    height: 6px;
    margin-bottom: var(--size-4);
    overflow: hidden;
}

.quiz-progress__bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--accent);
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
}

.quiz-progress__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-mute);
    margin-top: var(--size-1);
    text-align: right;
    letter-spacing: 0.03em;
}

.quiz-step__title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--size-2);
    font-family: var(--font-display);
}

.quiz-step__lead {
    font-size: 0.9375rem;
    color: var(--ink-light);
    margin-bottom: var(--size-4);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--size-2);
    margin-bottom: var(--size-4);
}

@media (min-width: 768px) {
    .quiz-options {
        grid-template-columns: 1fr 1fr;
    }
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: var(--size-3);
    padding: var(--size-3) var(--size-4);
    background: var(--bg-paper);
    border: 2px solid rgba(201, 197, 188, 0.6);
    border-radius: var(--radius-card);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
}

.quiz-option:hover,
.quiz-option:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(242, 199, 68, 0.2);
    background: var(--accent-pale);
    outline: none;
}

.quiz-option__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--warm);
}

.quiz-option__emoji svg {
    stroke: var(--concrete);
    width: 22px;
    height: 22px;
}

.quiz-option__label {
    font-weight: 500;
    line-height: 1.35;
}

/* Contact form */
.quiz-form {
    display: flex;
    flex-direction: column;
    gap: var(--size-3);
    margin-bottom: var(--size-4);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--size-1);
}

.form-field__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"] {
    padding: var(--size-2) var(--size-3);
    border: 1.5px solid rgba(201, 197, 188, 0.8);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg-paper);
    transition: border-color 0.15s ease;
    width: 100%;
}

.form-field input[type="text"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px rgba(242, 199, 68, 0.15);
}

.form-field__hint {
    font-size: 0.8125rem;
    color: var(--ink-mute);
}

.form-field__optional {
    color: var(--ink-mute);
    font-weight: normal;
    font-size: 0.875rem;
}

.req {
    color: var(--danger);
    font-weight: 700;
}

.form-field--checkbox {
    flex-direction: row;
    align-items: center;
    gap: var(--size-2);
    cursor: pointer;
}

.form-field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-deep);
    cursor: pointer;
    flex-shrink: 0;
}

.form-disclaimer {
    font-size: 0.8125rem;
    color: var(--ink-mute);
    line-height: 1.5;
    margin-top: var(--size-1);
}

.quiz-nav {
    margin-top: var(--size-3);
}

/* === Thanks page === */
.thanks {
    background: var(--bg-cream);
    padding: var(--size-7) 0;
    min-height: 100vh;
}

.thanks__inner {
    max-width: 720px;
    text-align: center;
}

.thanks__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(21, 128, 61, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--size-3);
}

.thanks__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--success);
    stroke-width: 2.5;
    fill: none;
}

.thanks__title {
    color: var(--ink);
    margin-bottom: var(--size-3);
}

.thanks__greeting {
    font-size: 1.125rem;
    color: var(--ink-light);
    margin-bottom: var(--size-5);
}

.thanks__price {
    background: var(--bg-paper);
    border: 2px solid var(--accent-pale);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--size-5) var(--size-4);
    margin-bottom: var(--size-4);
    text-align: center;
}

.thanks__price-label {
    display: block;
    font-size: 1rem;
    color: var(--ink-light);
    margin-bottom: var(--size-2);
}

.thanks__price-range {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    margin: var(--size-3) 0;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.thanks__price-range strong {
    color: var(--warm);
}

.thanks__price-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--ink-mute);
    margin-top: var(--size-2);
}

.thanks__card {
    display: flex;
    align-items: flex-start;
    gap: var(--size-3);
    padding: var(--size-4);
    border-radius: var(--radius-card);
    background: var(--bg-paper);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(201, 197, 188, 0.4);
    margin-bottom: var(--size-3);
    text-align: left;
}

.thanks__card p {
    margin: var(--size-1) 0 0;
    font-size: 0.9375rem;
    color: var(--ink-light);
}

.thanks__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-pale);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.thanks__card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--warm);
    stroke-width: 1.75;
    fill: none;
}

.thanks__card--email {
    border-left: 4px solid var(--warm);
}

.thanks__card--call {
    border-left: 4px solid var(--accent-deep);
}

.thanks__card strong {
    font-weight: 700;
    color: var(--ink);
}

.thanks__cta {
    display: flex;
    flex-direction: column;
    gap: var(--size-3);
    margin-top: var(--size-5);
    align-items: center;
}

@media (min-width: 768px) {
    .thanks__cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* === Mobile sticky CTA === */
.mobile-cta-bar {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 99;
    display: none;
    filter: drop-shadow(0 4px 16px rgba(242, 199, 68, 0.35));
}

.mobile-cta-bar a {
    display: block;
    text-align: center;
    background: var(--accent);
    color: var(--ink);
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
    text-decoration: none;
}

.mobile-cta-bar a:hover {
    background: var(--accent-deep);
    text-decoration: none;
    color: var(--ink);
}

@media (max-width: 768px) {
    .mobile-cta-bar.is-visible { display: block; }
    body.has-mobile-cta { padding-bottom: 80px; }
}

/* === Admin === */
.admin {
    padding: var(--size-6) 0;
    min-height: 100vh;
    background: var(--bg-cream);
}

.admin__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--size-4);
}

.admin__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--size-5);
}

.admin__count {
    color: var(--ink-mute);
    font-weight: normal;
}

.admin-login-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--size-4);
}

.admin-login-form__error {
    color: var(--danger);
    padding: var(--size-2) var(--size-3);
    background: rgba(185, 28, 28, 0.08);
    border-radius: var(--radius-sm);
    margin: 0;
}

.btn--small {
    padding: var(--size-1) var(--size-3);
    font-size: 0.875rem;
}

.admin__table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
    padding: var(--size-2);
    text-align: left;
    border-bottom: 1px solid rgba(201, 197, 188, 0.5);
}

.admin-table th {
    background: var(--bg-cream-deep);
    font-weight: 600;
    position: sticky;
    top: 0;
    color: var(--ink);
}

.admin-table tbody tr:hover {
    background: var(--bg-cream-deep);
}

.admin-table time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-mute);
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge--a1 {
    background: rgba(185, 28, 28, 0.1);
    color: var(--danger);
}

.badge--a2 {
    background: rgba(217, 119, 6, 0.15);
    color: var(--warm);
}

.badge--a3 {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success);
}

.badge--a5 {
    background: rgba(107, 105, 99, 0.12);
    color: var(--concrete);
}

.admin__empty {
    text-align: center;
    color: var(--ink-mute);
    padding: var(--size-7) var(--size-4);
}

/* === Image fallback === */
.brigade__photo img,
.case-card img,
.service-card__photo img {
    background: var(--body-deep);
}

/* ================================================================
   Hero dark overlay — redesign 2026-05-18 (Билкир-Забор reference)
   ================================================================ */

/* CSS variables for the dark hero */
:root {
    --hero-bg:          #1A1D24;
    --hero-bg-darker:   #14171C;
    --hero-overlay:     rgba(20, 23, 28, 0.74);
    --hero-text:        #FFFFFF;
    --hero-text-mute:   #B8BFC8;
}

/* ── Base section ─────────────────────────────────────────────── */
.hero--dark {
    position: relative;
    background: var(--hero-bg);
    padding: 0;
    overflow: hidden;
}

/* Remove blueprint grid overlay on dark hero */
.hero--dark::before {
    display: none;
}

/* ── Photo background ─────────────────────────────────────────── */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

/* ── Header strip ─────────────────────────────────────────────── */
.hero__header-strip {
    position: relative;
    z-index: 10;
    background: rgba(20, 23, 28, 0.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand block — logo + name + tagline */
.hero__brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hero__logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: block;
}

.hero__brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero__brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--hero-text);
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.hero__brand-tagline {
    font-size: 0.6875rem;
    color: var(--hero-text-mute);
    font-weight: 400;
    line-height: 1.3;
    max-width: 220px;
}

@media (max-width: 639px) {
    .hero__brand-tagline {
        display: none;
    }
}

/* Contacts cluster — right side */
.hero__contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Messenger icon buttons */
.hero__messengers {
    display: flex;
    gap: 8px;
}

.hero__messenger-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.hero__messenger-btn:hover {
    transform: scale(1.1);
    opacity: 0.88;
    text-decoration: none;
}

.hero__messenger-btn--wa {
    background: #25D366;
    color: #fff;
}

.hero__messenger-btn--tg {
    background: #229ED9;
    color: #fff;
}

/* Working hours */
.hero__hours {
    font-size: 0.75rem;
    color: var(--hero-text-mute);
    white-space: nowrap;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .hero__hours {
        display: none;
    }
}

/* Phone */
.hero__phone {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(0.9375rem, 1.8vw, 1.25rem);
    color: var(--hero-text);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.hero__phone:hover {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 479px) {
    .hero__phone {
        font-size: 0.875rem;
    }
}

/* Callback button */
.hero__callback-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(242, 199, 68, 0.35);
}

.hero__callback-btn:hover {
    background: var(--accent-deep);
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 479px) {
    .hero__callback-btn {
        display: none;
    }
}

/* ── Main hero body ───────────────────────────────────────────── */
.hero__body {
    position: relative;
    z-index: 5;
    padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 56px);
}

.hero__body-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__body-inner {
        grid-template-columns: 1fr minmax(280px, 420px);
        gap: 56px;
    }
}

/* ── Text block ───────────────────────────────────────────────── */
.hero__text-block {
    max-width: 700px;
}

/* H1 */
.hero__title {
    color: var(--hero-text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 20px;
}

.hero__title-line3 {
    color: var(--accent);
}

/* Subtitle */
.hero__subtitle {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    color: var(--hero-text-mute);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 580px;
    font-weight: 400;
}

/* ── Benefits grid ────────────────────────────────────────────── */
.hero__benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

@media (min-width: 560px) {
    .hero__benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* Single benefit item */
.hero__benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
}

/* PROMO benefit — highlighted with yellow dashed border */
.hero__benefit--promo {
    background: rgba(242, 199, 68, 0.08);
    border: 2px dashed var(--accent);
    border-radius: 8px;
}

/* Icon wrapper */
.hero__benefit-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(242, 199, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    stroke: var(--accent);
    margin-top: 1px;
}

.hero__benefit-icon--star {
    background: var(--accent);
    color: var(--ink);
}

.hero__benefit-icon--star svg {
    fill: var(--ink);
}

.hero__benefit-icon svg {
    display: block;
}

/* Benefit text */
.hero__benefit-text {
    font-size: 0.8125rem;
    color: var(--hero-text-mute);
    line-height: 1.5;
}

.hero__benefit--promo .hero__benefit-text {
    color: var(--hero-text);
    font-size: 0.8125rem;
}

.hero__benefit-text strong {
    color: var(--accent);
    font-weight: 700;
}

/* ── CTA row ──────────────────────────────────────────────────── */
.hero__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 479px) {
    .hero__cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta-btn {
        text-align: center;
        justify-content: center;
        width: 100%;
        padding: 13px 20px;
    }

    /* Compact mobile hero to fit both CTAs above fold */
    .hero__header-inner {
        padding: 10px 16px;
    }

    .hero__logo {
        width: 32px;
        height: 32px;
    }

    .hero__brand-name {
        font-size: 1rem;
    }

    .hero__body {
        padding: 20px 0 20px;
    }

    .hero__body-inner {
        padding: 0 16px;
        gap: 20px;
    }

    .hero__title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .hero__subtitle {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }

    .hero__benefits-grid {
        gap: 8px;
        margin-bottom: 20px;
    }

    .hero__benefit {
        padding: 10px 12px;
    }

    .hero__benefit-text {
        font-size: 0.75rem;
    }

    .hero__cta-row {
        gap: 8px;
    }

    .hero__trust {
        padding: 0 0 20px;
    }

    .hero__trust-inner {
        padding: 0 16px;
    }
}

.hero__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.hero__cta-btn--primary {
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 6px 20px rgba(242, 199, 68, 0.40);
}

.hero__cta-btn--primary:hover {
    background: var(--accent-deep);
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(242, 199, 68, 0.50);
}

.hero__cta-btn--outline {
    background: transparent;
    color: var(--hero-text);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero__cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--hero-text);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Round portrait ───────────────────────────────────────────── */
.hero__portrait-wrap {
    display: none;
}

@media (min-width: 1024px) {
    .hero__portrait-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
}

.hero__portrait {
    width: clamp(280px, 30vw, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    box-shadow:
        0 0 0 6px var(--accent),
        0 16px 56px rgba(0, 0, 0, 0.55);
}

/* Mobile: show portrait below benefits (optional reveal on medium screens) */
@media (min-width: 640px) and (max-width: 1023px) {
    .hero__portrait-wrap {
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }

    .hero__portrait {
        width: clamp(200px, 40vw, 320px);
    }
}

/* ── Certificate stamp (bottom-right of hero body) ───────────── */
.hero__stamp {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px dashed var(--accent);
    border-radius: 10px;
    padding: 12px 16px;
    transform: rotate(-3deg);
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    max-width: 220px;
}

.hero__stamp-icon {
    flex-shrink: 0;
    color: var(--accent-deep);
    stroke: var(--accent-deep);
    display: block;
}

.hero__stamp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__stamp-text strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8125rem;
    color: var(--ink);
    line-height: 1.2;
}

.hero__stamp-text span {
    font-size: 0.6875rem;
    color: var(--ink-light);
    line-height: 1.3;
}

@media (max-width: 767px) {
    .hero__stamp {
        display: none;
    }
}

/* ── Trust cards strip ────────────────────────────────────────── */
.hero__trust {
    position: relative;
    z-index: 5;
    padding: 0 0 32px;
}

.hero__trust-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .hero__trust-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* Trust card */
.trust-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
}

.trust-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.12);
    border-radius: 8px;
    color: var(--accent-deep);
}

.trust-card__icon svg {
    display: block;
    stroke: var(--accent-deep);
}

.trust-card__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.trust-card__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.trust-card__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.trust-card__sub {
    font-size: 0.6875rem;
    color: var(--ink-mute);
    line-height: 1.3;
}

@media (max-width: 479px) {
    .trust-card {
        padding: 14px 14px;
        gap: 10px;
    }

    .trust-card__icon {
        width: 36px;
        height: 36px;
    }

    .trust-card__num {
        font-size: 1.125rem;
    }

    .trust-card__title {
        font-size: 0.75rem;
    }
}

/* ================================================================
   REDESIGN 5 INJECTIONS — 2026-05-18
   1. .hero-trust-strip   — fact row between hero and quiz
   2. .hero__stamp        — certificate badge in hero (see above)
   3. .quiz-banner        — yellow attention strip before quiz card
   4. .quiz-cta__grid     — 2-col layout: quiz card + expert card
   5. .expert-card        — expert identity card
   ================================================================ */

/* === 1. Mini-trust strip (between hero and quiz) === */
.hero-trust-strip {
    background: var(--body-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 28px 0;
}

.hero-trust-strip__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--size-3);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

@media (max-width: 1023px) {
    .hero-trust-strip__inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 639px) {
    .hero-trust-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hero-trust-strip__inner {
        display: flex;
        min-width: 640px;
        padding: 0 16px;
    }
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-left: 1px solid var(--card-border);
}

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

@media (max-width: 639px) {
    .hero-trust-item {
        flex-shrink: 0;
        width: 128px;
        padding: 0 16px;
    }
}

.hero-trust-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trust-item__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--icon-stroke);
    stroke-width: 1.75;
    fill: none;
    display: block;
}

.hero-trust-item__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hero-trust-item__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.hero-trust-item__sub {
    font-size: 0.6875rem;
    color: var(--ink-mute);
    line-height: 1.3;
}

@media (max-width: 1023px) {
    .hero-trust-item:nth-child(4),
    .hero-trust-item:nth-child(5) {
        display: none;
    }
}

/* === 3. Yellow quiz attention banner === */
.quiz-banner {
    background: var(--accent);
    padding: 24px 0;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(242, 199, 68, 0.35);
}

.quiz-banner__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--size-3);
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: center;
}

@media (max-width: 767px) {
    .quiz-banner__inner {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .quiz-banner__icon {
        display: none;
    }
}

.quiz-banner__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(26, 29, 36, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-banner__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--ink);
    stroke-width: 2;
    fill: none;
    display: block;
}

.quiz-banner__text {
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.5;
}

.quiz-banner__text strong {
    font-weight: 800;
    font-size: 1.0625rem;
}

.quiz-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.quiz-banner__btn:hover {
    background: #2d3340;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .quiz-banner__btn {
        margin: 0 auto;
    }
}

/* === 4. Quiz section 2-col grid === */
.quiz-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

@media (min-width: 900px) {
    .quiz-cta__grid {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
        gap: 32px;
    }
}

/* Unwrap the card max-width when inside grid */
.quiz-cta__grid .quiz-cta__card {
    max-width: none;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-cta__grid #quiz-container {
    width: 100%;
}

/* === 5. Expert card === */
.expert-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expert-card__photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--body-deep);
}

.expert-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.expert-card__info {
    padding: 20px 20px 0;
}

.expert-card__role {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.expert-card__info h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
}

.expert-card__info blockquote {
    margin: 0 0 0;
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    background: var(--body-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.6;
    font-style: italic;
}

.expert-card__bonus {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--card-border);
    margin-top: 16px;
}

.expert-card__bonus-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.expert-card__bonus ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.expert-card__bonus li {
    font-size: 0.8125rem;
    color: var(--ink-light);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.expert-card__bonus li::before {
    content: '✓';
    color: var(--accent-deep);
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1.45;
}

