/* =========================================================================
   Inficaja Servicios — hoja de estilos principal
   Sistema de diseño propio: sin dependencias externas, compatible con CSP.
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope-var.woff2") format("woff2-variations"),
       url("/static/fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-var.woff2") format("woff2-variations"),
       url("/static/fonts/sora-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- Tokens */
:root {
  color-scheme: light;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", var(--font-sans);

  --bg: #f4f6fa;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f3f7fc;
  --surface-3: #e8eff8;
  --text: #14213d;
  --text-soft: #46567a;
  --muted: #6b7c97;
  --border: #e2e8f2;
  --border-strong: #cbd7e8;

  --brand: #1f4bb8;
  --brand-600: #173a94;
  --brand-100: #e9efff;
  --brand-200: #c8d8fb;
  --teal: #0e938a;
  --teal-soft: #e0f5f2;
  --gold: #d99b0b;
  --gold-soft: #fdf3d7;
  --ok: #0e9f6e;
  --danger: #d92d20;
  --warn: #b54708;

  --ink: #14213d;
  --ink-2: #1b2a4a;
  --ink-3: #22335a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.05), 0 1px 3px rgba(20, 33, 61, 0.04);
  --shadow: 0 10px 30px -14px rgba(20, 33, 61, 0.18);
  --shadow-lg: 0 30px 70px -34px rgba(20, 33, 61, 0.3);
  --shadow-brand: 0 18px 40px -20px rgba(31, 75, 184, 0.45);

  --container: 1200px;
  --header-h: 74px;
  --section-y: clamp(64px, 8vw, 108px);

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--brand-600); }

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

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

.icon { flex: none; }

.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: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--brand), var(--gold));
  transition: width 0.1s linear;
}

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

.section { padding-block: var(--section-y); position: relative; }
.section[id], #planes, #modulos, #programas, #faq, #servicios, #cotizador { scroll-margin-top: calc(var(--header-h) + 18px); }
.section--muted { background: var(--bg-soft); }
.section--dark {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(31, 75, 184, 0.12), transparent 60%),
    radial-gradient(700px 400px at 5% 110%, rgba(14, 147, 138, 0.1), transparent 60%),
    linear-gradient(180deg, #eef4ff, #e7effc);
  color: var(--text);
}

.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------------ Tipografía */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.kicker--light { color: var(--brand); }
.kicker .icon { stroke-width: 2.2; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.section-head--split > div { max-width: 700px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  letter-spacing: -0.03em;
}
.section-title--light { color: var(--text); }
.section-title--sm { font-size: clamp(1.35rem, 2vw, 1.7rem); }

.section-sub {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  max-width: 62ch;
}
.section-sub--light { color: var(--text-soft); }
.section-text { margin-top: 16px; color: var(--text-soft); max-width: 62ch; }

/* --------------------------------------------------------------- Botones */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, #2a63f0, var(--brand-600));
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 22px 45px -18px rgba(27, 79, 216, 0.7); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-100); }

.btn--ghost { background: var(--surface-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-3); color: var(--text); }

