:root {
    /* Airbnb-inspired tokens (variant 3) — site-wide */
    --primary-color: #ff385c;
    --primary-dark: #e11d48;
    --secondary-color: #222222;
    --accent-color: #ff385c;
    --accent-hover: #e11d48;
    --text-color: #222222;
    --text-light: #6a6a6a;
    --bg-light: #ffffff;
    --white: #ffffff;
    --ink: #222222;
    --muted: #6a6a6a;
    --line: #ebebeb;
    --canvas: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f7f7f7;
    --border-radius: 14px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 32px;
    /* Soft three-layer shadow (Airbnb signature) */
    --shadow-card: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 6px, rgba(0, 0, 0, 0.10) 0 4px 8px;
    --shadow-card-hover: rgba(0, 0, 0, 0.04) 0 0 0 1px, rgba(0, 0, 0, 0.08) 0 6px 14px, rgba(0, 0, 0, 0.12) 0 10px 18px;
    --shadow: var(--shadow-card);
    --shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.10);
    --anchor-scroll-offset: 96px;
}

html {
    scroll-behavior: smooth;
}

:where(#services, #quiz-section, #faults, #prices, #brands, #how-we-work, #why-us, #cases, #reviews, #faq, #faq-section, #work-examples) {
    scroll-margin-top: var(--anchor-scroll-offset);
}

.anchor-alias {
    display: block;
    height: 0;
    scroll-margin-top: var(--anchor-scroll-offset);
}

#prices {
    scroll-margin-top: calc(var(--anchor-scroll-offset) + 40px);
}

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

body {
    font-family: 'DM Sans', 'Gilroy-Bold', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.55;
    background-color: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.header__logo {
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    gap: 12px;
    /* Space between logo and text */
    text-decoration: none;
    flex-shrink: 0;
}

.logo__img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__title {
    font-size: 20px;
    /* Slightly larger */
    font-weight: 800;
    color: var(--ink);
    /* Calm dark — Airbnb style */
    letter-spacing: -0.5px;
    /* Tighter tracking for title case */
}

.logo__subtitle {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

/* Compact header nav (desktop) */
.header__nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.header__nav-list a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.1px;
    transition: color 0.2s ease;
}

.header__nav-list a:hover {
    color: var(--accent-color);
}

.header__nav-list li {
    white-space: nowrap;
}

.header__info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header__phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    gap: 2px;
}

.header__phone {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header__phone .material-symbols-outlined {
    font-size: 18px;
    color: var(--accent-color);
}

.header__hours {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.header__hours .material-symbols-outlined {
    font-size: 14px;
    color: var(--text-light);
}

.header__contact-link {
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.header__contact-link:hover {
    background: var(--surface-soft);
    color: var(--accent-color);
}

.header__info .btn--primary {
    padding: 10px 18px;
    font-size: 14px;
}

/* Buttons */
.btn {
    padding: 13px 22px;
    border-radius: var(--border-radius);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: -0.1px;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn--primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.28);
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 56, 92, 0.36);
}

.btn--white {
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
    box-shadow: var(--shadow-card);
}

.btn--white:hover {
    background: #fafafa;
}

.btn--full {
    width: 100%;
}

.btn--ghost-dark {
    background: var(--ink);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 13px 22px;
    font-weight: 800;
}

/* Messenger buttons row */
.messenger-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn--messenger {
    flex: 1;
    margin-top: 0 !important;
    font-size: 14px;
    padding: 12px 10px;
}

/* Telegram */
.btn--telegram {
    background: var(--white);
    color: #0088cc;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn--telegram:hover {
    background: #f4faff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.2);
}

.telegram-icon {
    width: 22px;
    height: 22px;
    background-color: #0088cc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* CSS-only messenger fallback; avoids depending on a missing image asset. */
}
.telegram-icon::after {
    content: "T";
}

/* Max messenger */
.btn--max {
    background: var(--white);
    color: #7B2FF7;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn--max:hover {
    background: #f9f4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 47, 247, 0.2);
    color: #6a1fe0;
}

.max-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #7B2FF7 0%, #C966F5 100%);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    font-family: sans-serif;
    line-height: 1;
}

.max-icon::after {
    content: 'M';
}

/* Hero Section */
.hero {
    padding: 56px 0 64px;
    background: var(--canvas);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 48px;
}

.hero__content {
    text-align: left;
    margin-top: 0;
}

.hero__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 360px;
    max-width: none;
}

.hero__main-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    aspect-ratio: 4 / 3;
}

.hero__title {
    font-size: 50px;
    line-height: 1.05;
    margin-bottom: 18px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.8px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.55;
    max-width: 560px;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.08);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero__service-pills {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}

.hero-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    transition: all 0.2s ease;
}

.hero-service-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    color: var(--accent-color);
}

.hero-service-pill--active,
.hero-service-pill--active:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.hero-service-pill--active .material-symbols-outlined,
.hero-service-pill--active .icon-fallback {
    color: var(--white) !important;
}

.hero-service-pill .material-symbols-outlined,
.hero-service-pill .icon-fallback {
    color: var(--accent-color);
    font-size: 22px;
}

/* Local icon fallback: avoids showing Material Symbols ligature text
   (ac_unit, kitchen, call_log, etc.) when Google icon font is blocked
   or delayed in Telegram/iOS webviews. */
.icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    min-width: 1.2em;
    height: 1.2em;
    line-height: 1;
    font-family: inherit;
    font-style: normal;
    font-weight: 800;
    text-transform: none;
}

