/* =====================================================
   MEXICONNECT — Corporate Site
   ===================================================== */

/* 1. Reset & Variables
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:       #009A44;
  --red:         #CE1126;
  --blue:        #002868;
  --gold:        #C9A84C;
  --gray:        #6B7280;
  --dark:        #0f172a;
  --dark-mid:    #1e293b;
  --light:       #f1f5f9;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --radius:      8px;
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.08);
  --nav-height:  64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 2. Typography
   ===================================================== */
h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

strong {
  font-weight: 600;
}

/* 3. Layout
   ===================================================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--nav-height) + 48px);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

/* 4. Wordmark
   ===================================================== */
.wordmark {
  font-family: 'Barlow Condensed', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 800;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  letter-spacing: -0.01em;
}

.wm-green { color: #009A44; -webkit-text-stroke: 2px #777; paint-order: stroke fill; }
.wm-white { color: #ffffff; -webkit-text-stroke: 2px #777; paint-order: stroke fill; text-shadow: 0 1px 4px rgba(0,0,0,0.45); }
.wm-red   { color: #CE1126; -webkit-text-stroke: 2px #777; paint-order: stroke fill; font-style: italic; }
.wm-blue  { color: #002868; -webkit-text-stroke: 2px #777; paint-order: stroke fill; font-style: italic; }

.wordmark--hero   { font-size: clamp(3.5rem, 10vw, 6.5rem); }
.wordmark--footer { font-size: 2rem; }

/* 5. Buttons
   ===================================================== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.btn-primary:hover  { background: #003a9e; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* 6. Navigation
   ===================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--nav-height);
}

.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
}

.nav-logo .wordmark {
  font-size: 1.75rem;
  display: inline-flex;
  white-space: nowrap;
}

/* ── Nav list ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

/* Plain text links */
.nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus-visible { color: #fff; background: rgba(255,255,255,0.07); outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.nav-item.active > .nav-link { color: #fff; }

/* ── Dropdown trigger button ── */
.nav-link-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link-btn:hover,
.nav-link-btn:focus-visible,
.has-dropdown:hover > .nav-link-btn,
.has-dropdown.open > .nav-link-btn {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.nav-link-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.nav-item.active > .nav-link-btn { color: #fff; background: rgba(255,255,255,0.07); }

/* Chevron */
.nav-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.has-dropdown.open > .nav-link-btn .nav-chevron { transform: rotate(180deg); }

/* ── Dropdown menu ── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--dark-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  list-style: none;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
  overflow: hidden;
}

/* Desktop hover — bridge the 6px gap between button and dropdown
   so moving the mouse down doesn't close the menu */
@media (min-width: 769px) {
  .has-dropdown:hover > .nav-dropdown { display: block; }

  /* Invisible hover bridge fills the gap so the dropdown stays open
     as the cursor travels from the button to the menu items */
  .has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px; /* slightly larger than the 6px gap — safe margin */
  }
}
/* JS click */
.has-dropdown.open > .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible { color: #fff; background: rgba(255,255,255,0.07); outline: 2px solid rgba(255,255,255,0.5); outline-offset: -2px; }
.nav-dropdown li + li { border-top: 1px solid rgba(255,255,255,0.05); }

/* ── Research — ghost/outline style (signals "separate content area") ── */
.btn-nav-research {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.35rem 0.85rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s !important;
}
.btn-nav-research:hover,
.btn-nav-research:focus-visible {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: transparent !important;
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}
.nav-item.active > .btn-nav-research {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* ── Client Login button ── */
.btn-nav-portal {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-nav-portal:hover { opacity: 0.88; }
.btn-nav-portal:focus-visible { opacity: 0.88; outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }

/* ── Language Toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-btn:hover { color: #fff; }
.lang-btn:focus-visible { color: #fff; outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.lang-btn--active { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Hamburger (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 0.25rem;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
/* Animate to X */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Section sub-nav (research pages only — keep for long-form content) ── */
#section-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
#section-nav::-webkit-scrollbar { display: none; }

.section-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
}

.snav-link {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.snav-link:hover {
  color: var(--dark);
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(241, 245, 249, 0.95);
}
.snav-link.active {
  color: var(--blue);
  border-color: rgba(0, 40, 104, 0.14);
  background: rgba(0, 40, 104, 0.08);
}

/* 7. Hero
   ===================================================== */
#hero {
  background: #fff;
  text-align: center;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 760px;
}

.crest-img {
  height: 150px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.hero-wordmark {
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--dark);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* 8. About
   ===================================================== */
#about {
  background: var(--dark);
  color: #fff;
}

#about .section-label { color: var(--green); }
#about h2 { color: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
  line-height: 1.85;
}

.about-text p strong { color: #fff; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.stat-card--red {
  border-left-color: var(--red);
  background: rgba(206, 17, 38, 0.08);
}

.stat-card--red .stat-year { color: var(--red); }

.stat-card--gold {
  border-left-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.stat-year,
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-card--gold .stat-number { color: var(--gold); }

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* 9. Events — On the Ground
   ===================================================== */
#events { background: var(--light); }

.sectors-header {
  margin-bottom: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.sectors-header h3 {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sector-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sector-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sector-card--ask {
  border-style: dashed;
  border-color: var(--gray);
}

.sector-card--ask a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  color: var(--text-muted);
  transition: color 0.2s;
}

.sector-card--ask:hover {
  border-color: var(--blue);
}

.sector-card--ask:hover a {
  color: var(--blue);
}

.sector-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.sector-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.sector-card--ask .sector-name {
  color: var(--text-muted);
}

.sectors-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .event-badges { flex-direction: column; }
}

/* 10. Trade Stats
   ===================================================== */
#trade { background: #fff; }

.trade-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.trade-stat { padding: 0 1.5rem; }

.trade-number {
  font-family: 'Barlow Condensed', 'Impact', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trade-stat:nth-child(1) .trade-number { color: var(--green); }
.trade-stat:nth-child(3) .trade-number { color: #60a5fa; }
.trade-stat:nth-child(5) .trade-number { color: var(--gold); }

.trade-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
}

.trade-stat-source {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
  font-style: italic;
}
.trade-stat-source a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.2);
}
.trade-stat-source a:hover {
  color: rgba(255,255,255,0.65);
}

.trade-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.trade-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.trade-fact {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 3px solid var(--blue);
}

.trade-fact:last-child { border-left-color: var(--green); }

.trade-fact h3 {
  color: var(--dark);
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.4;
}

.trade-fact p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.trade-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .trade-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .trade-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }
  .trade-facts { grid-template-columns: 1fr; }

  .hero-title {
    font-size: 1.2rem;
    max-width: 580px;
  }
}

/* 11. Who This Is For
   ===================================================== */
#who { background: var(--light); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.who-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.who-card--cta {
  border-top-color: var(--red);
  background: var(--dark);
}

.who-card--cta h3 { color: #fff; }
.who-card--cta p  { color: rgba(255,255,255,0.65); }

.who-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.who-card--cta .who-tag { color: var(--red); }

.who-card h3 {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.4;
}

.who-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
}

.who-card .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* 11. Entrepreneur Callout
   ===================================================== */
#entrepreneur {
  background: #fff;
}

#entrepreneur .section-label { color: var(--blue); }
#entrepreneur h2 { color: var(--dark); margin-bottom: 1.5rem; }

.entrepreneur-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}

.entrepreneur-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.85;
}

.entrepreneur-text p strong { color: var(--dark); }

.entrepreneur-closer {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark) !important;
  margin-bottom: 1.75rem !important;
}

