@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProReg.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothaPro";
    src: url("../fonts/GothaProBol.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #315f9c;
    --blue-dark: #1d2634;
    --brand: #ad6516;
    --brand-dark: #7f4814;
    --brand-light: #f2b44e;
    --brand-rgb: 173, 101, 22;
    --brand-light-rgb: 242, 180, 78;
    --brand-selected-bg: #fff3df;
    --brand-button-surface: none;
    --brand-button-surface-hover: none;
    --brand-button-shadow: none;
    --brand-button-shadow-soft: none;
    --work-filter-active-bg: #efb44c;
    --work-filter-active-color: #1b1f27;
    --red: var(--brand);
    --red-dark: var(--brand-dark);
    --amber: #d6a944;
    --amber-dark: #8c6229;
    --amber-glow: rgba(214, 169, 68, 0.24);
    --brick: var(--brand-dark);
    --brick-light: rgba(var(--brand-rgb), 0.1);
    --wood: var(--brand);
    --wood-light: var(--brand-light);
    --wood-rgb: var(--brand-rgb);
    --wood-soft: rgba(var(--brand-rgb), 0.1);
    --wood-line: rgba(var(--brand-rgb), 0.24);
    --wood-glow: rgba(var(--brand-light-rgb), 0.24);
    --tile: #d9dde0;
    --ink: #1b1f27;
    --muted: #66707d;
    --line: #cfd4d8;
    --soft: #eceff1;
    --paper: #fbfcfc;
    --canvas: #eef1f3;
    --white: #ffffff;
    --dark: #10141b;
    --graphite: #1a2029;
    --steel: #2f3843;
    --metal: #38424d;
    --mesh: rgba(255, 255, 255, 0.045);
    --radius: 10px;
    --shadow: 0 18px 42px rgba(26, 32, 41, 0.15);
    --shadow-card: 0 14px 32px rgba(22, 26, 34, 0.06);
    --shadow-dark-card: 0 24px 58px rgba(4, 8, 14, 0.28);
    --accent-line: linear-gradient(90deg, var(--wood), var(--metal));
    --dark-grid-bg:
        repeating-linear-gradient(135deg, transparent 0, transparent 13px, rgba(255, 255, 255, 0.024) 14px),
        repeating-linear-gradient(0deg, transparent 0, transparent 58px, rgba(255, 255, 255, 0.036) 59px),
        repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(255, 255, 255, 0.03) 59px),
        linear-gradient(180deg, #11161e 0%, #1b232d 58%, #222b34 100%);
    --dark-card-bg:
        repeating-linear-gradient(135deg, transparent 0, transparent 13px, rgba(255, 255, 255, 0.026) 14px),
        repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(255, 255, 255, 0.032) 59px),
        linear-gradient(135deg, #151a22 0%, #2b333e 100%);
}

:root[data-accent="red"] {
    --brand: #f64747;
    --brand-dark: #c93434;
    --brand-light: #ff7777;
    --brand-rgb: 246, 71, 71;
    --brand-light-rgb: 255, 119, 119;
    --brand-selected-bg: #fff2f2;
    --brand-button-surface: none;
    --brand-button-surface-hover: none;
    --brand-button-shadow: none;
    --brand-button-shadow-soft: none;
    --work-filter-active-bg: var(--brand);
    --work-filter-active-color: var(--white);
}

@keyframes warm-fade-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

@keyframes industrial-grid-drift {
    from {
        background-position: 0 0, 0 0, 0 0, 0 0, center right;
    }

    to {
        background-position: 0 0, 64px 64px, -64px 0, 0 0, center right;
    }
}

@keyframes red-scan {
    0% {
        transform: translateX(-18%);
        opacity: 0.35;
    }

    50% {
        opacity: 0.88;
    }

    100% {
        transform: translateX(18%);
        opacity: 0.35;
    }
}

@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes hero-breath {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.035);
    }
}

.js-motion {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 0.62s cubic-bezier(0.2, 0.72, 0.2, 1),
        transform 0.62s cubic-bezier(0.2, 0.72, 0.2, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

.js-motion.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.section-head.js-motion h2::after {
    opacity: 0.45;
    transform: scaleX(0.45);
    transform-origin: left center;
    transition:
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(0.2, 0.72, 0.2, 1);
    transition-delay: calc(var(--motion-delay, 0ms) + 120ms);
}

.section-head.js-motion.is-visible h2::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Card hover effects: industrial/tactile feel */
.proof-bar article,
.service-card,
.shop-panel,
.intent-grid article,
.work-card,
.benefit-grid article,
.process-grid article,
.material-card,
.rating-card {
    transition:
        transform 0.25s cubic-bezier(0.2, 0.72, 0.2, 1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.proof-bar article:hover,
.service-card:hover,
.intent-grid article:hover,
.work-card:hover,
.benefit-grid article:hover,
.process-grid article:hover,
.material-card:hover,
.rating-card:hover {
    transform: translateY(-5px);
    border-color: var(--wood-line);
    box-shadow: 0 22px 54px rgba(17, 22, 30, 0.18), 0 0 0 1px rgba(var(--brand-rgb), 0.11);
}

.hero h1 {
    text-shadow: 0 0 34px var(--wood-glow);
}

/* Hard accent for section headings */
.section-head h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin-top: 14px;
    background: var(--accent-line);
    border-radius: 2px;
}

.section-head:not(.section-head--left) h2::after {
    margin-left: auto;
    margin-right: auto;
}

[hidden] {
    display: none !important;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    font-family: "GothaPro", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(251, 252, 252, 0.82), rgba(238, 241, 243, 0.9)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.035) 0 1px, transparent 1px 14px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.045) 0, rgba(26, 32, 41, 0.045) 1px, transparent 1px, transparent 96px),
        var(--canvas);
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.ui-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--graphite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(9, 12, 18, 0.24);
}

.topbar__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
    width: 210px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-left: auto;
}

.nav a,
.phone-link {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 14px;
}

.nav a:hover,
.phone-link:hover {
    color: var(--white);
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.18s cubic-bezier(0.2, 0.72, 0.2, 1),
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #f4f6f7;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    cursor: wait;
    transform: none;
}

.btn--small {
    min-height: 38px;
    padding: 0 15px;
    font-size: 13px;
}

.btn--primary {
    color: var(--white);
    border-color: var(--red);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow);
}

.btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.2) 42%, transparent 58%);
    transform: translateX(-120%);
    transition: transform 0.55s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.btn--primary:hover {
    border-color: var(--red-dark);
    background-color: var(--red-dark);
    background-image: var(--brand-button-surface-hover);
}

.btn--primary:hover::after {
    transform: translateX(120%);
}

.btn--outline {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(var(--brand-rgb), 0.38);
}

.btn--outline:hover {
    border-color: var(--red);
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.12);
}

.btn--ghost {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(var(--brand-rgb), 0.34);
}

.btn--ghost:hover {
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.14);
    border-color: rgba(var(--brand-rgb), 0.62);
}

.btn--dark {
    color: var(--white);
    background: var(--graphite);
    border: 1px solid rgba(var(--brand-rgb), 0.24);
}

.btn--dark:hover {
    background: var(--metal);
    border-color: rgba(var(--brand-rgb), 0.48);
}

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

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-color: var(--graphite);
    background-image:
        linear-gradient(105deg, rgba(12, 16, 22, 0.99) 0%, rgba(18, 23, 30, 0.94) 43%, rgba(18, 23, 30, 0.34) 74%, rgba(12, 16, 22, 0.68) 100%),
        url("../img/hero-video-poster.jpg");
    background-size: cover;
    background-position: center right;
    animation: industrial-grid-drift 18s linear infinite;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.09) 0, rgba(var(--brand-rgb), 0) 230px),
        repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.028) 13px),
        repeating-linear-gradient(0deg, transparent 0, transparent 62px, rgba(255, 255, 255, 0.035) 63px),
        repeating-linear-gradient(90deg, transparent 0, transparent 62px, rgba(255, 255, 255, 0.028) 63px),
        linear-gradient(90deg, rgba(16, 20, 27, 0) 48%, rgba(16, 20, 27, 0.18) 100%),
        linear-gradient(0deg, rgba(16, 20, 27, 0.32), rgba(16, 20, 27, 0));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    pointer-events: none;
    background:
        var(--accent-line),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 34px);
    box-shadow: 0 -18px 46px rgba(var(--brand-rgb), 0.18);
    animation: red-scan 4.5s ease-in-out infinite alternate;
}


