/* =====================================================================
   Royal Saturn — Public stylesheet
   Premium dark navy + metallic gold theme
   ===================================================================== */

:root {
    --bg:        #070b14;
    --bg-2:      #0a1020;
    --bg-3:      #0d1426;
    --surface:   #101a30;
    --surface-2: #142036;
    --line:      rgba(212,175,55,.16);
    --line-soft: rgba(255,255,255,.07);

    --gold:      #d4af37;
    --gold-2:    #f3d98b;
    --gold-deep: #b8860b;
    --gold-grad: linear-gradient(135deg, #b8860b 0%, #f3d98b 45%, #d4af37 100%);

    --text:      #f4f2ec;
    --text-2:    #c3c9d4;
    --muted:     #8a93a6;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Jost', system-ui, sans-serif;

    --radius:   14px;
    --radius-sm: 9px;
    --shadow:   0 18px 50px rgba(0,0,0,.45);
    --container: 1240px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .3px; }
p { margin: 0 0 1rem; }
.container { width: min(var(--container), 92%); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
    --pad: 14px 30px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--pad);
    font-family: var(--font-sans); font-weight: 500; font-size: .82rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    border: 1px solid transparent; border-radius: 40px; cursor: pointer;
    transition: all .3s var(--ease); white-space: nowrap;
}
.btn-sm { --pad: 10px 20px; font-size: .72rem; letter-spacing: 1px; }
.btn-lg { --pad: 17px 40px; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold-grad); color: #1a1206; box-shadow: 0 10px 26px rgba(212,175,55,.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(212,175,55,.42); color: #1a1206; }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: #1a1206; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--bg); }
.btn-ghost { border-color: var(--line-soft); color: var(--text-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header (two-tier: search on top, nav below) ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7,11,20,.9);
    backdrop-filter: blur(14px);
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(7,11,20,.97); box-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* Top tier */
.header-top { border-bottom: 1px solid var(--line-soft); }
.header-top-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 2px 8px rgba(212,175,55,.3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 3px;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-text small { font-size: .58rem; letter-spacing: 4px; color: var(--muted); margin-top: 3px; }

.header-search { flex: 1; max-width: 580px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); border-radius: 40px; padding: 8px 8px 8px 18px; transition: border-color .3s, box-shadow .3s; }
.header-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.header-search-icon { color: var(--muted); flex-shrink: 0; }
.header-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-sans); font-size: .88rem; }
.header-search input::placeholder { color: var(--muted); }
.header-search button { flex-shrink: 0; background: var(--gold-grad); border: none; padding: 9px 24px; border-radius: 30px;
    color: #1a1206; cursor: pointer; font-family: var(--font-sans); font-size: .74rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; transition: .3s; }
.header-search button:hover { box-shadow: 0 6px 16px rgba(212,175,55,.4); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-login { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; color: var(--text-2); transition: all .3s; }
.header-login:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); transition: .3s; }

