:root {
    --ink: #171713;
    --ink-soft: #24241f;
    --paper: #f5f2ea;
    --paper-2: #ebe6da;
    --white: #fff;
    --line: rgba(23, 23, 19, 0.14);
    --brand: #ffb855;
    --brand-2: #f09a2e;
    --sand: #d5b98f;
    --muted: #57554d;
    --danger: #b42318;
    --success: #247a47;
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 36px;
    --shadow: 0 28px 80px rgba(22, 22, 18, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1240px;
    --header-h: 78px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    overflow-x: clip;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family:
        Segoe UI Variable,
        SF Pro Display,
        SF Pro Text,
        Segoe UI,
        Arial,
        sans-serif;
    font-size: 17px;
    line-height: 1.58;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

html.menu-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3 {
    font-weight: 760;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: clamp(36px, min(6.6vw, 7.6vh), 86px);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(38px, 4.8vw, 68px);
}

h3 {
    font-size: clamp(22px, 2.4vw, 31px);
}

::selection {
    color: var(--ink);
    background: var(--brand);
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 4px;
}

[data-sticky-summary] {
    visibility: hidden;
}
[data-sticky-summary].is-visible {
    visibility: visible;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--ink);
    background: var(--brand);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--white);
    background: #141411d1;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: #0f0f0df0;
    box-shadow: 0 16px 42px #0000002e;
}

.header-inner {
    display: flex;
    min-height: var(--header-h);
    align-items: center;
    gap: 12px;
}

.brand {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 12px;
}

.brand > span:last-child {
    display: flex;
    flex-direction: column;
}