.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: brightness(0.70);
    z-index: 0;
    transform-origin: center;
    animation: hero-breath 16s ease-in-out infinite alternate;
}

.hero__video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: 
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.08) 0, rgba(var(--brand-rgb), 0) 230px),
    repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.02) 13px),
    repeating-linear-gradient(0deg, transparent 0, transparent 62px, rgba(255, 255, 255, 0.025) 63px),
    repeating-linear-gradient(90deg, transparent 0, transparent 62px, rgba(255, 255, 255, 0.02) 63px),
    linear-gradient(105deg, 
        rgba(12, 16, 22, 0.96) 0%, 
        rgba(14, 18, 24, 0.88) 34%, 
        rgba(18, 23, 30, 0.48) 56%, 
        rgba(18, 23, 30, 0.22) 74%, 
        rgba(12, 16, 22, 0.46) 100%
    ),
    linear-gradient(90deg, rgba(16, 20, 27, 0) 48%, rgba(16, 20, 27, 0.15) 100%),
    linear-gradient(0deg, rgba(16, 20, 27, 0.25), rgba(16, 20, 27, 0));
}


.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 54px;
    padding: 78px 0 58px;
}

.hero__content {
    max-width: 760px;
    animation: warm-fade-in 0.65s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(var(--brand-rgb), 0.08);
    text-transform: uppercase;
}

.eyebrow::before {
    content: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5.4vw, 68px);
    line-height: 1;
    letter-spacing: 0;
}

.nowrap {
    white-space: nowrap;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: 0;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero__lead {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.hero__trust {
    max-width: 660px;
    margin-bottom: 22px;
    padding-left: 16px;
    color: rgba(255, 255, 255, 0.82);
    border-left: 4px solid var(--wood);
    font-size: 16px;
    font-weight: 700;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0;
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 840px;
}

@media (min-width: 900px) {
    .hero__facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hero-fact {
    min-height: 102px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(18, 23, 30, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    animation: card-rise 0.58s ease both;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-fact:nth-child(2) {
    animation-delay: 0.08s;
}

.hero-fact:nth-child(3) {
    animation-delay: 0.16s;
}

.hero-fact:nth-child(4) {
    animation-delay: 0.24s;
}

.hero-fact svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.hero-fact span {
    color: var(--white);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25;
}

.lead-card,
.modal__dialog {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(207, 212, 216, 0.95);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.06), rgba(255, 255, 255, 0) 40%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.025) 0 1px, transparent 1px 12px),
        var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.lead-card {
    animation: card-rise 0.7s ease 0.12s both;
}

.lead-card::before,
.modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--accent-line);
}

.lead-card__title {
    margin-bottom: 8px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
}

.lead-card p,
.modal__dialog p {
    color: var(--muted);
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

label span,
.field-title {
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7f9fa;
    min-height: 48px;
    padding: 0 14px;
    color: var(--ink);
    outline: none;
}

textarea {
    min-height: 96px;
    padding: 12px 14px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--wood);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.13);
}

small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

small a {
    color: var(--brick);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    color: var(--brick);
    font-size: 14px;
    font-weight: 700;
}

.form-status.is-error {
    color: var(--red);
}

.proof-bar {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    background:
        linear-gradient(180deg, rgba(17, 21, 28, 0) 0%, var(--canvas) 58%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.04) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.045) 0 1px, transparent 1px 96px);
}

.proof-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.proof-bar article {
    position: relative;
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.06), rgba(255, 255, 255, 0) 46%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.025) 0 1px, transparent 1px 13px),
        var(--white);
    box-shadow: 0 18px 40px rgba(22, 26, 34, 0.08);
    overflow: hidden;
}

.proof-bar article::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--accent-line);
}

.proof-card__icon,
.intent-grid__icon,
.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--wood);
    background: var(--wood-soft);
}

.proof-card__icon {
    margin-bottom: 18px;
}

.proof-card__head {
    position: relative;
    z-index: 2;
}

.proof-bar article .proof-card__icon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 72px;
    height: 72px;
    background: none;
    box-shadow: var(--brand-button-shadow-soft);
    color: var(--wood);
    opacity: 0.1;
    transform: rotate(15deg);
    margin: 0;
    z-index: 1;
}

.proof-bar article .proof-card__icon .ui-icon, 
.intent-grid__icon .ui-icon {
    width: 100%;
    height: 100%;
}

.proof-bar span,
.proof-bar b,
.proof-bar p {
    display: block;
}

.proof-bar span {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    color: var(--wood);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-bar b {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
}

.proof-bar p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 86px 0;
}

.section--light {
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.94), rgba(232, 236, 239, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.045) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.04) 0 1px, transparent 1px 96px),
        var(--canvas);
}

.section--dark {
    position: relative;
    overflow: hidden;
    background: var(--dark-grid-bg);
    color: var(--white);
}

.section--dark h2,
.section--dark h3 {
    text-shadow: 0 0 40px rgba(var(--brand-rgb), 0.16);
}

.section--accent {
    position: relative;
    overflow: hidden;
    background: var(--dark-grid-bg);
    color: var(--white);
}

.section--lounge {
    position: relative;
    overflow: hidden;
    background: var(--dark-grid-bg);
    color: var(--white);
}

.section--lounge .split {
    position: relative;
    z-index: 1;
    align-items: center;
}

.section--lounge .eyebrow {
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.14);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.18);
}

.benefit-icon .ui-icon {
    width: 23px;
    height: 23px;
}

.section--lounge h2 {
    color: var(--white);
    text-shadow: 0 0 38px rgba(var(--brand-light-rgb), 0.16);
}

.section--dark::after,
.section--accent::after,
.section--lounge::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.92), rgba(47, 56, 67, 0.9), rgba(49, 95, 156, 0.5));
    opacity: 0.55;
}

.faq-section {
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.95), rgba(232, 236, 239, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.045) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.04) 0 1px, transparent 1px 96px),
        var(--canvas);
    color: var(--ink);
}

.faq-section::after {
    display: none;
}

.search-intents {
    padding-bottom: 32px;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}

.section--dark .section-head p,
.section--accent p,
.section--lounge p {
    color: rgba(255, 255, 255, 0.74);
}

.calc {
    position: relative;
    display: grid;
    gap: 24px;
}

.anchor-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    scroll-margin-top: 92px;
}

.calc > .section-head {
    margin-bottom: 0;
}

.calc__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(251, 252, 252, 0.95), rgba(247, 249, 250, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.032) 0 1px, transparent 1px 14px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.03) 0 1px, transparent 1px 96px);
    box-shadow: 0 20px 52px rgba(22, 26, 34, 0.1);
}

.calc__controls {
    display: grid;
    gap: 16px;
}

.calc__work {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.calc-zones-intro {
    display: grid;
    gap: 8px;
    padding: 4px 2px 2px;
}

.calc-zones-intro h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.calc-zones-intro p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.calc__setup {
    display: grid;
    gap: 12px;
}

.calc__setup label {
    margin-bottom: 0;
}

.calc-step {
    padding: 14px;
    border: 1px solid rgba(47, 56, 67, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.calc-step__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.calc-step__title small {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--wood);
    font-size: 12px;
    font-weight: 700;
}

.calc-step__title b {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
}

.calc__zones-group {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(47, 56, 67, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.calc__zones-head {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    padding: 0 2px;
}

.calc__zones-head .calc-step__title {
    margin-bottom: 0;
}

.calc__zones-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.calc__choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 414px;
    align-content: start;
}

.calc-quality-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--wood-line);
    border-radius: var(--radius);
    background: rgba(var(--brand-rgb), 0.06);
}

.calc-quality-note b {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.25;
}

.calc-quality-note span {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.calc__choice--packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    align-items: stretch;
}

.calc-complex {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 250, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.026) 0 1px, transparent 1px 14px);
    box-shadow: 0 18px 46px rgba(22, 26, 34, 0.08);
}

.calc-complex__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.calc-complex__head h3 {
    margin: 4px 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.calc-complex__head p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.calc-complex__grid {
    min-height: 0;
}

.calc-complex__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(47, 56, 67, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(26, 32, 41, 0.94), rgba(47, 56, 67, 0.94)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
    color: var(--white);
}

.calc-complex__cta div {
    display: grid;
    gap: 4px;
}

.calc-complex__cta b {
    font-size: 17px;
    line-height: 1.2;
}

.calc-complex__cta span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.35;
}

