/* =========================================================
   Bharti Real Estate Consultancy — Design Tokens
   Logo palette: deep indigo, near-black navy, bright sapphire blue, black + white.
   Signature: the logo's concentric-ring geometry, reused as a structural motif
   (arcs, ticked process line, asymmetric single-corner surfaces) rather than
   decoration. See design-system/bharti-real-estate-consultancy/MASTER.md
   ========================================================= */

:root {
  --color-primary: #050318;      /* near-black navy, rich dark base */
  --color-primary-light: #0E0C33;
  --color-on-primary: #FFFFFF;
  --color-accent: #0075CE;       /* sapphire blue from the logo's right rings */
  --color-accent-light: #4FA8FF; /* lighter blue tint — hover/highlights */
  --color-accent-dark: #192069;  /* deep indigo from the logo's left rings — backgrounds/borders/gradient only, too dark for small text */
  --gradient-accent: linear-gradient(135deg, #4FA8FF 0%, #0075CE 55%, #192069 100%);
  --color-background: #050318;   /* fully dark — same base as primary, no light bands */
  --color-surface: #0E0C33;      /* raised dark navy panel/card */
  --color-foreground: #F2F1F8;   /* near-white body text, cool cast to match navy */
  --color-muted: #12112E;
  --color-muted-foreground: #9A98B8;
  --color-border: #1E1D45;
  --color-destructive: #DC2626;
  --color-ring: #0075CE;
  --color-whatsapp: #25D366;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: clamp(4.5rem, 4rem + 4vw, 8rem);

  --shadow-sm: 0 1px 2px rgba(1, 1, 8, 0.35);
  --shadow-md: 0 4px 10px rgba(1, 1, 8, 0.4);
  --shadow-lg: 0 14px 32px rgba(1, 1, 8, 0.5);
  --shadow-xl: 0 24px 56px rgba(1, 1, 8, 0.6);
  --shadow-accent: 0 8px 20px rgba(0, 117, 206, 0.3);

  /* Asymmetric single-corner radius — an architectural/instrument signature,
     not the uniform pill/rounded-everything look. One corner takes the full
     arc, the rest stay sharp. */
  --corner-sm: 2px 2px 2px 14px;
  --corner-md: 3px 3px 3px 28px;
  --corner-lg: 4px 4px 4px 56px;

  --font-display: "Piazzolla", Georgia, serif;
  --font-heading: "Piazzolla", Georgia, serif;
  --font-body: "Karla", system-ui, -apple-system, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", monospace;

  --header-h: 80px;
}

/* ============ Reset ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Subtle film-grain overlay across the whole page — adds tactile depth to
   large flat navy fields without any of the flagged "AI slop" gradient-glow
   patterns; barely perceptible, reads as print/editorial quality. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 2px;
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2 { font-family: var(--font-display); margin: 0; line-height: 1.1; }
h3 { font-family: var(--font-heading); margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; border: none; background: none; }

/* Small mono labels — registry/reference-style annotations, used sparingly */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
  padding-left: 1.4em;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1em;
  height: 1px;
  background: currentColor;
}
.eyebrow.center { text-align: center; padding-left: 0; }
.eyebrow.center::before { display: none; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--color-accent-light); }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-on-primary);
  margin-bottom: var(--space-md);
}
.section-title.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--color-muted-foreground);
  max-width: 640px;
}
.section-sub.center { margin: 0 auto var(--space-3xl); text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 13px 26px;
  border-radius: var(--corner-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-primary);
  border: 1px solid var(--color-accent);
}
.btn-accent:hover { transform: translateY(-1px); background: var(--color-accent-light); border-color: var(--color-accent-light); box-shadow: var(--shadow-accent); }

.btn-primary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-on-primary);
}
.btn-primary:hover { border-color: var(--color-on-primary); background: rgba(255, 255, 255, 0.06); }

