:root {
    --bg: #0a0d12;
    --bg-soft: #111820;
    --panel: #161d2a;
    --panel-hi: #1e2738;
    --line: #1e2736;
    --text: #f0f2f8;
    --muted: #7b8aa3;
    --brand: #d4a574;
    --brand-soft: rgba(212,165,116,0.12);
    --brand-strong: #c08c56;
    --good: #4ade80;
    --warn: #fbbf24;
    --bad: #f87171;
    --max: 1280px;
    --ease-out: cubic-bezier(0.16,1,0.3,1);
    --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── Buttons ── */
button {
    cursor: pointer;
    background: var(--brand);
    color: #0a0d12;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s var(--ease-out);
    position: relative;
    overflow: hidden;
}
button:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,165,116,0.25); }
button:active { transform: translateY(0) scale(0.98); }
button.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}
button.ghost:hover { background: var(--panel); border-color: var(--brand); box-shadow: 0 8px 30px rgba(212,165,116,0.08); }
button.large { padding: 18px 36px; font-size: 17px; border-radius: 14px; }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Inputs ── */
input, select, textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    width: 100%;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.15);
}
label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 500;
}

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 1;
    transform: none;
}
html.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
html.reveal-ready .reveal.from-left { transform: translateX(-40px); }
html.reveal-ready .reveal.from-right { transform: translateX(40px); }
html.reveal-ready .reveal.from-scale { transform: scale(0.92); }
.revealed {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }
.reveal-d7 { transition-delay: .56s; }
.reveal-d8 { transition-delay: .64s; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,13,18,0.75);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background .3s;
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    max-width: var(--max);
    margin: 0 auto;
    gap: 24px;
}
.brand {
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.3px;
    transition: opacity .2s;
}
.brand:hover { text-decoration: none; opacity: .85; }
.brand .accent { color: var(--brand); }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
    position: relative;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active { color: var(--brand); }
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.header-phone {
    background: var(--brand-soft);
    color: var(--brand) !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}
.header-phone:hover { background: rgba(212,165,116,0.2); text-decoration: none !important; }
.lang-toggle {
    display: inline-flex;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: rgba(0,0,0,0.3);
}
.lang-toggle button {
    background: transparent;
    color: var(--muted);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s;
}
.lang-toggle button:hover { color: var(--text); transform: none; box-shadow: none; }
.lang-toggle button.active {
    background: var(--brand);
    color: #0a0d12;
}
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; }
.menu-btn:hover { transform: none; box-shadow: none; }
@media (max-width: 860px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a0d12;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 28px 24px;
        border-bottom: 1px solid var(--line);
        gap: 6px;
        z-index: 100;
        text-align: center;
        box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }
    .nav.open { display: flex; }
    .nav a { padding: 10px 0; font-size: 16px; }
    .menu-btn { display: inline-block; }
}

/* ═══════════════════════════════════════════
   HERO — MODERN WITH PHOTO MARQUEE
   ═══════════════════════════════════════════ */
.hero-modern {
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
}
.hero-modern::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212,165,116,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-drift 12s ease-in-out infinite alternate;
}
.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(100,120,180,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 28px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content .heat-callout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,165,116,0.08);
    border: 1px solid rgba(212,165,116,0.2);
    color: var(--brand);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: hero-fade-in .8s var(--ease-out) .1s both;
}
.hero-content h1 {
    font-size: clamp(42px, 6vw, 78px);
    margin: 0 0 24px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    animation: hero-fade-in .8s var(--ease-out) .2s both;
}
.hero-content h1 .accent {
    background: linear-gradient(135deg, #d4a574 0%, #e8c9a0 50%, #d4a574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content .lead {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--muted);
    margin: 0 0 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: hero-fade-in .8s var(--ease-out) .35s both;
}
.hero-content .cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: hero-fade-in .8s var(--ease-out) .45s both;
}
.hero-content .small-print {
    margin-top: 28px;
    color: var(--muted);
    font-size: 14px;
    animation: hero-fade-in .8s var(--ease-out) .55s both;
}
.hero-content .small-print a { color: var(--text); }
.hero-content .small-print a:hover { text-decoration: none; color: var(--brand); }

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Marquee photo strips ── */
.marquee-wrap {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-top: auto;
    padding-top: 60px;
    padding-bottom: 40px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-row {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marquee-scroll 50s linear infinite;
    margin-bottom: 12px;
}
.marquee-row:last-child { margin-bottom: 0; }
.marquee-row.reverse { animation-direction: reverse; }
.marquee-row .m-photo {
    width: 220px;
    height: 155px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--panel);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}
.marquee-row .m-photo:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}
.marquee-row .m-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-out);
}
.marquee-row .m-photo:hover img { transform: scale(1.08); }
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Unit size badges ── */
.size-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    animation: hero-fade-in .8s var(--ease-out) .3s both;
}
.size-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: all .3s var(--ease-out);
}
.size-badge:hover { border-color: var(--brand); transform: translateY(-2px); }
.size-badge .sz { color: var(--brand); font-size: 20px; font-weight: 700; }