/* Bottom tier (navigation) */
.header-bottom { border-bottom: 1px solid var(--line-soft); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 34px; height: 52px; }
.main-nav > a { font-size: .8rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-2); position: relative; padding: 6px 0; }
.main-nav > a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--gold-grad); transition: width .3s var(--ease); }
.main-nav > a:hover, .main-nav > a.active { color: var(--gold); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.nav-search-mobile { display: none; }
.nav-cta-mobile { display: none; }

/* ---------- Language switcher ---------- */
.flag { width: 21px; height: 14px; flex-shrink: 0; border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 1px 3px rgba(0,0,0,.5); }

.lang-switch { position: relative; flex-shrink: 0; }
.lang-switch > summary {
    display: flex; align-items: center; gap: 7px;
    height: 42px; padding: 0 12px;
    border: 1px solid var(--line-soft); border-radius: 40px;
    color: var(--text-2); cursor: pointer; list-style: none;
    transition: border-color .3s, color .3s;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::marker { content: ''; }
.lang-switch > summary:hover { border-color: var(--gold); color: var(--gold); }
.lang-switch > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-code { font-size: .74rem; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; }
.lang-caret { transition: transform .25s var(--ease); opacity: .7; }
.lang-switch[open] > summary { border-color: var(--gold); color: var(--gold); }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }

.lang-menu {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
    min-width: 178px; padding: 7px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow);
    animation: langIn .22s var(--ease);
}
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu a {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: 7px;
    font-size: .84rem; color: var(--text-2); white-space: nowrap;
    transition: background .25s, color .25s;
}
.lang-menu a:hover { background: rgba(212,175,55,.1); color: var(--gold); }
.lang-menu a.active { color: var(--gold); background: rgba(212,175,55,.07); }
.lang-menu a.active::after { content: '✓'; margin-left: auto; font-size: .78rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-skyline { position: absolute; inset: -2%; background: url('../img/hero.jpg') center center / cover no-repeat;
    animation: heroZoom 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-overlay { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(6,9,16,.92) 0%, rgba(6,9,16,.72) 42%, rgba(6,9,16,.42) 100%),
    linear-gradient(0deg, rgba(6,9,16,.96) 0%, transparent 38%); }
@media (prefers-reduced-motion: reduce) { .hero-skyline { animation: none; } }
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 880px; }
.hero-eyebrow { display: inline-block; font-size: .85rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero-title { font-size: clamp(3.2rem, 9vw, 6.5rem); font-weight: 600; line-height: .98; margin: 0;
    background: linear-gradient(180deg, #fff 30%, #d8dae0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.35rem); color: var(--text-2); letter-spacing: 2px; text-transform: uppercase; font-weight: 300; margin-top: 18px; }
.hero-rule { display: block; width: 80px; height: 2px; background: var(--gold-grad); margin: 28px 0 36px; }

/* ---------- Search bar ---------- */
.search-bar {
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0;
    background: rgba(10,16,30,.82); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 16px; padding: 10px;
    box-shadow: var(--shadow); max-width: 1000px;
}
.search-field { display: flex; flex-direction: column; padding: 8px 18px; border-right: 1px solid var(--line-soft); }
.search-field:nth-child(4) { border-right: none; }
.search-field label { font-size: .65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.search-field input, .search-field select {
    background: none; border: none; outline: none; color: var(--text);
    font-family: var(--font-sans); font-size: .9rem; padding: 4px 0; cursor: pointer;
}
.search-field input::placeholder { color: var(--muted); }
.search-field select option { background: var(--bg-3); color: var(--text); }
.search-submit { margin: 4px; border-radius: 12px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 20px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-eyebrow { font-size: .75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold-grad); margin-top: 16px; }
.section-head.center .section-title::after { margin-left: auto; margin-right: auto; }
.section-lead { color: var(--muted); max-width: 540px; }

/* ---------- Features ---------- */
.features { padding: 70px 0; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: center; padding: 20px; }
.feature-icon { display: inline-grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--gold); margin-bottom: 18px;
    background: radial-gradient(circle at 50% 30%, rgba(212,175,55,.12), transparent 70%); transition: .35s var(--ease); }
.feature:hover .feature-icon { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(212,175,55,.18); }
.feature h3 { font-size: 1.25rem; color: var(--text); }
.feature p { color: var(--muted); font-size: .9rem; }

/* ---------- Property grid & cards ---------- */
.featured-layout { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.property-grid-3 { grid-template-columns: repeat(3, 1fr); }
.property-grid-4 { grid-template-columns: repeat(4, 1fr); }
.property-grid-4 .property-title { font-size: 1.25rem; }
.property-grid-4 .property-specs { gap: 12px; }
.property-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: .4s var(--ease); }
.property-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow); }
.property-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.07); }
.badge { position: absolute; top: 14px; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 30px; }
.badge-operation { left: 14px; background: var(--gold-grad); color: #1a1206; }
.badge-status { right: 14px; background: rgba(7,11,20,.85); color: #fff; }
.badge-status.is-reserved { color: var(--gold-2); }
.badge-status.is-sold { color: #ff8d8d; }
.property-body { padding: 22px; }
.property-type { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.property-title { font-size: 1.4rem; margin: 6px 0 8px; }
.property-title a:hover { color: var(--gold); }
.property-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.property-specs { list-style: none; display: flex; gap: 18px; padding: 14px 0; margin: 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.property-specs li { font-size: .82rem; color: var(--text-2); }
.property-specs strong { color: var(--text); font-weight: 500; }
.property-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.property-price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.property-link { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); }
.property-link:hover { color: var(--gold); }

/* ---------- Featured carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px 2px 24px; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .property-card { flex: 0 0 400px; max-width: 86vw; scroll-snap-align: start; }
/* larger card imagery inside the carousel */
.carousel-track > .property-card .property-media { aspect-ratio: 5 / 4; }
.carousel-track > .property-card .property-title { font-size: 1.5rem; }
.carousel.dragging .carousel-track { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; }
.carousel.dragging .carousel-track > .property-card { pointer-events: none; }

.carousel-btn { position: absolute; top: 38%; transform: translateY(-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%;
    background: rgba(10,16,30,.92); border: 1px solid var(--line); color: var(--gold); cursor: pointer; display: grid; place-items: center;
    transition: .3s var(--ease); box-shadow: var(--shadow); }
.carousel-btn:hover { background: var(--gold-grad); color: #1a1206; border-color: transparent; }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }

/* Full-bleed carousel: spans the viewport so more cards fit on wide screens.
   The track keeps a slim gutter and the nav buttons sit at that gutter. */
.carousel-full { --gutter: clamp(20px, 4vw, 80px); }
.carousel-full .carousel-track { padding-left: var(--gutter); padding-right: var(--gutter); }
.carousel-full .carousel-prev { left: calc(var(--gutter) - 14px); }
.carousel-full .carousel-next { right: calc(var(--gutter) - 14px); }

/* Help card */
.help-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; position: sticky; top: 100px; }
.help-icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; color: var(--gold); border: 1px solid var(--line); margin-bottom: 18px; }
.help-card h3 { font-size: 1.5rem; }
.help-card p { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.help-card .btn { margin-bottom: 10px; }

/* Horizontal help banner (below featured grid) */
.help-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    margin-top: 34px; padding: 26px 34px; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(120deg, var(--surface-2), var(--surface)); }
.help-banner-text { display: flex; align-items: center; gap: 20px; }
.help-banner .help-icon { width: 64px; height: 64px; margin: 0; flex-shrink: 0; }
.help-banner h3 { font-size: 1.5rem; margin: 0 0 4px; }
.help-banner p { color: var(--muted); font-size: .9rem; margin: 0; max-width: 460px; }
.help-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Stats band ---------- */
.stats-band { background:
    linear-gradient(rgba(7,11,20,.9), rgba(7,11,20,.9)), var(--gold-grad);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.stat span { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); }

/* ---------- Browse by property type ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.type-card { position: relative; display: block; aspect-ratio: 5/4; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line-soft); transition: .4s var(--ease); }
.type-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.type-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.type-card:hover img { transform: scale(1.08); }
.type-card-overlay { position: absolute; inset: 0; background:
    linear-gradient(0deg, rgba(6,9,16,.92) 0%, rgba(6,9,16,.35) 45%, rgba(6,9,16,.1) 100%); transition: background .4s; }
.type-card:hover .type-card-overlay { background: linear-gradient(0deg, rgba(6,9,16,.9) 0%, rgba(6,9,16,.45) 55%, rgba(212,175,55,.12) 100%); }
.type-card-body { position: absolute; left: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; }
.type-card-body strong { font-family: var(--font-serif); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.type-card-body small { font-size: .76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.type-card-arrow { position: absolute; right: 22px; bottom: 24px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; color: var(--gold); background: rgba(6,9,16,.45);
    transform: translateX(-6px); opacity: 0; transition: .35s var(--ease); }
.type-card:hover .type-card-arrow { opacity: 1; transform: translateX(0); background: var(--gold-grad); color: #1a1206; border-color: transparent; }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-grid-2 { grid-template-columns: repeat(2, 1fr); }
.news-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: .4s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.news-media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-cat { position: absolute; top: 12px; left: 12px; background: var(--gold-grad); color: #1a1206; font-size: .64rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; padding: 5px 12px; border-radius: 30px; }
.news-body { padding: 22px; }
.news-body time { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.news-body h3 { font-size: 1.3rem; margin: 8px 0; }
.news-body h3 a:hover { color: var(--gold); }
.news-body p { color: var(--muted); font-size: .88rem; }
.read-more { font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }

/* ---------- Corporate partners ---------- */
/* Flex (not grid) so an incomplete last row stays centred instead of
   hugging the left edge — a partner list is rarely an exact multiple. */
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partner-logo-item { flex: 0 1 calc((100% - 5 * 18px) / 6); min-width: 132px; }
.partner-logo-item { display: grid; place-items: center; height: 108px; padding: 18px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
    transition: .35s var(--ease); }
.partner-logo-item img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(1.5); opacity: .75; transition: .35s var(--ease); }
a.partner-logo-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
a.partner-logo-item:hover img { filter: none; opacity: 1; }

.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-bottom: 60px; }
.partner-card { flex: 0 1 calc((100% - 2 * 26px) / 3); min-width: 260px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
    padding: 30px 28px; transition: .35s var(--ease); }
a.partner-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow); }
.partner-logo { display: grid; place-items: center; width: 100%; height: 92px; margin-bottom: 10px; overflow: hidden;
    background: rgba(255,255,255,.05); border-radius: var(--radius-sm); padding: 14px; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
/* Fallback when a partner has no logo file yet */
.partner-monogram { font-family: var(--font-serif); font-size: 2.1rem; font-style: normal; letter-spacing: 2px;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.partner-wordmark { font-family: var(--font-serif); font-style: normal; font-size: 1.15rem; line-height: 1.2; text-align: center;
    color: var(--text-2); letter-spacing: 1px; }
a.partner-logo-item:hover .partner-wordmark { color: var(--gold); }
.partner-name { font-family: var(--font-serif); font-size: 1.45rem; color: var(--text); }
.partner-sector { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.partner-desc { color: var(--muted); font-size: .89rem; margin: 6px 0 0; }
.partner-link { margin-top: auto; padding-top: 14px; font-size: .74rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }

/* ---------- Projects / developments ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-grid-2 { grid-template-columns: repeat(2, 1fr); }
.project-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: .4s var(--ease); display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow); }
.project-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.badge-stage { position: absolute; top: 14px; left: 14px; background: var(--gold-grad); color: #1a1206;
    font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 30px; }
.project-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-title { font-size: 1.45rem; margin: 0 0 6px; }
.project-title a:hover { color: var(--gold); }
.project-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.project-summary { color: var(--text-2); font-size: .89rem; }
.project-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 0; margin: 6px 0 0;
    border-top: 1px solid var(--line-soft); }
.project-facts li { font-size: .8rem; color: var(--muted); display: flex; flex-direction: column; }
.project-facts strong { color: var(--text); font-weight: 500; font-size: .92rem; }
.project-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.project-price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); }
.project-price small { display: block; font-family: var(--font-sans); font-size: .66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.project-link { font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); }
.project-link:hover { color: var(--gold); }

.project-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 34px; }
.stage-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-filter .page-link { min-width: 0; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 50px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--text-2); }
.trust-item svg { color: var(--gold); }
.trust-item span { font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 100px 0; text-align: center; background:
    linear-gradient(rgba(6,9,16,.9), rgba(6,9,16,.93)), url('../img/banner.jpg') center / cover fixed; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-inner p { color: var(--text-2); max-width: 520px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 60px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; font-size: .7rem; letter-spacing: 1px; color: var(--text-2); transition: .3s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-2); font-size: .9rem; padding: 5px 0; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact p { display: flex; gap: 10px; color: var(--text-2); font-size: .88rem; align-items: flex-start; }
.footer-contact span { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; font-size: .78rem; color: var(--muted); letter-spacing: 1px; }

/* ---------- Floating WhatsApp + to-top ---------- */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.to-top { position: fixed; bottom: 26px; left: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--gold); cursor: pointer; opacity: 0; pointer-events: none; transition: .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Flash messages ---------- */
.flash-stack { position: fixed; top: 90px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .88rem; box-shadow: var(--shadow); animation: slideIn .4s var(--ease); }
.flash-success { background: #0f2a1c; border: 1px solid #1f7a4d; color: #b6f3d2; }
.flash-error { background: #2a1212; border: 1px solid #8a3030; color: #ffc4c4; }
.flash-info { background: var(--surface-2); border: 1px solid var(--line); color: var(--gold-2); }
.flash-info a { color: var(--gold); text-decoration: underline; word-break: break-all; }
.flash-close { margin-left: auto; background: none; border: none; color: inherit; font-size: 1.2rem; cursor: pointer; opacity: .7; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 110px 0 80px; text-align: center; background:
    linear-gradient(rgba(6,9,16,.82), rgba(6,9,16,.93)), url('../img/banner.jpg') center 35% / cover; border-bottom: 1px solid var(--line); }
.page-banner-title { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-banner p { color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ---------- Catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }
.filters-title { font-size: 1.4rem; margin-bottom: 20px; }
.filter-group { margin-bottom: 16px; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.filter-group label { display: block; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.filter-group input, .filter-group select {
    width: 100%; background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
    padding: 11px 12px; color: var(--text); font-family: var(--font-sans); font-size: .85rem; outline: none; transition: border-color .3s;
}
.filter-group input:focus, .filter-group select:focus { border-color: var(--gold); }
.filter-group select option { background: var(--bg-3); }
.filters-reset { display: block; text-align: center; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.filters-reset:hover { color: var(--gold); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--gold); font-size: 1.2rem; }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.sort-form select { background: var(--surface); border: 1px solid var(--line-soft); color: var(--text); padding: 9px 14px; border-radius: var(--radius-sm); font-family: var(--font-sans); outline: none; }
.empty-state { text-align: center; padding: 80px 20px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.empty-state h3 { font-size: 1.6rem; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.page-link { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); color: var(--text-2); font-size: .85rem; transition: .3s; }
.page-link:hover, .page-link.active { background: var(--gold-grad); color: #1a1206; border-color: transparent; }

/* ---------- Property detail ---------- */
.breadcrumb { padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: .82rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.breadcrumb em { color: var(--text-2); font-style: normal; }
.detail-head { padding: 36px 0 24px; }
.detail-head-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.detail-head .badge { position: static; display: inline-block; margin-right: 8px; }
.detail-title { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 8px; }
.detail-location { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.detail-price-box { text-align: right; }
.detail-price { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--gold); }
.detail-price-box small { color: var(--muted); }

.gallery { padding-bottom: 20px; }
.gallery-main { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumb { flex: 0 0 110px; height: 74px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.spec-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.spec { flex: 1; min-width: 100px; text-align: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 18px 10px; }
.spec-num { display: block; font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); }
.spec-label { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.block-title { font-size: 1.7rem; margin: 36px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.prose { color: var(--text-2); line-height: 1.9; }
.prose h2, .prose h3 { color: var(--text); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.amenities li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .92rem; }
.amenities svg { color: var(--gold); flex-shrink: 0; }
.property-map, .contact-map { height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 10px; }

.detail-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.contact-box { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-box h3 { font-size: 1.5rem; }
.contact-box p { color: var(--muted); font-size: .88rem; }
.agent-box { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.agent-box strong { color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }
.agent-box a { color: var(--text-2); font-size: .9rem; }
.agent-box a:hover { color: var(--gold); }

/* ---------- Forms ---------- */
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.form input, .form textarea, .form select {
    width: 100%; background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
    padding: 13px 15px; color: var(--text); font-family: var(--font-sans); font-size: .92rem; outline: none; transition: border-color .3s;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); }
.form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- News page ---------- */
.news-layout, .post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.news-sidebar, .post-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.sidebar-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-2); border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.cat-list a:hover, .cat-list a.active { color: var(--gold); }
.cat-list span { color: var(--muted); }
.sidebar-cta { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: var(--line); }
.sidebar-cta p { color: var(--muted); font-size: .88rem; }

/* ---------- Post / article ---------- */
.post-hero { position: relative; padding: 100px 0 60px; min-height: 380px; display: flex; align-items: flex-end; }
.post-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,20,.97) 5%, rgba(7,11,20,.6) 60%, rgba(7,11,20,.5)); }
.post-hero-content { position: relative; z-index: 2; }
.post-hero-content h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 800px; margin: 14px 0 10px; }
.post-meta { color: var(--text-2); font-size: .85rem; letter-spacing: 1px; }
.post-layout { padding: 50px 0; }
.post-lead { font-size: 1.3rem; font-family: var(--font-serif); color: var(--text); line-height: 1.6; }
.post-content { font-size: 1.05rem; }
.post-content :is(h2,h3) { margin-top: 1.6em; }
.post-content ul, .post-content ol { color: var(--text-2); padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-share { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; gap: 14px; align-items: center; }
.post-share span { color: var(--muted); font-size: .85rem; }
.post-share a { color: var(--gold); font-size: .85rem; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list a { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mini-list img { width: 64px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.mini-list span { font-size: .85rem; color: var(--text-2); display: flex; flex-direction: column; }
.mini-list time { color: var(--muted); font-size: .72rem; margin-top: 4px; }
.mini-list a:hover span { color: var(--gold); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-icon { font-size: 1.3rem; }
.contact-item strong { color: var(--gold); font-family: var(--font-serif); font-size: 1.1rem; }
.contact-item p { margin: 2px 0 0; color: var(--text-2); font-size: .9rem; }
.contact-item a:hover { color: var(--gold); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px; }

/* ---------- About / services ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; transition: .35s; }
.value-card:hover { border-color: var(--line); transform: translateY(-4px); }
.value-card strong { display: block; font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 28px; transition: .35s; position: relative; overflow: hidden; }
.service-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow); }
.service-num { font-family: var(--font-serif); font-size: 3rem; color: var(--line); font-weight: 700; }
.service-card h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.service-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Error page ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { font-size: 2.2rem; }
.error-page p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Auth ---------- */
.page-auth { background: var(--bg); }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; background: url('../img/banner.jpg') center / cover; display: flex; align-items: center; justify-content: center; }
.auth-aside-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,11,20,.28), rgba(7,11,20,.06)); }
.auth-aside-content { position: relative; z-index: 2; text-align: center; padding: 40px; max-width: 420px; }
.auth-aside-content img { height: 110px; margin: 0 auto 24px; }
.auth-aside-content h2 { font-size: 2.2rem; }
.auth-aside-content p { color: var(--text-2); }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 50px; max-width: 520px; margin: 0 auto; width: 100%; }
.auth-form h1 { font-size: 2.4rem; margin: 8px 0 6px; }
.auth-form .form { margin-top: 24px; }
.auth-links { margin-top: 18px; text-align: center; }
.auth-links a { color: var(--gold); font-size: .88rem; }
.auth-demo { margin-top: 24px; padding: 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); text-align: center; }
.auth-demo strong { display: block; color: var(--gold); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.auth-demo span { font-size: .85rem; color: var(--muted); }
.auth-back { text-align: center; margin-top: 30px; }
.auth-back a { color: var(--muted); font-size: .85rem; }
.auth-back a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .featured-layout { grid-template-columns: 1fr; }
    .help-card { position: static; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .header-search input { width: 90px; }
}
@media (max-width: 920px) {
    .header-bottom { border: none; }
    .main-nav { position: fixed; inset: 80px 0 auto 0; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 14px 6% 22px; transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
    .main-nav.open { transform: translateY(0); }
    .main-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
    .nav-search-mobile { display: flex; align-items: center; margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line-soft); border-radius: 30px; padding: 4px 4px 4px 16px; }
    .nav-search-mobile input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-sans); font-size: .88rem; }
    .nav-search-mobile input::placeholder { color: var(--muted); }
    .nav-search-mobile button { flex-shrink: 0; background: var(--gold-grad); border: none; width: 38px; height: 38px; border-radius: 50%; color: #1a1206; cursor: pointer; display: grid; place-items: center; }
    .nav-cta-mobile { display: flex; gap: 12px; padding-top: 16px; }
    .nav-cta-mobile .btn { flex: 1; }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-search, .header-contact, .header-login { display: none; }
    .features-grid, .stats-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .property-grid, .property-grid-3, .property-grid-4, .news-grid, .news-grid-2, .services-grid, .type-grid,
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-card { flex-basis: calc((100% - 26px) / 2); }
    .partner-logo-item { flex-basis: calc((100% - 2 * 18px) / 3); }
    .project-stats { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout, .news-layout, .post-layout, .contact-layout, .about-intro { grid-template-columns: 1fr; }
    .filters { position: static; }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-field { border-right: none; border-bottom: 1px solid var(--line-soft); }
    .search-submit { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
}
@media (max-width: 560px) {
    .brand-text { display: none; }
    .lang-switch > summary { padding: 0 10px; gap: 5px; }
    .lang-code { display: none; }
    .features-grid, .stats-grid, .trust-grid, .property-grid, .property-grid-3, .property-grid-4, .news-grid, .news-grid-2, .services-grid, .type-grid, .about-values, .amenities, .form .form-row,
    .project-grid, .project-stats { grid-template-columns: 1fr; }
    .partner-card { flex-basis: 100%; min-width: 0; }
    .partner-logo-item { flex-basis: calc((100% - 18px) / 2); min-width: 0; }
    .help-banner { flex-direction: column; align-items: flex-start; }
    .help-banner-actions { width: 100%; }
    .help-banner-actions .btn { flex: 1; }
    .carousel-track > .property-card { flex-basis: 86vw; }
    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
    .carousel-btn { width: 46px; height: 46px; }
    .search-bar { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .detail-head-inner { flex-direction: column; align-items: flex-start; }
    .detail-price-box { text-align: left; }
    .flash-stack { left: 12px; right: 12px; max-width: none; top: 84px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* progressive image fade-in (only applied when JS runs) */
.img-fade { opacity: 0; transition: opacity .7s var(--ease); }
.img-fade.is-loaded { opacity: 1; }

/* gallery cursor hint */
.gallery-main { cursor: zoom-in; position: relative; }
.gallery-main::after { content: '⤢'; position: absolute; bottom: 14px; right: 16px; width: 40px; height: 40px;
    display: grid; place-items: center; background: rgba(6,9,16,.7); border: 1px solid var(--line); border-radius: 10px;
    color: var(--gold); font-size: 1.1rem; opacity: 0; transition: opacity .3s; pointer-events: none; }
.gallery-main:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,6,11,.95); display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); padding: 4vh 4vw; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
    transform: scale(.96); transition: transform .35s var(--ease); object-fit: contain; }
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.06); border: 1px solid var(--line);
    color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; transition: .25s; }
.lightbox-close { top: 24px; right: 28px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: #1a1206; border-color: transparent; }
.lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--text-2); font-size: .85rem; letter-spacing: 1px; }
@media (max-width: 560px) { .lightbox-nav { width: 44px; height: 44px; } .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }
