:root {

    --primary1:#3f8f96;
    --primary2:rgba(255, 255, 255, .72);
    --primary3:#d6d2b4;
    --primary4:#887667;
    --primary5:#4d3c4f;
    --bg: var(--primary2);
    --ink: #fffffe;
    --white: #fffffe;
    --muted: rgb(146,142,125);
    --line: rgb(145,65,47); /* ok */

    --blue: rgb(145,65,47);
    --blue-dark: #062429;
    --red: rgb(145,65,47);

    --card: var(--bg);
    --shadow: rgb(145,65,47);

    --r12: 12px;
    --r16: 16px;
    --r22: 22px;

    --max: 1240px;
}

* {
    box-sizing: border-box;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;

    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--bg);
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
    overflow-x: hidden;
}

/* ===== Background decoration (пастельні діагоналі як на скріні) ===== */
.bgDecor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

}


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


/* ===== Header ===== */
header {
    padding: 16px 0 10px;
}

.topbar {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 18px;
    align-items: center;
}

/* logo block */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand__mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    position: relative;
}

.brand__mark span {
    font-weight: 900;
    letter-spacing: .02em;
    color: var(--blue);
    font-size: 20px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand__name {
    color: var(--white);
    font-weight: 800;
    letter-spacing: .18em;
    font-size: 14px;
}

.brand__sub {
    font-weight: 700;
    letter-spacing: .16em;
    font-size: 11px;
    color: #2596be;
    margin-top: 4px;
}

/* nav */
.navWrap {
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 12px 18px;
    border-radius: 2px;


}

nav a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    white-space: nowrap;
}

nav a:hover {
    opacity: .85;
}

.drop {
    display: flex;
    gap: 8px;
    align-items: center;
}

.caret {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-right: 2px solid rgba(255, 255, 255, .9);
    border-bottom: 2px solid rgba(255, 255, 255, .9);
    transform: rotate(45deg);
    margin-top: -2px;
    opacity: .85;
}


.phoneCard a {
    text-decoration: none;
    color: var(--ink);
}

.phoneNum {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: .02em;
    line-height: 1;
}

.phoneHint {
    display: block;
    margin-top: 4px;
    font-weight: 800;
    color: var(--blue);
    text-decoration: underline;
    font-size: 12px;
    letter-spacing: .06em;
}

/* Burger for mobile */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: #fffffe;
    cursor: pointer;
    place-items: center;
}

.burger span {
    width: 18px;
    height: 2px;
    background: rgba(22, 62, 59, .8);
    position: relative;
    display: block;
}

.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: rgba(22, 62, 59, .8);
}

.burger span::before {
    top: -6px;
}

.burger span::after {
    top: 6px;
}

.mobileNav {
    display: none;
    margin-top: 10px;
    background: rgb(96, 110, 128);
    border-radius: 2px;
    padding: 12px;
}

.mobileNav a {
    display: block;
    padding: 12px 12px;
    border-radius: 2px;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 800;
}

.mobileNav a:hover {
    background: rgba(255, 255, 255, .08);
}

/* ===== Main layout ===== */
main {
    padding: 22px 0 40px;
}

.layout {
    display: grid;
    grid-template-columns: 360px 1fr 320px;
    gap: 26px;
    align-items: start;
}

/* left panel */
.left {
    padding-top: 0px;
}

.backBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 2px;
    border: 2px solid rgb(203, 39, 44);
    background: rgb(34, 39, 45);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .02em;
}

.aptCode {
    color: #17adc4;
    margin: 18px 0 6px;
    font-size: 84px;
    font-weight: 300;
    letter-spacing: .02em;
}

.areaRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: end;
    border-top: 2px solid rgba(22, 62, 59, .18);
    padding-top: 10px;
    margin-top: 8px;
}

.areaBox small {
    display: block;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: .02em;
}

.areaBox b {
    color: var(--white);
    font-size: 26px;
    font-weight: 900;
}

.areaList {
    margin-top: 12px;
    width: 100%;
    max-width: 320px;
    border-collapse: collapse;
    font-size: 15px;
    color: var(--white);
}

.areaList td {
    padding: 4px 0;
    vertical-align: top;
}

