/* ==========================================================================
   Bellucci Dorta Consultores — Editorial Enterprise Design System
   Light (warm architectural stone) & Dark (deep forest pine) themes
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces & Ink */
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #ecefe9;
  --ink: #111f17;
  --muted: #45564c;
  --line: #d4dcd5;
  --line-strong: #b4c2b7;

  /* Heritage Forest Accent (derived from Bellucci Dorta mark) */
  --accent: #1e5438;
  --accent-hover: #16402a;
  --accent-ink: #ffffff;
  --accent-soft: #e3ede6;

  /* Contrasting Deep Forest Band (S/4HANA, Console, Footer) */
  --band-bg: #10241a;
  --band-surface: #173024;
  --band-surface-2: #1f3c2e;
  --band-ink: #f1f6f2;
  --band-muted: #b6c9bd;
  --band-line: rgba(241, 246, 242, 0.14);
  --band-accent: #7cc89a;
  --band-accent-ink: #0a1710;

  /* Validation */
  --error: #a62626;
  --error-bg: #fdf1f1;

  /* Typography */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry & Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --header-h: 76px;
  --wrap-max: 1220px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17, 31, 23, 0.05), 0 6px 20px -12px rgba(17, 31, 23, 0.12);
  --shadow-md: 0 2px 6px rgba(17, 31, 23, 0.06), 0 18px 40px -22px rgba(17, 31, 23, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0b140f;
  --surface: #111e17;
  --surface-2: #17281f;
  --ink: #eef4f0;
  --muted: #a4b9ac;
  --line: #22362b;
  --line-strong: #324e3f;

  --accent: #78c696;
  --accent-hover: #90d5aa;
  --accent-ink: #0b140f;
  --accent-soft: #182c21;

  --band-bg: #070e0a;
  --band-surface: #0f1c15;
  --band-surface-2: #16281e;
  --band-ink: #eef4f0;
  --band-muted: #a4b9ac;
  --band-line: rgba(238, 244, 240, 0.13);
  --band-accent: #78c696;
  --band-accent-ink: #070e0a;

  --error: #f08080;
  --error-bg: rgba(240, 128, 128, 0.12);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.24), 0 12px 28px -16px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.32), 0 24px 48px -24px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--accent);
}

::selection {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--ink);
}

/* Custom Scrollbar (subtle, palette-matched) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 2px solid var(--bg);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

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

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button, a, select, input, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* Accessible Keyboard Focus (WCAG 2.4.7 & 2.4.11) */
:focus {
  outline: none;
  scroll-margin-top: calc(var(--header-h) + 24px);
  scroll-margin-bottom: 48px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.band-dark :focus-visible,
.console :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--band-accent);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Screen Reader Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link (WCAG 2.4.1) */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  transform: translateY(0);
}

/* Layout Container */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-inline: max(20px, env(safe-area-inset-left));
}
@media (min-width: 768px) {
  .wrap {
    padding-inline: max(36px, env(safe-area-inset-left));
  }
}