@media (max-width: 860px) {
    .hero-modern { padding-top: 60px; min-height: auto; }
    .hero-content h1 { font-size: clamp(32px, 8vw, 48px); }
    .marquee-row .m-photo { width: 140px; height: 100px; border-radius: 10px; }
    .marquee-row .m-photo:nth-child(n+13) { display: none; }
    .marquee-wrap { padding-top: 32px; padding-bottom: 16px; }
    .marquee-row { gap: 8px; animation-duration: 25s; }
    .size-badges { gap: 8px; }
    .size-badge { padding: 8px 14px; font-size: 13px; }
    .size-badge .sz { font-size: 17px; }
    .stats-bar { gap: 28px; padding: 32px 20px; }
    .stat-item .num { font-size: 28px; }
    .slideshow-slide { aspect-ratio: 4/3; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .feature-card { padding: 20px; }
    .section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .hero-modern { padding-top: 44px; }
    .hero-content h1 { font-size: 30px; }
    .hero-content .lead { font-size: 15px; }
    .marquee-row .m-photo { width: 110px; height: 78px; border-radius: 8px; }
    .marquee-row .m-photo:nth-child(n+9) { display: none; }
    .slideshow-slide { aspect-ratio: 3/2; }
    .features-grid { grid-template-columns: 1fr; }
    .path-grid { gap: 16px; }
    .path-card { padding: 24px; }
    .stats-bar { gap: 20px; flex-direction: column; }
}

/* ── Legacy hero (other pages may reference .hero) ── */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(212,165,116,0.12), transparent 50%),
        var(--bg);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    margin: 0 0 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.hero-text h1 .accent { color: var(--brand); }
.hero-text .lead { font-size: clamp(17px, 1.4vw, 20px); color: #d5dae6; margin: 0 0 18px; max-width: 580px; }
.hero-text .heat-callout {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(212,165,116,0.12); border: 1px solid rgba(212,165,116,0.3);
    color: var(--brand); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 28px;
}
.hero-text .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-text .small-print { margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-text .small-print a { color: var(--text); }
.hero-video-frame {
    position: relative; aspect-ratio: 9/16; max-width: 360px; margin: 0 auto;
    border-radius: 28px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    background: #000;
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-frame::after {
    content: ''; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.4);
}
.video-tag {
    position: absolute; bottom: 14px; left: 14px;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
    color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #e74c3c;
    animation: pulseDot 1.5s ease infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* Video showcase grid */
.video-showcase { margin-top: 32px; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    justify-items: center;
}
.video-card { width: 100%; max-width: 360px; }
.video-card .hero-video-frame { max-width: 100%; aspect-ratio: 9/16; cursor: pointer; }
@media (max-width: 600px) {
    .video-grid { grid-template-columns: 1fr; gap: 20px; }
    .video-card { max-width: 280px; }
    .video-card .hero-video-frame { max-width: 100%; }
}

@media (max-width: 860px) {
    .hero { padding: 50px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-video-frame { max-width: 260px; }
}

/* ═══════════════════════════════════════════
   TRUST STRIP / STATS
   ═══════════════════════════════════════════ */
.trust-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}
.trust-strip .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: var(--muted);
}
.trust-strip strong { color: var(--text); }

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 48px 28px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-item .num {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-item .label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 110px 0; }
.section.compact { padding: 60px 0; }
.section.alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.section-head p { color: var(--muted); margin: 0; max-width: 620px; font-size: 17px; line-height: 1.7; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    transition: all .4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0;
    transition: opacity .4s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,165,116,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: transform .3s var(--ease-spring);
}
.feature-card:hover .icon { transform: scale(1.1) rotate(-3deg); }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ═══════════════════════════════════════════
   PATH CARDS (Visit vs Apply)
   ═══════════════════════════════════════════ */
.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.path-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease-out);
}
.path-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.path-card.primary {
    border-color: rgba(212,165,116,0.35);
    background: linear-gradient(155deg, rgba(212,165,116,0.06) 0%, var(--panel) 50%);
}
.path-card.primary:hover { border-color: rgba(212,165,116,0.6); }
.path-card .step-badge {
    display: inline-block;
    background: var(--bg);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.path-card.primary .step-badge { background: rgba(212,165,116,0.12); color: var(--brand); }
.path-card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.path-card p { margin: 0 0 24px; color: var(--muted); font-size: 15px; min-height: 72px; line-height: 1.65; }
.path-card ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; }
.path-card li { padding: 7px 0; color: #c0c9dc; display: flex; gap: 10px; align-items: flex-start; }
.path-card li::before { content: '✓'; color: var(--brand); font-weight: 700; }
@media (max-width: 720px) { .path-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   BUILDING GALLERY (grouped by building, index page)
   ═══════════════════════════════════════════ */
.building-gallery-section { padding: 0; }
.media-placeholder,
.building-placeholder {
    border: 1px dashed var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    color: var(--muted);
}
.media-placeholder {
    padding: 28px;
    text-align: center;
    margin-top: 24px;
}
.building-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 22px;
    text-align: center;
    font-size: 14px;
}
.building-group {
    margin-bottom: 48px;
}
.building-group:last-child { margin-bottom: 0; }
.building-group-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    padding: 0 4px;
}
.building-group-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}
.building-group-header .bgh-neighborhood {
    font-size: 14px;
    color: var(--brand);
    font-weight: 500;
}
.building-group-header .bgh-count {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto;
}
/* ── Slideshow per building ── */
.slideshow {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}
.slideshow-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.slideshow-track::-webkit-scrollbar { display: none; }
.slideshow-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    scroll-snap-align: start;
    background: #111;
    overflow: hidden;
}
.slideshow-slide img,
.slideshow-slide video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slideshow-slide .video-tag {
    position: absolute;
    bottom: 12px; left: 12px; z-index: 2;
}
/* Arrows */
.ss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background .2s;
}
.ss-arrow:hover { background: rgba(0,0,0,0.75); }
.ss-arrow.prev { left: 8px; }
.ss-arrow.next { right: 8px; }
/* Dots */
.ss-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}
.ss-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.ss-dot.active {
    background: var(--brand);
    transform: scale(1.3);
}
/* Counter badge */
.ss-counter {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}
@media (max-width: 600px) {
    .slideshow-slide { aspect-ratio: 3/2; }
    .ss-arrow { width: 30px; height: 30px; font-size: 15px; }
    .ss-dot { width: 6px; height: 6px; }
}

