/* ============================================================
   GRUVAS IT Solutions - Design System
   Governance-first: structured, precise, calm, authoritative.
   Palette derived from strategy Part 8 (navy + structured blue).
   ============================================================ */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --text-3xl: clamp(2.5rem, 1.3rem + 3.6vw, 4.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Radius - squared to match gruvas.com */
  --radius-sm: 0px; --radius-md: 0px; --radius-lg: 2px;
  --radius-xl: 3px;  --radius-full: 9999px;

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 1080px;
  --content-wide: 1440px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 35, 56, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 35, 56, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 35, 56, 0.13);
}

/* ---------- LIGHT MODE (gruvas.com palette) ---------- */
:root, [data-theme="light"] {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f7f9fb;
  --color-surface-offset: #eef2f5;
  --color-divider: #e2e8ee;
  --color-border: #d5dde5;

  --color-text: #0d1b2a;         /* GRUVAS navy */
  --color-text-muted: #4a5a6a;
  --color-text-faint: #5b6b7a;
  --color-text-inverse: #f3f7fc;
  --color-on-primary: #ffffff;
  --color-primary-on-dark: #7fa8b8;
  --color-verified-on-dark: #5cbf93;

  --color-primary: #30657b;       /* GRUVAS teal */
  --color-primary-hover: #27546a;
  --color-primary-active: #1f4353;
  --color-primary-soft: #e6eef2;

  --color-navy: #0d1b2a;          /* GRUVAS deep navy */
  --color-navy-2: #12283c;

  --color-verified: #25684b;
  --color-verified-soft: #e2f2ea;
  --color-progress: #825f08;
  --color-progress-soft: #f7efd8;
  --color-research: #5b6672;
  --color-research-soft: #eceff3;
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
  --color-bg: #0b1622;
  --color-surface: #10202f;
  --color-surface-2: #142838;
  --color-surface-offset: #16304b;
  --color-divider: #1d344b;
  --color-border: #26425e;

  --color-text: #dce6f1;
  --color-text-muted: #94a7bc;
  --color-text-faint: #8298ad;
  --color-text-inverse: #dce6f1;
  --color-on-primary: #06101c;
  --color-primary-on-dark: #7db3c8;
  --color-verified-on-dark: #5cbf93;

  --color-primary: #5f9fb8;
  --color-primary-hover: #7db3c8;
  --color-primary-active: #9ac7d7;
  --color-primary-soft: #16303c;

  --color-navy: #060f18;
  --color-navy-2: #0d1b2a;

  --color-verified: #5cbf93;
  --color-verified-soft: #16352a;
  --color-progress: #e0b64a;
  --color-progress-soft: #35300f;
  --color-research: #9aa8b8;
  --color-research-soft: #1a2c3d;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0b1622; --color-surface: #10202f; --color-surface-2: #142838;
    --color-surface-offset: #16304b; --color-divider: #1d344b; --color-border: #26425e;
    --color-text: #dce6f1; --color-text-muted: #94a7bc; --color-text-faint: #8298ad;
    --color-text-inverse: #dce6f1; --color-on-primary: #06101c; --color-primary-on-dark: #7db3c8; --color-verified-on-dark: #5cbf93; --color-primary: #5f9fb8; --color-primary-hover: #7db3c8;
    --color-primary-active: #9ac7d7; --color-primary-soft: #16303c; --color-navy: #060f18;
    --color-navy-2: #0d1b2a; --color-verified: #5cbf93; --color-verified-soft: #16352a;
    --color-progress: #e0b64a; --color-progress-soft: #35300f; --color-research: #9aa8b8;
    --color-research-soft: #1a2c3d;
  }
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100dvh; line-height: 1.65;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-text); background-color: var(--color-bg);
  transition: background-color .3s ease, color .3s ease;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; color: var(--color-text); letter-spacing: 0; font-weight: 600; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(48,101,123,0.25); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