.areaList td:last-child {
    text-align: right;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.ctaPrice {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 49%;
    padding: 14px 18px;
    border-radius: 2px;
    background: var(--red);
    color: white;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(111, 181, 143, .25);
}

.ctaPrice:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

/* center plan */
.center {
    text-align: center;
}

.tabs {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(22, 62, 59, .18);
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .06);
    margin: 0 auto 12px;
}

.tab {
    padding: 12px 18px;
    font-weight: 900;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(22, 62, 59, .9);
    font-size: 16px;
}

.tab.active {
    background: var(--red);
    color: white;
}

.planCard {

    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 14px;
    box-shadow: var(--shadow);
}
.planCard img{
    display:block;
    max-width:100%;
    height:auto;
}
.planImg {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1/1.04;
    object-fit: contain;
    border-radius: 2px;
    background: white;
    border: 1px solid rgba(22, 62, 59, .12);
}

/* right panel */
.right {
    padding-top: 0px;
    position: relative;
}

.miniTop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-bottom: 14px;
}

.socBtn {
    width: 44px;
    height: 44px;
    border-radius: 2px;
    border: 1px solid rgba(22, 62, 59, .12);
    background: #2596be;
    display: grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
}

.socBtn:hover {
    filter: brightness(.60);
    transform: translateY(-1px);
}

.previewCard {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.previewImgWrap {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(22, 62, 59, .12);
    background: #fff;
}

.previewImgWrap img {
    width: 100%;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.zoomBtn {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    background: #2596be;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.availableBtn {
    margin-top: 12px;
    width: 100%;
    border: none;
    background: #2596be;
    color: white;
    font-weight: 900;
    padding: 14px 12px;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: .02em;
}

.downloads {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.dl {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: #2596be;
    padding: 12px 12px;
    border-radius: 2px;
    border: 1px solid rgba(22, 62, 59, .12);
    background: rgba(255, 255, 255, .62);
}

.dl:hover {
    transform: translateY(-1px);
}

.pdfIcon {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    border: 1px solid rgba(22, 62, 59, .12);
    background: #2596be;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: white;
}

.dl b {
    font-weight: 900;
    text-decoration: underline;
}


/* ===== Responsive ===== */
@media (max-width: 1180px) {
    .topbar {
        grid-template-columns: 260px 1fr 320px;
    }

    .layout {
        grid-template-columns: 340px 1fr 300px;
    }
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: 1fr auto;
    }

    .navWrap {
        display: none;
    }

    .burger {
        display: grid;
        justify-self: end;
    }

    .phoneCard {
        display: none;
    }

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

    .center {
        order: 1;
    }

    .left {
        order: 2;
    }

    .right {
        order: 3;
    }

    .planImg {
        max-width: 720px;
    }

    .floatCall {
        right: 16px;
        bottom: 16px;
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 520px) {
    .aptCode {
        font-size: 64px;
    }

    .backBtn {
        width: 100%;
    }

    .ctaPrice {
        width: 100%;
        min-width: auto;
    }

    .tabs {
        width: 100%;
    }

    .tab {
        font-size: 14px;
        padding: 12px 10px;
    }

    .miniTop {
        justify-content: space-between;
    }
}

/* ===== Apartments grid ===== */

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

/* Card */
.apartmentCard {
    display: block;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.apartmentCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .35);
}

/* Code */
.apartmentCode {
    font-size: 56px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 12px;
}

/* Area */
.apartmentArea span {
    display: block;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--blue);
    font-weight: 700;
}

.apartmentArea b {
    font-size: 22px;
    color: var(--white);
    font-weight: 900;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
    .apartmentsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .apartmentCode {
        font-size: 42px;
    }
}

/* ===== Apartment card image ===== */

.apartmentImg {
    width: 100%;
    aspect-ratio: 1 / 1;
    /*background: var(--blue-dark);*/
    border: 1px solid var(--line);
    margin-bottom: 16px;
    overflow: hidden;
}

.apartmentImg img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* важливо для планів */
    transition: transform .25s ease;
}

/* легкий zoom як на девелоперських сайтах */
.apartmentCard:hover .apartmentImg img {
    transform: scale(1.03);
}

.apartmentInfo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== HOME: Hero + Carousel + Sections ===== */

.heroHome {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: stretch;
    margin-top: 10px;
}

.heroHome__left {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 26px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}

.heroKicker {
    color: var(--blue);
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 12px;
    text-transform: uppercase;
}

.heroTitle {
    color: var(--white);
    margin: 10px 0 10px;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 300;
}

