/* ============================================================
   Рест Квадрат — site styles
   Palette: warm cream, deep walnut, brushed brass, charcoal
   ============================================================ */

/* ===== Mobile bottom tabbar (как в нативных приложениях) ===== */
.m-tabbar {
    display: none;
}
@media (max-width: 880px) {
    .m-tabbar {
        position: fixed;
        left: 10px; right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0));
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        background: rgba(255, 255, 255, .92);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border: 1px solid rgba(232, 226, 216, .9);
        border-radius: 22px;
        box-shadow: 0 12px 30px rgba(98, 48, 31, .14), 0 2px 6px rgba(98, 48, 31, .06);
        padding: 6px 4px;
    }
    .m-tabbar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 7px 2px 5px;
        color: var(--muted);
        text-decoration: none;
        position: relative;
        border-radius: 14px;
        transition: color .18s ease, transform .15s ease, background .18s ease;
    }
    .m-tabbar__item:active { transform: scale(.92); }
    .m-tabbar__item.is-active {
        color: var(--walnut);
    }
    .m-tabbar__item.is-active .m-tabbar__ico {
        background: var(--bg-2);
    }
    .m-tabbar__ico {
        display: grid;
        place-items: center;
        width: 38px; height: 30px;
        border-radius: 14px;
        transition: background .2s ease;
    }
    .m-tabbar__label {
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .005em;
        line-height: 1;
        white-space: nowrap;
    }
    .m-tabbar__item--center {
        position: relative;
    }
    .m-tabbar__center-btn {
        display: grid;
        place-items: center;
        width: 48px; height: 48px;
        margin-top: -22px;
        margin-bottom: 4px;
        border-radius: 50%;
        background: linear-gradient(160deg, var(--walnut) 0%, var(--walnut-2) 100%);
        color: #fff;
        box-shadow: 0 10px 22px rgba(98, 48, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
        transition: transform .2s cubic-bezier(.2,.6,.2,1);
    }
    .m-tabbar__item--center:active .m-tabbar__center-btn { transform: scale(.94); }
    .m-tabbar__item--center .m-tabbar__label {
        color: var(--walnut);
    }
    .m-tabbar__center-btn svg { color: #fff; }

    /* Чтобы контент не залезал под tabbar — добавим bottom-padding странице */
    .page-wrap { padding-bottom: 90px; }
    body.is-nav-open .m-tabbar { display: none; }
}

/* ===== FX-слой (частицы, прогрессбар, cursor-glow) ===== */
.fx-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #62301f 0%, #b08a4f 50%, #d4953a 100%);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform .12s linear;
    z-index: 999;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(176, 138, 79, .5);
}
.fx-canvas {
    position: fixed;
    inset: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .fx-progress, .fx-canvas { display: none; }
}

/* ===== Карточки услуг — hover spotlight от курсора ===== */
.svc-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(212, 149, 58, .12), transparent 45%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
}
.svc-card:hover::after { opacity: 1; }
.svc-card > * { position: relative; z-index: 2; }


:root {
    --bg: #ffffff;
    --bg-2: #f7f4f0;
    --paper: #ffffff;
    --ink: #1c1815;
    --ink-2: #3a322c;
    --muted: #777169;
    --line: #e8e2d8;
    --walnut: #62301f;
    --walnut-2: #4a2515;
    --brass: #62301f;
    --brass-2: #62301f;
    --accent: #62301f;
    --shadow: 0 8px 30px rgba(98, 48, 31, .08);
    --radius: 8px;
    --radius-lg: 14px;
    --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Reveal-on-scroll — fast & snappy */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s cubic-bezier(.2,.6,.2,1), transform .35s cubic-bezier(.2,.6,.2,1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--ink-2);
    line-height: 1.55;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Wood-grain texture overlay for alt sections */
.section--alt {
    position: relative;
    background:
        var(--bg-2)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='180' viewBox='0 0 400 180'%3E%3Cg fill='none' stroke='%23c8b89a' stroke-width='.6' opacity='.45'%3E%3Cpath d='M0 18 Q60 12 120 22 T240 26 T360 18 T480 24'/%3E%3Cpath d='M0 42 Q70 38 140 46 T280 50 T420 42'/%3E%3Cpath d='M0 70 Q50 64 110 74 T220 78 T330 68 T440 78'/%3E%3Cpath d='M0 98 Q80 94 160 102 T320 106 T480 98'/%3E%3Cpath d='M0 128 Q60 122 120 132 T240 136 T360 130 T480 138'/%3E%3Cpath d='M0 158 Q90 152 180 162 T360 164'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 400px auto;
}


a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--walnut);
    margin: 0 0 .5em;
    letter-spacing: -.01em;
    line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

.section {
    padding: clamp(60px, 8vw, 110px) 0;
}

.section--alt {
    background: var(--bg-2);
}

.section--dark {
    background: var(--walnut-2);
    color: #ece1cb;
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
    color: #faf3e3;
}

.eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    font-weight: 600;
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-2);
    max-width: 720px;
    line-height: 1.6;
}