a, button, [role="button"], input, textarea, select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.wrap--default { max-width: var(--content-default); }
.wrap--narrow { max-width: var(--content-narrow); }
section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section-tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }

.eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-4);
}
/* gruvas.com centered middot eyebrow treatment */
.eyebrow--dashed::before { content: "\00B7 "; }
.eyebrow--dashed::after { content: " \00B7"; }
.section-head { max-width: 52rem; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-2xl); font-family: var(--font-display); font-weight: 600; }
.section-head p { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--color-text-muted); }
.lede { font-size: var(--text-lg); color: var(--color-text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-8); border-radius: 0;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--color-border); color: var(--color-text); background: var(--color-surface); }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--ghost { color: var(--color-primary); padding-inline: 0; }
.btn--ghost:hover { gap: var(--space-3); }
.btn--onnavy { background: #fff; color: var(--color-navy); }
.btn--onnavy:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--onnavy-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--onnavy-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   HEADER
   ============================================================ */
/* gruvas.com dark navy header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .3s ease;
}
.header--scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.header .wrap.nav { max-width: none; padding-inline: clamp(var(--space-4), 2.5vw, 2rem); }
.nav { display: flex; align-items: center; height: 5.25rem; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
/* push nav links + actions to the right, grouped near the language toggle */
.nav > nav[aria-label="Primary"] { margin-inline-start: auto; }
.brand .logo-img { height: 44px; width: 176px; max-width: 176px; aspect-ratio: 4 / 1; display: block; object-fit: contain; }
.brand .mark, .brand .brand-text { display: none; } /* replaced by logo image */
.nav-links { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin-inline-end: var(--space-3); }
.nav-links a { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(230,238,247,0.82); white-space: nowrap; }
.dd-parent { display: inline-flex; align-items: center; gap: 0.35em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 0; color: rgba(230,238,247,0.7); border: 1px solid rgba(255,255,255,0.2); }
.theme-toggle:hover { color: #fff; border-color: #fff; }
.menu-btn { display: none; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; color: #fff; border-radius: 0; border: 1px solid rgba(255,255,255,0.2); }
/* header CTA button */
.header .btn { padding-left: var(--space-4); padding-right: var(--space-4); white-space: nowrap; }
.header .btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.header .btn--primary:hover { background: var(--color-primary-hover); }

/* language switcher - single dropdown on dark header */
.lang-switch { position: relative; display: inline-flex; align-items: center; gap: 0; height: 2.4rem; border: 1px solid rgba(255,255,255,0.22); border-radius: 0; padding-left: var(--space-2); transition: border-color .15s ease; }
.lang-switch:hover { border-color: rgba(255,255,255,0.5); }
.lang-switch .lang-globe { color: rgba(230,238,247,0.7); flex: none; pointer-events: none; }
.lang-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background: transparent; border: none; color: rgba(230,238,247,0.9); font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; height: 100%; padding: 0 1.7rem 0 var(--space-2); cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a9c1cf' stroke-width='2.4'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.55rem center; }
.lang-select:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.lang-select option { color: #0d1b2a; background: #fff; font-weight: 600; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-3); min-width: 20rem; opacity: 0; visibility: hidden;
  transition: all var(--transition-interactive); display: grid; gap: 2px;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); }
.dropdown a strong { display: block; color: var(--color-text); font-weight: 600; }
.dropdown a small { color: var(--color-text-faint); font-size: var(--text-xs); }
.dropdown a:hover { background: var(--color-surface-offset); }

/* ============================================================
   HERO
   ============================================================ */
/* gruvas.com-style dark photographic hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(var(--space-24), 12vw, 9rem);
  background: linear-gradient(90deg, rgba(13,27,42,0.94) 0%, rgba(13,27,42,0.82) 45%, rgba(13,27,42,0.55) 100%), #0d1b2a;
}
.hero--photo { background-image: linear-gradient(90deg, rgba(13,27,42,0.94) 0%, rgba(13,27,42,0.80) 42%, rgba(13,27,42,0.45) 100%), url('../assets/hero.jpg'); background-size: cover; background-position: center right; }
.hero-grid { display: block; max-width: 46rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4);
  border-radius: 0; background: rgba(48,101,123,0.22); color: #9fc4d4; border: 1px solid rgba(48,101,123,0.5);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-6);
}
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1.05; text-transform: none; color: #fff; letter-spacing: 0.005em; }
.hero h1 em { font-style: normal; color: var(--color-primary-on-dark); display: inline; }
.hero h1 .accent { color: #4f8ba3; display: block; }
.hero .subline { margin-top: var(--space-6); font-size: var(--text-lg); color: rgba(230,238,247,0.85); max-width: 36rem; }
.hero-cta { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-trust { margin-top: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-8); font-size: var(--text-sm); color: rgba(230,238,247,0.7); }
.hero-trust div { display: flex; align-items: baseline; gap: var(--space-2); }
.hero-trust strong { font-size: var(--text-xl); color: #fff; font-family: var(--font-display); font-weight: 700; }
/* hero buttons on dark */
.hero .btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.hero .btn--primary:hover { background: var(--color-primary-hover); }
.hero .btn--outline { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.hero .btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.card .ico { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: var(--space-4); }
.card .ico svg { width: 1.4rem; height: 1.4rem; }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card p { font-size: var(--text-sm); color: var(--color-text-muted); }
.card .more { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); display: inline-flex; gap: var(--space-2); align-items: center; }
.card--link:hover .more { gap: var(--space-3); }

/* symptom cards (compact) */
.symptom { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; }
.symptom svg { width: 1.15rem; height: 1.15rem; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* pillar (difference) */
.pillar { padding: var(--space-6); border-left: 2px solid var(--color-primary); background: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.pillar h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.pillar p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); counter-reset: step; }
.step { position: relative; padding-top: var(--space-8); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); font-weight: 700; }
.step::after { content: ""; position: absolute; top: 0.7rem; left: 2.4rem; right: -0.5rem; height: 1px; background: var(--color-divider); }
.step:last-child::after { display: none; }
.step h4, .step h3 { font-size: var(--text-base); margin-bottom: var(--space-2); font-weight: 600; }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   NAVY SECTIONS
   ============================================================ */
.navy { background: var(--color-navy); color: var(--color-text-inverse); }
.navy h2, .navy h3 { color: #fff; }
.navy p { color: rgba(230,238,247,0.75); }
.navy .eyebrow { color: #7fa8b8; }

/* founder */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-16); align-items: start; }
.founder-photo-col { align-self: stretch; }
.founder-photo-col .founder-photo { position: sticky; top: 6rem; }
.founder-photo { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); background: var(--color-surface-offset); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-8); }
.founder-stats div strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-primary); }
.founder-stats div span { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   MATURITY CHIPS
   ============================================================ */
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 600; }
.chip::before { content:""; width: 7px; height: 7px; border-radius: 50%; }
.chip--available { background: var(--color-verified-soft); color: var(--color-verified); }
.chip--available::before { background: var(--color-verified); }
.chip--progress { background: var(--color-progress-soft); color: var(--color-progress); }
.chip--progress::before { background: var(--color-progress); }
.chip--research { background: var(--color-research-soft); color: var(--color-research); }
.chip--research::before { background: var(--color-research); }

