/* ==========================================================================
   Chadeva — Institutional/Technical Stylesheet
   Shared across chadeva.es and chadeva.mx
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color system — institutional navy with warm amber accent */
  --c-navy: #0F1B3C;
  --c-navy-deep: #08102A;
  --c-navy-soft: #1E2D54;
  --c-slate: #3A4A5C;
  --c-slate-light: #6B7888;
  --c-amber: #D89B47;
  --c-amber-soft: #E8B872;
  --c-amber-deep: #B47A2A;
  --c-cream: #F8F6F0;
  --c-cream-warm: #F2EDE2;
  --c-paper: #FFFFFF;
  --c-line: #E2DCC9;
  --c-line-strong: #C6BFA8;
  --c-ink: #1A1A1A;
  --c-ink-soft: #4A4A4A;
  --c-mx-accent: #7A2A2A; /* Granate burdeos — secondary accent for MX site */
  --c-success: #2D5F3F;

  /* Typography */
  --f-display: 'Fraunces', 'Georgia', serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --max-w: 1280px;
  --max-w-narrow: 960px;
  --max-w-prose: 720px;

  /* Motion */
  --t-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* MX site override for secondary accent */
.site-mx {
  --c-secondary-accent: var(--c-mx-accent);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-navy);
  margin: 0 0 var(--s-5);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--f-body);
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 var(--s-4);
  font-size: 1.0625rem;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--c-slate);
  max-width: 60ch;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
  margin: 0 0 var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-amber);
}

.numeral {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--c-navy);
}

.numeral em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-amber-deep);
}

code, kbd, samp {
  font-family: var(--f-mono);
  font-size: 0.92em;
  background: var(--c-cream-warm);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  color: var(--c-navy);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.wrap-narrow { max-width: var(--max-w-narrow); }
.wrap-prose { max-width: var(--max-w-prose); }

section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-bg-navy {
  background: var(--c-navy);
  color: var(--c-cream);
}
.section-bg-navy h1,
.section-bg-navy h2,
.section-bg-navy h3,
.section-bg-navy h4 { color: var(--c-cream); }
.section-bg-navy .lead { color: var(--c-line); }

.section-bg-paper { background: var(--c-paper); }
.section-bg-warm  { background: var(--c-cream-warm); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-navy);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-glyph {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-country {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
  padding: 4px 8px;
  border: 1px solid var(--c-amber);
  border-radius: 999px;
}

.site-mx .brand-country {
  color: var(--c-mx-accent);
  border-color: var(--c-mx-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-slate);
  padding: 8px 2px;
  position: relative;
  transition: color var(--t-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--c-navy);
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-amber);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.country-switch {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  padding: 4px;
  background: var(--c-paper);
}

.country-switch a {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--c-slate);
  transition: all var(--t-fast);
}

.country-switch a.active {
  background: var(--c-navy);
  color: var(--c-cream);
}

.country-switch a:not(.active):hover { color: var(--c-navy); }

.lang-toggle {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-slate);
  border: 1px solid var(--c-line-strong);
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all var(--t-fast);
}

.lang-toggle:hover {
  border-color: var(--c-navy);
  color: var(--c-navy);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-navy);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 10rem) 0 clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  background: var(--c-cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(216, 155, 71, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(15, 27, 60, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-9);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: var(--s-6);
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-amber-deep);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-line);
}

.hero-meta-item .label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate-light);
  display: block;
  margin-bottom: 4px;
}

.hero-meta-item .value {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: -0.01em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
}

/* ==========================================================================
   Buttons / Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--c-navy);
  color: var(--c-cream);
}
.btn-primary:hover {
  background: var(--c-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 27, 60, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-ghost:hover {
  background: var(--c-navy);
  color: var(--c-cream);
}

.btn-amber {
  background: var(--c-amber);
  color: var(--c-navy);
}
.btn-amber:hover {
  background: var(--c-amber-deep);
  color: var(--c-cream);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-base);
}
.btn:hover .arrow { transform: translateX(4px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.link-inline {
  color: var(--c-amber-deep);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  transition: color var(--t-fast);
}
.link-inline:hover { color: var(--c-navy); }

/* ==========================================================================
   Cards & Grids
   ========================================================================== */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }

.card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: var(--s-6);
  transition: all var(--t-base);
  position: relative;
}

.card:hover {
  border-color: var(--c-amber);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 27, 60, 0.08);
}

.card-num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-amber-deep);
  margin-bottom: var(--s-4);
}

.card h3 { margin-bottom: var(--s-3); }

.card p {
  color: var(--c-slate);
  font-size: 0.9375rem;
  margin: 0;
}

.card-stat .stat-num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-navy);
  margin-bottom: var(--s-3);
  display: block;
}

.card-stat .stat-num em {
  font-style: italic;
  color: var(--c-amber-deep);
}

.card-stat .stat-label {
  font-size: 0.875rem;
  color: var(--c-slate);
  font-weight: 500;
}

/* Feature row alternating layout */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
  margin-bottom: var(--s-9);
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row.reverse .feat-text { order: 2; }
.feat-row.reverse .feat-visual { order: 1; }