.calc-complex__cta .btn {
    flex: 0 0 auto;
}

.check-card {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7f9fa;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.check-card:has(input:checked) {
    border-color: rgba(var(--brand-rgb), 0.78);
    background: var(--brand-selected-bg);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
}

.check-card input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--red);
}

.calc-zone-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    min-height: 96px;
    padding: 10px;
    overflow: hidden;
}

.calc-zone-card input {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}

.calc-zone-card__media {
    position: relative;
    display: block;
    width: 96px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #dfe5ea;
}

.calc-zone-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calc-zone-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.06), rgba(10, 14, 20, 0.34));
}

.calc-zone-card__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.calc-zone-card__copy b {
    color: var(--ink);
    line-height: 1.15;
}

.calc-zone-card__copy small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
}

.check-card b,
.check-card small {
    display: block;
    margin: 0;
}

.check-card small {
    color: var(--muted);
}

.package-choice-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "media media"
        "head meta"
        "note note"
        "features features"
        "button button";
    align-items: start;
    align-content: start;
    gap: 10px 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7f9fa;
    min-width: 0;
}

.package-choice-card__media {
    position: relative;
    grid-area: media;
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #dfe5ea;
}

.package-choice-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-choice-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.02), rgba(10, 14, 20, 0.18));
    pointer-events: none;
}

.package-choice-card__head {
    grid-area: head;
    display: grid;
    gap: 10px;
}

.package-choice-card__head > span:last-child {
    display: grid;
    gap: 3px;
}

.package-choice-card__head b {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.15;
}

.package-choice-card__head small {
    color: #667085;
    font-size: 12px;
    line-height: 1.25;
}

.package-choice-card__for {
    grid-area: note;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.package-choice-card__price {
    grid-area: meta;
    justify-self: end;
    align-self: start;
    display: grid;
    justify-items: end;
    gap: 5px;
}

.package-choice-card__price strong {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.08;
    white-space: nowrap;
}

.package-choice-card__price em {
    width: fit-content;
    padding: 5px 8px;
    border-radius: 999px;
    color: #3f4852;
    background: #e9edf0;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.package-choice-card__features {
    grid-area: features;
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.package-choice-card__features li {
    position: relative;
    padding-left: 17px;
    color: #344054;
    font-size: 12.5px;
    line-height: 1.32;
}

.package-choice-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wood);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.13);
}

.package-choice-card__select {
    grid-area: button;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    align-self: end;
    justify-self: end;
    width: min(100%, 210px);
    margin-top: 0;
    padding: 0 18px;
    border: 1px solid var(--red);
    border-radius: 8px;
    color: var(--white);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow-soft);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
}

.package-choice-card__select:hover {
    border-color: var(--red-dark);
    background-color: var(--red-dark);
    background-image: var(--brand-button-surface-hover);
}

.calc__result {
    position: sticky;
    top: 92px;
    align-self: start;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--dark-card-bg);
    color: var(--white);
    border: 1px solid rgba(var(--brand-rgb), 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calc__result-head {
    display: grid;
    gap: 12px;
}

.calc__result-head span {
    order: -1;
    justify-self: start;
    flex: 0 0 auto;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.calc__caption {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
}

.calc__price {
    margin: 8px 0 12px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    white-space: nowrap;
}

.calc__result p {
    min-height: 72px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.calc__detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.calc__detail span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 700;
}

.calc__detail b {
    color: var(--white);
    font-size: 15px;
    line-height: 1.2;
    text-align: right;
}

.calc__included {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.calc__included span {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.35;
}

.calc__included span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wood-light);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18);
}

.calc__note {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.45;
}

.promo-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.98), rgba(255, 250, 242, 0.42) 48%, rgba(238, 241, 243, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.045) 0 1px, transparent 1px 16px),
        var(--canvas);
    color: var(--ink);
}

.promo-section::before {
    content: "";
    position: absolute;
    inset: 18px 0 auto;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.2), transparent);
    opacity: 0.72;
}

.promo-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.95), rgba(49, 95, 156, 0.72), rgba(47, 56, 67, 0.86));
    opacity: 0.62;
}

.promo-offer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    border-radius: var(--radius);
    background: var(--dark-grid-bg);
}

.promo-offer__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 38px;
}

.promo-offer__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.promo-offer__copy .eyebrow {
    margin-bottom: 0;
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.2);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-light-rgb), 0.16);
}

.promo-offer h2 {
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(34px, 4.2vw, 52px);
    text-shadow: 0 0 34px rgba(var(--brand-light-rgb), 0.14);
}

.promo-offer p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
}

.promo-offer__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.promo-offer__brands span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promo-offer__media {
    min-height: 320px;
    background: #172233;
}

.promo-offer__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.is-hidden {
    display: none !important;
}

.intent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.intent-grid article {
    position: relative;
    display: grid;
    min-height: 218px;
    padding: 20px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.06), rgba(255, 255, 255, 0) 46%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.025) 0 1px, transparent 1px 13px),
        var(--white);
    box-shadow: 0 18px 40px rgba(22, 26, 34, 0.08);
    overflow: hidden;
}

.intent-grid article::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--accent-line);
}

.intent-grid__icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 72px;
    height: 72px;
    margin: 0;
    background: none;
    box-shadow: none;
    color: var(--wood);
    opacity: 0.06;
    transform: rotate(15deg);
    z-index: 1;
}

.intent-grid__media {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    margin: 2px 0 0;
    grid-row: 1 / span 2;
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    border-radius: 50%;
    background: #fffaf4;
    box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.1);
    overflow: hidden;
}

.intent-grid__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intent-grid h3,
.intent-grid p {
    position: relative;
    z-index: 2;
}

.intent-grid h3 {
    margin-top: 0;
    margin-bottom: 2px;
}

.intent-grid p {
    margin: 0;
    color: var(--muted);
}

.work-card,
.benefit-grid article,
.process-grid article,
.rating-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.62), rgba(255, 255, 255, 0) 42%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.024) 0 1px, transparent 1px 13px),
        var(--white);
    box-shadow: var(--shadow-card);
}

.work-card::after,
.process-grid article::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent-line);
}

.benefit-icon .ui-icon,
.proof-card__icon .ui-icon {
    width: 21px;
    height: 21px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-row span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #e9edf0;
    color: #3f4852;
    font-size: 12px;
    font-weight: 700;
}

.link-button {
    margin-top: 16px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(var(--brand-rgb), 0.42);
    border-radius: var(--radius);
    color: var(--red);
    background: rgba(var(--brand-rgb), 0.06);
    cursor: pointer;
    font-weight: 700;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.link-button:hover {
    color: var(--white);
    border-color: var(--red);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow-soft);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 42px;
}

.split p {
    color: var(--muted);
    font-size: 18px;
}

.section--dark .split p,
.section--accent .split p {
    color: rgba(255, 255, 255, 0.74);
}

.materials-section {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.materials-section > * {
    min-width: 0;
}

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

.material-grid article {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
    padding: 28px;
    border: 1px solid rgba(var(--brand-rgb), 0.2);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.12), rgba(var(--brand-rgb), 0.025)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 13px),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(var(--brand-rgb), 0.1);
}

.material-grid article::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--accent-line);
}

.material-grid span,
.material-grid b {
    display: block;
}

.material-grid span {
    color: var(--wood-light);
    font-size: 28px;
    font-weight: 700;
}

.material-grid b {
    color: var(--white);
    font-size: 17px;
    line-height: 1.3;
}

.material-grid p {
    margin: 0;
}

.material-grid ul {
    display: grid;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    list-style: none;
}

.material-grid li {
    position: relative;
    padding-left: 18px;
}

.material-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wood-light);
}

.material-brand-logo {
    display: flex;
    align-items: center;
    width: min(100%, 260px);
    min-height: 64px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.material-brand-logo img {
    width: 100%;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
}

.material-showcase {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(255, 255, 255, 0.02);
}

.material-showcase__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 24%);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(var(--brand-rgb), 0.62) rgba(255, 255, 255, 0.08);
}

.material-showcase__item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    scroll-snap-align: start;
}

.material-showcase__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 22, 0), rgba(12, 16, 22, 0.18));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.material-showcase__item:hover::after {
    opacity: 1;
}

.material-showcase__item:focus-visible {
    outline: 2px solid var(--wood-light);
    outline-offset: 3px;
}