.brand strong {
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand small {
    margin-top: 5px;
    color: #ffffff94;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 6px;
    border-radius: 12px;
    background: #f3f3f3;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    margin-left: 48px;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;
    color: #ffffffb8;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a:after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--brand);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.desktop-nav a:hover {
    color: var(--white);
}

.desktop-nav a:hover:after {
    transform: scaleX(1);
}

.header-contact {
    display: flex;
    flex: auto;
    flex-direction: column;
    align-items: flex-end;
}

.header-contact small {
    color: #ffffff7a;
    font-size: 10px;
}

.header-contact a {
    font-size: 16px;
    font-weight: 750;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: #ffffff0f;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--white);
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    z-index: 99;
    inset: calc(34px + var(--header-h)) 0 0;
    padding: 28px 24px max(32px, env(safe-area-inset-bottom));
    background: #0f0f0dfa;
    animation: menu-in 0.3s var(--ease) both;
}

.mobile-menu nav {
    display: grid;
    gap: 8px;
}

.mobile-menu nav > a:not(.button) {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-size: 18px;
    font-weight: normal;
}

.mobile-menu .button {
    margin-top: 18px;
}

@keyframes menu-in {
    0% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

.hero {
    position: relative;
    min-height: calc(100svh - 34px - var(--header-h));
    padding: clamp(74px, 9vw, 132px) 0 0;
    color: var(--white);
    background: #151512;
    isolation: isolate;
    overflow: hidden;
}

.hero-media,
.hero-scrim,
.hero-grid {
    position: absolute;
    z-index: -3;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-zoom 1.5s var(--ease) both;
}

.hero-scrim {
    z-index: -2;
    background:
        radial-gradient(
            circle at 78% 38%,
            rgba(255, 184, 85, 0.08),
            transparent 24%
        ),
        linear-gradient(
            90deg,
            #0e0e0cf5,
            #0e0e0cd4 38%,
            #0e0e0c38 70%,
            #0e0e0c3d
        ),
        linear-gradient(0deg, rgba(14, 14, 12, 0.96) 0%, transparent 45%);
}

.hero-grid {
    z-index: -1;
    opacity: 0.26;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 84px 84px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

@keyframes hero-zoom {
    0% {
        opacity: 0.4;
        transform: scale(1.06);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: end;
    gap: clamp(38px, 6vw, 88px);
}

.hero-copy {
    max-width: 880px;
}

.eyebrow {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 10px;
    color: #7d5210;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow:before {
    display: block;
    width: 34px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    content: "";
}

.hero .eyebrow,
.section-dark .eyebrow,
.lead-section .eyebrow,
.portfolio-section .eyebrow {
    color: var(--brand);
}

.hero-accent {
    margin-bottom: 16px;
    color: var(--brand);
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    max-width: 740px;
    margin-bottom: 30px;
    color: #ffffffb8;
    font-size: clamp(17px, 1.55vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(0) scale(0.985);
}

.button-primary {
    color: var(--ink);
    background: var(--brand);
    box-shadow: 0 14px 34px #ffb8552e;
}

.button-primary:hover {
    background: #ffc46e;
    box-shadow: 0 18px 40px #ffb85547;
}

.button-ghost {
    border-color: #ffffff40;
    color: var(--white);
    background: #ffffff12;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.button-ghost:hover {
    border-color: #ffffff80;
    background: #ffffff21;
}

.button-dark {
    color: var(--white);
    background: var(--ink);
}

.button-dark:hover {
    background: #34342e;
    box-shadow: 0 15px 32px #1414112e;
}

.button-ghost-dark {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.button-lg {
    min-height: 60px;
    padding-inline: 28px;
    border-radius: 18px;
    font-size: 15px;
}

.button-small {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 12px;
}

.button-block {
    width: 100%;
}

.hero-badges {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 10px 20px;
    color: #ffffffb3;
    font-size: 13px;
}

.hero-badges span:first-letter {
    color: var(--brand);
}

.hero-card {
    position: relative;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: #12120fb8;
    box-shadow: 0 32px 80px #0000004d;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.hero-card:after {
    position: absolute;
    width: 160px;
    height: 160px;
    top: -80px;
    right: -50px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
    filter: blur(65px);
    opacity: 0.18;
}

.level-visual {
    position: relative;
    height: 102px;
    margin-bottom: 24px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff0f, #ffffff03),
        repeating-linear-gradient(
            90deg,
            transparent 0 28px,
            rgba(255, 255, 255, 0.06) 29px 30px
        );
    overflow: hidden;
}

.level-beam {
    position: absolute;
    right: 0;
    bottom: 32px;
    left: 0;
    height: 2px;
    background: var(--brand);
    box-shadow: 0 0 22px var(--brand);
    animation: beam-scan 3.5s ease-in-out infinite alternate;
}

.level-dot {
    position: absolute;
    right: 36px;
    bottom: 26px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 20px var(--brand);
}

.level-label {
    position: absolute;
    right: 18px;
    top: 16px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 184, 85, 0.28);
    border-radius: 8px;
    color: var(--brand);
    background: #ffb85514;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

@keyframes beam-scan {
    to {
        transform: translateY(-34px);
    }
}

.hero-card > p {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-card > strong {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-card > span {
    display: block;
    color: #ffffff9e;
    font-size: 14px;
}

.hero-card > a {
    display: flex;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
}

.hero-card > a b {
    color: var(--brand);
    transition: transform 0.2s ease;
}

.hero-card > a:hover b {
    transform: translate(5px);
}

.hero-reveal {
    animation: hero-rise 0.8s var(--ease) both;
}

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

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

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

.hero-reveal:nth-child(5) {
    animation-delay: 0.32s;
}

.hero-reveal:nth-child(6) {
    animation-delay: 0.4s;
}

@keyframes hero-rise {
    0% {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
    }

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

.trust-strip {
    display: grid;
    margin-top: clamp(74px, 10vw, 130px);
    padding: 28px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.trust-item {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 10px;
}

.trust-item strong {
    color: var(--brand);
    font-size: clamp(22px, 2.6vw, 38px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.trust-item span {
    color: #ffffffa6;
    font-size: 12px;
    line-height: 1.3;
}

.section {
    position: relative;
    padding: clamp(56px, 10vw, 148px) 0;
}

.section-light {
    background: var(--paper);
}

.section-dark {
    color: var(--white);
    background: var(--ink);
}

.section-heading {
    max-width: 900px;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.section-heading > p:last-child,
.split-heading > p {
    color: var(--muted);
}

.split-heading {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: 70px;
}

.split-heading h2 {
    margin-bottom: 0;
}

.split-heading > p {
    margin: 0 0 4px;
}

.section-dark .split-heading > p {
    color: #ffffff94;
}

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

.benefit-card {
    position: relative;
    min-height: 300px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff80;
    overflow: hidden;
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.benefit-card:before {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
    filter: blur(55px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.benefit-card:hover {
    background: var(--white);
    box-shadow: 0 24px 58px #1414111a;
    transform: translateY(-10px);
}

.benefit-card:hover:before {
    opacity: 0.26;
}

.icon-chip {
    display: grid;
    width: 54px;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 18px;
    place-items: center;
    background: var(--paper);
}

.icon-chip svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.benefit-card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 25px;
}

.benefit-card p {
    position: relative;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.services-section {
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(255, 184, 85, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 88%,
            rgba(213, 185, 143, 0.08),
            transparent 26%
        ),
        var(--ink);
}

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

.service-card {
    position: relative;
    min-height: 335px;
    padding: 34px;
    border: 1px solid rgba(255, 153, 39, 0.25);
    border-radius: var(--radius);
    background: #2a231c;
    overflow: hidden;
    transition:
        transform 0.35s var(--ease),
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 80%), var(--service-photo, none);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.25;
}

.service-grid .service-card:nth-child(1) {
    --service-photo: url("/assets/wvariants/apartment.jpg");
}

.service-grid .service-card:nth-child(2) {
    --service-photo: url("/assets/wvariants/house.jpg");
}

.service-grid .service-card:nth-child(3) {
    --service-photo: url("/assets/wvariants/commercial.jpg");
}

.service-grid .service-card:nth-child(4) {
    --service-photo: url("/assets/wvariants/soundproof.jpg");
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:after {
    position: absolute;
    width: 230px;
    height: 230px;
    right: -140px;
    bottom: -150px;
    border: 1px solid rgba(255, 184, 85, 0.25);
    border-radius: 50%;
    content: "";
    transition: transform 0.7s var(--ease);
}

.service-card:hover {
    border-color: #ffb85559;
    background: #fff1;
    box-shadow: 0 0 15px rgba(255, 184, 85, 0.45);
    transform: translateY(-7px);
}

.service-card:hover:after {
    transform: scale(1.55);
}

.service-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-bottom: 56px;
    border: 1px solid rgba(255, 184, 85, 0.28);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    max-width: 440px;
    margin-bottom: 14px;
}

.service-card > p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #ffffff8f;
    font-size: 15px;
}

.service-bottom {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-bottom strong {
    color: var(--brand);
    font-size: 18px;
}

.service-bottom a {
    position: relative;
    z-index: 1;
    color: #fffc;
    font-size: 13px;
    font-weight: 700;
}

.price-disclaimer {
    margin: 20px 0 0;
    color: #ffffff57;
    font-size: 11px;
}

.process-section {
    background: var(--paper);
}

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

.process-line:before {
    position: absolute;
    top: 45px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: var(--line);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease);
}

.process-line.is-visible:before {
    transform: scaleX(1);
}

.process-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff73;
}

.process-card > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 64px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--brand);
    place-items: center;
    font-size: 13px;
    font-weight: 820;
    box-shadow: 0 0 0 8px var(--paper);
}

.process-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section-cta {
    display: flex;
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--white);
    background: var(--ink);
}

.section-cta p {
    margin: 0;
    font-weight: 720;
}

.section-cta .button-dark {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-section {
    color: var(--white);
    background: #10100e;
}

.portfolio-section .split-heading > p {
    color: #ffffff80;
}

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

.portfolio-card {
    position: relative;
    min-height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #24241f;
}

.portfolio-wide {
    grid-column: 1 / -1;
    min-height: 600px;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 1s var(--ease),
        filter 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.03);
}

.portfolio-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(24px, 4vw, 44px);
    background: linear-gradient(0deg, #0a0a08f5, #0a0a0873 70%, #0a0a0800);
    transform: translateY(22px);
    transition: transform 0.45s var(--ease);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-overlay h3 {
    margin: 8px 0;
    font-size: clamp(28px, 3.8vw, 48px);
}

.portfolio-overlay p {
    max-width: 720px;
    margin: 0;
    color: #fff9;
    font-size: 14px;
}

.guarantees-section {
    background:
        radial-gradient(
            circle at 0 100%,
            rgba(255, 184, 85, 0.22),
            transparent 25%
        ),
        var(--paper-2);
}

.guarantees-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(50px, 8vw, 110px);
}

.guarantees-copy {
    align-self: center;
}

.guarantees-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-weight: 760;
}

.guarantee-grid {
    display: grid;
    gap: 12px;
}

.guarantee-card {
    display: grid;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    grid-template-columns: 52px 1fr;
    gap: 18px;
    background: #ffffff9e;
    transition:
        transform 0.3s var(--ease),
        background 0.3s ease;
}

.guarantee-card:hover {
    background: var(--white);
    transform: translate(-8px);
}

.guarantee-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--brand);
    place-items: center;
    font-weight: 900;
}

.guarantee-card h3 {
    margin: 3px 0 8px;
    font-size: 22px;
}

.guarantee-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    overflow: hidden;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    align-items: center;
    gap: clamp(50px, 9vw, 120px);
}

.about-visual {
    perspective: 1000px;
}

.floor-model {
    position: relative;
    min-height: 500px;
    transform: rotateX(55deg) rotate(-25deg);
    transform-style: preserve-3d;
}

.floor-layer {
    position: absolute;
    right: 11%;
    left: 11%;
    height: 150px;
    border: 1px solid rgba(23, 23, 19, 0.12);
    border-radius: 22px;
    box-shadow: 0 26px 44px #17171329;
    transform-style: preserve-3d;
    transition: transform 0.65s var(--ease);
}

.floor-model:hover .floor-layer {
    transform: translateZ(var(--lift));
}

.floor-layer span {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--white);
    background: #171713;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.06em;
}

.floor-finish {
    top: 10px;
    z-index: 4;
    --lift: 44px;
    background:
        linear-gradient(
            90deg,
            transparent 49.7%,
            rgba(0, 0, 0, 0.06) 50%,
            transparent 50.3%
        ),
        linear-gradient(#d6c09d, #b99666);
}

.floor-screed {
    top: 95px;
    z-index: 3;
    --lift: 30px;
    background:
        radial-gradient(circle, rgba(0, 0, 0, 0.13) 1px, transparent 1.5px) 0
            0 / 9px 9px,
        #9c9990;
}

.floor-engineering {
    top: 180px;
    z-index: 2;
    --lift: 16px;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 40px,
            rgba(255, 184, 85, 0.7) 41px 46px,
            transparent 47px 80px
        ),
        #31312c;
}

.floor-base {
    top: 265px;
    z-index: 1;
    --lift: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent), #6a6962;
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.gallery-section {
    background: var(--paper-2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 16px 16px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffffa3;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.gallery-card:hover {
    box-shadow: 0 22px 50px #17171317;
}

.gallery-card__group {
    color: var(--ink);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-card__image {
    position: relative;
    width: 95%;
    aspect-ratio: 4 / 3;
    margin-top: 10px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--paper);
}

.gallery-card__slides,
.gallery-card__slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gallery-card__img {
    object-fit: cover;
    opacity: 0;
    transition:
        opacity 0.45s ease,
        transform 1s var(--ease);
}

.gallery-card__img.is-active {
    opacity: 1;
}

.gallery-card:hover .gallery-card__img.is-active {
    transform: scale(1.045);
}

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
}

.gallery-card__overlay > * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: none;
    color: rgba(23, 23, 19, 0.55);
    cursor: pointer;
    transition: color 0.25s ease;
}

.gallery-arrow svg {
    display: block;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.65));
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    color: var(--ink);
}

.gallery-card__prev {
    width: 20%;
}

.gallery-card__zoom {
    width: 60%;
    cursor: zoom-in;
}

.gallery-card__next {
    width: 20%;
}

.gallery-card__caption {
    margin-top: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
}

.gallery-card__text {
    margin-top: 3px;
    color: var(--ink);
    font-size: 13px;
}

.gallery-card__dots {
    display: flex;
    gap: 7px;
    margin-top: auto;
    padding-top: 10px;
}

.gallery-card__dots button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid var(--brand-2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.gallery-card__dots button::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink);
    transform: scale(0);
    transition: transform 0.35s var(--ease);
}

.gallery-card__dots button[aria-current="true"]::before {
    transform: scale(1);
}

.gallery-viewer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #00000033;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.gallery-viewer[hidden] {
    display: none;
}

.gallery-viewer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.gallery-viewer__content img {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: min(88vw, 1300px);
    height: auto;
    max-height: 74vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.gallery-viewer__stage {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

.gallery-viewer__arrow {
    position: relative;
    flex: 0 0 10%;
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.gallery-viewer__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(23, 23, 19, 0.16);
    transition: background 0.25s ease;
}

.gallery-viewer__arrow svg {
    position: relative;
    display: block;
}

.gallery-viewer__arrow:hover::before,
.gallery-viewer__arrow:focus-visible::before {
    background: rgba(23, 23, 19, 0.3);
}

.gallery-viewer__caption,
.gallery-viewer__text,
.gallery-viewer__dots {
    background: rgba(245, 242, 234, 0.88);
    border-radius: 999px;
}

.gallery-viewer__caption {
    padding: 7px 16px;
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
}

.gallery-viewer__text {
    padding: 6px 16px;
    margin: 0;
    color: var(--ink);
    font-size: 14px;
}

.gallery-viewer__dots {
    display: flex;
    gap: 10px;
    padding: 9px 16px;
}

.gallery-viewer__dots button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 1px solid rgba(23, 23, 19, 0.35);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s var(--ease);
}

.gallery-viewer__dots button::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink);
    transform: scale(0);
    transition: transform 0.35s var(--ease);
}

.gallery-viewer__dots button[aria-current="true"] {
    border-color: var(--ink);
}

.gallery-viewer__dots button[aria-current="true"]::before {
    transform: scale(1);
}

.gallery-viewer__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 23, 19, 0.16);
    color: var(--ink);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease;
}

.gallery-viewer__close:hover {
    background: rgba(23, 23, 19, 0.3);
}

.faq-section {
    background: var(--paper);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(50px, 9vw, 120px);
}

.faq-heading {
    position: sticky;
    top: calc(var(--header-h) + 35px);
}

.faq-heading > p:not(.eyebrow) {
    color: var(--muted);
}

.faq-heading .button {
    margin-top: 10px;
}

.accordion {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: grid;
    padding: 26px 0;
    grid-template-columns: 1fr 34px;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 720;
    line-height: 1.3;
    list-style: none;
}

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

.faq-item summary i {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition:
        transform 0.3s var(--ease),
        background 0.3s ease;
}

.faq-item summary i:before,
.faq-item summary i:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

.faq-item summary i:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i {
    background: var(--brand);
    transform: rotate(45deg);
}

.faq-item > div {
    overflow: hidden;
}

.faq-item > div p {
    max-width: 720px;
    margin: -6px 0 28px;
    color: var(--muted);
    font-size: 15px;
}