.entrepreneur-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.e-step {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.e-step:last-child {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.e-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .entrepreneur-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .entrepreneur-visual { max-width: 320px; }
}

/* 12. Why MEXICONNECT
   ===================================================== */
#why { background: var(--dark); }

#why .section-label { color: var(--green); }
#why h2 { color: #fff; }
#why .section-intro { color: rgba(255,255,255,0.55); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Default: safe on any background */
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.why-card:hover {
  background: var(--light);
  border-color: #cbd5e1;
}

.why-card--security {
  border-color: rgba(0, 154, 68, 0.4);
  background: rgba(0, 154, 68, 0.06);
}

.why-card--security:hover {
  background: rgba(0, 154, 68, 0.1);
  border-color: rgba(0, 154, 68, 0.6);
}

.why-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.why-card h3 {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Dark override — only inside #why (services page) */
#why .why-card       { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
#why .why-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
#why .why-card h3    { color: #fff; }
#why .why-card p     { color: rgba(255,255,255,0.62); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* 11. Mission
   ===================================================== */
#mission { background: #fff; }

.mission-inner {
  background: var(--light);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.mission-wordmark-display {
  font-family: 'Barlow Condensed', 'Impact', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.mission-meanings {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 2.5rem;
  align-items: start;
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
}

.mission-meanings-divider {
  background: var(--border);
  align-self: stretch;
}

.mission-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.mission-badge--en { background: var(--blue);  color: #fff; }
.mission-badge--es { background: var(--green); color: #fff; }

.mission-es-heading {
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.mission-meaning p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.mission-quote {
  border-left: 4px solid var(--red);
  padding: 0.75rem 0 0.75rem 1.75rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark-mid);
  max-width: 680px;
}

/* 12. Veterans
   ===================================================== */

/* Homepage callout — understated, one line */
.veterans-callout {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  text-align: center;
}
.veterans-callout p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.veterans-callout strong { color: rgba(255,255,255,0.75); }
.veterans-callout a { color: var(--gold); text-decoration: none; }
.veterans-callout a:hover { text-decoration: underline; }

/* Full veterans page */
#veterans {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.veterans-inner {
  max-width: 580px;
  margin: 0 auto;
}
.veterans-star {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
#veterans h2 {
  color: #fff;
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}

#veterans p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
}

#veterans p strong { color: #fff; }

/* 13. Brands
   ===================================================== */
#brands { background: var(--light); }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.brand-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.brand-coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  border: 1px dashed var(--gray);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
}

.brand-card--muted {
  border-top-color: var(--gray);
  opacity: 0.55;
  pointer-events: none;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.brand-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.brand-card--muted .brand-category { color: var(--gray); }

.brand-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
}

/* 14. Contact
   ===================================================== */
#contact { background: #fff; }

.contact-form { max-width: 620px; }

.honeypot { display: none; }

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

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

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.08);
  background: #fff;
}

.form-group textarea { resize: vertical; }

/* 15. Footer
   ===================================================== */
#site-footer {
  background: var(--dark);
  color: #fff;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copy {
  text-align: right;
}