/* Typography Hierarchy */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              transform 0.18s var(--ease-out);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn svg {
  flex: 0 0 auto;
  transition: transform 0.2s var(--ease-out);
}
.btn:hover svg.ic-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & MOBILE NAVIGATION DRAWER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}
@media (min-width: 768px) {
  .nav-bar {
    gap: 16px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
}
.brand img {
  height: 36px;
  width: auto;
}
@media (max-width: 639px) {
  .wrap {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .brand img {
    height: 24px;
  }
  .nav-bar {
    gap: 8px;
  }
  .nav-controls {
    gap: 6px;
  }
}
@media (max-width: 379px) {
  .brand img {
    height: 22px;
  }
}

.brand .lg-dark { display: none; }
:root[data-theme="dark"] .brand .lg-light { display: none; }
:root[data-theme="dark"] .brand .lg-dark { display: block; }

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}
@media (min-width: 1040px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 0 2px;
  position: relative;
  transition: color 0.18s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active,
.nav-links a[aria-current="location"] {
  color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a.is-active::after,
.nav-links a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.icon-btn:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.theme-btn .ic-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }

.lang-switch {
  display: inline-flex;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  flex: 0 0 auto;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.lang-switch a:hover {
  color: var(--ink);
}
.lang-switch a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.nav-cta {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
  white-space: nowrap;
}
@media (min-width: 440px) {
  .nav-cta {
    display: inline-flex;
  }
}
@media (min-width: 1040px) {
  .nav-cta {
    padding: 0 22px;
    font-size: 14.5px;
  }
}

.menu-toggle {
  display: inline-grid;
}
@media (min-width: 1040px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(8, 17, 12, 0.56);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0s;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(340px, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s var(--ease-out), visibility 0s linear 0.28s;
  box-shadow: var(--shadow-md);
}
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.28s var(--ease-out), visibility 0s linear 0s;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.16s var(--ease-out);
}
.drawer-nav a:hover,
.drawer-nav a.is-active,
.drawer-nav a[aria-current="location"] {
  color: var(--accent);
}
.drawer-nav a.is-active,
.drawer-nav a[aria-current="location"] {
  font-weight: 600;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.drawer-foot {
  margin-top: auto;
  display: grid;
  gap: 12px;
}
.drawer-foot .btn {
  width: 100%;
}
.drawer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  padding: 8px 4px;
}

/* ==========================================================================
   HERO — ASYMMETRIC EDITORIAL SPLIT (ABOVE THE FOLD ON 1440x900)
   ========================================================================== */
.hero {
  padding: 36px 0 52px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .hero {
    min-height: min(calc(100svh - var(--header-h)), 860px);
    display: flex;
    align-items: center;
    padding: 48px 0 60px;
  }
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 56px;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-meta::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(32px, 4.1vw, 54px);
  line-height: 1.08;
  color: var(--ink);
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .hero-proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    padding-top: 32px;
  }
}

.proof-item {
  min-width: 0;
}
@media (min-width: 720px) {
  .proof-item {
    padding-right: 24px;
  }
  .proof-item + .proof-item {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
  .proof-item:last-child {
    padding-right: 0;
  }
}
.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.proof-item span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Editorial Photo Frame */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-media .photo-frame img {
  aspect-ratio: 4 / 3;
}

/* Hero load entrance — starts already visible (never blocks LCP at opacity 0) */
.hero-enter {
  animation: heroSettle 0.55s var(--ease-out) both;
}
.hero-enter-delay {
  animation: heroSettle 0.65s var(--ease-out) 0.06s both;
}
@keyframes heroSettle {
  from {
    transform: translateY(8px);
  }
  to {
    transform: none;
  }
}

/* ==========================================================================
   SECTIONS — SHARED RHYTHM
   ========================================================================== */
.section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}

.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .section-header {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
  }
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  color: var(--ink);
}

.section-header p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}

/* ==========================================================================
   SECTION: NÓMINA SAP (EDITORIAL PHOTO + ARCHITECTURAL LEDGER + SPEC LIST)
   ========================================================================== */
.nomina-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .nomina-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
  }
}

.nomina-visual {
  display: grid;
  gap: 20px;
}

.ledger {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ledger-head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ledger-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-head strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ledger-list {
  list-style: none;
}
.ledger-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ledger-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ledger-list .l-key {
  color: var(--muted);
}
.ledger-list .l-val {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nomina-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
}
.nomina-copy .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 56ch;
}

.spec-list {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec-list .spec-ic {
  color: var(--accent);
  margin-top: 2px;
}
.spec-list h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.spec-list p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION: S/4HANA MIGRATION (DEEP FOREST ARCHITECTURAL BAND)
   ========================================================================== */
.band-dark {
  background: var(--band-bg);
  color: var(--band-ink);
}
.band-dark .section-header h2 {
  color: var(--band-ink);
}
.band-dark .section-header p {
  color: var(--band-muted);
}

.migration-flow {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .migration-flow {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr) auto minmax(0, 1fr);
    align-items: stretch;
  }
}

.flow-node {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--band-line);
  background: var(--band-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-node strong {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--band-ink);
}
.flow-node span {
  margin-top: 4px;
  font-size: 13px;
  color: var(--band-muted);
}
.flow-node.target {
  background: var(--band-accent);
  border-color: var(--band-accent);
  color: var(--band-accent-ink);
}
.flow-node.target strong,
.flow-node.target span {
  color: var(--band-accent-ink);
}
.flow-node.target span {
  font-weight: 500;
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--band-accent);
  padding: 2px 4px;
}
.flow-arrow svg {
  transform: rotate(90deg);
}
@media (min-width: 768px) {
  .flow-arrow svg {
    transform: none;
  }
}

