/* ============================================================
   Doha Ventures — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --bg: #050505;
  --surface: #0c0c0c;
  --surface-raised: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(178, 132, 49, 0.35);
  --heading: #ffffff;
  --accent: #B28431;
  --accent-soft: rgba(178, 132, 49, 0.14);
  --text: #a5a5a5;
  --text-dim: #6f6f6f;

  --font-display: "Newsreader", "Georgia", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1360px;
  --nav-height: 92px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.text-lg { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.text-muted { color: var(--text-dim); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }

.btn-gold {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-gold:hover { background: #c69a4c; transform: translateY(-2px); }
.btn-gold:hover svg { transform: translate(2px, -2px); }

.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline:hover svg { transform: translate(2px, -2px); }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header.no-hero {
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  padding: 0.3rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-link:hover { color: var(--heading); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--heading); transition: all 0.3s var(--ease); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; color: var(--heading); }
.mobile-nav a.is-active { color: var(--accent); }

/* ============ Page Hero (inner pages) ============ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 6rem) 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 1.1rem; max-width: 16ch; }
.page-hero .lede { max-width: 46ch; margin-top: 1.5rem; font-size: 1.05rem; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,5,0.75) 0%, rgba(5,5,5,0.88) 55%, var(--bg) 100%);
  pointer-events: none;
}
.page-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.page-hero .container { position: relative; z-index: 3; }

/* ============ Sections ============ */
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; position: relative; }
.section-border-t { border-top: 1px solid var(--border); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.section-alt { background: var(--surface); }

/* ============ Grids & Cards ============ */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.4rem 2rem;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover { border-color: var(--border-gold); transform: translateY(-4px); background: var(--surface-raised); }

.card-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.card h3 {
  font-size: 1.35rem;
  margin-top: 1.1rem;
  margin-bottom: 0.85rem;
}

.card p { margin: 0; font-size: 0.94rem; line-height: 1.65; }

.card-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 20px; height: 20px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

/* ============ Divider / stat strip ============ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-strip .stat {
  padding: 2.4rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat-strip .stat:first-child { border-left: none; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--heading);
}
.stat .stat-label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }

.split-chars span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.split-chars.in-view span { opacity: 1; transform: translateY(0); }

/* ============ Footer ============ */
.site-footer {
  background: #030303;
  border-top: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand { margin-bottom: 1.3rem; }
.footer-brand p { max-width: 32ch; font-size: 0.92rem; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1.3rem;
}
.footer-col li { margin-bottom: 0.85rem; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: var(--text); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }

.social-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
  color: var(--text);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.95rem 1.1rem;
  color: var(--heading);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  transition: border-color 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }

.interest-group { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.interest-btn {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text);
  background: transparent;
  transition: all 0.3s;
}
.interest-btn.is-active,
.interest-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.85rem; color: var(--text-dim); }
.checkbox-row input { margin-top: 0.2rem; }

/* ============ Utility ============ */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; } .gap-2 { gap: 2rem; }

.cta-banner {
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; }

/* ============ Home Hero (pinned scroll) ============ */
.hero-journey {
  height: 260vh;
  position: relative;
}
.hero-frame {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-layer { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-bg-image.is-active { opacity: 1; }

.hero-canvas { position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(178,132,49,0.12), transparent 60%),
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.72) 60%, var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  color: var(--heading);
  line-height: 1.06;
  max-width: 20ch;
  margin: 0 auto;
}
.hero-title em { color: var(--accent); font-style: italic; }

.hero-sub {
  margin: 1.8rem auto 0;
  max-width: 42ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text);
}

.hero-phase-rail {
  position: absolute;
  bottom: 6.5rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 0 1.5rem;
}
.hero-phase {
  text-align: center;
  opacity: 0.32;
  transition: opacity 0.5s var(--ease);
  max-width: 15rem;
}
.hero-phase.is-active { opacity: 1; }
.hero-phase-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.hero-phase-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--heading);
  margin-top: 0.4rem;
}
.hero-phase-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  display: none;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--accent), transparent); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: cue-fall 1.8s ease-in-out infinite;
}
@keyframes cue-fall { 0% { top: -100%; } 100% { top: 100%; } }

/* ============ Approach — pinned steps ============ */
.pin-section {
  height: 340vh;
  position: relative;
}
.pin-inner {
  height: 100svh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  width: 100%;
  align-items: center;
}

.pin-steps { display: flex; flex-direction: column; gap: 2.6rem; }
.pin-step {
  display: flex;
  gap: 1.4rem;
  opacity: 0.34;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.pin-step.is-active { opacity: 1; }
.pin-step-node {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--text-dim);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background 0.5s var(--ease);
}
.pin-step.is-active .pin-step-node {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.pin-step h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.pin-step p { font-size: 0.92rem; max-width: 34ch; margin: 0; }

.pin-visual {
  position: relative;
  aspect-ratio: 4/3.4;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.pin-visual canvas { position: absolute; inset: 0; }
.pin-visual-label {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 2;
}
.pin-visual-label .num { font-family: var(--font-display); color: var(--accent); font-size: 0.85rem; }
.pin-visual-label .title { font-family: var(--font-display); color: var(--heading); font-size: 1.8rem; margin-top: 0.3rem; }

@media (max-width: 900px) {
  .pin-grid { grid-template-columns: 1fr; }
  .pin-section { height: auto; }
  .pin-inner { height: auto; position: relative; padding: 5rem 0; }
  .pin-visual { order: -1; margin-bottom: 2rem; }
  .pin-step { opacity: 1; }
  .hero-phase-rail { display: none; }
}

/* ============ Pillar rows (Services page) ============ */
.pillar-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.pillar-row:first-child { padding-top: 0; }
.pillar-row:last-child { border-bottom: none; }
.pillar-numeral {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1;
  min-width: 4rem;
}
.pillar-row h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.85rem; }
.pillar-row p { max-width: 56ch; font-size: 0.98rem; }

/* ============ Detail lists (Service Portfolio) ============ */
.service-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.2rem;
}
.service-group h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.detail-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text);
}
.detail-list li:first-child { border-top: none; }
.detail-list li .dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.5rem;
}
.detail-list li strong { color: var(--heading); font-weight: 600; display: block; margin-bottom: 0.2rem; }
.detail-list li span.desc { color: var(--text-dim); font-size: 0.87rem; }

/* ============ Contact page ============ */
.contact-info-row {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.contact-info-row .icon svg { width: 18px; height: 18px; }
.contact-info-row h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.4rem;
}
.contact-info-row p, .contact-info-row a { color: var(--heading); font-size: 0.98rem; margin: 0; }
.contact-info-row a:hover { color: var(--accent); }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  color: var(--accent);
  font-size: 0.88rem;
  display: none;
}
.form-note.is-visible { display: block; }

/* ============ Image cards ============ */
.img-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.img-card:hover img { transform: scale(1.06); }
.img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent 55%);
}
.img-card .cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2n+1) { border-left: none; }
  .stat-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip .stat { border-left: none !important; border-bottom: 1px solid var(--border); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .pillar-row { grid-template-columns: 1fr; gap: 1rem; }
}
