/* ============================================================================
   Abs Engineering Consultants (https://www.absengineeringconsultants.com)
   Architectural Editorial Design System — Same Option A Palette, Brand-New UI
   ============================================================================ */

:root {
  --slate-950: #07111f;
  --slate-900: #0b192c;
  --slate-800: #13263e;
  --slate-700: #1e3a5c;
  --ink-900: #0f1b2b;
  --ink-800: #1e293b;
  --ink-600: #475569;
  --ink-500: #64748b;

  --forest-700: #15371e;
  --forest-600: #1e4d2b;
  --leaf-600: #5a8c2d;
  --leaf-500: #6ea53a;
  --leaf-400: #7aaa46;
  --leaf-100: #eaf5df;
  --gold-500: #f5c400;
  --gold-400: #ffdc10;
  --gold-100: #fef9db;

  --white: #ffffff;
  --paper: #f7faf8;
  --sage-100: #eaf0ec;
  --line: #d8e2dc;
  --line-dark: rgba(255, 255, 255, 0.12);

  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --success: #15803d;
  --success-bg: #f0fdf4;

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 14px 36px rgba(11, 25, 44, 0.09);
  --shadow-lg: 0 26px 60px rgba(7, 17, 31, 0.22);
  --ease: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 0;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.25rem, 4.3vw, 3.45rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin-top: 0; color: var(--ink-600); }

/* Technical Pills & Labels */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.36rem 0.78rem;
  border-radius: 6px;
  background: var(--leaf-100);
  color: var(--forest-600);
  border: 1px solid rgba(30, 77, 43, 0.16);
}
.kicker--dark {
  background: rgba(110, 165, 58, 0.18);
  color: #b7e485;
  border-color: rgba(110, 165, 58, 0.4);
}
.kicker--gold {
  background: rgba(245, 196, 0, 0.16);
  color: #ffe266;
  border-color: rgba(245, 196, 0, 0.42);
}
.kicker--gold-light {
  background: var(--gold-100);
  color: #7c5600;
  border-color: rgba(245, 196, 0, 0.45);
}

/* Drafting Paper Grid (Light) & Blueprint Surface (Dark) */
.drafting-bg {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(30, 77, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 77, 43, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.dark-blueprint {
  background-color: var(--slate-900);
  background-image:
    linear-gradient(rgba(110, 165, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 165, 58, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 86% 15%, rgba(110, 165, 58, 0.16), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(245, 196, 0, 0.08), transparent 36%);
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%;
  color: var(--white);
}
.dark-blueprint h1, .dark-blueprint h2, .dark-blueprint h3, .dark-blueprint h4 { color: var(--white); }
.dark-blueprint p { color: #cbd5e1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--forest-600), var(--leaf-500));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(30, 77, 43, 0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--forest-700), var(--leaf-600)); }
.btn-dark { background: var(--slate-900); color: var(--white); }
.btn-dark:hover { background: var(--slate-800); }
.btn-gold { background: var(--gold-500); color: var(--slate-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink-900);
}
.btn-outline:hover { border-color: var(--forest-600); color: var(--forest-600); background: var(--paper); }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn-sm { padding: 0.58rem 1.05rem; font-size: 0.88rem; }

/* ============================================================================
   Header — Architectural Single-Row Navigation + Global Status Strip
   ============================================================================ */
.global-strip {
  background: var(--slate-950);
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.global-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.35rem;
  flex-wrap: wrap;
}
.strip-group { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.strip-link { display: inline-flex; align-items: center; gap: 0.4rem; color: #cbd5e1; }
.strip-link:hover { color: var(--gold-400); }
.strip-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.16rem 0.55rem;
  border-radius: 4px;
  background: rgba(110, 165, 58, 0.18);
  color: #b7e485;
  border: 1px solid rgba(110, 165, 58, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(11, 25, 44, 0.08); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 78px;
}
.brand-logo { height: 52px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-800);
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { background: var(--paper); color: var(--forest-600); }
.nav-link.is-active { box-shadow: inset 0 -2px 0 var(--leaf-500); }

.nav-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 340px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 950;
}
.nav-item--has-menu:hover .nav-mega,
.nav-item--has-menu:focus-within .nav-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
}
.mega-link:hover { background: var(--paper); }
.mega-link strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink-900); display: flex; align-items: center; gap: 0.45rem; }
.mega-link span { font-size: 0.8rem; color: var(--ink-500); line-height: 1.4; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--green { background: var(--leaf-500); }
.dot--gold  { background: var(--gold-500); }
.dot--navy  { background: var(--slate-900); }

.mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 0.72rem 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--sage-100);
}
.mobile-drawer .sub { padding-left: 1.25rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-600); }

