:root {
    --navy-950: #040b18;
    --navy-900: #071225;
    --navy-850: #0a1830;
    --navy-800: #0d203c;
    --blue-500: #1d9bf0;
    --blue-400: #35b8ff;
    --blue-300: #7cd4ff;
    --silver-100: #f4f8fc;
    --silver-200: #dfe8f2;
    --silver-400: #9fb0c4;
    --silver-600: #63748b;
    --white: #ffffff;
    --gold: #d6a45d;
    --success: #52d691;
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, .28);
    --shadow-card: 0 18px 45px rgba(6, 18, 38, .10);
    --container: 1640px;
    --header-content-height: 88px;
    --header-height: var(--header-content-height);
    --header-bg-solid: #040b18;
    --header-bg-scrolled: #040b18;
}


* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: var(--header-bg-solid);
}
body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navy-900);
    background: #f7fafd;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* Safe area mobile — même logique que Domaine du Daim :
   le header a son fond solide, puis son contenu descend avec env(safe-area-inset-top).
   Le ::before est une sécurité iOS pour que l'encoche/status bar reste #040b18. */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: var(--header-bg-solid);
    z-index: 1090;
    pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
    position: absolute;
    left: 20px;
    top: -80px;
    z-index: 1000;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--blue-500);
    color: white;
    transition: top .2s ease;
}
.skip-link:focus { top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    pointer-events: none;
    background: var(--header-bg-solid);
}
.site-header__bleed {
    width: 100%;
    background: var(--header-bg-solid);
    border-bottom: 1px solid rgba(255,255,255,.08);
    pointer-events: auto;
}
.site-header.scrolled .site-header__bleed {
    background: var(--header-bg-scrolled);
    box-shadow: 0 14px 45px rgba(0,0,0,.22);
    border-bottom-color: rgba(255,255,255,.10);
}
.header-inner,
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
    padding-top: max(4px, env(safe-area-inset-top, 0px));
    padding-bottom: 4px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(218px, 16vw, 286px);
    height: clamp(48px, 4.2vw, 62px);
    min-width: 0;
    line-height: 0;
}
.brand-logo-crop {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
}
.brand-logo {
    position: absolute;
    left: -5.2%;
    top: 50%;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 0;
    background: transparent;
    object-fit: initial;
    transform: translateY(-43%);
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.24));
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 12px 14px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.10); }
.header-phone {
    color: var(--white);
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.18);
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(29,155,240,.18), rgba(255,255,255,.06));
}
.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(124, 212, 255, .26);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(29,155,240,.10));
    padding: 0;
    color: white;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.menu-toggle:hover { transform: translateY(-1px); background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(29,155,240,.16)); border-color: rgba(124, 212, 255, .38); }
.menu-toggle span:not(.sr-only) {
    position: absolute;
    left: 12px;
    right: 12px;
    display: block;
    height: 2px;
    background: white;
    border-radius: 999px;
    transition: transform .24s ease, opacity .18s ease, top .24s ease;
}
.menu-toggle span:not(.sr-only):nth-child(1) { top: 15px; }
.menu-toggle span:not(.sr-only):nth-child(2) { top: 22px; }
.menu-toggle span:not(.sr-only):nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ------------------------------
   Mobile menu overlay — même processus que Domaine du Daim