/* ===== Top bar ===== */
.topbar {
    background: var(--walnut-2);
    color: #d9c8a8;
    font-size: 13.5px;
    padding: 9px 0;
}
.topbar__row {
    display: flex; gap: 22px; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
}
.topbar a { color: #f5e9cd; }
.topbar a:hover { color: var(--brass-2); }
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(98, 48, 31, .08);
    border-color: transparent;
}
.header__row {
    display: flex; align-items: center; gap: 28px;
    padding: 12px 0;
}
.brand {
    display: flex; align-items: center; gap: 12px;
}
.brand__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--walnut);
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.05;
}
.brand__mark {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--walnut) 0%, var(--walnut-2) 70%);
    color: var(--brass-2);
    border-radius: 8px;
    display: grid; place-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1.5px var(--brass);
}
.brand__logo {
    width: 46px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.brand__logo--dark { filter: brightness(1.1); }
.brand__sub { display: none; }
.brand__name { display: none; }
.brand__logo { width: 64px; height: auto; transition: transform .25s ease; }
.brand:hover .brand__logo { transform: scale(1.05) rotate(-3deg); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav a {
    position: relative;
    padding: 10px 12px;
    font-size: 13.5px;
    color: var(--ink-2);
    transition: color .2s ease;
    white-space: nowrap;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: -.005em;
}
.nav a svg { color: var(--walnut); transition: transform .35s cubic-bezier(.2,.6,.2,1), color .2s ease; flex-shrink: 0; }
.nav a:hover svg { transform: scale(1.15) rotate(-6deg); }
.nav a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: var(--walnut);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.2,.6,.2,1);
}
.nav a:hover { color: var(--walnut); }
.nav a:hover::after { transform: scaleX(1); }
.nav__caret { color: var(--muted) !important; transition: transform .2s ease !important; }
.nav__has-dropdown:hover .nav__caret { transform: rotate(180deg) !important; }
.nav a span { transition: transform .2s ease; }
.nav__has-dropdown { position: relative; }
.nav__has-dropdown:hover .nav__dropdown { display: grid; }
.nav__dropdown {
    display: none;
    position: absolute;
    top: 100%; left: -8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    min-width: 540px;
    z-index: 30;
}
.nav__dropdown a {
    padding: 8px 12px;
    font-size: 13.5px;
    border-radius: 6px;
    color: var(--ink-2);
}
.nav__dropdown a:hover { background: var(--bg); color: var(--walnut-2); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: transform .2s cubic-bezier(.4,.2,.2,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .01em;
    position: relative;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(98, 48, 31, .18); }
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--walnut);
    color: #ffffff;
}
.btn--primary:hover { background: var(--walnut-2); color: #ffffff; }
.btn--ghost {
    background: transparent;
    border: 1.5px solid var(--walnut);
    color: var(--walnut);
    padding: 12.5px 26px;
}
.btn--ghost:hover { background: var(--walnut); color: #ffffff; border-color: var(--walnut); }
.btn--brass {
    background: var(--walnut);
    color: #ffffff;
}
.btn--brass:hover { background: var(--walnut-2); color: #ffffff; }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--outline-light {
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(245, 233, 205, .55);
    color: #fbecc7;
    backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .15); border-color: var(--brass-2); }

/* ===== HERO BIG (big, image-led) ===== */
.hero-big {
    position: relative;
    color: #faf3e3;
    min-height: clamp(640px, 92vh, 880px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
}
.hero-big__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-big__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-big__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(28, 16, 8, .55) 0%, rgba(28, 16, 8, .35) 35%, rgba(28, 16, 8, .85) 100%),
        radial-gradient(900px 500px at 80% 25%, rgba(201, 163, 93, .25), transparent 70%);
}
.hero-big__inner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(60px, 9vw, 120px);
    padding-bottom: clamp(40px, 5vw, 60px);
    gap: 50px;
}
.hero-big__top { max-width: 760px; }
.hero-big__title {
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.04;
    color: #fbecc7;
    margin: 0 0 22px;
    letter-spacing: -.015em;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-big__title em {
    font-style: italic;
    color: var(--brass-2);
    background: linear-gradient(90deg, #d4ad62, #f0d28a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-big__lead {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: #ece1cb;
    max-width: 620px;
    margin: 0 0 32px;
    line-height: 1.55;
}
.hero-big__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow--light { color: var(--brass-2); }

.hero-big__bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: end;
}
.hero-big__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(201, 163, 93, .35);
    padding-top: 28px;
}
.hero-big__stat-v {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    color: #fbecc7;
    line-height: 1;
    font-weight: 600;
}
.hero-big__stat-l {
    color: #c5b594;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.35;
}
.hero-big__collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    aspect-ratio: 5/4;
    max-width: 460px;
    margin-left: auto;
}
.hero-big__collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.hero-big__collage img:nth-child(1) { grid-row: 1 / 3; }
.hero-big__collage img:nth-child(2) { grid-row: 1; grid-column: 2; }
.hero-big__collage img:nth-child(3) { grid-row: 2; grid-column: 2; }

@media (max-width: 980px) {
    .hero-big { min-height: auto; }
    .hero-big__bottom { grid-template-columns: 1fr; gap: 32px; }
    .hero-big__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .hero-big__collage { display: none; }
}

