: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;
}


.desktop-nav {
    display: flex;
    gap: 30px;

    color: var(--blue);

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


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


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


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


.mobile-menu-toggle,
.mobile-menu {
    display: none;
}


.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;
}



/* ================================================
   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, 6.1rem);
    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) {

    .desktop-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: 150px;
        height: 64px;
    }


    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 61;
        width: 42px;
        height: 42px;
        margin-left: auto;
        margin-right: 8px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: var(--blue);
        cursor: pointer;
    }


    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: currentColor;
        transition: transform .25s, opacity .25s;
    }


    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }


    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }


    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    .mobile-menu {
        position: fixed;
        z-index: 60;
        /*top: 76px;*/
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        padding: 160px 14px 20px 14px;
        border-top: 1px solid #ddd;
        background: #fffffff5;
        box-shadow: 0 12px 30px #00497f18;
        backdrop-filter: blur(14px);
        transform: translateY(-120%);
        transition: transform .25s ease;
        
    }


    .mobile-menu.open {
        transform: translateY(0);
    }


    .mobile-menu a {
        padding: 15px 10px;
        border-bottom: 1px solid #ddd;
        color: var(--blue);
        font-size: 15px;
        font-weight: 700;
    }


    .mobile-menu a:last-child {
        border-bottom: 0;
    }


    .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;
    }
}


/* ================================================
   PROMO
================================================= */

.promo {
    padding: 42px 0;
    background: var(--cream);
}

.promo-box {
    position: relative;
    overflow: hidden;
    padding: 44px 52px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background:
        linear-gradient(115deg, #fffaf2 0%, #f4eee4 58%, #e9dfd1 100%);
    box-shadow: var(--shadow);
}

.promo-box::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -110px;
    top: -150px;
    border-radius: 50%;
    border: 1px solid #eb842d55;
}

.promo-label {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 8px 13px;
    border-radius: 4px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.promo-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.promo-copy {
    max-width: 820px;
}

.promo-copy .kicker {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.promo-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: .98;
    letter-spacing: -.035em;
}

.promo-discount {
    margin: 15px 0 8px;
    color: var(--blue);
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    line-height: 1.15;
}

.promo-discount strong {
    color: var(--orange);
    font-size: 1.35em;
}

.promo-note {
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.promo-badge {
    flex: 0 0 190px;
    width: 190px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: #fffaf2;
    color: var(--orange);
    text-align: center;
    box-shadow: 0 12px 35px #2a170f18;
}

.promo-badge span {
    margin-bottom: -8px;
    font-size: 25px;
    line-height: 1;
}

.promo-badge strong {
    font-size: 58px;
    line-height: .95;
    letter-spacing: -.05em;
}

.promo-badge small {
    margin-top: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .promo {
        padding: 28px 0;
    }

    .promo-box {
        padding: 30px 24px;
    }

    .promo-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .promo-badge {
        align-self: center;
        width: 155px;
        height: 155px;
        flex-basis: 155px;
    }

    .promo-badge strong {
        font-size: 48px;
    }
}



/* =================================================
   ОБЪЕДИНЁННЫЙ БЛОК ПРОЕКТОВ
================================================= */
.projects-combined {
    position: relative;
    padding: 92px 0 110px;
    background: #f1f6f8;
    color: var(--ink);
}

.projects-combined .promo-box {
    margin-bottom: 78px;
}

.projects-head {
    margin-bottom: 42px;
}

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

.project-card {
    overflow: hidden;
    border: 1px solid #d8e2e7;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 73, 127, .10);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(0, 73, 127, .14);
}

.project-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.72 / 1;
    background: #eef2f3;
    touch-action: pan-y;
}

.project-slides,
.project-slide {
    width: 100%;
    height: 100%;
}

.project-slides {
    position: relative;
}

.project-slide {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    cursor: zoom-in;
    transition: opacity .35s ease, visibility .35s ease;
}

.project-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

.project-slide:nth-child(n+2) img {
    object-fit: contain;
    background: #fff;
}

.project-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    padding: 0 0 2px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--blue);
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 7px 18px rgba(0,0,0,.10);
    transition: transform .2s ease, background .2s ease;
}