.lead-section {
    color: var(--white);
    background: #11110f;
    overflow: hidden;
    isolation: isolate;
}

.lead-backdrop {
    position: absolute;
    z-index: -1;
    width: 720px;
    height: 720px;
    right: -260px;
    bottom: -320px;
    border: 1px solid rgba(255, 184, 85, 0.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px #ffb85506,
        0 0 0 180px #ffb85505;
    animation: orbit 14s linear infinite;
}

@keyframes orbit {
    to {
        transform: rotate(360deg);
    }
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.75fr);
    gap: clamp(50px, 9vw, 120px);
}

.lead-copy {
    align-self: center;
}

.lead-copy > p:not(.eyebrow) {
    max-width: 660px;
    color: #ffffff94;
    font-size: 18px;
}

.lead-contact-list {
    display: grid;
    max-width: 560px;
    margin: 38px 0 28px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lead-contact-list a {
    display: flex;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    flex-direction: column;
    background: #ffffff09;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.lead-contact-list a:hover {
    border-color: #ffb85559;
    background: #ffb8550f;
}

.lead-contact-list span {
    color: #ffffff8c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lead-contact-list strong {
    margin-top: 5px;
    font-size: 16px;
}

.lead-copy > small {
    color: #ffffff8c;
    font-size: 12px;
}

.lead-form {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 30px;
    background: #ffffff0e;
    box-shadow: 0 30px 90px #0000003d;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.form-promo {
    margin-bottom: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 184, 85, 0.22);
    border-radius: 12px;
    color: var(--brand);
    background: #ffb8550f;
    font-size: 13px;
    font-weight: 700;
}

