/* ==========================================================================
   MONAL. — Sistema de diseño
   Sitio estático para Nginx. Sin dependencias de compilación.
   ========================================================================== */

/* ---------------------------------- Tokens --------------------------------- */
:root {
  --ink: #090d16;
  --ink-2: #0f172a;
  --ink-3: #131f36;
  --white: #ffffff;
  --paper: #f8fafc;
  --paper-2: #f1f5f9;

  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --cyan: #06b6d4;
  --cyan-soft: #67e8f9;

  --green: #15803d;
  --green-500: #16a34a;
  --wa: #25d366;

  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --line-dark: rgba(148, 163, 184, 0.18);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 68px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 28px 70px -28px rgba(15, 23, 42, 0.35);
  --shadow-dark: 0 40px 100px -40px rgba(0, 0, 0, 0.8);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 34px; height: 34px; }

.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: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* -------------------------------- Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  position: relative;
  padding-block: clamp(64px, 8.5vw, 108px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--paper-top { border-top: 1px solid var(--line); }
.section--dark {
  background: var(--ink);
  color: var(--light, #f8fafc);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: #cbd5e1; }

.divider { height: 1px; background: var(--line); border: 0; }

/* ------------------------------- Typography -------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.eyebrow--light { color: var(--cyan-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-head h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.65rem);
  line-height: 1.1;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
}
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--muted-2); }

.lead { font-size: 1.1rem; color: var(--text-2); }

.text-accent { color: var(--blue); }
.text-cyan { color: var(--cyan); }
.text-gradient {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.75);
}
.btn--primary:hover { background: var(--blue-600); }

.btn--wa {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(22, 163, 74, 0.7);
}
.btn--wa:hover { background: var(--green); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #e2e8f0; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: #bfdbfe;
}
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------- Badges ---------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}
.badge .icon { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }
.badge--light {
  background: var(--blue-50);
  border-color: #dbeafe;
  color: var(--blue-700);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--text-2);
  font-size: 0.74rem;
  font-weight: 650;
}
.tag--blue { background: var(--blue-50); color: var(--blue-700); }
.tag--dark { background: rgba(255, 255, 255, 0.06); color: #cbd5e1; }

/* --------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 13, 22, 0.97);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--white);
  line-height: 1;
}
.brand span { color: var(--cyan); }
.brand:hover span { color: #22d3ee; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #cbd5e1;
  font-family: var(--font-head);
  font-size: 0.865rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-link .icon { width: 15px; height: 15px; transition: transform 0.2s ease; }
.nav-link[aria-current="page"] { color: var(--white); }

.nav-cta { margin-left: 8px; }

.nav-item { position: relative; }
.nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  padding: 8px;
  border-radius: 16px;
  background: #0d1627;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .nav-menu,
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.16s ease;
}
.nav-menu a:hover { background: rgba(37, 99, 235, 0.16); }
.nav-menu .icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.nav-menu small {
  display: block;
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.13); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-nav {
  display: none;
  background: #0b1322;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 10px 20px 24px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { display: block; animation: slideDown 0.22s var(--ease); }

.mobile-nav__label {
  padding: 14px 4px 6px;
  color: var(--muted-2);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-nav a.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
}
.mobile-nav a.mobile-nav__link:hover { color: var(--white); }
.mobile-nav a.mobile-nav__link .icon { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-nav .btn { margin-top: 18px; }
.mobile-nav__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f8fafc;
  padding-block: clamp(52px, 7.5vw, 96px) clamp(64px, 9vw, 112px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 420px at 78% 8%, rgba(37, 99, 235, 0.28), transparent 65%),
    radial-gradient(600px 380px at 8% 92%, rgba(6, 182, 212, 0.16), transparent 70%),
    linear-gradient(180deg, #090d16 0%, #0b1322 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
  min-width: 0;
}
.hero__copy { max-width: 720px; min-width: 0; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.05rem, 5.7vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: var(--white);
}
.hero__lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: #cbd5e1;
}
.hero__actions { margin-top: 28px; }
.hero__actions .btn { min-width: 220px; }

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.86rem;
  color: #cbd5e1;
}
.hero__bullets li { display: flex; align-items: center; gap: 7px; }
.hero__bullets .icon { width: 17px; height: 17px; color: var(--cyan); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.8rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta .icon { width: 15px; height: 15px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb [aria-current="page"] { color: #cbd5e1; }

/* Consola / panel visual */
.hero__visual { position: relative; min-width: 0; }

.console {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(165deg, #101c32 0%, #0a1220 100%);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(255, 255, 255, 0.02);
}
.console__dots { display: flex; gap: 5px; }
.console__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #334155;
}
.console__dots span:nth-child(1) { background: #f87171; }
.console__dots span:nth-child(2) { background: #fbbf24; }
.console__dots span:nth-child(3) { background: #34d399; }
.console__title {
  margin-left: 2px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  text-transform: uppercase;
}
.console__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #6ee7b7;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.console__live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.console__body { padding: 16px; }

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.metric {
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.13);
}
.metric__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.metric__value {
  display: block;
  margin-top: 3px;
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.metric__delta { font-size: 0.68rem; font-weight: 600; color: #6ee7b7; }
.metric--accent {
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.24), rgba(6, 182, 212, 0.1));
  border-color: rgba(96, 165, 250, 0.3);
}

.chart {
  margin-top: 14px;
  padding: 13px 13px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.1);
}
.chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted-2);
}
.chart__head strong { color: #e2e8f0; font-weight: 600; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 68px;
  margin-top: 10px;
}
.bars span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #38bdf8 0%, rgba(37, 99, 235, 0.55) 100%);
  opacity: 0.9;
}
.bars span:nth-child(2n) { background: linear-gradient(180deg, #22d3ee 0%, rgba(6, 182, 212, 0.5) 100%); }
.bars span:last-child { opacity: 1; box-shadow: 0 0 18px rgba(56, 189, 248, 0.5); }

.console__rows { display: grid; gap: 7px; margin-top: 14px; }
.console__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.09);
  font-size: 0.75rem;
  color: #cbd5e1;
}
.console__row .icon { width: 15px; height: 15px; color: var(--cyan); }
.console__row time { margin-left: auto; color: var(--muted-2); font-size: 0.68rem; white-space: nowrap; }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  color: #e2e8f0;
  line-height: 1.35;
}
.float-chip strong { display: block; font-size: 0.76rem; color: #fff; }
.float-chip .icon { color: #34d399; width: 19px; height: 19px; }
.float-chip--a { left: 50%; bottom: -58px; transform: translateX(-50%); white-space: nowrap; }
.float-chip--b { right: -14px; top: -16px; }

.hero__glow {
  position: absolute;
  z-index: 1;
  inset: auto -20px -30px 12%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.35), transparent);
  filter: blur(18px);
  pointer-events: none;
}

