/* =========================================================
   NEXO Development — public website styles
   Light theme = white · Dark theme = NEXO blue #00326F
   ========================================================= */

:root {
    --navy: #00326F;
    --navy-deep: #00224D;
    --yellow: #F7A823;            /* brand yellow (logo detail, footer) */

    /* accent = brand blue on the white theme */
    --accent: #00326F;
    --accent-2: #1E64C8;
    --accent-3: #0A2A5C;
    --accent-soft: #E7EEF8;
    --accent-rgb: 0, 50, 111;
    --on-accent: #FFFFFF;
    --grad: linear-gradient(135deg, #1E64C8 0%, #00326F 60%, #001F47 100%);
    --grad-soft: linear-gradient(90deg, #00326F, #2F7DE1);
    --blob: radial-gradient(circle at 30% 28%, #F3F8FF 0%, #CFE0F6 45%, #8DB4E8 100%);
    --icon-a: #2F7DE1;
    --icon-b: #9CC3F2;

    --bg: #FFFFFF;
    --bg-2: #F6F8FC;
    --surface: #FFFFFF;
    --surface-2: #F1F4FA;
    --text: #0B1B3A;
    --muted: #66728C;
    --line: rgba(0, 50, 111, .09);
    --logo: var(--navy);
    --shadow: 0 24px 60px -28px rgba(0, 50, 111, .28);
    --shadow-sm: 0 10px 30px -18px rgba(0, 50, 111, .3);
    --glow: #E4EEFB;
    --blueprint: rgba(0, 50, 111, .05);

    /* pixel building palette (read by building.js) */
    --px-beam: #00326F;
    --px-col: #0B4B9E;
    --px-brace: #5B8FD6;
    --px-glass: #A9C9F0;
    --px-accent: #2F7DE1;
    --px-ground: #9AA7BF;
    --px-crane: #1E64C8;
    --px-mortar: #E9E2D4;
    --px-door: #0A2A5C;

    --font: 'Plus Jakarta Sans', 'Vazirmatn', system-ui, sans-serif;
    --radius: 22px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #00326F;
    --bg-2: #002B60;
    --surface: #083E80;
    --surface-2: #0A4589;
    --text: #FFFFFF;
    --muted: #A8C0E2;
    --line: rgba(255, 255, 255, .11);
    --logo: #FFFFFF;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .55);
    --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .6);
    --glow: rgba(247, 168, 35, .16);

    /* accent = yellow on the blue theme */
    --accent: #F7A823;
    --accent-2: #FFC94D;
    --accent-3: #EE7A1E;
    --accent-soft: rgba(247, 168, 35, .14);
    --accent-rgb: 247, 168, 35;
    --on-accent: #00326F;
    --grad: linear-gradient(135deg, #FFC94D, #F7A823 55%, #EE7A1E);
    --grad-soft: linear-gradient(90deg, #F7A823, #EE7A1E);
    --blob: radial-gradient(circle at 30% 30%, #3B7FD4, #1A5AAE 55%, #0B4592);
    --icon-a: #F7A823;
    --icon-b: #EE7A1E;
    --px-accent: #F7A823;
    --px-crane: #F7A823;
    --px-mortar: #6B8DBE;
    --px-door: #001F47;
    --blueprint: rgba(255, 255, 255, .055);

    --px-beam: #FFFFFF;
    --px-col: #D9E7FA;
    --px-brace: #6FA0E6;
    --px-glass: #1F5CA6;
    --px-ground: #6E8FC0;
    color-scheme: dark;
}

html[dir="rtl"] { --font: 'Vazirmatn', 'Plus Jakarta Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color .6s var(--ease), color .6s var(--ease);
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn .ui-icon { transition: transform .35s var(--ease); }
html[dir="rtl"] .btn .ui-icon { transform: scaleX(-1); }
.btn:hover .ui-icon { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .ui-icon { transform: scaleX(-1) translateX(4px); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), .8); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(var(--accent-rgb), .95); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-dark { background: #FFFFFF; color: var(--navy); }
[data-theme="dark"] .btn-dark { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5), transparent 70%);
    transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--navy); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
[data-theme="dark"] .tag { color: var(--accent); background: rgba(var(--accent-rgb), .12); }
html[dir="rtl"] .tag { letter-spacing: 0; font-size: 13px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
    position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
    background: var(--bg); color: var(--logo);
    transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), visibility 0s 1.1s;
    clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.pl-grid {
    position: absolute; inset: 0; opacity: .7;
    background-image: linear-gradient(var(--blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, #000 0, transparent 65%);
}
.pl-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 16px; text-align: center; }
.pl-logo { position: relative; width: min(320px, 70vw); }
.pl-glow {
    position: absolute; inset: -40% -20%; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 60%);
    filter: blur(20px); animation: plPulse 2.4s ease-in-out infinite;
}
.pl-svg, .brand-svg, .side-logo, .login-art-logo { direction: ltr; }
.pl-svg { position: relative; width: 100%; height: auto; overflow: visible; }
.pl-svg .lg-n, .pl-svg .lg-e rect, .pl-svg .lg-x, .pl-svg .lg-o, .pl-svg .logo-tag { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pl-svg .lg-n { animation: plDrop .8s var(--ease) .15s forwards; }
.pl-svg .lg-e rect { animation: plSlide .7s var(--ease) forwards; }
.pl-svg .lg-e rect:nth-child(1) { animation-delay: .35s; }
.pl-svg .lg-e rect:nth-child(2) { animation-delay: .45s; }
.pl-svg .lg-e rect:nth-child(3) { animation-delay: .55s; }
.pl-svg .lg-x { animation: plSpin .9s var(--ease) .65s forwards; }
.pl-svg .lg-o { animation: plSpin 1s var(--ease) .85s forwards; }
.pl-svg .lg-o-y { animation: plO 2.4s linear 2s infinite; transform-origin: 171px 26px; transform-box: view-box; }
.pl-svg .logo-tag { animation: plFade 1s ease 1.2s forwards; }
@keyframes plDrop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes plSlide { from { opacity: 0; transform: translateX(-30px) scaleX(.2); } to { opacity: 1; transform: none; } }
@keyframes plSpin { from { opacity: 0; transform: rotate(-120deg) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes plFade { to { opacity: .6; } }
@keyframes plO { to { transform: rotate(360deg); } }
@keyframes plPulse { 50% { transform: scale(1.12); opacity: .7; } }

.pl-bar { width: min(240px, 60vw); height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--grad-soft); border-radius: inherit; box-shadow: 0 0 14px rgba(var(--accent-rgb), .6); transition: width .2s linear; }
html[dir="rtl"] .pl-bar span { margin-inline-start: 0; }
.pl-status { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.pl-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .6s var(--ease); min-height: 90px; }
.pl-actions.show { opacity: 1; transform: none; pointer-events: auto; }
.pl-enter { animation: enterPulse 2s infinite; }
@keyframes enterPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 50% { box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0); } }
.pl-skip { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- top progress + cursor ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--grad-soft); z-index: 200; }
.cursor-dot {
    position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; pointer-events: none; z-index: 300;
    border: 1.5px solid var(--accent); transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s, opacity .3s; opacity: 0;
    mix-blend-mode: normal;
}
.cursor-dot.active { opacity: 1; }
.cursor-dot.hover { width: 60px; height: 60px; background: rgba(var(--accent-rgb), .15); }
@media (hover: none) { .cursor-dot { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s; }
.site-header.scrolled { padding: 10px 0; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { color: var(--logo); display: inline-flex; }
.brand-svg { height: 44px; width: auto; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); position: relative; transition: color .3s; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); border-radius: 2px; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
    height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 13px; transition: background .3s, transform .3s var(--ease);
}
.tool-btn:hover { background: var(--accent-soft); transform: translateY(-2px); }
[data-theme="dark"] .tool-btn:hover { background: rgba(var(--accent-rgb), .2); }
.lang-btn span { font-family: 'Vazirmatn', 'Plus Jakarta Sans', sans-serif; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: inline-flex; color: var(--accent); }
.i-on { display: none; }
body.sound-on .i-on { display: inline-flex; color: var(--accent); }
body.sound-on .i-off { display: none; }
.menu-btn { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blueprint {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
    background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.glow.g1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: var(--glow); top: -20%; inset-inline-start: -15%; }
.glow.g2 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; background: color-mix(in srgb, var(--accent) 18%, transparent); bottom: -20%; inset-inline-end: -10%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.eyebrow i { width: 34px; height: 3px; border-radius: 3px; background: var(--accent); }
.hero-title { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; color: var(--text); margin-bottom: 22px; }
html[dir="rtl"] .hero-title { font-weight: 900; line-height: 1.35; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); }
body.ready .hero-title .w > span { animation: wordUp .9s var(--ease) forwards; animation-delay: var(--d); }
.hero-title .w:nth-child(3n) > span { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { to { transform: none; } }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-mini { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-mini div { display: flex; flex-direction: column; padding-inline-start: 16px; border-inline-start: 3px solid var(--accent); }
.hero-mini strong { font-size: 28px; font-weight: 800; }
.hero-mini span { font-size: 13px; color: var(--muted); }
.reveal-hero { opacity: 0; transform: translateY(24px); }
body.ready .reveal-hero { animation: heroIn 1s var(--ease) forwards; }
body.ready .hero-sub { animation-delay: .45s; }
body.ready .hero-actions { animation-delay: .6s; }
body.ready .hero-mini { animation-delay: .75s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: center; }
.hv-blob {
    position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; bottom: 4%; inset-inline-end: 6%;
    background: var(--blob);
    box-shadow: 0 40px 80px -30px rgba(var(--accent-rgb), .7);
    transform: scale(0); transition: transform 1.4s var(--ease);
}
body.ready .hv-blob { transform: scale(1); }
.hv-ring { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; bottom: -4%; inset-inline-end: -2%; border: 1.5px dashed var(--line); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#buildCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: crosshair; }

.hv-card {
    position: absolute; z-index: 3; background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); opacity: 0; transform: translateY(20px) scale(.95);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
body.ready .hv-card { opacity: 1; transform: none; }
.hv-card small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.hv-card strong { font-size: 20px; font-weight: 800; }
.hv-total { top: 13%; inset-inline-end: -4%; transition-delay: .9s; animation: float 6s ease-in-out infinite 2s; }
.hv-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); }
.hv-floor { bottom: 3%; inset-inline-start: -14%; flex-direction: column; align-items: stretch; min-width: 170px; transition-delay: 1.1s; animation: float 7s ease-in-out infinite 3s; }
.hv-floor-top { display: flex; flex-direction: column; }
.hv-floor strong { font-size: 16px; }
.hv-progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.hv-progress span { display: block; height: 100%; width: 0; background: var(--grad-soft); border-radius: inherit; }
.hv-safety { top: 52%; inset-inline-start: -16%; font-size: 13px; font-weight: 700; padding: 10px 14px; transition-delay: 1.3s; animation: float 8s ease-in-out infinite 1s; }
.hv-safety .dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: blink 1.6s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes blink { 50% { opacity: .35; } }
.hv-replay {
    position: absolute; z-index: 4; bottom: 0; inset-inline-end: 6%; display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
    opacity: 0; transform: translateY(10px); transition: .5s var(--ease); pointer-events: none;
}
[data-theme="dark"] .hv-replay { background: #fff; color: var(--navy); }
.hv-replay.show { opacity: 1; transform: none; pointer-events: auto; }
.hv-replay:hover .ui-icon { transform: rotate(-200deg); }
.hv-replay .ui-icon { transition: transform .6s var(--ease); }

.scroll-cue { position: absolute; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
html[dir="rtl"] .scroll-cue { transform: translateX(50%); }
.scroll-cue span { width: 24px; height: 38px; border: 2px solid var(--line); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { padding: 34px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.partners-title { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.partner { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--muted); opacity: .75; white-space: nowrap; transition: opacity .3s, color .3s; letter-spacing: -.01em; }
.partner:hover { opacity: 1; color: var(--text); }
.pm { width: 22px; height: 22px; display: inline-block; }
.pm-0 { background: var(--accent); border-radius: 50%; }
.pm-1 { background: var(--navy); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
[data-theme="dark"] .pm-1 { background: #fff; }
.pm-2 { border: 4px solid currentColor; }
.pm-3 { background: linear-gradient(135deg, var(--accent-2) 50%, var(--accent) 50%); border-radius: 4px; }

/* =========================================================
   SERVICES
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
    position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    display: flex; gap: 18px; align-items: flex-start; overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
    transform-style: preserve-3d;
}
.svc-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc-card h3 { font-size: 19px; font-weight: 800; }
.svc-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.svc-icon { width: 48px; height: 48px; flex: none; transition: transform .6s var(--ease); }
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.1); }
.ic-a { fill: var(--icon-a); }
.ic-b { fill: var(--icon-b); }
.ic-c { fill: var(--navy); }
[data-theme="dark"] .ic-c { fill: #FFFFFF; }
.svc-num { position: absolute; top: 14px; inset-inline-end: 20px; font-weight: 800; font-size: 44px; color: var(--line); line-height: 1; transition: color .4s; }
.svc-card:hover .svc-num { color: color-mix(in srgb, var(--accent) 40%, transparent); }
.svc-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .12), transparent 40%); opacity: 0; transition: opacity .4s; }
.svc-card:hover .svc-shine { opacity: 1; }

/* =========================================================
   ABOUT / MAP
   ========================================================= */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.about-text > p { color: var(--muted); font-size: 16.5px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0 34px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.1; }
[data-theme="dark"] .stat strong { color: var(--accent); }
.stat span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.about-map { position: relative; aspect-ratio: 1.25; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
#dotMap { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.map-pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .25); position: relative; }
.map-pin i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.2s var(--ease) infinite; animation-delay: var(--d); }
.map-pin.main i { width: 20px; height: 20px; background: var(--navy); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .6); }
[data-theme="dark"] .map-pin.main i { background: #fff; }
.map-pin b { background: var(--surface); padding: 3px 10px; border-radius: 8px; font-size: 12px; box-shadow: var(--shadow-sm); white-space: nowrap; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

/* =========================================================
   SHARED BITS — badges, specs, empty states, WhatsApp buttons
   ========================================================= */
.muted { color: var(--muted); }
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--surface-2); color: var(--text);
}
.st-ongoing { background: #FEF3C7; color: #92400E; }
.st-ongoing::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F59E0B; animation: blink 1.6s infinite; }
.st-design { background: #E0E7FF; color: #3730A3; }
.st-completed { background: #DCFCE7; color: #166534; }
.u-available { background: #DCFCE7; color: #166534; }
.u-reserved { background: #FEF3C7; color: #92400E; }
.u-sold { background: #FEE2E2; color: #991B1B; }
.k-news { background: var(--accent-soft); color: var(--navy); }
.k-contract { background: #E0E7FF; color: #3730A3; }
.k-achievement { background: #FEF3C7; color: #92400E; }
[data-theme="dark"] .k-news { color: var(--accent); }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.specs > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.specs dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.specs dd { margin: 2px 0 0; font-weight: 800; font-size: 16px; }
.specs dd small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.proj-progress { margin: 4px 0 14px; }
.proj-progress > div { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.proj-progress > div span { color: var(--muted); }
.proj-progress i { display: block; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.proj-progress i span { display: block; height: 100%; background: var(--grad-soft); border-radius: inherit; min-width: 4px; }

.btn-wa { background: #25D366; color: #fff; box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa svg { flex: none; }
html[dir="rtl"] .btn-wa svg { transform: none !important; }
.sales-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--text); unicode-bidi: isolate; }
.sales-num:hover { color: #16A34A; }
.sales-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--muted); }
.sales-line b { color: var(--text); font-size: 17px; unicode-bidi: isolate; }
.link-btn { font-weight: 700; color: var(--accent-2); }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin: 0 auto; max-width: 520px;
    padding: 38px 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-weight: 600;
}
.empty-state .svc-icon { opacity: .6; }
.empty-state[hidden] { display: none; }

/* =========================================================
   FEATURED PROJECT
   ========================================================= */
.feat-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.feat-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; gap: 14px; aspect-ratio: 1.1; }
.fm { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.fm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fm:hover img { transform: scale(1.06); }
.fm-0 { grid-column: 1 / -1; }
.fm-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 25, 60, .45); color: #fff; font-size: 30px; font-weight: 800; }
.feat-text h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.feat-desc { color: var(--muted); font-size: 16.5px; }
.feat-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pcard-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 6px; }

/* =========================================================
   PROJECTS GRID (no slider)
   ========================================================= */
.projects { background: var(--bg-2); }
.ptabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px auto 40px; }
.ptabs button {
    padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: var(--surface); border: 1.5px solid var(--line);
    color: var(--muted); transition: .3s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.ptabs button b { font-size: 12px; background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 1px 8px; }
.ptabs button:hover { color: var(--text); border-color: var(--accent); }
.ptabs button.active { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.ptabs button.active b { background: rgba(255, 255, 255, .25); color: inherit; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard[hidden] { display: none; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), transform .5s var(--ease), opacity 1s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.07); }
.pcard-media .badge { position: absolute; top: 14px; inset-inline-start: 14px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.pcount { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(0, 25, 60, .7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pcard-media.empty, .buy-img.empty, .pd-cover.empty {
    background-color: var(--surface-2);
    background-image: linear-gradient(var(--blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
    background-size: 22px 22px;
}
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 13px; }
.ph .svc-icon { width: 56px; height: 56px; opacity: .5; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 12.5px; font-weight: 700; color: var(--accent-2); }
[data-theme="dark"] .pcard-cat { color: var(--accent); }
.pcard-body h3 { font-size: 19px; font-weight: 800; margin: 4px 0 6px; }
.pcard-body h3 a:hover { color: var(--accent-2); }
.pcard-body .specs { margin: 12px 0; }
.pcard-body .specs > div { padding: 8px 12px; }
.pcard-body .specs dd { font-size: 14.5px; }
.pcard-sales { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 6px; }

/* =========================================================
   ABOUT EXTRAS + TEAM
   ========================================================= */
.about-more { display: grid; gap: 14px; margin-top: 18px; }
.about-more > div { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 16px; padding: 16px 18px; }
.about-more h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.about-more p { color: var(--muted); margin: 0; font-size: 15px; }
.team-wrap { margin-top: clamp(70px, 9vw, 110px); }
.team-group { text-align: center; font-size: 20px; font-weight: 800; margin: 10px 0 24px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; margin-bottom: 40px; }
.member { margin: 0; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.member-photo { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 30px; background: var(--surface-2) center / cover no-repeat; box-shadow: var(--shadow-sm); }
.member-photo.empty { display: grid; place-items: center; background: var(--grad); color: var(--on-accent); font-size: 42px; font-weight: 800; }
.member strong { display: block; font-size: 17px; }
.member small { color: var(--muted); font-weight: 600; }

/* =========================================================
   PROGRESS
   ========================================================= */
.prog-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-bottom: 50px; }
.prog-bar { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; transition: box-shadow .4s; }
.prog-bar:hover { box-shadow: var(--shadow); }
.prog-bar > div { flex: 1; }
.prog-bar strong { display: block; margin-bottom: 8px; font-size: 15.5px; }
.prog-bar .proj-progress { margin: 0; }
.pb-img { width: 84px; height: 84px; flex: none; border-radius: 16px; background: var(--surface-2) center / cover no-repeat; }
.timeline { position: relative; display: grid; gap: 26px; padding-inline-start: 34px; max-width: 920px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 3px; border-radius: 3px; background: var(--line); }
.tl-item { position: relative; }
.tl-dot { position: absolute; top: 22px; inset-inline-start: -34px; width: 21px; height: 21px; border-radius: 50%; background: var(--surface); border: 4px solid var(--accent); }
.tl-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.tl-card:not(:has(.tl-img, .tl-video)) { grid-template-columns: 1fr; }
.tl-img, .tl-video { position: relative; min-height: 200px; background: var(--surface-2); }
.tl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tl-body { padding: 20px 22px; }
.tl-body h3 { font-size: 18px; font-weight: 800; margin: 10px 0 6px; }
.tl-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.tl-meta a { color: var(--accent-2); }

/* =========================================================
   WHY NEXO
   ========================================================= */
.why { background: var(--bg-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(60px, 8vw, 90px); }
.why-card { position: relative; overflow: hidden; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.why-card:hover { box-shadow: var(--shadow); }
.why-card .svc-icon { margin-bottom: 16px; }
.why-card h3 { font-size: 18px; font-weight: 800; }
.why-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.why-card:hover .svc-shine { opacity: 1; }

/* =========================================================
   BUYING OPPORTUNITIES
   ========================================================= */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unit-grid.two { grid-template-columns: repeat(2, 1fr); }
.unit { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.unit-plan { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.unit-plan img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.unit-plan.empty { display: grid; place-items: center; background: var(--surface-2); }
.unit-plan.empty .svc-icon { width: 60px; height: 60px; opacity: .5; }
.unit-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.unit-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.unit-top h3 { font-size: 19px; font-weight: 800; margin: 0; }
.unit .specs { grid-template-columns: repeat(3, 1fr); }
.unit .specs > div { padding: 8px 10px; }
.unit .specs dd { font-size: 14.5px; }
.unit-feat { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.unit-feat li { display: flex; gap: 8px; align-items: center; }
.unit-feat .ui-icon { color: #16A34A; flex: none; }
.unit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.buy-cta-grid { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.buy-cta { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); }
.buy-cta > div { padding: clamp(20px, 3vw, 34px); }
.buy-cta h3 { font-size: 22px; font-weight: 800; }
.buy-img { display: block; min-height: 260px; background: center / cover no-repeat; }

/* =========================================================
   NEWS
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 18px 20px 20px; }
.news-body h3 { font-size: 18px; font-weight: 800; margin: 10px 0 6px; }
.news-body p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* =========================================================
   CONTACT EXTRAS
   ========================================================= */
.kind-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.kind-pick label { cursor: pointer; }
.kind-pick input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pick span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--muted); transition: .25s; }
.kind-pick input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.kind-pick input:focus-visible + span { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); }
.field-date[hidden] { display: none; }
.field-date input { padding-top: 24px; }
.field-date span { top: 6px; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.contact-info li > span.wa { background: #DCFCE7; color: #16A34A; }
[data-theme="dark"] .contact-info li > span.wa { background: rgba(37, 211, 102, .18); color: #4ADE80; }
.contact-info a[dir="ltr"] { unicode-bidi: isolate; }
.map-embed { margin-top: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px 22px; font-size: 17px; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* =========================================================
   FLOATING WHATSAPP (investment)
   ========================================================= */
.wa-float {
    position: fixed; z-index: 95; bottom: 24px; inset-inline-start: 24px; width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .9);
    transition: transform .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: rgba(37, 211, 102, .25); animation: waPulse 2.2s ease-out infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.wa-tip {
    position: absolute; inset-inline-start: calc(100% + 12px); white-space: nowrap; background: var(--surface); color: var(--text);
    padding: 8px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.4;
    opacity: 0; transform: translateX(-8px); pointer-events: none; transition: .3s var(--ease);
}
html[dir="rtl"] .wa-tip { transform: translateX(8px); }
.wa-tip b { color: #16A34A; font-size: 14px; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
body.is-loading .wa-float { opacity: 0; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0, 12, 30, .92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; opacity: 0; animation: lbIn .3s ease forwards; }
@keyframes lbIn { to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lb-close, .lb-nav { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; font-size: 18px; }
.lb-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 32px; line-height: 1; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
html[dir="rtl"] .lb-prev { left: auto; right: 12px; }
html[dir="rtl"] .lb-next { right: auto; left: 12px; }
html[dir="rtl"] .lb-nav { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; opacity: .8; }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }

/* =========================================================
   PROJECT DETAIL PAGE
   ========================================================= */
.site-header.solid { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.pd-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; padding: 130px 0 40px; color: #fff; overflow: hidden; }
.pd-cover { position: absolute; inset: 0; background: center / cover no-repeat; }
.pd-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 20, 50, .9), rgba(0, 20, 50, .25) 70%); }
.pd-cover.empty::after { background: linear-gradient(to top, rgba(0, 20, 50, .9), rgba(0, 20, 50, .55)); }
.pd-hero-in { position: relative; }
.pd-hero h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; margin: 12px 0 8px; }
.pd-hero .pcard-loc { color: rgba(255, 255, 255, .85); }
.pd-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; opacity: .85; margin-bottom: 14px; margin-inline-end: 12px; }
.pd-back:hover { opacity: 1; }
.pd-main { padding-top: 50px; }
.pd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.pd-desc { font-size: 17px; color: var(--muted); }
.pd-h { font-size: 22px; font-weight: 800; margin: 30px 0 18px; }
.pd-grid > div > .pd-h:first-child { margin-top: 0; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-gallery a { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.pd-gallery a.big { grid-column: span 2; grid-row: span 2; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pd-gallery a:hover img { transform: scale(1.06); }
.pd-side { position: sticky; top: 100px; }
.pd-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.pd-card .pd-h { margin: 0; }
.pd-card .specs { margin: 6px 0; }
.pd-card .sales-line { margin: 0 0 6px; justify-content: center; }
.specs-extra:empty { display: none; }

@media (max-width: 1080px) {
    .pgrid, .unit-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: 1fr; gap: 34px; }
    .pd-grid { grid-template-columns: 1fr; }
    .pd-side { position: static; }
}
@media (max-width: 680px) {
    .pgrid, .unit-grid, .unit-grid.two, .news-grid, .why-grid { grid-template-columns: 1fr; }
    .tl-card { grid-template-columns: 1fr; }
    .buy-cta { grid-template-columns: 1fr; }
    .buy-img { min-height: 200px; }
    .pd-gallery { grid-template-columns: repeat(2, 1fr); }
    .lightbox { padding: 60px 10px; }
    .lb-nav { top: auto; bottom: 10px; margin: 0; }
    .wa-float { width: 56px; height: 56px; bottom: 18px; inset-inline-start: 16px; }
    .wa-tip { display: none; }
    .to-top { bottom: 18px; inset-inline-end: 16px; }
    .ptabs { margin-top: -10px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps-line { position: absolute; top: 31px; inset-inline: 12%; height: 3px; background: var(--line); border-radius: 3px; }
.steps-line span { display: block; height: 100%; width: 0; background: var(--grad-soft); border-radius: inherit; transition: width 1.6s var(--ease); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; font-weight: 800; font-size: 22px; position: relative;
    background: var(--surface); border: 3px solid var(--accent); border-radius: 18px; transform: rotate(45deg); box-shadow: var(--shadow-sm);
}
.step-num { line-height: 1; color: var(--navy); isolation: isolate; transition: transform .6s var(--ease), background .4s; }
.step-num::before { content: ""; position: absolute; inset: 6px; border-radius: 10px; background: var(--accent-soft); z-index: -1; }
[data-theme="dark"] .step-num { color: #fff; }
[data-theme="dark"] .step-num::before { background: rgba(var(--accent-rgb), .15); }
.step-num > b { transform: rotate(-45deg); }
.step:hover .step-num { transform: rotate(225deg); background: var(--grad); color: var(--on-accent); }
.step:hover .step-num::before { opacity: 0; }
.step h3 { font-size: 20px; font-weight: 800; }
.step p { color: var(--muted); font-size: 14.5px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--bg-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.testi:hover { box-shadow: var(--shadow); }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 18px; margin-bottom: 14px; }
.testi blockquote { margin: 0 0 22px; font-size: 15.5px; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
[data-theme="dark"] .avatar { background: var(--accent); color: var(--on-accent); }
.testi strong { display: block; }
.testi small { color: var(--muted); }

/* =========================================================
   CTA + CONTACT
   ========================================================= */
.cta-card {
    position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 60px);
    background: var(--grad); color: var(--on-accent);
    display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: clamp(60px, 8vw, 100px);
    box-shadow: 0 40px 80px -40px rgba(var(--accent-rgb), .7);
}
.cta-card h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta-card p { margin: 0; font-weight: 500; opacity: .9; max-width: 560px; }
.cta-card > * { position: relative; }
.cta-pixels {
    position: absolute !important; inset: 0; opacity: .25;
    background-image: linear-gradient(rgba(255, 255, 255, .7) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px);
    background-size: 22px 22px; mask-image: linear-gradient(115deg, transparent 45%, #000);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.contact-info ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-info li { display: flex; gap: 16px; align-items: center; }
.contact-info li > span { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--navy); }
[data-theme="dark"] .contact-info li > span { background: rgba(var(--accent-rgb), .15); color: var(--accent); }
.contact-info small { color: var(--muted); font-weight: 600; display: block; }
.contact-info a, .contact-info p { font-weight: 700; margin: 0; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field textarea {
    width: 100%; padding: 22px 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-2);
    color: var(--text); font: inherit; font-size: 15px; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.field span { position: absolute; inset-inline-start: 17px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: .25s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 6px; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.field.invalid input, .field.invalid textarea { border-color: #EF4444; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-msg { font-weight: 600; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #16A34A; }
.form-msg.err { color: #EF4444; }
[data-theme="dark"] .form-msg.ok { color: #4ADE80; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: #C9D7EE; padding: 70px 0 0; }
[data-theme="dark"] .site-footer { background: #00224D; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; color: #A9BEDD; transition: color .3s, transform .3s; }
.footer-grid a:not(.brand):hover { color: var(--yellow); transform: translateX(4px); }
html[dir="rtl"] .footer-grid a:not(.brand):hover { transform: translateX(-4px); }
.footer-grid p { color: #A9BEDD; font-size: 14.5px; }
.ltr-inline { unicode-bidi: plaintext; text-align: start; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid !important; place-items: center; background: rgba(255, 255, 255, .08); padding: 0 !important; }
.socials a:hover { background: var(--yellow); color: var(--navy) !important; transform: translateY(-3px) !important; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8EA6CB; }
.footer-bottom a:hover { color: var(--yellow); }

.to-top {
    position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 16px;
    background: var(--grad); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(var(--accent-rgb), .8);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* theme switch ripple */
.theme-ripple { position: fixed; z-index: 999; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0); animation: ripple .8s var(--ease) forwards; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
    .menu-btn { display: inline-flex; }
    .nav-cta { display: none; }
    .main-nav {
        position: fixed; inset: 0 0 auto 0; top: 0; padding: 90px 24px 30px; flex-direction: column; gap: 4px;
        background: var(--bg); box-shadow: var(--shadow); transform: translateY(-110%); transition: transform .5s var(--ease); z-index: -1;
    }
    .main-nav.open { transform: none; }
    .main-nav a { font-size: 18px; padding: 12px 16px; }
}
@media (max-width: 1080px) {
    .svc-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
    .hero { padding-top: 110px; }
    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-visual { max-width: 460px; }
    .hv-floor, .hv-safety { inset-inline-start: 0; }
    .hv-total { inset-inline-end: 0; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps-line { display: none; }
    .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
    .brand-svg { height: 36px; }
    .nav-tools { gap: 5px; }
    .tool-btn { height: 36px; min-width: 36px; padding: 0 8px; }
    .lang-btn .ui-icon { display: none; }
    .svc-grid, .testi-grid, .row2 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hero-mini { gap: 18px; }
    .hero-mini strong { font-size: 22px; }
    .hv-safety, .hv-total { display: none; }
    .hv-floor { min-width: 160px; }
    .sl-btn { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* footer: phone links stay inline next to their label */
.footer-grid p a:not(.brand) { display: inline !important; padding: 0; color: #fff; }

/* quick logo intro (no buttons) */
.pl-bar span { transition: width .9s var(--ease); }

/* footer brand icons */
.socials { flex-wrap: wrap; }
.socials a, .socials span { width: 42px; height: 42px; border-radius: 13px; display: grid !important; place-items: center; background: rgba(255, 255, 255, .09); color: #fff !important; padding: 0 !important; transition: background .3s, transform .3s var(--ease); }
.socials a:hover { transform: translateY(-3px) !important; color: #fff !important; }
.socials .so-facebook:hover { background: #1877F2; }
.socials .so-instagram:hover { background: radial-gradient(circle at 30% 110%, #FFD776 0%, #F56040 35%, #C13584 65%, #5B51D8 100%); }
.socials .so-whatsapp:hover { background: #25D366; }
.socials .so-youtube:hover { background: #FF0000; }
.socials .so-tiktok:hover { background: #111; }
.socials .so-linkedin:hover { background: #0A66C2; }
.socials span { cursor: default; }


/* =========================================================
   HERO CARD — one photo in a rounded frame, cut-in corner card
   ========================================================= */
.hero-v2 { min-height: 0; display: block; padding: 0; overflow: visible; }
/* full screen: edge to edge, from the very top (the header floats over the photo) */
.hv2 { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.hv2-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hv2-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1); animation: hv2Breathe 30s ease-in-out infinite alternate; will-change: transform; }
@keyframes hv2Breathe { from { transform: scale(1); } to { transform: scale(1.04); } }
body:not(.ready) .hv2-media img { filter: blur(6px); }
.hv2-media img { transition: filter 1.4s var(--ease); }

/* soft haze on the sky side (right) so the headline reads on any part of the photo */
.hv2-haze {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(to left, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .62) 30%, rgba(255, 255, 255, .18) 52%, rgba(255, 255, 255, 0) 66%);
}
[data-theme="dark"] .hv2-haze { background: linear-gradient(to bottom, rgba(0, 34, 77, .8) 0%, rgba(0, 34, 77, 0) 18%), linear-gradient(to left, rgba(0, 34, 77, .9) 0%, rgba(0, 34, 77, .66) 32%, rgba(0, 34, 77, .2) 54%, rgba(0, 34, 77, 0) 68%); }
/* English: mirror the layout — text on the left, haze from the left, corner card bottom-right */
html[dir="ltr"] .hv2-content { right: auto; left: max(16px, calc((100% - 1200px) / 2)); width: min(460px, 37%); }
html[dir="ltr"] .hv2-haze { background: linear-gradient(to bottom, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, 0) 18%), linear-gradient(to right, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 36%, rgba(255, 255, 255, .25) 56%, rgba(255, 255, 255, 0) 70%); }
html[dir="ltr"][data-theme="dark"] .hv2-haze { background: linear-gradient(to bottom, rgba(0, 34, 77, .8) 0%, rgba(0, 34, 77, 0) 18%), linear-gradient(to right, rgba(0, 34, 77, .92) 0%, rgba(0, 34, 77, .74) 36%, rgba(0, 34, 77, .25) 56%, rgba(0, 34, 77, 0) 70%); }
html[dir="ltr"] .hv2-notch { left: auto; right: 0; border-top-right-radius: 0; border-top-left-radius: 32px; padding: 16px max(16px, calc((100% - 1200px) / 2)) 0 16px; }
html[dir="ltr"] .hv2-notch::before { left: auto; right: 0; background: radial-gradient(circle at 0 0, transparent 31.5px, var(--bg) 32px); }
html[dir="ltr"] .hv2-notch::after { right: auto; left: -32px; background: radial-gradient(circle at 0 0, transparent 31.5px, var(--bg) 32px); }

.hv2-content { position: absolute; right: max(16px, calc((100% - 1200px) / 2)); top: 54%; transform: translateY(-50%); width: min(480px, 40%); }
.hv2-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
html[dir="rtl"] .hv2-tag { letter-spacing: .02em; font-size: 14px; }
.hero-v2 .hero-title { font-size: clamp(32px, 3.3vw, 52px); margin-bottom: 14px; }
.hero-v2 .hero-sub { font-size: 16px; line-height: 1.8; max-width: 460px; margin-bottom: 26px; color: color-mix(in srgb, var(--text) 72%, transparent); }
.hero-v2 .hero-actions { margin-bottom: 0; align-items: center; }
.hv2-play {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-2);
    box-shadow: var(--shadow-sm); position: relative; transition: transform .35s var(--ease);
}
[data-theme="dark"] .hv2-play { color: var(--accent); }
.hv2-play::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb), .35); animation: hv2Ring 2.4s ease-out infinite; }
@keyframes hv2Ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.hv2-play:hover { transform: scale(1.08); }
.hv2-play svg { margin-inline-start: 3px; }
html[dir="rtl"] .hv2-play svg { margin: 0 3px 0 0; }

/* cut-in corner card (bottom-left) with concave corners */
.hv2-notch { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--bg); padding: 16px 16px 0 max(16px, calc((100% - 1200px) / 2)); border-top-right-radius: 32px; width: calc(max(16px, (100% - 1200px) / 2) + 400px); max-width: 52%; }
.hv2-notch::before, .hv2-notch::after { content: ""; position: absolute; width: 32px; height: 32px; background: radial-gradient(circle at 100% 0, transparent 31.5px, var(--bg) 32px); }
.hv2-notch::before { left: 0; top: -32px; }
.hv2-notch::after { right: -32px; bottom: 0; }
.hv2-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 12px 8px; font-weight: 800; font-size: 15px; }
.hv2-more .ui-icon { transition: transform .3s var(--ease); }
html[dir="rtl"] .hv2-more .ui-icon { transform: scaleX(-1); }
.hv2-more:hover .ui-icon { transform: translateX(4px); }
html[dir="rtl"] .hv2-more:hover .ui-icon { transform: scaleX(-1) translateX(4px); }
.hv2-mini { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.hv2-avatars { display: flex; flex: none; }
.hv2-avatars span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--surface); background: var(--surface-2) center / cover no-repeat; margin-inline-start: -14px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.hv2-avatars span:first-child { margin-inline-start: 0; }
.hv2-mini strong { display: block; font-size: 14.5px; line-height: 1.4; }
.hv2-mini small { color: var(--muted); font-size: 12.5px; }

/* strip under the card: follow + partners */
.hv2-bar { display: flex; align-items: center; gap: 28px; padding: 22px 0 6px; }
.hv2-follow { display: flex; align-items: center; gap: 14px; flex: none; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }
.hv2-follow > span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.hv2-follow a, .hv2-follow i { display: grid; place-items: center; color: var(--text); transition: color .25s, transform .25s var(--ease); font-style: normal; }
.hv2-follow a:hover { color: var(--accent-2); transform: translateY(-2px); }
.hv2-brands { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 30px; overflow: hidden; padding-inline-start: 28px; border-inline-start: 1px solid var(--line);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hv2-brands span { font-weight: 800; font-size: 19px; color: var(--muted); opacity: .7; white-space: nowrap; letter-spacing: -.01em; transition: opacity .3s, color .3s; }
.hv2-brands span:hover { opacity: 1; color: var(--text); }

@media (max-width: 1080px) {
    .hv2-content { width: min(520px, 56%); }
    html[dir="ltr"] .hv2-content { width: min(470px, 52%); }
    .hv2-brands { display: none; }
}
@media (max-width: 760px) {
    /* one screen: photo fills it, text + buttons sit over the lower part */
    .hv2 { height: 100vh; height: 100svh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; }
    .hv2-media img { object-position: 30% 30%; }
    .hv2-haze, [data-theme="dark"] .hv2-haze, html[dir="ltr"] .hv2-haze, html[dir="ltr"][data-theme="dark"] .hv2-haze {
        background:
            linear-gradient(to bottom, color-mix(in srgb, var(--bg) 72%, transparent) 0%, transparent 16%),
            linear-gradient(to top, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 16%, color-mix(in srgb, var(--bg) 90%, transparent) 40%, color-mix(in srgb, var(--bg) 55%, transparent) 58%, transparent 72%);
    }
    .hv2-content, html[dir="ltr"] .hv2-content { position: relative; inset: auto; transform: none; width: auto; margin-top: 30vh; padding: 0 24px; text-align: center; }
    .hv2-tag, html[dir="rtl"] .hv2-tag { margin-bottom: 8px; font-size: 12.5px; }
    .hero-v2 .hero-title { font-size: clamp(28px, 8vw, 36px); margin-bottom: 10px; }
    .hero-v2 .hero-sub { font-size: 14.5px; line-height: 1.75; margin: 0 auto 20px; max-width: 340px; }
    .hero-v2 .hero-actions { flex-wrap: nowrap; gap: 12px; justify-content: center; }
    .hero-v2 .hero-actions .btn { flex: 0 1 auto; padding-inline: 30px; }
    .hv2-play { width: 50px; height: 50px; flex: none; }
    /* the project card is the next section on phones, so the corner card is not needed here */
    .hv2-notch { display: none; }
    .hv2-bar { justify-content: center; padding-top: 18px; }
}
@media (max-width: 760px) and (max-height: 700px) {
    .hero-v2 .hero-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hv2-media img { animation: none; }
}

/* =========================================================
   VIP OFFERS — menu pill, popup ad, VIP page
   ========================================================= */
.main-nav a.nav-vip {
    display: inline-flex; align-items: center; gap: 6px; color: #5A3A00; font-weight: 800;
    background: linear-gradient(135deg, #FFE3A6, #F7A823 60%, #EE7A1E); box-shadow: 0 8px 20px -10px rgba(247, 168, 35, .9);
}
.main-nav a.nav-vip::after { display: none; }
.main-nav a.nav-vip:hover, .main-nav a.nav-vip.on { color: #3D2700; filter: brightness(1.05); }
.nav-vip span { font-size: 13px; }

.vip-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
    color: #3D2700; background: linear-gradient(135deg, #FFE3A6, #F7A823 60%, #EE7A1E); box-shadow: 0 10px 24px -10px rgba(247, 168, 35, .9);
}
.vip-badge.big { font-size: 15px; padding: 8px 18px; margin-bottom: 16px; }
.vip-until { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #B45309; font-size: 14px; }
[data-theme="dark"] .vip-until { color: #FFC94D; }
.vip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.vip-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-2); }
[data-theme="dark"] .vip-link { color: var(--accent); }
html[dir="rtl"] .vip-link .ui-icon { transform: scaleX(-1); }

/* popup ad */
.vip-pop { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(0, 14, 34, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.vip-pop[hidden] { display: none; }
.vip-pop.open { opacity: 1; }
.vip-pop-card {
    position: relative; width: min(860px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; overflow: hidden;
    background: var(--surface); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); transform: translateY(30px) scale(.96); transition: transform .5s var(--ease);
    border: 1px solid rgba(247, 168, 35, .45);
}
.vip-pop.open .vip-pop-card { transform: none; }
.vip-pop-img { position: relative; min-height: 360px; background: var(--surface-2) center / cover no-repeat; }
.vip-pop-img .vip-badge, .vip-img .vip-badge { position: absolute; top: 18px; inset-inline-start: 18px; }
.vip-pop-body { padding: clamp(24px, 3.4vw, 38px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.vip-pop-body h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.vip-pop-body p { color: var(--muted); font-size: 15px; }
.vip-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #0B1B3A; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.vip-close:hover { transform: rotate(90deg); }

/* VIP page */
.vip-hero { padding: 140px 0 40px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(247, 168, 35, .16), transparent 60%), var(--bg-2); }
.vip-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
.vip-hero p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }
.vip-list { padding-top: 50px; }
.vip-list .container { display: grid; gap: 28px; }
.vip-card { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid rgba(247, 168, 35, .35); box-shadow: var(--shadow); }
.vip-img { position: relative; min-height: 380px; background: var(--surface-2) center / cover no-repeat; }
.vip-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.vip-body h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.vip-body p { color: var(--muted); font-size: 16px; }

@media (max-width: 1180px) {
    .main-nav a.nav-vip { align-self: flex-start; }
}
@media (max-width: 760px) {
    .vip-pop-card, .vip-card { grid-template-columns: 1fr; }
    .vip-pop-img { min-height: 200px; }
    .vip-img { min-height: 240px; }
    .vip-pop-card { max-height: calc(100vh - 40px); overflow-y: auto; }
}

/* no floor plan uploaded yet: slim strip instead of a tall empty box */
.unit-plan.empty { aspect-ratio: auto; height: 84px; }
.unit-plan.empty .svc-icon { width: 38px; height: 38px; }

/* all apartment sizes of a project (featured section + project page) */
.utypes { margin: 4px 0 18px; }
.utypes h4 { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.utypes h4 small { color: var(--muted); font-weight: 600; }
.utypes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.utypes li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; }
.utypes li b { font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.utypes li b small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.utypes li span { color: var(--muted); font-weight: 600; text-align: end; white-space: nowrap; font-size: 12.5px; }
.utypes li.sold { opacity: .45; text-decoration: line-through; }
.pd-card .utypes ul { grid-template-columns: 1fr; }
@media (max-width: 420px) { .utypes ul { grid-template-columns: 1fr; } }

/* never let content push a section wider than the screen */
.feat-grid > *, .pd-grid > *, .contact-grid > *, .about-grid > * { min-width: 0; }
.utypes ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.utypes li { flex-wrap: wrap; }

/* keep the footer's last line (copyright + admin link) clear of the floating WhatsApp / back-to-top buttons */
@media (max-width: 1340px) {
    .footer-bottom { padding-bottom: 96px; }
}
@media (max-width: 620px) {
    .footer-bottom { align-items: center; text-align: center; }
}