/* ============================================================================
   BRAND-NEW Light Architectural Editorial Hero (Distinct from .in!)
   ============================================================================ */
.editorial-hero {
  padding-block: clamp(3rem, 5.5vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.editorial-hero h1 { margin-block: 1rem 1.15rem; }
.editorial-hero h1 .hl-forest { color: var(--forest-600); }
.editorial-hero h1 .hl-underline {
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.hero-sub { font-size: 1.06rem; line-height: 1.72; max-width: 58ch; margin-bottom: 1.75rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }

.hero-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--leaf-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hero-stat-bar strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-900); }
.hero-stat-bar span { font-size: 0.78rem; color: var(--ink-500); }

/* Dark CAD Dossier Card inside Light Hero */
.cad-dossier {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(110, 165, 58, 0.4);
  color: var(--white);
}
.cad-dossier-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0.35rem 0.75rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #a9e36e;
}
.cad-dossier-bar .badge-gold { color: var(--gold-400); }
.cad-dossier img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.cad-dossier-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.cad-spec-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
}
.cad-spec-mini small { display: block; font-family: var(--font-mono); font-size: 0.65rem; color: #94a3b8; }
.cad-spec-mini strong { font-size: 0.82rem; color: var(--white); }

/* ============================================================================
   Sections & Headings
   ============================================================================ */
.section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-block: 0.75rem 0.75rem; }

.subpage-hero {
  padding-block: clamp(3rem, 5vw, 4.4rem);
  border-bottom: 3px solid var(--leaf-500);
}
.breadcrumb { display: flex; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: #94a3b8; margin-bottom: 0.9rem; }
.breadcrumb a:hover { color: var(--gold-400); }

/* ============================================================================
   Interactive 3-Discipline Command Switcher (Unique to .com!)
   ============================================================================ */
.switcher-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.switcher-tab {
  text-align: left;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: all var(--ease);
}
.switcher-tab small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-500); margin-bottom: 0.25rem; }
.switcher-tab strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-900); }
.switcher-tab:hover { border-color: var(--leaf-500); }
.switcher-tab.is-active {
  background: var(--slate-900);
  border-color: var(--leaf-500);
  box-shadow: var(--shadow-md);
}
.switcher-tab.is-active small { color: var(--gold-400); }
.switcher-tab.is-active strong { color: var(--white); }

.switcher-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  align-items: center;
}
.switcher-panel[hidden] { display: none; }
.switcher-media { border-radius: var(--radius-md); overflow: hidden; background: var(--slate-900); }
.switcher-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.check-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 0.58rem; }
.check-list li { position: relative; padding-left: 1.45rem; font-size: 0.94rem; color: var(--ink-600); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--leaf-500);
}
.check-list--gold li::before { background: var(--gold-500); }
.check-list strong { color: var(--ink-900); }

/* ============================================================================
   Signature Interactive Engineering Scope Estimator (Unique to .com!)
   ============================================================================ */
.estimator-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  box-shadow: var(--shadow-md);
}
.est-group { margin-bottom: 1.35rem; }
.est-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-600);
  margin-bottom: 0.6rem;
}
.est-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.est-pill {
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-800);
  cursor: pointer;
  transition: all var(--ease);
}
.est-pill:hover { border-color: var(--forest-600); }
.est-pill.is-active {
  background: var(--forest-600);
  border-color: var(--forest-600);
  color: var(--white);
}