.icon-fallback::before { content: "•"; }
.icon-call::before { content: "☎"; }
.icon-visibility::before { content: "👁"; }
.icon-schedule::before { content: "⏰"; }
.icon-ac_unit::before { content: "❄"; }
.icon-kitchen::before { content: "▦"; }
.icon-cleaning_services::before { content: "✦"; }
.icon-build::before { content: "🔧"; }
.icon-handyman::before { content: "🛠"; }
.icon-search::before { content: "⌕"; }
.icon-propane::before { content: "⛽"; }
.icon-sanitizer::before { content: "✚"; }
.icon-thermostat::before { content: "℃"; }
.icon-water_drop::before { content: "💧"; }
.icon-volume_up::before { content: "◔"; }
.icon-power_off::before { content: "⏻"; }
.icon-air::before { content: "≈"; }
.icon-apartment::before { content: "▤"; }
.icon-request_quote::before { content: "₽"; }
.icon-help::before { content: "?"; }
.icon-event::before { content: "□"; }
.icon-verified::before { content: "✓"; }
.icon-call_log::before { content: "☎"; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
    margin: 0 0 28px;
}

.hero-stat {
    background: var(--surface-soft);
    color: var(--ink);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    box-shadow: none;
}

.hero-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 4px;
    color: var(--ink);
    font-weight: 800;
}

.hero-stat span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    color: var(--text-light);
}

.hero__features {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
}

.feature-item {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
    text-align: left;
    color: var(--ink);
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: rgba(255, 56, 92, 0.10);
    color: var(--accent-color);
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
    margin: 1px 0 0;
    font-weight: 800;
}

/* Form */
.hero__form-wrapper {
    flex: 0 0 auto;
    background: var(--white);
    padding: 28px 26px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    z-index: 2;
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.form__title {
    font-size: 24px;
    margin-bottom: 6px;
    text-align: left;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.4px;
}

.form__subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: left;
    font-weight: 500;
    line-height: 1.45;
}

.form__group {
    margin-bottom: 14px;
}

.form__input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fafafa;
    color: var(--ink);
}

.form__input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.12);
}

.form__policy {
    margin-top: 12px;
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.4;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Services */
/* Services Grid */
.services {
    padding: 80px 0;
    min-height: auto;
    background: var(--canvas);
    position: relative;
}

.services#symptoms {
    background: var(--surface-soft);
}

.services#faq {
    min-height: auto;
    background: var(--canvas);
}

#faq-section.services {
    padding: 60px 0;
    min-height: auto;
    background: var(--surface-soft);
}

.pricing-section {
    padding: 70px 0 60px !important;
    background: var(--canvas);
}

.brands-section {
    padding: 50px 0 50px !important;
    background: var(--surface-soft);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 48px;
    position: relative;
    color: var(--ink);
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid transparent;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 56, 92, 0.06), rgba(255, 56, 92, 0));
    pointer-events: none;
}

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

.service-card__media {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 56, 92, 0.08);
    color: var(--accent-color);
    font-size: 28px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.service-card--soft .service-card__media {
    background: rgba(15, 23, 42, 0.05);
    color: var(--ink);
}

.service-card--mint .service-card__media {
    background: rgba(8, 145, 178, 0.10);
    color: #0891b2;
}

.service-card--peach .service-card__media {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.service-card--sky .service-card__media {
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
}

/* Response for smaller screens */
@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.service-card__icon {
    font-size: 32px;
    color: var(--accent-color);
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon {
    transform: scale(1.08);
}

.service-card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.service-card__desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
    max-width: none;
}

.service-card__price {
    margin-top: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.10);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 800;
    align-self: flex-start;
}

.service-card__cta {
    margin-top: 4px;
    padding: 10px 18px;
    font-size: 14px;
}

/* Steps (How we work) */
.steps {
    padding: 70px 0 50px;
    background: var(--canvas);
    /* Seamless blend with body background */
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}

.step-item {
    position: relative;
    padding: 26px 22px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.step__number {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 56, 92, 0.10);
}

/* Removed shadow copy for cleaner look */

.step__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--ink);
    display: block;
    letter-spacing: -0.2px;
}

.step__text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
    max-width: 100%;
}

/* Arrow connector - simplifed to avoid breaking layout */
.step-item:not(:last-child)::after {
    display: none;
}

/* Arrow head */
.step-item:not(:last-child)::before {
    display: none;
}


/* Responsive */
@media (max-width: 992px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
        /* More vertical gap */
    }

    .step-item:not(:last-child)::after,
    .step-item:not(:last-child)::before {
        display: none;
        /* Hide arrows on tablet */
    }
}

@media (max-width: 576px) {
    .steps__grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .step__text {
        max-width: 100%;
        text-align: center;
    }
}

/* Benefits Section */
.benefits {
    padding: 60px 0 70px;
    min-height: auto;
    background: var(--surface-soft);
    position: relative;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--white);
    padding: 24px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    gap: 14px;
}

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

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 56, 92, 0.10);
    display: grid;
    place-items: center;
    margin-bottom: 0;
}

.benefit-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(96%) saturate(7464%) hue-rotate(335deg) brightness(98%) contrast(101%);
}

/* Icon specific size adjustment if SVG is native */
.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ink);
}

/* ===================================================
   PRICING LIST (Airbnb-style)
   =================================================== */
.pricing__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 10px 4px;
    overflow: hidden;
}

.pricing__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

.pricing__row:last-child {
    border-bottom: 0;
}