.material-showcase__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.material-showcase__item:hover img {
    transform: scale(1.03);
}

.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.catalog-head .section-head {
    margin-bottom: 0;
}

.catalog-nav {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.catalog-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--graphite);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.08), rgba(255, 255, 255, 0)),
        var(--white);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(26, 29, 35, 0.06);
    transition: all 0.2s ease;
}

.catalog-nav button .ui-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.catalog-nav button:hover {
    color: var(--white);
    border-color: var(--graphite);
    background: var(--graphite);
}

.catalog-rail {
    margin: 0 calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding: 0 calc((100vw - min(1180px, calc(100vw - 32px))) / 2) 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.catalog-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(292px, 360px);
    gap: 18px;
    width: max-content;
    max-width: none;
}

.material-card {
    display: grid;
    grid-template-rows: 188px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.68), rgba(255, 255, 255, 0) 46%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.024) 0 1px, transparent 1px 13px),
        var(--white);
    scroll-snap-align: start;
    box-shadow: var(--shadow-card);
}

.material-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 188px;
    padding: 0;
    border: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(207, 212, 216, 0.9);
    cursor: pointer;
    font: inherit;
}

.material-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.22s ease;
}

.material-card__visual:hover img {
    transform: scale(1.035);
}

.material-card__visual span {
    color: var(--graphite);
    font-size: 34px;
    font-weight: 700;
}

.material-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.material-card h3 {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.18;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.material-card p {
    color: var(--muted);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.material-card small {
    margin-top: 0;
}

.material-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.material-card__bottom strong {
    color: var(--ink);
    font-size: 18px;
}

.material-card__link {
    padding: 0;
    border: 0;
    color: var(--brick);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.material-card__link:hover {
    color: var(--brand);
}

.catalog-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--dark-card-bg);
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    box-shadow: 0 18px 42px rgba(22, 26, 34, 0.12);
}

.catalog-cta b,
.catalog-cta span {
    display: block;
}

.catalog-cta span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
}

.benefits {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 42px;
    align-items: start;
}

.benefits .section-head {
    position: sticky;
    top: 96px;
}

.benefits .section-head p {
    max-width: 420px;
    margin: 0;
}

.benefits__cta {
    margin-top: 22px;
}

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

.benefit-grid article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 6px 14px;
    align-items: start;
    min-height: 160px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(var(--brand-rgb), 0.08), rgba(255, 255, 255, 0) 48%),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.018) 0 1px, transparent 1px 13px),
        var(--white);
    box-shadow: 0 16px 36px rgba(22, 26, 34, 0.07);
}

.benefit-grid article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.92), rgba(var(--brand-light-rgb), 0.46), rgba(47, 56, 67, 0.38));
}

.benefit-grid article::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(var(--brand-light-rgb), 0.22), rgba(var(--brand-rgb), 0.08) 58%, transparent 60%);
}

.benefit-grid b,
.benefit-grid span {
    display: block;
    position: relative;
    z-index: 2;
}

.benefit-icon {
    position: relative;
    z-index: 2;
    grid-row: 1 / span 2;
    margin: 0;
    width: 52px;
    height: 52px;
    color: var(--brand-dark);
    background:
        linear-gradient(180deg, rgba(var(--brand-light-rgb), 0.24), rgba(var(--brand-rgb), 0.1)),
        var(--white);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.2), 0 10px 18px rgba(var(--brand-rgb), 0.1);
}

.benefit-icon .ui-icon {
    width: 23px;
    height: 23px;
}

.benefit-grid b {
    margin: 2px 0 0;
    font-size: 19px;
    line-height: 1.14;
}

.benefit-grid span {
    color: var(--muted);
    line-height: 1.42;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

.filters button {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    min-height: 42px;
    padding: 0 16px;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.72), rgba(255, 255, 255, 0)),
        var(--white);
    cursor: pointer;
    font-weight: 700;
}

.filters button.active {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    border-color: var(--red);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
}

#workFilters button {
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

#workFilters button:hover {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    border-color: var(--wood-line);
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.14), rgba(255, 255, 255, 0)),
        var(--white);
}

#workFilters button.active {
    color: var(--work-filter-active-color);
    -webkit-text-fill-color: var(--work-filter-active-color);
    border-color: var(--work-filter-active-bg);
    background-color: var(--work-filter-active-bg);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow-soft);
}

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

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Media block — фиксированная высота для всех вариантов коллажа */
.work-card__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 260px; /* одна высота для 2, 3 и 4 фото */
}

/* Коллаж 3 фото: левое занимает всю высоту, два правых делят пополам */
.work-card__media--collage.work-card__media--count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.work-card__media--collage.work-card__media--count-3 .image-button:first-child {
    grid-row: 1 / 3;
}

/* Коллаж 4 фото: сетка 2×2 */
.work-card__media--collage.work-card__media--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

/* Коллаж 5 фото: база 6 колонок — верх 3 × span-2, низ 2 × span-3 (без пустых мест) */
.work-card__media--collage.work-card__media--count-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.work-card__media--collage.work-card__media--count-5 .image-button:nth-child(1),
.work-card__media--collage.work-card__media--count-5 .image-button:nth-child(2),
.work-card__media--collage.work-card__media--count-5 .image-button:nth-child(3) {
    grid-column: span 2;
}

.work-card__media--collage.work-card__media--count-5 .image-button:nth-child(4),
.work-card__media--collage.work-card__media--count-5 .image-button:nth-child(5) {
    grid-column: span 3;
}

/* Коллаж 6 фото: 3×2 равные ячейки */
.work-card__media--collage.work-card__media--count-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

/* Все кнопки и картинки заполняют ячейку целиком */
.image-button {
    display: block;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    background: var(--dark);
    /* растягиваем на всю ячейку грида */
    min-height: 0;
}

.image-button img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset; /* убираем фиксированный aspect-ratio — высоту держит грид */
    object-fit: cover;
    transition: transform 0.25s ease;
}

.image-button:hover img {
    transform: scale(1.04);
}

.work-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.work-card__estimate {
    margin-bottom: 2px;
}

.work-card__estimate span:first-child {
    color: var(--white);
    background: var(--graphite);
}

.work-card h3 {
    margin-bottom: 0;
}

.work-card__car {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 9px;
    max-width: 100%;
    min-height: 40px;
    padding-top: 2px;
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.18;
}

.work-card__car-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    border-radius: 50%;
    color: var(--wood);
    background: rgba(var(--brand-rgb), 0.08);
    flex: 0 0 auto;
}

.work-card__car-icon .ui-icon {
    width: 17px;
    height: 17px;
}

.work-card__car-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.work-card__car-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.work-card__car-model {
    color: var(--ink);
    overflow-wrap: anywhere;
}

.work-card p:not(.work-card__car) {
    color: var(--muted);
}

.work-card .link-button {
    align-self: flex-start;
    margin-top: auto;
}

.works-more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.works-more[hidden] {
    display: none;
}

.works-more .btn {
    min-width: 220px;
    color: var(--work-filter-active-color);
    border-color: var(--work-filter-active-bg);
    background-color: var(--work-filter-active-bg);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow-soft);
}

.works-more .btn:hover {
    border-color: var(--brick);
    color: var(--white);
    background-color: var(--brick);
    background-image: var(--brand-button-surface-hover);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-grid article {
    position: relative;
    overflow: hidden;
    padding: 22px;
    text-align: center;
}

.process-grid img {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
}

.process-grid b,
.process-grid span {
    display: block;
}

.process-grid b {
    margin-bottom: 8px;
    font-size: 18px;
}

.process-grid span {
    color: var(--muted);
    font-size: 14px;
}

.reviews {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 34px;
    align-items: center;
}

.reviews-section {
    position: relative;
    overflow: hidden;
    background: var(--dark-grid-bg);
    color: var(--white);
}

.reviews-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.95), rgba(47, 56, 67, 0.9), rgba(49, 95, 156, 0.5));
    opacity: 0.55;
}

.reviews-section .container {
    position: relative;
    z-index: 1;
}

.reviews-section .eyebrow {
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.16);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.22);
}

.reviews-section h2 {
    color: var(--white);
}

.reviews-section .section-head p {
    color: rgba(255, 255, 255, 0.74);
}

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