.field-grid,
.alternative-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

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

.field > span {
    color: #ffffffa8;
    font-size: 12px;
    font-weight: 650;
}

.field > span small {
    color: #ffffff8c;
    font-size: 12px;
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    color: var(--white);
    background: #ffffff0e;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.field textarea {
    resize: vertical;
}

.field select option {
    color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #ffffff4d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #ffb8558c;
    background: #ffffff13;
    box-shadow: 0 0 0 4px #ffb85514;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #ff827a;
}

.form-field-mark-required {
    color: #ff827a;
    font-weight: bold;
}

.alternative-toggle {
    margin: -2px 0 16px;
    padding: 0;
    border: 0;
    border-bottom: 1px dashed rgba(255, 184, 85, 0.5);
    color: var(--brand);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.04em;
}

.alternative-fields {
    margin-bottom: 4px;
    animation: field-open 0.35s var(--ease) both;
}

@keyframes field-open {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.consent-check {
    display: grid;
    margin: 4px 0 18px;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    color: #ffffffa6;
    font-size: 12px;
}

.consent-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--brand);
}

.consent-check a {
    color: #ffffffc7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form .button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.lead-form .button[disabled] i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
}

.form-status.is-error {
    color: #ffd2ce;
    background: #b423183d;
}

.form-status.is-success {
    color: #d9ffe4;
    background: #247a4740;
    animation: success-pop 0.45s var(--ease) both;
}