.est-output {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(110, 165, 58, 0.4);
  display: flex;
  flex-direction: column;
}
.est-output h3 { color: var(--white); margin-block: 0.65rem 0.5rem; }
.est-output p { color: #cbd5e1; font-size: 0.92rem; }
.est-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block: 1rem;
}
.est-meta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}
.est-meta-box small { display: block; font-family: var(--font-mono); font-size: 0.66rem; color: #94a3b8; text-transform: uppercase; }
.est-meta-box strong { font-size: 0.88rem; color: var(--gold-400); }
.est-deliverables { list-style: none; margin: 0.4rem 0 1.4rem; padding: 0; display: grid; gap: 0.45rem; }
.est-deliverables li { font-size: 0.9rem; color: #e2e8f0; padding-left: 1.25rem; position: relative; }
.est-deliverables li::before { content: '✓'; position: absolute; left: 0; color: #9be05a; font-weight: 700; }

/* ============================================================================
   Global + India Regions & 4-Step Delivery Ribbon
   ============================================================================ */
.regions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.region-card {
  background: rgba(19, 38, 62, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--leaf-500);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  transition: transform var(--ease), border-color var(--ease);
}
.region-card:nth-child(even) { border-top-color: var(--gold-500); }
.region-card:hover { transform: translateY(-4px); border-color: var(--leaf-400); }
.region-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  background: rgba(110, 165, 58, 0.2);
  color: #b7e485;
  margin-bottom: 0.75rem;
}
.region-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.45rem; }
.region-card p { font-size: 0.88rem; color: #cbd5e1; margin-bottom: 0.7rem; }
.region-codes { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-400); }

.phase-ribbon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.phase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}
.phase-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--leaf-500);
  margin-bottom: 0.65rem;
  display: block;
}
.phase-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.phase-card p { font-size: 0.9rem; margin: 0; }

/* ============================================================================
   Elaborated Visual Scope Cards (Capabilities Pages)
   ============================================================================ */
.scope-stack { display: grid; gap: 2rem; }
.scope-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.scope-row--rev .scope-img { order: 2; }
.scope-row--rev .scope-copy { order: 1; }
.scope-img { position: relative; background: var(--slate-900); min-height: 290px; overflow: hidden; }
.scope-img img { width: 100%; height: 100%; object-fit: cover; }
.scope-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.34rem 0.72rem;
  border-radius: 6px;
  background: rgba(11, 25, 44, 0.92);
  color: #b7e485;
  border: 1px solid rgba(110, 165, 58, 0.5);
}
.scope-badge--gold { color: var(--gold-400); border-color: rgba(245, 196, 0, 0.55); }
.scope-copy { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; }
.tag-row span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.62rem;
  border-radius: 5px;
  background: var(--paper);
  color: var(--forest-600);
  border: 1px solid rgba(30, 77, 43, 0.16);
}
.tag-row--gold span { background: var(--gold-100); color: #7c5600; border-color: rgba(245, 196, 0, 0.45); }

/* ============================================================================
   Case Studies, Insights, Modal & FAQs
   ============================================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.75rem; }
.filter-btn {
  padding: 0.52rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-600);
  cursor: pointer;
}
.filter-btn.is-active { background: var(--slate-900); border-color: var(--slate-900); color: var(--white); }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--leaf-500); }
.card[hidden] { display: none; }
.card-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--slate-900); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-cat {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.26rem 0.62rem;
  border-radius: 5px;
  background: rgba(11, 25, 44, 0.9);
  color: var(--white);
  border: 1px solid rgba(110, 165, 58, 0.45);
}
.card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-family: var(--font-mono); font-size: 0.72rem; color: var(--forest-600); margin-bottom: 0.35rem; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.9rem; margin-bottom: 1rem; }
.card-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}
.text-btn { background: none; border: none; padding: 0; font-family: var(--font-display); font-weight: 700; color: var(--forest-600); cursor: pointer; }
.text-btn:hover { text-decoration: underline; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(7, 17, 31, 0.78); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 1.25rem; z-index: 1200;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal-box { width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 0.85rem; right: 0.85rem; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(11, 25, 44, 0.85); color: #fff; font-size: 1.25rem; cursor: pointer; z-index: 2; }
.modal-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem; margin-block: 1.1rem; }
.modal-specs small { display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-500); text-transform: uppercase; }
.modal-specs strong { font-size: 0.9rem; color: var(--ink-900); }

/* FAQ Accordion */
.faq-grid { max-width: 940px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-item[open] { border-color: var(--leaf-500); box-shadow: var(--shadow-sm); }
.faq-q { list-style: none; display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; color: var(--ink-900); }
.faq-q::-webkit-details-marker { display: none; }
.faq-idx { font-family: var(--font-mono); font-size: 0.74rem; padding: 0.25rem 0.5rem; border-radius: 6px; background: var(--leaf-100); color: var(--forest-600); flex-shrink: 0; }
.faq-q-text { flex: 1; }
.faq-plus { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--forest-600); transition: transform var(--ease), opacity var(--ease); }
.faq-plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { padding: 0 1.3rem 1.2rem 3.7rem; }
.faq-a p { margin: 0; font-size: 0.94rem; }

/* Forms */
.split-2 { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
.quote-side { background: var(--slate-900); color: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid rgba(110, 165, 58, 0.35); }
.quote-side h2, .quote-side h3 { color: var(--white); }
.quote-side p { color: #cbd5e1; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.38rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--ink-900); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.74rem 0.92rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink-900);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; background: var(--white); border-color: var(--leaf-500); box-shadow: 0 0 0 3px rgba(110, 165, 58, 0.16);
}
.form-field textarea { min-height: 112px; resize: vertical; }
.field-error { font-size: 0.8rem; color: var(--danger); min-height: 1em; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--danger); background: var(--danger-bg); }
.file-hint { font-size: 0.78rem; color: var(--ink-500); }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.92rem; border: 1px solid transparent; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.alert--error   { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }

/* Insights Article Layout */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.article-body p.lead { font-size: 1.12rem; color: var(--ink-900); font-weight: 500; }
.article-body h2 { font-size: 1.55rem; margin-top: 2rem; margin-bottom: 0.7rem; }
.article-body ul { padding-left: 1.25rem; display: grid; gap: 0.55rem; color: var(--ink-600); }
.article-body a { color: var(--forest-600); font-weight: 600; text-decoration: underline; }
.insight-callout { margin: 1.5rem 0; padding: 1.2rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--leaf-500); border-radius: var(--radius-md); }
.article-sidebar { display: grid; gap: 1.2rem; position: sticky; top: 96px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.35rem; }