/* ===== Hero TILDA (как на старом сайте) ===== */
.hero-tilda {
    position: relative;
    background: #ffffff;
    padding: clamp(50px, 7vw, 90px) 0 clamp(50px, 6vw, 80px);
    overflow: hidden;
}
.hero-tilda__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
    min-height: clamp(380px, 50vw, 540px);
}
.hero-tilda__text { max-width: 540px; position: relative; z-index: 2; }
.hero-tilda__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.015em;
    color: var(--walnut);
    margin: 0 0 22px;
    animation: heroSlideIn .6s cubic-bezier(.2,.6,.2,1) both;
}
/* На десктопе — каждое слово на своей строке. На мобилке — нормальный текст. */
.hero-tilda__title .hl-line {
    display: block;
}
@media (max-width: 880px) {
    .hero-tilda__title .hl-line {
        display: inline;
    }
}
.hero-tilda__lead {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0 0 32px;
    animation: heroSlideIn .6s .12s cubic-bezier(.2,.6,.2,1) both;
}
.hero-tilda__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: heroSlideIn .6s .22s cubic-bezier(.2,.6,.2,1) both;
}

.hero-tilda__art {
    position: relative;
    width: 100%;
    aspect-ratio: 5/4;
    max-width: 780px;
    margin-left: auto;
    animation: heroFadeIn .9s .15s cubic-bezier(.2,.6,.2,1) both;
}
.hero-tilda__img {
    position: absolute;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 22px 40px rgba(98, 48, 31, .18));
    transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.hero-tilda__img--table {
    top: -4%;
    right: -4%;
    width: 95%;
    z-index: 1;
    animation: floatA 6s ease-in-out infinite;
    will-change: transform;
}
.hero-tilda__img--chair {
    bottom: -4%;
    left: -4%;
    width: 70%;
    z-index: 2;
    animation: floatB 7s ease-in-out infinite;
    will-change: transform;
}
.hero-tilda__art:hover .hero-tilda__img--table { transform: translate(-8px, -6px); }
.hero-tilda__art:hover .hero-tilda__img--chair { transform: translate(8px, 4px); }

.hero-tilda__stats {
    margin-top: clamp(40px, 5vw, 70px);
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

@media (max-width: 880px) {
    .hero-tilda { padding: 14px 0 32px; }
    .hero-tilda__inner {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        min-height: auto;
    }
    .hero-tilda__text {
        order: 2;
        max-width: none;
        width: 100%;
        margin: 0;
        text-align: center;
    }
    .hero-tilda__title {
        text-align: center;
        margin: 0 0 14px;
        font-size: clamp(1.55rem, 6.5vw, 2.1rem);
        line-height: 1.15;
        letter-spacing: -.01em;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    .hero-tilda__title br { display: none; }
    .hero-tilda__lead { text-align: center; font-size: 15.5px; margin: 0 0 22px; }
    .hero-tilda__cta { justify-content: center; gap: 10px; }
    .hero-tilda__cta .btn { padding: 11px 18px; font-size: 13.5px; }

    /* Картинка героя — единый коллаж, статично, по центру */
    .hero-tilda__art {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 320px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        animation: heroFadeIn .7s cubic-bezier(.2,.6,.2,1) both;
        overflow: visible;
    }
    .hero-tilda__img {
        position: absolute !important;
        animation: none !important;
        transform: none !important;
        translate: 0 0 !important;
        will-change: auto;
        transition: none;
    }
    .hero-tilda__img--table {
        top: 8% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        z-index: 1;
    }
    .hero-tilda__img--chair {
        bottom: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 56% !important;
        z-index: 2;
    }

    .hero-tilda__stats { margin-top: 28px; padding-top: 22px; }
}

@media (max-width: 480px) {
    .hero-tilda { padding: 8px 0 28px; }
    .hero-tilda__art { max-width: 260px; aspect-ratio: 1/1; }
    .hero-tilda__title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
    .hero-tilda__cta { flex-direction: column; align-items: stretch; }
    .hero-tilda__cta .btn { width: 100%; }
}

/* ===== HERO (cinematic, with bg image + parallax) ===== */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #f7f1e6;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px);
}
.hero__bg {
    position: absolute;
    inset: -10% 0 0;
    z-index: -2;
    transition: transform 1.2s cubic-bezier(.4,.2,.2,1);
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}
.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(28, 16, 8, .62) 0%, rgba(28, 16, 8, .45) 35%, rgba(28, 16, 8, .85) 100%),
        radial-gradient(900px 400px at 75% 30%, rgba(176, 138, 79, .18), transparent 75%);
}
.hero__inner { position: relative; width: 100%; }
.hero__text { max-width: 820px; }
.hero__kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #e9d5b5;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero__title {
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    line-height: 1.04;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 24px;
    letter-spacing: -.02em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(247, 241, 230, .9);
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 640px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero .btn--primary {
    background: #ffffff;
    color: var(--walnut);
}
.hero .btn--primary:hover { background: #f5ece4; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    max-width: 1100px;
}
.hero__stat-v {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -.01em;
}
.hero__stat-l {
    color: rgba(247, 241, 230, .65);
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.4;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
    transition: border-color .2s;
}
.hero__scroll:hover { border-color: #fff; }
.hero__scroll span {
    width: 4px; height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* simple inner-page hero (about, price, contacts...) — белый фон */
.hero--simple {
    color: var(--ink-2);
    min-height: auto;
    display: block;
    padding: clamp(60px, 8vw, 110px) 0;
    overflow: visible;
    isolation: auto;
    background: var(--bg);
}
.hero--simple .hero__veil,
.hero--simple .hero__bg,
.hero--simple .hero__scroll { display: none; }
.hero--simple > .container { width: 100%; }

.hero__simple { max-width: 880px; margin-left: 0; margin-right: auto; }
.hero__simple .eyebrow { color: var(--muted); }
.hero__simple h1 { color: var(--walnut); font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.hero__simple .lead { font-size: 17px; color: var(--ink-2); max-width: 760px; }

/* Hero with image on the right */
.hero__split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero__split-text { max-width: 580px; }
.hero__split-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(98, 48, 31, .14);
    transition: transform .4s ease;
}
.hero__split-img:hover { transform: scale(1.02); }
.hero__split-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.hero__split-img:hover img { transform: scale(1.05); }
@media (max-width: 880px) {
    .hero__split { grid-template-columns: 1fr; gap: 28px; }
}
.hero .stats { margin-top: 56px; }

.hero .btn--ghost-light {
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #ffffff;
    backdrop-filter: blur(6px);
    padding: 12.5px 26px;
}
.hero .btn--ghost-light::before { background: #ffffff; }
.hero .btn--ghost-light:hover { color: var(--walnut); }

@media (max-width: 880px) {
    .hero { min-height: auto; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(45, 27, 16, .2));
}

.hero__badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: var(--walnut-2);
    box-shadow: 0 6px 18px rgba(45, 27, 16, .15);
    display: flex; gap: 12px; align-items: center;
}
.hero__badge strong { color: var(--accent); display: block; font-size: 1.4rem; line-height: 1; font-family: 'Montserrat', sans-serif; }

/* ===== Stats ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding: 28px 0 8px;
    border-top: 1px solid var(--line);
}
.stats__item {
    position: relative;
    padding: 8px 0 12px;
    transition: transform .25s ease;
}
.stats__item::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 2px;
    background: var(--walnut);
    transition: width .4s cubic-bezier(.2,.6,.2,1);
}
.stats__item:hover { transform: translateY(-3px); }
.stats__item:hover::after { width: 40px; }
.stats__item .stats__v {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--walnut);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.01em;
}
.stats__item .stats__l {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

/* ===== Service grid ===== */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.svc-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
}
.svc-card:hover {
    box-shadow: 0 22px 50px rgba(98, 48, 31, .14);
    border-color: var(--walnut);
}
.svc-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--bg-2);
}
.svc-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(98, 48, 31, .35));
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.svc-card:hover .svc-card__img::after { opacity: 1; }
.svc-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.6,.2,1), filter .35s;
}
.svc-card:hover .svc-card__img img { transform: scale(1.08); filter: saturate(1.1); }
.svc-card__price {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255, 255, 255, .96);
    color: var(--walnut);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .3s ease, box-shadow .3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.svc-card:hover .svc-card__price {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(98, 48, 31, .25);
}
.svc-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-card__title { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; margin-bottom: 8px; }
.svc-card__short { color: var(--muted); font-size: 14.5px; flex: 1; }
.svc-card__more {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--walnut);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .12em;
    position: relative;
    padding-bottom: 6px;
}
.svc-card__more::before {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 24px; height: 2px;
    background: var(--walnut);
    transition: width .35s cubic-bezier(.4,.2,.2,1);
}
.svc-card__more::after {
    content: '→';
    display: inline-block;
    transition: transform .25s ease;
    font-size: 16px;
    line-height: 1;
}
.svc-card:hover .svc-card__more::before { width: 60px; }
.svc-card:hover .svc-card__more::after { transform: translateX(6px); }