/* Inline migration route definitions (eliminates jargon bridge to FAQ) */
.route-gloss {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}
@media (min-width: 768px) {
  .route-gloss {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
.route-gloss-item {
  min-width: 0;
}
.route-gloss-item dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--band-accent);
}
.route-gloss-item dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--band-muted);
}

/* Unified console framed in crisp white inside deep forest S/4HANA band */
.console-in-band {
  margin-top: 8px;
}
.band-dark .console {
  border-color: rgba(241, 246, 242, 0.28);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}
.band-dark .console :focus-visible {
  outline-color: var(--c-accent);
}

/* Mid-page contextual conversion pills (44px+ touch targets) */
.section-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              transform 0.18s var(--ease-out);
}
.inline-cta svg {
  flex: 0 0 auto;
  transition: transform 0.2s var(--ease-out);
}
.inline-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-1px);
}
.inline-cta:hover svg {
  transform: translateX(3px);
}
.inline-cta:active {
  transform: translateY(1px);
}
.band-dark .inline-cta {
  background: var(--band-surface);
  border-color: color-mix(in srgb, var(--band-accent) 48%, transparent);
  color: var(--band-accent);
}
.band-dark .inline-cta:hover {
  background: var(--band-accent);
  border-color: var(--band-accent);
  color: var(--band-accent-ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--band-line);
}
.tag-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--band-muted);
  margin-right: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.band-dark .chip {
  background: var(--band-surface);
  border-color: var(--band-line);
  color: var(--band-ink);
}

/* ==========================================================================
   SECTION: NUESTRO MÉTODO (ACCESSIBLE INTERACTIVE 5-STEP CONSOLE)
   ========================================================================== */
.console-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.console {
  --c-bg: #ffffff;
  --c-surface: #f6f7f4;
  --c-surface-2: #ecefe9;
  --c-ink: #111f17;
  --c-muted: #45564c;
  --c-line: #d4dcd5;
  --c-line-strong: #b4c2b7;
  --c-accent: #1e5438;
  --c-accent-ink: #ffffff;
  --c-accent-soft: #e3ede6;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg);
  color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow-md);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface);
}
.console-id {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.console-counter {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

.console-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  background: var(--c-bg);
}
@media (min-width: 640px) {
  .console-stage {
    min-height: 390px;
  }
}

.scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out), visibility 0.45s;
}
.scene.on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sc-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 8px;
}

.sc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 26px;
  color: var(--c-ink);
}

.sc-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.anim > * {
  opacity: 0;
  transform: translateY(10px);
}
.scene.on .anim > * {
  animation: scRise 0.48s var(--ease-out) forwards;
}
.scene.on .anim > *:nth-child(2) { animation-delay: 0.12s; }
.scene.on .anim > *:nth-child(3) { animation-delay: 0.24s; }
.scene.on .anim > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes scRise {
  to {
    opacity: 1;
    transform: none;
  }
}

.c-box {
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink);
}
.c-box small {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--c-muted);
}
.c-box.hi {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
}
@media (max-width: 480px) {
  .legacy-grid {
    grid-template-columns: 1fr;
  }
}

.scan-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(580px, 100%);
  overflow: hidden;
}
@media (max-width: 480px) {
  .scan-grid {
    grid-template-columns: 1fr;
  }
}
.scan-grid .c-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.scan-grid .ok {
  color: var(--c-accent);
  flex: 0 0 auto;
}
.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  opacity: 0;
  pointer-events: none;
}
.scene.on .scan-beam {
  animation: scanSweep 2.2s var(--ease-out) 0.25s 1 forwards;
}
@keyframes scanSweep {
  0% { transform: translateY(0); opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { transform: translateY(150px); opacity: 0; }
}

.parallel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(640px, 100%);
}
@media (max-width: 520px) {
  .parallel-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.p-col {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--c-surface);
}
.p-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.p-ln {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--c-ink);
  padding: 6px 0;
  border-bottom: 1px dashed var(--c-line);
}
.p-ln:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.p-ln .ok {
  color: var(--c-accent);
}
.p-eq {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--c-accent);
  text-align: center;
}

.status-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  border: 1px solid color-mix(in srgb, var(--c-accent) 28%, transparent);
  color: var(--c-ink);
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
.status-banner svg {
  color: var(--c-accent);
  flex: 0 0 auto;
}