.heroText {
    color: rgba(255, 255, 255, .86);
    line-height: 1.6;
    margin: 0 0 16px;
}

.heroActions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btnGhost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
}

.heroStats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.statBox {
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 12px;
}

.statBox small {
    display: block;
    color: var(--red);
    font-weight: 900;
    font-size: 12px;
}

.statBox b {
    display: block;
    color: var(--white);
    font-weight: 900;
    margin-top: 6px;
}

/* Carousel */
.carousel {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.carousel__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    min-height: 300px;
}

.slide {
    display: none;
    padding: 18px;
    min-height: 260px;
    background: linear-gradient(135deg, rgba(96, 110, 128, .18), transparent 60%),
    #fff;
}

.slide.is-active {
    display: block;
}

.slide__badge {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    letter-spacing: .06em;
    padding: 6px 10px;
    border-radius: 2px;
    font-size: 12px;
}

.slide__title {
    margin: 12px 0 8px;
    font-size: 22px;
    color: #062429;
    font-weight: 900;
}

.slide__text {
    margin: 0 0 14px;
    color: #062429;
    opacity: .85;
    line-height: 1.6;
}

.slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.carousel__controls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.carBtn {
    width: 44px;
    height: 44px;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #062429;
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 8%;
    border: 1px solid var(--line);
    background: rgba(96, 110, 128, .35);
    cursor: pointer;
}

.dot.is-active {
    background: var(--red);
    border-color: var(--red);
}

/* Sections */
.sectionBlock {
    margin-top: 26px;
}

.sectionHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.sectionHead h2 {
    color: var(--white);
    margin: 0;
    font-weight: 900;
    letter-spacing: .04em;
}

.linkMore {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 900;
}

/* Apartments grid (якщо в тебе вже є — не дублюй) */
.apartmentsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.apartmentCard {
    display: block;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.apartmentCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .35);
}

.apartmentImg {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    margin-bottom: 14px;
}

.apartmentImg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}

.apartmentCard:hover .apartmentImg img {
    transform: scale(1.03);
}

.apartmentInfo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apartmentCode {
    font-size: 44px;
    font-weight: 300;
    color: var(--red);
}

.apartmentArea span {
    display: block;
    color: var(--blue);
    font-weight: 900;
    font-size: 12px;
}

.apartmentArea b {
    color: var(--white);
    font-weight: 900;
    font-size: 20px;
}

/* Info */
.infoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.infoCard {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.infoCard h3 {
    margin: 0 0 8px;
    font-weight: 900;
    color: #062429;
}

.infoCard p {
    margin: 0;
    color: #062429;
    opacity: .85;
    line-height: 1.6;
}

/* Contacts */
.contactsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contactCard {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.contactCard h3 {
    margin: 0 0 10px;
    font-weight: 900;
    color: #062429;
}

.contactCard p {
    margin: 8px 0;
    color: #062429;
    opacity: .9;
}

.contactLink {
    color: #062429;
    font-weight: 900;
    text-decoration: underline;
}

.mapStub {
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    height: 220px;
    display: grid;
    place-items: center;
    color: #062429;
    background: rgba(96, 110, 128, .12);
    font-weight: 900;
}

/* Footer */
.footer {
    margin-top: 28px;
    padding-bottom: 30px;
}

.footerLine {
    height: 1px;
    background: var(--line);
    margin-bottom: 12px;
}

.footerRow {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .8);
    font-weight: 700;
}

.footerMuted {
    color: rgba(96, 110, 128, .9);
}

/* Responsive */
@media (max-width: 980px) {
    .heroHome {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .apartmentCode {
        font-size: 36px;
    }
}


/* ===== Benefits ===== */

.benefitsGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Card */
.benefitCard {
    background: #062429;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
}

.benefitImg {
    width: 60%;
    aspect-ratio: 1 / 1;
    border: 0px solid var(--line);
    background: #062429;
    display: grid;
    place-items: center;
    align-content: center;
    align-self: center;
    overflow: hidden;
}

.benefitImg img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

/* Text */
.benefitCard h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--red);
}

.benefitCard p {
    margin: 0;
    font-size: 14px;

    line-height: 1.5;
    color: var(--white);
    opacity: .85;
}

/* ===== Responsive ===== */