/* ===== Process ===== */
.process {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 48px;
}
.process__step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    position: relative;
    transition: transform .25s cubic-bezier(.2,.6,.2,1), box-shadow .25s, border-color .25s;
}
.process__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(98, 48, 31, .1);
    border-color: var(--walnut);
}
.process__icon {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: var(--bg-2);
    color: var(--walnut);
    display: grid; place-items: center;
    margin-bottom: 18px;
    transition: transform .35s cubic-bezier(.2,.6,.2,1), background .25s, color .25s;
    position: relative;
    overflow: hidden;
}
.process__icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--walnut);
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.2,.6,.2,1);
}
.process__icon svg { position: relative; z-index: 1; transition: color .25s ease, transform .35s cubic-bezier(.2,.6,.2,1); }
.process__step:hover .process__icon { transform: rotate(-6deg) scale(1.08); }
.process__step:hover .process__icon::before { transform: translateY(0); }
.process__step:hover .process__icon svg { color: #fbecc7; transform: rotate(8deg); }
.process__n {
    font-family: 'Montserrat', sans-serif;
    color: var(--walnut);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
    letter-spacing: -.02em;
    transition: transform .25s ease;
    opacity: .55;
}
.process__step:hover .process__n {
    opacity: 1;
}

/* ===== CTA band (clean dark block, Tilda-style) ===== */
.cta-band {
    background: linear-gradient(120deg, var(--walnut) 0%, var(--walnut-2) 50%, var(--walnut) 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    color: #f5ece4;
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 300px at 15% 15%, rgba(255, 220, 180, .12), transparent 70%),
        radial-gradient(900px 400px at 85% 85%, rgba(255, 200, 140, .08), transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes glowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}
.cta-band__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.cta-band h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 700;
}
.cta-band__lead {
    margin: 0;
    color: rgba(245, 236, 228, .8);
    font-size: 16px;
    line-height: 1.55;
    max-width: 540px;
}
.cta-band__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.cta-band .btn--primary {
    background: #ffffff;
    color: var(--walnut);
    box-shadow: none;
}
.cta-band .btn--primary:hover { background: #f5ece4; }
.cta-band .btn--ghost-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #f5ece4;
}
.cta-band .btn--ghost-light:hover { border-color: #ffffff; background: rgba(255, 255, 255, .08); }

@media (max-width: 760px) {
    .cta-band__inner { grid-template-columns: 1fr; gap: 24px; }
    .cta-band__btns { justify-content: flex-start; }
}

.cta-band__ornament {
    position: absolute;
    top: 0;
    right: 0;
    width: 480px;
    height: 200px;
    color: #f5ece4;
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 760px) {
    .cta-band__ornament { width: 320px; height: 140px; opacity: 0.7; }
}

/* ===== Related services ===== */
.related {
    padding: clamp(56px, 7vw, 88px) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.related__head {
    max-width: 720px;
    margin: 0 0 36px;
}
.related__head h2 {
    margin: 6px 0 12px;
    color: var(--walnut);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
}
.related__lead {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
}
.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .3s ease, border-color .2s ease;
    position: relative;
}
.related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -22px rgba(98, 48, 31, 0.35);
    border-color: rgba(98, 48, 31, 0.25);
}
.related__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg);
}
.related__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.related__card:hover .related__img img { transform: scale(1.05); }
.related__ico {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    padding: 9px;
    background: var(--walnut);
    color: #f5ece4;
    border-radius: 50%;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4);
    transition: transform .35s cubic-bezier(.2,.6,.2,1), background .25s ease;
}
.related__card:hover .related__ico {
    transform: translateX(3px);
    background: var(--walnut-2);
}
.related__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.related__body h3 {
    margin: 0;
    color: var(--walnut);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}