.golive-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.track-line {
  width: clamp(72px, 16vw, 160px);
  height: 4px;
  border-radius: 999px;
  background: var(--c-line);
  overflow: hidden;
}
.track-line i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--c-accent);
  transform-origin: left;
  transform: scaleX(0);
}
.scene.on .track-line i {
  animation: trackFill 1.2s var(--ease-out) 0.3s forwards;
}
@keyframes trackFill {
  to { transform: scaleX(1); }
}

.deliverables {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.deliverable-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-size: 13.5px;
  color: var(--c-ink);
}
.deliverable-chip svg {
  color: var(--c-accent);
  flex: 0 0 auto;
}

/* Console Controls — 44px+ accessible touch targets */
.console-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--c-line);
  background: var(--c-surface);
}
.console-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.pp-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-accent);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: opacity 0.18s var(--ease-out), transform 0.15s var(--ease-out);
}
.pp-btn:hover {
  opacity: 0.92;
}
.pp-btn:active {
  transform: scale(0.97);
}

.step-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg);
  color: var(--c-ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out), transform 0.15s var(--ease-out);
}
.step-nav-btn:hover {
  border-color: var(--c-accent);
  background: var(--c-surface-2);
}
.step-nav-btn:active {
  transform: scale(0.97);
}

.console-mobile-step {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink);
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.seg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--c-muted);
  transition: color 0.18s var(--ease-out);
}
.seg:hover,
.seg[aria-selected="true"] {
  color: var(--c-ink);
}
.seg-label {
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .console-ctrl {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .console-actions {
    width: 100%;
  }
  .console-mobile-step {
    display: inline-block;
  }
  .segs {
    gap: 6px;
  }
  .seg {
    min-width: 0;
    align-items: center;
    text-align: center;
  }
  .seg-label .seg-name {
    display: none;
  }
}
.seg-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--c-line);
  overflow: hidden;
}
.seg-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-accent);
  transform-origin: left;
  transform: scaleX(0);
}
.seg.done .seg-fill {
  transform: scaleX(1);
}

/* ==========================================================================
   SECTION: SERVICIOS (ARCHITECTURAL SERVICE INDEX)
   ========================================================================== */
.service-index {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .service-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 720px) {
  .service-row {
    padding: 32px 28px 32px 0;
  }
  .service-row:nth-child(even) {
    padding-left: 28px;
    padding-right: 0;
    border-left: 1px solid var(--line);
  }
}

.service-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.service-row h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.service-row p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.modules-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.modules-row .tag-label {
  color: var(--muted);
}

/* ==========================================================================
   SECTION: LATAM (INTERACTIVE ACCESSIBLE DOTTED MAP)
   ========================================================================== */
.latam-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .latam-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
  }
}

.latam-copy h2 {
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.12;
}
.latam-copy > p {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 52ch;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.country-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s var(--ease-out),
              background-color 0.18s var(--ease-out),
              transform 0.16s var(--ease-out);
}
.country-btn:hover,
.country-btn.preview {
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.country-btn[aria-pressed="true"],
.country-btn[aria-pressed="true"]:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.country-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  transition: background-color 0.18s var(--ease-out);
}
.country-btn[aria-pressed="true"] .country-dot {
  background: var(--accent-ink);
}

.country-note {
  margin-top: 18px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.country-note strong {
  color: var(--ink);
}

.map-frame {
  background: var(--band-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

#map {
  width: 100%;
  height: auto;
  max-height: 540px;
  margin: 0 auto;
}
#map .land path.dots {
  fill: none;
  stroke: rgba(241, 246, 242, 0.18);
  stroke-width: 4.2px;
  stroke-linecap: round;
}
#map .active {
  cursor: pointer;
  transition: opacity 0.18s var(--ease-out), filter 0.18s var(--ease-out);
}
#map .active path.dots {
  fill: none;
  stroke: var(--band-accent);
  stroke-width: 4.4px;
  stroke-linecap: round;
}
#map .active.preview {
  filter: brightness(1.14);
}
#map .active.hl {
  filter: brightness(1.34) drop-shadow(0 0 6px rgba(124, 200, 154, 0.45));
}
#map .pin {
  fill: #ffffff;
}
#map .pulse {
  fill: none;
  stroke: var(--band-accent);
  stroke-width: 1.8;
  animation: mapPulse 2.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes mapPulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