.rating-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.rating-card::after {
    content: "★";
    position: absolute;
    right: 18px;
    top: 12px;
    color: rgba(var(--brand-rgb), 0.16);
    font-size: 62px;
    line-height: 1;
    z-index: 0;
}

.rating-card__logo,
.rating-card small,
.rating-card em {
    position: relative;
    z-index: 1;
    display: block;
}

.rating-card__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 42px;
    padding: 7px 12px 7px 7px;
    border-radius: 999px;
    background: rgba(238, 241, 243, 0.86);
    box-shadow: inset 0 0 0 1px rgba(207, 212, 216, 0.9);
}

.rating-card__logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.rating-card__logo b {
    font-size: 15px;
}

.rating-card strong {
    display: block;
    margin: 22px 0 8px;
    color: var(--wood);
    font-size: 56px;
    line-height: 1;
}

.rating-card small {
    color: var(--muted);
    font-weight: 700;
}

.rating-card em {
    margin-top: 20px;
    margin-bottom: 18px;
    color: #475467;
    font-style: normal;
    font-size: 13px;
}

.rating-card__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    margin-top: auto;
    padding: 0 14px 0 16px;
    border: 1px solid rgba(var(--brand-rgb), 0.92);
    border-radius: var(--radius);
    color: var(--white);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rating-card__cta .ui-icon {
    width: 18px;
    height: 18px;
}

.rating-card:hover .rating-card__cta {
    border-color: var(--graphite);
    color: var(--white);
    background: var(--graphite);
}

.reviews-section .rating-card {
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--white);
    background: var(--dark-card-bg);
    box-shadow: var(--shadow-dark-card);
}

.reviews-section .rating-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent-line);
}

.reviews-section .rating-card::after {
    color: rgba(var(--brand-rgb), 0.22);
}

.reviews-section .rating-card__logo {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.reviews-section .rating-card strong {
    margin-bottom: 6px;
    color: var(--wood-light);
    font-size: 70px;
    text-shadow: 0 0 24px rgba(var(--brand-light-rgb), 0.18);
}

.rating-card__stars {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: var(--amber);
    font-size: 20px;
    letter-spacing: 1px;
}

.rating-card__mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.28);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-light-rgb), 0.22);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.rating-card__mark span {
    white-space: nowrap;
}

.rating-card__mark img {
    flex: 0 0 auto;
    display: block;
    width: 28px;
    height: 16px;
    object-fit: contain;
}

.reviews-section .rating-card small,
.reviews-section .rating-card em {
    color: rgba(255, 255, 255, 0.74);
}

.reviews-section .rating-card:hover .rating-card__cta {
    border-color: var(--white);
    color: var(--ink);
    background: var(--white);
}

.faq {
    max-width: 940px;
}

.faq details {
    margin-top: 12px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 252, 252, 0.98)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.024) 0 1px, transparent 1px 13px);
    box-shadow: var(--shadow-card);
}

.faq details:first-of-type {
    margin-top: 0;
}

.faq summary {
    cursor: pointer;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
}

.faq details p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--muted);
}

.contacts__grid {
    display: grid;
    gap: 22px;
}

.contacts {
    padding: 72px 0;
    background:
        linear-gradient(180deg, rgba(251, 252, 252, 0.9), rgba(238, 241, 243, 0.96)),
        repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.04) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(90deg, rgba(26, 32, 41, 0.04) 0 1px, transparent 1px 96px),
        var(--canvas);
}

.contacts h2 {
    max-width: 680px;
    font-size: clamp(31px, 3.25vw, 42px);
    line-height: 1.04;
}

.contacts p {
    max-width: 700px;
}

.contacts__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 30px;
    align-items: end;
}

.contacts__copy p {
    margin-bottom: 0;
}

.contacts__panel {
    position: relative;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--dark-card-bg);
    box-shadow: 0 14px 32px rgba(22, 26, 34, 0.12);
    overflow: hidden;
}

.contacts__panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent-line);
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 0 22px;
}

.contact-list a {
    width: 100%;
    color: var(--white);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.1;
    margin-bottom: 4px;
}

.contact-list span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
}

.contacts__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contacts__route {
    grid-column: 1 / -1;
}

.contacts .btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.contacts .btn--outline:hover {
    color: var(--white);
    border-color: rgba(var(--brand-light-rgb), 0.82);
    background: rgba(var(--brand-rgb), 0.22);
}

.contacts__media {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.map {
    width: 100%;
    height: 390px;
    min-height: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--soft);
    box-shadow: 0 12px 30px rgba(22, 26, 34, 0.1);
}

.contacts__map-mobile {
    display: none;
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(var(--brand-rgb), 0.18);
}

.footer__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
}

.footer__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer a {
    color: var(--white);
}

.footer__call {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(var(--brand-rgb), 0.44);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.12);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer__call:hover {
    border-color: var(--red);
    background: rgba(var(--brand-rgb), 0.2);
}

.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: none;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    gap: 8px;
    background: rgba(26, 29, 35, 0.96);
}

.mobile-bar a,
.mobile-bar button {
    min-height: 46px;
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--metal);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-bar button {
    color: var(--white);
    background-color: var(--red);
    background-image: var(--brand-button-surface);
    box-shadow: var(--brand-button-shadow-soft);
}

.modal,
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.modal.is-open,
.image-modal.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 18, 0.72);
}

.modal__dialog {
    position: relative;
    width: min(440px, calc(100% - 28px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 20px auto;
}

.modal__close,
.image-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(13, 20, 32, 0.74);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.modal__dialog .modal__close {
    color: var(--ink);
    background: var(--soft);
}

.image-modal {
    background: rgba(7, 10, 18, 0.88);
}

.image-modal img {
    width: min(1000px, calc(100% - 30px));
    max-height: calc(100vh - 80px);
    object-fit: contain;
    margin: 40px auto;
    border-radius: var(--radius);
}

.material-modal__dialog {
    position: relative;
    width: min(1040px, calc(100% - 28px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 20px auto;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 28px 80px rgba(4, 8, 14, 0.34);
}

.material-modal__dialog .modal__close {
    color: var(--ink);
    background: var(--soft);
}

.material-modal__top {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: stretch;
}

.material-modal__media {
    min-width: 0;
}

.material-modal__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(238, 241, 243, 0.52), rgba(255, 255, 255, 0)),
        var(--white);
}

.material-modal__image img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    padding: 14px;
}

.material-modal__image img[hidden],
.material-modal__image span[hidden] {
    display: none !important;
}

.material-modal__image span {
    color: var(--graphite);
    font-size: 34px;
    font-weight: 700;
}

.material-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.material-modal__thumbs[hidden] {
    display: none;
}

.material-modal__thumb {
    height: 62px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.material-modal__thumb.is-active {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.22);
}

.material-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.material-modal__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: 8px 38px 8px 0;
}

.material-modal__actions {
    display: grid;
    gap: 10px;
}

.material-modal__summary h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
}

.material-modal__price {
    color: var(--brand-dark);
    font-size: 26px;
    line-height: 1.1;
}

.material-modal__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
    gap: 22px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.material-modal__description {
    min-width: 0;
    color: var(--muted);
    line-height: 1.55;
}

.material-modal__description h4,
.material-modal__description h5 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.2;
}

.material-modal__description p,
.material-modal__description ul,
.material-modal__description ol {
    margin: 0 0 12px;
}

.material-modal__description ul,
.material-modal__description ol {
    padding-left: 20px;
}

.material-modal__description li + li {
    margin-top: 5px;
}

.material-modal__aside h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
}

.material-modal__specs {
    display: grid;
    grid-template-columns: minmax(140px, 0.46fr) minmax(0, 1fr);
    gap: 9px 14px;
    margin: 2px 0 4px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--soft);
}

.material-modal__specs dt {
    color: var(--muted);
    font-size: 13px;
}

