@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
    url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.woff2') format('woff2'),
    url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
    url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Denistina';
    src: url('../fonts/Denistina.woff2') format('woff2'),
    url('../fonts/Denistina.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #F8F6F0;
    color: #504B40;
    min-width: 320px;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
ul { list-style: none; }
img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --side-padding: 40px;
}

/*  HEADER*/
.header {
    position: relative;
    z-index: 100;
    background: #F8F6F0;
}
.header__container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 14px var(--side-padding);
    min-height: 90px;
    position: relative;
}

.header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}
.header__logo img {
    width: 315px;
    height: 76px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 1;
    min-width: 0;
}
.nav-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    color: #504B40;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link--active {
    font-weight: 600;
    color: #BC8E24;
}

.burger-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid rgba(202, 185, 126, 0.35);
    background: #F8F6F0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}
.burger-btn:hover {
    border-color: #CAA653;
}
.burger-btn .burger-icon {
    width: 24px;
    height: 24px;
}
.burger-icon--close {
    display: none;
}
.burger-btn.active .burger-icon--menu {
    display: none;
}
.burger-btn.active .burger-icon--close {
    display: block;
}

.desktop-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
}
.header__phone {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #504B40;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.text-hover-anim {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    vertical-align: middle;
}

.text-hover-anim .span-mother {
    display: flex;
}

.text-hover-anim .span-mother span {
    display: inline-block;
    transition: transform 0.2s ease;
}
.text-hover-anim .span-mother span:nth-child(2) { transition-duration: 0.25s; }
.text-hover-anim .span-mother span:nth-child(3) { transition-duration: 0.3s; }
.text-hover-anim .span-mother span:nth-child(4) { transition-duration: 0.35s; }
.text-hover-anim .span-mother span:nth-child(5) { transition-duration: 0.4s; }
.text-hover-anim .span-mother span:nth-child(6) { transition-duration: 0.45s; }
.text-hover-anim .span-mother span:nth-child(7) { transition-duration: 0.5s; }
.text-hover-anim .span-mother span:nth-child(8) { transition-duration: 0.55s; }
.text-hover-anim .span-mother span:nth-child(9) { transition-duration: 0.6s; }
.text-hover-anim .span-mother span:nth-child(10) { transition-duration: 0.65s; }
.text-hover-anim .span-mother span:nth-child(11) { transition-duration: 0.7s; }
.text-hover-anim .span-mother span:nth-child(12) { transition-duration: 0.75s; }
.text-hover-anim .span-mother span:nth-child(13) { transition-duration: 0.8s; }
.text-hover-anim .span-mother span:nth-child(14) { transition-duration: 0.85s; }
.text-hover-anim .span-mother span:nth-child(15) { transition-duration: 0.9s; }
.text-hover-anim .span-mother span:nth-child(16) { transition-duration: 0.95s; }
.text-hover-anim .span-mother span:nth-child(17) { transition-duration: 1s; }
.text-hover-anim .span-mother span:nth-child(18) { transition-duration: 1.05s; }

.text-hover-anim:hover .span-mother span {
    transform: translateY(-1.2em);
}

.text-hover-anim .span-mother2 {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}

.text-hover-anim .span-mother2 span {
    display: inline-block;
    transform: translateY(1.2em);
    transition: transform 0.2s ease;
}
.text-hover-anim .span-mother2 span:nth-child(2) { transition-duration: 0.25s; }
.text-hover-anim .span-mother2 span:nth-child(3) { transition-duration: 0.3s; }
.text-hover-anim .span-mother2 span:nth-child(4) { transition-duration: 0.35s; }
.text-hover-anim .span-mother2 span:nth-child(5) { transition-duration: 0.4s; }
.text-hover-anim .span-mother2 span:nth-child(6) { transition-duration: 0.45s; }
.text-hover-anim .span-mother2 span:nth-child(7) { transition-duration: 0.5s; }
.text-hover-anim .span-mother2 span:nth-child(8) { transition-duration: 0.55s; }
.text-hover-anim .span-mother2 span:nth-child(9) { transition-duration: 0.6s; }
.text-hover-anim .span-mother2 span:nth-child(10) { transition-duration: 0.65s; }
.text-hover-anim .span-mother2 span:nth-child(11) { transition-duration: 0.7s; }
.text-hover-anim .span-mother2 span:nth-child(12) { transition-duration: 0.75s; }
.text-hover-anim .span-mother2 span:nth-child(13) { transition-duration: 0.8s; }
.text-hover-anim .span-mother2 span:nth-child(14) { transition-duration: 0.85s; }
.text-hover-anim .span-mother2 span:nth-child(15) { transition-duration: 0.9s; }
.text-hover-anim .span-mother2 span:nth-child(16) { transition-duration: 0.95s; }
.text-hover-anim .span-mother2 span:nth-child(17) { transition-duration: 1s; }
.text-hover-anim .span-mother2 span:nth-child(18) { transition-duration: 1.05s; }

.text-hover-anim:hover .span-mother2 span {
    transform: translateY(0);
}

.btn-callback {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #504B40;
    border: 1px solid #CAA653;
    padding: 12px 14px;
    background: transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-callback span {
    position: relative;
    z-index: 10;
    transition: color 0.4s ease;
}
.btn-callback::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #CAA653;
    transform: skew(30deg) translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 0;
}
.btn-callback:hover span {
    color: #FFFFFF;
}
.btn-callback:hover::before {
    transform: skew(30deg) translateX(0);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #CAA653;
    padding: 24px 28px;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary span {
    position: relative;
    z-index: 10;
    transition: color 0.4s ease;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #b8952e;
    transform: skew(30deg) translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 0;
}
.btn-primary:hover::before {
    transform: skew(30deg) translateX(0);
}

.catalog-card__btn {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #3B4453;
    padding: 25px 24px;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.catalog-card__btn span {
    position: relative;
    z-index: 10;
    transition: color 0.4s ease;
}
.catalog-card__btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #63728B;
    transform: skew(30deg) translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 0;
}
.catalog-card__btn:hover::before {
    transform: skew(30deg) translateX(0);
}

/* MOBILE MENU*/
.mobile-menu {
    position: absolute;
    top: 73px;
    left: var(--side-padding);
    z-index: 200;
    width: 220px;
    background: #F8F6F0;
    border: 1px solid rgba(202, 185, 126, 0.35);
    backdrop-filter: blur(54px);
    -webkit-backdrop-filter: blur(54px);
    padding: 16px 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(80, 75, 64, 0.5);
}
.mobile-nav-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    color: #504B40;
    transition: color 0.25s ease, transform 0.25s ease;
}
.mobile-nav-link:hover {
    color: #BC8E24;
    transform: translateX(4px);
}
.mobile-nav-link--active {
    font-weight: 600;
    color: #BC8E24;
}
.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #BC8E24;
    transition: opacity 0.3s ease;
}
.mobile-menu__phone:hover {
    opacity: 0.7;
}
.mobile-menu__phone-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.mobile-menu__callback {
    font-size: 16px;
    padding: 10px 12px;
}

/* HERO */
.hero__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 15px var(--side-padding) 0;
}
.hero__image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero__image {
    width: 100%;
    height: 740px;
    object-fit: cover;
    object-position: center center;
    display: block;
    animation: heroImageReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroImageReveal {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 40px 22px 40px;
}

.hero__top-text {
    max-width: 500px;
    animation: heroFadeSlideDown 0.8s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes heroFadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 8px;
}
.hero__since {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__since-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    color: #FFFFFF;
}

.hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}
.hero__bottom-left {
    flex: 1;
    min-width: 0;
    animation: heroFadeSlideUp 0.9s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes heroFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-weight: 500;
    font-size: 64px;
    line-height: 80%;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.hero__features {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero__feature {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.hero__feature span {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    white-space: nowrap;
}
.hero__bottom-right {
    flex-shrink: 0;
    animation: heroFadeSlideUp 0.9s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero__features-mobile { display: none; }

/* CATALOG */
.catalog {
    background: #F8F6F0;
}
.catalog__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px var(--side-padding) 80px;
}
.catalog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.catalog__header-left {
    flex: 1;
    min-width: 0;
    max-width: 560px;
}
.catalog__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #504B40;
}
.catalog__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    color: #504B40;
}
.catalog__header-right {
    flex: 1;
    min-width: 0;
    max-width: 480px;
    padding-top: 4px;
}
.catalog__description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
}