.related__body p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    flex: 1;
}
.related__price {
    margin-top: 6px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: var(--walnut);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: .01em;
}
@media (max-width: 960px) {
    .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .related__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Two-col rich text ===== */
.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.two-col__media { position: relative; aspect-ratio: 5/6; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.two-col__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Bullets ===== */
.bullets { list-style: none; padding: 0; margin: 28px 0; }
.bullets li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--ink-2);
}
.bullets li::before {
    content: '';
    position: absolute; left: 0; top: 10px;
    width: 16px; height: 2px;
    background: var(--brass);
}

/* ===== Form ===== */
.lead-form {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.lead-form input, .lead-form textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: transparent;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 12px;
    transition: border-color .15s, background .15s;
}
.lead-form input:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--brass);
    background: var(--bg);
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.lead-form__legal { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.lead-form__title { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; margin-bottom: 6px; color: var(--walnut-2); }
.lead-form__sub { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }
.lead-form__success {
    display: none;
    text-align: center;
    padding: 30px 0;
}
.lead-form__success svg { color: var(--brass); }
.lead-form__success h4 { margin: 16px 0 8px; }
.lead-form.is-success .lead-form__inner { display: none; }
.lead-form.is-success .lead-form__success { display: block; }

/* ===== Price table ===== */
.price-table {
    width: 100%;
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 32px;
}
.price-table__row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 18px 26px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background .2s ease, padding-left .25s cubic-bezier(.2,.6,.2,1);
    position: relative;
}
.price-table__row::before {
    content: '';
    position: absolute;
    left: 0; top: 20%;
    width: 3px; height: 60%;
    background: var(--walnut);
    transform: scaleY(0);
    transition: transform .3s cubic-bezier(.2,.6,.2,1);
    transform-origin: center;
}
.price-table__row:not(.price-table__row--head):hover::before { transform: scaleY(1); }
.price-table__row:not(.price-table__row--head):hover {
    background: var(--bg-2);
    padding-left: 32px;
}
.price-table__row:not(.price-table__row--head):hover .price-table__price {
    transform: translateX(-4px);
}
.price-table__price { transition: transform .3s ease; }
.price-table__row:last-child { border-bottom: 0; }
.price-table__row--head {
    background: var(--walnut-2); color: var(--brass-2);
    font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
}
.price-table__row--head:hover { background: var(--walnut-2); }
.price-table__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 40px;
}
.gallery-grid figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-2);
    position: relative;
    cursor: zoom-in;
    border: 1px solid var(--line);
}
.gallery-grid img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(98, 48, 31, .92));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.005em;
}

/* ===== Modal (поп-ап заявки) ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 16, 8, .55);
    backdrop-filter: blur(8px);
    cursor: pointer;
    animation: modalFade .25s ease both;
}
.modal__inner {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(28, 16, 8, .35);
    max-width: 460px;
    width: 100%;
    padding: 36px 36px 32px;
    animation: modalIn .35s cubic-bezier(.2,.7,.2,1) both;
}
.modal__head { margin-bottom: 22px; }
.modal__head h3 { font-size: 1.5rem; color: var(--walnut); }
.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 0;
    background: var(--bg-2);
    color: var(--walnut);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease, transform .2s ease;
}
.modal__close:hover { background: var(--walnut); color: #fff; transform: rotate(90deg); }
.lead-form--modal { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.lead-form--modal input,
.lead-form--modal textarea { background: var(--bg-2); }

@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .modal__inner { padding: 28px 22px 24px; border-radius: 14px; }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(28, 24, 21, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox__close {
    position: absolute;
    top: 24px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 24px;
    line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__caption {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    color: #f5ece4;
    font-size: 15px;
    background: rgba(0, 0, 0, .4);
    padding: 8px 16px;
    border-radius: 6px;
}
[data-zoomable] { cursor: zoom-in; }

/* ===== Objects list ===== */
.obj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 60px;
    margin-top: 40px;
}
.obj-col h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--walnut-2);
    font-size: 1.35rem;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--brass);
    padding-bottom: 10px;
    display: inline-block;
}
.obj-col ul { list-style: none; padding: 0; margin: 0; }
.obj-col li { padding: 7px 0; border-bottom: 1px dotted var(--line); color: var(--ink-2); font-size: 15px; }