.btn--ghost-light {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost-light:hover { background: var(--brand-100); color: var(--brand); border-color: var(--brand-200); }

.btn--light {
  background: linear-gradient(135deg, #2f63dd, var(--brand));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--light:hover { color: #fff; background: linear-gradient(135deg, #2a5ad0, var(--brand-600)); }

.btn--outline-light {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--outline-light:hover { background: var(--brand-100); color: var(--brand); border-color: var(--brand-200); }

.btn--wa {
  background: #1faf54;
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(31, 175, 84, 0.8);
}
.btn--wa:hover { color: #fff; background: #199a49; }

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

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--brand-100); color: var(--brand); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  margin-top: auto;
}
.card-link .icon { transition: transform 0.25s var(--ease); }
.card-link:hover .icon, .program-card:hover .card-link .icon { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip--soft {
  background: var(--brand-100);
  border-color: transparent;
  color: var(--brand);
  font-size: 0.75rem;
  padding: 5px 11px;
  letter-spacing: 0.02em;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* -------------------------------------------------------------- Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  color: var(--text);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 12px 30px -22px rgba(20, 33, 61, 0.45);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand-text { display: grid; gap: 1px; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.brand-divider { width: 1px; height: 24px; background: var(--border-strong); margin-inline: 4px; }
.brand-tagline {
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover { color: var(--brand); background: var(--brand-100); }
.nav-link.is-current { color: var(--brand); background: var(--brand-100); }

.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop[open] > summary { color: var(--brand); background: var(--brand-100); }
.nav-drop[open] > summary .icon { transform: rotate(180deg); }
.nav-drop > summary .icon { transition: transform 0.25s var(--ease); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -34px rgba(20, 33, 61, 0.35);
}
.nav-drop-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}
.nav-drop-list { display: grid; gap: 2px; }
.nav-drop-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.18s var(--ease);
}
.nav-drop-list a:hover { background: var(--surface-2); }
.nav-drop-title { display: block; color: var(--text); font-weight: 700; font-size: 0.92rem; }
.nav-drop-text { display: block; color: var(--muted); font-size: 0.78rem; }
.nav-drop-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 12px;
  width: 100%;
  border-top: 1px solid var(--border);
  color: var(--brand) !important;
  font-weight: 700;
  font-size: 0.86rem;
}

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { margin-left: 6px; }

.header-actions .icon-btn { color: var(--text-soft); }
.header-actions .icon-btn:hover { background: var(--brand-100); color: var(--brand); }

.menu-toggle { display: none; }
.menu-bars { display: grid; gap: 4px; width: 20px; }
.menu-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 65;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(20, 33, 61, 0.35);
  overflow-y: auto;
  padding: 26px 0 40px;
  animation: menu-in 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner {
  width: min(560px, 100% - 40px);
  margin-inline: auto;
  color: var(--text);
}
.mobile-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin: 22px 0 10px;
}
.mobile-label:first-child { margin-top: 0; }
.mobile-programs, .mobile-links { display: grid; gap: 2px; }
.mobile-programs a, .mobile-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 1rem;
}
.mobile-programs a:hover, .mobile-links a:hover { background: var(--surface-2); color: var(--brand); }
.mobile-foot { display: grid; gap: 10px; margin-top: 26px; }
.mobile-foot .btn--ghost { background: var(--surface-2); color: var(--text); }

body.menu-open .fab-wa,
body.menu-open .to-top { display: none; }

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

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(110, 193, 228, 0.28), transparent 62%),
    radial-gradient(700px 400px at 8% 100%, rgba(31, 75, 184, 0.1), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 62%, #eaf1fd 100%);
  padding: clamp(48px, 7vw, 84px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 75, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 75, 184, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 600px at 50% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 10%, #000 20%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orb 18s ease-in-out infinite alternate;
}
.hero-orb--1 { width: 520px; height: 520px; top: -200px; right: -100px; background: #c6dbfd; }
.hero-orb--2 { width: 460px; height: 460px; bottom: -220px; left: -120px; background: #cdeee9; opacity: 0.5; animation-delay: -6s; }
.hero-orb--3 { width: 380px; height: 380px; top: 40%; left: 42%; background: #d9e4ff; opacity: 0.55; animation-delay: -11s; }

@keyframes orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-30px, 40px, 0) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  padding-bottom: clamp(44px, 5.5vw, 74px);
}

.hero-copy { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-200);
  background: var(--brand-100);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}
.hero-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--brand), #6ec1e4);
}

.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--text-soft);
  max-width: 56ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--ok); }

.hero-visual { position: relative; min-height: 380px; }

.device {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -40px rgba(20, 33, 61, 0.4);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero-visual:hover .device { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.device-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #f3f7fd;
  border-bottom: 1px solid var(--border);
}
.device-dots { display: inline-flex; gap: 5px; }
.device-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.device-dots i:first-child { background: #ff5f57; }
.device-dots i:nth-child(2) { background: #febc2e; }
.device-dots i:nth-child(3) { background: #28c840; }
.device-url {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
}
.device-screen { background: #fff; }
.device-screen img { width: 100%; aspect-ratio: 1000 / 402; object-fit: cover; }
.device-glow {
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(31, 75, 184, 0.28), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -28px rgba(20, 33, 61, 0.45);
  animation: float 7s ease-in-out infinite;
}
.float-card--a { top: -38px; left: -18px; }
.float-card--b { bottom: 90px; right: -18px; animation-delay: -3.5s; }
.float-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand);
}
.float-icon--teal { background: var(--teal-soft); color: var(--teal); }
.float-copy { display: grid; }
.float-copy strong { font-size: 0.86rem; color: var(--text); }
.float-copy span { font-size: 0.74rem; color: var(--muted); }

.float-chip {
  position: absolute;
  left: 18px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 18px 36px -18px rgba(14, 147, 138, 0.7);
  animation: float 6s ease-in-out infinite;
  animation-delay: -1.5s;
}
.float-chip em { font-style: normal; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, 0.35); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transform: translateY(1px);
  box-shadow: 0 -10px 30px -24px rgba(20, 33, 61, 0.35);
}
.stat {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 2px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.stat-label { color: var(--muted); font-size: 0.84rem; font-weight: 600; }

/* --------------------------------------------------------------- Clientes */
.trust { padding: 34px 0 10px; background: var(--bg); border-bottom: 1px solid var(--border); }
.trust-title {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
.marquee {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 26px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}
.marquee-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------- Servicios */
.service-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--brand-100), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand);
  margin-bottom: 18px;
}
.service-title { font-size: 1.08rem; margin-bottom: 8px; }
.service-text { color: var(--text-soft); font-size: 0.94rem; }

/* -------------------------------------------------------------- Programas */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.programs-grid > .program-card { grid-column: auto; }
.programs-grid--all > .program-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.programs-grid--all > .program-card:last-child:nth-child(odd) .program-media img { aspect-ratio: 21 / 6; }

.program-media { position: relative; display: block; overflow: hidden; background: var(--surface-3); }
.program-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.program-card:hover .program-media img { transform: scale(1.045); }
.program-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 12, 22, 0.55));
}
.program-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.program-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
}
.program-title { font-size: 1.2rem; }
.program-title a { color: inherit; }
.program-title a:hover { color: var(--brand); }
.program-text {
  color: var(--text-soft);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-list { display: grid; gap: 7px; margin: 4px 0 14px; }
.mini-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-soft); }
.mini-list .icon { color: var(--ok); margin-top: 3px; }