.catalog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.catalog-card {
    background: #FFFFFF;
    padding: 16px;
}

.catalog-card__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 16px;
    user-select: none;
    -webkit-user-select: none;
}
.catalog-card__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 638 / 360;
}
.catalog-card__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}
.catalog-card__slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.catalog-card__slide--animating {
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-card__slide--incoming {
    opacity: 1;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card__arrow {
    position: absolute;
    top: 0;
    width: 42px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
    padding: 0;
}
.catalog-card__arrow--left {
    left: 0;
}
.catalog-card__arrow--right {
    right: 0;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-card__slider:hover .catalog-card__arrow {
        opacity: 1;
    }
}

.catalog-card__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
}
.catalog-card__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    opacity: 0.5;
    backdrop-filter: blur(34px);
    -webkit-backdrop-filter: blur(34px);
    cursor: pointer;
}
.catalog-card__dot--active {
    opacity: 1;
}

.catalog-card__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.catalog-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.catalog-card__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: #504B40;
}
.catalog-card__price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: #AC996B;
    text-align: right;
    white-space: nowrap;
}

.catalog-card__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}
.catalog-card__tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #504B40;
    padding: 10px;
    border: 1px solid #E5E0D4;
    background: rgba(219, 214, 210, 0.22);
    white-space: nowrap;
}

.catalog-card__area {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    color: #504B40;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1500px) {
    .header__logo {
        position: static;
        transform: none;
        margin: 0 20px;
    }
}

@media (max-width: 1400px) {
    .nav-link { font-size: 15px; }
    .desktop-nav { gap: 14px; }
    .header__phone { font-size: 16px; }
    .btn-callback { font-size: 16px; padding: 10px 12px; }
    .header__logo img { width: 260px; height: 64px; }
    .header__logo { margin: 0 14px; }
}

@media (max-width: 1350px) {
    .catalog-card__tag--floor { display: none; }
}


@media (max-width: 1250px) {
    :root { --side-padding: 30px; }
    .nav-link { font-size: 14px; }
    .desktop-nav { gap: 12px; }
    .header__phone { font-size: 15px; }
    .btn-callback { font-size: 15px; padding: 10px 12px; }
    .header__logo img { width: 220px; height: 54px; margin-left: 50px;}
    .header__logo { margin: 0 10px; }

    .hero__title { font-size: 52px; }
    .hero__image { height: 620px; }
    .hero__overlay { padding: 30px 30px 20px 30px; }
    .hero__feature span { font-size: 16px; }
    .btn-primary { font-size: 16px; padding: 20px 24px; }

    .catalog__container { padding: 50px var(--side-padding) 60px; }
    .catalog__title { font-size: 30px; }
    .catalog__title-script { font-size: 32px; }
    .catalog__description { font-size: 16px; }
    .catalog__grid { gap: 24px; }
    .catalog-card__name { font-size: 26px; }
    .catalog-card__price { font-size: 26px; }
    .catalog-card__area { font-size: 26px; }
    .catalog-card__tag { font-size: 14px; padding: 8px; }
    .catalog-card__btn { font-size: 18px; padding: 22px 20px; }
}

@media (max-width: 1024px) {
    :root { --side-padding: 20px; }

    .desktop-nav { display: none; }
    .burger-btn { display: flex; }

    .header__logo {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    .header__logo img { width: 250px; height: 60px; }

    .desktop-contacts { display: flex; }
    .header__phone { font-size: 16px; }
    .btn-callback { font-size: 16px; padding: 10px 14px; }

    .hero__image { height: 580px; }
    .hero__title { font-size: 48px; }
    .hero__overlay { padding: 28px 28px 18px 28px; }
    .hero__features { gap: 14px; }
    .hero__feature span { font-size: 15px; }
    .btn-primary { font-size: 15px; padding: 18px 22px; }

    .mobile-menu { left: var(--side-padding); right: auto; }

    .catalog__header { gap: 30px; margin-bottom: 30px; }
    .catalog__header-left { max-width: 440px; }
    .catalog__header-right { max-width: 400px; }
    .catalog__title { font-size: 26px; }
    .catalog__title-script { font-size: 28px; }
    .catalog__description { font-size: 15px; }
    .catalog__grid { gap: 20px; }
    .catalog-card__name { font-size: 22px; }
    .catalog-card__price { font-size: 22px; }
    .catalog-card__area { font-size: 22px; }
    .catalog-card__tag { font-size: 13px; padding: 7px; }
    .catalog-card__btn { font-size: 16px; padding: 20px 18px; }
    .catalog-card__tag--floor { display: none; }
    .catalog-card__tag--hide-tablet { display: none; }
}

@media (max-width: 856px) {
    .hero__title { font-size: 44px; }
}

@media (max-width: 800px) {
    .header__logo img { width: 200px; height: 50px; }
    .header__phone { font-size: 14px; }
    .btn-callback { font-size: 14px; padding: 8px 10px; }

    .hero__image { height: 520px; }
    .hero__title { font-size: 40px; }
    .hero__subtitle { font-size: 14px; }
    .hero__since-script { font-size: 32px; }
    .hero__overlay { padding: 24px 24px 16px 24px; }
    .hero__feature span { font-size: 14px; }
    .btn-primary { font-size: 14px; padding: 16px 20px; }

    .catalog__grid { gap: 16px; }
    .catalog-card { padding: 12px; }
    .catalog-card__name { font-size: 20px; }
    .catalog-card__price { font-size: 20px; }
    .catalog-card__area { font-size: 20px; }
    .catalog-card__tag { font-size: 12px; padding: 6px; }
    .catalog-card__btn { font-size: 14px; padding: 18px 16px; }
    .catalog-card__dots { gap: 6px; }
    .catalog-card__dot { width: 12px; height: 12px; }
}

@media (max-width: 755px) {
    .hero__title { font-size: 36px; }
}

@media (max-width: 640px) {
    :root { --side-padding: 16px; }

    .header__container {
        min-height: 70px;
        padding: 12px var(--side-padding);
    }

    .desktop-contacts { display: none; }

    .header__logo {
        position: static;
        transform: none;
        margin: 0;
        margin-right: auto;
        order: -1;
    }
    .header__logo img { width: 210px; height: 56px; margin-left: 0px; }
    .burger-btn { order: 1; }

    .mobile-menu {
        top: 70px;
        left: auto;
        right: var(--side-padding);
    }

    .hero__container { padding: 10px var(--side-padding) 0; }

    .hero__image {
        height: 520px;
        object-position: 30% center;
    }

    .hero__overlay { padding: 20px 20px 16px 20px; }

    .hero__title {
        font-size: 34px;
        line-height: 85%;
        margin-bottom: 16px;
    }

    .hero__subtitle { font-size: 13px; margin-bottom: 4px; }
    .hero__since-script { font-size: 28px; }

    .hero__features { display: none; }

    .hero__features-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px 0;
    }
    .hero__features-mobile .hero__feature span {
        color: #504B40;
        font-size: 16px;
        white-space: nowrap;
    }

    .hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .hero__bottom-right { width: 100%; }
    .btn-primary.hero__cta {
        width: 100%;
        font-size: 16px;
        padding: 18px 20px;
        text-align: center;
    }

    .catalog__container { padding: 40px var(--side-padding) 50px; }
    .catalog__header { flex-direction: column; gap: 0; margin-bottom: 24px; }
    .catalog__header-left { max-width: 100%; }
    .catalog__header-right { display: none; }
    .catalog__title { font-size: 24px; }
    .catalog__title-script { font-size: 26px; }
    .catalog__grid { grid-template-columns: 1fr; gap: 20px; }
    .catalog-card { padding: 12px; }
    .catalog-card__slider { margin-bottom: 12px; }
    .catalog-card__name { font-size: 22px; }
    .catalog-card__price { font-size: 22px; }
    .catalog-card__area { font-size: 22px; }
    .catalog-card__tag { font-size: 13px; padding: 7px; }
    .catalog-card__btn { font-size: 16px; padding: 20px 20px; }
    .catalog-card__arrow { opacity: 0; transition: opacity 0.15s ease; }
    .catalog-card__dots { gap: 6px; }
    .catalog-card__dot { width: 12px; height: 12px; }
    .catalog-card__tag--hide-mobile { display: none; }
}

