:root {
    --cream: #f4eee4;
    --milk: #fffaf2;
    --ink: #241b17;
    --muted: #71645d;
    --line: #d9cfc2;
    --shadow: 0 24px 70px #2a170f22;
    --blue: #00497f;
    --blue-dark: #00365e;
    --blue-light: #01579b;
    --orange: #eb842d;
    --gold: #f2b500;
}


/* ================================================
   BASE
================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Nunito Sans", sans-serif;
    overflow-x: hidden;
}


body.no-scroll {
    overflow: hidden;
}


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


button,
input {
    font: inherit;
}


.shell {
    width: min(1380px, calc(100% - 40px));
    margin: auto;
}



/* ================================================
   HEADER
================================================= */

.header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 50%;

    display: flex;

    width: 100%;
    height: 94px;

    align-items: center;
    justify-content: space-between;

    padding: 8px max(24px, calc((100vw - 1380px) / 2));

    border-bottom: 1px solid #ddd;
    background: #fffffff5;

    color: #212121;

    box-shadow: 0 6px 24px #00497f10;

    transform: translateX(-50%);

    backdrop-filter: blur(14px);
}


.brand {
    display: flex;
    align-items: center;
    gap: 0;

    font-weight: 800;
}


.official-logo {
    display: block;

    width: 250px;
    height: 72px;
    object-fit: cover;
}


.header nav {
    display: flex;
    gap: 30px;

    color: var(--blue);

    font-size: 14px;
    font-weight: 700;
}


.header nav a {
    opacity: .82;
    transition: .25s;
}


.header nav a:hover {
    opacity: 1;
    color: var(--orange);
}


.head-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}


.round-cta,
.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 0;
    border-radius: 4px;

    background: var(--orange);
    color: #fff;

    cursor: pointer;

    transition: .3s;

    text-transform: uppercase;
    letter-spacing: .04em;
}


.round-cta {
    padding: 13px 17px;
    font-weight: 800;
}


.round-cta:hover,
.btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}


.btn {
    min-height: 58px;
    padding: 0 24px;

    font-weight: 800;

    box-shadow: 0 10px 26px #0004;
}


.btn.light {
    border: 1px solid #fff;

    background: #fff;
    color: var(--blue);
}


.btn.light:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

/* =================================================
   POLICY PAGE
================================================= */

.policy-page {
    padding: 140px 0 120px;
}

.policy-container {
    max-width: 1100px;
}


/* ================================
   HEADER
================================ */

.policy-header {
    max-width: 850px;
    margin-bottom: 80px;
}

.policy-header h1 {
    margin: 20px 0 25px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.policy-intro {
    margin: 0;
    font-size: 21px;
    line-height: 1.6;
    opacity: 0.65;
}


/* ================================
   SECTIONS
================================ */

.policy-section {
    max-width: 900px;
    margin-bottom: 25px;
}

.policy-section h2,
.policy-requisites h2 {
    margin: 0 0 30px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.policy-section h3 {
    margin: 35px 0 18px;
    font-size: 21px;
    line-height: 1.4;
}

.policy-section p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.75;
}

.policy-section strong {
    font-weight: 700;
}


/* ================================
   LISTS
================================ */

.policy-section ul {
    margin: 0 0 25px;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 15px;
    padding-left: 8px;
    font-size: 17px;
    line-height: 1.7;
}

.policy-section li::marker {
    font-size: 0.7em;
}


/* ================================
   LINKS
================================ */

.policy-section a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ================================
   TABLE
================================ */

.policy-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.6;
}

.policy-table th,
.policy-table td {
    padding: 22px 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    vertical-align: top;
    text-align: left;
}

.policy-table th {
    width: 30%;
    font-weight: 700;
}

.policy-table td ul {
    margin: 0;
}


/* ================================
   REQUISITES
================================ */