/* ------------------------------------------------------------- Plataforma */
.platform-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.stack-list { display: grid; gap: 18px; margin: 30px 0; }
.stack-list li { display: flex; gap: 14px; }
.stack-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand);
}
.stack-list strong { display: block; font-size: 0.98rem; }
.stack-list span { display: block; color: var(--text-soft); font-size: 0.9rem; }
.stack-list--compact { margin: 22px 0 0; }
.stack-list--compact .stack-icon { background: var(--teal-soft); color: var(--teal); }

.platform-visual { position: relative; }
.platform-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.platform-shot img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: #fff; }
.platform-caption { margin-top: 10px; font-size: 0.78rem; color: var(--muted); }
.license-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.license-card {
  display: grid;
  gap: 2px;
  padding: 13px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}
.license-card strong { color: var(--text-soft); font-size: 0.82rem; text-decoration: line-through; text-decoration-color: var(--danger); }
.license-x {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(217, 45, 32, 0.12);
  color: var(--danger);
}
.platform-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ok);
  font-size: 0.88rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Módulos */
.module-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.module-card:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: var(--shadow); }
.module-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand-100), var(--teal-soft));
  color: var(--brand);
}
.module-title { font-size: 1.08rem; }
.module-title a { color: inherit; }
.module-title a:hover { color: var(--brand); }
.module-text {
  color: var(--text-soft);
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.module-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.module-note { font-size: 0.72rem; color: var(--muted); font-weight: 700; }

/* -------------------------------------------------------------- Seguridad */
.security-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.security-list { display: grid; gap: 20px; margin-top: 32px; }
.security-list li { display: flex; gap: 14px; }
.security-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--brand-200);
  color: var(--brand);
}
.security-list strong { display: block; color: var(--text); font-size: 0.98rem; }
.security-list span { display: block; color: var(--text-soft); font-size: 0.9rem; }

.security-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 45%, rgba(31, 75, 184, 0.14), transparent 65%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.security-rings { position: relative; display: grid; place-items: center; width: 280px; height: 280px; }
.security-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--brand-200);
  animation: ring 6s ease-in-out infinite;
}
.security-rings span:nth-child(2) { inset: 34px; animation-delay: -2s; }
.security-rings span:nth-child(3) { inset: 70px; animation-delay: -4s; }
@keyframes ring {
  0%, 100% { transform: scale(0.98); opacity: 0.5; }
  50% { transform: scale(1.02); opacity: 1; }
}
.security-core {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2f63dd, var(--teal));
  color: #fff;
  box-shadow: 0 0 0 10px rgba(31, 75, 184, 0.1), 0 30px 60px -20px rgba(31, 75, 184, 0.45);
}
.security-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.security-badge-icon { color: var(--ok); }
.security-badge strong { font-size: 0.86rem; color: var(--text); }
.security-badge span { font-size: 0.74rem; color: var(--muted); }
.security-chips {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  grid-template-columns: 1fr 1fr;
}
.security-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.security-chips .icon { color: var(--ok); }

.security-cta { margin-top: 28px; }

/* ---------------------------------------------------- Centro de seguridad */
.commitments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.commitment {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.commitment-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand);
}
.commitment h2 { font-size: 1.02rem; margin-bottom: 6px; }
.commitment p { font-size: 0.88rem; color: var(--text-soft); }