@media (max-width: 400px) {
    .header__logo img { width: 180px; height: 48px; }

    .hero__image { height: 460px; }
    .hero__title { font-size: 28px; }
    .hero__subtitle { font-size: 12px; }
    .hero__since-script { font-size: 24px; }

    .hero__features-mobile .hero__feature span { font-size: 14px; }
    .btn-primary.hero__cta { font-size: 14px; padding: 16px 16px; }

    .catalog__title { font-size: 20px; }
    .catalog__title-script { font-size: 22px; }
    .catalog-card__name { font-size: 18px; }
    .catalog-card__price { font-size: 18px; }
    .catalog-card__area { font-size: 18px; }
    .catalog-card__tag { font-size: 12px; padding: 6px; }
    .catalog-card__btn { font-size: 14px; padding: 18px 16px; }
}

/* QUIZ  */
.quiz {
    background: #F8F6F0;
}
.quiz__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px var(--side-padding) 80px;
}

.quiz__intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.quiz__main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 12px;
}
.quiz__main-title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    color: #504B40;
    display: block;
}
.quiz__main-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
}

.quiz__box {
    max-width: 960px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.quiz__steps-wrapper {
    flex: 1;
    min-height: 420px;
    position: relative;
}

.quiz__step {
    display: none;
    flex-direction: column;
}
.quiz__step--active {
    display: flex;
}
.quiz__box-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 100%;
    color: #504B40;
    margin-bottom: 20px;
}
.quiz__separator {
    width: 100%;
    height: 0;
    border: none;
    border-top: 1px dashed rgba(80, 75, 64, 0.5);
    margin-bottom: 20px;
}
.quiz__question {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #504B40;
    margin-bottom: 20px;
}

.quiz__cards {
    display: grid;
    gap: 16px;
    flex: 1;
}
.quiz__cards--2 {
    grid-template-columns: 1fr 1fr;
}
.quiz__cards--4 {
    grid-template-columns: repeat(4, 1fr);
}
.quiz__card {
    cursor: pointer;
    display: flex;
}
.quiz__card-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.quiz__card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: box-shadow 0.2s ease;
}
.quiz__card-img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    display: block;
}
.quiz__card-label {
    padding: 12px 10px;
    background: #F6F4EF;
    border: 1px solid #E5E0D4;
    border-top: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quiz__card-label span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: #504B40;
    transition: color 0.2s ease;
}
.quiz__card-label small {
    font-weight: 400;
    font-size: 13px;
}
.quiz__card-input:checked ~ .quiz__card-inner .quiz__card-img {
    outline: 3px solid #46546C;
    outline-offset: -3px;
}
.quiz__card-input:checked ~ .quiz__card-inner .quiz__card-label {
    background: #46546C;
    border-color: #46546C;
}
.quiz__card-input:checked ~ .quiz__card-inner .quiz__card-label span,
.quiz__card-input:checked ~ .quiz__card-inner .quiz__card-label small {
    color: #FFFFFF;
}

.quiz__text-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.quiz__text-option {
    cursor: pointer;
}
.quiz__text-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.quiz__text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    color: #313131;
    background: #F6F4EF;
    border: 1px solid #E5E0D4;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.quiz__text-input:checked ~ .quiz__text-btn {
    background: #46546C;
    border-color: #46546C;
    color: #FFFFFF;
    font-weight: 600;
}

.quiz__step--form .quiz__form-layout {
    display: flex;
    flex: 1;
    min-height: 0;
}
.quiz__form-left {
    flex: 1;
    background: #FFFFFF;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.quiz__form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 100%;
    color: #3B4453;
    margin-bottom: 16px;
}
.quiz__form-note {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #3B4453;
    opacity: 0.7;
}
.quiz__form-plane {
    margin-top: 90px;
    max-width: 320px;
    align-self: center;
}
.quiz__form-right {
    width: 480px;
    flex-shrink: 0;
    background: #3B4453;
    padding: 0 48px;
    display: flex;
    align-items: center;
}
.quiz__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quiz__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.quiz__field-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    opacity: 0.7;
}
.quiz__input {
    width: 100%;
    padding: 16px 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #3B4453;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
}
.quiz__input::placeholder {
    color: rgba(59, 68, 83, 0.5);
}
.quiz__input:focus {
    border-color: #CAA653;
}
.quiz__tg-hint {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 114%;
    color: #FFFFFF;
    opacity: 0.7;
}
.quiz__submit {
    width: 100%;
    padding: 25px 24px;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 4px;
}
.quiz__privacy {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFF;
    opacity: 0.6;
    text-align: center;
}
.quiz__privacy-link {
    color: #FFFFFF;
    text-decoration: underline;
}

.quiz__progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(59, 68, 83, 0.1);
}
.quiz__back {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #AC996B;
    background: transparent;
    color: #AC996B;
    flex-shrink: 0;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.quiz__back:disabled {
    opacity: 0.3;
    cursor: default;
}
.quiz__back:not(:disabled):hover {
    border-color: #81714e;
    color: #81714e;
}
.quiz__progress-info {
    flex: 1;
    min-width: 0;
}
.quiz__progress-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.quiz__progress-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #272727;
}
.quiz__progress-percent {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #AC996B;
}
.quiz__progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(59, 68, 83, 0.3);
}
.quiz__progress-fill {
    height: 100%;
    border-radius: 10px;
    background: #3B4453;
    transition: width 0.4s ease;
}

.quiz__box--form-active {
    padding: 0;
    background: transparent;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr 480px;
}

.quiz__box--form-active .quiz__steps-wrapper {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 0;
    position: static;
    display: flex;
}

.quiz__box--form-active .quiz__step--form {
    flex: 1;
    margin: 0;
}

.quiz__box--form-active .quiz__form-layout {
    flex: 1;
}

.quiz__box--form-active .quiz__form-left {
    padding: 40px 30px;
    background: #FFFFFF;
}

.quiz__box--form-active .quiz__form-right {
    width: 480px;
    padding: 0 48px;
    padding-top: 80px;
}

.quiz__box--form-active .quiz__progress {
    grid-column: 1 / 2;
    grid-row: 2;
    margin: 0;
    padding: 16px 30px;
    border-top: none;
    background: #FFFFFF;
}

.quiz__box--form-active::after {
    content: '';
    display: block;
    grid-column: 2 / 3;
    grid-row: 2;
    background: #3B4453;
}

.quiz-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.quiz-popup--active {
    display: flex;
}
.quiz-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.quiz-popup__content {
    position: relative;
    background: #3B4453;
    padding: 60px 80px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    z-index: 1;
}
.quiz-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
}
.quiz-popup__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.quiz-popup__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    opacity: 0.8;
    margin-bottom: 32px;
}
.quiz-popup__btn {
    width: 100%;
    max-width: 400px;
    padding: 22px 24px;
    font-size: 18px;
}

@media (max-width: 1250px) {
    .quiz__main-title { font-size: 30px; }
    .quiz__main-title-script { font-size: 32px; }
    .quiz__main-desc { font-size: 16px; }
    .quiz__box { padding: 24px; }
    .quiz__box-title { font-size: 22px; }
    .quiz__question { font-size: 18px; }
    .quiz__form-title { font-size: 26px; }
    .quiz__form-right { width: 420px; padding: 0 36px; }
    .quiz__steps-wrapper { min-height: 380px; }

    .quiz__box--form-active {
        grid-template-columns: 1fr 420px;
    }
    .quiz__box--form-active .quiz__form-right {
        width: 420px;
        padding: 0 36px;
        padding-top: 80px;
    }
    .quiz__box--form-active .quiz__form-left {
        padding: 30px 24px;
    }
    .quiz__box--form-active .quiz__progress {
        padding: 16px 24px;
    }
}

@media (max-width: 1024px) {
    .quiz__container { padding: 50px var(--side-padding) 60px; }
    .quiz__box { max-width: 100%; }
    .quiz__card-label span { font-size: 13px; }
    .quiz__form-right { width: 380px; padding: 0 28px; }
    .quiz__form-title { font-size: 22px; }
    .quiz__steps-wrapper { min-height: 360px; }

    .quiz__box--form-active {
        grid-template-columns: 1fr 380px;
    }
    .quiz__box--form-active .quiz__form-right {
        width: 380px;
        padding: 0 28px;
        padding-top: 80px;
    }
    .quiz__box--form-active .quiz__form-left {
        padding: 28px 20px;
    }
    .quiz__box--form-active .quiz__progress {
        padding: 12px 12px;
    }
}