/* ── Legacy gallery (random grid, kept for compat) ── */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.gallery .tile {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--panel);
    cursor: zoom-in;
    transition: all .35s var(--ease-out);
}
.gallery .tile:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.gallery .tile img,
.gallery .tile video {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease-out);
}
.gallery .tile:hover img,
.gallery .tile:hover video { transform: scale(1.06); }

/* ═══════════════════════════════════════════
   BUILDING CARDS (buildings.html)
   ═══════════════════════════════════════════ */
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.building-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: all .4s var(--ease-out);
}
.building-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,165,116,0.3);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.building-card .cover {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-soft);
}
.building-card .cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease-out);
}
.building-card:hover .cover img { transform: scale(1.06); }
.building-card .body { padding: 24px; }
.building-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.building-card .neighborhood { color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.building-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; min-height: 42px; }
.building-card .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
    background: var(--bg);
    color: #b8c2d6;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--line);
    transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ═══════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════ */
#map {
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
}
.leaflet-popup-content-wrapper { background: var(--panel) !important; color: var(--text) !important; border-radius: 14px !important; }
.leaflet-popup-content { font-size: 14px; margin: 14px 16px; }
.leaflet-popup-tip { background: var(--panel) !important; }
.leaflet-container { background: #161d2a !important; }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 48px;
    max-width: 820px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px; }
    .step-labels {
        gap: 6px;
        font-size: 10px;
        letter-spacing: 0.04em;
        line-height: 1.3;
    }
    .contact-card { padding: 28px; }
}
.consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.consent-row input[type="checkbox"] {
    width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand);
}
.consent-row label { margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; display: none; }
.form-msg.ok { background: rgba(74,222,128,0.1); color: var(--good); display: block; }
.form-msg.error { background: rgba(248,113,113,0.1); color: var(--bad); display: block; }

/* ═══════════════════════════════════════════
   STEPPER / MULTI-STEP FORM
   ═══════════════════════════════════════════ */
.stepper { display: flex; gap: 8px; margin-bottom: 32px; }
.stepper .step {
    flex: 1; height: 4px; background: var(--line); border-radius: 999px;
    transition: background .4s var(--ease-out);
}
.stepper .step.active { background: var(--brand); }
.stepper .step.done { background: rgba(212,165,116,0.4); }
.step-labels {
    display: flex; justify-content: space-between; margin-bottom: 28px;
    font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.step-labels .label { flex: 1; text-align: center; transition: color .3s; }
.step-labels .label.active { color: var(--brand); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: stepIn .4s var(--ease-out); }
@keyframes stepIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.step-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.review-card {
    background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
    padding: 24px; margin-bottom: 20px;
}
.review-card h4 {
    margin: 0 0 14px; font-size: 13px; color: var(--brand);
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.review-card dl {
    display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0; font-size: 14px;
}
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all .3s var(--ease-out);
}
.faq-item:hover { border-color: rgba(212,165,116,0.2); }
.faq-item[open] { border-color: rgba(212,165,116,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color .2s;
}
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--brand);
    font-size: 24px;
    line-height: 1;
    transition: transform .3s var(--ease-spring);
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .body {
    padding: 0 28px 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px;
    transition: all .3s var(--ease-out);
}
.contact-card:hover { border-color: rgba(212,165,116,0.2); }
.contact-card .big-phone {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.01em;
    margin: 14px 0;
    display: block;
    transition: all .2s;
}
.contact-card .big-phone:hover { text-decoration: none; opacity: .85; }
@media (max-width: 480px) {
    .contact-card .big-phone { font-size: clamp(24px, 8vw, 30px); }
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(212,165,116,0.05) 0%, var(--bg) 40%, rgba(100,120,180,0.03) 100%);
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,165,116,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}
.cta-section p {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 32px;
    position: relative;
}
.cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 28px;
    color: var(--muted);
    font-size: 13px;
}
.site-footer .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer a { color: var(--muted); margin: 0 12px; transition: color .2s; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--brand); text-decoration: none; }

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(12px);
}
.lightbox.show { display: flex; animation: lb-in .3s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
    max-width: 100%; max-height: 92vh; border-radius: 14px;
    animation: lb-img-in .4s var(--ease-out);
}
@keyframes lb-img-in { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.08); color: #fff;
    width: 48px; height: 48px; border-radius: 50%; border: none;
    font-size: 22px; cursor: pointer;
    transition: all .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); transform: none; box-shadow: none; }

/* ═══════════════════════════════════════════
   PORTAL STYLES (admin / broker)
   ═══════════════════════════════════════════ */