.security-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text-soft); }
.check-list .icon { color: var(--ok); margin-top: 3px; flex: none; }
.check-list strong { color: var(--text); }
.security-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.security-note .icon { margin-top: 2px; flex: none; }
.security-page-grid .btn { margin-top: 26px; }

.disclosure {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.disclosure-list { display: grid; gap: 10px; margin-top: 22px; }
.disclosure-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.92rem; color: var(--text-soft); }
.disclosure-list .icon { color: var(--brand); margin-top: 3px; flex: none; }
.disclosure-meta { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.disclosure-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #eef4ff, #e3ecfd);
  border: 1px solid var(--brand-200);
}
.disclosure-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand);
  border: 1px solid var(--brand-200);
}
.disclosure-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.disclosure-card p { font-size: 0.88rem; color: var(--text-soft); }

/* ----------------------------------------------------------------- Planes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 1180px) {
  .plans-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(31, 75, 184, 0.14), transparent 70%),
    linear-gradient(160deg, #eef4ff, #e3ecfd);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}
.plan--featured .plan-name, .plan--featured .plan-amount { color: var(--text); }
.plan--featured .plan-tagline, .plan--featured .plan-level, .plan--featured .plan-period { color: var(--text-soft); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold);
  color: #2b1d00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plan-head { display: grid; gap: 6px; }
.plan-level {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
}
.plan-name { font-size: 1.3rem; }
.plan-tagline { font-size: 0.86rem; color: var(--text-soft); min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 8px 0; border-block: 1px solid var(--border); }
.plan--featured .plan-price { border-color: var(--brand-200); }
.plan-amount { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.plan-amount--custom { font-size: 1.35rem; }
.plan-period { font-size: 0.76rem; color: var(--muted); }
.plan-setup { font-size: 0.76rem; color: var(--muted); }
.plan-features { display: grid; gap: 9px; margin-bottom: 16px; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-soft); }
.plan--featured .plan-features li { color: var(--text-soft); }
.plan-features .icon { color: var(--ok); margin-top: 2px; }
.plan-features .is-muted { opacity: 0.55; }
.plan-features .is-muted .icon { color: var(--danger); }
.plan .btn { margin-top: auto; }
.plans-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.plans-foot .icon { color: var(--gold); }
.plans-foot a { font-weight: 700; }

.pricing-note {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}.pricing-note > div {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #8a5a00;
}
.pricing-note p { flex: 1 1 320px; font-size: 0.9rem; color: var(--text-soft); }

/* ------------------------------------------------------ Recomendador de plan */
.quote-tool {
  margin-top: 46px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.quote-tool-head { max-width: 680px; }
.quote-tool-head .kicker { margin-bottom: 10px; }
.quote-form { display: grid; gap: 24px; margin-top: 28px; }
.quote-field { border: 0; margin: 0; padding: 0; }
.quote-field legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0;
}
.quote-field legend span {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
}
.quote-options { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-option { position: relative; display: inline-flex; }
.quote-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.quote-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.quote-option:hover span { border-color: var(--brand-200); color: var(--brand); }
.quote-option input:checked + span {
  background: var(--brand-100);
  border-color: var(--brand);
  color: var(--brand);
}
.quote-option input:checked + span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.quote-option input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.quote-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #eef4ff, #e3ecfd);
  border: 1px solid var(--brand-200);
}
.quote-result-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
}
.quote-result-plan {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}
.quote-result-reason { margin-top: 6px; color: var(--text-soft); font-size: 0.9rem; max-width: 56ch; }
.quote-result-actions { display: grid; gap: 8px; justify-items: start; }
.quote-result-note { font-size: 0.75rem; color: var(--muted); }