.pricing__row:hover {
    background: var(--surface-soft);
}

.pricing__row--featured {
    background: rgba(255, 56, 92, 0.04);
}

.pricing__row--featured .pricing__value {
    color: var(--accent-color);
}

.pricing__name {
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
}

.pricing__value {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
}

/* ===================================================
   BRANDS CLOUD
   =================================================== */
.brands__chip {
    background: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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


/* Work Examples */
.work-examples {
    padding: 45px 0;
    background: #ffffff;
}

.work-examples--case .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.work-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.work-examples__intro {
    max-width: 780px;
    margin: -35px auto 42px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.6;
}

.work-case:first-child {
    grid-column: 1 / -1;
}

.work-cases .work-case:not(:first-child) {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
}

.work-cases .work-case:not(:first-child) .work-case__media,
.work-cases .work-case:not(:first-child) .work-case__media img {
    min-height: 230px;
}

.work-cases .work-case:not(:first-child) .work-case__content {
    padding: 12px 4px 4px;
    justify-content: flex-start;
}

.work-cases .work-case:not(:first-child) .work-case__title {
    font-size: 22px;
}

.work-cases .work-case:not(:first-child) .work-case__list {
    gap: 7px;
    margin-bottom: 4px;
}

.work-cases .work-case:not(:first-child) .work-case__stats strong {
    font-size: 20px;
}

.work-case:first-child .work-case__media,
.work-case:first-child .work-case__media img {
    max-height: 725px;
}

.work-case {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 34px;
    align-items: stretch;
    background: #f8fbff;
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(17, 45, 78, 0.08);
    border: 1px solid rgba(0, 95, 178, 0.08);
}

.work-case__media {
    overflow: hidden;
    border-radius: 24px;
    min-height: 320px;
    background: #e9eef5;
}

.work-case__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .work-case__media,
    .work-case__media img {
        min-height: 360px;
    }

    .work-case {
        padding: 22px;
        gap: 28px;
    }

    .work-case__content {
        padding: 20px 10px 20px 0;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .work-case__media,
    .work-case__media img {
        min-height: 280px;
    }

    .work-case {
        padding: 18px;
        gap: 22px;
        border-radius: 24px;
    }

    .work-case__content {
        padding: 18px 6px 18px 0;
    }

    .work-case__title {
        font-size: 26px;
    }
}

.work-case__content {
    padding: 18px 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.work-case__eyebrow {
    margin: 0 0 12px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.work-case__title {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.15;
    color: #111;
}

.work-case__desc {
    margin: 0 0 18px;
    color: var(--text-light);
    line-height: 1.55;
}

.work-case__list {
    display: grid;
    gap: 8px;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
    color: var(--text-color);
    line-height: 1.4;
}

.work-case__list li {
    position: relative;
    padding-left: 32px;
}

.work-case__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
}

.work-case__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.work-case__stats div {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 18px;
    padding: 18px;
}

.work-case__stats strong,
.work-case__stats span {
    display: block;
}

.work-case__stats strong {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.work-case__stats span {
    font-size: 13px;
    opacity: 0.92;
}

.work-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.work-thumbs img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Reviews */
.reviews {
    padding: 45px 0 40px;
    background: transparent;
    /* Match body background */
}

.reviews__intro {
    max-width: 780px;
    margin: -35px auto 38px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.6;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.review-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.review__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review__author {
    font-weight: 700;
    font-size: 18px;
}

.review__meta {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 13px;
}

.review__stars {
    color: #ffc107;
}

.review__text {
    font-style: italic;
    color: var(--text-light);
}

/* Contacts Bottom */
.contacts-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 50%, #fff8f1 100%);
    color: var(--ink);
}

.contacts__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contacts__title {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.contacts__desc {
    opacity: 0.8;
    margin-bottom: 12px;
    color: var(--text-light);
    max-width: 540px;
    line-height: 1.55;
}

.contacts__phone {
    color: var(--ink);
    font-size: 30px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.4px;
}

.contacts__phone .material-symbols-outlined {
    color: var(--accent-color);
}

.contacts__action {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 250px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    align-items: stretch;
}

.contacts__action .btn--white {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.28);
}

.contacts__action .btn--white:hover {
    background: var(--accent-hover);
}

/* Footer */
.footer {
    padding: 28px 0;
    background: var(--white);
    color: var(--text-light);
    text-align: center;
    font-size: 14px;
    border-top: 1px solid var(--line);
}

/* Mobile Responsiveness Improvements */

@media (max-width: 992px) {
    .hero__title {
        font-size: 38px;
    }

    .hero__form-wrapper {
        flex: 0 0 100%;
        /* Form full width on tablet */
        max-width: 500px;
    }

    .hero__image-block {
        order: -1;
        /* Image first */
        min-height: 280px;
    }

    .hero__form-wrapper {
        order: 2;
        /* Form second */
    }

    .hero__content {
        order: 3;
        /* Text last */
    }
}

@media (max-width: 768px) {
    :root {
        --anchor-scroll-offset: 80px;
    }

    /* .header inherits position: sticky from global */
    .header {
        transition: padding 0.2s ease, box-shadow 0.2s ease;
    }

    .header__container {
        flex-direction: column;
        gap: 12px;
        transition: gap 0.2s ease;
    }

    .header__nav {
        max-height: 84px;
        opacity: 1;
        overflow: hidden;
        transform: translateY(0);
        transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.2s ease, margin 0.2s ease;
    }

    .header__nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 14px;
    }

    .header__nav-list a {
        font-size: 13px;
    }

    .header__info {
        flex-direction: column;
        gap: 10px;
    }

    .header__phone {
        display: inline-flex !important;
        font-size: 16px;
    }

    .header.is-mobile-compact {
        padding: 6px 0;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .header.is-mobile-compact .header__container {
        gap: 8px;
    }

    .header.is-mobile-compact .logo__subtitle,
    .header.is-mobile-compact .header__hours,
    .header.is-mobile-compact .header__contact-link {
        display: none;
    }

    .header.is-mobile-compact .logo__title {
        font-size: 18px;
    }

    .header.is-mobile-compact .logo__img {
        width: 34px;
    }

    .header.is-mobile-compact .header__info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px 8px;
        width: 100%;
    }

    .header.is-mobile-compact .header__phone-block {
        align-items: center;
    }

    .header.is-mobile-compact .header__phone {
        font-size: 15px;
    }

    .header.is-mobile-compact .header__info .btn--primary {
        padding: 9px 12px;
        font-size: 12px;
    }

    .header.is-mobile-compact .header__nav {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        margin-top: -4px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 24px 0;
    }

    .hero__title {
        font-size: 32px;
    }

    /* Hide button on very small screens or change layout */

    .hero__title {
        font-size: 28px;
    }

    .hero__container {
        gap: 24px;
    }

    .hero__content {
        margin-top: 0;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__service-pills {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 14px;
    }

    .hero-service-pill {
        min-width: 0;
        width: 100%;
    }

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

    .hero-stat {
        padding: 15px 18px;
    }

    .hero-stat strong {
        font-size: 24px;
    }

    /* Optimize Form for Mobile */
    .hero__form-wrapper {
        padding: 25px 20px;
        width: 100%;
        flex: auto;
    }

    .form__title {
        font-size: 22px;
    }

    .form__input {
        padding: 12px 15px;
        font-size: 16px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        /* 1 col on mobile for services */
        gap: 20px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card__icon {
        font-size: 40px;
    }

    .service-card__title {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .services,
    .steps,
    .benefits,
    .work-examples,
    .reviews,
    .quiz-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .pricing-section {
        padding-top: 40px !important;
        padding-bottom: 34px !important;
    }

    .brands-section {
        padding-top: 34px !important;
        padding-bottom: 30px !important;
    }

    .steps {
        padding-top: 34px;
        padding-bottom: 20px;
    }

    .benefits {
        padding-top: 24px;
        padding-bottom: 34px;
    }

    .work-examples {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .reviews {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    #faq-section.services {
        padding-top: 34px;
        padding-bottom: 40px;
    }

    .faults-section {
        padding-bottom: 40px;
    }

    .services,
    .benefits {
        min-height: auto;
    }

    .benefits {
        padding-top: 24px;
        padding-bottom: 34px;
        min-height: auto;
        background: linear-gradient(180deg,
                rgba(248, 251, 255, 0.97) 0%,
                rgba(248, 251, 255, 0.9) 45%,
                rgba(248, 251, 255, 0.97) 100%);
        background-size: cover;
        background-position: center top;
        /* Legacy template image removed; mobile benefits keep the soft gradient only. */
    }


    .work-examples {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .work-examples__intro,
    .reviews__intro {
        margin-top: -18px;
        margin-bottom: 24px;
        font-size: 15px;
    }

    .work-case {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 14px;
        border-radius: 22px;
    }

    .work-cases {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .work-case:first-child {
        grid-column: auto;
    }

    .work-case__media,
    .work-case__media img {
        min-height: 220px;
    }

    .work-case__content {
        padding: 12px 2px 0;
        justify-content: flex-start;
    }

    .work-case__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .work-case__desc {
        margin-bottom: 14px;
    }

    .work-case__list,
    .work-cases .work-case:not(:first-child) .work-case__list {
        gap: 8px;
        margin-bottom: 4px;
    }

    .work-case__stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .work-case__stats div {
        padding: 14px;
    }

    .work-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 16px;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .hero__container {
        flex-direction: column;
        text-align: center;
    }

    .hero__features {
        align-items: flex-start;
        justify-content: center;
    }

    .hero__image-block {
        order: -1;
        width: 100%;
        height: auto;
        min-height: auto;
        flex: 0 0 auto;
    }

    .hero__main-img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .quiz-section {
        padding: 52px 0;
    }

    .quiz-section__subtitle {
        margin-bottom: 28px;
    }

    .contacts__container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contacts__action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --anchor-scroll-offset: 68px;
    }

    .container {
        padding: 0 15px;
    }

    .logo__title {
        font-size: 20px;
    }

    .logo__subtitle {
        font-size: 11px;
    }

    .hero__features {
        gap: 10px;
    }

    .hero {
        padding: 20px 0 22px;
    }

    .hero__container {
        gap: 12px;
    }

    .hero__image-block {
        margin-bottom: 4px;
    }

    .services,
    .steps,
    .benefits,
    .work-examples,
    .reviews,
    .quiz-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .pricing-section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .brands-section {
        padding-top: 28px !important;
        padding-bottom: 22px !important;
    }

    .steps {
        padding-top: 28px;
        padding-bottom: 14px;
    }

    .benefits {
        padding-top: 18px;
        padding-bottom: 30px;
    }

    .reviews {
        padding-top: 30px;
        padding-bottom: 26px;
    }

    #faq-section.services {
        padding-top: 30px;
        padding-bottom: 36px;
    }

    .faults-section {
        padding-bottom: 28px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .quiz-section__title {
        font-size: 26px;
    }

    .quiz-section__subtitle {
        margin-bottom: 24px;
        font-size: 15px;
    }

    .work-examples {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .work-examples__intro {
        margin-top: -14px;
        margin-bottom: 20px;
    }

    .work-case {
        padding: 12px;
        border-radius: 20px;
    }

    .work-cases {
        gap: 14px;
    }

    .work-case__media,
    .work-case__media img {
        min-height: 180px;
    }

    .work-case__content {
        padding-top: 10px;
    }

    .work-case__title {
        font-size: 20px;
    }

    .work-case__list,
    .work-cases .work-case:not(:first-child) .work-case__list {
        gap: 7px;
        margin-bottom: 2px;
    }

    .work-case__stats div {
        padding: 12px;
    }

    .feature-item {
        font-size: 14px;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Taxi Widget Section */
.taxi-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.taxi-section__description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.taxi-widget-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.taxi-disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    text-align: center;
}

.taxi-disclaimer a {
    color: #007bff;
    text-decoration: none;
}

.taxi-disclaimer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .taxi-section {
        padding: 40px 0;
    }

    .taxi-section__description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .taxi-widget-wrapper {
        padding: 20px;
    }
}

/* Phone Reveal Animations */
.phone-reveal-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 769px) {

    /* Легкий зум при наведении на десктопе (только когда номер закрыт) */
    .phone-reveal-container:not(.is-revealed):hover {
        transform: scale(1.05);
    }
}

/* Растворяющийся фон (эффект Blur + Opacity) */
.phone-hidden-part {
    display: inline-block;
    filter: blur(5px);
    opacity: 0.15;
    transition: filter 0.6s ease, opacity 0.6s ease;
    user-select: none;
    pointer-events: none;
    margin-left: -2px;
}

.phone-hidden-part + .phone-hidden-part {
    margin-left: 0;
}

.phone-hidden-part--soft {
    filter: blur(3px);
    opacity: 0.45;
}

.phone-hidden-part--hard {
    filter: blur(5px);
    opacity: 0.15;
}

.phone-hint {
    font-size: 22px !important;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.5s ease, max-width 0.5s ease, padding 0.5s ease;
    max-width: 40px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    padding-left: 6px;
    color: #888;
}

.phone-reveal-container:not(.is-revealed):hover .phone-hint {
    color: var(--accent-color);
}

.phone-reveal-container.phone-hint-visible:not(.is-revealed)::after {
    content: 'Нажмите на номер, чтобы вызвать мастера';
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    width: max-content;
    max-width: min(300px, calc(100vw - 32px));
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.94);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    pointer-events: none;
    animation: phoneHintFade 0.25s ease;
}

.phone-reveal-container.phone-hint-visible:not(.is-revealed)::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1201;
    border: 6px solid transparent;
    border-bottom-color: rgba(15, 23, 42, 0.94);
    pointer-events: none;
}

@keyframes phoneHintFade {
    from { opacity: 0; transform: translate(-50%, -4px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Состояния после клика (номер раскрыт) */
.phone-reveal-container.is-revealed .phone-hidden-part {
    filter: blur(0);
    opacity: 1;
    user-select: auto;
    pointer-events: auto;
}

.phone-reveal-container.is-revealed .phone-hint {
    opacity: 0;
    max-width: 0;
    padding-left: 0;
}

/* ===================================================
   QUIZ SECTION BANNER
   =================================================== */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 50%, #fff8f1 100%);
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 56, 92, 0.06);
    pointer-events: none;
}

.quiz-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 56, 92, 0.04);
    pointer-events: none;
}

.quiz-section__header {
    text-align: center;
    color: var(--ink);
    position: relative;
    z-index: 2;
}

.quiz-section__title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.8px;
}

.quiz-section__subtitle {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.55;
    color: var(--text-light);
}

.quiz-section__subtitle strong {
    color: var(--accent-color);
}

.quiz-section__cta {
    font-size: 17px;
    padding: 14px 36px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 56, 92, 0.28);
    transition: all 0.2s ease;
}

.quiz-section__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 56, 92, 0.36);
}