.btn-ghost {
  background: transparent;
  color: var(--color-on-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: var(--color-on-primary); background: rgba(255, 255, 255, 0.06); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border: 1px solid var(--color-whatsapp);
  margin-top: var(--space-lg);
  border-radius: var(--corner-sm);
}
.btn-whatsapp:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-lg { padding: 16px 30px; font-size: 0.85rem; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 3, 24, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 250ms ease, box-shadow 250ms ease;
}
.site-header.scrolled {
  background: rgba(5, 3, 24, 0.85);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-mark,
.footer-brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-on-primary);
  padding: 5px;
  box-shadow: var(--shadow-md);
}
.brand-mark img,
.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 3.6vw, 1.2rem);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.main-nav {
  display: none;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.main-nav a { position: relative; padding: 4px 0; cursor: pointer; }
.main-nav a:hover { color: var(--color-accent-light); }

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

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  margin: 0 auto;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: 0 24px;
  background: #050318;
  border-bottom: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}
.mobile-nav.open {
  max-height: 400px;
  padding: var(--space-xl) 24px var(--space-2xl);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.mobile-nav a { font-weight: 500; font-size: 1.05rem; cursor: pointer; color: rgba(255,255,255,0.9); }
.mobile-nav .btn { align-self: flex-start; }

/* ============ Hero — editorial split: type on solid navy, photo as a
   fading contained panel, not a generic full-bleed photo-behind-everything ============ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--color-primary);
  padding: 150px 0 120px;
}
.hero-bg {
  display: none;
}
@media (min-width: 900px) {
  .hero-bg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46vw, 680px);
    background-image:
      linear-gradient(180deg, rgba(5,3,24,0.35) 0%, rgba(5,3,24,0.55) 100%),
      url("../assets/images/hero-skyline.jpg");
    background-size: cover;
    background-position: center 60%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%);
    mask-image: linear-gradient(90deg, transparent 0%, black 22%);
    will-change: transform;
  }
}

/* Signature arc motif — drawn from the logo's own concentric-ring geometry,
   used as a structural graphic rather than a generic gradient glow. */
.arc-spin {
  transform-origin: 320px 320px;
  animation: arc-spin 140s linear infinite;
}
@keyframes arc-spin {
  to { transform: rotate(360deg); }
}

/* Hero signature: a scanning line sweeps around while the logo fades into
   being, holds fully formed, fades back out, and repeats — rather than a
   plain ambient rotation. Driven by GSAP in main.js animating plain opacity +
   rotation on real elements (no mask-image, no CSS @property — both proved
   unreliable across browsers), so this CSS just sets the static fully-formed
   look as the default/no-JS fallback. */
.hero-arcs-group {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  z-index: 1;
  pointer-events: none;
}
.hero-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-arcs circle {
  fill: none;
  transform-origin: 320px 320px;
}
.hero-arcs-dim { opacity: 0.16; }
.hero-scan-line line {
  transform-origin: 320px 320px;
  opacity: 0;
  filter: drop-shadow(0 0 6px var(--color-accent-light)) drop-shadow(0 0 14px rgba(79, 168, 255, 0.5));
}

.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 600px; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
  padding-left: 1.5em;
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1.1em;
  height: 1px;
  background: currentColor;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: var(--space-md);
  color: var(--color-on-primary);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-2xl); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
}

/* ============ Stats (ledger row) ============ */
.stats-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-md) var(--space-lg);
  border-left: 1px solid var(--color-border);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* ============ Services ============ */
.services { padding: var(--space-section) 0; }
.services-ledger {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
}
.service-row {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform 220ms ease;
}
.service-row:hover { transform: translateX(0.5rem); }
.service-mark {
  flex-shrink: 0;
  display: block;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  color: var(--color-accent);
  transition: color 220ms ease, transform 220ms ease;
}
.service-row:hover .service-mark { color: var(--color-accent-light); transform: rotate(90deg); }
.service-mark svg { width: 100%; height: 100%; display: block; }
.service-row h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-on-primary);
  margin-bottom: 6px;
}
.service-row p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
  max-width: 42ch;
}

/* ============ Process (timeline) ============ */
.process { padding: var(--space-section) 0; background: var(--color-surface); }