/* ----------------------------------------------------------- Testimonios */
.slider { position: relative; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; transition: transform 0.6s var(--ease); }
.slide { flex: 0 0 100%; padding: 4px; }
.quote-card {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quote-stars { display: flex; gap: 3px; color: var(--gold); }
.quote-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--brand-100);
}
.quote-avatar--initials {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}
.quote-meta { display: grid; }
.quote-meta strong { font-size: 0.92rem; }
.quote-meta span { font-size: 0.82rem; color: var(--muted); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.slider-btn:hover { border-color: var(--brand); color: var(--brand); }
.slider-btn[data-slider-prev] .icon { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 7px; }
.slider-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.slider-dot.is-active { width: 26px; border-radius: 999px; background: var(--brand); }

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.client-pill img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: #fff; }
.client-pill:hover { border-color: var(--brand); color: var(--brand); }

/* -------------------------------------------------------------------- FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.faq-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-copy .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--muted); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--brand); }
.faq-a { padding: 0 20px 20px; color: var(--text-soft); font-size: 0.93rem; }

/* -------------------------------------------------------------------- CTA */
.cta-band {
  position: relative;
  padding-block: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(110, 193, 228, 0.3), transparent 60%),
    radial-gradient(700px 360px at 90% 100%, rgba(31, 75, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #eef4ff, #e4edfd);
  color: var(--text);
  overflow: hidden;
  border-block: 1px solid var(--border);
}
.cta-glow {
  position: absolute;
  inset: -40% 30% auto -10%;
  height: 300px;
  background: radial-gradient(closest-side, rgba(110, 193, 228, 0.35), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.cta-title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text); }
.cta-text { margin-top: 16px; color: var(--text-soft); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ----------------------------------------------------------------- Footer */
.site-footer {
  background: #ffffff;
  color: var(--text-soft);
  padding: clamp(48px, 6vw, 72px) 0 26px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.1fr);
  gap: 34px;
}
.brand--footer { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.brand--footer .brand-tagline { white-space: normal; padding-left: 50px; }
.footer-logo { display: block; width: 184px; height: auto; }
.footer-about { font-size: 0.88rem; line-height: 1.7; max-width: 34ch; }
.social-list { display: flex; gap: 8px; margin-top: 18px; }
.social-list a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: all 0.2s var(--ease);
}
.social-list a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-title {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--text-soft); font-size: 0.87rem; }
.footer-links a:hover { color: var(--brand); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.85rem; }
.footer-contact .icon { color: var(--brand); margin-top: 3px; }
.footer-contact a { color: var(--text-soft); }
.footer-contact a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-soft); }
.footer-legal a:hover { color: var(--brand); }
.footer-made { color: var(--muted); }

/* -------------------------------------------------------- Encabezado páginas */
.page-hero {
  position: relative;
  padding: clamp(46px, 6vw, 76px) 0 clamp(42px, 5vw, 64px);
  background:
    radial-gradient(800px 360px at 82% 0%, rgba(110, 193, 228, 0.26), transparent 62%),
    linear-gradient(180deg, #f4f8ff 0%, #eaf1fd 100%);
  color: var(--text);
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(31, 75, 184, 0.1), transparent 65%),
    radial-gradient(500px 260px at 10% 100%, rgba(14, 147, 138, 0.08), transparent 65%),
    linear-gradient(rgba(31, 75, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 75, 184, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(1200px 500px at 50% 0%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(1200px 500px at 50% 0%, #000, transparent 85%);
}
.page-hero-inner { position: relative; max-width: 900px; }
.page-hero-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  object-fit: contain;
  opacity: 0.11;
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
}
.page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.page-subtitle { margin-top: 18px; color: var(--text-soft); font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 68ch; }

.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; margin-bottom: 20px; }
.crumbs a { color: var(--brand); font-weight: 700; }
.crumbs span { color: var(--muted); }
.crumbs--light a { color: var(--brand); }
.crumbs--light span { color: var(--muted); }
.crumbs--light [aria-current] { color: var(--text-soft); }
.crumbs-sep { opacity: 0.5; }

/* ---------------------------------------------------------------- Detalle */
.detail-hero {
  position: relative;
  padding: clamp(38px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 380px at 88% 0%, rgba(110, 193, 228, 0.26), transparent 62%),
    linear-gradient(180deg, #f4f8ff 0%, #eaf1fd 100%);
  color: var(--text);
  overflow: hidden;
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 380px at 88% 10%, rgba(31, 75, 184, 0.1), transparent 65%),
    radial-gradient(600px 320px at 0% 100%, rgba(14, 147, 138, 0.08), transparent 70%);
}
.detail-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.detail-hero--compact .detail-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.detail-title { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--text); letter-spacing: -0.035em; text-wrap: balance; }
.detail-tagline { margin-top: 14px; color: var(--brand); font-weight: 700; font-size: 1.02rem; }
.detail-summary { margin-top: 18px; color: var(--text-soft); max-width: 56ch; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 0.82rem; }
.detail-meta li { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta .icon { color: var(--ok); }
.detail-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--warn); font-size: 0.85rem; font-weight: 700; }