.feat-text h3 { margin-bottom: var(--s-4); }
.feat-text ul {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
}
.feat-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--s-3);
  color: var(--c-slate);
  font-size: 1rem;
  line-height: 1.5;
}
.feat-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 1px;
  background: var(--c-amber);
}

/* ==========================================================================
   Section heads & dividers
   ========================================================================== */

.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-9);
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}
.section-head .eyebrow::before {
  display: none;
}
.section-head .eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--c-amber);
  margin-left: var(--s-3);
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}
.section-head.left .eyebrow {
  justify-content: flex-start;
}
.section-head.left .eyebrow::before {
  display: inline-block;
}
.section-head.left .eyebrow::after { display: none; }

/* ==========================================================================
   Regulatory standing block
   ========================================================================== */

.reg-block {
  background: var(--c-navy);
  color: var(--c-cream);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.reg-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--c-amber) 0%,
    var(--c-amber) 30%,
    transparent 30%,
    transparent 100%);
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-6);
}

.reg-item dt {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber-soft);
  margin-bottom: var(--s-2);
}

.reg-item dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-cream);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.reg-item dd small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-line);
  margin-top: 4px;
  letter-spacing: 0;
}

/* ==========================================================================
   Partners / Logos row
   ========================================================================== */

.logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin-top: var(--s-7);
}

.logo-cell {
  background: var(--c-paper);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  min-height: 120px;
}

.logo-cell .lbl {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
}

.logo-cell .name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--c-navy);
}

.logo-cell .meta {
  font-size: 0.8125rem;
  color: var(--c-slate);
  margin-top: 2px;
}

/* ==========================================================================
   Diagrams — agentic AI flow
   ========================================================================== */

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
  align-items: stretch;
  margin: var(--s-7) 0;
}

.flow-node {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: var(--s-4);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}

.flow-node.highlight {
  background: var(--c-navy);
  color: var(--c-cream);
  border-color: var(--c-navy);
}

.flow-node .icon {
  margin: 0 auto var(--s-3);
  width: 32px;
  height: 32px;
}

.flow-node .icon svg { width: 100%; height: 100%; }
.flow-node .icon svg path,
.flow-node .icon svg circle,
.flow-node .icon svg line { stroke: var(--c-amber-deep); }
.flow-node.highlight .icon svg path,
.flow-node.highlight .icon svg circle,
.flow-node.highlight .icon svg line { stroke: var(--c-amber); }

.flow-node h4 {
  font-size: 0.9375rem;
  margin: 0 0 4px;
  color: inherit;
}

.flow-node small {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-slate-light);
}
.flow-node.highlight small { color: var(--c-amber-soft); }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 1.5rem;
  color: var(--c-amber);
  user-select: none;
}

/* ==========================================================================
   Quote / Pull
   ========================================================================== */

blockquote.pull {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  margin: var(--s-7) 0;
  padding: 0 0 0 var(--s-6);
  border-left: 3px solid var(--c-amber);
  max-width: 720px;
}

blockquote.pull cite {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-top: var(--s-4);
}

/* ==========================================================================
   Tables
   ========================================================================== */

table.spec {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  font-size: 0.9375rem;
}

table.spec th,
table.spec td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

table.spec th {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
  background: var(--c-cream-warm);
}

table.spec tr:hover td { background: var(--c-cream-warm); }

table.spec td.num {
  font-family: var(--f-mono);
  font-feature-settings: 'tnum';
  text-align: right;
  color: var(--c-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--c-navy-deep);
  color: var(--c-line);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: var(--s-9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-brand .brand {
  color: var(--c-cream);
  font-size: 1.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--c-slate-light);
  max-width: 36ch;
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin: 0 0 var(--s-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--s-2);
  font-size: 0.9375rem;
}

.footer-col a {
  color: var(--c-line);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-amber); }

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s-5);
  font-size: 0.8125rem;
  color: var(--c-slate-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
}

.footer-meta .legal-entity {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Decorative SVG / network motif
   ========================================================================== */

.net-motif {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.net-motif .node {
  fill: var(--c-amber);
}
.net-motif .node-large {
  fill: var(--c-navy);
}
.net-motif .link {
  stroke: var(--c-slate);
  stroke-width: 1;
  fill: none;
  opacity: 0.4;
}
.net-motif .link-active {
  stroke: var(--c-amber);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.9;
  stroke-dasharray: 4 4;
  animation: dashflow 8s linear infinite;
}

@keyframes dashflow {
  to { stroke-dashoffset: -100; }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .reveal:nth-child(2) { animation-delay: 0.1s; }
  .reveal:nth-child(3) { animation-delay: 0.2s; }
  .reveal:nth-child(4) { animation-delay: 0.3s; }
  .reveal:nth-child(5) { animation-delay: 0.4s; }
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .hero-grid,
  .feat-row,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .grid-2 { grid-template-columns: 1fr; }
  .feat-row.reverse .feat-text { order: 0; }
  .feat-row.reverse .feat-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow-diagram {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-cream);
    padding: var(--s-5);
    border-bottom: 1px solid var(--c-line);
    align-items: flex-start;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .country-switch a { padding: 4px 10px; font-size: 0.75rem; }
  .reg-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .reg-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: var(--s-4); }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-row { display: none; }
  body { background: white; color: black; }
}