@media (max-width: 800px) {
    .quiz__box { padding: 20px; }
    .quiz__box-title { font-size: 20px; margin-bottom: 16px; }
    .quiz__question { font-size: 16px; margin-bottom: 16px; }
    .quiz__cards--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .quiz__text-options { gap: 8px; }
    .quiz__text-btn { font-size: 26px; padding: 14px; }

    .quiz__form-layout { flex-direction: column; }
    .quiz__form-left { display: none; }
    .quiz__form-right { width: 100%; padding: 30px 24px; }
    .quiz__form-title { font-size: 20px; }

    .quiz__step--form {
        margin: -20px;
    }
    .quiz__step--form .quiz__form-right {
        padding: 30px 24px;
    }

    .quiz__box--form-active {
        display: flex;
        flex-direction: column;
        background: #3B4453;
        padding: 0;
        overflow: hidden;
    }
    .quiz__box--form-active .quiz__steps-wrapper {
        display: block;
        position: relative;
        min-height: 300px;
    }
    .quiz__box--form-active .quiz__step--form {
        flex: none;
    }
    .quiz__box--form-active::after {
        display: none;
    }
    .quiz__box--form-active .quiz__form-right {
        width: 100%;
        padding: 30px 24px;
    }
    .quiz__box--form-active .quiz__progress {
        grid-column: unset;
        grid-row: unset;
        margin: 0;
        padding: 16px 20px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        background: #3B4453;
    }
    .quiz__box--form-active .quiz__back {
        border-color: rgba(255, 255, 255, 0.3);
        color: #FFFFFF;
    }
    .quiz__box--form-active .quiz__progress-label {
        color: #FFFFFF;
    }
    .quiz__box--form-active .quiz__progress-percent {
        color: #AC996B;
    }
    .quiz__box--form-active .quiz__progress-bar {
        background: rgba(255, 255, 255, 0.2);
    }
    .quiz__box--form-active .quiz__progress-fill {
        background: #FFFFFF;
    }

    .quiz__card-img {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 640px) {
    .quiz__container { padding: 40px var(--side-padding) 50px; }
    .quiz__intro { margin-bottom: 24px; }
    .quiz__main-title { font-size: 24px; }
    .quiz__main-title-script { font-size: 26px; }
    .quiz__main-desc { font-size: 14px; }
    .quiz__box { padding: 16px; }
    .quiz__box-title { font-size: 18px; margin-bottom: 12px; }
    .quiz__separator { margin-bottom: 12px; }
    .quiz__question { font-size: 15px; margin-bottom: 14px; }
    .quiz__cards--2 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .quiz__cards--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .quiz__card-label { padding: 10px 8px; min-height: 50px; }
    .quiz__card-label span { font-size: 12px; }
    .quiz__card-label small { font-size: 11px; }
    .quiz__text-options { gap: 6px; }
    .quiz__text-btn { font-size: 24px; padding: 12px; }
    .quiz__form-right { padding: 24px 16px; }
    .quiz__submit { padding: 20px 20px; font-size: 14px; }
    .quiz__progress { gap: 12px; margin-top: 16px; padding-top: 12px; }
    .quiz__back { width: 40px; height: 40px; }
    .quiz-popup__content { padding: 40px 24px; }
    .quiz-popup__title { font-size: 36px; }
    .quiz-popup__text { font-size: 16px; }

    .quiz__step--form {
        margin: -16px;
    }

    .quiz__card-img {
        aspect-ratio: 2.8 / 3;
        object-fit: cover;
    }

    .quiz__box--form-active .quiz__form-right {
        padding: 30px 0px;
        padding-top: 60px;
    }
    .quiz__box--form-active .quiz__progress {
        padding: 12px 0px 0px;
    }
}

@media (max-width: 400px) {
    .quiz__main-title { font-size: 20px; }
    .quiz__main-title-script { font-size: 22px; }
    .quiz__box-title { font-size: 16px; }
    .quiz__question { font-size: 14px; }
    .quiz__card-label span { font-size: 11px; }
    .quiz__text-btn { font-size: 20px; padding: 12px; }
    .quiz-popup__title { font-size: 28px; }
    .quiz__box--form-active .quiz__form-right {
        padding: 30px 0px;
        padding-top: 50px;
    }
}

@media (min-width: 801px) and (max-width: 830px) {
    .quiz__box--form-active {
        grid-template-columns: 1fr 320px;
    }
    .quiz__box--form-active .quiz__form-right {
        width: 320px;
        padding: 0 20px;
        padding-top: 80px;
    }
}

/* CTA */
.cta-mortgage {
    background: #F8F6F0;
}
.cta-mortgage__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--side-padding) 80px;
}

.cta-banner {
    background: #3B4453;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
}
.cta-banner__content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.cta-banner__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 100%;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.cta-banner__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 32px;
    max-width: 480px;
}
.cta-banner__btn {
    align-self: flex-start;
    padding: 25px 24px;
    font-size: 20px;
    text-transform: uppercase;
    min-width: 514px;
    text-align: center;
}
.cta-banner__image {
    flex-shrink: 0;
    width: 60%;
    max-width: 1000px;
    overflow: visible;
}
.cta-banner__img {
    width: 100%;
    height: auto;
    display: block;
}

.mortgage {
    padding-top: 20px;
}
.mortgage__header {
    text-align: center;
    margin-bottom: 40px;
}
.mortgage__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 4px;
}
.mortgage__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 100%;
    color: #504B40;
}
.mortgage__body {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}
.mortgage__info {
    max-width: 720px;
}
.mortgage__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 20px;
}
.mortgage__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #504B40;
    margin-bottom: 20px;
}
.mortgage__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mortgage__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #AE8E45;
    border-radius: 30px;
    background: #CCAC62;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    white-space: nowrap;
}