/* ============================================================
   TABLES
   ============================================================ */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tbl th, .tbl td { text-align: left; padding: var(--space-4); border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.tbl th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); font-weight: 600; }
.tbl tr:last-child td { border-bottom: none; }

/* included list */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); list-style: none; }
.checklist li { display: flex; gap: var(--space-3); font-size: var(--text-sm); align-items: flex-start; }
.checklist svg { width: 1.1rem; height: 1.1rem; color: var(--color-verified); flex-shrink: 0; margin-top: 3px; }

/* International hub lists use lightweight generated markers rather than
   repeated inline SVGs. Keep each list to one column inside the regional cards
   and cross-border grid so longer translated items remain easy to scan. */
.international-hub .checklist { grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-4); }
.international-hub .checklist li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-verified-soft);
  color: var(--color-verified);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* International region model: capabilities are shared; cards describe only
   delivery context. These rules are intentionally scoped to this section. */
.regions-section__head { max-width: 58rem; margin-bottom: var(--space-8); }
.regions-section__head h2 { max-width: 46rem; }

.international-capabilities {
  margin-bottom: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.international-capabilities h3 { font-size: var(--text-lg); margin-bottom: var(--space-5); }
.international-hub .international-capabilities__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-6);
  margin-top: 0;
}

.regional-delivery-grid { align-items: stretch; }
.regional-delivery-card { display: flex; flex-direction: column; min-width: 0; }
.regional-delivery-card > p:first-of-type { min-height: 6.5rem; }
.regional-delivery-card .regional-delivery-card__label {
  margin-top: var(--space-5);
  color: var(--color-text);
  font-weight: 700;
}
.regional-considerations {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: 0;
  list-style: none;
}
.regional-considerations li {
  position: relative;
  padding-inline-start: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.regional-considerations li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--color-text-faint);
}
.regional-delivery-card .regional-delivery-card__link { margin-top: auto; padding-top: var(--space-6); }