.detail-media { position: relative; }
.detail-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -44px rgba(20, 33, 61, 0.35);
  background: #fff;
}
.detail-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.detail-media--tall .detail-shot img { aspect-ratio: 4 / 3; }
.detail-float {
  position: absolute;
  left: -22px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.detail-float-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--warn);
}
.detail-float strong { display: block; font-size: 0.84rem; color: var(--text); }
.detail-float span { display: block; font-size: 0.74rem; color: var(--muted); }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.prose { min-width: 0; }
.prose-body { color: var(--text-soft); font-size: 1.02rem; }
.prose-body h2, .prose-h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  color: var(--text);
}
.prose-body h3 { margin: 28px 0 10px; font-size: 1.15rem; color: var(--text); }
.prose-body p { margin-bottom: 16px; }
.prose-body ul { display: grid; gap: 9px; margin: 0 0 20px; }
.prose-body li { position: relative; padding-left: 22px; }
.prose-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
}
.prose-body strong { color: var(--text); }
.prose-body a { text-decoration: underline; text-underline-offset: 3px; }
.prose-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.highlight-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.highlight-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
}
.highlight-card strong { font-size: 0.92rem; }
.highlight-card span { font-size: 0.84rem; color: var(--text-soft); }

.feature-block { margin-top: 40px; }
.module-shot-block { margin-top: 42px; }
.module-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
  cursor: zoom-in;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 18px;
}
.feature-grid li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text-soft); }
.feature-grid .icon { color: var(--ok); margin-top: 3px; }

.detail-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.aside-card--soft { background: var(--surface-2); box-shadow: none; }
.aside-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
}
.aside-title { font-size: 1.2rem; margin-bottom: 10px; }
.aside-text { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 18px; }
.aside-card .btn { margin-bottom: 10px; }
.aside-contact { display: grid; gap: 9px; margin-top: 6px; }
.aside-contact li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--text-soft); }
.aside-contact .icon { color: var(--brand); }
.aside-links { display: grid; gap: 2px; }
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.aside-links a:hover { background: var(--surface-3); color: var(--brand); }
.aside-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ------------------------------------------------------------ Página varios */
.value-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.value-band-list { display: grid; gap: 12px; align-content: start; }
.value-band-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-soft); }
.value-band-list .icon { color: var(--ok); }

.steps { display: grid; gap: 16px; align-content: start; }
.steps li { display: flex; gap: 14px; }
.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-100);
  border-radius: 10px;
  padding: 6px 9px;
  height: fit-content;
}
.steps strong { display: block; font-size: 0.95rem; }
.steps p { color: var(--text-soft); font-size: 0.88rem; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mv-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand);
  margin-bottom: 16px;
}
.mv-card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.mv-card p { color: var(--text-soft); font-size: 0.95rem; }
.mv-list { display: grid; gap: 10px; }
.mv-list li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: 0.93rem; }
.mv-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--teal);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); border-color: var(--brand-200); }
.value-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value-card p { font-size: 0.88rem; color: var(--text-soft); }