@keyframes success-pop {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
}

.promo-result {
    display: grid;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 184, 85, 0.25);
    border-radius: 14px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 14px;
    background: #ffb85514;
}

.promo-result span {
    color: #ffffff7a;
    font-size: 10px;
    text-transform: uppercase;
}

.promo-result strong {
    grid-column: 1;
    color: var(--brand);
    font-size: 24px;
    letter-spacing: 0.08em;
}

.promo-result button {
    grid-row: 1 / span 2;
    grid-column: 2;
    padding: 9px 12px;
    border: 1px solid rgba(255, 184, 85, 0.3);
    border-radius: 9px;
    color: var(--brand);
    background: transparent;
    cursor: pointer;
    font-size: 11px;
}

.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

.seo-section {
    padding: 62px 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.seo-copy {
    max-width: 920px;
}

.seo-copy h2 {
    margin-bottom: 18px;
    font-size: 30px;
}

.seo-copy p {
    color: var(--muted);
    font-size: 14px;
}

.contacts-section {
    background-color: var(--paper-2);
}

.contacts-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(40px, 6vw, 92px);
}

.contacts-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    margin-top: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-card {
    display: flex;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff8c;
    flex-direction: column;
    transition:
        transform 0.3s var(--ease),
        border-color 0.2s ease,
        background 0.2s ease;
}

a.contact-card:hover {
    border-color: #ffb8557a;
    background: #ffb85512;
    transform: translateY(-4px);
}

.contact-card .icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 15px;
}

.contact-card .icon-chip svg {
    width: 21px;
    height: 21px;
}

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

.contact-card__label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card__value {
    margin-top: 7px;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.contact-card__hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.contacts-actions {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.contacts-map {
    position: relative;
    margin: 0;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 24px 60px rgba(22, 22, 18, 0.1);
    overflow: hidden;
}

.contacts-map__frame {
    position: relative;
    display: block;
    /* Картинка Яндекса приходит извне, поэтому рамка держит форму сама:
       до загрузки и при отказе Яндекса блок не схлопывается и не прыгает.
       Отношение равно размеру снимка (максимум Яндекса — 650x450), поэтому
       из снимка не вырезается ни строки — вместе с плашкой «© Яндекс». */
    aspect-ratio: 650 / 450;
    background: var(--paper-2);
    overflow: hidden;
}

.contacts-map__frame img {
    display: block;
    width: 100%;
    height: auto;
    /* ALT того же языка, что и остальной текст: он и есть подпись, если
       Яндекс картинку не отдал. */
    color: var(--muted);
    font-size: 13px;
}

/* Никаких transform: scale на картинке: Яндекс требует, чтобы его плашка
   «© Яндекс» оставалась на снимке целиком, а увеличение с overflow:hidden
   срезало бы её. */
.contacts-map__frame:hover img {
    filter: saturate(1.06) contrast(1.02);
}

/* Карта не настроена (в контенте нет ссылки Constructor): вместо пустой
   рамки — подписание в ту же ссылку, и пропорции снимка себе не навязываем. */
.contacts-map__frame--off {
    display: flex;
    aspect-ratio: auto;
    min-height: 150px;
    align-items: center;
    justify-content: center;
}

.contacts-map__off {
    display: flex;
    padding: 24px;
    color: var(--muted);
    font-size: 14px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 6px;
}

.contacts-map__off b {
    font-weight: 700;
}

.contacts-map__caption {
    display: flex;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
    gap: 16px;
    background: var(--white);
    font-size: 13px;
}

.contacts-map__caption > span {
    color: var(--muted);
}

.contacts-map__caption > a {
    color: var(--ink);
    font-weight: 760;
    white-space: nowrap;
}

.contacts-map__caption > a:hover {
    color: var(--brand-2);
}

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

    .contact-card {
        padding: 18px;
    }

    .contact-card__value {
        font-size: 17px;
    }

    .contacts-map__caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 14px 16px;
    }
}

.site-footer {
    padding: 70px 0 max(24px, env(safe-area-inset-bottom));
    color: var(--white);
    background: #0d0d0b;
}

.footer-main {
    display: grid;
    padding-bottom: 54px;
    grid-template-columns: 1.35fr repeat(3, 0.7fr);
    gap: 40px;
}

.brand-light small {
    color: #ffffff6b;
}