/* ===== FAQ ===== */
.faq { margin-top: 40px; max-width: 880px; margin-left: auto; margin-right: auto; }
.faq__item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    cursor: pointer;
}
.faq__q {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--walnut-2);
}
.faq__icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--walnut-2);
    display: grid; place-items: center;
    transition: transform .2s, background .2s;
    font-weight: 600; font-size: 18px;
    flex-shrink: 0;
}
.faq__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
    color: var(--ink-2);
}
.faq__item.is-open .faq__a { max-height: 400px; padding-top: 14px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--brass); color: #fff; }

/* ===== Team ===== */
.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.team__card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .25s, border-color .2s;
    cursor: default;
}
.team__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(98, 48, 31, .15);
    border-color: var(--walnut);
}
.team__avatar {
    width: 132px; height: 132px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    background: var(--bg-2);
    box-shadow: 0 8px 22px rgba(98, 48, 31, .12);
    transition: transform .3s ease, box-shadow .3s ease;
}
.team__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.team__card:hover .team__avatar {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 32px rgba(98, 48, 31, .2);
}
.team__name { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; color: var(--walnut-2); margin-bottom: 4px; }
.team__role { color: var(--muted); font-size: 14px; }

/* ===== Footer ===== */
.site-footer {
    background: var(--walnut-2);
    color: #c5b594;
    padding: 70px 0 28px;
}
.site-footer h4 { color: #f5e9cd; font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 20px; }
.site-footer__cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(176, 138, 79, .25);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d9c8a8; transition: color .15s; }
.site-footer a:hover { color: var(--brass-2); }
.site-footer__bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-top: 28px; flex-wrap: wrap;
    font-size: 13px;
    color: #8e8060;
}
.site-footer__dev a {
    color: #d9c8a8;
    border-bottom: 1px dashed rgba(217, 200, 168, .35);
    transition: color .2s, border-color .2s;
    margin-left: 4px;
}
.site-footer__dev a:hover { color: var(--brass-2); border-color: var(--brass-2); }

/* ===== Service hero ===== */
.svc-hero {
    background: var(--bg);
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}
.svc-hero__ornament {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    color: var(--walnut);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.svc-hero .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
    .svc-hero__ornament { width: 220px; height: 220px; top: -60px; right: -60px; opacity: 0.22; }
}
.svc-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 24px;
}
.svc-hero .hero__cta {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 28px;
}
.svc-hero__img {
    aspect-ratio: 5/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.svc-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__price {
    display: inline-block;
    background: var(--bg-2);
    color: var(--walnut);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: .01em;
    border: 1px solid var(--line);
}

/* ===== Calc section ===== */
.calc-section {
    position: relative;
    padding: 0 0 60px;
}

/* ===== Calculator ===== */
.calc {
    background: linear-gradient(135deg, #2d1b10 0%, #4a2f1f 100%);
    color: #f5e9cd;
    border-radius: var(--radius-lg);
    padding: 36px 40px 32px;
    box-shadow: 0 30px 60px rgba(45, 27, 16, .35);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: stretch;
}
.calc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 320px at 100% 0%, rgba(201, 163, 93, .16), transparent 70%);
    pointer-events: none;
}