.project-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.project-prev { left: 16px; }
.project-next { right: 16px; }

.project-counter {
    position: absolute;
    z-index: 4;
    top: 16px;
    right: 16px;
    min-width: 58px;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .03em;
    text-align: center;
}

.project-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(0, 73, 127, .88);
    transform: translateX(-50%);
}

.project-dot {
    width: 11px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.42);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.project-dot.is-active {
    width: 21px;
    background: #fff;
}

.project-zoom {
    position: absolute;
    z-index: 4;
    right: 16px;
    bottom: 14px;
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    cursor: zoom-in;
    box-shadow: 0 7px 18px rgba(0,0,0,.10);
}

.project-zoom-icon {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--blue);
    border-radius: 50%;
}

.project-zoom-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: rotate(45deg);
    transform-origin: left center;
}

.project-content {
    padding: 27px 27px 28px;
}

.project-eyebrow {
    margin-bottom: 13px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-content h3 {
    margin: 0 0 17px;
    color: var(--blue);
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.project-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.project-specs span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 12px;
    border: 1px solid #d8e2e7;
    border-radius: 999px;
    background: #fff;
}

.project-specs b {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.project-specs small {
    display: none;
}

.project-description {
    min-height: 62px;
    margin: 0 0 17px;
    color: #56809c;
    font-size: 14px;
    line-height: 1.65;
}

.project-price {
    margin: 0 0 20px;
}

.project-price span {
    display: block;
    margin-bottom: 4px;
    color: #5e90aa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-price strong {
    display: block;
    color: var(--orange);
    font-size: 25px;
    line-height: 1.1;
    white-space: nowrap;
}

.project-cta {
    width: 100%;
    min-height: 49px;
    justify-content: center;
    border-radius: 999px;
    background: #ff861f;
    box-shadow: none;
}

.project-cta:hover {
    background: #f47b16;
    box-shadow: 0 9px 22px rgba(235,132,45,.22);
}

.project-lightbox {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 70px;
    background: #08131de8;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

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

.project-lightbox-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(1400px, 92vw);
    max-height: 88vh;
}

.project-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    background: #fff;
    box-shadow: 0 30px 90px #00000055;
}

.project-lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: -34px;
    color: #fff;
    font-size: 12px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.project-lightbox-close,
.project-lightbox-prev,
.project-lightbox-next {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: #ffffff1c;
    cursor: pointer;
}

.project-lightbox-close {
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
}

.project-lightbox-prev,
.project-lightbox-next {
    top: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 36px;
    transform: translateY(-50%);
}

.project-lightbox-prev { left: 18px; }
.project-lightbox-next { right: 18px; }

.project-lightbox-close:hover,
.project-lightbox-prev:hover,
.project-lightbox-next:hover { background: #ffffff32; }

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-content { padding: 24px; }
    .project-description { min-height: 0; }
    .project-lightbox { padding: 60px 20px; }
    .project-lightbox-prev { left: 8px; }
    .project-lightbox-next { right: 8px; }
}

@media (max-width: 600px) {
    .projects-combined { padding: 70px 0 80px; }
    .projects-combined .promo-box { margin-bottom: 58px; }
    .projects-grid { gap: 24px; }
    .project-media { aspect-ratio: 1 / .72; }
    .project-content { padding: 22px 18px 20px; }
    .project-content h3 { font-size: 26px; }
    .project-specs { gap: 6px; }
    .project-specs span { padding: 6px 10px; }
    .project-specs b { font-size: 10px; }
    .project-price strong { font-size: 22px; }
    .project-arrow { width: 38px; height: 38px; font-size: 25px; }
    .project-counter { top: 11px; right: 11px; }
    .project-zoom { right: 11px; bottom: 11px; }
    .project-lightbox-inner { max-width: 100%; }
    .project-lightbox-inner img { max-height: 76vh; }
    .project-lightbox-caption { bottom: -28px; }
}