@media (max-width: 1200px) {
    .benefitsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .benefitsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.red {
    color: #17adc4;
}

/* ===== Buyers page ===== */

.accordion {
    display: grid;
    gap: 14px;
}

.accItem {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
}

.accHeader {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
}

.accBody {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.accItem.open .accBody {
    display: block;
}

.accBody p {
    margin: 0 0 12px;
    color: #062429;
    line-height: 1.6;
}

/* Documents */
.documentsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.docCard {
    display: block;
    padding: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    font-weight: 900;
    color: #062429;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.docCard:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 980px) {
    .documentsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ===== Gallery ===== */

.galleryCarousel {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.galleryViewport {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #fff;
}

/* Slide */
.gallerySlide {
    display: none;
    text-align: center;
}

.gallerySlide.is-active {
    display: block;
}

.gallerySlide img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.gallerySlide figcaption {
    padding: 10px;
    font-weight: 900;
    color: #062429;
    background: rgba(96, 110, 128, .12);
    border-top: 1px solid var(--line);
}

/* Controls */
.galleryControls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.galleryDots {
    display: flex;
    gap: 8px;
}

.galleryDots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(96, 110, 128, .35);
    cursor: pointer;
}

.galleryDots .dot.is-active {
    background: var(--red);
    border-color: var(--red);
}

/* ===== Contacts page ===== */

.contactsPage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contactInfoCard,
.contactFormCard {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.contactInfoCard h3,
.contactFormCard h3 {
    margin-top: 0;
    font-weight: 900;
    color: #062429;
}

.contactLink {
    font-weight: 900;
    color: #062429;
    text-decoration: underline;
}

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

.msgBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-weight: 900;
    border-radius: 2px;
    text-decoration: none;
    color: #fff;
}

.msgBtn.telegram {
    background: #229ED9;
}

.msgBtn.viber {
    background: #7360F2;
}

.msgBtn.whatsapp {
    background: #25D366;
}

.contactFormCard input,
.contactFormCard textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 2px;
    border: 1px solid var(--line);
}

.mapCard {
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    height: 380px;
}

.mapCard iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 900px) {
    .contactsPage {
        grid-template-columns: 1fr;
    }
}

/* ===== Price contact buttons (brand red) ===== */

.priceBlock {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255, 255, 255, .72);
}

.priceTitle {
    text-align: center;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 14px;
    color: #062429;
}

.priceButtons {
    display: grid;
    gap: 10px;
}

.priceBtn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 900;
    background: var(--red); /* фірмовий червоний */
    color: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.priceBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

/* ===== Icons ===== */

.priceBtn .icon {
    width: 20px;
    height: 20px;
    background: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Telegram */
.icon.tg {
    mask-image: url("imgs/icons/telegram.svg");
    -webkit-mask-image: url("imgs/icons/telegram.svg");
}

/* Viber */
.icon.viber {
    mask-image: url("imgs/icons/viber.svg");
    -webkit-mask-image: url("imgs/icons/viber.svg");
}

/* WhatsApp */
.icon.wa {
    mask-image: url("imgs/icons/whatsapp.svg");
    -webkit-mask-image: url("imgs/icons/whatsapp.svg");
}
.downloadOfferBtn {
    margin-top: 14px;
    padding: 12px 14px;
    width: 100%;

    background: #17adc4;
    color: #fff;

    border: none;
    border-radius: 12px;

    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;

    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.downloadOfferBtn:hover {
    background: #a81f23;
    transform: translateY(-1px);
}

.downloadOfferBtn:active {
    transform: translateY(0);
}
.hero-eurotrans {
    padding: 36px 0 72px;
    background: #eceae6;
}

.hero-eurotrans__card {
    padding: 56px 54px 52px;
    background:
            radial-gradient(circle at top left, rgba(85, 174, 181, 0.14), transparent 32%),
            #f7f7f5;
    border-radius: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.hero-eurotrans__eyebrow {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3f8f96;
}

.hero-eurotrans__title {
    margin: 0 0 24px;
    max-width: 980px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.98;
    font-weight: 700;
    color: #1b1b1b;
}

.hero-eurotrans__text {
    margin: 0 0 34px;
    max-width: 820px;
    font-size: 22px;
    line-height: 1.45;
    color: #4e5457;
}

.hero-eurotrans__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 26px;
}

.hero-eurotrans__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 18px 26px;
    border-radius: 24px;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    transition: 0.25s ease;
}

.hero-eurotrans__btn--primary {
    background: #55aeb5;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(85, 174, 181, 0.24);
}

.hero-eurotrans__btn--primary:hover {
    background: #3f8f96;
    transform: translateY(-2px);
}

.hero-eurotrans__btn--secondary {
    background: #55aeb5;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(85, 174, 181, 0.24);
}

.hero-eurotrans__btn--secondary:hover {
    background: #3f8f96;
    transform: translateY(-2px);
}

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

.hero-eurotrans__stat {
    padding: 24px 24px 22px;
    background: #ffffff;
    border: 1px solid rgba(85, 174, 181, 0.14);
    border-radius: 24px;
    min-width: 0;
}

.hero-eurotrans__stat-label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #3f8f96;
}

