/* =================================================================
   BlackGold Constructions — Design System
   Spec: BlackGold Website Brief v1.0 §3, §8
   ================================================================= */

/* -----------------------------------------------------------------
   1. TOKENS
   ----------------------------------------------------------------- */
:root {
  /* Colors — §3.3 */
  --black: #0A0A0A;
  --off-white: #F8F6F1;
  --gold: #C9A961;
  --gold-deep: #8B6F2F;
  --champagne: #E8DDC3;
  --charcoal: #1A1A1A;
  --soft-white: #F0EDE6;
  --warm-gray: #6B6157;
  --faint-gold: rgba(212, 201, 168, 0.3);
  --success: #2D5240;
  --error: #8B2C1F;

  /* Typography — §3.4 */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;

  /* Spacing — §8.1 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;
  --space-3xl: 160px;

  /* Layout */
  --max-w: 1536px;
  --pad-x: clamp(20px, 5vw, 80px);
  --radius: 0;

  /* Transition */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
  --t-slow: 300ms ease;
}

/* -----------------------------------------------------------------
   2. RESET
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* Body modifier for RTL/Urdu */
body[dir="rtl"] { font-family: var(--font-urdu); line-height: 1.9; }
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3, body[dir="rtl"] h4 { font-family: var(--font-urdu); font-weight: 700; }

/* -----------------------------------------------------------------
   3. TYPOGRAPHY — §3.4
   ----------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
h1 { font-size: clamp(40px, 5.5vw, 80px); line-height: 1.08; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; }
h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; line-height: 1.4; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

.lead { font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--warm-gray); }
.muted { color: var(--warm-gray); }
.gold-text { color: var(--gold); }
.gold-italic { font-style: italic; color: var(--gold); }
.serif { font-family: var(--font-display); }

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.4;
  color: var(--charcoal);
  border-left: 2px solid var(--gold);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
}

/* -----------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-2xl) 0; }
.section-dark { background: var(--black); color: var(--soft-white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--soft-white); }
.section-cream { background: var(--off-white); }
.section-champagne { background: var(--champagne); }

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .section-lg { padding: var(--space-2xl) 0; }
}

.row { display: grid; gap: var(--space-lg); }
.row-2 { grid-template-columns: 1fr; }
.row-3 { grid-template-columns: 1fr; }
.row-4 { grid-template-columns: 1fr 1fr; }
.row-2-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .row { gap: var(--space-xl); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .row-3 { grid-template-columns: repeat(3, 1fr); }
  .row-4 { grid-template-columns: repeat(4, 1fr); }
  .row-2-3 { grid-template-columns: 2fr 3fr; }
}
.row-split-50 { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 900px) { .row-split-50 { grid-template-columns: 1fr 1fr; gap: 64px; } }

.stack-md > * + * { margin-top: var(--space-md); }
.stack-lg > * + * { margin-top: var(--space-lg); }
.stack-xl > * + * { margin-top: var(--space-xl); }

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.max-prose { max-width: 64ch; }
.max-headline { max-width: 22ch; }

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--faint-gold), transparent);
  border: 0;
  margin: 0;
}

/* -----------------------------------------------------------------
   5. BUTTONS — §8.2
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-base);
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 48px;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-deep); color: var(--off-white); }

.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-outline-dark { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--off-white); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color var(--t-base);
}
.btn-text:hover { color: var(--charcoal); }

.btn-arrow::after {
  content: "→";
  transition: transform var(--t-base);
  font-family: var(--font-body);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* On mobile, hero CTAs go full width */
@media (max-width: 640px) {
  .btn-hero-stack { flex-direction: column; align-items: stretch; }
  .btn-hero-stack .btn { width: 100%; justify-content: center; }
}