@media (max-width: 960px) {
  .international-hub .international-capabilities__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .international-hub .regional-delivery-grid { grid-template-columns: 1fr; }
  .regional-delivery-card > p:first-of-type { min-height: 0; }
}

@media (max-width: 680px) {
  .international-hub .international-capabilities__list { grid-template-columns: 1fr; }
  .international-capabilities { padding: var(--space-5); }
}

/* verify note */
.verify-note { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--color-progress-soft); border: 1px solid color-mix(in srgb, var(--color-progress) 40%, transparent); border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--color-text); }
.verify-note svg { color: var(--color-progress); flex-shrink: 0; width: 1.2rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-weight: 600; font-size: var(--text-base); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; width: 1.4rem; height: 1.4rem; position: relative; transition: transform var(--transition-interactive); color: var(--color-primary); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { padding-bottom: var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); max-width: 60ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); text-transform: uppercase; letter-spacing: 0.01em; max-width: 24ch; margin-inline: auto; }
.cta-band p { margin-top: var(--space-4); margin-inline: auto; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; }

/* language band */
.lang-band { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); letter-spacing: 0.05em; }
.lang-band strong { color: var(--color-text); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-navy); color: rgba(230,238,247,0.7); padding-block: var(--space-20) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--space-8); }
.footer h4 { color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer a { font-size: var(--text-sm); color: rgba(230,238,247,0.7); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: var(--space-4); }
.footer .brand span { color: rgba(230,238,247,0.55); }
.footer-bottom { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: var(--text-xs); color: rgba(230,238,247,0.55); }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.field--full { grid-column: 1 / -1; }
.dd-parent { cursor: pointer; }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); background: var(--color-surface); font-size: 1rem;
}
.field select { min-inline-size: 12rem; padding-inline-end: 3rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 7rem; }
.field-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.consent { display: flex; gap: var(--space-3); align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-text-muted); }
.consent input { width: 1.25rem; height: 1.25rem; margin: 0; flex: 0 0 auto; accent-color: var(--color-primary); }
.consent label { display: flex; align-items: center; min-height: 44px; cursor: pointer; }