/* ----------------------------- Trust / strip ------------------------------- */
.trust-strip {
  background: var(--ink-2);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-block: 22px;
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}
.trust-item .icon { width: 20px; height: 20px; color: var(--cyan); }
.trust-item strong { color: #fff; font-weight: 700; }

/* -------------------------------- Cards ----------------------------------- */
.card {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* Selector de giros */
.giro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.giro-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.28s ease;
}
.giro-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 24px 50px -24px rgba(37, 99, 235, 0.35);
}
.giro-card:hover::after { opacity: 1; }
.giro-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--blue-50), #ecfeff);
  border: 1px solid #dbeafe;
  color: var(--blue);
}
.giro-card__icon .icon { width: 27px; height: 27px; }
.giro-card h3 { font-size: 1.18rem; }
.giro-card p { font-size: 0.9rem; color: var(--muted); }
.giro-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.giro-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
}
.giro-card__link .icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.giro-card:hover .giro-card__link .icon { transform: translateX(4px); }

/* Ecosistemas */
.eco-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.eco-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.eco-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 800;
}
.eco-card h3 { font-size: 1.12rem; line-height: 1.25; }
.eco-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.checklist { display: grid; gap: 9px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.checklist .icon {
  width: 17px; height: 17px;
  margin-top: 3px;
  color: var(--green-500);
  stroke-width: 2.2;
}

/* Features función → beneficio */
.feature-grid { display: grid; gap: 14px; }
.feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s var(--ease);
}
.feature:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  border: 1px solid #dbeafe;
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 6px; }
.feature p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.feature__benefit {
  display: flex;
  gap: 7px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-size: 0.845rem !important;
  color: var(--text-2) !important;
  font-weight: 500;
}
.feature__benefit .icon { width: 15px; height: 15px; margin-top: 4px; color: var(--cyan); flex-shrink: 0; }
.feature__benefit strong { color: var(--ink-2); font-weight: 700; }

