/* =========================================================
   Al-Fatah Marketing: modern real estate theme
   Edit the brand colours here and the whole site updates.
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #0a0e1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.18);
  --text: #eef2ff;
  --muted: #8b93a7;
  --accent-1: #22d3ee;   /* cyan */
  --accent-2: #8b5cf6;   /* violet */
  --success: #34d399;
  --grad: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: .35; pointer-events: none; }
.orb-1 { width: 520px; height: 520px; background: var(--accent-2); top: -160px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: var(--accent-1); top: 40vh; left: -200px; opacity: .2; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 120px) scale(1.15); } }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 600; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary { background: var(--grad); color: #05070d; box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(34, 211, 238, .55); filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border-hi); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(5, 7, 13, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.logo .amp { color: var(--accent-1); margin-left: -.3rem; font-weight: 500; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.logo-mark svg { width: 22px; fill: var(--bg); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { color: var(--muted); font-size: .95rem; font-weight: 500; position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .25s; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 7px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }
.menu-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-hi); font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin: 1.4rem 0 2rem; }

.search { padding: .6rem; }
.seg { display: inline-flex; padding: 4px; background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: 12px; gap: 4px; margin: .4rem .4rem .7rem; }
.seg button { background: none; border: 0; padding: .45rem 1.1rem; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: .9rem; transition: all .2s; }
.seg button.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-hi); }
.seg-lg { margin-top: 1.5rem; }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .5rem; }
.sf { display: flex; flex-direction: column; padding: .55rem .9rem; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid transparent; transition: border-color .2s; }
.sf:focus-within { border-color: var(--accent-1); }
.sf span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.sf input, .sf select { background: none; border: 0; outline: 0; padding: .15rem 0; font-size: .95rem; width: 100%; }
.sf select option { background: var(--bg-2); }
.search-btn { padding-inline: 1.3rem; }
.search-btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }

.trust { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; color: var(--muted); font-size: .92rem; }
.trust b { color: var(--text); }
.avatars { display: flex; }
.avatars i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 600; margin-left: -8px; border: 2px solid var(--bg); background: linear-gradient(135deg, #1e293b, #334155); }
.avatars i:first-child { margin-left: 0; }
.avatars i:last-child { background: var(--grad); color: var(--bg); }

.hero-visual { position: relative; perspective: 1200px; }
.hero-card { padding: 12px; box-shadow: var(--shadow), 0 0 80px -20px rgba(139,92,246,.5); transition: transform .2s ease-out; transform-style: preserve-3d; }
.hc-img { aspect-ratio: 4 / 3; border-radius: 12px; position: relative; }
.hc-body { display: flex; justify-content: space-between; align-items: flex-end; padding: 1.1rem .6rem .6rem; gap: 1rem; }
.hc-body h3 { margin: .3rem 0 .15rem; }
.hc-price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.hc-specs { display: flex; gap: .5rem; padding: 0 .6rem .6rem; }
.hc-specs span { padding: .35rem .7rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.tag { position: absolute; top: 14px; padding: .3rem .7rem; border-radius: 8px; font-size: .75rem; font-weight: 600; backdrop-filter: blur(8px); }
.tag-live { left: 14px; background: rgba(5,7,13,.7); color: var(--success); }
.tag-3d { right: 14px; background: rgba(255,255,255,.9); color: var(--bg); }

.float-chip { position: absolute; padding: 1rem 1.2rem; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.chip-a { left: -50px; top: 42%; width: 190px; }
.chip-a b { font-family: var(--font-head); }
.up { color: var(--success); }
.spark { width: 100%; height: 40px; margin: .4rem 0; }
.spark polyline { fill: none; stroke: url(#none); stroke: var(--accent-1); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--accent-1)); }
.chip-b { right: -30px; top: -28px; display: flex; align-items: center; gap: .8rem; animation-delay: -3s; }
.chip-b b { font-size: .9rem; display: block; }
.chip-b p { font-size: .8rem; }
.ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: conic-gradient(var(--accent-1) 0 98%, var(--surface-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg-2); }
.ring { isolation: isolate; }
.ring::before { z-index: -1; }
@keyframes float { 50% { transform: translateY(-12px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; }
.stats div { padding: 1.8rem 1.5rem; text-align: center; border-right: 1px solid var(--border); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Image with fallback ---------- */
.img {
  background:
    var(--img) center / cover no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280'%3E%3Crect y='230' width='400' height='50' fill='%230b1020'/%3E%3Crect x='70' y='120' width='170' height='110' fill='%23161d33'/%3E%3Crect x='200' y='80' width='140' height='150' fill='%231c2440'/%3E%3Crect x='60' y='112' width='190' height='10' fill='%23263155'/%3E%3Crect x='190' y='72' width='160' height='10' fill='%23263155'/%3E%3Crect x='90' y='145' width='60' height='50' fill='%2322d3ee' opacity='.55'/%3E%3Crect x='160' y='145' width='35' height='85' fill='%238b5cf6' opacity='.5'/%3E%3Crect x='220' y='100' width='100' height='45' fill='%2322d3ee' opacity='.45'/%3E%3Crect x='220' y='160' width='45' height='70' fill='%23fbbf24' opacity='.5'/%3E%3Crect x='275' y='160' width='45' height='40' fill='%2322d3ee' opacity='.35'/%3E%3Crect y='229' width='400' height='2' fill='%2322d3ee' opacity='.3'/%3E%3C/svg%3E") center bottom / 92% auto no-repeat,
    radial-gradient(circle at 30% 20%, rgba(34,211,238,.35), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,.4), transparent 60%),
    #111827;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-1); letter-spacing: .08em; margin-bottom: .8rem; text-transform: uppercase; }

/* ---------- Listings ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .55rem 1.1rem; border-radius: 99px; border: 1px solid var(--border-hi); background: var(--surface); color: var(--muted); cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--accent-1); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.listing {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  animation: cardIn .5s both;
}
.listing::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.listing:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(139,92,246,.45); }
.listing:hover::before { opacity: 1; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.listing-img { aspect-ratio: 16 / 11; position: relative; overflow: hidden; }
.listing-img .img { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.listing:hover .listing-img .img { transform: scale(1.07); }
.listing-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(5,7,13,.85)); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: .3rem .7rem; border-radius: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: rgba(5,7,13,.65); backdrop-filter: blur(8px); border: 1px solid var(--border-hi); }
.badge.hot { background: var(--grad); color: var(--bg); border: 0; }
.fav { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-hi); background: rgba(5,7,13,.55); backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.fav svg { width: 17px; fill: none; stroke: #fff; stroke-width: 2; }
.fav.on svg { fill: #f43f5e; stroke: #f43f5e; }
.fav:hover { transform: scale(1.1); }
.price-tag { position: absolute; left: 16px; bottom: 12px; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; }
.listing-body { padding: 1.1rem 1.2rem 1.3rem; }
.listing-body h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.loc { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.loc svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.specs { display: flex; gap: 1.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.specs b { color: var(--text); font-weight: 600; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }
.empty a { color: var(--accent-1); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(210px, auto); gap: 1.2rem; }
.bento-card { padding: 1.8rem; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.bento-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.bento-card.big { grid-row: span 2; display: flex; flex-direction: column; }
.bento-card h3 { margin: 1.1rem 0 .5rem; }
.bento-card p { color: var(--muted); font-size: .95rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.18)); border: 1px solid var(--border-hi); }
.icon svg { width: 22px; fill: none; stroke: var(--accent-1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bars { margin-top: auto; padding-top: 2rem; display: flex; align-items: flex-end; gap: 10px; height: 200px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent-1), rgba(139,92,246,.25)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(odd) { opacity: .7; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tool { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.range label { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
.range output { color: var(--text); font-family: var(--font-mono); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)) 0 / var(--fill, 50%) 100% no-repeat, var(--surface-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(34,211,238,.3); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(34,211,238,.3); cursor: pointer; }
.result { margin-top: auto; padding: 1.4rem; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--border); display: flex; flex-direction: column; gap: .2rem; }
.result strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1.15; }
.result a { color: var(--accent-1); }
.fld { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { padding: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.form h3 { margin-bottom: .4rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form input, .form select, .form textarea, .fld input, .fld select {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: rgba(0,0,0,.35); border: 1px solid var(--border); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: #5d6579; }
.form input:focus, .form select:focus, .form textarea:focus, .fld input:focus, .fld select:focus { border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(34,211,238,.12); }
select option { background: var(--bg-2); color: var(--text); }
.form textarea { resize: vertical; }
.form-success { color: var(--success); font-weight: 500; text-align: center; }

/* ---------- Sell ---------- */
.sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sell-copy h2 { margin-bottom: 1rem; }
.checks { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .8rem; align-items: center; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgba(52,211,153,.12); color: var(--success); border: 1px solid rgba(52,211,153,.3); }

/* ---------- Process ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.step { padding: 1.8rem 1.5rem; position: relative; }
.step span { display: inline-block; padding: .3rem .6rem; border-radius: 8px; background: var(--grad); color: var(--bg); font-weight: 700; margin-bottom: 1.2rem; }
.step h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-grid blockquote { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.stars { color: #fbbf24; letter-spacing: 3px; }
.quote-grid p { font-size: 1.05rem; }
.quote-grid cite { color: var(--muted); font-style: normal; font-size: .85rem; margin-top: auto; }

/* ---------- Contact ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3.5rem; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--accent-2); filter: blur(140px); opacity: .25; top: -150px; left: -100px; pointer-events: none; }
.cta .form { padding: 0; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; align-items: center; }
.contact-list a:hover { color: var(--accent-1); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid p { margin-top: 1rem; max-width: 280px; }
.footer h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-mono); }
.footer-grid > div > a:not(.logo) { display: block; margin-bottom: .6rem; transition: color .2s; }
.footer-grid > div > a:not(.logo):hover { color: var(--accent-1); }
.copyright { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); color: var(--muted); }

/* ---------- WhatsApp ---------- */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -5px rgba(37,211,102,.6); transition: transform .2s; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 28px; fill: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(2,3,8,.75); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; animation: fade .25s; }
.modal[hidden] { display: none; }
.modal-box { width: min(760px, 100%); max-height: 90vh; overflow: auto; position: relative; background: var(--bg-2); animation: pop .3s cubic-bezier(.2,.8,.2,1); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-hi); background: rgba(5,7,13,.7); font-size: 1.4rem; cursor: pointer; }
.modal-img { aspect-ratio: 16 / 8; }
.modal-content { padding: 1.8rem; }
.modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.modal-top .hc-price { font-size: 1.9rem; }
.modal-content p.desc { color: var(--muted); margin: 1.2rem 0; }
.feature-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.feature-list span { padding: .4rem .8rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; }
.modal-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- Scroll reveal ---------- */
/* Content is always visible; items below the fold just glide up into place */
.reveal.pending { transform: translateY(28px); }
.reveal { transition: transform .9s cubic-bezier(.2,.8,.2,1); }


/* ---------- WhatsApp buttons ---------- */
.btn-whatsapp { background: #25d366; color: #052e16; box-shadow: 0 10px 30px -8px rgba(37,211,102,.55); }
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPing 2.4s infinite; }
@keyframes waPing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Footer office column ---------- */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
.footer-contact p { margin: 0 0 .8rem !important; color: var(--muted); }
.nav-links a.current { color: var(--text); }
.nav-links a.current::after { width: 100%; }

/* ---------- Contact page ---------- */
.page-hero { padding: 150px 0 40px; }
.page-hero .hero-sub { max-width: 620px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.quick { padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; transition: transform .3s, border-color .3s, box-shadow .3s; min-width: 0; }
.quick .icon { margin-bottom: .8rem; }
.quick strong { font-family: var(--font-head); font-size: 1.12rem; overflow-wrap: anywhere; }
.quick .go { margin-top: auto; padding-top: .8rem; color: var(--accent-1); font-size: .88rem; font-weight: 500; }
.quick:hover { transform: translateY(-5px); border-color: var(--accent-1); box-shadow: 0 25px 50px -20px rgba(34,211,238,.4); }
.quick.wa { border-color: rgba(37,211,102,.35); background: linear-gradient(180deg, rgba(37,211,102,.12), rgba(37,211,102,.02)); }
.quick.wa:hover { border-color: #25d366; box-shadow: 0 25px 50px -20px rgba(37,211,102,.5); }
.quick.wa .go { color: #25d366; }
.wa-icon { background: rgba(37,211,102,.15) !important; border-color: rgba(37,211,102,.4) !important; color: #25d366; }

.section.tight { padding: 50px 0; }
.contact-page-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: start; }
.form-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 200px; }
.office { overflow: hidden; }
.map-wrap { aspect-ratio: 16 / 10; background: #111827; border-bottom: 1px solid var(--border); }
.map-wrap { position: relative; overflow: hidden; background:
  radial-gradient(circle at 50% 50%, rgba(34,211,238,.18), transparent 45%),
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 36px 36px,
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 36px 36px, #0d1322; }
.map-wrap::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 14px; background: rgba(255,255,255,.07); transform: rotate(-8deg); }
.map-wrap::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 10px; background: rgba(255,255,255,.06); transform: rotate(14deg); }
.map-fallback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: var(--text); font-weight: 600; }
.map-pin { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 0 40px rgba(34,211,238,.7); display: grid; place-items: center; }
.map-pin::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }
.map-fallback span { padding: .45rem .9rem; border-radius: 10px; background: rgba(5,7,13,.75); border: 1px solid var(--border-hi); font-size: .85rem; }
.map-wrap iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) contrast(.9); }
.office-body { padding: 1.8rem; }
.office-body address { font-style: normal; color: var(--muted); margin: .6rem 0 1rem; line-height: 1.7; }
.office-links { display: flex; flex-direction: column; gap: .3rem; }
.office-links a:hover { color: var(--accent-1); }
.hours-title { margin: 1.5rem 0 .6rem; font-size: 1rem; }
.hours { list-style: none; margin-bottom: 1.5rem; }
.hours li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--border); color: var(--muted); font-size: .92rem; }
.hours b { color: var(--text); font-weight: 500; }

.wa-banner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: 3rem; border-color: rgba(37,211,102,.3); background: radial-gradient(circle at 100% 0%, rgba(37,211,102,.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.wa-banner h2 { margin-bottom: .8rem; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
#waQR { padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 0 60px -10px rgba(37,211,102,.5); min-width: 174px; min-height: 174px; }
#waQR img, #waQR canvas { display: block; }

.faq-wrap { max-width: 820px; }
.faq { padding: 0; margin-bottom: .8rem; }
.faq summary { padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-1); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.5rem 1.3rem; color: var(--muted); }

@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wa-banner { grid-template-columns: 1fr; padding: 2rem 1.4rem; }
  .qr-box { display: none; }
  .page-hero { padding-top: 120px; }
}
@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr; }
}

/* ---------- Google links ---------- */
.reviews-cta { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.5rem; }
.office-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 420px) { .office-actions { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .listing-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,7,13,.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
    padding: 1rem 20px 1.5rem; transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 1rem; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .sf:first-child { grid-column: 1 / -1; }
  .search-btn { grid-column: 1 / -1; padding: .9rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .tools-grid, .sell-grid, .cta { grid-template-columns: 1fr; }
  .sell-grid { gap: 2.5rem; }
  .cta { padding: 2rem 1.4rem; }
  .chip-a { left: -10px; } .chip-b { right: -10px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .listing-grid, .quote-grid, .bento, .timeline { grid-template-columns: 1fr; }
  .bento-card.big { grid-row: auto; }
  .bars { height: 120px; }
  .row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .float-chip { display: none; }
  .stats strong { font-size: 1.9rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { transform: none; }
}