--------------------------------- */
body.is-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
}
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity .10s linear, visibility .10s linear;
    will-change: opacity;
}
.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(29,155,240,.28), transparent 34%),
        radial-gradient(circle at 88% 76%, rgba(124,212,255,.18), transparent 38%),
        linear-gradient(180deg, rgba(4,11,24,.96) 0%, rgba(7,18,37,.94) 100%);
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
    backdrop-filter: blur(10px) saturate(1.08);
}
.mobile-menu__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding:
        max(14px, env(safe-area-inset-top, 0px))
        18px
        max(14px, env(safe-area-inset-bottom, 0px));
}
.mobile-menu__close {
    position: absolute;
    top: max(14px, env(safe-area-inset-top, 0px));
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.mobile-menu__close:hover { transform: rotate(90deg) scale(1.04); background: rgba(255,255,255,.18); }
.mobile-menu__close span {
    position: absolute;
    left: 13px;
    right: 13px;
    top: 50%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.mobile-menu__close span:first-child { transform: rotate(45deg); }
.mobile-menu__close span:last-child { transform: rotate(-45deg); }
.mobile-menu__content {
    width: min(100%, 410px);
    position: relative;
}
.mobile-menu__list,
.mobile-menu__list--main {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mobile-menu__item {
    list-style: none;
    opacity: 1;
    transform: none;
    animation: none;
}
.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 72px;
    padding: 0 4px;
    color: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(255,255,255,.11);
    font-size: clamp(1.55rem, 5vw, 1.95rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.035em;
    cursor: pointer;
    text-align: left;
}
.mobile-menu__link::after {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .72;
    flex: 0 0 11px;
}
.mobile-menu__item.is-active .mobile-menu__link,
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    color: #fff;
}
.mobile-menu__link--accent {
    margin-top: 10px;
    min-height: 58px;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(124,212,255,.42);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(29,155,240,.92), rgba(53,184,255,.72));
    box-shadow: 0 18px 50px rgba(29,155,240,.28);
    font-size: clamp(1.25rem, 4.2vw, 1.55rem);
    letter-spacing: -.02em;
}
.mobile-menu__link--accent::after { display: none; }
.mobile-menu__footer {
    display: grid;
    gap: 3px;
    margin-top: 18px;
    color: rgba(255,255,255,.54);
    font-size: 13px;
    font-weight: 700;
}
.mobile-menu__footer a { color: var(--blue-300); font-weight: 900; }

@media (min-width: 1081px) {
    .mobile-menu { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .menu-toggle span:not(.sr-only),
    .mobile-menu__close { transition: none; }
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - env(safe-area-inset-top, 0px));
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,11,24,.92) 0%, rgba(4,11,24,.76) 42%, rgba(4,11,24,.34) 100%), var(--hero-image, none) center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -34% -10%;
    height: 46%;
    background: radial-gradient(circle at 38% 0%, rgba(53,184,255,.28), transparent 52%);
    filter: blur(12px);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 1120px; padding: 86px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-300);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--blue-400); }
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: -.04em; }
.hero h1 { font-size: clamp(46px, 6.25vw, 88px); max-width: 1120px; }
.hero p { font-size: clamp(18px, 1.85vw, 22px); color: rgba(255,255,255,.80); max-width: 980px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 54px;
    max-width: 980px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
}
.hero-metric { padding: 22px; background: rgba(255,255,255,.075); }
.hero-metric strong { display: block; font-size: 28px; line-height: 1; color: white; }
.hero-metric span { color: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(29,155,240,.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(29,155,240,.32); }
.btn-outline {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.20);
    box-shadow: none;
    color: var(--white);
}
.btn-outline.dark { color: var(--navy-900); border-color: rgba(7,18,37,.14); background: white; }
.btn-small { min-height: 42px; padding: 9px 16px; font-size: 14px; box-shadow: none; }

.section { padding: 98px 0; }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: white; }
.section-light { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head .kicker { margin-bottom: 12px; }
.kicker { color: var(--blue-500); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
.section h2 { font-size: clamp(34px, 4vw, 62px); }
.section p.lead { color: var(--silver-600); font-size: 19px; max-width: 1080px; margin: 18px 0 0; }
.section-dark p.lead { color: rgba(255,255,255,.68); }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.info-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(7,18,37,.06);
}
.info-card.dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10); box-shadow: none; }
.info-card h3 { font-size: 24px; margin-bottom: 12px; }
.info-card p { margin: 0; color: var(--silver-600); }
.info-card.dark p { color: rgba(255,255,255,.68); }
.icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(29,155,240,.16), rgba(53,184,255,.10));
    color: var(--blue-500);
    font-size: 24px;
}