.material-modal__specs dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .hero__grid,
    .calc__panel,
    .split,
    .promo-offer,
    .benefits,
    .reviews,
    .contacts__intro,
    .contacts__media {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .lead-card {
        max-width: 520px;
    }

    .work-grid,
    .intent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid,
    .proof-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    body {
        padding-bottom: 64px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar__inner {
        min-height: 62px;
    }

    .logo {
        width: 170px;
    }

    .topbar__actions .btn {
        display: none;
    }

    .phone-link {
        font-size: 0;
    }

    .phone-link::after {
        content: "Позвонить";
        font-size: 13px;
    }

    .hero__grid {
        gap: 28px;
        padding: 44px 0 36px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 31px;
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__facts,
    .work-grid,
    .process-grid,
    .review-grid,
    .benefit-grid,
    .material-grid,
    .intent-grid,
    .calc__choice,
    .proof-bar__grid {
        grid-template-columns: 1fr;
    }

    .catalog-head {
        display: grid;
        align-items: start;
    }

    .catalog-rail {
        margin: 0 -12px;
        padding: 0 12px 10px;
    }

    .catalog-track {
        grid-auto-columns: minmax(278px, 86vw);
    }

    .material-modal__top,
    .material-modal__details {
        grid-template-columns: 1fr;
    }

    .material-modal__summary {
        padding-right: 0;
    }

    .material-modal__image {
        min-height: 280px;
    }

    .material-modal__image img {
        max-height: 280px;
    }

    .proof-bar {
        margin-top: 0;
        padding: 18px 0 0;
        background: var(--soft);
    }

    .proof-bar article {
        min-height: auto;
    }

    .section {
        padding: 62px 0;
    }

    .section-head {
        text-align: left;
    }

    .calc__panel,
    .lead-card,
    .modal__dialog {
        padding: 20px;
    }

    .calc__result p {
        min-height: auto;
    }

    .contacts__actions,
    .hero__cta,
    .catalog-cta {
        display: grid;
    }

    .contacts__actions .btn,
    .hero__cta .btn,
    .catalog-cta .btn {
        width: 100%;
    }

    .contacts__intro {
        gap: 18px;
    }

    .contacts__panel {
        padding: 18px;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }

    .map {
        height: 360px;
        max-height: none;
        min-height: 320px;
    }

    .contacts__entrance {
        height: 300px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 18px 0;
    }

    .footer__actions {
        display: grid;
        gap: 12px;
    }

    .footer__call {
        display: none;
    }

    .mobile-bar {
        display: grid;
    }
}

.relaxation-area__content {
    max-width: 620px;
}

.relaxation-area__image {
    position: relative;
}


.relaxation-area__image img {
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 320px;
    object-fit: cover;
}

.section--lounge .relaxation-area__image img {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 58px rgba(5, 8, 14, 0.34);
}

.contacts__entrance {
    position: relative;
    height: 390px;
    border: 1px solid rgba(207, 212, 216, 0.9);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(22, 26, 34, 0.1);
}

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

.contacts__entrance-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .map--desktop {
        display: none;
    }

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

    .contacts__entrance {
        order: -1;
        height: 320px;
    }

    .contacts__map-mobile {
        display: block;
    }

    .contacts__map-mobile summary {
        position: relative;
        display: grid;
        grid-template-columns: 34px 1fr 28px;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid rgba(26, 32, 41, 0.12);
        border-radius: var(--radius);
        color: var(--ink);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 249, 250, 0.84)),
            repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.02) 0 1px, transparent 1px 13px);
        box-shadow: none;
        cursor: pointer;
        font-weight: 700;
        list-style: none;
        overflow: hidden;
    }

    .contacts__map-mobile summary::before {
        content: none;
    }

    .contacts__map-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: var(--radius);
        color: var(--wood);
        background: rgba(var(--brand-rgb), 0.08);
        box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.13);
    }

    .contacts__map-icon .ui-icon {
        width: 18px;
        height: 18px;
    }

    .contacts__map-text {
        min-width: 0;
    }

    .contacts__map-text b,
    .contacts__map-text small {
        display: block;
    }

    .contacts__map-text b {
        color: var(--ink);
        line-height: 1.1;
        font-size: 14px;
    }

    .contacts__map-text small {
        margin-top: 3px;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.25;
    }

    .contacts__map-mobile summary::-webkit-details-marker {
        display: none;
    }

    .contacts__map-toggle {
        position: relative;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(var(--brand-rgb), 0.1);
        box-shadow: none;
    }

    .contacts__map-toggle::before,
    .contacts__map-toggle::after {
        content: "+";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--wood);
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .contacts__map-toggle::after {
        content: "−";
        opacity: 0;
        transform: rotate(-90deg);
    }

    .contacts__map-mobile[open] .contacts__map-toggle::before {
        opacity: 0;
        transform: rotate(90deg);
    }

    .contacts__map-mobile[open] .contacts__map-toggle::after {
        opacity: 1;
        transform: rotate(0deg);
    }

    .contacts__map-mobile .map {
        margin-top: 10px;
    }
}