.mortgage__banks {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.mortgage__bank {
    background: #FFFFFF;
    border: 1px solid #E5E0D4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    min-height: 100px;
}
.mortgage__bank-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* CTA ANIMATIONS*/
.cta-banner__title,
.cta-banner__text,
.cta-banner__btn,
.cta-banner__image,
.mortgage__header,
.mortgage__body,
.mortgage__bank {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-banner__image {
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-banner__title.is-visible,
.cta-banner__text.is-visible,
.cta-banner__btn.is-visible,
.cta-banner__image.is-visible,
.mortgage__header.is-visible,
.mortgage__body.is-visible,
.mortgage__bank.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.cta-banner__title  { transition-delay: 0s; }
.cta-banner__text   { transition-delay: 0.15s; }
.cta-banner__btn    { transition-delay: 0.3s; }
.cta-banner__image  { transition-delay: 0.2s; }

.mortgage__header   { transition-delay: 0s; }
.mortgage__body     { transition-delay: 0.15s; }

.mortgage__bank:nth-child(1) { transition-delay: 0.05s; }
.mortgage__bank:nth-child(2) { transition-delay: 0.1s; }
.mortgage__bank:nth-child(3) { transition-delay: 0.15s; }
.mortgage__bank:nth-child(4) { transition-delay: 0.2s; }
.mortgage__bank:nth-child(5) { transition-delay: 0.25s; }
.mortgage__bank:nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 1500px) {
    .cta-banner__img {
        width: auto;
        height: 100%;
        min-height: 100%;
    }
    .cta-banner__image {
        align-self: stretch;
        overflow: hidden;
    }
}

@media (max-width: 1350px) {
    .cta-banner__image {
        margin-right: -80px;
        overflow: visible;
    }
}

@media (max-width: 1200px) {
    .cta-banner__image {
        margin-right: -120px;
    }
}

@media (max-width: 1024px) {
    .cta-banner__image {
        margin-right: -50px;
    }
}

@media (max-width: 1600px) {
    .cta-banner__title {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 40px;
        line-height: 100%;
        color: #FFFFFF;
        margin-bottom: 20px;
    }
    .cta-banner__btn {
        align-self: flex-start;
        padding: 25px 24px;
        font-size: 18px;
        text-transform: uppercase;
        min-width: 500px;
        text-align: center;
    }
    .cta-banner__content {
        flex: 1;
        padding: 60px 0px 60px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 1250px) {
    .cta-banner__title { font-size: 40px; }
    .cta-banner__text { font-size: 16px; }
    .cta-banner__btn { min-width: 400px; font-size: 18px; padding: 22px 24px; }
    .cta-banner__content { padding: 50px; }
    .mortgage__title { font-size: 34px; }
    .mortgage__title-script { font-size: 44px; }
    .mortgage__subtitle { font-size: 24px; }
    .mortgage__desc { font-size: 16px; }
    .mortgage__tag { font-size: 16px; }
}

@media (max-width: 1024px) {
    .cta-mortgage__container { padding: 0 var(--side-padding) 60px; }
    .cta-banner__title { font-size: 36px; }
    .cta-banner__text { font-size: 15px; margin-bottom: 24px; }
    .cta-banner__btn { min-width: 340px; font-size: 16px; padding: 20px 24px; }
    .cta-banner__content { padding: 40px; }
    .cta-banner__image { width: 50%; }
    .mortgage__title { font-size: 30px; }
    .mortgage__title-script { font-size: 40px; }
    .mortgage__subtitle { font-size: 22px; }
    .mortgage__desc { font-size: 15px; }
    .mortgage__tag { font-size: 15px; }
    .mortgage__banks { gap: 12px; }
    .mortgage__bank { padding: 0; min-height: 70px; }
}

@media (max-width: 800px) {
    .cta-banner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
        margin-bottom: 40px;
    }

    .cta-banner__content {
        flex: 0 0 auto;
        width: 100%;
        padding: 32px 24px 0;
        min-width: 0;
    }

    .cta-banner__title {
        font-size: 32px;
    }

    .cta-banner__text {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .cta-banner__btn {
        min-width: 100%;
        width: 100%;
        font-size: 16px;
        padding: 20px 24px;
        align-self: stretch;
        text-align: center;
    }

    .cta-mortgage {
        overflow-x: hidden;
    }

    .cta-banner__image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-top: 20px;
        align-self: auto;
        overflow: visible;
        height: auto;
        min-height: 0;
        max-height: none;
        transform: translateY(40px);
    }

    .cta-banner__img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        display: block;
        object-fit: initial;
        object-position: initial;
    }

    .mortgage__body {
        justify-content: flex-start;
    }

    .mortgage__info {
        max-width: 100%;
    }

    .mortgage__subtitle {
        font-size: 20px;
    }

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


@media (max-width: 400px) {
    .cta-banner__title { font-size: 22px; }
    .cta-banner__text { font-size: 13px; }
    .cta-banner__btn { font-size: 14px; padding: 16px 16px; }
    .mortgage__title { font-size: 20px; }
    .mortgage__title-script { font-size: 26px; }
    .mortgage__subtitle { font-size: 16px; }
    .mortgage__desc { font-size: 13px; }
    .mortgage__tag { font-size: 13px; }
}

/*  ADVANTAGES  */
.advantages {
    background: #F8F6F0;
}
.advantages__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px var(--side-padding) 80px;
}

.advantages__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 50px;
}
.advantages__header-left {
    flex-shrink: 0;
    max-width: 520px;
}
.advantages__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 4px;
}
.advantages__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    color: #504B40;
    display: block;
}
.advantages__header-right {
    flex: 1;
    max-width: 560px;
    padding-top: 8px;
}
.advantages__header-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
}

.advantages__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.advantages__card {
    position: relative;
    width: 100%;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 18px solid #ffffff;
}

.advantages__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.advantages__card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.advantages__card-body {
    position: relative;
    z-index: 1;
    width: 568px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 60px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.advantages__card-icon {
    width: 83px;
    height: 83px;
    border-radius: 18px;
    background: #F9F4E9;
    border: 1px solid #C4A45B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.advantages__card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.advantages__card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #504B40;
    text-transform: uppercase;
}

.advantages__card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #504B40;
    max-width: 400px;
}

.advantages__card-photo {
    display: none;
}

.advantages__cta {
    display: block;
    width: 100%;
    padding: 25px 24px;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
}

.advantages__quote {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 90px;
    line-height: 100%;
    color: #C8B790;
    text-align: center;
}

/* ADVANTAGES ANIMATIONS */
.advantages__card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.advantages__card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.advantages__card:nth-child(1) { transition-delay: 0s; }
.advantages__card:nth-child(2) { transition-delay: 0.1s; }
.advantages__card:nth-child(3) { transition-delay: 0.2s; }
.advantages__card:nth-child(4) { transition-delay: 0s; }
.advantages__card:nth-child(5) { transition-delay: 0.1s; }
.advantages__card:nth-child(6) { transition-delay: 0.2s; }

@media (max-width: 1250px) {
    .advantages__title { font-size: 30px; }
    .advantages__title-script { font-size: 36px; }
    .advantages__header-text { font-size: 16px; }
    .advantages__card { min-height: 520px; border-width: 14px; }
    .advantages__card-body { width: 500px; padding: 50px 20px; }
    .advantages__card-title { font-size: 22px; }
    .advantages__card-text { font-size: 15px; }
    .advantages__quote { font-size: 72px; }
    .advantages__cta { font-size: 18px; padding: 22px 24px; }
}

@media (max-width: 1024px) {
    .advantages__container { padding: 60px var(--side-padding) 60px; }
    .advantages__header { gap: 40px; margin-bottom: 40px; }
    .advantages__header-left { max-width: 440px; }
    .advantages__title { font-size: 26px; }
    .advantages__title-script { font-size: 32px; }
    .advantages__header-text { font-size: 15px; }
    .advantages__card { min-height: 440px; border-width: 12px; }
    .advantages__card-body { width: 460px; padding: 40px 20px; }
    .advantages__card-icon { width: 70px; height: 70px; border-radius: 14px; }
    .advantages__card-icon img { width: 34px; height: 34px; }
    .advantages__card-title { font-size: 20px; }
    .advantages__card-text { font-size: 14px; }
    .advantages__quote { font-size: 56px; }
    .advantages__cta { font-size: 16px; padding: 20px 24px; }
}

@media (max-width: 800px) {
    .advantages__header { flex-direction: column; gap: 16px; }
    .advantages__header-left { max-width: 100%; }
    .advantages__header-right { max-width: 100%; padding-top: 0; }
    .advantages__card { min-height: 380px; border-width: 10px; }
    .advantages__card-body { width: 420px; padding: 36px 18px; }
    .advantages__quote { font-size: 44px; }
}

@media (max-width: 640px) {
    .advantages__container { padding: 50px var(--side-padding) 50px; }
    .advantages__header { margin-bottom: 28px; }
    .advantages__title { font-size: 22px; }
    .advantages__title-script { font-size: 26px; }
    .advantages__header-text { font-size: 14px; }

    .advantages__card {
        position: relative;
        min-height: auto;
        border: none;
        background: #FFFFFF;
        flex-direction: column;
        align-items: center;
        padding: 30px 12px 20px;
        gap: 20px;
    }

    .advantages__card-bg {
        display: none;
    }

    .advantages__card-body {
        position: relative;
        width: 100%;
        max-width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        gap: 12px;
    }

    .advantages__card-icon {
        width: 58px;
        height: 58px;
        border-radius: 10px;
    }
    .advantages__card-icon img {
        width: 28px;
        height: 28px;
    }
    .advantages__card-title {
        font-size: 22px;
        line-height: 120%;
    }
    .advantages__card-text {
        font-size: 14px;
        max-width: 100%;
    }

    .advantages__card-photo {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 0;
    }

    .advantages__quote { font-size: 36px; }
    .advantages__cta { font-size: 15px; padding: 18px 20px; margin-bottom: 40px; }
}

@media (max-width: 400px) {
    .advantages__title { font-size: 20px; }
    .advantages__title-script { font-size: 22px; }
    .advantages__header-text { font-size: 13px; }
    .advantages__card { padding: 24px 10px 16px; }
    .advantages__card-title { font-size: 18px; }
    .advantages__card-text { font-size: 13px; }
    .advantages__card-icon { width: 50px; height: 50px; }
    .advantages__card-icon img { width: 24px; height: 24px; }
    .advantages__quote { font-size: 28px; }
    .advantages__cta { font-size: 14px; padding: 16px 16px; }
}

/* BUILT HOUSES*/
.built {
    background: #F8F6F0;
    padding: 80px 0 60px;
}
.built__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--side-padding);
}
.built__header {
    text-align: center;
    margin-bottom: 40px;
}
.built__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 8px;
}
.built__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    color: #504B40;
}