/* Map on Contact page only */
.map-frame { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius-md); display: block; }
.prose { max-width: 820px; }

/* Footer (Clean — NO Google Map!) */
.site-footer { background: var(--slate-950); color: #cbd5e1; border-top: 3px solid var(--leaf-500); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.85fr 1.1fr; gap: 2.25rem; padding-bottom: 3rem; }
.footer-logo-pill { display: inline-block; background: var(--white); padding: 0.55rem 0.9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.footer-logo-pill img { height: 46px; width: auto; }
.site-footer h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 1rem; padding-bottom: 0.45rem; position: relative; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold-500); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.58rem; font-size: 0.92rem; }
.footer-list a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.25rem; font-size: 0.84rem; color: #94a3b8; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Floating Quick Contact: WhatsApp on Desktop & Tablet, Call on Mobile */
.fab-btn {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1050;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 25, 44, 0.28);
  transition: transform var(--ease);
}
.fab-btn:hover { transform: translateY(-2px); }
.fab-whatsapp { display: inline-flex; background: #25d366; border: 2px solid rgba(255, 255, 255, 0.35); }
.fab-call     { display: none; background: linear-gradient(135deg, var(--forest-600), var(--leaf-500)); border: 2px solid rgba(255, 255, 255, 0.3); }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .editorial-hero-grid, .switcher-panel, .estimator-shell, .scope-row, .split-2, .article-layout { grid-template-columns: 1fr; }
  .scope-row--rev .scope-img, .scope-row--rev .scope-copy { order: 0; }
  .regions-grid, .phase-ribbon, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-sidebar { position: static; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-btn { display: inline-flex; }
  .switcher-tabs { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .fab-whatsapp { display: none; }
  .fab-call { display: inline-flex; }
  .faq-a { padding: 0 1.1rem 1.1rem 1.1rem; }
}
@media (max-width: 640px) {
  .regions-grid, .phase-ribbon, .cards-3, .form-grid, .footer-grid, .hero-stat-bar, .cad-dossier-footer, .est-meta-grid, .modal-specs { grid-template-columns: 1fr; }
}