#map text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  fill: #f1f6f2;
  paint-order: stroke;
  stroke: #10241a;
  stroke-width: 3.5px;
  pointer-events: none;
}

/* ==========================================================================
   SUB-BLOCK: TRAYECTORIA & CLIENTES (UNIFIED TYPOGRAPHIC CLIENT LEDGER)
   ========================================================================== */
.clients-subblock {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 92px;
}

.heritage-strip {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 960px) {
  .heritage-strip {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
  }
}
.heritage-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.heritage-copy h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.14;
  color: var(--ink);
}
.heritage-copy p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 58ch;
}
.heritage-photo .photo-frame img {
  aspect-ratio: 4 / 3;
}

.client-ledger {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
}
@media (min-width: 560px) {
  .client-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .client-ledger {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.client-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease-out);
}
.client-cell:hover {
  background: var(--surface-2);
}

.client-mark {
  display: flex;
  align-items: center;
}

.client-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.client-sector {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   SECTION: FAQ (NATIVE ACCESSIBLE ACCORDION — DIRECT-ANSWER AGO SECTION)
   ========================================================================== */
.faq-list {
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.18s var(--ease-out);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  flex: 0 0 auto;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.faq-icon svg {
  transition: transform 0.22s var(--ease-out);
}
.faq-item[open] .faq-icon {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.faq-item[open] .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 24px;
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
}

/* ==========================================================================
   SECTION: CONTACTO (ACCESSIBLE FORM + CLICKABLE CONTACT DETAILS)
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }
}

.contact-info h2 {
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.12;
}
.contact-info > p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
}

.info-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.info-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.info-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-val {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.phone-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.phone-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  transition: color 0.18s, text-decoration-color 0.18s;
}
.phone-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Contact Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .contact-form {
    padding: 36px;
  }
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-required-note {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 -4px;
}
.form-required-note .req {
  color: var(--accent);
  font-weight: 700;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req {
  color: var(--accent);
  margin-left: 2px;
}
.field label .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
}
.field-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.field-count.is-over {
  color: var(--error);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  overflow-wrap: break-word;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg);
  color: var(--ink);
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2345564c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
:root[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a4b9ac' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.96;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}
.field textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.55;
}

.field-error {
  font-size: 13px;
  color: var(--error);
  min-height: 0;
}
.field-error:empty {
  display: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.form-reassurance svg {
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.form-status.is-error {
  background: var(--error-bg);
  border-color: color-mix(in srgb, var(--error) 45%, transparent);
  color: var(--error);
}
.form-status[hidden] {
  display: none;
}

/* ==========================================================================
   FOOTER (HIGH CONTRAST IN BOTH LIGHT & DARK THEMES)
   ========================================================================== */
.site-footer {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 64px 0 max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--band-line);
}

.foot-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.foot-brand .brand {
  min-height: 44px;
  padding: 2px 0;
}
.foot-brand img {
  height: 40px;
  width: auto;
}
.foot-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--band-muted);
  max-width: 42ch;
}

.foot-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-accent);
  margin-bottom: 10px;
}
.foot-col ul {
  list-style: none;
  display: grid;
  gap: 2px;
}
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 30px;
  padding: 3px 0;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--band-muted);
  transition: color 0.18s var(--ease-out);
}
.foot-col a:hover {
  color: var(--band-ink);
}

.foot-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13.5px;
  color: var(--band-muted);
}

.footer-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--band-line);
  background: var(--band-surface);
  color: var(--band-ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}
.footer-theme-btn:hover {
  border-color: var(--band-accent);
  background: var(--band-surface-2);
}
.footer-theme-btn:focus-visible {
  outline: 2px solid var(--band-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   REDUCED MOTION SUPPORT (WCAG 2.3.3 — PRESERVES FEEDBACK WITHOUT MOTION)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-enter,
  .hero-enter-delay,
  .scene.on .anim > *,
  .scene.on .scan-beam,
  .scene.on .track-line i,
  #map .pulse {
    animation: none !important;
  }
  .anim > * {
    opacity: 1;
    transform: none;
  }
  .track-line i {
    transform: scaleX(1);
  }
  .scene {
    transform: none;
    transition: opacity 0.15s linear;
  }
  .btn, .country-btn, .mobile-drawer, .drawer-backdrop {
    transition-duration: 0.08s;
  }
}