.principles-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.principles-list { display: grid; gap: 18px; }
.principles-list li { display: flex; gap: 16px; }
.principles-list span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  border: 1px solid var(--brand-200);
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 9px;
  height: fit-content;
}
.principles-list strong { display: block; color: var(--text); font-size: 0.98rem; }
.principles-list p { color: var(--text-soft); font-size: 0.88rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.about-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.about-fact span { font-size: 0.82rem; color: var(--muted); }
.about-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.about-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
}
.about-tags .icon { color: var(--brand); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.logo-cell {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.logo-cell img { width: 84px; height: 84px; object-fit: contain; }
.logo-cell span { font-size: 0.76rem; font-weight: 700; color: var(--text-soft); }
.logo-disclaimer { margin-top: 22px; font-size: 0.76rem; color: var(--muted); text-align: center; }

.logo-grid--large { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-card-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.logo-card-media img { max-height: 150px; width: auto; object-fit: contain; }
.logo-card-body { padding: 16px 18px; }
.logo-card-body h2 { font-size: 1rem; margin-bottom: 4px; }
.logo-card-body a, .logo-card-body span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.client-fallback {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--surface-2);
  border-radius: 10px;
}
.client-initials {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--brand-100), var(--teal-soft));
  border: 1px solid var(--brand-200);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo-card-media .client-initials { width: 120px; height: 120px; font-size: 2.2rem; border-radius: 28px; }
.client-pill .client-initials { width: 44px; height: 44px; font-size: 0.9rem; border-radius: 12px; }
.marquee-item .client-initials { width: 76px; height: 76px; font-size: 1.5rem; border-radius: 18px; }

.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quotes-grid .quote-card { max-width: none; height: 100%; }

/* --------------------------------------------------------------- Formularios */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.field-label span { color: var(--danger); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.textarea { resize: vertical; min-height: 120px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: 0.78rem; color: var(--muted); }
.field-error { font-size: 0.8rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field--check { gap: 8px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--text-soft); cursor: pointer; }
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.checkbox a { text-decoration: underline; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-note { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: #065f56;
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status.is-error { background: rgba(217, 45, 32, 0.1); color: #b01f14; }
.form-status.is-loading { background: var(--surface-2); color: var(--text-soft); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.88rem;
  color: var(--text-soft);
}
.alert .icon { color: var(--brand); margin-top: 2px; }
.alert--error { border-color: rgba(217, 45, 32, 0.35); background: rgba(217, 45, 32, 0.08); color: #a82017; }
.alert--info { border-color: var(--brand-200); background: var(--brand-100); color: var(--text-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-card {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.contact-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.contact-lead { margin: 10px 0 26px; color: var(--text-soft); font-size: 0.94rem; }
.contact-aside { display: grid; gap: 16px; }
.contact-panel {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-panel--soft {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.contact-panel .aside-kicker { color: var(--brand); }
.contact-panel--soft .aside-kicker { color: var(--brand); }
.contact-panel .aside-title { color: var(--text); }
.contact-panel--soft .aside-title { color: var(--text); }
.contact-list { display: grid; gap: 18px; margin: 20px 0; }
.contact-list li { display: flex; gap: 13px; }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand-100);
  color: var(--brand);
}
.contact-list strong { display: block; font-size: 0.85rem; color: var(--text); }
.contact-list a, .contact-list span { display: block; font-size: 0.85rem; color: var(--text-soft); }
.contact-list a:hover { color: var(--brand); }
.contact-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.contact-wa { margin-top: 10px; font-size: 0.82rem; font-weight: 700; color: var(--text-soft); text-align: center; }
.contact-steps { display: grid; gap: 12px; margin-top: 16px; }
.contact-steps li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text-soft); }
.contact-steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
}

/* --------------------------------------------------------------- Búsqueda */
.search-wrap { max-width: 900px; margin-inline: auto; }
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.search-icon { color: var(--muted); display: grid; place-items: center; }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 4px;
}
.search-input:focus { outline: none; }
.search-summary { margin: 22px 0 8px; color: var(--text-soft); font-size: 0.9rem; }
.search-group { margin-top: 30px; }
.search-group h2 { font-size: 1.05rem; margin-bottom: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-sans); font-size: 0.76rem; }
.search-list { display: grid; gap: 10px; }
.search-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.search-list a:hover { border-color: var(--brand); }
.search-list strong { display: block; font-size: 0.98rem; }
.search-list em { display: block; font-style: normal; font-size: 0.85rem; color: var(--text-soft); }
.search-list > li > a > span:nth-child(2) { flex: 1; min-width: 0; }
.search-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand-100);
  color: var(--brand);
}
.search-suggestions { margin-top: 30px; }
.empty-state {
  margin-top: 36px;
  padding: 44px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}
.empty-state h2 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-soft); margin-bottom: 20px; }

/* --------------------------------------------------------------- Filtros */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s var(--ease);
}
.chip-filter:hover { border-color: var(--brand); color: var(--brand); }
.chip-filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-filter--link { margin-left: auto; border-style: dashed; }
.chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-soft);
  font-size: 0.72rem;
}
.chip-filter.is-active .chip-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.is-hidden { display: none !important; }
.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
}
.notice .icon { color: var(--gold); }
.notice p { flex: 1 1 320px; }