.built__slider {
    position: relative;
    max-width: 1159px;
    margin: 0 auto;
}
.built__track {
    overflow: hidden;
    position: relative;
}
.built__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}
.built__slide--active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.built__slide--animating {
    position: absolute;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.built__slide--incoming {
    position: relative;
    opacity: 1;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.built__img {
    width: 100%;
    height: auto;
    display: block;
}

.built__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    z-index: 10;
    background: #F8F6F0;
    border: 1px solid #323C4C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}
.built__arrow--left {
    left: -80px;
}
.built__arrow--right {
    right: -80px;
}
.built__arrow svg {
    position: relative;
    z-index: 25;
    transition: filter 0.4s;
}
.built__arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #323C4C;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 0;
}
.built__arrow:hover::before {
    transform: scaleX(1);
}
.built__arrow:hover svg path {
    stroke: #FFFFFF;
    transition: stroke 0.4s;
}

.built__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.built__dot {
    width: 60px;
    height: 6px;
    background: #CCAC62;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.built__dot--active {
    opacity: 1;
}

/* BUILT ANIMATIONS */
.built__header,
.built__slider,
.built__dots {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.built__header.is-visible,
.built__slider.is-visible,
.built__dots.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.built__header  { transition-delay: 0s; }
.built__slider  { transition-delay: 0.15s; }
.built__dots    { transition-delay: 0.3s; }

@media (max-width: 1400px) {
    .built__arrow--left { left: -70px; }
    .built__arrow--right { right: -70px; }
}
@media (max-width: 1300px) {
    .built__arrow--left { left: 10px; }
    .built__arrow--right { right: 10px; }
    .built__arrow {
        background: rgba(248, 246, 240, 0.85);
    }
}
@media (max-width: 800px) {
    .built { padding: 60px 0 40px; }
    .built__title { font-size: 28px; }
    .built__title-script { font-size: 32px; }
    .built__arrow { display: none; }
    .built__slider {
        overflow: visible;
    }
    .built__track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .built__track::-webkit-scrollbar { display: none; }
    .built__slide {
        display: block;
        position: relative;
        flex: 0 0 100%;
        scroll-snap-align: start;
        opacity: 1;
        pointer-events: auto;
    }
}
@media (max-width: 400px) {
    .built__title { font-size: 22px; }
    .built__title-script { font-size: 26px; }
    .built__dot { width: 40px; height: 4px; }
}

/*  REVIEWS SECTION*/
.reviews {
    background: #F8F6F0;
    overflow: clip;
    overflow-clip-margin: 40px;
}
.reviews__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px var(--side-padding) 100px;
    position: relative;
    min-height: 900px;
}

.reviews__center {
    position: relative;
    z-index: 5;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-top: 160px;
}
.reviews__header {
    margin-bottom: 30px;
}
.reviews__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 4px;
}
.reviews__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 100%;
    color: #504B40;
    display: block;
}
.reviews__info {
    text-align: left;
    max-width: 480px;
    margin-left: auto;
}
.reviews__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 12px;
}
.reviews__link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #9B722B;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 8px;
}
.reviews__link:hover {
    color: #B59358;
}

.reviews__scattered {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.reviews__card {
    position: absolute;
    pointer-events: auto;
    transition: filter 0.3s ease-out;
    will-change: transform, opacity, filter;
}
.reviews__card-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.06));
    transition: filter 0.4s ease-out, transform 0.4s ease-out;
}
.reviews__card:hover .reviews__card-img {
    filter: drop-shadow(0px 16px 40px rgba(0, 0, 0, 0.15));
    transform: scale(1.03);
}
.reviews.is-parallax-active .reviews__card {
    filter: blur(0.5px);
}
.reviews.is-parallax-active .reviews__card:hover {
    filter: blur(0px);
}

@keyframes reviewsAppear {
    from {
        opacity: 0;
        transform: scale(0.75);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.reviews__scattered .reviews__card {
    opacity: 0;
}
.reviews__scattered.is-visible .reviews__card {
    animation: reviewsAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.reviews__scattered.is-visible .reviews__card--1 { animation-delay: 0s; }
.reviews__scattered.is-visible .reviews__card--2 { animation-delay: 0.12s; }
.reviews__scattered.is-visible .reviews__card--3 { animation-delay: 0.24s; }
.reviews__scattered.is-visible .reviews__card--4 { animation-delay: 0.36s; }
.reviews__scattered.is-visible .reviews__card--5 { animation-delay: 0.18s; }

.reviews__card--1 {
    top: 30px;
    left: 6%;
    width: 520px;
}
.reviews__card--2 {
    top: 20px;
    right: 6%;
    width: 500px;
}
.reviews__card--3 {
    top: 350px;
    left: 4%;
    width: 480px;
}
.reviews__card--4 {
    bottom: 60px;
    left: 14%;
    width: 500px;
}
.reviews__card--5 {
    bottom: 40px;
    right: 8%;
    width: 520px;
}

.reviews__list {
    display: none;
}

@media (max-width: 1400px) {
    .reviews__container { min-height: 820px; }
    .reviews__card--1 { width: 460px; top: 30px; }
    .reviews__card--2 { width: 440px; top: 10px; }
    .reviews__card--3 { width: 400px; top: 360px; }
    .reviews__card--4 { width: 450px; bottom: 50px; left: 10%; }
    .reviews__card--5 { width: 470px; bottom: 30px; }
}

@media (max-width: 1250px) {
    .reviews__container { min-height: 760px; }
    .reviews__title { font-size: 34px; }
    .reviews__title-script { font-size: 44px; }
    .reviews__desc { font-size: 16px; }
    .reviews__card--1 { width: 420px; }
    .reviews__card--2 { width: 400px; }
    .reviews__card--3 { width: 400px; top: 350px; }
    .reviews__card--4 { width: 410px; }
    .reviews__card--5 { width: 430px; }
    .reviews__center { padding-top: 130px; }
    .reviews__info {
        text-align: left;
        min-width: 380px;
        margin-left: 300px;
    }
}

@media (max-width: 1024px) {
    .reviews__container { min-height: 700px; padding: 60px var(--side-padding) 80px; }
    .reviews__title { font-size: 30px; }
    .reviews__title-script { font-size: 38px; }
    .reviews__center { padding-top: 110px; max-width: 500px; }
    .reviews__card--1 { width: 360px; left: 2%; }
    .reviews__card--2 { width: 370px; right: 2%; }
    .reviews__card--3 { width: 390px; left: 3; top: 280px; }
    .reviews__card--4 { width: 370px; left: 4%; }
    .reviews__card--5 { width: 380px; right: 2%; }
        .reviews__info {
        text-align: left;
        min-width: 380px;
        margin-left: 280px;
    }
}

@media (max-width: 800px) {
    .reviews__container {
        min-height: auto;
        padding: 50px var(--side-padding) 60px;
        position: relative;
    }
    .reviews__center {
        position: relative;
        padding-top: 0;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .reviews__header {
        text-align: center;
    }
    .reviews__info {
        display: none;
    }
    .reviews__scattered {
        display: none;
    }
    .reviews__list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .reviews__list-card {
        background: #FFFFFF;
        border-radius: 0;
        overflow: hidden;
    }
    .reviews__list-img {
        width: 100%;
        height: auto;
        display: block;
    }
    .reviews__title { font-size: 28px; }
    .reviews__title-script { font-size: 34px; }
}

@media (max-width: 640px) {
    .reviews__container { padding: 40px var(--side-padding) 50px; }
    .reviews__title { font-size: 24px; }
    .reviews__title-script { font-size: 28px; }
    .reviews__list { gap: 12px; }
}

@media (max-width: 400px) {
    .reviews__title { font-size: 20px; }
    .reviews__title-script { font-size: 24px; }
    .reviews__list { gap: 10px; }
}

/* STEPS  */
.process {
    background: #F8F6F0;
}
.process__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px var(--side-padding) 80px;
}

.process__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}
.process__header-left {
    flex-shrink: 0;
    max-width: 520px;
}
.process__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 120%;
    color: #504B40;
}
.process__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 100%;
    color: #504B40;
}
.process__header-right {
    flex: 1;
    max-width: 520px;
    padding-top: 10px;
}
.process__header-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
}

.process__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.process__card {
    background: #FFFFFF;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process__card-num {
    width: 83px;
    height: 83px;
    border-radius: 18px;
    background: #F9F4E9;
    border: 1px solid #C4A45B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process__card-num span {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    color: #BC8E24;
}

.process__card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    color: #504B40;
}