.calc__head {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    border-right: 1px solid rgba(201, 163, 93, .25);
    padding-right: 32px;
}
.calc__head h2 {
    color: #fbecc7;
    margin: 8px 0 10px;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    line-height: 1.15;
}
.calc__hint { color: #c5b594; font-size: 13px; line-height: 1.5; margin: 0; }
.calc__result {
    background: rgba(201, 163, 93, .12);
    border: 1.5px solid rgba(201, 163, 93, .5);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: auto;
}
.calc__result-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #c9a35d;
    font-weight: 600;
    margin-bottom: 6px;
}
.calc__result-price {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: #fbecc7;
    line-height: 1.1;
    font-weight: 700;
    transition: transform .25s ease;
}
.calc__result-price.is-flash {
    animation: priceFlash .5s ease;
}
@keyframes priceFlash {
    0%   { transform: scale(1); color: #fbecc7; text-shadow: 0 0 0 transparent; }
    40%  { transform: scale(1.06); color: #ffffff; text-shadow: 0 0 24px rgba(245, 215, 150, .8); }
    100% { transform: scale(1); color: #fbecc7; text-shadow: 0 0 0 transparent; }
}
.calc__from { color: #8e8060; font-size: 12.5px; margin-top: 4px; }

.calc__form { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 14px; align-content: start; }
.calc__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc__field label { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: #c9a35d; font-weight: 600; }
.calc__field select, .calc__field input {
    background: rgba(255, 255, 255, .06);
    color: #faf3e3;
    border: 1.5px solid rgba(201, 163, 93, .35);
    padding: 12px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    width: 100%;
    transition: border-color .15s, background .15s;
}
.calc__field select option { background: #2d1b10; color: #faf3e3; }
.calc__field select:focus, .calc__field input:focus {
    outline: none;
    border-color: var(--brass-2);
    background: rgba(255, 255, 255, .1);
}
.calc__qty { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.calc__qty input { width: 100%; }
.calc__qty span { font-size: 12.5px; color: #c5b594; padding-right: 2px; min-width: 36px; }

.calc__cta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px dashed rgba(201, 163, 93, .25);
}
.calc__cta .btn {
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}
@media (max-width: 600px) {
    .calc__cta { grid-template-columns: 1fr; }
}
.calc__note {
    grid-column: 1 / -1;
    color: #c5b594;
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: -4px;
}

@media (max-width: 980px) {
    .calc { grid-template-columns: 1fr; padding: 32px 28px; gap: 24px; }
    .calc__head { gap: 14px; border-right: 0; padding-right: 0; padding-bottom: 22px; border-bottom: 1px solid rgba(201, 163, 93, .25); }
    .calc__result { margin-top: 0; }
}
@media (max-width: 600px) {
    .calc { padding: 28px 20px; }
    .calc__form { grid-template-columns: 1fr; gap: 12px; }
    .calc__cta .btn { width: 100%; }
}

/* ===== Logo grid (partners / clients) ===== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px 24px;
    align-items: center;
    justify-items: center;
}
.logo-grid__item {
    display: grid;
    place-items: center;
    height: 90px;
    padding: 16px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 100%;
    transition: box-shadow .15s, transform .15s;
}
.logo-grid__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-grid__item img {
    max-width: 100%;
    max-height: 56px;
    width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(.6);
    opacity: .55;
    transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.logo-grid__item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

/* breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--accent); }

/* tag */
.tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--walnut-2);
    font-size: 12.5px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ===== Articles ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .3s ease, border-color .2s ease;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -22px rgba(98, 48, 31, 0.35);
    border-color: rgba(98, 48, 31, 0.25);
}
.article-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg);
}
.article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.article-card__body h3 {
    margin: 4px 0 0;
    font-size: 19px;
    line-height: 1.3;
    color: var(--walnut);
    font-weight: 700;
}
.article-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    flex: 1;
}
.article-card__meta {
    display: flex;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: auto;
    padding-top: 6px;
}

/* Article detail */
.article {
    padding: 40px 0 60px;
    background: var(--bg);
}
.article__container { max-width: 760px; }
.article__title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.18;
    color: var(--walnut);
    margin: 8px 0 16px;
    letter-spacing: -.01em;
}
.article__lead {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 22px;
}
.article__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}
.article__cover {
    margin: 0 0 30px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #fff;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body {
    font-size: 16.5px;
    line-height: 1.75;
    color: #2a2218;
}
.article__body h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    line-height: 1.25;
    color: var(--walnut);
    margin: 36px 0 14px;
    padding-top: 8px;
}
.article__body h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--walnut);
    margin: 28px 0 12px;
}
.article__body p { margin: 0 0 18px; }
.article__body ul, .article__body ol {
    padding-left: 22px;
    margin: 0 0 20px;
}
.article__body ul li, .article__body ol li {
    margin: 0 0 8px;
}
.article__body strong { color: var(--walnut); }
.article__body a { color: var(--walnut); border-bottom: 1px solid rgba(98,48,31,.3); }
.article__body a:hover { border-bottom-color: var(--walnut); }
.article__body blockquote {
    margin: 22px 0;
    padding: 18px 22px;
    background: #fff;
    border-left: 3px solid var(--brass);
    border-radius: 6px;
    font-style: italic;
    color: #4a3e2e;
}
.article__body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 14px 0;
}
.article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14.5px;
}
.article__body table th, .article__body table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.article__body table th {
    background: #fff;
    color: var(--walnut);
    font-weight: 700;
}

.article__cta {
    margin: 40px 0 0;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
}
.article__cta h3 {
    margin: 0 0 8px;
    color: var(--walnut);
    font-size: 1.35rem;
}
.article__cta p {
    margin: 0 0 18px;
    color: var(--muted);
}

@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; gap: 18px; }
    .article { padding: 24px 0 40px; }
    .article__body { font-size: 15.5px; line-height: 1.7; }
}

/* ===== File upload в lead-form ===== */
.lead-form__file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px dashed rgba(98, 48, 31, 0.35);
    border-radius: 10px;
    background: rgba(98, 48, 31, 0.04);
    color: var(--walnut);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s ease, border-color .2s ease;
}
.lead-form__file:hover { background: rgba(98, 48, 31, 0.08); border-color: var(--walnut); }
.lead-form__file input[type=file] { display: none; }
.lead-form__file-text { flex: 1; }
.lead-form__previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-top: 4px;
}
.lead-form__previews:empty { display: none; }
.lead-form__preview {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--line);
}
.lead-form__preview img { width: 100%; height: 100%; object-fit: cover; }
.lead-form__preview-rm {
    position: absolute;
    top: 4px; right: 4px;
    width: 22px; height: 22px;
    border: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    display: grid;
    place-items: center;
}
.lead-form__preview-rm:hover { background: rgba(0,0,0,0.85); }

/* burger */
.burger { display: none; }

/* ============================================================
   Responsive — header
   ============================================================ */
@media (max-width: 1100px) {
    .nav__dropdown { grid-template-columns: 1fr; min-width: 280px; }
}