.policy-requisites {
    max-width: 900px;
    margin-top: 100px;
    padding-top: 70px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.requisites-card {
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
}

.requisites-card h3 {
    margin: 0 0 30px;
    font-size: 24px;
}

.requisites-card dl {
    margin: 0;
}

.requisites-card dl > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.requisites-card dl > div:last-child {
    border-bottom: none;
}

.requisites-card dt {
    font-weight: 600;
    opacity: 0.6;
}

.requisites-card dd {
    margin: 0;
    line-height: 1.5;
}


/* =================================================
   MOBILE
================================================= */

@media (max-width: 700px) {

    .policy-page {
        padding: 100px 0 70px;
    }

    .policy-header {
        margin-bottom: 55px;
    }

    .policy-header h1 {
        font-size: 40px;
    }

    .policy-intro {
        font-size: 18px;
    }

    .policy-section {
        margin-bottom: 55px;
    }

    .policy-section h2,
    .policy-requisites h2 {
        font-size: 27px;
        margin-bottom: 24px;
    }

    .policy-section h3 {
        font-size: 19px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 16px;
        line-height: 1.65;
    }

    .policy-table {
        min-width: 650px;
    }

    .requisites-card {
        padding: 25px 20px;
    }

    .requisites-card dl > div {
        display: block;
    }

    .requisites-card dt {
        margin-bottom: 5px;
    }

    .requisites-card dd {
        margin-bottom: 5px;
    }

}

/* ================================================
   HERO
================================================= */

.hero {
    position: relative;

    min-height: 790px;

    overflow: hidden;

    padding: 155px 0 90px;

    color: #fff;
}


.hero-bg {
    position: absolute;
    z-index: -3;

    inset: -9%;

    background:
        linear-gradient(
            90deg,
            #003e70e8 0%,
            #00497fab 48%,
            #00497f50
        ),
        url("azbuka-compact-assets/001-lazyrniy-dom-banner.jpg")
        center / cover;

    will-change: transform;
}


.hero::before {
    content: "";

    position: absolute;
    z-index: -2;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            #003b6dc9,
            transparent 45%
        );
}


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


.eyebrow {
    display: inline-flex;

    gap: 10px;
    align-items: center;

    margin: 0 0 28px;
    padding: 10px 15px;

    border-radius: 4px;

    background: #ffffffeb;
    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
}


.eyebrow::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--orange);
}


.hero h1 {
    margin: 0;

    font-family: "Nunito Sans", sans-serif;

    font-size: clamp(4rem, 7vw, 7.3rem);
    line-height: .89;

    letter-spacing: -.045em;
}


.hero-lead {
    max-width: 610px;

    margin: 30px 0;

    color: #f5eee5;

    font-size: 19px;
    line-height: 1.65;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}


.hero-proof {
    position: absolute;

    right: max(20px, calc((100vw - 1380px) / 2));
    bottom: 90px;

    display: grid;

    width: 390px;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


.proof {
    padding: 18px;

    border-radius: 8px;

    background: #fff;
    color: #212121;

    border-top: 4px solid var(--orange);

    box-shadow: 0 18px 45px #0003;

    backdrop-filter: blur(15px);
}


.proof strong {
    display: block;
    color: var(--blue);
}


.proof span {
    font-size: 11px;
    color: var(--muted);
}


.scroll-cue {
    position: absolute;

    left: 50%;
    bottom: 28px;

    font-size: 10px;

    letter-spacing: .14em;
    text-transform: uppercase;

    transform: translateX(-50%);
}


.scroll-cue::after {
    content: "";

    display: block;

    width: 1px;
    height: 24px;

    margin: 8px auto 0;

    background: #fff;

    animation: scroll 1.7s infinite;
}



/* ================================================
   TICKER
================================================= */

.ticker {
    overflow: hidden;

    padding: 13px 0;

    background: var(--blue);
    color: #fff;
}


.ticker-track {
    display: flex;

    width: max-content;

    gap: 46px;

    animation: ticker 28s linear infinite;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .13em;
    text-transform: uppercase;
}


.ticker-track span::before {
    content: "◆";

    margin-right: 46px;

    color: var(--gold);
}



/* ================================================
   SECTIONS
================================================= */

/* section {
    padding: 110px 0;
} */


.section-head {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 40px;

    align-items: end;

    margin-bottom: 46px;
}


.kicker {
    margin: 0 0 14px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;
}


.section-head h2 {
    margin: 0;

    color: var(--blue);

    font-size: clamp(3rem, 5.5vw, 6.2rem);

    line-height: .96;

    letter-spacing: -.035em;
}


.section-head > p {
    max-width: 620px;

    margin: 0 0 6px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}



/* ================================================
   PLANS
================================================= */

.plans {
    background: #fbfbfb;
}


.plan-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


.plan-card {
    position: relative;

    overflow: hidden;

    border: 1px solid #e2e2e2;
    border-radius: 8px;

    background: #fff;

    box-shadow: 0 12px 30px #00497f0d;

    transition:
        box-shadow .4s,
        transform .4s;

    transform-style: preserve-3d;
}


.plan-card:hover {
    box-shadow: 0 22px 45px #00497f1e;
}


.plan-image {
    position: relative;

    aspect-ratio: 1.08;

    overflow: hidden;

    background: #fff;
}


.plan-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    cursor: zoom-in;

    transition: transform .6s;
}