.footer-copy p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
  line-height: 1.9;
}

.footer-vob {
  color: var(--gold) !important;
  font-weight: 600;
}

.footer-owner-login {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-owner-login:hover { color: rgba(255,255,255,0.75); }

/* 16. Responsive
   ===================================================== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  /* Nav */
  .nav {
    gap: 0.35rem;
  }

  .nav-logo .wordmark {
    font-size: 1.45rem;
  }

  .lang-toggle {
    margin-left: 0.25rem;
  }

  .lang-btn {
    padding: 0.25rem 0.45rem;
    font-size: 0.72rem;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }

  .nav-link,
  .nav-link-btn {
    padding: 0.7rem 0.85rem;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
  }

  /* Mobile accordion — dropdown is static */
  .nav-dropdown {
    position: static;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: var(--radius);
    box-shadow: none;
    min-width: auto;
    margin: 0.25rem 0 0.35rem 0.5rem;
  }
  .nav-dropdown li a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .nav-dropdown li + li { border-top-color: rgba(255,255,255,0.06); }

  /* Portal button full-width on mobile */
  .nav-item--portal { padding: 0.25rem 0 0; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 0.35rem; }
  .nav-item--portal .btn-nav-portal { display: block; text-align: center; padding: 0.7rem 1rem; }

  .section-nav-inner {
    justify-content: flex-start;
    padding: 0.4rem 0.9rem;
  }
  .snav-link { padding: 0.55rem 0.8rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card { flex: 1; min-width: 130px; }

  /* Events */
  .events-timeline::before { display: none; }

  .event-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .event-date { text-align: left; padding-right: 0; }

  /* Mission */
  .mission-meanings {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mission-meanings-divider {
    width: 60px;
    height: 1px;
    margin: 1.5rem 0;
    align-self: auto;
  }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { text-align: left; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

/* 17. Mobile Card Carousel — Horizontal Swipe
   ===================================================== */
@media (max-width: 768px) {
  /* ── Swipe-row containers ─────────────────────────── */
  /* Full-bleed technique: negative margins extend the scroll
     container to the viewport edge while left-aligning the
     first card with the section's content column.       */
  .about-stats,
  .trade-facts,
  .sectors-grid,
  .who-grid,
  .why-grid,
  .brands-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .about-stats::-webkit-scrollbar,
  .trade-facts::-webkit-scrollbar,
  .sectors-grid::-webkit-scrollbar,
  .who-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar,
  .brands-grid::-webkit-scrollbar { display: none; }

  /* ── Sector chips: ~2 visible + next card peeking ─── */
  .about-stats,
  .trade-facts,
  .who-grid,
  .why-grid,
  .brands-grid { gap: 1rem; }

  .about-stats {
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .trade-facts { gap: 1rem; }

  .sectors-grid { gap: 0.6rem; }

  .sectors-grid .sector-card {
    flex: 0 0 calc(50vw - 1.6rem);
    min-width: 130px;
    scroll-snap-align: start;
  }

  /* ── Feature cards: one at a time + peek ─────────── */
  .about-stats .stat-card {
    flex: 0 0 72vw;
    min-width: unset;
    scroll-snap-align: start;
  }

  .trade-facts .trade-fact {
    flex: 0 0 84vw;
    scroll-snap-align: start;
  }

  .who-card,
  .why-card,
  .brand-card {
    flex: 0 0 80vw;
    min-width: unset;
    width: auto;
    scroll-snap-align: start;
  }
}
