/* ==========================================================================
   LATAM STACK — INSTITUTIONAL ARCHITECTURAL STYLESHEET
   Principles: Austere, Nonchalant, High Compliance, Anti-AI-Slop
   ========================================================================== */

:root {
  /* Color Palette — Architectural Chalk, Obsidian, Slate & Subtle Sovereign Navy */
  --bg-canvas: #fbfbfa;
  --bg-surface: #ffffff;
  --bg-subtle: #f4f4f0;
  --bg-alt: #f0f0ea;
  
  --text-primary: #111317;
  --text-secondary: #4a4d55;
  --text-tertiary: #7d818d;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;
  
  --border-hairline: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.14);
  --border-focus: #0c3a6b;
  
  --navy-brand: #0c3a6b;
  --navy-deep: #072240;
  --navy-hover: #082d54;
  
  --dark-canvas: #0a0d14;
  --dark-surface: #111622;
  --dark-border: rgba(255, 255, 255, 0.09);
  --dark-border-strong: rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Grotesk', -apple-system, BlinkMacSystemFont, monospace;

  /* Layout */
  --max-width: 1280px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);
  --section-padding: clamp(4.5rem, 9vw, 8.5rem);

  /* Transitions */
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Hygiene */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Layout Utilities */
.inst-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ==========================================================================
   TOP INSTITUTIONAL BAR
   ========================================================================== */
.inst-bar {
  background-color: #0d111a;
  color: #838896;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 50;
}

.inst-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.inst-bar-left,
.inst-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inst-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
}

.inst-divider {
  opacity: 0.25;
}

.inst-status {
  color: #adb3c2;
  font-weight: 600;
}

@media (max-width: 768px) {
  .inst-bar-right {
    display: none;
  }
}

/* ==========================================================================
   MAIN SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(251, 251, 250, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  z-index: 40;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.5875rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* Nav Links */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  letter-spacing: -0.005em;
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--navy-brand);
  transition: width 0.25s var(--ease-snappy);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84375rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.625rem 1.25rem;
  transition: all 0.25s var(--ease-snappy);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-header {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
  padding: 0.5rem 1.1rem;
}

.btn-header:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.btn-primary {
  background-color: var(--navy-brand);
  color: #ffffff;
  border-color: var(--navy-brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 106px; /* 34px bar + 72px header */
  left: 0;
  width: 100%;
  height: calc(100vh - 106px);
  background-color: #fbfbfa;
  border-top: 1px solid var(--border-hairline);
  z-index: 39;
  padding: 2.5rem var(--container-padding);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-cinematic);
}

.mobile-drawer.active {
  transform: translateY(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.drawer-link.btn-drawer {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.875rem 1.5rem;
  background-color: var(--navy-brand);
  color: #ffffff;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
}

.drawer-footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

@media (max-width: 960px) {
  .site-nav,
  .btn-header {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTION (Cinema-Ratio, Solemn Visual Backdrop & Smooth Transition)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: #06090e;
  color: #ffffff;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Background Carousel Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 1.6s var(--ease-cinematic), transform 8s ease-out, visibility 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
}

/* Photographic Vignette & Architectural Contrast (NOT generic neon gradient) */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(6, 9, 14, 0.55) 0%, rgba(6, 9, 14, 0.78) 50%, rgba(6, 9, 14, 0.94) 100%),
    linear-gradient(90deg, rgba(6, 9, 14, 0.82) 0%, rgba(6, 9, 14, 0.45) 60%, rgba(6, 9, 14, 0.6) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 68vh;
}

.hero-content {
  max-width: 780px;
  padding-top: 2rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 660px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  padding: 0.875rem 1.75rem;
  font-size: 0.90625rem;
}

/* Hero Slide Controls / Indicator Ledger */
.hero-controls {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slide-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.slide-indicator {
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0.75rem 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.slide-indicator:hover {
  color: #ffffff;
}

.slide-indicator.active {
  color: #ffffff;
}

.slide-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.65;
  padding-top: 1px;
}

.slide-info {
  display: flex;
  flex-direction: column;
}

.slide-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.slide-sub {
  font-size: 0.6875rem;
  color: #64748b;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.slide-indicator.active .slide-sub {
  color: #94a3b8;
}

/* Thin Top Progress Hairline */
.slide-progress {
  position: absolute;
  top: -2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.slide-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #ffffff;
  transition: width 0.1s linear;
}

.slide-indicator.active .slide-progress::after {
  width: 100%;
  transition: width 7s linear;
}

@media (max-width: 768px) {
  .hero-slide-nav {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .slide-progress {
    top: 0;
  }
}

/* ==========================================================================
   EDITORIAL MANIFESTO (Speaking a Lot by Speaking Almost Nothing)
   ========================================================================== */
.manifesto-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-hairline);
}

.sec-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.manifesto-header {
  max-width: 980px;
  margin-bottom: 5rem;
}

.manifesto-lead {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-wrap: balance;
}

.manifesto-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 820px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-hairline);
}