/* Optional project-detail disclosure. */
.form-optional {
  grid-column: 1 / -1;
  margin-top: var(--space-2);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.form-optional > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.form-optional > summary::-webkit-details-marker { display: none; }
.form-optional > summary::after {
  content: "⌄";
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 1.25em;
  line-height: 1;
  transition: transform var(--transition-interactive);
}
.form-optional[open] > summary::after { transform: rotate(180deg); }
.form-optional > summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.form-optional > .form-grid { padding: 0 var(--space-4) var(--space-4); }
.next-steps { list-style: none; display: grid; gap: var(--space-5); counter-reset: ns; }
.next-steps li { display: flex; gap: var(--space-4); }
.next-steps li::before { counter-increment: ns; content: counter(ns); flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: var(--text-sm); }
.next-steps strong { display: block; }
.next-steps span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* misc page hero (interior) */
.page-hero { padding-block: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-12); border-bottom: 1px solid var(--color-divider); }
.page-hero { background: var(--color-navy); border-bottom: none; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); text-transform: uppercase; color: #fff; letter-spacing: 0.01em; }
.page-hero .lede { color: rgba(230,238,247,0.82); }
.page-hero .breadcrumb { color: rgba(230,238,247,0.55); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .lede { margin-top: var(--space-4); max-width: 44rem; }
.breadcrumb { font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-5); text-transform: uppercase; letter-spacing: 0.08em; }
.breadcrumb a:hover { color: var(--color-primary); }

.tag { display: inline-block; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--color-surface-offset); border: 1px solid var(--color-border); font-size: var(--text-xs); font-weight: 500; margin: 2px; }