.process__card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 25px;
}

.process__cta {
    display: block;
    width: 100%;
    padding: 25px 24px;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}

/* PROCESS ANIMATIONS */
.process__header,
.process__card,
.process__cta {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.process__header.is-visible,
.process__card.is-visible,
.process__cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.process__card:nth-child(1) { transition-delay: 0s; }
.process__card:nth-child(2) { transition-delay: 0.1s; }
.process__card:nth-child(3) { transition-delay: 0.2s; }
.process__card:nth-child(4) { transition-delay: 0.3s; }
.process__card:nth-child(5) { transition-delay: 0.4s; }
.process__card:nth-child(6) { transition-delay: 0.5s; }

@keyframes processBounceNum {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.15); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}
.process__card.is-visible .process__card-num {
    animation: processBounceNum 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.process__card:nth-child(1).is-visible .process__card-num { animation-delay: 0.15s; }
.process__card:nth-child(2).is-visible .process__card-num { animation-delay: 0.25s; }
.process__card:nth-child(3).is-visible .process__card-num { animation-delay: 0.35s; }
.process__card:nth-child(4).is-visible .process__card-num { animation-delay: 0.45s; }
.process__card:nth-child(5).is-visible .process__card-num { animation-delay: 0.55s; }
.process__card:nth-child(6).is-visible .process__card-num { animation-delay: 0.65s; }

.process__card-num {
    opacity: 0;
}

@media (max-width: 1250px) {
    .process__title { font-size: 34px; }
    .process__title-script { font-size: 44px; }
    .process__header-text { font-size: 16px ; margin-bottom: 20px; }
    .process__card-title { font-size: 24px; }
    .process__card-text { font-size: 18px; }
    .process__card-num { width: 72px; height: 72px; border-radius: 16px; }
    .process__card-num span { font-size: 42px; }
    .process__cta { font-size: 18px; padding: 22px 24px; }
}

@media (max-width: 1024px) {
    .process__container { padding: 60px var(--side-padding) 60px; }
    .process__header { gap: 40px; margin-bottom: 32px; }
    .process__header-left { max-width: 440px; }
    .process__title { font-size: 30px; }
    .process__title-script { font-size: 38px; }
    .process__header-text { font-size: 15px; }
    .process__card { padding: 20px; gap: 16px; }
    .process__card-title { font-size: 22px; }
    .process__card-text { font-size: 16px; }
    .process__card-num { width: 64px; height: 64px; border-radius: 14px; }
    .process__card-num span { font-size: 38px; }
    .process__cta { font-size: 16px; padding: 20px 24px; }
}

@media (max-width: 800px) {
    .process__header { flex-direction: column; gap: 16px; }
    .process__header-left { max-width: 100%; }
    .process__header-right { max-width: 100%; padding-top: 0; }
    .process__cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process__card-title { font-size: 20px; }
    .process__card-text { font-size: 15px; margin-bottom: 10px;  }
}

@media (max-width: 640px) {
    .process__container { padding: 50px var(--side-padding) 30px; }
    .process__title { font-size: 24px; }
    .process__title-script { font-size: 32px; }
    .process__header-text { font-size: 14px; }
    .process__header { margin-bottom: 24px; }
    .process__cards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
    .process__card { padding: 18px; gap: 14px; }
    .process__card-num { width: 58px; height: 58px; border-radius: 12px; }
    .process__card-num span { font-size: 34px; }
    .process__card-title { font-size: 20px; }
    .process__card-text { font-size: 14px; }
    .process__cta { font-size: 15px; padding: 18px 20px; }
}

@media (max-width: 400px) {
    .process__title { font-size: 20px; }
    .process__title-script { font-size: 26px; }
    .process__header-text { font-size: 13px; }
    .process__card-num { width: 50px; height: 50px; border-radius: 10px; }
    .process__card-num span { font-size: 30px; }
    .process__card-title { font-size: 18px; }
    .process__card-text { font-size: 13px; }
    .process__cta { font-size: 14px; padding: 16px 16px; }
}

/* ABOUT */
.about {
    background: #F8F6F0;
}
.about__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px var(--side-padding) 0;
}

.about__header {
    text-align: center;
    margin-bottom: 40px;
}
.about__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 120%;
    color: #504B40;
    margin-bottom: 4px;
}
.about__title-script {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    color: #504B40;
    display: block;
}

.about__content {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}
.about__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    color: #504B40;
    max-width: 680px;
}

.about__desc-block {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}
.about__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #504B40;
    max-width: 680px;
}

.about__photo {
    margin-bottom: 40px;
}
.about__photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about__form-section {
    position: relative;
    width: 100%;
    min-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about__form-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about__form-wrapper {
    position: relative;
    z-index: 1;
    width: 672px;
    max-width: 94%;
    padding: 60px 0;
}
.about__form {
    background: #3B4453;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.about__form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 110%;
    color: #FFFFFF;
    text-align: center;
}
.about__form-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #FFFFFF;
    text-align: center;
    opacity: 0.85;
}
.about__form-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.about__form-input {
    width: 100%;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #3B4453;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
}
.about__form-input::placeholder {
    color: rgba(59, 68, 83, 0.5);
}
.about__form-input:focus {
    border-color: #CAA653;
}
.about__form-btn {
    width: 100%;
    padding: 25px 24px;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}
.about__form-privacy {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
    opacity: 0.6;
    text-align: center;
}
.about__form-privacy-link {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ABOUT ANIMATIONS */
.about__header,
.about__content,
.about__desc-block,
.about__photo,
.about__form-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about__header.is-visible,
.about__content.is-visible,
.about__desc-block.is-visible,
.about__photo.is-visible,
.about__form-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.about__header       { transition-delay: 0s; }
.about__content      { transition-delay: 0.1s; }
.about__desc-block   { transition-delay: 0.2s; }
.about__photo        { transition-delay: 0.15s; }
.about__form-section { transition-delay: 0.25s; }

@media (max-width: 1250px) {
    .about__title { font-size: 30px; }
    .about__title-script { font-size: 36px; }
    .about__subtitle { font-size: 20px; }
    .about__desc { font-size: 15px; margin-bottom: 16px; }
    .about__form-title { font-size: 28px; }
    .about__form-desc { font-size: 15px; }
    .about__form-btn { font-size: 18px; padding: 22px 24px; }
    .about__form-section { min-height: 700px; }
}

@media (max-width: 1024px) {
    .about__container { padding: 60px var(--side-padding) 0; }
    .about__title { font-size: 28px; }
    .about__title-script { font-size: 32px; }
    .about__subtitle { font-size: 18px; }
    .about__desc { font-size: 14px; }
    .about__form-title { font-size: 26px; }
    .about__form-desc { font-size: 14px; }
    .about__form-btn { font-size: 16px; padding: 20px 24px; }
    .about__form-section { min-height: 640px; }
    .about__form-wrapper { width: 580px; }
    .about__form { padding: 28px 24px; gap: 20px; }
}

@media (max-width: 800px) {
    .about__container {
        display: flex;
        flex-direction: column;
    }

    .about__header { order: 1; margin-bottom: 24px; }
    .about__content { order: 2; justify-content: flex-start; margin-bottom: 20px; }
    .about__subtitle { max-width: 100%; }
    .about__photo { order: 3; margin-bottom: 20px; }
    .about__desc-block { order: 4; justify-content: flex-start; margin-bottom: 0; }
    .about__desc { max-width: 100%; }
    .about__form-section { order: 5; }

    .about__form-section {
        min-height: auto;
        position: relative;
    }
    .about__form-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
    .about__form-wrapper {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        padding: 40px var(--side-padding);
    }
    .about__form {
        padding: 24px 20px;
        gap: 18px;
    }
    .about__form-title { font-size: 24px; }
}

@media (max-width: 640px) {
    .about__container { padding: 50px var(--side-padding) 0; }
    .about__title { font-size: 24px; }
    .about__title-script { font-size: 28px; }
    .about__subtitle { font-size: 17px; }
    .about__desc { font-size: 14px; }
    .about__form-title { font-size: 22px; }
    .about__form-desc { font-size: 13px; }
    .about__form-input { padding: 16px; font-size: 15px; }
    .about__form-btn { font-size: 15px; padding: 18px 20px; }
    .about__form-privacy { font-size: 12px; }
    .about__form { padding: 20px 16px; gap: 16px; }
    .about__form-wrapper { padding: 30px var(--side-padding); }
}

@media (max-width: 400px) {
    .about__title { font-size: 20px; }
    .about__title-script { font-size: 24px; }
    .about__subtitle { font-size: 15px; }
    .about__desc { font-size: 13px; margin-bottom: 18px;}
    .about__form-title { font-size: 20px; }
    .about__form-btn { font-size: 14px; padding: 16px 16px; }
    .about__form-wrapper { padding: 20px var(--side-padding); }
}

/* FOOTER*/
.footer {
    background: #F8F6F0;
    padding: 60px 0 40px;
}
.footer__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.footer__logo-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}
.footer__line {
    flex: 1;
    height: 0;
    border-top: 2px dashed #504B40;
    opacity: 0.5;
    transform: scaleX(0);
    transition: transform 1.6s cubic-bezier(0.1, 0.26, 0.45, 0.94);
}
.footer__line:first-child {
    transform-origin: right center;
}
.footer__line:last-child {
    transform-origin: left center;
}
.footer__logo-row.is-visible .footer__line {
    transform: scaleX(1);
}
.footer__logo {
    flex-shrink: 0;
}
.footer__logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.footer__body {
    display: flex;
    gap: 60px;
}
.footer__quote {
    flex: 1;
}
.footer__quote-text {
    font-family: 'Denistina', cursive;
    font-weight: 400;
    font-size: 90px;
    line-height: 100%;
    color: #C8B790;
    text-align: justify;
}
.footer__right {
    flex-shrink: 0;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer__phone {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
    color: #504B40;
    text-decoration: none;
}
.footer__callback {
    font-size: 24px;
    padding: 24px 18px;
    width: fit-content;
    min-width: 383px;
}
.footer__address {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #504B40;
    margin-top: 8px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.footer__link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.05em;
    color: #504B40;
    text-decoration: none;
    text-transform: uppercase;
}
.footer__link--active {
    color: #BC8E24;
}
.footer__privacy {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #504B40;
    text-decoration: underline;
}

@media (max-width: 1400px) {
    .footer__quote-text { font-size: 70px; }
    .footer__phone { font-size: 34px; }
    .footer__callback { font-size: 20px; padding: 20px 16px; min-width: 320px; }
}
@media (max-width: 1100px) {
    .footer__quote-text { font-size: 56px; }
    .footer__right { width: 360px; }
    .footer__phone { font-size: 30px; }
    .footer__callback { font-size: 18px; padding: 18px 14px; min-width: 280px; }
    .footer__logo-img {
    height: 60px;}
}

@media (max-width: 800px) {
    .footer__body {
        flex-direction: column;
        gap: 40px;
    }
    .footer__quote {
        width: 100%;
    }
    .footer__quote-text {
        font-size: 50px;
    }
    .footer__right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }
    .footer__phone { font-size: 28px; }
    .footer__callback { font-size: 16px; padding: 16px 14px; min-width: 240px; }
    .footer__link { font-size: 16px; }
}