.hero-eurotrans__stat-value {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #1b1b1b;
}

@media (max-width: 900px) {
    .hero-eurotrans__card {
        padding: 40px 30px 34px;
        border-radius: 30px;
    }

    .hero-eurotrans__text {
        font-size: 19px;
        max-width: 100%;
    }

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

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

    .hero-eurotrans__btn {
        min-height: 68px;
        font-size: 18px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .hero-eurotrans {
        padding: 18px 0 42px;
    }

    .hero-eurotrans__card {
        padding: 26px 20px 22px;
        border-radius: 26px;
    }

    .hero-eurotrans__eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .hero-eurotrans__title {
        margin-bottom: 18px;
        font-size: 34px;
        line-height: 1.02;
    }

    .hero-eurotrans__text {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-eurotrans__actions {
        gap: 14px;
        margin-bottom: 18px;
    }

    .hero-eurotrans__btn {
        min-height: 58px;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 18px;
    }

    .hero-eurotrans__stats {
        gap: 14px;
    }

    .hero-eurotrans__stat {
        padding: 18px 18px 16px;
        border-radius: 18px;
    }

    .hero-eurotrans__stat-label {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .hero-eurotrans__stat-value {
        font-size: 18px;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(236, 234, 230, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-brand__logo img {
    width: 52px;
    height: auto;
    display: block;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-brand__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #1b1b1b;
}

.site-brand__sub {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d6366;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.site-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    transition: color 0.25s ease;
}

.site-nav a:hover {
    color: #3f8f96;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f7f7f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #1b1b1b;
    transition: 0.25s ease;
}

.header-phone:hover {
    border-color: rgba(85, 174, 181, 0.4);
    background: #ffffff;
}

.header-phone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(85, 174, 181, 0.14);
    color: #3f8f96;
    font-size: 14px;
    line-height: 1;
}

.header-phone__number {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.header-burger {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #f7f7f5;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.header-burger span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #1b1b1b;
    display: block;
    transition: 0.25s ease;
}

.mobile-nav {
    display: none;
    margin-top: 12px;
    padding: 20px;
    border-radius: 24px;
    background: #f7f7f5;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1b1b1b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav__phone {
    margin-top: 8px;
    padding-top: 16px !important;
    color: #3f8f96 !important;
    font-weight: 700 !important;
}

.mobile-nav.is-open {
    display: block;
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .header-phone__number {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .site-nav,
    .header-phone {
        display: none;
    }

    .header-burger {
        display: inline-flex;
    }

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

    .site-brand__name {
        font-size: 18px;
    }

    .site-brand__sub {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 10px 0;
    }

    .header-inner {
        min-height: 64px;
        gap: 12px;
    }

    .site-brand {
        gap: 10px;
    }

    .site-brand__logo img {
        width: 44px;
    }

    .site-brand__name {
        font-size: 16px;
    }

    .site-brand__sub {
        font-size: 10px;
    }

    .mobile-nav {
        padding: 16px;
        border-radius: 18px;
    }
}

.advantages-list-section {
    padding: 72px 0;
    background: #eceae6;
}

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

.adv-list-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: #f7f7f5;
    border: 1px solid rgba(85, 174, 181, 0.12);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.adv-list-card__icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(85, 174, 181, 0.08);
}

.adv-list-card__icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.adv-list-card__content {
    min-width: 0;
}

.adv-list-card__content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    color: #1b1b1b;
}

.adv-list-card__content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: #5d6366;
}

@media (max-width: 900px) {
    .advantages-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .advantages-list-section {
        padding: 42px 0;
    }

    .advantages-list {
        gap: 14px;
    }

    .adv-list-card {
        gap: 14px;
        padding: 16px 16px;
        border-radius: 18px;
    }

    .adv-list-card__icon {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .adv-list-card__icon img {
        width: 30px;
        height: 30px;
    }

    .adv-list-card__content h3 {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .adv-list-card__content p {
        font-size: 14px;
        line-height: 1.45;
    }
}
.hero-eurotrans {
    position: relative;
    padding: 36px 0 72px;
    overflow: hidden;
    background: #eceae6;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-eurotrans .container {
    position: relative;
    z-index: 3;
}

.hero-eurotrans__bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-eurotrans__bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
}

.hero-eurotrans__bg-slide.active {
    opacity: 1;
}

.hero-eurotrans__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
            linear-gradient(90deg, rgba(236, 234, 230, 0.72) 0%, rgba(236, 234, 230, 0.48) 40%, rgba(236, 234, 230, 0.56) 100%);
}

.hero-eurotrans__card {
    position: relative;
    z-index: 3;
    padding: 56px 54px 52px;
    background: rgba(247, 247, 245, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 980px;
}

.hero-eurotrans__eyebrow {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3f8f96;
}

.hero-eurotrans__title {
    margin: 0 0 24px;
    max-width: 980px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.98;
    font-weight: 700;
    color: #1b1b1b;
}

.hero-eurotrans__text {
    margin: 0 0 34px;
    max-width: 820px;
    font-size: 22px;
    line-height: 1.45;
    color: #4e5457;
    white-space: pre-line;
}

.hero-eurotrans__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 26px;
}

.hero-eurotrans__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 18px 26px;
    border-radius: 24px;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    transition: 0.25s ease;
}

.hero-eurotrans__btn--primary,
.hero-eurotrans__btn--secondary {
    background: #55aeb5;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(85, 174, 181, 0.24);
}

.hero-eurotrans__btn--primary:hover,
.hero-eurotrans__btn--secondary:hover {
    background: #3f8f96;
    transform: translateY(-2px);
}

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

.hero-eurotrans__stat {
    padding: 24px 24px 22px;
    background: #ffffff;
    border: 1px solid rgba(85, 174, 181, 0.14);
    border-radius: 24px;
    min-width: 0;
}

.hero-eurotrans__stat-label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #3f8f96;
}

.hero-eurotrans__stat-value {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #1b1b1b;
}

@media (max-width: 900px) {
    .hero-eurotrans {
        min-height: 640px;
        padding: 28px 0 52px;
    }

    .hero-eurotrans__card {
        padding: 40px 30px 34px;
        border-radius: 30px;
    }

    .hero-eurotrans__text {
        font-size: 19px;
        max-width: 100%;
    }

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

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

    .hero-eurotrans__btn {
        min-height: 68px;
        font-size: 18px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .hero-eurotrans {
        min-height: 560px;
        padding: 18px 0 42px;
    }

    .hero-eurotrans__card {
        padding: 26px 20px 22px;
        border-radius: 26px;
    }

    .hero-eurotrans__eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .hero-eurotrans__title {
        margin-bottom: 18px;
        font-size: 34px;
        line-height: 1.02;
    }

    .hero-eurotrans__text {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-eurotrans__actions {
        gap: 14px;
        margin-bottom: 18px;
    }

    .hero-eurotrans__btn {
        min-height: 58px;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 18px;
    }

    .hero-eurotrans__stats {
        gap: 14px;
    }

    .hero-eurotrans__stat {
        padding: 18px 18px 16px;
        border-radius: 18px;
    }

    .hero-eurotrans__stat-label {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .hero-eurotrans__stat-value {
        font-size: 18px;
    }
}

.estate-cards-section {
    padding: 72px 0;
    background: #eceae6;
}

.estate-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.estate-card {
    background: #f7f7f5;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
}

.estate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.estate-card__image {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
}

.estate-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.estate-card:hover .estate-card__image img {
    transform: scale(1.04);
}

.estate-card__body {
    padding: 24px 24px 26px;
}

.estate-card__title {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #1b1b1b;
}

.estate-card__meta {
    display: grid;
    gap: 14px;
}

.estate-card__meta-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(85, 174, 181, 0.12);
}

.estate-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3f8f96;
}

.estate-card__value {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #1b1b1b;
}

@media (max-width: 1100px) {
    .estate-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .estate-cards-section {
        padding: 42px 0;
    }

    .estate-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .estate-card {
        border-radius: 24px;
    }

    .estate-card__body {
        padding: 18px 18px 20px;
    }

    .estate-card__title {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .estate-card__meta-item {
        padding: 14px 14px;
        border-radius: 14px;
    }

    .estate-card__label {
        font-size: 11px;
    }

    .estate-card__value {
        font-size: 16px;
    }
}


.flats-page {
    padding: 40px 0 80px;
}

.flats-hero {
    margin-bottom: 28px;
}

.flats-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.flats-hero__title {
    margin: 0 0 18px;
    max-width: 880px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
    font-weight: 800;
}

.flats-hero__text {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--muted);
}

.flats-filter {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.flats-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.filter-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.filter-field select {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(28, 28, 28, 0.1);
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
}

.filter-field select:focus {
    border-color: rgba(85, 174, 181, 0.9);
    box-shadow: 0 0 0 3px rgba(85, 174, 181, 0.12);
}

.filter-actions {
    display: flex;
    align-items: end;
}

.filter-btn {
    min-height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.filter-btn--reset {
    width: 100%;
    background: rgba(85, 174, 181, 0.12);
    color: var(--accent-dark);
}

.filter-btn--reset:hover {
    background: rgba(85, 174, 181, 0.2);
}

.flats-topbar {
    margin-bottom: 18px;
}

.flats-count {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.flats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.flat-card {
    background: var(--bg-soft);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.flat-card[hidden] {
    display: none !important;
}

.flat-card__image {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
}

.flat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flat-card__body {
    padding: 22px 22px 24px;
}

.flat-card__title {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
}

.flat-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.flat-card__meta-item {
    padding: 14px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(85, 174, 181, 0.12);
    text-align: center;
}

.flat-card__meta-item span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.flat-card__meta-item strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
}

.flat-card__area {
    margin: 0 0 18px;
    font-size: 16px;
    color: var(--muted);
}

.flat-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.flat-card__link:hover {
    background: var(--accent-dark);
}

.flats-empty {
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background: var(--bg-soft);
    color: var(--muted);
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
    .flats-filter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .flats-page {
        padding: 24px 0 48px;
    }

    .flats-hero__title {
        font-size: 34px;
    }

    .flats-hero__text {
        font-size: 16px;
    }

    .flats-filter {
        padding: 18px;
        border-radius: 24px;
    }

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

    .flats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .flat-card {
        border-radius: 24px;
    }

    .flat-card__body {
        padding: 18px 18px 20px;
    }

    .flat-card__title {
        font-size: 22px;
    }

    .flat-card__meta {
        grid-template-columns: 1fr;
    }

    .flat-card__meta-item strong {
        font-size: 16px;
    }
}
.storage-page {
    background: #eceae6;
    min-height: 100vh;
}

.storage-hero {
    padding: 36px 0 24px;
}

.storage-hero__card {
    background: #f7f7f5;
    border-radius: 30px;
    padding: 40px 36px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.storage-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #3f8f96;
}

.storage-hero__title {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    color: #1b1b1b;
    font-weight: 700;
}

.storage-hero__text {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.5;
    color: #5d6366;
}

.storage-section {
    padding: 0 0 72px;
}

.storage-list-head {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 18px;
    padding: 0 24px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5d6366;
}

.storage-list {
    display: grid;
    gap: 14px;
}

.storage-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    background: #f7f7f5;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.storage-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.storage-row__cell {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
}

.storage-row__price {
    color: #3f8f96;
    font-weight: 700;
}

.storage-cta-wrap {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.storage-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 62px;
    padding: 16px 28px;
    border-radius: 999px;
    background: #3f8f96;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: background .25s ease, transform .2s ease;
}

.storage-cta:hover {
    background: #337b81;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .storage-list-head {
        display: none;
    }

    .storage-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .storage-row__cell {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        font-size: 16px;
    }

    .storage-row__cell::before {
        content: attr(data-label);
        color: #5d6366;
        font-weight: 600;
    }

    .storage-hero__card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .storage-hero__text {
        font-size: 16px;
    }

    .storage-cta {
        width: 100%;
    }
}

:root {
    --bg: #eceae6;
    --bg-soft: #f7f7f5;
    --bg-white: #ffffff;
    --text: #1c1c1c;
    --muted: #5d6366;
    --accent: #55aeb5;
    --accent-dark: #3f8f96;
    --line: rgba(28, 28, 28, 0.08);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1200px;
}

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

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

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

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

.flats-page {
    padding: 40px 0 80px;
}

.flats-hero {
    margin-bottom: 28px;
}

.flats-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.flats-hero__title {
    margin: 0 0 18px;
    max-width: 880px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
    font-weight: 800;
}

.flats-hero__text {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--muted);
}

.flats-filter {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.flats-filter__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.filter-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.filter-field select,
.filter-field input[type="number"] {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(28, 28, 28, 0.1);
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
}

.filter-field select:focus,
.filter-field input[type="number"]:focus {
    border-color: rgba(85, 174, 181, 0.9);
    box-shadow: 0 0 0 3px rgba(85, 174, 181, 0.12);
}

.filter-field--checkbox {
    display: flex;
    align-items: center;
}


.availability-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    cursor: pointer;
    user-select: none;
}

.availability-switch input {
    display: none;
}

.availability-switch__slider {
    position: relative;
    width: 54px;
    height: 30px;
    border-radius: 999px;
    background: rgba(28, 28, 28, 0.14);
    transition: 0.25s ease;
    flex-shrink: 0;
}

.availability-switch__slider::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}

.availability-switch input:checked + .availability-switch__slider {
    background: var(--accent);
}

.availability-switch input:checked + .availability-switch__slider::after {
    transform: translateX(24px);
}

.availability-switch__text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.filter-actions {
    display: flex;
    align-items: end;
}

.filter-btn {
    min-height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.filter-btn--reset {
    width: 100%;
    background: rgba(85, 174, 181, 0.12);
    color: var(--accent-dark);
}

.filter-btn--reset:hover {
    background: rgba(85, 174, 181, 0.2);
}

.flats-topbar {
    margin-bottom: 18px;
}

.flats-count {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.flats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.flat-card {
    background: var(--bg-soft);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.flat-card__image {
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
}

.flat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flat-card__body {
    padding: 22px 22px 24px;
}

.flat-card__title {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
}

.flat-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.flat-card__meta-item {
    padding: 14px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(85, 174, 181, 0.12);
    text-align: center;
}

.flat-card__meta-item span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.flat-card__meta-item strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
}

.flat-card__extra {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.flat-card__line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(85, 174, 181, 0.12);
}

.flat-card__line-label {
    font-size: 14px;
    color: var(--muted);
}

.flat-card__line-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.flat-card__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.flat-card__status--available {
    background: rgba(85, 174, 181, 0.14);
    color: var(--accent-dark);
}

.flat-card__status--sold {
    background: rgba(160, 160, 160, 0.14);
    color: #666;
}

.flat-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.flat-card__link:hover {
    background: var(--accent-dark);
}

.flats-empty {
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background: var(--bg-soft);
    color: var(--muted);
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
    .flats-filter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .flats-page {
        padding: 24px 0 48px;
    }

    .flats-hero__title {
        font-size: 34px;
    }

    .flats-hero__text {
        font-size: 16px;
    }

    .flats-filter {
        padding: 18px;
        border-radius: 24px;
    }

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

    .flats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .flat-card {
        border-radius: 24px;
    }

    .flat-card__body {
        padding: 18px 18px 20px;
    }

    .flat-card__title {
        font-size: 22px;
    }

    .flat-card__meta {
        grid-template-columns: 1fr;
    }

    .flat-card__meta-item strong {
        font-size: 16px;
    }

    .flat-card__line {
        flex-direction: column;
        align-items: flex-start;
    }

    .flat-card__line-value {
        text-align: left;
    }
}

.flat-card--sold {
    background: #f8dede;
    border: 1px solid rgba(180, 40, 40, 0.18);
}

.flat-card__title--sold {
    color: rgba(253, 95, 95, 0.79);
    text-transform: uppercase;
}

.flat-card--sold .flat-card__meta-item,
.flat-card--sold .flat-card__line {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(180, 40, 40, 0.12);
}

.flat-card--sold .flat-card__image img {
    filter: grayscale(20%);
}

.filter-field--checkbox .availability-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin-bottom: 0;
}

.filter-field--checkbox .availability-switch__slider {
    flex: 0 0 54px;
}

.filter-field--checkbox .availability-switch__text {
    display: inline-block;
    line-height: 1.3;
}