.footer-brand p {
    max-width: 380px;
    margin: 24px 0 0;
    color: #ffffff8c;
    font-size: 12px;
}

.footer-main > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-main h2 {
    margin-bottom: 8px;
    color: #ffffff8c;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-main a,
.footer-main span {
    color: #ffffffa8;
    font-size: 13px;
}

.footer-main a:hover {
    color: var(--brand);
}

.footer-bottom {
    display: flex;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: space-between;
    gap: 24px;
    color: #ffffff8c;
    font-size: 12px;
}

.footer-bottom a {
    color: #ffffffb3;
}

.quick-actions {
    position: fixed;
    z-index: 90;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    display: grid;
    gap: 8px;
}

.quick-actions a {
    display: grid;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--white);
    background: #161613e0;
    box-shadow: 0 12px 28px #0000002e;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    place-items: center;
    transition:
        transform 0.22s var(--ease),
        color 0.2s ease,
        background 0.2s ease;
}

.quick-actions a:hover {
    color: var(--ink);
    background: var(--brand);
    transform: translate(-5px);
}

.quick-actions svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.mobile-cta {
    display: none;
    visibility: hidden;
}
.mobile-cta.is-visible {
    visibility: visible;
}

.reveal,
.reveal-card {
    opacity: 1;
    transform: none;
}