.portal { padding: 40px 0; }
.portal h1 { margin: 0 0 8px; font-size: 30px; }
.portal .subtitle { color: var(--muted); margin: 0 0 36px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.toolbar input, .toolbar select { width: auto; min-width: 180px; padding: 10px 14px; }
table {
    width: 100%; border-collapse: collapse; background: var(--panel);
    border-radius: 14px; overflow: hidden; font-size: 14px;
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th {
    background: var(--bg-soft); color: var(--muted); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.pill.new, .pill.requested { background: rgba(96,165,250,0.2); color: #60a5fa; }
.pill.contacted, .pill.scheduled { background: rgba(251,191,36,0.2); color: var(--warn); }
.pill.showing_booked { background: rgba(167,139,250,0.2); color: #a78bfa; }
.pill.application { background: rgba(212,165,116,0.2); color: var(--brand); }
.pill.approved, .pill.completed { background: rgba(74,222,128,0.2); color: var(--good); }
.pill.rejected, .pill.no_show { background: rgba(248,113,113,0.2); color: var(--bad); }
.pill.closed, .pill.cancelled { background: rgba(138,150,173,0.2); color: var(--muted); }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
    padding: 40px; width: 100%; max-width: 400px;
}
.login-card h2 { margin: 0 0 6px; font-size: 24px; }
.login-card p { color: var(--muted); margin: 0 0 26px; font-size: 14px; }
.login-card .field { margin-bottom: 14px; }
.login-card button { width: 100%; }
.login-card .err {
    color: var(--bad); background: rgba(248,113,113,0.1);
    padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; display: none;
}
.login-card .err.show { display: block; }

.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal-backdrop.show { display: flex; animation: modalBackdropIn 0.18s ease-out; }
.modal {
    background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
    padding: 32px; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto;
    animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalScaleIn { from { transform: scale(0.96) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* ═══════════════════════════════════════════
   OWNER PORTAL — animated backdrop, tab steps, tiles
   ═══════════════════════════════════════════ */

/* Living gradient backdrop only on the owner portal shell, opt-in via body class. */
body.owner-shell {
    background:
        radial-gradient(900px 600px at 10% 0%, rgba(212,165,116,0.10), transparent 60%),
        radial-gradient(700px 500px at 95% 20%, rgba(16,185,129,0.08), transparent 65%),
        radial-gradient(700px 600px at 50% 95%, rgba(99,102,241,0.07), transparent 65%),
        var(--bg, #0c1018);
    background-attachment: fixed;
}
body.owner-shell::before {
    content: '';
    position: fixed; inset: -10vmax;
    background:
        radial-gradient(40vmax 30vmax at 20% 30%, rgba(212,165,116,0.18), transparent 60%),
        radial-gradient(30vmax 24vmax at 80% 60%, rgba(99,102,241,0.14), transparent 60%);
    filter: blur(60px);
    animation: ownerDrift 28s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
body.owner-shell > * { position: relative; z-index: 1; }
@keyframes ownerDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-3vmax, 2vmax) scale(1.06); }
    100% { transform: translate(2vmax, -2vmax) scale(0.98); }
}

.tab-enter { animation: tabFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.tab-btn {
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn:hover:not(.active) { transform: translateY(-1px); }
.tab-btn.active { box-shadow: 0 6px 18px rgba(0,0,0,0.35); }

.tab-step {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 11px;
    background: rgba(212,165,116,0.18);
    color: var(--accent, #d4a574);
    font-size: 12px; font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease;
}
.tab-btn.active .tab-step { background: var(--accent, #d4a574); color: #1a212e; }

.tab-divider {
    width: 1px; align-self: stretch;
    background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
    margin: 0 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.building-tile {
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.building-tile:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.building-tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.building-tile-head h3 { margin: 0; font-size: 16px; line-height: 1.35; word-break: break-word; }
.building-tile-meta { display: grid; grid-template-columns: 100px 1fr; gap: 6px 12px; margin: 0; font-size: 13px; }
.building-tile-meta dt { color: var(--muted); }
.building-tile-meta dd { margin: 0; word-break: break-word; }

.anim-table tbody tr { transition: background 0.15s ease; }
.anim-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.building-link { color: var(--accent); text-decoration: none; }
.building-link:hover { text-decoration: underline; }

/* On/off switch (used for 2FA toggle on the user row).
   Click anywhere on the switch or the label and it triggers a click on the
   underlying checkbox. The parent JS treats that click as "save immediately". */
.switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .slider {
    position: relative;
    width: 40px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    transition: background 0.18s ease;
    flex-shrink: 0;
}
.switch .slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.switch input:checked + .slider {
    background: #10b981;
}
.switch input:checked + .slider::after {
    transform: translateX(18px);
}
.switch input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}
.switch .switch-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.switch input:checked ~ .switch-label { color: #10b981; }

/* Workflow explainer card on the owner dashboard. */
.flow-explainer {
    background: linear-gradient(180deg, rgba(212,165,116,0.06), rgba(212,165,116,0.02));
    border: 1px solid rgba(212,165,116,0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow-explainer.hidden { display: none; }
.flow-explainer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.flow-explainer-head strong { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, #d4a574); }
.flow-explainer-close {
    background: transparent; border: none; color: var(--muted);
    font-size: 20px; line-height: 1; padding: 4px 10px; cursor: pointer;
    border-radius: 6px;
}
.flow-explainer-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.flow-steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.flow-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.flow-step-num {
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--accent, #d4a574);
    color: #1a212e;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.flow-steps li strong { color: var(--text); }
.flow-explainer-note {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(212,165,116,0.2);
    color: var(--muted); font-size: 12px; font-style: italic;
}

.map-shell { display: block; }
.map-shell .leaflet-container { background: #1a212e; }
.modal h3 { margin-top: 0; }
.modal .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
dl.kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }

/* ═══════════════════════════════════════════
   DIVIDER / SEPARATOR
   ═══════════════════════════════════════════ */
@keyframes bldFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

/* ═══════════════════════════════════════════
   BEACON PUBLIC-SITE OVERRIDES
   ═══════════════════════════════════════════ */
body.public-site {
    --bg: #f4eee5;
    --bg-soft: #ece2d3;
    --panel: #fffaf3;
    --panel-hi: #f8f0e5;
    --line: #d9c9b7;
    --text: #272118;
    --muted: #74695d;
    --brand: #3f5f52;
    --brand-soft: rgba(63,95,82,0.12);
    --brand-strong: #2f4b41;
    background:
        radial-gradient(circle at top right, rgba(182,127,71,0.14), transparent 32%),
        linear-gradient(180deg, #fbf6ef 0%, #f4eee5 34%, #f6f1ea 100%);
    color: var(--text);
}
body.public-site a { color: var(--brand); }
body.public-site .site-header {
    background: rgba(251,246,239,0.8);
    border-bottom: 1px solid rgba(91, 74, 53, 0.08);
    box-shadow: 0 16px 36px rgba(69, 54, 37, 0.06);
}
body.public-site .nav a { color: #62584d; }
body.public-site .nav a:hover { color: var(--brand); }
body.public-site .header-phone {
    background: rgba(63,95,82,0.08);
    color: var(--brand) !important;
}
body.public-site .lang-toggle {
    background: rgba(255,255,255,0.6);
    border-color: rgba(63,95,82,0.16);
}
body.public-site button {
    background: var(--brand);
    color: #f8f4ee;
}
body.public-site button:hover {
    background: var(--brand-strong);
    box-shadow: 0 12px 30px rgba(63,95,82,0.18);
}
body.public-site button.ghost {
    background: rgba(255,255,255,0.72);
    border-color: rgba(63,95,82,0.18);
    color: var(--text);
}
body.public-site button.ghost:hover {
    background: rgba(63,95,82,0.08);
    border-color: rgba(63,95,82,0.35);
    box-shadow: 0 12px 24px rgba(63,95,82,0.1);
}
body.public-site input,
body.public-site select,
body.public-site textarea {
    background: rgba(255,255,255,0.88);
    border-color: rgba(63,95,82,0.12);
    color: var(--text);
}
body.public-site input:focus,
body.public-site select:focus,
body.public-site textarea:focus {
    box-shadow: 0 0 0 3px rgba(63,95,82,0.12);
}
body.public-site .section.alt,
body.public-site .trust-strip,
body.public-site .cta-section {
    background: linear-gradient(180deg, rgba(255,250,243,0.7), rgba(245,237,226,0.9));
    border-color: rgba(63,95,82,0.08);
}
body.public-site .feature-card,
body.public-site .path-card,
body.public-site .form-card,
body.public-site .contact-card,
body.public-site .faq-item,
body.public-site .review-card {
    background: rgba(255,250,243,0.88);
    border-color: rgba(63,95,82,0.12);
    box-shadow: 0 18px 42px rgba(100,82,59,0.06);
}
body.public-site .path-card.primary {
    background: linear-gradient(180deg, rgba(182,127,71,0.09), rgba(255,250,243,0.92));
    border-color: rgba(182,127,71,0.18);
}
body.public-site .feature-card .icon {
    background: rgba(63,95,82,0.08);
    color: var(--brand);
    font-weight: 700;
}
body.public-site .feature-card p,
body.public-site .path-card p,
body.public-site .building-card p,
body.public-site .address-card p,
body.public-site .stat-item .label,
body.public-site .hero-footnote,
body.public-site .site-footer {
    color: var(--muted);
}
body.public-site .section-head .eyebrow,
body.public-site .panel-kicker,
body.public-site .address-meta,
body.public-site .building-card .neighborhood {
    color: #a4643a;
}
body.public-site .site-footer {
    border-top-color: rgba(63,95,82,0.08);
}
body.public-site .site-footer a { color: #6c6358; }
body.public-site .site-footer a:hover { color: var(--brand); }

body.public-home .hero-beacon {
    padding: 84px 0 56px;
    position: relative;
    overflow: hidden;
}
body.public-home .hero-beacon::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 12%, rgba(182,127,71,0.16), transparent 26%),
        radial-gradient(circle at 84% 18%, rgba(63,95,82,0.12), transparent 24%);
    pointer-events: none;
}
.hero-beacon-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 42px;
    align-items: center;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(63,95,82,0.14);
    background: rgba(255,255,255,0.62);
    color: #a4643a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.hero-beacon-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}
.hero-beacon-copy h1 .accent {
    display: block;
    color: var(--brand);
}
.hero-lead {
    max-width: 620px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
}
.hero-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(63,95,82,0.12);
    color: #5a5248;
    font-size: 13px;
    font-weight: 600;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.domain-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.domain-chip {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(182,127,71,0.16);
    color: #6f604f;
    font-size: 13px;
    font-weight: 600;
}
.domain-chip:hover {
    text-decoration: none;
    border-color: rgba(63,95,82,0.24);
    color: var(--brand);
}
.hero-footnote {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.65;
}
.hero-visual-shell {
    position: relative;
    padding-bottom: 42px;
}
.hero-visual-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,250,243,0.92));
    border: 1px solid rgba(63,95,82,0.12);
    border-radius: 34px;
    padding: 18px;
    box-shadow: 0 32px 80px rgba(92,74,53,0.14);
}
.hero-visual-card img {
    width: 100%;
    aspect-ratio: 377 / 303;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    display: block;
}
.hero-summary-card {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: min(320px, 82%);
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255,250,243,0.96);
    border: 1px solid rgba(63,95,82,0.1);
    box-shadow: 0 24px 50px rgba(82,65,48,0.12);
}
.summary-label {
    color: #a4643a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.summary-value {
    margin-top: 6px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand);
}
.hero-summary-card p {
    margin: 10px 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.summary-link {
    font-weight: 700;
}

.location-stage {
    padding: 24px 0 110px;
}
.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}
.map-panel,
.address-panel {
    background: rgba(255,250,243,0.88);
    border: 1px solid rgba(63,95,82,0.12);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(82,65,48,0.08);
}
.map-panel { padding: 16px; }
.address-panel { padding: 22px; }
.address-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.address-panel-head h3 {
    margin: 2px 0 0;
    font-size: 24px;
}
.text-link {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}
.address-list {
    display: grid;
    gap: 14px;
}
.address-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(63,95,82,0.1);
    background: rgba(255,255,255,0.72);
}
.address-card h3 {
    margin: 6px 0 8px;
    font-size: 19px;
}
.address-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
}
.address-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.address-actions button {
    padding: 10px 16px;
    font-size: 13px;
}
.public-map,
body.public-site #map,
body.public-site #home-map {
    height: 520px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(63,95,82,0.1);
    background: #dde6dd;
}
.beacon-marker .beacon-dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3f5f52;
    border: 3px solid #fff8f0;
    box-shadow: 0 0 0 2px rgba(63,95,82,0.18), 0 8px 18px rgba(63,95,82,0.18);
}
.popup-neighborhood {
    display: inline-block;
    margin: 4px 0 6px;
    color: #a4643a;
    font-size: 12px;
}
body.public-site .leaflet-popup-content-wrapper {
    background: #fffaf3 !important;
    color: var(--text) !important;
}
body.public-site .leaflet-popup-tip { background: #fffaf3 !important; }
body.public-site .leaflet-container { background: #dde6dd !important; }

.map-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    padding: 12px 0;
}
.map-hero-copy h1,
.map-hero-copy h2 {
    margin: 8px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.04em;
}
.map-hero-note {
    min-width: 180px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,250,243,0.88);
    border: 1px solid rgba(63,95,82,0.12);
    box-shadow: 0 16px 34px rgba(82,65,48,0.08);
}
.map-hero-note strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: var(--brand);
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .hero-beacon-grid,
    .location-layout {
        grid-template-columns: 1fr;
    }
    .hero-visual-shell {
        max-width: 740px;
        margin: 0 auto;
    }
    .map-hero {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 720px) {
    body.public-home .hero-beacon {
        padding-top: 52px;
    }
    .hero-beacon-copy h1 {
        font-size: 38px;
    }
    .hero-lead {
        font-size: 16px;
    }
    .hero-summary-card {
        position: static;
        width: 100%;
        margin-top: 16px;
    }
    .hero-actions,
    .address-actions {
        flex-direction: column;
    }
    .hero-actions a,
    .address-actions a {
        width: 100%;
    }
    .hero-actions button,
    .address-actions button {
        width: 100%;
    }
    .map-panel,
    .address-panel {
        padding: 16px;
        border-radius: 22px;
    }
    .public-map,
    body.public-site #map,
    body.public-site #home-map {
        height: 380px;
    }
}

/* ═══════════════════════════════════════════
   BUILDINGS PAGE (v2) — full-width sections,
   floating decoration, Solutions cards
   ═══════════════════════════════════════════ */

/* Alternating section backgrounds for visual rhythm */
body.public-buildings .bld-hero-section {
    background: linear-gradient(180deg, rgba(255,250,243,0.55), rgba(255,250,243,0));
    position: relative;
    overflow: hidden;
    padding-bottom: 8px;
}
body.public-buildings .bld-map-section {
    background: transparent;
    padding-top: 14px;
    padding-bottom: 28px;
}
body.public-buildings .bld-addresses-section {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,250,243,0.55) 40%, rgba(255,250,243,0.55) 100%);
    padding-top: 36px;
    padding-bottom: 56px;
}
body.public-buildings .sol-section {
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 64px;
}
body.public-buildings .bld-cta-section {
    padding-top: 56px;
    padding-bottom: 72px;
}

/* Wider, taller map panel that owns its full section */
.map-panel-wide {
    padding: 18px;
    border-radius: 32px;
}
.map-panel-wide #map,
body.public-site .map-panel-wide #map {
    height: 540px;
    border-radius: 22px;
    overflow: hidden;
}
@media (max-width: 980px) {
    .map-panel-wide #map,
    body.public-site .map-panel-wide #map {
        height: 440px;
    }
}
@media (max-width: 720px) {
    .map-panel-wide #map,
    body.public-site .map-panel-wide #map {
        height: 360px;
    }
}

/* ── Address grid (full width, cards in their own section) ── */
.address-grid-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.address-grid-wide .address-card {
    padding: 22px 22px 20px;
    border-radius: 22px;
    border: 1px solid rgba(63,95,82,0.12);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 14px 32px rgba(82,65,48,0.06);
    transition: transform .45s var(--ease-out, ease-out), box-shadow .45s var(--ease-out, ease-out), border-color .3s;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
}
.address-grid-wide .address-card:hover {
    transform: translateY(-6px);
    border-color: rgba(63,95,82,0.28);
    box-shadow: 0 26px 52px rgba(82,65,48,0.14);
}
.address-card-illus {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(63,95,82,0.08);
    color: var(--brand, #b07b4a);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
}
.address-card-illus svg {
    width: 34px;
    height: 34px;
    display: block;
}
.address-grid-wide .address-card:hover .address-card-illus {
    transform: rotate(-5deg) scale(1.08);
}
.address-card-body { min-width: 0; }
.address-card-body h3 { margin: 4px 0 8px; font-size: 19px; }
.address-card-body p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }

/* ── Floating decorative dots (subtle background motion) ── */
.floating-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.floating-decor + .container,
.sol-section .container {
    position: relative;
    z-index: 1;
}
.float-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212,165,116,0.55), rgba(212,165,116,0.0) 70%);
    filter: blur(0.4px);
    animation: floatY 9s ease-in-out infinite, driftX 14s ease-in-out infinite;
    opacity: 0.7;
}
.float-dot.fd-1 { width: 120px; height: 120px; top: 8%;  left: 6%;  animation-delay: 0s, 0s; }
.float-dot.fd-2 { width: 80px;  height: 80px;  top: 60%; left: 14%; animation-delay: -2s, -3s; background: radial-gradient(circle at 30% 30%, rgba(63,95,82,0.35), rgba(63,95,82,0) 70%); }
.float-dot.fd-3 { width: 160px; height: 160px; top: 18%; right: 8%; animation-delay: -4s, -6s; }
.float-dot.fd-4 { width: 60px;  height: 60px;  top: 75%; right: 18%; animation-delay: -1s, -2s; background: radial-gradient(circle at 30% 30%, rgba(63,95,82,0.30), rgba(63,95,82,0) 70%); }
.float-dot.fd-5 { width: 100px; height: 100px; bottom: 6%; left: 42%; animation-delay: -5s, -7s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-22px); }
}
@keyframes driftX {
    0%, 100% { margin-left: 0; }
    50%      { margin-left: 18px; }
}