/* ===================================================
   QUIZ MODAL OVERLAY
   =================================================== */
.quiz-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.quiz-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.quiz-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 40px 36px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-overlay.is-open .quiz-modal {
    transform: translateY(0) scale(1);
}

/* Progress bar */
.quiz-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #eee;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6600, #ffaa00);
    border-radius: 20px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
}

/* Close button */
.quiz-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.quiz-close:hover {
    color: #333;
    background: #f5f5f5;
}

/* Step indicator */
.quiz-step-indicator {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================================
   QUIZ STEPS
   =================================================== */
.quiz-step {
    display: none;
    animation: quizFadeIn 0.4s ease;
}

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

@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-step__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* ===================================================
   OPTION TYPES
   =================================================== */

/* Cards (step 1 — large device icons) */
.quiz-options--cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.quiz-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.quiz-option-card:hover {
    border-color: #0066cc;
    background: #f0f6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

.quiz-option-card.selected {
    border-color: #ff6600;
    background: #fff5f0;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.quiz-option-card__icon {
    font-size: 52px;
    color: #0066cc;
    transition: color 0.25s;
}

.quiz-option-card.selected .quiz-option-card__icon {
    color: #ff6600;
}

.quiz-option-card__label {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

/* List (step 2 symptoms, step 4 urgency) */
.quiz-options--list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz-option-item {
    padding: 16px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.quiz-option-item:hover {
    border-color: #0066cc;
    background: #f0f6ff;
}

.quiz-option-item.selected {
    border-color: #ff6600;
    background: #fff5f0;
    color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* Pills grid (step 3 — brands) */
.quiz-options--grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz-option-pill {
    padding: 10px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    background: #fafafa;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.quiz-option-pill:hover {
    border-color: #0066cc;
    color: #0066cc;
    background: #f0f6ff;
}

.quiz-option-pill.selected {
    border-color: #ff6600;
    background: #ff6600;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Next button */
.quiz-next-btn {
    width: 100%;
    padding: 15px;
    font-size: 17px;
    margin-top: 4px;
}

.quiz-next-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===================================================
   PROMO BANNER (step 5)
   =================================================== */
.quiz-result-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #fff5f7, #ffffff);
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 56, 92, 0.18);
}

.quiz-result-banner__icon {
    font-size: 40px;
    line-height: 1;
    flex-shrink: 0;
}

.quiz-result-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
}

.quiz-result-banner__text strong {
    font-size: 18px;
}

.quiz-promo-label {
    color: #ffd44d;
    font-weight: 800;
}

.quiz-promo-code {
    display: inline-block;
    background: #ffd44d;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 8px;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ===================================================
   SUCCESS SCREEN (step 6)
   =================================================== */
.quiz-success {
    text-align: center;
    padding: 20px 0 10px;
}

.quiz-success__icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.quiz-success__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.quiz-success__text {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 28px;
    display: block;
}

/* ===================================================
   MOBILE QUIZ
   =================================================== */
@media (max-width: 600px) {
    .quiz-modal {
        padding: 32px 20px 28px;
        border-radius: 14px;
    }

    .quiz-options--cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .quiz-option-card {
        padding: 20px 12px;
    }

    .quiz-option-card__icon {
        font-size: 40px;
    }

    .quiz-step__title {
        font-size: 19px;
    }

    .quiz-section__title {
        font-size: 28px;
    }

    .quiz-section__subtitle {
        font-size: 16px;
    }
}

/* ===================================================
   HERO QUIZ CTA CARD
   =================================================== */
.quiz-cta-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 26px 26px;
    box-shadow: var(--shadow-card-hover);
    position: relative;
    border: 1px solid var(--line);
}

.quiz-cta-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 40px);
    width: max-content;
    background: var(--accent-color);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.30);
}

