/* ==========================================================================
   الدهام العقارية — Brand System (canonical tokens from aldaham-leads)
   Palette: gold + navy + sand · Fonts: Tajawal / Cormorant Garamond / Lato
   ========================================================================== */
:root {
    --gold:        #C9A84C;
    --gold-light:  #E8C96A;
    --gold-dark:   #A8852A;
    --navy:        #1A2332;
    --navy-light:  #243044;
    --navy-deep:   #0E1623;
    --sand:        #F5F0E8;
    --sand-dark:   #EDE5D6;
    --white:       #FFFFFF;
    --text:        #2C2C2C;
    --text-muted:  #7A7A7A;
    --border:      #DDD5C5;
    --success:     #2E7D32;
    --error:       #C62828;

    --font-ar: 'Tajawal', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-lt: 'Lato', 'Tajawal', sans-serif;

    --maxw: 1280px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-ar);
    background: var(--navy-deep);
    color: var(--sand);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
[dir="ltr"], .lt { font-family: var(--font-lt); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
    font-family: var(--font-lt);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--gold);
    font-weight: 700;
}
.h-display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.gold { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 999px;
    font-weight: 700; font-size: 15px;
    transition: transform .3s var(--ease), background .3s, color .3s;
    cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sand); border: 1px solid rgba(245,240,232,.25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Top bar ---- */
.topbar {
    position: fixed; top: 0; inset-inline: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 32px;
    transition: background .4s, padding .4s;
}
.topbar.scrolled { background: rgba(14,22,35,.85); backdrop-filter: blur(12px); padding: 12px 32px; }
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.brand-mark .name { font-family: var(--font-display); font-size: 22px; color: var(--gold); letter-spacing: 1px; }

/* ---- Side vertical nav (echoes the video reference) ---- */
.sidenav {
    position: fixed; top: 50%; inset-inline-start: 24px; transform: translateY(-50%);
    z-index: 40; display: flex; flex-direction: column; gap: 18px;
}
.sidenav a {
    font-family: var(--font-lt); font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(245,240,232,.55);
    writing-mode: vertical-rl; transition: color .3s;
}
.sidenav a:hover, .sidenav a.active { color: var(--gold); }

/* ---- Hero ---- */
.hero { height: 100vh; min-height: 680px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg-text {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    pointer-events: none; z-index: 0;
}
.hero-bg-text span {
    font-family: var(--font-display);
    font-size: clamp(80px, 22vw, 360px); font-weight: 700;
    color: rgba(201,168,76,.05); white-space: nowrap; letter-spacing: 10px;
}
.hero-3d { position: absolute; inset: 0; z-index: 1; }
#mall-canvas { width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-eyebrow { margin-bottom: 18px; }
.hero-title { font-size: clamp(44px, 8vw, 120px); color: var(--white); margin-bottom: 10px; }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: rgba(245,240,232,.7); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Rotating circular marquee */
.scroll-badge {
    position: absolute; inset-inline-end: 48px; bottom: 48px; z-index: 4;
    width: 116px; height: 116px;
}
.scroll-badge svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.scroll-badge text { fill: var(--gold); font-family: var(--font-lt); font-size: 11.5px; letter-spacing: 3.6px; text-transform: uppercase; }
.scroll-badge .dot {
    position: absolute; inset: 0; margin: auto; width: 44px; height: 44px;
    background: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--navy-deep);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 3D loader */
.glb-loader {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 60%, rgba(36,48,68,.6), transparent 70%);
    transition: opacity .6s; pointer-events: none;
}
.glb-loader.hidden { opacity: 0; }
.glb-loader .ring { width: 54px; height: 54px; border: 3px solid rgba(201,168,76,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }

/* ---- Generic light section ---- */
.section { padding: 120px 0; }
.section-sand { background: var(--sand); color: var(--text); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(30px, 5vw, 56px); margin: 14px 0; }
.section-sand .section-head p { color: var(--text-muted); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); color: var(--gold); font-weight: 700; line-height: 1; }
.stat .lbl { color: rgba(245,240,232,.7); margin-top: 8px; font-size: 14px; }
.section-sand .stat .lbl { color: var(--text-muted); }

/* Cards (projects / services) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--white); border: 1px solid var(--border); border-radius: 18px;
    padding: 34px 28px; transition: transform .4s var(--ease), box-shadow .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,35,50,.12); }
.card .ico { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.card h3 { font-size: 21px; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--text-muted); font-size: 15px; }

/* ---- Contact / lead form ---- */
.contact { background: var(--navy); color: var(--sand); padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: rgba(245,240,232,.6); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    background: rgba(245,240,232,.06); border: 1px solid rgba(245,240,232,.15);
    color: var(--sand); font-family: var(--font-ar); font-size: 15px; transition: border .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select option { color: #000; }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-errors { background: rgba(198,40,40,.15); border: 1px solid rgba(198,40,40,.4); color: #ff9b9b; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.contact-side .big { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); line-height: 1.1; }

/* ---- Footer ---- */
.footer { background: var(--navy-deep); color: rgba(245,240,232,.6); padding: 56px 0 32px; border-top: 1px solid rgba(245,240,232,.08); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer .copyright { font-size: 13px; letter-spacing: 1px; text-align: center; opacity: .7; }

/* Scroll-reveal helper — progressive enhancement: hidden only when JS animation
   is active (.js-anim added on <html>). Without JS the content stays visible. */
.js-anim .reveal { opacity: 0; transform: translateY(40px); }

/* ---- Catalog (projects / properties) ---- */
.page-hero { padding: 140px 0 60px; background: linear-gradient(180deg, var(--navy), var(--navy-deep)); }
.page-hero h1 { font-size: clamp(34px, 6vw, 64px); color: var(--white); }
.page-hero .eyebrow { margin-bottom: 14px; }
.catalog { padding: 60px 0 120px; background: var(--navy-deep); }
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card {
    background: var(--navy-light); border: 1px solid rgba(245,240,232,.08); border-radius: 18px;
    overflow: hidden; transition: transform .4s var(--ease), border-color .4s; color: var(--sand);
}
.prop-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.prop-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; color: rgba(245,240,232,.25); font-family: var(--font-display); font-size: 40px; position: relative; }
.prop-card .badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--gold); color: var(--navy-deep); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.prop-card .body { padding: 22px; }
.prop-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--white); }
.prop-card .meta { display: flex; gap: 16px; flex-wrap: wrap; color: rgba(245,240,232,.6); font-size: 14px; margin: 10px 0 14px; }
.prop-card .price { font-family: var(--font-display); font-size: 26px; color: var(--gold); font-weight: 700; }
.prop-card .price small { font-size: 13px; color: rgba(245,240,232,.5); font-family: var(--font-ar); }