/* -----------------------------------------------------------------
   6. HEADER — §10.1
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.12);
  transition: padding var(--t-base);
  color: var(--soft-white);
}
.site-header.is-scrolled { padding-block: 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 88px;
  transition: height var(--t-base);
  max-width: 1760px;
}
.site-header.is-scrolled .container { height: 72px; }

.site-header .logo { color: var(--off-white); flex-shrink: 0; }
.site-header .logo svg { height: 44px; width: auto; }
.site-header.is-scrolled .logo svg { height: 38px; }
.site-header .logo img { height: 48px; width: auto; display: block; }
.site-header.is-scrolled .logo img { height: 42px; }
@media (max-width: 480px) { .site-header .logo img { height: 40px; } }
.footer-col .logo img { height: 56px; width: auto; display: block; }

.nav-primary { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-primary { display: flex; } }
.nav-primary a {
  display: inline-block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--soft-white);
  position: relative;
  transition: color var(--t-base);
}
.nav-primary a:hover, .nav-primary a.is-active { color: var(--gold); }
.nav-primary a.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: var(--space-md); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201, 169, 97, 0.3);
  padding: 4px;
}
.lang-switch button {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--soft-white);
  opacity: 0.6;
  transition: opacity var(--t-base), background var(--t-base);
}
.lang-switch button.is-active { background: var(--gold); color: var(--black); opacity: 1; }
.lang-switch button:hover { opacity: 1; }

.header-wa {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--t-base), color var(--t-base);
}
.header-wa:hover { background: var(--gold); color: var(--black); }
@media (min-width: 768px) { .header-wa { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--soft-white);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  padding: 96px var(--pad-x) var(--space-xl);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--soft-white);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  transition: color var(--t-base);
}
.mobile-menu a:hover, .mobile-menu a.is-active { color: var(--gold); }
.mobile-menu .menu-cta { margin-top: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); }

/* -----------------------------------------------------------------
   7. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--soft-white);
  overflow: hidden;
  isolation: isolate;
}
.hero-compact { min-height: 52vh; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 97, 0.18), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(139, 111, 47, 0.12), transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 97, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.6));
}
.hero .container { padding-block: var(--space-2xl); position: relative; z-index: 1; }

.hero h1 { color: var(--soft-white); max-width: 16ch; font-size: clamp(40px, 6.5vw, 96px); }
.hero .lead { color: var(--soft-white); opacity: 0.8; max-width: 56ch; font-size: clamp(16px, 1.7vw, 22px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* -----------------------------------------------------------------
   8. SECTIONS
   ----------------------------------------------------------------- */
.section-head { max-width: 56ch; margin-bottom: var(--space-xl); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head .lead { margin-top: var(--space-md); }

/* Positioning strip — center quote on dark */
.positioning-strip {
  background: var(--black);
  color: var(--soft-white);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}
.positioning-strip p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 auto;
}
.positioning-strip p span { color: var(--gold); font-style: italic; }

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); } }
.stat { text-align: center; padding: var(--space-md) 0; }
@media (min-width: 768px) { .stat { text-align: left; } }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: var(--space-sm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.section-dark .stat-label { color: var(--soft-white); opacity: 0.7; }

/* -----------------------------------------------------------------
   9. CARDS — §8.3
   ----------------------------------------------------------------- */
.card {
  background: var(--off-white);
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.08);
  transition: box-shadow var(--t-slow), transform var(--t-slow), border-color var(--t-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 10px 30px rgba(10, 10, 10, 0.15); transform: translateY(-2px); }
.card-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.card-meta { font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.card-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.3; color: var(--charcoal); }
.card-desc { color: var(--warm-gray); font-size: 15px; }
.card-link { margin-top: auto; padding-top: var(--space-md); }

/* Card on dark sections */
.section-dark .card { background: rgba(248, 246, 241, 0.04); color: var(--soft-white); border: 1px solid rgba(201, 169, 97, 0.15); }
.section-dark .card:hover { border-color: rgba(201, 169, 97, 0.5); background: rgba(248, 246, 241, 0.06); }
.section-dark .card-title { color: var(--soft-white); }
.section-dark .card-desc { color: var(--soft-white); opacity: 0.75; }

/* Numbered card (Why / Process) */
.num-card { padding: var(--space-lg); border: 1px solid var(--faint-gold); background: transparent; transition: border-color var(--t-base), background var(--t-base); }
.num-card:hover { border-color: var(--gold); background: rgba(201, 169, 97, 0.04); }
.num-card .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.num-card h3 { margin-top: var(--space-md); font-size: 22px; }
.num-card p { margin-top: var(--space-sm); color: var(--warm-gray); }
.section-dark .num-card { border-color: rgba(201, 169, 97, 0.2); }
.section-dark .num-card:hover { border-color: var(--gold); background: rgba(201, 169, 97, 0.06); }
.section-dark .num-card p { color: var(--soft-white); opacity: 0.75; }

/* -----------------------------------------------------------------
   10. IMAGE PLACEHOLDERS (no real photos yet)
   ----------------------------------------------------------------- */
.img-placeholder {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 60%, #1a1a1a 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-lg);
  overflow: hidden;
  isolation: isolate;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 169, 97, 0.2);
  z-index: -1;
}
.img-placeholder span { line-height: 1.6; max-width: 28ch; opacity: 0.85; }
.img-placeholder small { display: block; font-size: 9px; opacity: 0.5; margin-top: 8px; letter-spacing: 0.3em; }