.quiz-cta-card__steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    background: var(--surface-soft);
    padding: 16px;
    border-radius: var(--radius-md);
}

.quiz-cta-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.quiz-cta-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
    font-weight: 800;
}

/* ===================================================
   QUIZ FINAL CTA (STEP 5)
   =================================================== */
.quiz-final-cta {
    margin-top: 20px;
    text-align: center;
}

.quiz-final-cta__title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.quiz-final-cta__sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.45;
}

.quiz-final-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.quiz-final-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-final-btn:hover {
    transform: translateY(-2px);
}

.quiz-final-btn--call {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.quiz-final-btn--tg {
    background: #fff;
    color: #0088cc;
    border: 1.5px solid #e6e6e6;
}

.quiz-final-btn--max {
    background: #fff;
    color: #7B2FF7;
    border: 1.5px solid #e6e6e6;
}

.quiz-final-btn--callback {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.28);
}

.quiz-messenger-row {
    display: flex;
    gap: 12px;
}

.quiz-final-btn--small {
    flex: 1;
    padding: 12px;
    font-size: 15px;
}

.quiz-close-link {
    background: none;
    border: none;
    color: #aaa;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
}

.quiz-close-link:hover {
    color: #333;
}

/* ===================================================
   FLOATING ACTION BUTTON (Быстрая заявка)
   =================================================== */
.fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.40);
    cursor: pointer;
    z-index: 1000;
    font-family: inherit;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseFab 2.5s infinite;
}

.fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 56, 92, 0.50);
    animation: none;
}

.fab .material-symbols-outlined {
    font-size: 24px;
}

.fab__text {
    font-size: 15px;
    font-weight: 600;
}

@keyframes pulseFab {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 56, 92, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 56, 92, 0);
    }
}

@media (max-width: 600px) {
    .fab {
        bottom: 20px;
        right: 20px;
        padding: 14px;
        border-radius: 50%;
    }

    .fab__text {
        display: none;
        /* Only icon on mobile for less distraction */
    }
}

/* ===================================================
   CALLBACK MODAL
   =================================================== */
.callback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.callback-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.callback-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.callback-overlay.is-open .callback-modal {
    transform: scale(1);
}

.callback-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.callback-close:hover {
    color: #333;
}

.callback-modal__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.callback-modal__subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}
/* Horizontal sliders */
.slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 18px;
    margin: 0 -4px;
}

.slider-track::-webkit-scrollbar {
    height: 8px;
}

.slider-track::-webkit-scrollbar-track {
    background: #edf4fb;
    border-radius: 999px;
}

.slider-track::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.35);
    border-radius: 999px;
}

.slider-track > * {
    scroll-snap-align: start;
}

.work-cases.slider-track {
    grid-template-columns: none;
    align-items: flex-start;
}

.work-cases.slider-track .work-case,
.work-cases.slider-track .work-case:first-child,
.work-cases.slider-track .work-case:not(:first-child) {
    flex: 0 0 min(920px, 86vw);
    grid-column: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 30px;
    padding: 24px;
}

.work-cases.slider-track .work-case:not(:first-child) .work-case__media,
.work-cases.slider-track .work-case:not(:first-child) .work-case__media img {
    min-height: 380px;
}