/* ---- Home: property search bar ---- */
.search-section { background: var(--navy-deep); padding: 0; }
.searchbar {
    margin-top: -52px; position: relative; z-index: 6;
    background: var(--navy-light); border: 1px solid rgba(201,168,76,.35);
    border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.45);
    display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 16px; align-items: end;
}
.searchbar .field label { font-size: 12px; }
.searchbar .btn { height: 49px; white-space: nowrap; }
@media (max-width: 900px) {
    .searchbar { grid-template-columns: 1fr; margin-top: 28px; }
    .searchbar .btn { width: 100%; }
}

.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.filters a { padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(245,240,232,.18); font-size: 14px; color: var(--sand); transition: .3s; }
.filters a:hover, .filters a.active { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* Property detail */
.detail { padding: 120px 0 80px; background: var(--navy-deep); }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.detail .viewer { width: 100%; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: var(--navy-light); border: 1px solid rgba(245,240,232,.1); }
.detail .viewer model-viewer { width: 100%; height: 100%; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.spec { background: var(--navy-light); border: 1px solid rgba(245,240,232,.08); border-radius: 12px; padding: 14px 18px; }
.spec .k { font-size: 13px; color: rgba(245,240,232,.55); }
.spec .v { font-size: 18px; color: var(--white); font-weight: 700; }
.detail .price-box { font-family: var(--font-display); font-size: 42px; color: var(--gold); font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .sidenav { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .lead-form { grid-template-columns: 1fr; }
    .scroll-badge { inset-inline-end: 20px; bottom: 20px; width: 92px; height: 92px; }
    .prop-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   ✦ EFFECTS UPGRADE — premium motion & depth (modern-luxury, on brand)
   Additive only. Motion gated behind prefers-reduced-motion.
   ========================================================================== */

/* — Gold buttons: shimmer sweep + glow on hover — */
.btn-gold { position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(201,168,76,.18); }
.btn-gold::after {
    content: ""; position: absolute; top: 0; inset-inline-start: -120%;
    width: 60%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transition: inset-inline-start .6s var(--ease);
}
.btn-gold:hover { box-shadow: 0 14px 34px rgba(201,168,76,.38); }
.btn-gold:hover::after { inset-inline-start: 120%; }

/* — Section heading: animated gold underline accent — */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
    content: ""; position: absolute; bottom: -14px; inset-inline-start: 0;
    width: 64px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* — Search bar: glassmorphism + gold focus glow + lift — */
.searchbar {
    background: rgba(36,48,68,.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 1px rgba(201,168,76,.12);
    transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.searchbar:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(201,168,76,.45),
                0 0 0 3px rgba(201,168,76,.12);
}
.searchbar .field input:focus, .searchbar .field select:focus {
    box-shadow: 0 0 0 3px rgba(201,168,76,.18); background: rgba(245,240,232,.10);
}

/* — Featured section: subtle radial gold glow backdrop — */
#featured::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(620px 320px at 85% 0%, rgba(201,168,76,.10), transparent 70%),
        radial-gradient(520px 300px at 10% 100%, rgba(201,168,76,.06), transparent 70%);
}
#featured .container { position: relative; z-index: 1; }

/* — Property cards: image zoom, scrim, gold ring + top line, badge shine — */
.prop-card { position: relative; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.prop-card .thumb { overflow: hidden; transition: transform .6s var(--ease); will-change: transform; }
.prop-card .thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(14,22,35,.55) 100%);
    opacity: .8; transition: opacity .45s;
}
.prop-card::before {
    content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transform-origin: var(--bs, right);
    transition: transform .5s var(--ease);
}
.prop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.5);
}
.prop-card:hover::before { transform: scaleX(1); }
.prop-card:hover .thumb { transform: scale(1.07); }
.prop-card:hover .thumb::after { opacity: .5; }
.prop-card .badge { overflow: hidden; }
.prop-card .badge::after {
    content: ""; position: absolute; top: 0; inset-inline-start: -120%;
    width: 50%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
}
.prop-card:hover .badge::after { animation: badge-shine .8s var(--ease); }
@keyframes badge-shine { to { inset-inline-start: 160%; } }

/* — Service / project cards: soft gold edge on hover — */
.card { transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.card:hover { border-color: rgba(201,168,76,.5); }
.card .ico { transition: transform .4s var(--ease); }
.card:hover .ico { transform: rotate(-6deg) scale(1.08); }

/* — Sidenav links: animated gold indicator — */
.sidenav a { position: relative; transition: color .3s; }
.sidenav a::before {
    content: ""; position: absolute; inset-inline-end: -14px; top: 50%; transform: translateY(-50%) scale(0);
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transition: transform .3s var(--ease);
}
.sidenav a:hover, .sidenav a.active { color: var(--gold); }
.sidenav a.active::before, .sidenav a:hover::before { transform: translateY(-50%) scale(1); }

/* — Catalog page hero: gold underline accent (matches section heads) — */
.page-hero h1 { position: relative; display: inline-block; }
.page-hero h1::after {
    content: ""; position: absolute; bottom: -16px; inset-inline-start: 0;
    width: 72px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* — Staggered entrance for any property grid (home featured + catalog), motion-safe — */
@media (prefers-reduced-motion: no-preference) {
    .prop-grid .prop-card { opacity: 0; animation: rise-in .7s var(--ease) forwards; }
    .prop-grid .prop-card:nth-child(1) { animation-delay: .05s; }
    .prop-grid .prop-card:nth-child(2) { animation-delay: .13s; }
    .prop-grid .prop-card:nth-child(3) { animation-delay: .21s; }
    .prop-grid .prop-card:nth-child(4) { animation-delay: .29s; }
    .prop-grid .prop-card:nth-child(5) { animation-delay: .37s; }
    .prop-grid .prop-card:nth-child(6) { animation-delay: .45s; }
    .searchbar { animation: rise-in .8s var(--ease) both; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }

/* Honor reduced-motion: kill sweeps/zoom/animations */
@media (prefers-reduced-motion: reduce) {
    .btn-gold::after, .prop-card .badge::after { display: none; }
    .prop-card:hover .thumb, .searchbar:focus-within { transform: none; }
}

/* ==========================================================================
   ✦ STITCH REDESIGN — cinematic image hero · من نحن · services grid · icons
   ========================================================================== */

/* — Material Symbols base — */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal;
    line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap;
    direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased; display: inline-block; vertical-align: middle;
}

/* — Cinematic image hero (replaces the 3D mall hero) — */
.hero-img {
    position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 130px 0 96px; overflow: hidden;
    background-image: linear-gradient(rgba(14,22,35,.72), rgba(14,22,35,.94)), url('/img/stitch/hero-villa.png?v=5');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-img .hero-content { position: relative; z-index: 3; width: 100%; max-width: 860px; }
.hero-img .eyebrow { display: block; margin-bottom: 10px; }
.hero-img .hero-title { font-size: clamp(46px, 8vw, 104px); color: var(--sand); margin: 6px 0 18px; }
.hero-img .hero-sub { font-size: clamp(17px, 2.4vw, 25px); color: rgba(245,240,232,.85); max-width: 660px; margin: 0 auto 34px; }
.hero-img .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* — Search bar floats over the hero's lower edge (Stitch -mt-16) — */
.search-section { background: transparent; padding: 0; position: relative; z-index: 6; }
.searchbar { margin-top: -56px; }

/* — Centered section heading variant — */
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center h2::after { inset-inline-start: 50%; transform: translateX(50%); }

/* — من نحن: two-column about + 2×2 services grid — */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.about-text h2 { font-size: clamp(32px, 4vw, 52px); margin: 12px 0 18px; color: var(--white); }
.about-text p { color: rgba(245,240,232,.72); margin-bottom: 26px; font-size: 16px; line-height: 1.9; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service {
    background: var(--navy-light); border: 1px solid rgba(201,168,76,.14); border-radius: 16px;
    padding: 26px 22px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.5); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.service .material-symbols-outlined { font-size: 38px; color: var(--gold); margin-bottom: 14px; transition: transform .4s var(--ease); }
.service:hover .material-symbols-outlined { transform: scale(1.12); }
.service h4 { font-size: 18px; color: var(--white); margin-bottom: 6px; }
.service p { font-size: 14px; color: rgba(245,240,232,.6); }

/* — Property card: Material-Symbol specs + location pin — */
.prop-card .meta .material-symbols-outlined { font-size: 18px; color: var(--gold); margin-inline-end: 4px; }
.prop-card .loc { display: flex; align-items: center; gap: 6px; color: rgba(245,240,232,.6); font-size: 14px; margin: 6px 0 2px; }
.prop-card .loc .material-symbols-outlined { font-size: 18px; color: var(--gold); }

@media (max-width: 900px) {
    .hero-img { min-height: 70vh; background-attachment: scroll; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   ✦ MOBILE PASS — hamburger nav + phone refinements
   ========================================================================== */

/* Hamburger menu (CSS-only via <details>) */
.mobnav { display: none; position: relative; }
.mobnav > summary {
    list-style: none; cursor: pointer; width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,168,76,.32); border-radius: 12px; color: var(--gold);
}
.mobnav > summary::-webkit-details-marker { display: none; }
.mobnav > summary .material-symbols-outlined { font-size: 28px; }
.mobnav-panel {
    position: absolute; top: 56px; inset-inline-end: 0; min-width: 214px;
    background: rgba(14,22,35,.97); backdrop-filter: blur(14px);
    border: 1px solid rgba(201,168,76,.22); border-radius: 14px; padding: 10px;
    display: flex; flex-direction: column; gap: 2px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 70;
}
.mobnav-panel a { padding: 12px 14px; border-radius: 9px; color: var(--sand); font-family: var(--font-lt); font-size: 14.5px; text-align: start; }
.mobnav-panel a.btn { justify-content: center; margin-top: 6px; }
.mobnav-panel a:not(.btn):hover { background: rgba(201,168,76,.12); color: var(--gold); }

@media (max-width: 760px) {
    .topnav-links, .topnav-cta { display: none !important; }
    .mobnav { display: block; }
}

/* Phone layout refinements */
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section, .contact { padding: 76px 0; }
    .section-head { margin-bottom: 40px; }
    .hero-img { min-height: 66vh; padding: 104px 0 64px; }
    .hero-img .hero-title { font-size: clamp(32px, 9vw, 50px); }
    .hero-img .hero-sub { font-size: 16px; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1; justify-content: center; }
    .services-grid { gap: 12px; }
    .service { padding: 22px 16px; }
    .service .material-symbols-outlined { font-size: 32px; }
    .stat .num { font-size: clamp(34px, 13vw, 52px); }
    .topbar { padding: 14px 18px; }
    .footer-top { flex-direction: column; text-align: center; align-items: center; }
}