/* ── Solutions section ── */
.sol-section .section-head {
    margin-bottom: 38px;
}
.sol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
@media (min-width: 980px) {
    .sol-grid { grid-template-columns: repeat(3, 1fr); }
}
.sol-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(63,95,82,0.12);
    border-radius: 24px;
    padding: 30px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--ease-out, ease-out), box-shadow .5s var(--ease-out, ease-out), border-color .3s;
    box-shadow: 0 16px 36px rgba(82,65,48,0.06);
}
.sol-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand, #d4a574), transparent);
    opacity: 0;
    transition: opacity .4s;
}
.sol-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,165,116,0.45);
    box-shadow: 0 28px 60px rgba(82,65,48,0.14);
}
.sol-card:hover::before { opacity: 1; }

.sol-illus {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(63,95,82,0.08);
    color: var(--brand, #b07b4a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform .55s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)), background .3s;
    animation: solFloat 6s ease-in-out infinite;
}
.sol-illus svg {
    width: 40px;
    height: 40px;
    display: block;
    transition: transform .5s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
}
.sol-card:nth-child(1) .sol-illus { animation-delay: 0s; }
.sol-card:nth-child(2) .sol-illus { animation-delay: -1s; }
.sol-card:nth-child(3) .sol-illus { animation-delay: -2s; }
.sol-card:nth-child(4) .sol-illus { animation-delay: -3s; }
.sol-card:nth-child(5) .sol-illus { animation-delay: -4s; }
.sol-card:nth-child(6) .sol-illus { animation-delay: -5s; }
.sol-card:hover .sol-illus {
    transform: rotate(-6deg) scale(1.08);
    background: rgba(212,165,116,0.18);
}
.sol-card:hover .sol-illus svg {
    transform: scale(1.06);
}

@keyframes solFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.sol-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.sol-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted, #5b6b78);
}

.sol-foot {
    margin: 40px auto 0;
    text-align: center;
    max-width: 640px;
    color: var(--muted, #5b6b78);
    font-style: italic;
    font-size: 15px;
}

/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .float-dot,
    .sol-illus {
        animation: none !important;
    }
    .sol-card,
    .address-grid-wide .address-card,
    .address-card-illus,
    .sol-illus,
    .sol-illus svg {
        transition: none !important;
    }
}

/* ── Mobile tweaks for new sections ── */
@media (max-width: 720px) {
    body.public-buildings .sol-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .sol-card { padding: 24px 22px; }
    .map-panel-wide { padding: 12px; border-radius: 24px; }
    .address-grid-wide .address-card {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }
    .address-card-illus { width: 48px; height: 48px; border-radius: 14px; }
    .address-card-illus svg { width: 28px; height: 28px; }
    .float-dot.fd-1 { width: 80px; height: 80px; }
    .float-dot.fd-3 { width: 110px; height: 110px; }
    .float-dot.fd-2,
    .float-dot.fd-4 { display: none; }
}

/* ═══════════════════════════════════════════
   AREA CARDS (privacy-safe: neighborhood-only)
   ═══════════════════════════════════════════ */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 28px;
}
@media (min-width: 980px) {
    .area-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }
}
.area-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(63,95,82,0.12);
    border-radius: 28px;
    padding: 32px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--ease-out, ease-out), box-shadow .5s var(--ease-out, ease-out), border-color .3s;
    box-shadow: 0 16px 38px rgba(82,65,48,0.07);
    display: flex;
    flex-direction: column;
}
.area-card::after {
    content: '';
    position: absolute;
    inset: auto -40% -60% -40%;
    height: 180px;
    background: radial-gradient(ellipse at center top, rgba(212,165,116,0.10), rgba(212,165,116,0) 65%);
    opacity: 0;
    transition: opacity .4s, transform .5s var(--ease-out, ease-out);
}
.area-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,165,116,0.4);
    box-shadow: 0 30px 64px rgba(82,65,48,0.15);
}
.area-card:hover::after { opacity: 1; }
.area-illus {
    margin: 0 auto 18px;
    width: 132px;
    height: 110px;
    color: var(--brand, #3f5f52);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .55s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
    animation: areaBob 7s ease-in-out infinite;
}
.area-illus svg {
    width: 100%;
    height: 100%;
    display: block;
}
.area-card:nth-child(1) .area-illus { animation-delay: 0s; }
.area-card:nth-child(2) .area-illus { animation-delay: -1.5s; }
.area-card:nth-child(3) .area-illus { animation-delay: -3s; }
.area-card:nth-child(4) .area-illus { animation-delay: -4.5s; }
.area-card:hover .area-illus {
    transform: rotate(-3deg) scale(1.06);
}

@keyframes areaBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.area-meta {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a4643a;
    margin-bottom: 8px;
}
.area-card-body { flex: 1; display: flex; flex-direction: column; }
.area-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.area-card p {
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted, #5b6b78);
    flex: 1;
}
.area-card .address-actions {
    justify-content: center;
    margin-top: auto;
}

/* Privacy note under the area grid */
.privacy-note {
    margin: 36px auto 0;
    text-align: center;
    max-width: 580px;
    color: var(--muted, #5b6b78);
    font-size: 14px;
    font-style: italic;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(63,95,82,0.05);
    border: 1px solid rgba(63,95,82,0.08);
}

/* Mobile */
@media (max-width: 720px) {
    .area-card { padding: 26px 22px 22px; border-radius: 22px; }
    .area-illus { width: 110px; height: 92px; }
    .area-card h3 { font-size: 20px; }
    .privacy-note { font-size: 13px; padding: 12px 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .area-illus, .area-card, .area-card::after { animation: none !important; transition: none !important; }
}

/* ─── Compact area cards used inside the home-page side panel ─── */
.address-list .address-card.area-mini {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(63,95,82,0.12);
    background: rgba(255,255,255,0.92);
    transition: transform .45s var(--ease-out, ease-out), box-shadow .45s var(--ease-out, ease-out), border-color .3s;
}
.address-list .address-card.area-mini:hover {
    transform: translateY(-4px);
    border-color: rgba(212,165,116,0.4);
    box-shadow: 0 18px 36px rgba(82,65,48,0.10);
}
.area-mini-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(63,95,82,0.08);
    color: var(--brand, #3f5f52);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
    animation: miniPulse 5.5s ease-in-out infinite;
}
.area-mini-icon svg { width: 30px; height: 30px; display: block; }
.area-mini:nth-of-type(1) .area-mini-icon { animation-delay: 0s; }
.area-mini:nth-of-type(2) .area-mini-icon { animation-delay: -1.2s; }
.area-mini:nth-of-type(3) .area-mini-icon { animation-delay: -2.4s; }
.area-mini:nth-of-type(4) .area-mini-icon { animation-delay: -3.6s; }
.address-list .address-card.area-mini:hover .area-mini-icon {
    transform: rotate(-6deg) scale(1.08);
}
.area-mini-body { min-width: 0; }
.area-mini-body .address-meta {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a4643a;
    margin-bottom: 4px;
}
.area-mini-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.012em;
}
.area-mini-body p {
    margin: 0 0 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted, #5b6b78);
}

@keyframes miniPulse {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .area-mini-icon, .address-list .address-card.area-mini { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE FIXES — tablet + mobile
   ═══════════════════════════════════════════ */

/* Tablet: 2-up area grid, taller map, hero stack */
@media (max-width: 980px) {
    .area-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
    .map-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .map-hero-note {
        align-self: stretch;
    }
    body.public-buildings .sol-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

/* Phone: single-column everything */
@media (max-width: 700px) {
    .area-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }
    .area-card {
        padding: 24px 22px 22px !important;
        border-radius: 20px;
    }
    .area-card h3 { font-size: 19px; }
    .area-card p { font-size: 14px; }
    .area-illus {
        width: 100px !important;
        height: 84px !important;
        margin-bottom: 14px;
    }
    .area-card .address-actions {
        flex-direction: column;
    }
    .area-card .address-actions a,
    .area-card .address-actions button {
        width: 100%;
    }
    .map-panel-wide {
        padding: 10px;
        border-radius: 20px;
    }
    .map-panel-wide #map,
    body.public-site .map-panel-wide #map {
        height: 340px;
        border-radius: 16px;
    }
    .privacy-note {
        font-size: 13px;
        padding: 12px 18px;
        margin-top: 28px;
        border-radius: 16px;
    }
    /* Solutions cards stack 1-col, smaller padding */
    .sol-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .sol-card { padding: 22px 20px; border-radius: 20px; }
    .sol-illus { width: 56px; height: 56px; margin-bottom: 14px; }
    .sol-illus svg { width: 34px; height: 34px; }
    /* Hero on buildings page */
    .map-hero-copy h1, .map-hero-copy h2 {
        font-size: 34px;
    }
    .map-hero-note {
        min-width: 0;
        padding: 14px 18px;
    }
    .map-hero-note strong {
        font-size: 28px;
    }
    /* Section padding tighter */
    body.public-buildings .bld-addresses-section,
    body.public-buildings .bld-cta-section {
        padding-top: 40px;
        padding-bottom: 48px;
    }
    /* Floating decoration: dim on tiny screens */
    .float-dot.fd-3 { width: 90px; height: 90px; }
    .float-dot.fd-5 { width: 70px; height: 70px; }
}

/* Very small phones */
@media (max-width: 420px) {
    .area-card { padding: 22px 18px 20px !important; }
    .area-card h3 { font-size: 18px; }
    .area-illus { width: 88px !important; height: 72px !important; }
    .map-panel-wide #map,
    body.public-site .map-panel-wide #map {
        height: 300px;
    }
    .section-head h2 {
        font-size: 28px;
    }
}