.plan-card:hover .plan-image img {
    transform: scale(1.055);
}


.plan-num {
    position: absolute;

    top: 13px;
    left: 13px;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 4px;

    background: var(--blue);
    color: #fff;
}


.plan-info {
    padding: 20px;
}


.plan-info h3 {
    margin: 0 0 8px;

    color: var(--blue);

    font-size: 19px;
}


.plan-info p {
    min-height: 55px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.55;
}


.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 14px;
}


.tag {
    padding: 7px 9px;

    border-radius: 3px;

    background: #f2e7cb;
    color: #5e523b;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


.card-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 17px;
    padding: 14px 0 0;

    border: 0;
    border-top: 1px solid #ddd;

    background: transparent;
    color: var(--orange);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    cursor: pointer;
}


.card-link i {
    display: grid;

    width: 34px;
    height: 34px;

    place-items: center;

    border-radius: 4px;

    background: var(--orange);
    color: #fff;

    font-style: normal;
}



/* ================================================
   ARCHITECTURE
================================================= */

.architectures {
    position: relative;

    background: var(--blue);
    color: #fff;
}


.architectures::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue) 60%,
            var(--blue-light)
        );
}


.architectures .shell {
    position: relative;
}


.architectures .kicker {
    color: var(--gold);
}


.architectures .section-head > p {
    color: #cde0ee;
}


.architectures .section-head h2 {
    color: #fff;

    text-shadow: 0 4px 24px #002d50;
}


.arch-stage {
    display: grid;

    grid-template-columns: 1.25fr .75fr;

    gap: 18px;
}


.arch-feature {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    border-radius: 8px;

    background: #39271e;
}


.arch-feature img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity .5s,
        transform 1s;
}


.arch-overlay {
    position: absolute;

    inset: auto 22px 22px;

    padding: 22px;

    border: 1px solid #fff5;
    border-radius: 6px;

    background: #00497fe8;

    backdrop-filter: blur(18px);
}


.arch-overlay span {
    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


.arch-overlay h3 {
    margin: 8px 0 0;

    font-size: 28px;
}


.arch-thumbs {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.arch-thumb {
    position: relative;

    min-height: 142px;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 8px;

    background: #5b4034;

    cursor: pointer;

    transition: .3s;
}


.arch-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}


.arch-thumb:hover img {
    transform: scale(1.07);
}


.arch-thumb.active {
    border-color: var(--gold);

    transform: translateY(-4px);
}


.arch-thumb span {
    position: absolute;

    right: 9px;
    bottom: 9px;

    display: grid;

    width: 30px;
    height: 30px;

    place-items: center;

    border-radius: 50%;

    background: #221711dd;

    font-size: 10px;
}



/* ================================================
   BENEFITS
================================================= */

.benefits {
    background: #fff;
}


.benefit-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 12px;
}


.benefit {
    min-height: 300px;

    padding: 25px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;

    transition: .35s;
}


.benefit:hover {
    transform: translateY(-10px);

    border-color: var(--orange);

    box-shadow: 0 16px 36px #00497f14;
}


.benefit b {
    display: grid;

    width: 50px;
    height: 50px;

    place-items: center;

    border-radius: 4px;

    background: var(--orange);
    color: #fff;
}


.benefit h3 {
    margin: 65px 0 13px;

    color: var(--blue);

    font-size: 21px;
}


.benefit p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}



/* ================================================
   PROCESS
================================================= */

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 13px;
}


.step {
    position: relative;

    min-height: 270px;

    padding: 24px;

    overflow: hidden;

    border-radius: 8px;

    background: var(--blue);
    color: #fff;
}


.step::before {
    content: attr(data-step);

    position: absolute;

    right: -5px;
    top: -30px;

    color: #fff0;

    -webkit-text-stroke: 1px #fff2;

    font-size: 150px;
    font-weight: 900;
}


.step span {
    position: relative;
    z-index: 1;

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;
}


.step h3 {
    position: relative;
    z-index: 1;

    margin: 90px 0 12px;

    font-size: 22px;
}


.step p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #cde0ee;

    font-size: 13px;
    line-height: 1.6;
}



/* ================================================
   FINAL CTA
================================================= */

.final-cta {
    padding: 50px 0 100px;
}


.cta-box {
    position: relative;

    overflow: hidden;

    padding: 70px;

    border-radius: 8px;

    background:
        linear-gradient(
            110deg,
            var(--blue),
            var(--blue-light)
        );

    color: #fff;
}


.cta-box::after {
    content: "";

    position: absolute;

    right: -70px;
    top: -120px;

    width: 430px;
    height: 430px;

    border: 1px solid #fff3;
    border-radius: 50%;

    box-shadow:
        0 0 0 70px #fff1,
        0 0 0 140px #fff1;
}


.cta-box h2 {
    position: relative;
    z-index: 1;

    max-width: 850px;

    margin: 0;

    font-size: clamp(3rem, 5vw, 5.7rem);

    line-height: .98;

    letter-spacing: -.05em;
}


.cta-box p {
    position: relative;
    z-index: 1;

    max-width: 630px;

    margin: 24px 0;

    color: #dbeaf5;

    font-size: 17px;
    line-height: 1.6;
}


.cta-box .btn {
    position: relative;
    z-index: 1;

    background: var(--orange);
}


.cta-box .btn:hover {
    background: #fff;
    color: var(--blue);
}



/* ================================================
   FOOTER
================================================= */

footer {
    padding: 45px 0;

    border-top: 1px solid #ddd;

    background: #f7f9fc;
    color: #212121;
}


.footer-grid {
    display: grid;

    grid-template-columns: 1fr 1fr auto;

    gap: 35px;

    align-items: end;
}


.footer-brand {
    color: var(--blue);
}


.footer-brand small {
    display: block;

    margin-top: 8px;

    color: #9f8c82;

    font-size: 11px;
}


.contacts {
    font-size: 13px;
    line-height: 1.8;
}


.source {
    color: var(--orange);

    font-size: 11px;
}



/* ================================================
   REVEAL
================================================= */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity .8s,
        transform .8s;
}


.reveal.visible {
    opacity: 1;

    transform: none;
}



/* ================================================
   MODAL
================================================= */

.modal {
    position: fixed;
    z-index: 100;

    inset: 0;

    display: grid;

    place-items: center;

    padding: 20px;

    background: #160e0bd9;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    backdrop-filter: blur(12px);
}


.modal.open {
    opacity: 1;
    visibility: visible;
}


.modal-card {
    position: relative;

    width: min(580px, 100%);

    padding: 38px;

    border-radius: 8px;

    background: #fffaf3;

    transform:
        translateY(30px)
        scale(.96);

    transition: .35s;
}


.modal.open .modal-card {
    transform: none;
}


.close {
    position: absolute;

    right: 16px;
    top: 16px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 4px;

    background: #eee2d6;

    cursor: pointer;

    font-size: 22px;
}


.modal h2 {
    margin: 0 50px 10px 0;

    color: var(--blue);

    font-size: 32px;
}


.modal p {
    color: var(--muted);

    line-height: 1.6;
}


.form {
    display: grid;

    gap: 10px;

    margin-top: 22px;
}


.form input {
    height: 54px;

    padding: 0 15px;

    border: 1px solid var(--line);
    border-radius: 4px;

    background: #fff;
}


.form .btn {
    width: 100%;
}


.fine {
    font-size: 10px !important;
}


.success {
    display: none;

    padding: 24px;

    border-radius: 4px;

    background: #e1f0e7;
    color: #28523e;
}


.success.show {
    display: block;
}


.form.hide {
    display: none;
}



/* ================================================
   PLAN LIGHTBOX
================================================= */

.plan-lightbox {
    position: fixed;
    z-index: 200;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, .82);

    opacity: 0;

    transition: opacity .25s ease;

    cursor: zoom-out;
}


.plan-lightbox.open {
    opacity: 1;
}


.plan-lightbox-content {
    position: relative;

    max-width: 1200px;
    max-height: 90vh;

    transform: scale(.95);

    transition: transform .25s ease;

    cursor: default;
}


.plan-lightbox.open .plan-lightbox-content {
    transform: scale(1);
}


.plan-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    background: #fff;

    box-shadow: 0 25px 80px #0008;
}


.plan-lightbox-close {
    position: absolute;

    right: -45px;
    top: -45px;

    width: 40px;
    height: 40px;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
}