.work-cases.slider-track .work-case:not(:first-child) .work-case__content {
    padding: 20px 8px 20px 0;
}

.work-cases.slider-track .work-case:not(:first-child) .work-case__title {
    font-size: 28px;
}

.reviews__grid.slider-track {
    grid-template-columns: none;
    gap: 20px;
}

.reviews__grid.slider-track .review-card {
    flex: 0 0 min(360px, 84vw);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.slider-controls.is-fading {
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
}

.slider-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 102, 204, 0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.slider-btn:hover {
    transform: translateY(-2px);
}

.slider-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.slider-hint {
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 768px) {
    .slider-track {
        gap: 16px;
        padding-bottom: 14px;
    }

    .work-cases.slider-track .work-case,
    .work-cases.slider-track .work-case:first-child,
    .work-cases.slider-track .work-case:not(:first-child) {
        flex-basis: 88vw;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        align-self: flex-start;
    }

    .work-cases.slider-track .work-case__media,
    .work-cases.slider-track .work-case__media img,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__media,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__media img {
        min-height: 250px;
    }

    .work-cases.slider-track .work-case__content,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__content {
        display: block !important;
        padding: 10px 4px 0;
        justify-content: flex-start;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .work-cases.slider-track .work-case__list,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__list {
        gap: 7px;
        margin-bottom: 10px;
    }

    .work-cases.slider-track {
        overflow-y: visible;
    }

    .work-cases.slider-track .work-case__stats,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__stats {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100% !important;
        box-sizing: border-box;
        gap: 8px;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .work-cases.slider-track .work-case__stats div,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__stats div {
        display: block !important;
        padding: 10px 12px;
        min-height: 0;
        background: #0055cc !important;
        color: #fff !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .work-cases.slider-track .work-case__title,
    .work-cases.slider-track .work-case:not(:first-child) .work-case__title {
        font-size: 23px;
    }

    .slider-controls {
        margin-top: 8px;
    }

    .slider-hint {
        font-size: 13px;
    }
}

.slider-controls.is-hidden {
    display: none;
}

/* AC draft header/hero safety overrides */
.header .container,
.header__top {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.header__content,
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__contacts,
.header__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero {
  min-height: auto;
  padding-top: 56px;
  padding-bottom: 64px;
}
.hero__container {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 48px;
  flex-wrap: nowrap;
  justify-content: stretch;
}
.hero__image-block {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: none;
}
.hero__main-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
}
.hero__content {
  order: 0;
  text-align: left;
  margin-top: 0;
  flex: 0 0 auto;
}
.hero__form-wrapper {
  flex: 0 0 auto;
  max-width: 420px;
  width: 100%;
  justify-self: end;
  order: 0;
}
@media (max-width: 900px) {
  .header__content,
  .header__top,
  .header__contacts,
  .header__contact {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__image-block {
    order: -1;
    min-height: 240px;
  }
  .hero__form-wrapper {
    justify-self: stretch;
  }
  .hero__content {
    text-align: left;
  }
  .hero__title {
    font-size: 38px;
  }
}

/* ===================================================
   PRICING: бытовой + B2B / полупромышленный
   =================================================== */
.pricing-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px;
    margin-bottom: 18px;
}

.pricing-block__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.pricing-block__sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.55;
}

.pricing-group {
    margin-bottom: 22px;
}

.pricing-group:last-child {
    margin-bottom: 0;
}

.pricing-group__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-light);
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pricing-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    background: var(--surface-soft);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.4;
}

.pricing-table__row--featured {
    background: rgba(255, 56, 92, 0.08);
    font-weight: 600;
}

.pricing-table__name {
    flex: 1 1 auto;
    min-width: 0;
}

.pricing-table__value {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.pricing-table__row--featured .pricing-table__value {
    color: var(--accent-color);
}

.pricing-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--surface-soft);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* B2B block — отдельный акцент */
.b2b-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.b2b-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 56, 92, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.b2b-section__kicker {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 56, 92, 0.2);
    color: #ff7a92;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.b2b-section__title {
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.b2b-section__sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 22px;
    max-width: 640px;
    line-height: 1.55;
}

.b2b-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.b2b-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.b2b-item:hover {
    border-color: rgba(255, 56, 92, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.b2b-item__name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.b2b-item__hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.b2b-section__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 22px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.b2b-section__list li {
    list-style: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.b2b-section__list li::before {
    content: "✓";
    color: #ff7a92;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.b2b-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.b2b-section__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 56, 92, 0.5);
}

.b2b-section__cta .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 640px) {
    .b2b-section {
        padding: 26px 20px;
    }
    .b2b-section__title {
        font-size: 22px;
    }
    .pricing-block {
        padding: 20px;
    }
    .pricing-table__row {
        padding: 9px 12px;
        font-size: 14px;
    }
}

/* Messenger hint (мелкая подпись под кнопками мессенджеров) */
.messenger-hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.45;
    text-align: center;
    opacity: 0.85;
}

/* ====================================================
   SECTION SUBTITLE (вступительный текст под заголовком)
   ==================================================== */
.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: -6px auto 26px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.55;
}

/* ====================================================
   WORKS SECTION — "Наши работы" (mobile-first slider)
   ==================================================== */
.works-section {
    padding: 56px 0 48px;
    background: var(--canvas);
    overflow: hidden;
}

.works-slider {
    position: relative;
    margin: 0 -20px; /* растягиваем под контейнер с учётом padding 20px */
    padding: 4px 20px 14px;
}

