/* =========================================================
   GHG Services — Sistema de diseño
   Un solo archivo. Sin dependencias externas.
   Temas por unidad de negocio mediante clases en <body>.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0A1526;
  --ink-2: #101F36;
  --text: #1B2638;
  --muted: #5C6B82;
  --line: #E3E8F0;
  --line-strong: #CDD6E3;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;

  --accent: #12B886;
  --accent-2: #0B8F68;
  --accent-soft: #E6F8F2;
  --accent-ink: #052A20;
  --accent-ring: rgba(18, 184, 134, 0.18);
  --accent-shadow: rgba(18, 184, 134, 0.28);
  --accent-veil: rgba(18, 184, 134, 0.16);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(10, 21, 38, 0.05), 0 2px 8px rgba(10, 21, 38, 0.04);
  --shadow-md: 0 12px 34px rgba(10, 21, 38, 0.09), 0 2px 8px rgba(10, 21, 38, 0.04);
  --shadow-lg: 0 34px 80px rgba(10, 21, 38, 0.18);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --max: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.theme-hub {
  --accent: #12B886;
  --accent-2: #0B8F68;
  --accent-soft: #E6F8F2;
  --accent-ink: #052A20;
  --accent-ring: rgba(18, 184, 134, 0.2);
  --accent-shadow: rgba(18, 184, 134, 0.3);
  --accent-veil: rgba(18, 184, 134, 0.18);
}

body.theme-import {
  --accent: #1B6BFF;
  --accent-2: #0B4BD6;
  --accent-soft: #EAF1FF;
  --accent-ink: #071E4A;
  --accent-ring: rgba(27, 107, 255, 0.2);
  --accent-shadow: rgba(27, 107, 255, 0.3);
  --accent-veil: rgba(27, 107, 255, 0.18);
}

body.theme-moto {
  --accent: #F05A28;
  --accent-2: #D14312;
  --accent-soft: #FFF0EA;
  --accent-ink: #3A1406;
  --accent-ring: rgba(240, 90, 40, 0.22);
  --accent-shadow: rgba(240, 90, 40, 0.32);
  --accent-veil: rgba(240, 90, 40, 0.22);
}

body.theme-fin {
  --accent: #0E8F6E;
  --accent-2: #076A51;
  --accent-soft: #E6F6F0;
  --accent-ink: #042B21;
  --accent-ring: rgba(14, 143, 110, 0.2);
  --accent-shadow: rgba(14, 143, 110, 0.28);
  --accent-veil: rgba(14, 143, 110, 0.16);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

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

[hidden] { display: none !important; }

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

::selection { background: var(--accent); color: #fff; }

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

.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 {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.section { padding-block: clamp(56px, 8vw, 108px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #DDE6F3; }
.section--ink h2, .section--ink h3 { color: #F4F8FF; }
.section--ink .eyebrow { color: var(--accent); }
.section--ink .lead { color: #B9C7DB; }

.section-head {
  max-width: 660px;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.display-1 { font-size: clamp(2.35rem, 5vw, 4.05rem); }
.display-2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
.display-3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.62;
  max-width: 62ch;
}

.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.tiny { font-size: 0.79rem; line-height: 1.5; }
.strong { font-weight: 700; color: var(--ink); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.stack { display: grid; gap: 14px; }
.stack-lg { display: grid; gap: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 21, 38, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px var(--accent-shadow);
  flex: none;
}
.logo-text { display: grid; line-height: 1.18; }
.logo-text strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
.logo-text small { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a.nav-link {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-desktop a.nav-link:hover { background: var(--bg-soft); color: var(--accent-2); }
.nav-desktop a.nav-link[aria-current="page"] { color: var(--accent-2); background: var(--accent-soft); }
.nav-desktop .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px clamp(18px, 4vw, 32px) 22px;
  display: grid;
  gap: 4px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 12px; width: 100%; }

/* Header oscuro (MOTOFORTEX) */
body.theme-moto .site-header { background: rgba(10, 21, 38, 0.9); border-bottom-color: rgba(255, 255, 255, 0.08); }
body.theme-moto .logo-text strong { color: #F4F8FF; }
body.theme-moto .logo-text small { color: #93A3BC; }
body.theme-moto .nav-desktop a.nav-link { color: #D9E3F1; }
body.theme-moto .nav-desktop a.nav-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
body.theme-moto .nav-desktop a.nav-link[aria-current="page"] { background: rgba(240, 90, 40, 0.18); color: #FFB79B; }
body.theme-moto .nav-toggle { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
body.theme-moto .nav-toggle span,
body.theme-moto .nav-toggle span::before,
body.theme-moto .nav-toggle span::after { background: #fff; }
body.theme-moto .mobile-nav { background: var(--ink); border-top-color: rgba(255, 255, 255, 0.1); }
body.theme-moto .mobile-nav a { color: #E6EEF9; border-bottom-color: rgba(255, 255, 255, 0.1); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px var(--accent-shadow); }
.btn-primary:hover { background: var(--accent-2); color: #fff; box-shadow: 0 14px 30px var(--accent-shadow); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

.btn-light { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, 0.2); }
.btn-light:hover { background: #F1F5FA; color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 0.855rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-wa { background: #25D366; color: #06301A; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28); }
.btn-wa:hover { background: #1FBE5B; color: #06301A; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--accent-2);
  text-decoration: none;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 7vw, 92px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(900px 520px at 88% -12%, var(--accent-veil), transparent 62%),
    radial-gradient(720px 420px at 0% 0%, rgba(10, 21, 38, 0.055), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 21, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 21, 38, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy .lead { font-size: clamp(1.04rem, 1.45vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--muted);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  flex: none;
}

.hero--ink {
  background:
    radial-gradient(900px 520px at 82% -18%, rgba(240, 90, 40, 0.35), transparent 62%),
    radial-gradient(700px 420px at 0% 10%, rgba(240, 90, 40, 0.12), transparent 60%),
    var(--ink);
  color: #D7E2F1;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.hero--ink::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}
.hero--ink h1 { color: #F6F9FF; }
.hero--ink .lead { color: #B9C7DB; }
.hero--ink .eyebrow { color: #FF9C77; }
.hero--ink .hero-note { color: #9FB0C7; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(240, 90, 40, 0.14);
  border: 1px solid rgba(240, 90, 40, 0.32);
  color: #FFC2AB;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-badge .tag-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 0.7rem; }

/* Panel de hero */
.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 18px;
}
.hero-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-panel__title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.hero--ink .hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  color: #E4ECF7;
}
.hero--ink .hero-panel__title { color: #9FB0C7; }

.mini-stat { display: grid; gap: 2px; }
.mini-stat strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; color: inherit; }
.mini-stat span { font-size: 0.8rem; color: var(--muted); }
.hero--ink .mini-stat span { color: #9FB0C7; }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 28px; font-size: 0.92rem; line-height: 1.5; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B8F68' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hero--ink .check-list li::before,
.section--ink .check-list li::before { background-color: rgba(240, 90, 40, 0.2); }

/* ---------- 7. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.section--ink .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.11);
  color: #D7E2F1;
  box-shadow: none;
}
.section--ink .card p { color: #AFC0D6; }
.section--ink .card h3 { color: #F4F8FF; }

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 16px;
  flex: none;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box--solid { background: var(--accent); color: #fff; box-shadow: 0 8px 18px var(--accent-shadow); }

.card--feature { display: grid; gap: 8px; align-content: start; }
.card--feature .tag { justify-self: start; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tarjetas de ruta (hub) */
.route-card {
  --unit: var(--accent);
  --unit-soft: var(--accent-soft);
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 2.8vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.route-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -55% -40%;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, var(--unit-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--unit);
  box-shadow: 0 24px 50px rgba(10, 21, 38, 0.12);
}
.route-card:hover::after { opacity: 1; }
.route-card > * { position: relative; z-index: 1; }
.route-card .icon-box { background: var(--unit-soft); color: var(--unit); box-shadow: none; }
.route-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
.route-card p { color: var(--muted); font-size: 0.94rem; }
.route-card .route-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--unit);
}
.route-card .route-cta svg { transition: transform 0.25s var(--ease); }
.route-card:hover .route-cta svg { transform: translateX(4px); }
.route-card .route-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.route-card .route-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--line-strong);
  letter-spacing: 0.08em;
}
.route-card .bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.route-card .bullets li { position: relative; padding-left: 20px; font-size: 0.88rem; color: var(--text); }
.route-card .bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--unit);
}

/* ---------- 8. Stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 6px;
  align-content: start;
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }

/* ---------- 9. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(16px, 2.2vw, 24px); }
.step { position: relative; display: grid; gap: 6px; padding-left: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- 10. Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label,
.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field .hint { font-size: 0.76rem; color: var(--muted); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #98A4B6; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.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='%235C6B82' 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 13px center;
  padding-right: 40px;
  cursor: pointer;
}
.textarea { min-height: 96px; resize: vertical; }

.input:user-invalid { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  width: 17px; height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: none;
}
.check a { color: var(--accent-2); font-weight: 600; }

.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-note svg { flex: none; margin-top: 2px; color: var(--accent-2); }

.form-status { font-size: 0.84rem; font-weight: 600; color: #B42318; min-height: 1.2em; }
.form-status.is-ok { color: #067647; }

.spinner {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Tarjeta de formulario */
.lead-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px);
}
.lead-card__head { display: grid; gap: 8px; margin-bottom: 22px; }
.lead-card__head h2, .lead-card__head h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead-card__head p { font-size: 0.88rem; color: var(--muted); }

.form-success {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 8px 0;
}
.form-success .success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--muted); font-size: 0.92rem; }

/* ---------- 11. Wizard (diagnóstico) ---------- */
.wizard { display: grid; gap: 20px; }
.wizard-top { display: grid; gap: 8px; }
.wizard-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.wizard-meta .wizard-count { font-family: var(--font-mono); color: var(--accent-2); }
.wizard-progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wizard-progress span { display: block; height: 100%; width: 25%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.4s var(--ease); }

.wizard-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard-step.is-active { display: block; animation: stepIn 0.32s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-step legend {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  padding: 0;
}
.wizard-step .step-help { font-size: 0.84rem; color: var(--muted); margin: 0 0 16px; }

.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.option {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  font-size: 0.9rem;
  line-height: 1.4;
}
.option:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .option-radio {
  width: 19px; height: 19px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex: none;
  margin-top: 1px;
  display: grid;
  place-items: center;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.option .option-radio::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.18s var(--ease);
}
.option.is-checked {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.option.is-checked .option-radio { border-color: var(--accent); background: var(--accent); }
.option.is-checked .option-radio::after { transform: scale(1); }
.option strong { display: block; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.option small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 1px; }
.option input:focus-visible + .option-radio { outline: 3px solid var(--accent); outline-offset: 3px; }

.wizard-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 20px; }
.wizard-actions .btn { min-width: 0; }
.wizard-actions .btn[hidden] { display: none; }

/* Resultado del diagnóstico */
.wizard-result { display: none; gap: 18px; }
.wizard-result.is-visible { display: grid; animation: stepIn 0.35s var(--ease); }
.result-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.score-ring {
  --p: 72;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.score-ring span { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--accent-2); letter-spacing: -0.03em; }
.score-ring span small { font-size: 0.62rem; font-weight: 700; color: var(--muted); display: block; text-align: center; letter-spacing: 0.02em; }
.result-title { font-size: 1.2rem; }
.result-sub { font-size: 0.9rem; color: var(--muted); }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result-list li { display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.result-list li svg { flex: none; color: var(--accent-2); margin-top: 2px; }

/* ---------- 12. Simulador financiero ---------- */
.simulator { display: grid; gap: 22px; }
.sim-field { display: grid; gap: 8px; }
.sim-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sim-field__top label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.sim-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%));
  outline: none;
  cursor: pointer;
  margin: 6px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(10, 21, 38, 0.22);
  cursor: grab;
  transition: transform 0.15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(10, 21, 38, 0.22);
  cursor: grab;
}
.sim-range-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-family: var(--font-mono); }

.sim-result {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 26px);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.sim-result::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -70px; top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-veil), transparent 70%);
  pointer-events: none;
}
.sim-result__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9FB0C7; }
.sim-result__value { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 2.85rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.sim-result__value small { font-size: 0.9rem; font-weight: 600; color: #9FB0C7; letter-spacing: 0; }
.sim-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sim-breakdown div { display: grid; gap: 2px; }
.sim-breakdown span { font-size: 0.72rem; color: #9FB0C7; }
.sim-breakdown strong { font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.sim-result .btn { position: relative; z-index: 1; }

.disclaimer {
  display: flex;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #FFF9EB;
  border: 1px solid #FDE7B0;
  color: #6B4E0E;
  font-size: 0.78rem;
  line-height: 1.55;
}
.disclaimer svg { flex: none; margin-top: 2px; }
.section--ink .disclaimer { background: rgba(253, 231, 176, 0.1); border-color: rgba(253, 231, 176, 0.25); color: #F3D999; }

/* Perfiles */
.profile-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.profile-tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.profile-tab:hover { border-color: var(--accent); color: var(--accent-2); }
.profile-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px var(--accent-shadow); }
.profile-panel { display: none; }
.profile-panel.is-active { display: block; animation: stepIn 0.3s var(--ease); }

/* ---------- 13. Catálogo ---------- */
.catalog { display: grid; gap: 22px; }
.catalog-toolbar { display: grid; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.catalog-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.search-wrap { position: relative; flex: 1 1 260px; max-width: 380px; }
.search-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap .input { padding-left: 40px; }

.catalog-row .select { width: auto; flex: 0 1 auto; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.catalog-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.catalog-meta strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }

.product-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  align-content: start;
}
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.product-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.product-brand {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.product-model { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
.product-ref {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-soft);
  align-self: flex-start;
  white-space: nowrap;
}
.product-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.pill--accent { background: var(--accent-soft); color: var(--accent-2); border-color: transparent; }
.product-add {
  margin-top: 2px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.18s var(--ease);
}
.product-add:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.product-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.product-add svg { width: 15px; height: 15px; }

.catalog-empty { display: none; padding: 40px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.catalog-empty.is-visible { display: block; }
.catalog-more-wrap { display: flex; justify-content: center; }
.catalog-more-wrap[hidden] { display: none; }

.quote-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 -10px 40px rgba(10, 21, 38, 0.24);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.quote-bar.is-visible { transform: none; }
.quote-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quote-bar__info { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; }
.quote-count {
  display: grid;
  place-items: center;
  min-width: 30px; height: 30px;
  padding: 0 7px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.quote-bar__info span { color: #B9C7DB; font-size: 0.84rem; }
.quote-bar .btn { padding: 10px 18px; font-size: 0.88rem; }
.quote-bar__clear { background: none; border: 0; color: #9FB0C7; font-size: 0.8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.quote-bar__clear:hover { color: #fff; }

body.has-quote .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }
body.has-quote .site-footer { padding-bottom: 84px; }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq details[open] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-2);
  flex: none;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 18px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 90% 0%, var(--accent-veil), transparent 60%),
    var(--ink);
  color: #E4ECF7;
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 26px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { color: #B9C7DB; font-size: 0.95rem; max-width: 56ch; }
.cta-band .hero-actions { justify-content: flex-end; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink); color: #A9B8CE; padding-top: clamp(40px, 6vw, 64px); font-size: 0.88rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
}
.site-footer h3 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: #7E90A9; }
.footer-brand p { margin-top: 16px; color: #93A3BC; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { text-decoration: none; color: #A9B8CE; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; color: #D3DEEC; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { color: var(--accent); flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #7E90A9;
}
.footer-bottom a { color: #A9B8CE; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 17. WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px 13px 14px;
  border-radius: 999px;
  background: #25D366;
  color: #06301A;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.4);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), opacity 0.22s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); color: #06301A; box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float span { line-height: 1; }

/* ---------- 18. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 19. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 140%);
  z-index: 120;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.32s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- 20. Motofortex: producto y ficha ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.product-media {
  position: relative;
  margin: 0;
  background: linear-gradient(160deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-md);
}
.product-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
}
.product-media__flag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-media figcaption {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  text-align: center;
}
.product-media figcaption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.product-media figcaption span { font-size: 0.8rem; color: var(--muted); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.spec-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
}
.spec-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.spec-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 24px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.benefit-card .icon-box { border-radius: 50%; margin-bottom: 14px; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 7px; }
.benefit-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.poster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.poster-frame {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
}
.poster-frame figcaption {
  padding: 10px 6px 2px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.tech-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(8px, 1.5vw, 18px) clamp(10px, 2vw, 24px);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 420px;
}
.tech-table th,
.tech-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tech-table th { font-weight: 600; color: var(--muted); width: 42%; }
.tech-table td { color: var(--ink); font-weight: 600; }
.tech-table tr:last-child th,
.tech-table tr:last-child td { border-bottom: 0; }

.tech-doc {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.tech-doc img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
}
.tech-doc figcaption {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.cert-panel {
  margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cert-panel > img { display: block; width: 100%; height: auto; }
.cert-panel__body {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 44px);
}
.cert-panel__body h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cert-panel__body p { color: #B9C7DB; max-width: 75ch; font-size: 0.95rem; }
.cert-panel .eyebrow { color: var(--accent); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-panel .pill--accent {
  background: rgba(240, 90, 40, 0.16);
  border-color: rgba(240, 90, 40, 0.28);
  color: #FFC2AB;
}

.tag--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px var(--accent-shadow);
}

.catalog-single {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.catalog-single__media {
  position: relative;
}
.catalog-single__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

@media (max-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .product-showcase,
  .poster-grid,
  .tech-grid { grid-template-columns: 1fr; }
  .poster-frame,
  .tech-doc { max-width: 560px; margin-inline: auto; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-single { grid-template-columns: 1fr; }
  .catalog-single__media { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 520px) {
  .benefit-grid,
  .spec-grid { grid-template-columns: 1fr; }
  .tech-table { min-width: 360px; }
  .tech-table th { width: 38%; }
  .product-media__flag { top: 12px; left: 12px; font-size: 0.64rem; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .hero-actions { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-3, .grid-3--stack, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .options--2 { grid-template-columns: 1fr; }
  .hero-panel { border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; right: 16px; bottom: 16px; }
  .quote-bar__inner { justify-content: center; }
  .quote-bar .btn { flex: 1 1 100%; }
  .section-head--center { text-align: left; }
  .section-head--center .lead { margin-inline: 0; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
  .product-card { padding: 13px; }
  .lead-card { border-radius: var(--radius); }
  .cta-band { border-radius: var(--radius); }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .hero { padding-block: 32px 44px; }
  .mini-stats { gap: 12px; }
  .sim-breakdown { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .product-model { font-size: 0.92rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logo-text small { display: none; }
}
