/* ============================================================
   Sports Ville — Premium Landing Page
   Agarwal Realtors Private Limited (Authorized Channel Partner)
   ============================================================ */

:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --gold: #c9a24a;
  --gold-2: #e7c878;
  --gold-soft: #f4e9cf;
  --cream: #f8f5ef;
  --paper: #ffffff;
  --muted: #5b6678;
  --line: #e7e2d6;
  --green: #1f7a4d;
  --shadow: 0 18px 50px -20px rgba(11, 18, 32, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(11, 18, 32, 0.25);
  --radius: 18px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.section-title { font-size: clamp(28px, 4vw, 44px); }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 640px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1306; box-shadow: 0 12px 30px -10px rgba(201, 162, 74, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(201, 162, 74, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfd6e4; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { color: #cfd6e4; transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,122,77,.25); display: inline-block; margin-right: 7px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid; place-items: center; color: #1a1306; font-weight: 800; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.brand .b-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; }
.brand .b-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 4px; }
.brand .b-sub-logo { height: 14px; width: auto; vertical-align: middle; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 12px 20px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/gallery/gn1.jpg") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,12,22,0.92) 0%, rgba(8,12,22,0.78) 38%, rgba(8,12,22,0.35) 70%, rgba(8,12,22,0.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; min-height: calc(100vh - 116px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6);} 70%{ box-shadow: 0 0 0 10px rgba(74,222,128,0);} 100%{ box-shadow: 0 0 0 0 rgba(74,222,128,0);} }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin: 22px 0 18px;
  letter-spacing: -0.03em;
}
.hero h1 .gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: #d7deea; max-width: 560px; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat .num { font-size: 30px; font-weight: 800; color: var(--gold-2); letter-spacing: -0.02em; }
.hero-stat .lbl { font-size: 12.5px; color: #aeb8c9; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Lead card */
.lead-card {
  background: rgba(255,255,255,0.97); color: var(--ink);
  border-radius: 22px; padding: 30px 28px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
}
.lead-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  border-radius: 22px 22px 0 0;
}
.lead-card h3 { font-size: 22px; }
.lead-card .lc-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; margin-bottom: 20px; }
.lead-card .trust { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.lead-card .trust b { color: var(--ink); }

/* ---------- Marquee strip ---------- */
.strip {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff; padding: 16px 0; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.strip .track { display: flex; gap: 56px; white-space: nowrap; animation: scrollx 28s linear infinite; }
.strip .track span { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #c7cfdd; }
.strip .track span i { color: var(--gold-2); }
@keyframes scrollx { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Sections ---------- */
section.block { padding: 86px 0; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.overview-text p { color: #3a4252; margin-top: 18px; font-size: 16.5px; }
.overview-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.overview-points .pt { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.overview-points .pt .ic { flex: 0 0 22px; height: 22px; border-radius: 7px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 12px; }
.overview-media { position: relative; }
.overview-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.overview-media .img-float {
  position: absolute; bottom: -28px; left: -28px; width: 46%;
  border-radius: 14px; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4/3; object-fit: cover;
}
.overview-media .badge-float {
  position: absolute; top: 22px; right: -18px;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  text-align: center;
}
.overview-media .badge-float .n { font-size: 26px; font-weight: 800; color: var(--gold); }
.overview-media .badge-float .t { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Highlights / stats band ---------- */
.stats-band { background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.stat-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 16px; }
.stat-card .ic svg { width: 24px; height: 24px; }
.stat-card .n { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.stat-card .t { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Amenities ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amen-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.amen-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,162,74,0.06), transparent); opacity: 0; transition: opacity .3s; }
.amen-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.amen-card:hover::after { opacity: 1; }
.amen-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 16px; }
.amen-card .ic img { width: 28px; height: 28px; }
.amen-card h4 { font-size: 17px; }
.amen-card p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; }
.gallery .g {
  overflow: hidden; border-radius: 18px; position: relative; cursor: pointer; background: var(--cream);
  box-shadow: 0 8px 24px rgba(8,12,22,0.08); transition: box-shadow .35s var(--ease);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery .g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,12,22,0.6)); opacity: 0; transition: opacity .3s; }
.gallery .g:hover { box-shadow: 0 18px 40px rgba(8,12,22,0.22); }
.gallery .g:hover img { transform: scale(1.08); }
.gallery .g:hover::after { opacity: 1; }
.gallery .g .zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .3s; z-index: 2; }
.gallery .g:hover .zoom { opacity: 1; transform: scale(1); }
.gallery .g.tall { grid-row: span 2; }
.gallery .g.wide { grid-column: span 2; }

/* ---------- Floor plan ---------- */
.floor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.floor-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.floor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.floor-card .ph { background: var(--cream); padding: 18px; display: grid; place-items: center; aspect-ratio: 3/4; }
.floor-card .ph img { max-height: 100%; max-width: 100%; object-fit: contain; }
.floor-card .body { padding: 20px 22px 24px; }
.floor-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.floor-card h4 { font-size: 20px; margin-top: 6px; }
.floor-card .meta { display: flex; gap: 16px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.floor-card .meta span b { color: var(--ink); }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.loc-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.loc-list { display: flex; flex-direction: column; gap: 14px; }
.loc-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s; }
.loc-item:hover { border-color: var(--gold); transform: translateX(4px); }
.loc-item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: 0 0 40px; }
.loc-item .t { font-weight: 700; font-size: 15px; }
.loc-item .d { font-size: 13px; color: var(--muted); }

/* ---------- Specs ---------- */
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; padding: 18px 22px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.spec-row:nth-child(2n) { border-right: 0; }
.spec-row .k { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.spec-row .v { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; background: url("../img/hero/cta-banner.webp") center/cover no-repeat; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,12,22,0.9), rgba(8,12,22,0.6)); }
.cta-band .wrap { position: relative; z-index: 2; padding: 80px 24px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: #d7deea; margin-top: 14px; max-width: 560px; font-size: 17px; }
.cta-band .row { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; align-items: center; }

/* ---------- Why us / channel partner ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; }
.why-card h4 { font-size: 19px; }
.why-card p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* ---------- Contact / final lead ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: 0 0 46px; }
.ci-item .t { font-weight: 700; font-size: 15px; }
.ci-item .d { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.ci-item a.d:hover { color: var(--gold); }

/* ---------- Form ---------- */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,0.15); }
.field textarea { resize: vertical; min-height: 90px; }
.consent { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.form .btn { width: 100%; margin-top: 4px; }
.form-msg { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #e7f5ee; color: var(--green); border: 1px solid #bfe3cf; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f5c6c0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aeb8c9; padding: 64px 0 0; }
.footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer a { color: #aeb8c9; font-size: 14px; transition: color .2s; display: inline-block; margin-bottom: 10px; }
.footer a:hover { color: var(--gold-2); }
.footer .f-brand .mark { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); display: grid; place-items: center; color: #1a1306; font-weight: 800; margin-bottom: 16px; }
.footer .f-brand p { font-size: 14px; max-width: 320px; }
.footer .f-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer .f-bottom .socials { display: flex; gap: 12px; }
.footer .f-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; margin: 0; }
.footer .f-bottom .socials a:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Disclaimer ---------- */
.disclaimer { background: #0e1626; color: #8b95a8; font-size: 12.5px; line-height: 1.7; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.disclaimer b { color: #c7cfdd; }

/* ---------- Floating lead button ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1306;
  border-radius: 999px; padding: 16px 22px; font-weight: 800; font-size: 14px;
  box-shadow: 0 16px 40px -10px rgba(201,162,74,0.6); display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; border: 0; transition: transform .25s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab .ph { width: 18px; height: 18px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .ov { position: absolute; inset: 0; background: rgba(6,10,18,0.7); backdrop-filter: blur(4px); }
.modal .box { position: relative; z-index: 2; width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 32px 30px; box-shadow: var(--shadow); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
.modal .close:hover { border-color: var(--gold); color: var(--gold); }
.modal h3 { font-size: 24px; }
.modal .lc-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; margin-bottom: 20px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; background: rgba(6,10,18,0.92); padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px; transition: background .2s; }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--gold); color: #1a1306; border-color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { padding-top: 50px; padding-bottom: 50px; }
  .overview-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .overview-media .img-float { left: 0; }
  .stats-grid, .amen-grid, .floor-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer .f-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  section.block { padding: 60px 0; }
  .topbar .tb-left .hide-sm, .topbar .tb-right .hide-sm { display: none; }
  .stats-grid, .amen-grid, .floor-grid, .overview-points, .form .row2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .g.wide { grid-column: span 2; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-row { border-right: 0; grid-template-columns: 1fr; gap: 4px; }
  .footer .f-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .fab { padding: 14px 18px; font-size: 13px; }
  .nav-cta .btn-ghost { display: none; }
}