@media (max-width: 920px) {
    .topbar__inner {
        min-height: 60px;
        gap: 14px;
    }

    .logo {
        width: 178px;
    }

    .topbar__actions {
        margin-left: auto;
    }

    .topbar__actions .btn {
        display: none;
    }

    .phone-link {
        min-height: 38px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        border: 1px solid rgba(var(--brand-rgb), 0.34);
        border-radius: var(--radius);
        background: rgba(var(--brand-rgb), 0.1);
        font-size: 13px;
        font-weight: 700;
    }

    .hero {
        min-height: auto;
        background-position: 62% center;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 48px 0 34px;
    }

    .hero__content,
    .hero h1,
    .hero__lead,
    .hero__trust {
        max-width: 620px;
    }

    .lead-card {
        width: min(520px, 100%);
        max-width: none;
    }

    .hero__facts {
        display: none;
    }

    .proof-bar {
        margin-top: 0;
        padding: 16px 0 0;
    }

    .section-head {
        text-align: left;
    }

    .section-head:not(.section-head--left) h2::after {
        margin-left: 0;
        margin-right: auto;
    }

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

    .map--desktop {
        display: none;
    }

    .contacts__entrance {
        order: -1;
        height: 300px;
    }

    .contacts__map-mobile {
        display: block;
    }

    .contacts__map-mobile .map {
        margin-top: 10px;
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 76px;
        background:
            linear-gradient(180deg, rgba(248, 250, 251, 0.94), rgba(233, 237, 240, 0.98)),
            repeating-linear-gradient(135deg, rgba(26, 32, 41, 0.035) 0 1px, transparent 1px 14px),
            var(--canvas);
    }

    .container {
        width: calc(100% - 22px);
    }

    .topbar {
        box-shadow: 0 10px 24px rgba(9, 12, 18, 0.22);
    }

    .topbar__inner {
        min-height: 56px;
    }

    .logo {
        width: 150px;
    }

    .phone-link {
        min-height: 36px;
        padding: 0 11px;
        font-size: 0;
    }

    .phone-link::after {
        content: "Позвонить";
        font-size: 12px;
    }

    .hero {
        background-image: linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(18, 23, 30, 0.98) 100%);
        background-position: center top;
    }

    .hero__video {
        height: clamp(350px, 48vh, 405px);
        bottom: auto;
        object-position: 58% center;
        filter: brightness(0.64) saturate(0.95);
    }

    .hero__video-overlay {
        height: clamp(350px, 48vh, 405px);
        bottom: auto;
        background-image:
            linear-gradient(180deg, rgba(12, 16, 22, 0.92) 0%, rgba(18, 23, 30, 0.72) 36%, rgba(18, 23, 30, 0.36) 66%, rgba(18, 23, 30, 0.94) 100%),
            linear-gradient(90deg, rgba(12, 16, 22, 0.84) 0%, rgba(18, 23, 30, 0.42) 48%, rgba(18, 23, 30, 0.14) 100%),
            repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.018) 13px),
            repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(255, 255, 255, 0.018) 59px);
    }

    .hero::after {
        height: 5px;
        animation: none;
    }

    .hero__grid {
        gap: 16px;
        padding: 30px 0 20px;
    }

    .hero__trust {
        margin-bottom: 14px;
        padding-left: 12px;
        font-size: 13.5px;
        line-height: 1.35;
    }

    h1 {
        margin-bottom: 12px;
        font-size: 34px;
        line-height: 0.98;
    }

    h2 {
        margin-bottom: 10px;
        font-size: 27px;
        line-height: 1.08;
    }

    h3 {
        font-size: 19px;
    }

    .hero__lead {
        font-size: 15px;
        line-height: 1.45;
    }

    .promo-offer__copy {
        gap: 13px;
        padding: 20px;
    }

    .promo-offer h2 {
        font-size: 28px;
        line-height: 1.05;
    }

    .promo-offer p {
        font-size: 14px;
        line-height: 1.45;
    }

    .promo-offer__media {
        min-height: 178px;
        order: -1;
    }

    .promo-offer__brands span {
        padding: 6px 9px;
        font-size: 10px;
    }

    .promo-offer .btn {
        width: 100%;
    }

    .hero__cta {
        display: grid;
        gap: 10px;
        margin: 20px 0 0;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .hero__facts {
        display: none;
    }

    .btn {
        min-height: 48px;
        padding: 0 14px;
        font-size: 15px;
    }

    .lead-card,
    .modal__dialog {
        padding: 16px;
    }

    .lead-card {
        border-color: rgba(255, 255, 255, 0.16);
        box-shadow: 0 14px 34px rgba(4, 8, 14, 0.26);
    }

    .lead-card__title {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .lead-card p {
        display: none;
    }

    .lead-card__extra {
        display: none;
    }

    .lead-card label,
    .modal__dialog label {
        margin-bottom: 10px;
    }

    input,
    select,
    textarea {
        min-height: 46px;
        font-size: 15px;
    }

    .lead-card small {
        margin-top: 9px;
        font-size: 10.5px;
        line-height: 1.35;
    }

    .proof-bar {
        padding: 12px 0;
        background: var(--dark-grid-bg);
    }

    .proof-bar__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(214px, 76vw);
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .proof-bar article {
        min-height: 132px;
        padding: 16px;
        color: var(--white);
        background: var(--dark-card-bg);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
        scroll-snap-align: start;
    }

    .proof-bar b {
        font-size: 17px;
    }

    .proof-bar p {
        color: rgba(255, 255, 255, 0.68);
    }

    .section {
        padding: 48px 0;
    }

    .search-intents {
        padding-top: 44px;
        padding-bottom: 26px;
    }

    .section-head {
        max-width: none;
        margin-bottom: 22px;
        text-align: left;
    }

    .section-head:not(.section-head--left) h2::after {
        margin-left: 0;
        margin-right: auto;
    }

    .section-head h2::after {
        width: 44px;
        margin-top: 10px;
    }

    .section-head p {
        font-size: 15px;
        line-height: 1.48;
    }

    .eyebrow {
        margin-bottom: 10px;
        padding: 6px 10px;
        font-size: 11px;
        line-height: 1.2;
    }

    .intent-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .intent-grid article {
        display: grid;
        min-height: auto;
        padding: 16px;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 4px 12px;
        align-items: start;
    }

    .intent-grid__media {
        width: 72px;
        height: 72px;
        margin: 0;
        grid-row: 1 / span 2;
        box-shadow: 0 8px 18px rgba(var(--brand-rgb), 0.1);
    }

    .intent-grid__icon {
        top: 8px;
        right: 8px;
        width: 48px;
        height: 48px;
    }

    .intent-grid h3 {
        margin-top: 0;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .intent-grid p {
        font-size: 14px;
    }

    .calc__panel {
        padding: 14px;
        gap: 14px;
    }

    .calc {
        gap: 18px;
    }

    .calc__controls {
        gap: 12px;
    }

    .calc-zones-intro {
        padding: 0;
    }

    .calc-zones-intro h3 {
        font-size: 22px;
    }

    .calc-zones-intro p {
        font-size: 14px;
        line-height: 1.42;
    }

    .calc__zones-group {
        gap: 10px;
        padding: 10px;
    }

    .calc__choice {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .calc__choice--packages {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 10px;
        margin: 0;
        padding: 0;
        overflow: visible;
        overscroll-behavior-x: auto;
        scroll-snap-type: none;
    }

    .calc-complex {
        gap: 12px;
        padding: 12px;
    }

    .calc-complex__head {
        display: grid;
        gap: 4px;
    }

    .calc-complex__head h3 {
        font-size: 22px;
        line-height: 1.08;
    }

    .calc-complex__head p {
        font-size: 14px;
        line-height: 1.42;
    }

    .calc-complex__cta {
        display: grid;
        gap: 12px;
        padding: 13px;
    }

    .calc-complex__cta .btn {
        width: 100%;
    }

    .calc__choice--zones {
        grid-template-columns: 1fr;
    }

    .check-card {
        min-height: 58px;
        padding: 10px;
        gap: 8px;
    }

    .calc-zone-card {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 90px;
    }

    .calc-zone-card__media {
        width: 92px;
    }

    .check-card input {
        width: 16px;
        min-height: 16px;
    }

    .check-card b {
        font-size: 14px;
        line-height: 1.15;
    }

    .check-card small {
        font-size: 11px;
        line-height: 1.2;
    }

    .package-choice-card {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "media media"
            "head meta"
            "note note"
            "features features"
            "button button";
        align-items: start;
        gap: 9px 10px;
        padding: 12px;
    }

    .package-choice-card__media {
        grid-area: media;
        height: 172px;
        aspect-ratio: auto;
    }

    .package-choice-card__head {
        grid-area: head;
        padding-right: 0;
    }

    .package-choice-card__head b {
        font-size: 16px;
    }

    .package-choice-card__for {
        grid-area: note;
        font-size: 12px;
        line-height: 1.3;
    }

    .package-choice-card__price {
        grid-area: meta;
        justify-self: end;
    }

    .package-choice-card__price strong {
        font-size: 20px;
    }

    .package-choice-card__price em {
        margin-top: 0;
    }

    .package-choice-card__features {
        grid-area: features;
        gap: 6px;
    }

    .package-choice-card__features li {
        font-size: 12px;
        line-height: 1.25;
    }

    .package-choice-card__select {
        grid-area: button;
        min-height: 44px;
        margin-top: 2px;
        justify-self: stretch;
        width: 100%;
    }

    .calc__result {
        padding: 16px;
    }

    .calc__price {
        font-size: 32px;
    }

    .calc__result p {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .calc__detail {
        margin-bottom: 14px;
        padding: 11px 12px;
    }

    .calc__detail b {
        font-size: 14px;
    }

    .meta-row {
        gap: 5px;
    }

    .meta-row span {
        padding: 4px 6px;
        font-size: 10.5px;
    }

    .link-button {
        width: 100%;
        min-height: 40px;
        padding: 0 8px;
        font-size: 12.5px;
    }

    .material-grid article {
        min-height: 0;
        padding: 18px;
    }

    .material-brand-logo {
        width: 100%;
        min-height: 54px;
    }

    .material-grid b {
        font-size: 15px;
    }

    .material-grid p,
    .material-grid li {
        font-size: 13.5px;
    }

    .materials-section {
        gap: 14px;
    }

    .material-showcase {
        padding: 8px;
        border-radius: 12px;
    }

    .material-showcase__rail {
        grid-auto-columns: minmax(178px, 62vw);
        gap: 8px;
    }

    .catalog-head {
        gap: 10px;
    }

    .catalog-nav {
        display: none;
    }

    .catalog-track {
        grid-auto-columns: minmax(246px, 82vw);
        gap: 12px;
    }

    .material-card {
        grid-template-rows: 156px 1fr;
    }

    .material-card__visual {
        min-height: 156px;
    }

    .material-card__visual img {
        padding: 7px;
    }

    .material-card__body {
        gap: 9px;
        padding: 15px;
    }

    .material-card h3 {
        font-size: 17px;
    }

    .catalog-cta {
        padding: 16px;
        gap: 12px;
    }

    .catalog-cta span {
        display: none;
    }

    .material-modal__dialog {
        width: min(100% - 20px, 560px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
        padding: 16px;
    }

    .material-modal__image {
        min-height: 180px;
    }

    .material-modal__image img {
        max-height: 180px;
        padding: 8px;
    }

    .material-modal__summary {
        gap: 10px;
    }

    .material-modal__summary h2 {
        font-size: 24px;
    }

    .material-modal__specs {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px;
    }

    .material-modal__specs dd + dt {
        margin-top: 6px;
    }

    .benefits {
        display: block;
    }

    .benefits .section-head {
        position: static;
        top: auto;
        margin-bottom: 18px;
    }

    .benefits__cta {
        margin: 18px 0 0;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .benefit-grid article {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 5px 9px;
        min-height: 0;
        padding: 13px;
    }

    .benefit-icon {
        width: 38px;
        height: 38px;
        margin: 0;
    }

    .benefit-icon .ui-icon {
        width: 18px;
        height: 18px;
    }

    .benefit-grid b {
        margin: 0;
        font-size: 15px;
        line-height: 1.18;
    }

    .benefit-grid span {
        font-size: 12.5px;
        line-height: 1.35;
    }

    .filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        margin: 0 -11px 18px;
        padding: 0 11px 4px;
    }

    .filters button {
        flex: 0 0 auto;
        min-height: 38px;
        font-size: 13px;
    }

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

    .work-card__media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-card__media img {
        aspect-ratio: 4 / 3;
    }

    .work-card__body {
        gap: 8px;
        padding: 16px;
    }

    .work-card__estimate {
        margin-bottom: 0;
    }

    .work-card h3 {
        font-size: 19px;
        line-height: 1.16;
    }

    .work-card__car {
        font-size: 14px;
        line-height: 1.22;
    }

    .work-card__car-icon {
        width: 28px;
        height: 28px;
    }

    .work-card__car-label {
        font-size: 9px;
    }

    .works-more {
        margin-top: 18px;
    }

    .works-more .btn {
        width: 100%;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .process-grid article {
        padding: 14px;
        text-align: left;
    }

    .process-grid img {
        width: 54px;
        height: 54px;
        margin: 0 0 10px;
    }

    .process-grid b {
        font-size: 15px;
    }

    .process-grid span {
        font-size: 12.5px;
    }

    .reviews {
        gap: 20px;
    }

    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rating-card {
        min-height: 204px;
        padding: 14px;
    }

    .rating-card__logo {
        min-height: 34px;
        padding: 5px 8px 5px 5px;
    }

    .rating-card__logo img {
        width: 24px;
        height: 24px;
    }

    .rating-card__logo b {
        font-size: 12px;
    }

    .reviews-section .rating-card strong {
        margin: 16px 0 4px;
        font-size: 44px;
    }

    .rating-card__stars {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .rating-card__mark {
        margin-bottom: 8px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .rating-card small {
        font-size: 11px;
    }

    .rating-card em {
        display: none;
    }

    .rating-card__cta {
        width: 100%;
        min-height: 38px;
        padding: 0 8px;
        font-size: 12.5px;
    }

    .faq details {
        margin-top: 8px;
        padding: 16px;
    }

    .faq summary {
        font-size: 17px;
    }

    .relaxation-area {
        padding: 42px 0;
    }

    .relaxation-area__content p {
        display: none;
    }

    .relaxation-area__image img {
        aspect-ratio: 16 / 10;
        max-height: 240px;
    }

    .contacts {
        padding: 44px 0 30px;
    }

    .contacts h2 {
        font-size: 28px;
    }

    .contacts p {
        font-size: 15px;
    }

    .contacts__intro {
        gap: 14px;
    }

    .contacts__panel {
        padding: 16px;
    }

    .contact-list {
        gap: 8px;
        margin-bottom: 16px;
    }

    .contact-list a {
        font-size: 25px;
    }

    .contact-list span {
        font-size: 13.5px;
    }

    .contacts__actions {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .contacts__media {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .map--desktop {
        display: none;
    }

    .map {
        height: 280px;
        min-height: 260px;
    }

    .contacts__entrance {
        display: block;
        order: -1;
        height: 240px;
    }

    .contacts__map-mobile {
        display: block;
    }

    .contacts__map-mobile .map {
        margin-top: 10px;
    }

    .footer__inner {
        min-height: auto;
        padding: 18px 0 22px;
    }

    .mobile-bar {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        gap: 8px;
        background: rgba(16, 20, 27, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -14px 34px rgba(5, 8, 14, 0.3);
        backdrop-filter: blur(14px);
    }

    .mobile-bar a,
    .mobile-bar button {
        min-height: 48px;
        border-radius: 8px;
        font-size: 14px;
    }

    .mobile-bar a {
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: #242c36;
    }

    .mobile-bar button {
        border: 1px solid rgba(var(--brand-rgb), 0.82);
        background-color: var(--red);
        background-image: var(--brand-button-surface);
        box-shadow: var(--brand-button-shadow-soft);
    }

    .modal__dialog {
        width: calc(100% - 22px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
    }

    .modal__dialog h2 {
        font-size: 24px;
    }

    .modal__dialog p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 31px;
    }

    h2 {
        font-size: 25px;
    }

    .benefit-grid {
        gap: 8px;
    }

    .hero__video {
        height: 350px;
        object-position: 54% center;
    }

    .hero__video-overlay {
        height: 350px;
        background-image:
            linear-gradient(180deg, rgba(12, 16, 22, 0.90) 0%, rgba(18, 23, 30, 0.66) 36%, rgba(18, 23, 30, 0.34) 64%, rgba(18, 23, 30, 0.94) 100%),
            linear-gradient(90deg, rgba(12, 16, 22, 0.80) 0%, rgba(18, 23, 30, 0.36) 52%, rgba(18, 23, 30, 0.10) 100%),
            repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.016) 13px);
    }

    .promo-offer__copy {
        padding: 16px;
    }

    .promo-offer h2 {
        font-size: 25px;
    }

    .promo-offer__media {
        min-height: 142px;
    }

    .package-choice-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 9px;
    }

    .calc__choice--packages {
        grid-auto-columns: auto;
    }

    .package-choice-card__media {
        height: 116px;
    }

    .package-choice-card__features li {
        font-size: 11.8px;
    }

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js-motion {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero__video,
    .hero::after {
        animation: none !important;
    }

    .btn--primary::after {
        display: none;
    }
}

.home-hero .hero__video {
    object-position: center;
}

.home-services {
    padding-top: 34px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-card);
}

.service-card {
    position: relative;
    display: grid;
    grid-template-rows: 220px 1fr;
    overflow: hidden;
    border: 1px solid rgba(207, 212, 216, 0.86);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent-line);
}

.service-card__media {
    position: relative;
    overflow: hidden;
    background: var(--graphite);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.04);
}

.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.04), rgba(10, 14, 20, 0.5));
}

.service-card__status {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 20, 27, 0.78);
    font-size: 12px;
    font-weight: 800;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 248px;
    padding: 20px;
}

.service-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--brand-dark);
    background: rgba(var(--brand-rgb), 0.1);
}