.js .reveal,
.js .reveal-card {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.75s var(--ease),
        transform 0.75s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible,
.js .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    :root {
        --header-h: 70px;
    }

    .desktop-nav {
        gap: 18px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .header-contact {
        width: 100%;
        width: stretch;
    }

    .header-contact small {
        display: none;
    }

    .header-contact a {
        text-align: right;
        font-size: 12px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 30px;
    }

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

    .benefit-card {
        min-height: 0;
    }

    .about-layout {
        gap: 60px;
    }

    .floor-model {
        min-height: 320px;
        transform: rotateX(58deg) rotate(-25deg) scale(0.9);
    }
}

@media (max-width: 719px) {
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        padding-top: 82px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-card {
        max-width: 430px;
        margin: 30px 0 0;
    }

    .trust-strip {
        margin-top: 74px;
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .split-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

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

    .service-card {
        min-height: 0;
    }

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

    .process-line:before {
        display: none;
    }

    .portfolio-wide {
        min-height: 360px;
    }

    .guarantees-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 680px;
    }

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

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-heading {
        position: static;
    }

    .lead-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1000px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 940px) {
    .brand small {
        display: none;
    }
}

@media (max-width: 620px) {
    :root {
        --radius: 20px;
        --radius-lg: 25px;
    }

    body {
        font-size: 16px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 66px;
    }

    .brand strong {
        font-size: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        padding: 5px;
    }

    .mobile-menu {
        top: 106px;
    }

    .hero {
        min-height: calc(100svh - var(--header-h) - 34px);
        padding-top: 56px;
    }

    .hero-media img {
        object-position: 64% center;
    }

    .hero-scrim {
        background:
            linear-gradient(180deg, #0e0e0c85, #0e0e0cf5 70%),
            linear-gradient(90deg, #0e0e0ccc, #0e0e0c2e);
    }

    .hero-grid {
        background-size: 58px 58px;
    }

    h2 {
        font-size: clamp(30px, 8.5vw, 38px);
    }

    .hero-accent {
        margin-bottom: 12px;
        font-size: 19px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
        color: #ffffffbd;
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button-lg {
        min-height: 52px;
    }

    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .hero-card {
        display: none;
    }

    .trust-strip {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 44px;
        padding: 14px 0 20px;
        gap: 12px;
    }

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

    .trust-item strong {
        font-size: 18px;
    }

    .section {
        padding: 56px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

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

    .benefit-card {
        min-height: 0;
        padding: 18px;
    }

    .benefit-card h3 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .service-card {
        min-height: 0;
        padding: 20px;
    }

    .service-number {
        margin-bottom: 26px;
    }

    .service-bottom {
        align-items: flex-end;
    }

    .process-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .process-card > span {
        margin-bottom: 24px;
    }

    .section-cta {
        align-items: stretch;
        flex-direction: column;
    }

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

    .portfolio-card,
    .portfolio-wide {
        min-height: 300px;
        grid-column: auto;
    }

    .portfolio-overlay {
        transform: none;
    }

    .portfolio-overlay h3 {
        font-size: 32px;
    }

    .guarantee-card {
        padding: 20px;
        grid-template-columns: 44px 1fr;
    }

    .guarantee-card > span {
        width: 42px;
        height: 42px;
    }

    .about-visual {
        margin: -40px -40px -20px;
        overflow: hidden;
    }

    .floor-model {
        min-height: 300px;
        transform: rotateX(60deg) rotate(-25deg) scale(0.72);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-section .container {
        width: 100%;
    }

    .gallery-card {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .gallery-viewer {
        padding: 16px 0;
    }

    .gallery-viewer__content {
        width: 100%;
    }

    .gallery-viewer__content img {
        max-width: 100vw;
        max-height: 75vh;
    }

    .gallery-viewer__arrow::before {
        width: 44px;
        height: 44px;
    }

    .faq-item summary {
        padding: 22px 0;
        font-size: 17px;
    }

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

    .lead-form {
        margin-inline: -4px;
        padding: 22px 16px;
        border-radius: 24px;
    }

    .field-grid,
    .alternative-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-main > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .quick-actions {
        display: none;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .hero-card {
        padding: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .js .reveal,
    .js .reveal-card {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .quick-actions,
    .mobile-cta,
    .button,
    .lead-form {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        color: #000;
        background: #fff;
    }

    .hero-media,
    .hero-scrim,
    .hero-grid {
        display: none;
    }

    .section {
        padding: 30px 0;
    }
}

@media (min-width: 1101px) {
    main > .section {
        display: flex;
        min-height: calc(100svh - var(--header-h) + 48px);
        flex-direction: column;
        justify-content: center;
        padding-block: clamp(28px, 4.5vh, 72px);
    }

    main > .section > .container:not(.guarantees-layout):not(.about-layout):not(.faq-layout):not(.lead-layout):not(.contacts-layout) {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .hero {
        display: flex;
        min-height: calc(100svh - var(--header-h) + 48px);
        flex-direction: column;
        justify-content: flex-end;
        padding-top: clamp(40px, 7vh, 104px);
        padding-bottom: 48px;
    }

    .hero h1 {
        margin-bottom: 14px;
    }

    .hero .eyebrow {
        margin-bottom: 14px;
    }

    .hero-accent {
        margin-bottom: 12px;
        font-size: clamp(19px, min(2.2vw, 3.2vh), 28px);
    }

    .hero-subtitle {
        margin-bottom: clamp(14px, 2.6vh, 26px);
        font-size: clamp(16px, min(1.55vw, 2.3vh), 20px);
    }

    .trust-strip {
        margin-top: clamp(24px, 5.5vh, 80px);
        padding: 20px 0 16px;
        gap: 18px;
    }

    .trust-item strong {
        font-size: clamp(20px, min(2.6vw, 3.8vh), 34px);
    }

    .section h2 {
        margin-bottom: 14px;
        font-size: clamp(28px, min(4.8vw, 4.8vh), 62px);
    }

    .section-heading {
        margin-bottom: clamp(20px, 4vh, 50px);
    }

    .split-heading {
        gap: 44px;
    }

    .benefit-card {
        min-height: 0;
        padding: 28px;
    }

    .icon-chip {
        width: 46px;
        height: 46px;
    }

    .benefit-card h3 {
        margin-bottom: 12px;
        font-size: 23px;
    }

    .service-card {
        min-height: 0;
        padding: 28px;
    }

    .service-number {
        width: 38px;
        height: 38px;
        margin-bottom: 30px;
    }

    .service-card h3 {
        margin-bottom: 12px;
        font-size: 25px;
    }

    .service-card > p {
        margin-bottom: 16px;
    }

    .process-card {
        padding: 26px;
    }

    .process-card > span {
        width: 40px;
        height: 40px;
        margin-bottom: 32px;
    }

    .process-card h3 {
        margin-bottom: 12px;
        font-size: 21px;
    }

    .section-cta {
        margin-top: 0;
        padding: 22px 28px;
    }

    .faq-layout {
        gap: clamp(36px, 5vw, 84px);
    }
}

@media (max-width: 960px) {
    .mobile-cta {
        position: fixed;
        z-index: 89;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: calc(58px + env(safe-area-inset-bottom));
        padding: 7px 8px max(7px, env(safe-area-inset-bottom));
        grid-template-columns: 1fr 1.35fr;
        gap: 7px;
        background: #0f0f0df0;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .mobile-cta a {
        display: grid;
        min-height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 12px;
        color: var(--white);
        place-items: center;
        font-size: 12px;
        font-weight: 760;
    }

    .mobile-cta a:last-child {
        border-color: var(--brand);
        color: var(--ink);
        background: var(--brand);
    }
}