@media (max-width: 520px) {
    .footer { padding: 40px 0 30px; }
    .footer__line { display: none; }
    .footer__logo-row {
        justify-content: center;
        margin-bottom: 30px;
    }
    .footer__quote-text {
        font-size: 40px;
        text-align: center;
    }
    .footer__right {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .footer__contacts {
        align-items: center;
        text-align: center;
    }
    .footer__phone { font-size: 26px; }
    .footer__callback { min-width: 100%; }
    .footer__address { text-align: center; }
    .footer__nav {
        text-align: center;
    }
    .footer__links {
        align-items: center;
    }
    .footer__link { font-size: 16px; }
}

/* STICKY BUTTON*/
.sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px;
    background: #3B4453;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}
.sticky-btn__dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.sticky-btn__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    color: #FFFFFF;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    transition: color 0.4s;
}
.sticky-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #63728B;
    transform: skew(30deg) translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: 0;
}
.sticky-btn:hover::before {
    transform: skew(30deg) translateX(0);
}

@media (max-width: 520px) {
    .sticky-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px;
    }
    .sticky-btn__text { font-size: 14px; }
}

/* LEAD POPUPS*/
.lead-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}
.lead-popup--active {
    display: flex;
}
.lead-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.lead-popup__content {
    position: relative;
    background: #3B4453;
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(161px);
    -webkit-backdrop-filter: blur(161px);
    padding: 40px 30px;
    max-width: 640px;
    width: 90%;
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}
.lead-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lead-popup__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 12px;
}
.lead-popup__subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 141%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
}

.lead-popup__form-inner {
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #4C5666;
}

.lead-popup__method-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.lead-popup__methods {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}
.lead-popup__method-radio {
    display: none;
}
.lead-popup__method-btn {
    display: inline-block;
    padding: 16px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.lead-popup__method-radio:checked + .lead-popup__method-btn {
    background: #CCAC62;
    border-color: rgba(255, 255, 255, 0.37);
}

.lead-popup__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lead-popup__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF;
    opacity: 0.7;
}
.lead-popup__input {
    width: 100%;
    padding: 16px 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #3B4453;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
}
.lead-popup__input::placeholder {
    color: rgba(59, 68, 83, 0.5);
}
.lead-popup__input:focus {
    border-color: #CAA653;
}

.lead-popup__tg-hint {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 114%;
    color: #FFFFFF;
    opacity: 0.7;
}

.lead-popup__submit {
    width: 100%;
    padding: 22px 24px;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 8px;
}

.lead-popup__privacy {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFF;
    opacity: 0.6;
    text-align: center;
}
.lead-popup__privacy-link {
    color: #FFFFFF;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .lead-popup__close {
        position: static;
        align-self: flex-end;
        margin-bottom: -10px;
    }
    .lead-popup__content {
        padding: 20px 20px 30px;
        display: flex;
        flex-direction: column;
    }
    .lead-popup__title { font-size: 36px; }
    .lead-popup__subtitle { font-size: 15px; }
    .lead-popup__form-inner { padding: 20px 16px; }
    .lead-popup__method-btn { font-size: 14px; padding: 10px 12px; }
    .lead-popup__methods { flex-wrap: nowrap; }
    .lead-popup__method-title { font-size: 18px; }
    .lead-popup__submit { padding: 18px 20px; font-size: 16px; }
}
@media (max-width: 400px) {
    .lead-popup__title { font-size: 28px; }
    .lead-popup__subtitle { font-size: 14px; }
    .lead-popup__content { padding: 16px 14px 24px; }
    .lead-popup__form-inner { padding: 16px 12px; }
    .lead-popup__method-btn { font-size: 13px; padding: 10px 10px; }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox--active {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox__content {
    position: relative;
    z-index: 1;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    transition: opacity 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    background-color: #fff;
}

.lightbox__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}
.lightbox__arrow--prev {
    left: 0;
}
.lightbox__arrow--next {
    right: 0;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 2px;
}

@media (max-width: 800px) {
    .lightbox__content {
        width: 96vw;
        height: 80vh;
    }
    .lightbox__close {
        top: -60px;
        right: 4px;
        width: 48px;
        height: 48px;
    }
    .lightbox__arrow {
        width: 44px;
        height: 44px;
    }
    .lightbox__arrow--prev { left: 4px; }
    .lightbox__arrow--next { right: 4px; }
    .lightbox__counter {
        bottom: -50px;
        font-size: 14px;
        padding: 6px 16px;
    }
}

@media (max-width: 640px) {
    .lightbox__content {
        width: 100vw;
        height: 70vh;
    }
    .lightbox__arrow {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.12);
    }
    .lightbox__arrow--prev { left: 8px; }
    .lightbox__arrow--next { right: 8px; }
    .lightbox__close {
        top: -52px;
        right: 8px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 640px) {
    .lightbox__content {
        width: 100vw;
        height: 70vh;
    }
    .lightbox__arrow {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.12);
    }
    .lightbox__arrow--prev { display: none; }
    .lightbox__arrow--next { display: none; }
    .lightbox__close {
        top: -52px;
        right: 8px;
        width: 42px;
        height: 42px;
    }
}

.catalog-card__slide--active {
    cursor: zoom-in;
}

.catalog-card__slide--plan {
    object-fit: contain;
    background: #FFFFFF;
}

/* FORM LOADER */
.btn--loading {
    pointer-events: none;
    position: relative;
}
.btn--loading span {
    visibility: hidden;
}
.btn--loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    z-index: 10;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}