.works-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 75%;
    gap: 12px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}
.works-slider__track::-webkit-scrollbar { display: none; }

@media (min-width: 560px) {
    .works-slider__track { grid-auto-columns: 46%; }
}
@media (min-width: 820px) {
    .works-slider__track { grid-auto-columns: 31%; }
}
@media (min-width: 1100px) {
    .works-slider__track { grid-auto-columns: 24%; gap: 16px; }
}

.works-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-soft);
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}
.works-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.works-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--surface-soft);
}

.works-card__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 12px 10px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.works-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.95);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.4;
}
.works-card__tag--b2b { background: rgba(15, 23, 42, 0.85); }

.works-card__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Slider navigation buttons (desktop) */
.works-slider__nav {
    display: none;
}
@media (min-width: 820px) {
    .works-slider__nav {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 14px;
    }
    .works-slider__btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: var(--white);
        color: var(--ink);
        font-size: 22px;
        line-height: 1;
        font-weight: 600;
        cursor: pointer;
        box-shadow: var(--shadow-card);
        transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    }
    .works-slider__btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-card-hover);
        color: var(--accent-color);
    }
}

/* ====================================================
   HERO IMAGE TAG (маленький бейдж поверх hero-фото)
   ==================================================== */
.hero__image-block { position: relative; }
.hero__image-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ====================================================
   B2B CASE — реальный кейс "ТЦ Кольцо / Читай-город"
   ==================================================== */
.b2b-case {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    padding: 20px 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.b2b-case__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.b2b-case__chip {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.b2b-case__title {
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin: 0;
}

.b2b-case__sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
    max-width: 640px;
}

.b2b-case__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 720px) {
    .b2b-case__gallery { gap: 14px; }
}

.b2b-case__shot {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    background: rgba(0, 0, 0, 0.25);
}

.b2b-case__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b2b-case__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.b2b-case__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 0 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.b2b-case__cta:hover {
    color: #ff7a92;
    border-color: #ff7a92;
}
.b2b-case__cta .material-symbols-outlined { font-size: 18px; }

/* ====================================================
   MOBILE-FIRST POLISH: prevent overflow, compact spacing
   ==================================================== */
@media (max-width: 640px) {
    .works-section { padding: 40px 0 32px; }
    .works-slider { margin: 0 -16px; padding: 4px 16px 12px; }
    .works-slider__track { grid-auto-columns: 82%; gap: 10px; }
    .b2b-case { padding: 16px 14px 18px; margin-top: 20px; }
    .b2b-case__title { font-size: 16px; }
    .b2b-case__sub { font-size: 13px; margin-bottom: 12px; }
    .b2b-case__gallery { gap: 8px; }
    .b2b-case__cap { font-size: 11px; padding: 6px 8px; }
    .hero__image-tag { font-size: 11px; padding: 5px 10px; left: 10px; bottom: 10px; }
    /* Prevent horizontal page scroll from any absolute element */
    body { overflow-x: hidden; }
    /* Tighter hero image on mobile */
    .hero__image-block { min-height: 280px; }
}

/* Avoid content getting cut under sticky header on anchor scroll */
:where(#works, #prices, #prices-b2b, #brands, #how-we-work, #why-us, #faq, #contacts) {
    scroll-margin-top: var(--anchor-scroll-offset);
}

/* ====================================================
   HERO CONTENT GALLERY
   Встроенная мини-галерея ВНУТРИ hero__container, напротив hero__content
   в правой нижней grid-ячейке. Заголовок "Наши работы" НЕ дублируется —
   полноразмерный блок уже есть ниже (#works).
   Desktop (>=901px): 2-я колонка, 2-я строка, max-width 420px.
   Tablet/Mobile (<=900px): полная ширина, идёт ПОСЛЕ hero__content.
   Без горизонтального overflow. ==================================================== */
.hero__content-gallery {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: stretch;
    max-width: 420px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    overflow: hidden;
}

.hero-gallery__item {
    position: relative;
    display: block;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    background: var(--surface-soft, #eef0f4);
    box-shadow: var(--shadow-card, 0 4px 16px rgba(0, 0, 0, 0.06));
    text-decoration: none;
    color: inherit;
    aspect-ratio: 4 / 3;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-gallery__item--lead {
    aspect-ratio: 16 / 9;
}

.hero-gallery__item:hover,
.hero-gallery__item:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover, 0 10px 28px rgba(0, 0, 0, 0.12));
    outline: none;
}

.hero-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--surface-soft, #eef0f4);
}

.hero-gallery__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px 8px;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 65%, transparent 100%);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0.1px;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .hero__content-gallery {
        max-width: 360px;
    }
}

@media (max-width: 900px) {
    .hero__content-gallery {
        grid-column: 1;
        grid-row: auto;
        order: 4;
        /* после hero__content (order: 3) */
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .hero-gallery__cap {
        font-size: 11px;
        padding: 10px 8px 6px;
    }
}

/* Yandex Rating Block */
.yandex-rating-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    max-width: 600px;
    margin: 0 auto;
    transition: box-shadow 0.2s ease;
}

.yandex-rating-block:hover {
    box-shadow: var(--shadow-card-hover);
}

.yandex-rating-block__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFCC00;
    color: #000;
    font-weight: 800;
    font-size: 24px;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.yandex-rating-block__badge svg {
    width: 24px;
    height: 24px;
}

.yandex-rating-block__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.yandex-rating-block__subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 0;
}