/* Pain points */
.pain {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.pain .icon { color: #c2410c; width: 22px; height: 22px; margin-bottom: 10px; }
.pain h3 { font-size: 1rem; margin-bottom: 5px; }
.pain p { font-size: 0.875rem; color: #7c2d12; }

/* Split */
.split {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
.split__media { position: relative; min-width: 0; }

/* Flow card */
.flow-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-lg);
  color: #e2e8f0;
}
.flow-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.flow-card__head .icon { color: var(--cyan); width: 19px; height: 19px; }
.flow-step {
  position: relative;
  display: flex;
  gap: 13px;
  padding-bottom: 18px;
}
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.5), rgba(6, 182, 212, 0.08));
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step__dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px; height: 31px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan);
}
.flow-step__dot .icon { width: 16px; height: 16px; }
.flow-step h3 { font-size: 0.92rem; color: #fff; margin-bottom: 2px; }
.flow-step p { font-size: 0.8rem; color: var(--muted-2); line-height: 1.5; }

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.stat__value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.stat__label { display: block; margin-top: 5px; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.compare th, .compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--paper);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.compare tbody th { font-weight: 650; color: var(--text); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .icon { width: 17px; height: 17px; color: var(--green-500); }

/* Pricing */
.price-grid { display: grid; gap: 18px; }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 55px -28px rgba(37, 99, 235, 0.45);
}
.price__flag {
  position: absolute;
  top: -13px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price__label {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.price h3 { margin-top: 12px; font-size: 1.15rem; }
.price__desc { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.price__amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.price__amount strong {
  font-family: var(--font-head);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink-2);
  line-height: 1;
}
.price__amount span { font-size: 0.8rem; color: var(--muted); }
.price__month {
  margin-top: 7px;
  font-size: 0.83rem;
  color: var(--text-2);
}
.price__month strong { color: var(--blue); font-weight: 700; }
.price ul { display: grid; gap: 9px; margin-top: 16px; }
.price li {
  display: flex;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.45;
}
.price li .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--green-500); stroke-width: 2.2; }
.price .btn { margin-top: auto; }
.price__cta { margin-top: 20px; }
.price__custom {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}
.pricing-note {
  max-width: 860px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px dashed #cbd5e1;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.875rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--blue);
  color: #fff;
}
.faq__body { padding: 0 20px 20px; }
.faq__body p { font-size: 0.89rem; color: var(--muted); line-height: 1.65; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 320px at 88% 10%, rgba(37, 99, 235, 0.55), transparent 70%),
    linear-gradient(120deg, #0b1424 0%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: #fff; }
.cta-band p { margin-top: 10px; color: #cbd5e1; font-size: 0.98rem; max-width: 60ch; }
.cta-band .btn-row { margin-top: 24px; }

/* Contacto */
.contact-section { background: var(--ink); color: #e2e8f0; }
.contact-grid { display: grid; gap: clamp(28px, 5vw, 52px); align-items: start; }
.contact-aside h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact-aside > p { margin-top: 14px; color: #cbd5e1; font-size: 1rem; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.contact-list .icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.contact-list strong { display: block; color: #fff; font-size: 0.88rem; }
.contact-list a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.form-card h3 { font-size: 1.22rem; }
.form-card__sub { margin-top: 5px; color: var(--muted); font-size: 0.85rem; }

.form-grid { display: grid; gap: 15px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: var(--white);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  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='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field__hint { font-size: 0.72rem; color: var(--muted); }
.form-actions { margin-top: 4px; }

.btn.is-loading { pointer-events: none; opacity: 0.85; }
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 0.87rem;
  line-height: 1.55;
}
.form-feedback.is-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-feedback.is-error { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.form-feedback a { font-weight: 700; text-decoration: underline; }

.form-fallback {
  margin-top: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid #bfdbfe;
}
.form-fallback p { font-size: 0.84rem; color: #1e3a8a; margin-bottom: 10px; }
.form-fallback .btn { width: 100%; }
.form-fallback__mail { display: block; margin-top: 10px; text-align: center; font-size: 0.78rem; color: #1e40af; }
.form-fallback__mail a { text-decoration: underline; }

.form-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.form-alt a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.privacy-note { margin-top: 12px; font-size: 0.72rem; color: var(--muted); line-height: 1.5; }

/* --------------------------------- Footer ---------------------------------- */
.site-footer {
  background: #070b12;
  color: var(--muted-2);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  gap: 34px;
  padding-bottom: 40px;
}
.footer-brand .brand { font-size: 1.5rem; }
.footer-brand p {
  margin-top: 14px;
  max-width: 36ch;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted-2);
}
.footer-coverage {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: #a5f3fc;
  font-size: 0.73rem;
  font-weight: 600;
}
.footer-coverage .icon { width: 14px; height: 14px; }

.footer-col h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.45;
  transition: color 0.16s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 15px; height: 15px; color: var(--muted-2); }
.footer-col a:hover .icon { color: var(--cyan); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.76rem;
  color: #64748b;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #cbd5e1; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ------------------------------ WhatsApp float ------------------------------ */
.wa-float {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #062c17;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); background: #22c55e; }
.wa-float .icon { width: 28px; height: 28px; color: #062c17; }
.wa-float__label { display: none; }

/* -------------------------------- Utilities -------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-w-sm { max-width: 560px; }
.max-w-md { max-width: 720px; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }

/* Reveal on scroll (solo si JS está activo y el elemento está bajo el pliegue) */
html.js [data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
html.js [data-reveal].reveal-pending[data-delay="1"] { transition-delay: 0.07s; }
html.js [data-reveal].reveal-pending[data-delay="2"] { transition-delay: 0.14s; }
html.js [data-reveal].reveal-pending[data-delay="3"] { transition-delay: 0.21s; }

/* ------------------------------- Responsive -------------------------------- */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .trust-strip__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .wa-float__label { display: inline; }
  .wa-float { padding: 0 20px 0 16px; }
}

@media (min-width: 900px) {
  :root { --header-h: 74px; }
  .container { padding-inline: 28px; }
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .wa-float { right: 24px; bottom: 24px; }
  .float-chip--b { right: -18px; }
}

@media (min-width: 1024px) {
  .hero__grid--split { grid-template-columns: 1.06fr 0.94fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.05fr 0.95fr; }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__copy { max-width: none; }
}

@media (min-width: 1180px) {
  .float-chip--b { right: -30px; }
}

/* Ajustes móviles finos */
@media (max-width: 599px) {
  .hero__actions .btn { width: 100%; min-width: 0; }
  .btn-row .btn { width: 100%; }
  .float-chip--b { display: none; }
  .float-chip--a { bottom: -30px; padding: 8px 11px; font-size: 0.68rem; }
  .console { max-width: 100%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric__value { font-size: 1.05rem; }
  .hero__visual { padding-bottom: 18px; }
  .price--featured { margin-top: 0; }
  .faq summary { font-size: 0.9rem; padding: 16px; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .contact-aside h2 { font-size: 1.7rem; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.3rem; }
  .hero h1 { font-size: 1.95rem; }
  .feature { grid-template-columns: 1fr; }
  .feature__icon { width: 40px; height: 40px; }
}

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

/* Impresión */
@media print {
  .site-header, .wa-float, .site-footer .footer-col, .hero__visual { display: none !important; }
  body { color: #000; }
  .hero, .section--dark { background: #fff !important; color: #000 !important; }
}

/* Chips de stack / capacidades */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chips .tag {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
}
.card h3 { line-height: 1.3; }
.card > p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* Prevención de desbordamiento horizontal en layouts grid/flex */
.header-inner > *,
.hero__grid > *,
.split > *,
.contact-grid > *,
.grid > *,
.hero__visual,
.console,
.metrics,
.metric,
.chart,
.chart__head,
.console__rows,
.console__row,
.footer-grid > * { min-width: 0; }

.hero__visual { max-width: 100%; }
.metric__label, .metric__value, .console__row span, .chart__head span { overflow-wrap: anywhere; }
.btn { max-width: 100%; }
.hero__bullets li { min-width: 0; overflow-wrap: anywhere; }

/* Corrección de contraste: tarjetas claras dentro de secciones oscuras */
.section--dark .card h2,
.section--dark .card h3,
.section--dark .card h4,
.section--dark .step h2,
.section--dark .step h3,
.section--dark .step h4 { color: var(--text); }
.section--dark .card p,
.section--dark .step p { color: var(--muted); }
.section--dark .card .checklist li,
.section--dark .step .checklist li { color: var(--text-2); }

/* Espaciado del bloque de cotización a la medida */
.price__amount + .price__month { margin-top: 7px; }
.price__custom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 599px) {
  .hero__actions .btn--lg { font-size: 0.95rem; padding-inline: 18px; }
  .footer-bottom { padding-bottom: 72px; }
}

/* Los avisos del formulario ocupan todo el ancho del grid */
.form-alt,
.privacy-note,
.form-feedback,
.form-fallback,
.form-grid > noscript,
.form-grid > noscript .privacy-note { grid-column: 1 / -1; }
.form-alt { flex-wrap: wrap; }

@media (min-width: 600px) and (max-width: 1179px) {
  .footer-bottom { padding-right: 90px; }
}