.project-feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    align-items: stretch;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(7,18,37,.06);
}
.project-feature img { height: 100%; min-height: 440px; width: 100%; object-fit: cover; border-radius: 24px; }
.project-feature-content { padding: 34px 18px 34px 4px; display: flex; flex-direction: column; justify-content: center; }
.project-feature h3 { font-size: clamp(32px, 4vw, 54px); }
.project-feature p { color: var(--silver-600); font-size: 18px; margin: 18px 0 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(29,155,240,.10);
    color: #0b6db0;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 900;
}
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--silver-600); font-size: 13px; font-weight: 800; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(82,214,145,.15); }

.split-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.quote-panel {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0% 0%, rgba(53,184,255,.16), transparent 44%), rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.quote-panel::before { content: "“"; font-size: 100px; line-height: .7; color: rgba(53,184,255,.45); }
.quote-panel p { font-size: 24px; color: white; margin: 0; }
.quote-panel span { display: block; margin-top: 18px; color: rgba(255,255,255,.62); font-weight: 800; }

.project-hero { min-height: 72vh; }
.project-summary {
    margin-top: -70px;
    position: relative;
    z-index: 4;
}
.summary-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(7,18,37,.10);
    box-shadow: var(--shadow-soft);
}
.summary-card div { background: white; padding: 30px; }
.summary-card dt { color: var(--silver-600); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.summary-card dd { margin: 8px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -.03em; }

.filter-bar {
    position: sticky;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 12px);
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(7,18,37,.10);
    border: 1px solid rgba(7,18,37,.07);
    margin-bottom: 32px;
}
.filter-bar label { font-size: 13px; font-weight: 900; color: var(--silver-600); margin-right: 2px; }
.filter-bar select, .filter-bar input {
    min-height: 44px;
    border: 1px solid rgba(7,18,37,.10);
    border-radius: 14px;
    padding: 9px 12px;
    background: white;
    color: var(--navy-900);
    font-weight: 800;
}
.units-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.unit-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(7,18,37,.07);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: 0 22px 65px rgba(7,18,37,.14); }
.unit-card.hidden { display: none; }
.unit-media { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #eef4fb; overflow: hidden; }
.unit-media img { width: 100%; aspect-ratio: 1.52 / 1; object-fit: cover; transition: transform .35s ease; }
.unit-media span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(4,11,24,.80);
    color: white;
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}
.unit-media:hover img { transform: scale(1.04); }
.unit-body { padding: 22px; }
.unit-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.unit-body h3 { font-size: 25px; margin-bottom: 16px; }
.unit-specs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin: 0 0 18px; overflow: hidden; border-radius: 16px; background: rgba(7,18,37,.08); }
.unit-specs div { padding: 12px; background: #f8fbff; }
.unit-specs dt { font-size: 11px; color: var(--silver-600); text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.unit-specs dd { margin: 3px 0 0; font-size: 15px; font-weight: 900; }
.room-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; color: var(--silver-600); font-size: 14px; }
.room-list span { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(7,18,37,.07); }
.room-list strong { color: var(--navy-900); white-space: nowrap; }
.unit-actions { display: flex; gap: 10px; }
.unit-actions .btn-outline { background: white; color: var(--navy-900); border-color: rgba(7,18,37,.12); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.units-table { width: 100%; border-collapse: collapse; background: white; min-width: 760px; }
.units-table th, .units-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid rgba(7,18,37,.07); }
.units-table th { background: var(--navy-900); color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.units-table tr:last-child td { border-bottom: 0; }
.units-table td { font-weight: 750; }
.units-table td.muted { color: var(--silver-600); font-weight: 650; }

.contact-card {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-soft);
}
.contact-aside {
    padding: 44px;
    color: white;
    background: radial-gradient(circle at 0% 0%, rgba(53,184,255,.26), transparent 42%), linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.contact-aside h2 { font-size: 38px; }
.contact-aside p { color: rgba(255,255,255,.72); }
.contact-line { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-weight: 900; }
.contact-form { padding: 44px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 900; color: var(--navy-900); }
.optional { color: var(--silver-600); font-size: 12px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
    border: 1px solid rgba(7,18,37,.12);
    border-radius: 16px;
    min-height: 50px;
    padding: 12px 14px;
    background: #f8fbff;
    color: var(--navy-900);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { resize: vertical; min-height: 132px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(29,155,240,.12); background: white; }
.form-note { color: var(--silver-600); font-size: 13px; margin-top: 14px; }
.form-honeypot { display: none; }
.alert { padding: 16px 18px; border-radius: 16px; font-weight: 800; margin-bottom: 20px; }
.alert-success { background: rgba(82,214,145,.12); color: #16623a; border: 1px solid rgba(82,214,145,.28); }
.alert-error { background: rgba(214,82,82,.10); color: #742424; border: 1px solid rgba(214,82,82,.20); }

.faq-list { display: grid; gap: 12px; max-width: 1120px; }
.faq-item { border: 1px solid rgba(7,18,37,.08); border-radius: 18px; background: white; overflow: hidden; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; background: white; border: 0; font-weight: 900; text-align: left; }
.faq-item button::after { content: "+"; font-size: 24px; color: var(--blue-500); }
.faq-item.open button::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--silver-600); }
.faq-item.open .faq-answer { display: block; }

.plan-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: stretch;
    justify-content: center;
    padding: clamp(14px, 3vw, 34px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.plan-modal.open { display: flex; }
.plan-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(2,7,16,.88);
    backdrop-filter: blur(12px);
}
.plan-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: calc(100dvh - clamp(28px, 6vw, 68px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin: auto 0;
    border-radius: 24px;
    background: white;
    box-shadow: 0 30px 110px rgba(0,0,0,.40);
    padding: clamp(16px, 2.4vw, 26px);
}
@supports not (height: 100dvh) {
    .plan-modal-panel { max-height: calc(100vh - clamp(28px, 6vw, 68px)); }
}
.plan-modal-panel h2 { margin: 0 0 16px; padding-right: 112px; font-size: clamp(22px, 3vw, 30px); }
.plan-modal-panel img { display: block; width: 100%; height: auto; border-radius: 16px; background: #f6f8fb; }
.plan-modal-close {
    position: sticky;
    top: 0;
    z-index: 2;
    float: right;
    border: 0;
    background: var(--navy-900);
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(7,18,37,.18);
}

.site-footer { background: var(--navy-950); color: white; padding: 46px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer-grid-simple { align-items: center; }
.footer-contact-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-footer h2 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin: 0; }
.site-footer p { color: rgba(255,255,255,.62); max-width: 360px; margin: 0; }
.site-footer a, .site-footer span { display: block; color: rgba(255,255,255,.76); margin: 0; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; color: rgba(255,255,255,.52); font-size: 13px; }
.footer-bottom span { margin: 0; }
.footer-bottom .basiliks-link { display: inline; color: var(--blue-300); font-weight: 900; }
.footer-bottom .basiliks-link:hover { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    .main-nav, .header-phone { display: none; }
    .menu-toggle { display: inline-flex; }
    .brand { width: clamp(190px, 36vw, 238px); height: clamp(46px, 8vw, 54px); }
    .hero-metrics, .summary-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-grid, .units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-feature, .split-section, .contact-card { grid-template-columns: 1fr; }
    .project-feature img { min-height: 320px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    :root { --header-content-height: 78px; }
    .brand { width: clamp(158px, 48vw, 192px); height: 44px; }
    .brand-logo { left: -5.6%; transform: translateY(-43.2%); }
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding: 68px 0; }
    .hero-content { padding: 64px 0; max-width: 100%; }
    .hero::before { background: linear-gradient(180deg, rgba(4,11,24,.96), rgba(4,11,24,.70)), var(--hero-image, none) center/cover no-repeat; }
    .hero-actions, .unit-actions { flex-direction: column; }
    .btn { width: 100%; }
    .hero-metrics, .summary-card, .cards-grid, .units-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .section-head .btn { margin-top: 20px; }
    .project-feature { padding: 14px; }
    .project-feature-content { padding: 18px 6px 8px; }
    .filter-bar { position: static; display: grid; grid-template-columns: 1fr; }
    .contact-aside, .contact-form { padding: 28px; }
    .footer-contact-block { align-items: flex-start; flex-direction: column; }
    .footer-bottom { flex-direction: column; }
}