.process-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

/* Ticked "ruler" line — measured milestones, not a smooth progress bar */
.process-line {
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  height: auto;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 9px);
  overflow: hidden;
  z-index: 0;
}
.process-line-fill {
  width: 100%;
  height: 0%;
  background: repeating-linear-gradient(180deg, var(--color-accent) 0 2px, transparent 2px 9px);
}

.process-step {
  position: relative;
  z-index: 1;
  padding-left: 60px;
}
.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  color: var(--color-accent-light);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-on-primary);
  margin-bottom: 6px;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--color-muted-foreground);
}

/* ============ Why Us (photo background) ============ */
.why-us {
  position: relative;
  color: #fff;
  padding: var(--space-section) 0;
  overflow: hidden;
}
.why-us-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 120%;
  background-image:
    linear-gradient(120deg, rgba(0,0,0,0.94) 20%, rgba(0,0,0,0.75) 100%),
    url("../assets/images/why-us-skyline.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.why-us .container { position: relative; z-index: 1; }
.why-us .eyebrow { color: var(--color-accent-light); }
.why-us .section-title { color: #fff; }
.why-us .section-sub { color: rgba(255,255,255,0.75); margin-bottom: var(--space-xl); }

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.why-us-grid > * { min-width: 0; }

.strengths-list { display: flex; flex-direction: column; }
.strengths-list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.strengths-list .check {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.why-us-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--corner-lg);
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow-xl);
}
.badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: #fff;
}
.badge-rule {
  width: 48px;
  height: 1px;
  background: var(--color-accent-light);
  margin: 0.4rem 0;
}
.badge-caption { color: rgba(255,255,255,0.72); font-size: 0.95rem; max-width: 260px; }

/* ============ About ============ */
.about { padding: var(--space-section) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-copy { max-width: 620px; }
.about-text {
  color: var(--color-muted-foreground);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.about-seal { display: flex; justify-content: center; }
.seal-mark {
  width: min(220px, 60vw);
  height: min(220px, 60vw);
  color: var(--color-accent-light);
  transform: rotate(-6deg);
  opacity: 0.92;
}
.seal-mark text {
  font-family: var(--font-mono);
}
.seal-mark text:last-of-type {
  font-family: var(--font-display);
}

/* ============ Leadership ============ */
.leadership { padding: var(--space-section) 0; }
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.leader-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--corner-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-xl);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.35);
}
.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.leader-info {
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  text-align: center;
}
.leader-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-on-primary);
  margin-bottom: 4px;
}
.leader-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

/* ============ Team ============ */
.team { padding: var(--space-section) 0; background: var(--color-surface); overflow: hidden; }

.team-marquee {
  margin-top: var(--space-2xl);
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.team-track {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  width: max-content;
  padding: 0 24px;
  animation: team-scroll var(--marquee-duration, 32s) linear infinite;
}

@keyframes team-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.team-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 240px;
}
.team-photo {
  position: relative;
  width: 240px;
  height: 300px;
  border-radius: var(--corner-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}
/* Jay's photo has much less headroom above his head than the others, so the
   default centered crop was cutting into his hairline — anchor the crop
   window higher so it clears his head instead of splitting the difference. */
.team-photo-align-jay img {
  object-position: 50% 20%;
}
/* Ram reads smaller/further-back than Jay and Anshul at the default crop —
   zoom in on his face to match their tighter framing. */
.team-photo-zoom-ram img {
  transform: scale(1.18);
  transform-origin: 50% 20%;
}
/* Mahindra's photo was also shot from further back — same fix as Ram's. */
.team-photo-zoom-mahindra img {
  transform: scale(1.2);
  transform-origin: 50% 19%;
}
.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-on-primary);
  margin-bottom: 2px;
}
.team-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

@media (prefers-reduced-motion: reduce) {
  .team-track { animation: none; }
}