.diagram { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .founder-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .founder-photo-col { align-self: start; }
  .founder-photo-col .founder-photo { position: static; top: auto; }
  .founder-grid .founder-photo { max-width: 22rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Mid-range: compress the full desktop nav so it fits without overflow before collapsing to the hamburger. Spanish is the widest language. */
@media (min-width: 1281px) and (max-width: 1439px) {
  .brand .logo-img { width: 156px; height: 39px; }
  .nav-links { gap: 0.4rem; margin-inline-end: 0.5rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.01em; }
  .dd-parent { gap: 0.2em; }
  .header .btn { font-size: 0.72rem; padding-left: 0.7rem; padding-right: 0.7rem; }
  .nav-actions { gap: 0.35rem; }
  .lang-select { font-size: 0.72rem; }
}
@media (max-width: 1280px) {
  .nav-links, .header .btn { display: none; }
  .menu-btn { display: inline-flex; }
  /* mobile nav */
  .nav-links.open { display: flex; position: absolute; top: 5.25rem; left: 0; right: 0; width: 100%; max-width: 100vw; box-sizing: border-box; flex-direction: column; align-items: stretch; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--space-4); gap: var(--space-1); box-shadow: var(--shadow-lg); overflow-x: hidden; max-height: calc(100dvh - 5.25rem); overflow-y: auto; overscroll-behavior: contain; z-index: 60; }
  .nav-links.open li { width: 100%; }
  /* The open drawer sits on --color-surface (light in Light Mode), so the
     near-white desktop-header link color from the base rule would be
     unreadable. Re-map every drawer link to token-based foregrounds that meet
     WCAG AA in both themes. Desktop dark-header nav (base rule) is untouched. */
  .nav-links.open a { padding: var(--space-3); border-radius: var(--radius-md); white-space: normal; overflow-wrap: anywhere; color: var(--color-text); }
  .nav-links.open a:hover, .nav-links.open a:focus-visible { background: var(--color-surface-offset); color: var(--color-text); }
  .nav-links.open a[aria-current="page"] { color: var(--color-primary-active); background: var(--color-primary-soft); }
  .nav-links.open .dropdown a strong { color: var(--color-text); }
  .nav-links.open .dropdown a small { color: var(--color-text-muted); }
  .has-dropdown .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { position: static; left: auto; right: auto; top: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 var(--space-4); margin: 0; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; display: block; text-align: left; }
  .has-dropdown .dropdown a { position: static; left: auto; right: auto; transform: none; margin: 0; display: block; width: 100%; box-sizing: border-box; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .has-dropdown .dropdown a strong { display: block; white-space: normal; overflow-wrap: anywhere; }
  .has-dropdown .dropdown a small { display: block; margin-top: 2px; white-space: normal; overflow-wrap: anywhere; }
  .has-dropdown:not(.open) .dropdown { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-trust { gap: var(--space-4); }
}

/* ============================================================
   PRODUCTION HARDENING ADDITIONS
   ============================================================ */

/* Skip link: hidden until focused, then visible top-left */
.skip-link {
  position: absolute; top: -100px; left: var(--space-4); z-index: 200;
  background: var(--color-primary); color: var(--color-on-primary); padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm); font-weight: 600; border-radius: var(--radius-md);
}
.skip-link:focus { top: var(--space-4); }

/* Innovation Lab status chips (colour + text label, never colour alone) */
.chip--pilot { background: #fdf2dc; color: #7a4f10; }
.chip--pilot::before { background: #b3801c; }
.chip--roadmap { background: #eef1f4; color: #46566a; }
.chip--roadmap::before { background: #7b8b9d; }
[data-theme="dark"] .chip--pilot { background: rgba(179,128,28,0.18); color: #e8c47c; }
[data-theme="dark"] .chip--roadmap { background: rgba(123,139,157,0.18); color: #b9c6d3; }

/* Calm governance note (replaces alarming warning banner) */
.calm-note {
  display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  font-size: var(--text-sm); color: var(--color-text-muted);
}
.lab-block { margin-top: var(--space-12); }
.lab-block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-3); }
.lab-block__head h3 { font-size: var(--text-base); }
.lab-def { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 76ch; margin-bottom: var(--space-6); }
.section--lab { background: var(--color-surface-2); }
.sub-head { font-size: var(--text-lg); font-family: var(--font-display); font-weight: 600; margin-bottom: var(--space-2); }

/* Form: validation + status messaging */
.field .err { display: block; margin-top: var(--space-2); font-size: var(--text-xs); font-weight: 600; color: #a3261f; }
[data-theme="dark"] .field .err { color: #f0a9a3; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a3261f; }
.field .hint { display: block; margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); }
.form-status {
  margin-top: var(--space-4); padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border); background: var(--color-surface-2);
  font-size: var(--text-sm); line-height: 1.65;
}
.form-status[data-state="success"] {
  margin-top: 0; padding: var(--space-8);
  border: 2px solid var(--color-verified); border-left-width: 8px;
  background: var(--color-verified-soft); color: var(--color-text);
  box-shadow: var(--shadow-md); font-size: var(--text-lg); font-weight: 600;
  animation: form-status-success-in 260ms ease-out both;
}
.form-status[data-state="error"] { border-color: #a3261f; }
[data-theme="dark"] .form-status[data-state="error"] { border-color: #f0a9a3; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-mark { color: var(--color-primary); font-weight: 700; }

/* Reserve the challenge widget's final height to avoid layout movement. */
.cf-turnstile-slot { display: block; min-height: 65px; }

/* Submit state indicator; [hidden] continues to control its visibility. */
.btn-spinner {
  display: inline-block;
  width: 16px;
  aspect-ratio: 1;
  margin-inline-start: var(--space-2);
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: btn-spinner-rotate 720ms linear infinite;
}

@keyframes btn-spinner-rotate {
  to { transform: rotate(360deg); }
}

@keyframes form-status-success-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* Footer legal line: plain, clearly non-clickable text */
.legal-note { color: rgba(230,238,247,0.55); }
.legal-note a { font-size: var(--text-xs); color: rgba(230,238,247,0.7); text-decoration: none; }
.legal-note a:hover { color: #fff; text-decoration: underline; }

/* Touch targets + small-viewport safety */
@media (max-width: 680px) {
  .btn, .menu-btn, .theme-toggle, .lang-select { min-height: 44px; }
  .menu-btn, .theme-toggle { min-width: 44px; }
  .nav-links.open a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 430px) {
  .wrap { padding-inline: var(--space-4); }
  .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .card { padding: var(--space-5); }
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn-spinner { animation: none; border-inline-end-color: currentColor; opacity: 0.72; }
  .form-status[data-state="success"] { animation: none; }
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85);
  transition: background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive);
}
.footer-social a:hover, .footer-social a:focus-visible {
  background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary);
}
.footer-social svg { width: 20px; height: 20px; display: block; }
/* Larger social row on the contact page */
.contact-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); flex-wrap: wrap; }
.contact-social a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--color-border); color: var(--color-text);
  font-size: var(--text-sm); font-weight: 600;
  transition: background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive);
}
.contact-social a:hover, .contact-social a:focus-visible {
  background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary);
}
.contact-social svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   INTERACTIVE OPERATING FRAMEWORK (hub & spoke)
   ============================================================ */