.pillar-item {
  position: relative;
}

.pillar-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-brand);
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   EDITORIAL SECTIONS (COMEX, ERP, FINANCE)
   Curated Large Images, Pure Flow, No Hidden Tabs
   ========================================================================== */
.editorial-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-hairline);
}

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

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.editorial-split.reverse {
  grid-template-columns: 1fr 1fr;
}

/* Media Framing */
.editorial-media {
  position: relative;
}

.media-frame {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  /*background-color: #0b0e14;
  border: 1px solid var(--border-hairline);*/
}

.editorial-img {
  width: 100%;
  aspect-ratio: 11 / 13;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.96);
  transition: transform 0.6s var(--ease-cinematic);
}

.media-frame:hover .editorial-img {
  transform: scale(1.02);
}

.media-caption {
  font-size: 0.71875rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  padding: 0.75rem 0.25rem 0;
  font-family: var(--font-mono);
}

/* Content Column */
.editorial-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.editorial-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.75rem;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 2rem;
}

.feature-item {
  position: relative;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .editorial-split,
  .editorial-split.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS (Austere Architectural Data Sheet)
   ========================================================================== */
.specs-section {
  padding: var(--section-padding) 0;
  background-color: var(--dark-canvas);
  color: #ffffff;
  border-bottom: 1px solid var(--dark-border);
}

.specs-section .sec-index {
  color: #64748b;
}

.specs-header {
  max-width: 780px;
  margin-bottom: 4.5rem;
}

.specs-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.specs-lead {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.65;
}

.specs-ledger {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dark-border-strong);
}

.ledger-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--dark-border);
  gap: 2rem;
  align-items: baseline;
  transition: background-color 0.2s ease;
}

.ledger-row:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.ledger-col-name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ledger-col-value {
  font-size: 0.9375rem;
  color: #e2e8f0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   STRUCTURAL CONTRAST SECTION (Understated Comparison)
   ========================================================================== */
.contrast-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-hairline);
}

.contrast-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 4rem);
}

.contrast-head {
  margin-bottom: 3rem;
  max-width: 700px;
}

.contrast-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.contrast-col {
  padding: 2rem;
  border-radius: 4px;
}

.contrast-col.legacy {
  background-color: #fafafa;
  border: 1px solid #ededed;
}

.contrast-col.sovereign {
  background-color: #f2f6fa;
  border: 1px solid #dbe6f0;
}

.col-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
}

.contrast-col.legacy .col-tag {
  color: #71717a;
}

.contrast-col.sovereign .col-tag {
  color: var(--navy-brand);
}

.col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.col-list li {
  font-size: 0.875rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.35rem;
}

.contrast-col.legacy li {
  color: #52525b;
}

.contrast-col.legacy li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #a1a1aa;
}

.contrast-col.sovereign li {
  color: #1e293b;
  font-weight: 500;
}

.contrast-col.sovereign li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--navy-brand);
  font-weight: 700;
}

@media (max-width: 820px) {
  .contrast-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EXECUTIVE INQUIRY & CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: flex-start;
}

.contact-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 3rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 2rem;
}

.meta-block {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.35rem;
}

.meta-val {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.meta-sub {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.meta-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-brand);
  transition: opacity 0.2s ease;
}

.meta-link:hover {
  text-decoration: underline;
}

/* Contact Card */
.contact-form-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-sub {
  font-size: 0.84375rem;
  color: var(--text-secondary);
}

.corporate-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy-brand);
  box-shadow: 0 0 0 3px rgba(12, 58, 107, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 85px;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.90625rem;
  margin-top: 0.5rem;
}

.form-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.5rem;
}

/* Success State */
.form-success-message {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-message.active {
  display: block;
}

.corporate-form.hidden {
  display: none;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.success-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.success-text {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOLEMN INSTITUTIONAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-canvas);
  color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand .brand-logo {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-tag {
  color: #94a3b8;
}

.footer-mission {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-top: 1.25rem;
  max-width: 380px;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  display: block;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.84375rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.6;
}

.footer-jurisdiction {
  color: #475569;
}

.footer-compliance-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.comp-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-nav-groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-nav-groups {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