/* Мобильный header — переделан под нормальный UX */
@media (max-width: 960px) {
    /* Топбар — скрываем полностью на мобилке, контакты есть в шапке/футере */
    .topbar { display: none !important; }

    .site-header { position: sticky; top: 0; z-index: 50; }
    .header__row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 0;
    }
    .brand { flex-shrink: 0; }
    .brand__logo { width: 44px !important; }

    /* На мобилке вместо «Оценить по фото» — компактная иконка-телефон */
    .header__row .btn--primary {
        order: 2;
        margin-left: auto;
        padding: 9px 14px !important;
        font-size: 13px !important;
        white-space: nowrap;
        transform: none !important;  /* отключаем magnetic-эффект на тачах */
    }

    .burger {
        order: 3;
        display: grid !important; place-items: center;
        width: 44px; height: 44px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        cursor: pointer;
        margin-left: 0;
        flex-shrink: 0;
        position: relative;
        z-index: 70;
    }
    .burger:active { background: var(--bg); }

    /* Сайд-меню справа */
    .nav {
        display: flex;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(320px, 86vw);
        background: #fff;
        flex-direction: column;
        padding: 78px 14px 32px;
        gap: 2px;
        align-items: stretch;
        box-shadow: -16px 0 40px rgba(0,0,0,0.18);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 65;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.2,.6,.2,1);
        border-top: 0;
        visibility: hidden;
    }
    .nav.is-open { transform: translateX(0); visibility: visible; }
    .nav a {
        padding: 13px 14px;
        font-size: 15px;
        border-radius: 10px;
        gap: 14px;
    }
    .nav a::after { display: none; }
    .nav a:hover { background: var(--bg); }
    .nav__has-dropdown { display: flex; flex-direction: column; }
    .nav__dropdown {
        position: static; box-shadow: none; border: 0;
        padding: 4px 0 6px 28px; display: grid; gap: 0; min-width: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .nav__dropdown a { font-size: 14px; padding: 9px 12px; }
    .nav__caret { display: none; }

    /* Блюрим контент кроме шапки */
    .page-wrap > * { transition: filter .3s ease; }
    body.is-nav-open .page-wrap > *:not(.site-header):not(.topbar) {
        filter: blur(8px) saturate(110%);
        pointer-events: none;
    }
    /* затемнение поверх блюра */
    body.is-nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(20,10,5,0.30);
        z-index: 58;
        pointer-events: auto;
        animation: navBackdropIn .3s ease;
    }
    @keyframes navBackdropIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    body.is-nav-open {
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
    }
    /* старое десктопное .nav на мобилке прячем — есть .mobile-nav */
    .nav { display: none !important; }

    /* Мобильная навигация — overlay справа */
    .mobile-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(340px, 88vw);
        background: #fff;
        box-shadow: -16px 0 40px rgba(0,0,0,0.18);
        padding: 64px 18px 28px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 70;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.2,.6,.2,1);
        visibility: hidden;
    }
    body.is-nav-open .mobile-nav {
        transform: translateX(0);
        visibility: visible;
    }
    .mobile-nav__close {
        position: absolute;
        top: 12px; right: 12px;
        width: 40px; height: 40px;
        background: var(--bg);
        border: 1px solid var(--line);
        border-radius: 10px;
        display: grid; place-items: center;
        color: var(--walnut);
        cursor: pointer;
        padding: 0;
    }
    .mobile-nav__link, .mobile-nav__sublink {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 14px;
        color: var(--walnut);
        text-decoration: none;
        font-size: 15.5px;
        font-weight: 600;
        border-radius: 10px;
        transition: background .15s ease, transform .15s ease;
    }
    .mobile-nav__link:active, .mobile-nav__sublink:active { background: var(--bg); transform: scale(.98); }
    .mobile-nav__ico {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        background: var(--bg);
        border-radius: 10px;
        color: var(--walnut);
        flex-shrink: 0;
        transition: background .2s ease, color .2s ease;
    }
    .mobile-nav__link:hover .mobile-nav__ico,
    .mobile-nav__link:active .mobile-nav__ico {
        background: var(--walnut);
        color: #fff;
    }
    .mobile-nav__group {
        background: var(--bg);
        border-radius: 12px;
        padding: 8px 6px;
        margin: 6px 0;
        border: 1px solid rgba(98, 48, 31, 0.08);
    }
    .mobile-nav__group-title {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px 6px;
        font-size: 11.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--walnut);
    }
    .mobile-nav__group-title svg { opacity: 0.7; }
    .mobile-nav__sublink {
        gap: 10px;
        font-size: 14.5px;
        font-weight: 500;
        padding: 9px 14px;
        color: var(--ink-2);
    }
    .mobile-nav__sublink::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--brass);
        border-radius: 50%;
        flex-shrink: 0;
        opacity: 0.5;
    }
    .mobile-nav__bottom {
        margin-top: auto;
        padding-top: 18px;
    }
}

/* На десктопе мобильное меню скрыто */
@media (min-width: 961px) {
    .mobile-nav { display: none !important; }
}

@media (max-width: 960px) {
    .hero__grid, .two-col, .svc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .svc-grid, .process, .team { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .obj-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .svc-grid, .process, .team { grid-template-columns: 1fr; }
    .lead-form { padding: 28px 22px; }
    .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .site-footer__cols { grid-template-columns: 1fr; gap: 28px; }
    .header__row .btn--primary { padding: 8px 12px !important; font-size: 12.5px !important; }
    .brand__logo { width: 38px !important; }
    .container { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 380px) {
    .header__row { gap: 6px; padding: 8px 0; }
    .header__row .btn--primary { padding: 7px 10px !important; font-size: 12px !important; }
    .burger { width: 40px; height: 40px; }
    .brand__logo { width: 36px !important; }
}