.opf { --opf-navy: #0d1b2a; --opf-teal: var(--color-primary); --opf-green: #2e7d5b; max-width: 1120px; margin-inline: auto; }
.opf-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr minmax(240px, 300px) 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    ".   sm  ."
    "sec hub m365"
    ".   ai  .";
  align-items: center; position: relative;
}
.opf-hub { grid-area: hub; justify-self: center; align-self: center; position: relative; z-index: 2; }
.opf-hub-inner {
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1f4353 0%, var(--opf-navy) 72%);
  border: 1px solid rgba(127,168,184,0.35);
  box-shadow: 0 0 0 12px rgba(48,101,123,0.08), var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-5);
}
.opf-hub-inner::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(127,168,184,0.4); pointer-events: none;
}
.opf-hub-mark { width: 62px; height: auto; margin-bottom: var(--space-2); }
.opf-hub h3 { color: #fff; font-size: 1.5rem; letter-spacing: 0.06em; margin: var(--space-2) 0 4px; }
.opf-hub span { color: var(--color-verified-on-dark); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

.opf-node {
  display: block; position: relative; z-index: 2;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.opf-node--sm  { grid-area: sm;  border-top: 3px solid var(--opf-navy); }
.opf-node--sec { grid-area: sec; border-left: 3px solid var(--opf-teal); }
.opf-node--m365{ grid-area: m365;border-right: 3px solid var(--opf-teal); }
.opf-node--ai  { grid-area: ai;  border-bottom: 3px solid var(--opf-green); }
.opf-node:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--opf-teal);
}
.opf-node:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--color-primary-soft), var(--shadow-lg);
}
.opf-node-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.opf-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.opf-icon svg { width: 24px; height: 24px; }
.opf-icon--navy  { background: var(--opf-navy); }
.opf-icon--teal  { background: var(--opf-teal); color: var(--color-on-primary); }
.opf-icon--green { background: var(--opf-green); }
.opf-node-head h4 { font-size: 1.05rem; letter-spacing: 0.02em; margin: 0; }
.opf-tag { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0 0 var(--space-3); }
.opf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.opf-list li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--text-sm); color: var(--color-text); }
.opf-list svg { width: 16px; height: 16px; color: var(--opf-green); flex-shrink: 0; margin-top: 3px; }
.opf-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--opf-teal); }
.opf-node:hover .opf-arrow svg, .opf-node:focus-visible .opf-arrow svg { transform: translateX(4px); }
.opf-arrow svg { width: 14px; height: 14px; transition: transform var(--transition-interactive); }