.img-4-3 { aspect-ratio: 4 / 3; }
.img-3-4 { aspect-ratio: 3 / 4; }
.img-16-9 { aspect-ratio: 16 / 9; }
.img-1-1 { aspect-ratio: 1 / 1; }
.img-21-9 { aspect-ratio: 21 / 9; }

/* -----------------------------------------------------------------
   11. SERVICE CARDS (Homepage 2-col)
   ----------------------------------------------------------------- */
.service-card {
  background: var(--off-white);
  border: 1px solid var(--faint-gold);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(10, 10, 10, 0.08); }
.service-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
}
.service-card h3 { font-size: clamp(24px, 2.5vw, 32px); }
.service-card p { color: var(--warm-gray); }
.service-card .note {
  font-size: 14px;
  color: var(--warm-gray);
  font-style: italic;
  padding: var(--space-md);
  background: rgba(201, 169, 97, 0.06);
  border-left: 2px solid var(--gold);
}

/* Service block (Services page) — alternating layout */
.service-block { padding: var(--space-xl) 0; }
.service-block + .service-block { border-top: 1px solid var(--faint-gold); }
.service-block .row-split-50 { gap: var(--space-xl); }
@media (min-width: 900px) {
  .service-block.reverse .row-split-50 > :first-child { order: 2; }
}

/* Inclusion checklist */
.checklist { display: grid; gap: 12px; margin-top: var(--space-md); }
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--charcoal);
}
.checklist .icon { color: var(--gold); margin-top: 4px; }
.checklist.is-negative .icon { color: var(--error); opacity: 0.7; }

.compare-grid { display: grid; gap: var(--space-lg); margin-top: var(--space-lg); }
@media (min-width: 768px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-block { padding: var(--space-lg); background: var(--off-white); border: 1px solid var(--faint-gold); }
.compare-block.is-negative { border-color: rgba(139, 44, 31, 0.2); background: rgba(139, 44, 31, 0.02); }
.compare-block h4 { font-size: 18px; font-weight: 500; margin-bottom: var(--space-md); }

/* -----------------------------------------------------------------
   12. PROCESS STAGES
   ----------------------------------------------------------------- */
.process-stage {
  padding: var(--space-xl) 0;
}
.process-stage + .process-stage { border-top: 1px solid var(--faint-gold); }
.process-stage .stage-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 144px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--gold);
  opacity: 0.85;
  letter-spacing: -0.04em;
  font-style: italic;
}
.process-stage h3 { font-size: clamp(28px, 3vw, 36px); margin-top: var(--space-sm); }
.process-stage p { margin-top: var(--space-md); color: var(--warm-gray); max-width: 50ch; }
@media (min-width: 900px) {
  .process-stage.reverse .row-split-50 > :first-child { order: 2; }
}