/* ============ CTA Banner (photo background) ============ */
.cta-banner {
  position: relative;
  padding: var(--space-section) 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-banner-arcs {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 820px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: var(--space-md);
}
.cta-banner p { color: rgba(255,255,255,0.72); margin-bottom: var(--space-xl); }

/* ============ Contact ============ */
.contact { padding: var(--space-section) 0; }
.contact-solo { display: flex; justify-content: center; }
.contact-copy { max-width: 480px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  min-width: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-list li > span:last-child, .contact-list li > a { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.contact-icon { color: var(--color-accent); flex-shrink: 0; }
.contact-list a:hover { color: var(--color-accent-light); }

/* ============ Location / Map ============ */
.location { padding: var(--space-section) 0; background: var(--color-background); }

.map-frame {
  position: relative;
  margin-top: var(--space-2xl);
  border-radius: var(--corner-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-xl);
  background: var(--color-surface);
}
.map-canvas {
  width: 100%;
  height: 380px;
}
.map-directions { display: flex; margin: var(--space-xl) auto 0; width: fit-content; }

/* Recolor OpenFreeMap's Positron (light, detailed, best-labeled free style)
   into the dark navy theme — inversion keeps every street name/label intact,
   just recolors it, unlike relying on a genuinely-minimal dark style. */
.maplibregl-canvas {
  filter: invert(1) hue-rotate(190deg) brightness(0.94) contrast(0.92) saturate(0.85);
}

.map-scroll-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 5;
}
.map-scroll-hint.visible { opacity: 1; }

/* MapLibre marker */
.map-marker {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--gradient-accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 2px solid #fff;
  cursor: pointer;
}
.map-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-on-primary);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* MapLibre popup override to match brand */
.maplibregl-popup-content {
  background: var(--color-surface);
  color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-body);
  box-shadow: var(--shadow-xl);
}
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--color-surface); }
.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--color-surface); }
.map-popup-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-accent-light);
}
.map-popup-address { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* MapLibre controls — restyle the default white widgets to match the dark theme */
.maplibregl-ctrl-group {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.maplibregl-ctrl-group button {
  background-color: transparent !important;
}
.maplibregl-ctrl-group button + button {
  border-top: 1px solid var(--color-border);
}
.maplibregl-ctrl-group button:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
.maplibregl-ctrl-icon {
  filter: invert(1) brightness(1.7);
}
.maplibregl-ctrl-attrib {
  background: rgba(5, 3, 24, 0.7) !important;
}
.maplibregl-ctrl-attrib a {
  color: rgba(255, 255, 255, 0.75) !important;
}
.maplibregl-ctrl-attrib { font-size: 10px; }

/* ============ Footer ============ */
.site-footer {
  background: #050318;
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .brand-name { color: #fff; font-size: 1.05rem; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  width: 100%;
}
.footer-nav a:hover { color: var(--color-accent-light); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============ WhatsApp Floating Button ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform 200ms ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .header-actions .btn { display: inline-flex; }

  .leadership-grid { grid-template-columns: 1fr 1fr; max-width: 620px; }

  .services-ledger { grid-template-columns: 1fr 1fr; column-gap: var(--space-2xl); }
  .service-row:nth-child(odd) { border-right: 1px solid var(--color-border); padding-right: var(--space-2xl); }
  .service-row:nth-child(even) { padding-left: var(--space-2xl); }
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .why-us-grid { grid-template-columns: 1.2fr 0.8fr; }
  .about-grid { grid-template-columns: 1.3fr 0.7fr; }

  .process-track {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
  }
  .process-line {
    left: 10%; right: 10%; top: 22px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 9px);
  }
  .process-line-fill {
    width: 0%; height: 100%;
    background: repeating-linear-gradient(90deg, var(--color-accent) 0 2px, transparent 2px 9px);
  }
  .process-step { flex: 1; padding-left: 0; padding-top: 64px; text-align: center; }
  .process-num { left: 50%; transform: translateX(-50%); }

  .map-canvas { height: 480px; }
}

@media (min-width: 1280px) {
  .main-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

@media (max-width: 1279px) {
  .mobile-nav { display: flex; }
}