.service-card h3,
.service-card p {
    margin: 0;
}

.service-card p {
    color: var(--muted);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    width: max-content;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(var(--brand-rgb), 0.34);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--graphite);
    font-weight: 800;
    line-height: 1.2;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.service-card:hover .service-card__cta {
    color: var(--white);
    border-color: rgba(var(--brand-rgb), 0.82);
    background: var(--brand);
    transform: translateY(-1px);
}

.shop-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 26px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    border-radius: var(--radius);
    background: var(--dark-card-bg);
    color: var(--white);
    box-shadow: var(--shadow-dark-card);
    overflow: hidden;
}

.shop-panel__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

.shop-panel__content .eyebrow {
    color: var(--white);
    background: rgba(var(--brand-rgb), 0.18);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-light-rgb), 0.16);
}

.shop-panel__content h2 {
    margin-bottom: 0;
    color: var(--white);
}

.shop-panel__content p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
}

.shop-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.shop-preview {
    position: relative;
    min-height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: #111820;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.shop-preview::before {
    content: "";
    display: block;
    height: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.shop-preview__dots {
    position: absolute;
    top: 12px;
    left: 14px;
    display: flex;
    gap: 7px;
    z-index: 2;
}

.shop-preview__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
}

.shop-preview img {
    display: block;
    width: 100%;
    height: 358px;
    object-fit: cover;
    object-position: top center;
    background: var(--white);
}

.shop-preview--mobile {
    display: none;
    width: min(100%, 310px);
    min-height: 560px;
    margin: 0 auto;
    border-radius: 22px;
}

.shop-preview--mobile::before {
    height: 42px;
}

.shop-preview--mobile .shop-preview__dots {
    left: 50%;
    transform: translateX(-50%);
}

.shop-preview--mobile .shop-preview__dots span {
    width: 46px;
    height: 5px;
    border-radius: 999px;
}

.shop-preview--mobile img {
    height: 518px;
}

@media (max-width: 1080px) {
    .service-grid,
    .shop-panel {
        grid-template-columns: 1fr;
    }

    .service-grid {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .service-card {
        grid-template-rows: 190px 1fr;
    }

    .shop-panel {
        padding: 20px;
    }

    .shop-preview--desktop {
        display: none;
    }

    .shop-preview--mobile {
        display: block;
    }

    .shop-panel__actions {
        display: grid;
        width: 100%;
    }

    .shop-panel__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js-motion {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero__video,
    .hero::after {
        animation: none !important;
    }

    .btn--primary::after {
        display: none;
    }
}