/* Timeline table */
.timeline-table { margin-top: var(--space-xl); border-top: 1px solid var(--faint-gold); }
.timeline-table dl { display: grid; grid-template-columns: 1fr; }
.timeline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--faint-gold);
  align-items: baseline;
}
.timeline-row dt { font-size: 15px; }
.timeline-row dd { font-family: var(--font-display); font-size: 18px; color: var(--gold-deep); white-space: nowrap; }
.timeline-row.is-total { background: rgba(201, 169, 97, 0.06); padding: var(--space-md); margin: 0 calc(-1 * var(--space-md)); }
.timeline-row.is-total dt { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.timeline-row.is-total dd { font-size: 22px; color: var(--gold-deep); }

/* -----------------------------------------------------------------
   13. PROJECTS GRID
   ----------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--faint-gold);
  border-bottom: 1px solid var(--faint-gold);
}
.filter-group { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.filter-group .label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray); margin-right: 4px; }
.filter-chip {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--faint-gold);
  background: transparent;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip.is-active { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }

.projects-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); } }

.project-card { position: relative; }
.project-card .badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  background: var(--black);
  color: var(--gold);
}
.project-card .badge.sold { background: var(--charcoal); color: var(--off-white); }
.project-card .badge.available { background: var(--gold); color: var(--black); }

.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--pad-x);
  color: var(--warm-gray);
  display: none;
}
.empty-state.is-visible { display: block; }

/* Projects sections (Ready for Sale / Building Now / Completed) */
.projects-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--faint-gold);
  border-bottom: 1px solid var(--faint-gold);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.projects-jumps a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  color: var(--charcoal);
  border: 1px solid var(--faint-gold);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
  text-transform: uppercase;
  font-weight: 600;
}
.projects-jumps a .pill {
  display: inline-block;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  padding: 0 7px;
  background: var(--charcoal);
  color: var(--off-white);
  font-size: 11px;
  line-height: 22px;
  text-align: center;
  letter-spacing: 0;
}
.projects-jumps a:hover { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
.projects-jumps a:hover .pill { background: var(--gold); color: var(--black); }

.projects-section {
  padding: var(--space-2xl) 0 var(--space-xl);
  scroll-margin-top: 96px;
}
.projects-section + .projects-section { border-top: 1px solid var(--faint-gold); }
.projects-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.projects-section-head .lead { max-width: 50ch; margin-top: 8px; font-size: 16px; }
.section-count {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* "Between projects" announcement card */
.announce-card {
  padding: var(--space-xl);
  border: 1px dashed var(--gold);
  background: rgba(201, 169, 97, 0.05);
  text-align: center;
}
.announce-card .pulse-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-deep);
}
.announce-card .pulse-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease-in-out infinite;
}
.announce-card h3 { margin-top: 12px; font-size: 26px; max-width: 22ch; margin-inline: auto; }
.announce-card p { margin-top: 12px; color: var(--warm-gray); max-width: 48ch; margin-inline: auto; }
.announce-card .ctas { margin-top: var(--space-lg); display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* "Building Now" progress meter */
.progress-card { position: relative; }
.progress-meter {
  display: flex; align-items: center; gap: 12px;
  margin-top: var(--space-sm);
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray);
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(201, 169, 97, 0.15);
  position: relative; overflow: hidden;
}
.progress-bar::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--p, 50%);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}

/* Image frame — used when a real <img> is present; falls back to placeholder pattern if image 404s */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 60%, #1a1a1a 100%);
  isolation: isolate;
}
.img-frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
.img-frame img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--t-slow);
}
.img-frame:hover img { transform: scale(1.02); }
.img-frame .caption {
  position: absolute;
  bottom: 12px; left: 12px;
  z-index: 2;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  color: var(--soft-white);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Verifiable Trust strip */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--faint-gold);
  border-bottom: 1px solid var(--faint-gold);
}
.trust-strip .trust-grid {
  display: grid; gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .trust-strip .trust-grid { grid-template-columns: 1fr 2fr; gap: var(--space-2xl); } }