/* ================================================
   ANIMATIONS
================================================= */

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}


@keyframes scroll {

    0%,
    100% {
        transform: scaleY(.2);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
    }

}



/* ================================================
   TABLET
================================================= */

@media (max-width: 1050px) {

    .header nav {
        display: none;
    }


    .hero-proof {
        width: 320px;
    }


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


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


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

}



/* ================================================
   MOBILE
================================================= */

@media (max-width: 760px) {

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


    .header {
        height: 76px;

        padding: 4px 14px;
    }


    .official-logo {
        width: 98px;
        height: 64px;
    }


    .round-cta {
        padding: 11px 13px;

        font-size: 11px;
    }


    .hero {
        min-height: 1080px;

        padding-top: 118px;
    }


    .hero-copy {
        max-width: 100%;

        text-align: center;
    }


    .hero h1 {
        font-size: clamp(
            3.2rem,
            14vw,
            5rem
        );
    }


    .hero-lead {
        margin: 22px 0;

        font-size: 15px;
        line-height: 1.55;
    }


    .hero-actions {
        justify-content: center;

        gap: 8px;
    }


    .hero-actions .btn {
        min-height: 52px;

        padding: 0 17px;

        font-size: 11px;
    }


    .hero-proof {
        left: 14px;
        right: 14px;
        bottom: 68px;

        width: auto;
    }


    .section-head {
        grid-template-columns: 1fr;
    }


    .section-head h2 {
        font-size: clamp(
            2.8rem,
            12vw,
            4.5rem
        );
    }


    section {
        padding: 80px 0;
    }


    .arch-stage {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .arch-feature {
        min-height: 460px;
    }


    .arch-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }


    .arch-thumb {
        min-height: 100px;
    }


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


    .benefit h3 {
        margin-top: 35px;
    }


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


    .cta-box {
        padding: 45px 28px;
    }


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


    .scroll-cue {
        display: none;
    }


    .plan-lightbox {
        padding: 20px;
    }


    .plan-lightbox-content {
        max-width: 100%;
        max-height: 90vh;
    }


    .plan-lightbox-content img {
        max-width: 100%;
        max-height: 80vh;
    }


    .plan-lightbox-close {
        right: 0;
        top: -45px;
    }

}



/* ================================================
   SMALL MOBILE
================================================= */

@media (max-width: 520px) {

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


    .hero-proof {
        grid-template-columns: 1fr 1fr;

        bottom: 66px;
    }


    .proof {
        padding: 13px;
    }


    .proof strong {
        font-size: 21px;
    }


    .hero {
        min-height: 1110px;
    }


    .eyebrow {
        margin-bottom: 20px;

        font-size: 9px;
    }


    .hero h1 {
        font-size: clamp(
            3rem,
            13.5vw,
            4.1rem
        );

        line-height: .96;
    }


    .arch-thumbs {
        grid-template-columns: 1fr 1fr;
    }


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


    .benefit {
        min-height: 230px;
    }


    .modal-card {
        padding: 28px 20px;
    }


    .header {
        top: 0;
    }

}



/* ================================================
   REDUCED MOTION
================================================= */

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

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }


    .hero-bg {
        transform: none !important;
    }

}


/* =================================================
   НОВЫЙ БЛОК АРХИТЕКТУРЫ — КАК У ПЛАНИРОВОК
================================================= */

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

.architecture-card {
    overflow: hidden;
    background: var(--white, #fff);
    border: 1px solid var(--line, rgba(36, 37, 34, 0.14));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.architecture-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8e5df;
    cursor: zoom-in;
}

.architecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.architecture-card:hover .architecture-image img {
    transform: scale(1.035);
}

.architecture-num {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.architecture-info {
    padding: 27px 30px 30px;
}

.architecture-info h3 {
    min-height: 62px;
    margin: 0;
    font-size: 27px;
    line-height: 1.15;
}

.architecture-info .card-link {
    margin-top: 18px;
}

/* Универсальное увеличение изображения */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(15, 18, 20, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 92vh;
}

.image-lightbox-content img {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 760px) {
    .architecture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .architecture-info {
        padding: 23px;
    }

    .architecture-info h3 {
        min-height: auto;
    }

    .image-lightbox {
        padding: 15px;
    }

    .image-lightbox-content img {
        max-width: 96vw;
        max-height: 82vh;
    }
}