/* connector lines (desktop only) */
.opf-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.opf-lines line { stroke: #7fa8b8; stroke-width: 1.6; stroke-dasharray: 5 5; }
.opf-lines circle { fill: #7fa8b8; }

/* banner */
.opf-banner {
  margin-top: var(--space-6);
  background: var(--opf-navy); color: #fff;
  border-radius: var(--radius-lg); border-bottom: 4px solid var(--opf-green);
  padding: var(--space-5) var(--space-6); text-align: center;
  font-size: var(--text-sm);
}
.opf-banner strong { font-weight: 800; letter-spacing: 0.02em; }
.opf-banner em { font-style: normal; color: var(--color-verified-on-dark); font-weight: 700; }

@media (max-width: 860px) {
  .opf-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "sm" "sec" "m365" "ai";
    gap: var(--space-4);
  }
  .opf-lines { display: none; }
  .opf-hub { margin-bottom: var(--space-2); }
}
/* ============================================================
   Google Consent Mode banner (EEA/UK/CH). Brand-matched.
   ============================================================ */
#gruvas-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-navy, #0d1b2a);
  color: #f3f7fc;
  border-top: 3px solid var(--color-primary, #30657b);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.28);
  animation: gc-slide-up 0.28s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  #gruvas-consent { animation: none; }
}
@keyframes gc-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
#gruvas-consent .gc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#gruvas-consent .gc-text { flex: 1 1 320px; min-width: 260px; }
#gruvas-consent .gc-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  color: #ffffff;
}
#gruvas-consent .gc-body {
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  color: #cdd9e5;
}
#gruvas-consent .gc-link {
  color: #9fc3d4;
  text-decoration: underline;
  white-space: nowrap;
}
#gruvas-consent .gc-link:hover { color: #c9e2ee; }
#gruvas-consent .gc-actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}
#gruvas-consent .gc-btn {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.4rem;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
#gruvas-consent .gc-decline {
  background: transparent;
  color: #e4edf5;
  border-color: #3c556b;
}
#gruvas-consent .gc-decline:hover { border-color: #6c8497; color: #ffffff; }
#gruvas-consent .gc-accept {
  background: var(--color-primary, #30657b);
  color: var(--color-on-primary, #ffffff);
  border-color: var(--color-primary, #30657b);
}
#gruvas-consent .gc-accept:hover {
  background: var(--color-primary-hover, #27546a);
  border-color: var(--color-primary-hover, #27546a);
}
#gruvas-consent .gc-btn:focus-visible {
  outline: 2px solid #9fc3d4;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  #gruvas-consent .gc-inner { gap: 0.9rem; padding: 0.9rem 1rem; }
  #gruvas-consent .gc-actions { width: 100%; }
  #gruvas-consent .gc-btn { flex: 1 1 auto; text-align: center; }
}

/* ---- v1.2.0 additions ---- */

/* Consent dialog: current decision line and equal prominence actions. */
#gruvas-consent .gc-current {
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
  color: #9fc3d4;
}
#gruvas-consent .gc-decline {
  background: #24455f;
  color: #ffffff;
  border-color: #24455f;
}
#gruvas-consent .gc-decline:hover { background: #2e5674; border-color: #2e5674; color: #ffffff; }

/* Footer "Cookie Settings" control: a button that reads as a footer link. */
.footer .legal-note .legal-link-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer .legal-note .legal-link-btn:hover { color: #ffffff; text-decoration: underline; }
.footer .legal-note .legal-link-btn:focus-visible { outline: 2px solid #9fc3d4; outline-offset: 2px; }

/* Language switcher fallback when JavaScript is unavailable. */
.lang-noscript { display: inline-flex; gap: 0.4rem; margin-left: 0.4rem; font-size: var(--text-sm); }
.lang-noscript a { color: inherit; text-decoration: underline; }

/* Cloudflare Turnstile widget spacing inside the contact form. */
.field--turnstile { margin-top: var(--space-4); }

/* Founder portrait: fixed aspect ratio so responsive variants cannot shift layout. */
.founder-portrait { display: block; width: 100%; height: auto; }

/* Heading semantics fix (v1.2.0): footer column titles and leading card titles
   were <h4>/<h3> under an <h1>, which skipped levels. They are now <h2> with
   these classes so the visual design is unchanged. */
.footer .footer-col-title { color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-4); font-weight: 600; }
.card .card-title { font-size: var(--text-lg); margin-bottom: var(--space-2); font-weight: 600; }