/* -------------------------------------------------------------- Descargas */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.portal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #eef4ff, #e3ecfd);
  border: 1px solid var(--brand-200);
}
.portal-cta .kicker { margin-bottom: 8px; }
.portal-cta-title { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.portal-cta-text { margin-top: 8px; color: var(--text-soft); font-size: 0.9rem; max-width: 56ch; }
.portal-cta .btn { flex: none; }.download-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.download-card h2 { font-size: 1.1rem; }
.download-card h3 { font-size: 1.15rem; }
.download-card p { font-size: 0.9rem; color: var(--text-soft); }
.download-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand);
}
.download-card--accent {
  background: linear-gradient(160deg, #eef4ff, #e3ecfd);
  color: var(--text);
  border-color: var(--brand-200);
}
.download-card--accent h3 { color: var(--text); }
.download-card--accent p { color: var(--text-soft); }
.download-card--accent .aside-kicker { color: var(--brand); }
.download-card--accent .btn--ghost { background: #ffffff; color: var(--text); border: 1px solid var(--border); }
.download-info {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  margin-top: 40px;
}

/* ------------------------------------------------------------- Legal, 404 */
.legal { max-width: 820px; }
.legal-updated { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal p, .legal ul { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal a { text-decoration: underline; }
.legal .alert { margin-top: 26px; }

.error-section { padding-block: clamp(60px, 10vw, 130px); }
.error-inner { max-width: 680px; text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.error-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.error-text { margin: 14px auto 28px; color: var(--text-soft); max-width: 48ch; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-links { display: flex; gap: 20px; justify-content: center; margin-top: 30px; font-size: 0.86rem; font-weight: 700; }

.thanks-section { padding-block: clamp(60px, 9vw, 110px); }
.thanks-inner { display: grid; place-items: center; }
.thanks-card {
  max-width: 620px;
  padding: clamp(30px, 5vw, 50px);
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.thanks-icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}
.thanks-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.thanks-text { margin: 14px 0 26px; color: var(--text-soft); }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks-note { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 0.82rem; color: var(--muted); }

/* ------------------------------------------------------------- Tabla planes */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  z-index: 1;
}
.compare-table thead th span { display: block; font-size: 0.68rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.compare-table tbody th { font-weight: 600; color: var(--text); width: 38%; }
.compare-table tbody tr:hover { background: var(--surface-2); }
.compare-table td { text-align: center; color: var(--muted); }
.compare-table td .icon { color: var(--ok); margin-inline: auto; }
.compare-table .is-featured { background: var(--brand-100); }
.compare-table thead .is-featured { background: var(--brand-100); color: var(--brand); }
.compare-table tfoot th, .compare-table tfoot td { border-bottom: 0; background: var(--surface-2); }
.compare-table .dash { color: var(--border-strong); }
.compare-table tfoot .btn { white-space: nowrap; }

/* -------------------------------------------------------------- Lightbox */
[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lightbox-figure img {
  max-width: min(1180px, 94vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-caption { color: #c3cee1; font-size: 0.85rem; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* -------------------------------------------------------------- Utilidades */
.fab-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 999px;
  background: #1faf54;
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(31, 175, 84, 0.8);
  transition: transform 0.25s var(--ease), padding 0.25s var(--ease);
}
.fab-wa:hover { color: #fff; transform: translateY(-3px); }
.fab-wa-text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 800;
  font-size: 0.86rem;
  transition: max-width 0.3s var(--ease);
}
.fab-wa:hover .fab-wa-text { max-width: 90px; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 79;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { transform: rotate(-45deg); }

.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #eaf0fb;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s var(--ease);
}
.toast--error { background: #7f1d1d; }
.toast--ok { background: #065f46; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- Animaciones */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal[data-reveal-delay="1"].is-visible { transition-delay: 0.08s; }
.js .reveal[data-reveal-delay="2"].is-visible { transition-delay: 0.16s; }
.js .reveal[data-reveal-delay="3"].is-visible { transition-delay: 0.24s; }
.js .reveal[data-reveal-delay="4"].is-visible { transition-delay: 0.32s; }

[data-tilt] { transform-style: preserve-3d; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1150px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .brand-tagline, .brand-divider { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; order: -1; min-height: 0; }
  .hero-copy { max-width: 720px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .platform-inner, .security-inner, .detail-hero-inner, .about-grid,
  .value-band, .faq-inner, .principles-inner, .download-info { grid-template-columns: 1fr; }
  .detail-hero-inner .detail-media { order: -1; }
  .faq-copy { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-grid--large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-page-grid, .disclosure { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.7rem); }
  .hero-visual { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { border-radius: 16px 16px 0 0; }
  .stat { padding: 18px 16px; }
  .section-head--split { align-items: flex-start; }
  .programs-grid, .grid--3, .values-grid, .logo-grid, .logo-grid--large,
  .download-grid, .highlight-grid, .feature-grid, .field-row,
  .detail-aside, .footer-top, .mv-grid, .security-chips, .commitments { grid-template-columns: 1fr; }
  .footer-top { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 22px 18px; }
  .table-wrap { border-radius: var(--radius); }
  .fab-wa { right: 14px; bottom: 14px; }
  .to-top { right: 16px; bottom: 78px; }
  .float-card--a { left: -8px; top: -18px; }
  .float-card--b { right: -6px; }
  .detail-float { left: 8px; bottom: -16px; }
  .plan-tagline { min-height: 0; }
  .search-form { border-radius: 16px; padding: 6px; }
  .search-form .btn { padding: 10px 14px; }
  .filter-bar { gap: 6px; }
  .chip-filter { padding: 8px 12px; font-size: 0.8rem; }
  .chip-filter--link { margin-left: 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.16rem; }
  .header-actions .icon-btn[href="/buscar"] { display: none; }
  .hero-checks { gap: 8px 14px; font-size: 0.8rem; }
  .error-actions .btn { width: 100%; }
  .page-hero-mark { width: 220px; height: 220px; right: -70px; opacity: 0.08; }
}

@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;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .fab-wa, .to-top, .cta-band, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
}