.trust-strip ol {
  list-style: none;
  display: grid; gap: var(--space-md);
  counter-reset: trust;
}
.trust-strip li {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: flex-start;
  counter-increment: trust;
}
.trust-strip li::before {
  content: counter(trust, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-deep);
  line-height: 1.2;
  padding-top: 2px;
}
.trust-strip li strong { grid-column: 2; display: block; font-weight: 600; color: var(--charcoal); font-size: 16px; margin-bottom: 2px; }
.trust-strip li span { grid-column: 2; color: var(--warm-gray); font-size: 15px; line-height: 1.6; }

/* Redesigned verify cards (2x2) */
.verify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) { .verify-grid { grid-template-columns: 1fr 1fr; } }
.verify-card {
  position: relative;
  padding: var(--space-lg);
  background: #fff;
  border: 1px solid var(--faint-gold);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.verify-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 34px -18px rgba(10,10,10,0.18);
  transform: translateY(-3px);
}
.verify-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 10px;
}
.verify-card h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.verify-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--warm-gray);
}

/* Founder signature */
.signature {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
}
.signature-sm { font-size: clamp(34px, 4vw, 48px); }

/* Innovation list (What's Next page) */
.innovation-list {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .innovation-list { grid-template-columns: 1fr 1fr; } }
.innovation-list .innov-item {
  padding: var(--space-lg);
  border: 1px solid var(--faint-gold);
  background: var(--off-white);
  transition: border-color var(--t-base), background var(--t-base);
}
.innovation-list .innov-item:hover { border-color: var(--gold); background: rgba(201, 169, 97, 0.04); }
.innovation-list .innov-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--gold);
  margin-bottom: 14px;
}
.innovation-list h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.innovation-list p { margin-top: 8px; color: var(--warm-gray); font-size: 14px; line-height: 1.6; }

/* Roadmap timeline (vertical, years on left) */
.roadmap { margin-top: var(--space-xl); }
.roadmap-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--faint-gold);
  align-items: flex-start;
}
.roadmap-year {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}
.roadmap-now { display: inline-block; margin-top: 4px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold-deep); padding: 2px 6px; }
.roadmap-row h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.roadmap-row p { margin-top: 6px; color: var(--warm-gray); font-size: 15px; line-height: 1.6; max-width: 60ch; }

/* What's Next teaser on Home */
.next-teaser {
  background: var(--black);
  color: var(--soft-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.next-teaser::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201, 169, 97, 0.2), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(139, 111, 47, 0.12), transparent 50%);
}
.next-teaser .row-split-50 { gap: var(--space-xl); }
.next-teaser h2 { color: var(--soft-white); }
.next-teaser .big-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #E8DDC3, #C9A961 50%, #8B6F2F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.next-teaser .big-label { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

/* -----------------------------------------------------------------
   14. CONTACT
   ----------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 64px; } }

.contact-details { list-style: none; display: grid; gap: var(--space-lg); }
.contact-details li { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-md); align-items: flex-start; }
.contact-details .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--gold);
}
.contact-details .label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray); }
.contact-details .value { font-family: var(--font-display); font-size: 20px; color: var(--charcoal); margin-top: 2px; display: block; }
.contact-details a.value:hover { color: var(--gold-deep); }
.contact-details .sub { font-size: 14px; color: var(--warm-gray); margin-top: 2px; }

/* Form */
.contact-form {
  background: var(--off-white);
  border: 1px solid var(--faint-gold);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1px solid var(--faint-gold);
  background: white;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color var(--t-base);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg { color: var(--error); font-size: 13px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .error-msg { display: block; }
.form-status { padding: var(--space-md); display: none; font-size: 14px; }
.form-status.is-success { display: block; color: var(--success); background: rgba(45, 82, 64, 0.08); border-left: 2px solid var(--success); }
.form-status.is-error { display: block; color: var(--error); background: rgba(139, 44, 31, 0.06); border-left: 2px solid var(--error); }

.consent-note { font-size: 13px; color: var(--warm-gray); }

.map-embed { aspect-ratio: 21 / 9; min-height: 360px; border: 1px solid var(--faint-gold); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -----------------------------------------------------------------
   15. CONTACT BAND (CTA strip)
   ----------------------------------------------------------------- */
.cta-band {
  background: var(--black);
  color: var(--soft-white);
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.18), transparent 70%);
  z-index: -1;
}
.cta-band h2 { color: var(--soft-white); max-width: 22ch; margin: 0 auto; }
.cta-band p { margin-top: var(--space-md); color: var(--soft-white); opacity: 0.8; }
.cta-band .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }

/* -----------------------------------------------------------------
   16. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--soft-white);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.footer-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer-col .logo svg { height: 48px; color: var(--soft-white); }
.footer-col .blurb { margin-top: var(--space-md); font-size: 14px; color: var(--soft-white); opacity: 0.75; max-width: 28ch; line-height: 1.6; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col li a {
  color: var(--soft-white); opacity: 0.8;
  font-size: 14px;
  transition: color var(--t-base), opacity var(--t-base);
}
.footer-col li a:hover { color: var(--gold); opacity: 1; }
.footer-contact { display: grid; gap: 8px; font-size: 14px; color: var(--soft-white); opacity: 0.8; line-height: 1.6; }
.footer-contact strong { color: var(--soft-white); font-weight: 500; opacity: 1; display: block; }
.socials { display: flex; gap: var(--space-sm); margin-top: var(--space-sm); }
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--gold);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.socials a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(201, 169, 97, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md);
  font-size: 12px; color: var(--soft-white); opacity: 0.5;
}
.footer-bottom a:hover { color: var(--gold); opacity: 1; }
.footer-bottom .legal { display: flex; gap: var(--space-md); }

/* -----------------------------------------------------------------
   17. FLOATING WHATSAPP — §10.2
   ----------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--t-base);
}
@media (min-width: 768px) { .wa-float { width: 60px; height: 60px; bottom: 32px; right: 32px; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: wa-pulse 5s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: scale(1.6); opacity: 0; }
}
.wa-float svg { width: 28px; height: 28px; }

/* -----------------------------------------------------------------
   18. COOKIE BANNER — §10.4
   ----------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  background: var(--black);
  color: var(--soft-white);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(201, 169, 97, 0.3);
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 14px;
}
.cookie-banner[data-visible="true"] { display: flex; }
.cookie-banner p { flex: 1 1 260px; opacity: 0.85; line-height: 1.5; }
.cookie-banner .cookie-actions { display: flex; gap: var(--space-sm); align-items: center; }
.cookie-banner .btn-mini {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
}
.cookie-banner .btn-mini:hover { background: var(--gold-deep); color: var(--off-white); }
.cookie-banner .text-link { color: var(--soft-white); opacity: 0.6; text-decoration: underline; text-underline-offset: 4px; }

/* -----------------------------------------------------------------
   19. ANIMATIONS — §8.5
   ----------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -----------------------------------------------------------------
   20. UTILITIES
   ----------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* -----------------------------------------------------------------
   21. LARGE-SCREEN SCALING — fill big monitors gracefully
   ----------------------------------------------------------------- */
@media (min-width: 1440px) {
  .section { padding: 96px 0; }
  .section-lg { padding: 128px 0; }
  .hero { min-height: 90vh; }
  .hero .container { padding-block: var(--space-3xl); }
  body { font-size: 17px; }
}
@media (min-width: 1920px) {
  :root { --max-w: 1680px; }
  .site-header .container { max-width: 1880px; }
  .section-lg { padding: 152px 0; }
  body { font-size: 18px; }
}
@media (min-width: 2400px) {
  :root { --max-w: 1880px; }
}

/* Safety: never let a grid/flex child force horizontal overflow */
.row > *, .row-split-50 > *, .projects-grid > *, .footer-grid > * { min-width: 0; }
img, svg, iframe { max-width: 100%; }
