/* ============================================================
   CONTAVLE — Sistema de Diseño
   Stack: HTML + CSS + JS vanilla
   Tipografías: Manrope (display) + Geist (body) + JetBrains Mono (mono)
   ============================================================ */

/* ====== Reset & Base ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ====== Variables ====== */
:root {
  /* Tipografía */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* === COLORES DE MARCA OFICIALES === */
  /* Lime - acento principal */
  --lime: #c3e76b;
  --lime-bright: #d6f085;
  --lime-dark: #a8cf4d;
  --lime-glow: #b8e258;
  --lime-soft: #e8f4c4;
  --lime-mist: #f5faec;

  /* Navy - color oscuro principal de marca (NO pure black) */
  --ink: #0f112a;        /* Color oficial dark navy */
  --ink-deep: #080a1c;   /* Más oscuro para fondos profundos */
  --ink-soft: #1a1d3a;   /* Navy un poco más claro */
  --navy-50: #f5f6fa;    /* Tinte navy muy claro */
  --navy-glow: rgba(15, 17, 42, 0.95);

  /* Neutros */
  --graphite: #3a3d52;   /* Texto secundario */
  --slate: #6b7090;      /* Subtítulos / metadata */
  --mist: #e7e8ee;       /* Bordes */
  --whisper: #f5f6fa;    /* Backgrounds suaves */
  --paper: #fafbfc;      /* Background paper */
  --bg: #ffffff;         /* Background main */

  /* Acentos UI */
  --success: #10b981;
  --warn: #f59e0b;
  --rose: #ec4899;
  --cobalt: #2563eb;

  /* Sombras (con tinte navy en vez de black puro) */
  --shadow-xs: 0 1px 2px rgba(15,17,42,0.04);
  --shadow-sm: 0 2px 10px rgba(15,17,42,0.05);
  --shadow-md: 0 8px 28px rgba(15,17,42,0.08);
  --shadow-lg: 0 24px 60px rgba(15,17,42,0.10);
  --shadow-xl: 0 40px 100px rgba(15,17,42,0.14);
  --shadow-2xl: 0 50px 130px rgba(15,17,42,0.18);
  --shadow-lime: 0 16px 40px rgba(195,231,107,0.35);
  --shadow-lime-glow: 0 0 60px rgba(195,231,107,0.5);
  --shadow-card: 0 4px 24px rgba(15,17,42,0.06), 0 1px 2px rgba(15,17,42,0.04);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;

  /* Espaciado */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Easings */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-fill: cubic-bezier(0.65, 0, 0.35, 1);  /* sliding-fill: progresión más uniforme */
}

/* ====== Tipografía ====== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--lime);
  display: inline-block;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.8vw, 92px); font-weight: 700; }
h2 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; }
h4 { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; }

p { font-size: 16px; line-height: 1.65; color: var(--graphite); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--graphite); }

/* === Brand accent for headlines === */
/* Default (light backgrounds): marker-style lime underline that wraps multi-line */
.italic-serif {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 62%,
    var(--lime) 62%,
    var(--lime) 94%,
    transparent 94%);
  padding: 0 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* On dark backgrounds (inside .on-dark sections or with .italic-serif-solid): solid lime text */
.on-dark .italic-serif,
.italic-serif-solid {
  background: transparent;
  color: var(--lime);
  padding: 0;
}

/* Lime text accent (for dark backgrounds where the marker doesn't pop) */
.txt-lime {
  color: var(--lime);
  font-weight: 600;
  font-style: normal;
}

/* ====== Layout ====== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(72px, 10vw, 160px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 96px) 0; }
.section-xl { padding: clamp(100px, 13vw, 200px) 0; }

/* ====== Header / Nav ====== */
/* ====== NAV — pill-style matching contavle.com ====== */
.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), top 0.3s var(--ease);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.scrolled { padding: 12px 0; }
/* Wash translúcido + blur cuando hay scroll, para que la nav se "asiente" sobre el contenido */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(15, 17, 42, 0.06);
}
.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left pill: logo + menu unified */
.nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  border-radius: 999px;
  padding: 8px 12px 8px 24px;
  box-shadow: 0 4px 24px rgba(15,17,42,0.08), 0 1px 2px rgba(15,17,42,0.05);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled .nav-left {
  box-shadow: 0 8px 32px rgba(15,17,42,0.12), 0 1px 2px rgba(15,17,42,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 32px;
  margin-right: 28px;
}
.nav-logo img {
  height: 26px;
  width: auto;
  display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-menu > li { display: inline-flex; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-menu a:hover { background: var(--whisper); }
.nav-menu a.has-dropdown { padding-right: 14px; }
.nav-menu a.has-dropdown::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  margin-left: 4px;
  transform-origin: center 35%;
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.nav-menu a.has-dropdown:hover::after { transform: rotate(180deg); }

/* Right CTA pills */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* ====== Nav pills — sliding-fill estilo contavle.com ======
   Estado reposo: fondo blanco, borde del color, círculo del color a la izquierda.
   Hover: el círculo del color crece y llena todo el pill, texto cambia color.
   Duración generosa para que se aprecie el deslizamiento. */
.nav-pill {
  --pill-color: var(--ink);       /* color principal: borde + círculo + fill */
  --pill-on-color: white;          /* color contraste: texto cuando está lleno, flecha del círculo */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 22px 6px 6px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  background: white;
  color: var(--pill-color);
  border: 1.5px solid var(--pill-color);
  transition: color 0.7s var(--ease-out), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,17,42,0.08);
}
.nav-pill::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pill-color);
  transform: translateY(-50%) scale(1);
  transform-origin: center;
  transition: transform 0.9s var(--ease-fill);
  z-index: -1;
}
.nav-pill:hover::before {
  transform: translateY(-50%) scale(18);
}
.nav-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pill-color);
  color: var(--pill-on-color);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
  position: relative;
  z-index: 1;
}
.nav-pill:hover {
  color: var(--pill-on-color);
  transform: translateY(-2px);
}
.nav-pill:hover .nav-pill-icon {
  transform: rotate(45deg);
}

/* Navy (Iniciar sesión, Prueba tu demo) — color navy, fill al hover */
.nav-pill-dark {
  --pill-color: var(--ink);
  --pill-on-color: white;
}
.nav-pill-dark:hover {
  box-shadow: 0 10px 26px rgba(15,17,42,0.22);
}

/* Lime (Regístrate) — texto navy en reposo, fondo blanco con borde lime, círculo lime;
   al hover el círculo crece y el texto se mantiene navy sobre fondo lime */
.nav-pill-lime {
  --pill-color: var(--lime);
  --pill-on-color: var(--ink);
  color: var(--ink);  /* texto navy en reposo */
  border-color: var(--lime);
  box-shadow: 0 4px 14px rgba(195,231,107,0.25);
}
.nav-pill-lime:hover {
  box-shadow: 0 10px 26px rgba(195,231,107,0.55);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 14px rgba(15,17,42,0.10);
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Mega menu — replicando el de contavle.com (anclado izquierda, 2 columnas, footer navy) */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-8px);
  width: min(720px, 92vw);
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 24px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 30px 80px rgba(15,17,42,0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Delay para tolerar movimientos rápidos del ratón */
  transition:
    opacity 0.25s var(--ease) 0.15s,
    transform 0.25s var(--ease) 0.15s,
    visibility 0s linear 0.4s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
/* Puente invisible entre el link y el megamenu: amplía el área hover */
.megamenu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}
.has-megamenu { position: relative; }
/* Ampliar área hover del padre con padding-bottom invisible en el <li>,
   NO en el <a> (eso desplazaba la baseline visual y descentraba "Funcionalidades"
   respecto al resto de items del menú). */
.has-megamenu {
  padding-bottom: 4px;
  margin-bottom: -4px;
}
.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  /* Al abrir, sin delay */
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s linear 0s;
}
/* Footer del megamenu: "Todas las funcionalidades" navy a ancho completo */
.megamenu-footer {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.megamenu-footer:hover {
  background: var(--lime);
  color: var(--ink);
}
.megamenu-footer .mm-icon {
  background: rgba(255,255,255,0.08);
  color: var(--lime);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.megamenu-footer:hover .mm-icon {
  background: var(--ink);
  color: var(--lime);
}
.megamenu-footer .mm-text strong { color: white; transition: color 0.3s var(--ease); }
.megamenu-footer .mm-text span { color: rgba(255,255,255,0.6); transition: color 0.3s var(--ease); }
.megamenu-footer:hover .mm-text strong { color: var(--ink); }
.megamenu-footer:hover .mm-text span { color: rgba(15,17,42,0.7); }

.mm-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  transition: background 0.25s var(--ease);
}
.mm-item:hover { background: var(--whisper); }
.mm-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime-mist);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.mm-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.mm-text span {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.45;
}

/* ====== Botones ======
   .btn: estilo base. Para que el efecto sliding-fill funcione hay que añadir
   un ::before circular que parte de la izquierda y crece al hover. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: color 0.7s var(--ease-out), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
/* Sliding-fill: pseudo-elemento circular que se expande del lado izquierdo
   hasta cubrir todo el pill. Se desactiva en .btn-link (que es text-only). */
.btn::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: var(--btn-fill, currentColor);
  transform: translateY(-50%);
  transition: width 0.9s var(--ease-fill), height 0.9s var(--ease-fill), left 0.9s var(--ease-fill);
  z-index: -1;
}
.btn:hover::after {
  width: 280%;
  height: 900%;
  left: -90%;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(195,231,107,0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn > * { position: relative; z-index: 1; }

.btn-primary {
  background: var(--ink);
  color: var(--lime);
  --btn-fill: var(--lime);
  box-shadow: 0 4px 14px rgba(15,17,42,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15,17,42,0.28), 0 0 0 1px rgba(195,231,107,0.3), 0 0 30px rgba(195,231,107,0.25);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  --btn-fill: var(--ink);
  box-shadow: 0 4px 14px rgba(195,231,107,0.4);
}
.btn-lime:hover {
  color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(195,231,107,0.5), 0 0 0 4px rgba(195,231,107,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  --btn-fill: var(--ink);
  border: 1px solid var(--mist);
}
.btn-ghost:hover {
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,17,42,0.18);
}

.btn-link {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  overflow: visible;
}
.btn-link::before, .btn-link::after { display: none; }
.btn-link:hover { color: var(--slate); border-color: var(--slate); }
.btn-link-light { color: var(--lime); border-color: var(--lime); }
.btn-link-light:hover { color: var(--lime-bright); border-color: var(--lime-bright); }

.btn-lg { padding: 17px 30px; font-size: 15.5px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ====== Pills / Tags ====== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15,17,42,0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15,17,42,0.04);
  transition: all 0.3s var(--ease);
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,17,42,0.08); }
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(195,231,107,0.25), 0 0 12px rgba(195,231,107,0.6);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(195,231,107,0.25), 0 0 12px rgba(195,231,107,0.6); }
  50% { box-shadow: 0 0 0 7px rgba(195,231,107,0.1), 0 0 20px rgba(195,231,107,0.4); }
}
.pill-emoji {
  font-size: 14px;
  line-height: 1;
}

/* ====== Card base ====== */
.card {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.card:hover {
  border-color: var(--graphite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ====== Marquee ====== */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ====== FOOTER — Light, blanco, contrasta con el CTA navy de arriba ====== */
.footer {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
/* Patrón V super sutil de marca, decorativo */
.footer::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 14%;
  width: 540px;
  height: 500px;
  background-image: url("../img/v-pattern.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.025;
  filter: invert(1);
  pointer-events: none;
  z-index: 0;
}

/* ====== Banda superior: CTA + trust badges ====== */
.footer-top {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--mist);
  position: relative;
  z-index: 1;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 18px;
}
.footer-cta-title span:first-child {
  display: block;
}
.footer-cta-title .italic-serif {
  font-style: normal;
  font-family: var(--font-display);
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: var(--ink);
  z-index: 0;
}
.footer-cta-title .italic-serif::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6px;
  height: 38%;
  background: var(--lime);
  z-index: -1;
  border-radius: 2px;
}
.footer-cta-block > p {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 32px;
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-link-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-link-light:hover {
  color: var(--slate);
  border-color: var(--lime);
  transform: translateX(3px);
}

/* Trust badges */
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--mist);
  border-radius: 16px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer-trust-item:hover {
  background: white;
  border-color: rgba(15,17,42,0.14);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(15,17,42,0.06);
}
.footer-trust-item > svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--ink);
  padding: 8px;
  box-sizing: content-box;
  background: var(--lime-mist);
  border-radius: 10px;
}
.footer-trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.footer-trust-item span {
  font-size: 12.5px;
  color: var(--slate);
}

/* ====== Main grid: brand + 4 columnas ====== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}

/* Brand: logo + descripción + redes */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
  color: var(--ink);
  transition: opacity 0.3s var(--ease);
}
.footer-logo svg { color: var(--ink); }
.footer-logo span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.footer-logo:hover { opacity: 0.7; }
.footer-brand p {
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 28px;
}

/* Headers de columna */
.footer h5 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer-col li { position: relative; }
.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--graphite);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.3s var(--ease);
}
/* Hover: la flecha "→" lime aparece dentro del flujo sin desplazar el texto */
.footer-col a::before {
  content: "→";
  display: inline-block;
  width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  opacity: 0;
  transition: width 0.35s var(--ease-out), opacity 0.35s var(--ease-out), margin-right 0.35s var(--ease-out);
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-col a:hover::before {
  width: 14px;
  opacity: 1;
  margin-right: 6px;
}

/* Social icons redondos */
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--mist);
  background: white;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Sliding fill desde el centro */
.footer-socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.55s var(--ease-fill);
  z-index: -1;
}
.footer-socials a:hover::before { transform: scale(1.1); }
.footer-socials a:hover {
  color: var(--lime);
  border-color: var(--ink);
  transform: translateY(-3px);
}

/* ====== Bottom bar ====== */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--mist);
  font-size: 13px;
  color: var(--slate);
  flex-wrap: wrap;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.30);
  border-radius: 999px;
  color: #047857;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.20);
  animation: pulseDot 2s ease-in-out infinite;
}
.footer-copy {
  color: var(--slate);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-bottom-links a:hover { color: var(--ink); }

/* Watermark gigante "contavle" en lowercase navy con poca opacidad */
.footer-watermark {
  position: absolute;
  bottom: -4vw;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(15, 17, 42, 0.025);
  pointer-events: none;
  line-height: 0.85;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-top-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { padding: 56px 0 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ====== Animaciones de entrada ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Unfold reveal — sección que se "despliega" desde abajo con clip-path ======
   Útil en bloques grandes (hero strips, secciones destacadas, bandas full-bleed).
   Combina clip-path inset desde abajo + traslado + scale sutil. */
.reveal-unfold {
  clip-path: inset(0 0 100% 0 round 32px);
  -webkit-clip-path: inset(0 0 100% 0 round 32px);
  transform: translateY(40px) scale(0.985);
  opacity: 0;
  transition:
    clip-path 1.1s var(--ease-out),
    -webkit-clip-path 1.1s var(--ease-out),
    transform 1.1s var(--ease-out),
    opacity 0.6s var(--ease-out);
  will-change: clip-path, transform;
}
.reveal-unfold.in {
  clip-path: inset(0 0 0% 0 round 32px);
  -webkit-clip-path: inset(0 0 0% 0 round 32px);
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* Variante sin redondeo (para bandas o secciones que ya tienen su propio radius) */
.reveal-unfold.reveal-unfold-flat {
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
}
.reveal-unfold.reveal-unfold-flat.in {
  clip-path: inset(0 0 0% 0);
  -webkit-clip-path: inset(0 0 0% 0);
}
/* Reveal-mask: descubrir contenido por bandas verticales — útil en imágenes hero */
.reveal-mask {
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out), -webkit-clip-path 1.2s var(--ease-out);
}
.reveal-mask.in {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
/* Reveal-text: cada palabra/línea se "desvela" desde abajo (requiere envolver con .reveal-text > span) */
.reveal-text-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-text-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-text-line.in > span,
.in .reveal-text-line > span {
  transform: translateY(0);
}

/* Si no hay JS o si se quieren ver todos (motion-safe fallback) */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-unfold,
  .reveal-mask,
  .reveal-text-line > span {
    opacity: 1;
    transform: none;
    clip-path: none;
    -webkit-clip-path: none;
    transition: none;
  }
}
/* Fallback: si JS no se ejecuta tras 2s, mostrar todo */
.no-js .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ====== Reveal stagger — variante más marcada para grids de cards ======
   Slide-up más amplio (44px) + scale-down inicial + delays mayores.
   Pensado para grids como "Funcionalidades que trabajan por ti". */
.reveal-stagger {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.95s var(--ease-out);
}
.reveal-stagger.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-stagger-1 { transition-delay: 0.05s; }
.reveal-stagger-2 { transition-delay: 0.15s; }
.reveal-stagger-3 { transition-delay: 0.25s; }
.reveal-stagger-4 { transition-delay: 0.38s; }
.reveal-stagger-5 { transition-delay: 0.48s; }
.reveal-stagger-6 { transition-delay: 0.58s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger { opacity: 1; transform: none; transition: none; }
}

/* ====== Reveal-left / Reveal-right — entran lateralmente ====== */
.reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.in, .reveal-right.in {
  opacity: 1;
  transform: translateX(0);
}

/* ====== Reveal-zoom — entra con scale ====== */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-zoom.in {
  opacity: 1;
  transform: scale(1);
}

/* ====== Reveal-rotate — entra con leve rotación + slide-up ====== */
.reveal-rotate {
  opacity: 0;
  transform: translateY(30px) rotate(-2deg);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal-rotate.in {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ====== Parallax-on-scroll: aplicado vía JS con --parallax (0 a 1) ====== */
.parallax-y {
  will-change: transform;
  transform: translateY(calc(var(--parallax, 0) * 60px));
  transition: transform 0.15s linear;
}
.parallax-y-neg {
  transform: translateY(calc(var(--parallax, 0) * -60px));
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right, .reveal-zoom, .reveal-rotate {
    opacity: 1; transform: none; transition: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ====== Cookie banner ====== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: var(--ink);
  color: white;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.cookie-banner.show { display: block; animation: cookieIn 0.5s var(--ease) both; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.cookie-banner button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  font-family: var(--font-display);
}
.cookie-accept { background: var(--lime); color: var(--ink); }
.cookie-reject { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }

/* Forzar texto blanco legible en el banner (sobreescribe opacidades heredadas) */
.cookie-banner p,
.cookie-banner strong,
.cookie-banner span { color: #ffffff; opacity: 1; }
.cookie-banner a { color: var(--lime); text-decoration: underline; }
.cookie-banner .cookie-accept { color: var(--ink); }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .footer-col:nth-child(n+4) { display: none; }
}
@media (max-width: 1180px) {
  /* Hide secondary pills on smaller laptops */
  .nav-pill:not(.nav-pill-lime) { display: none; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-left {
    padding: 8px 16px;
    gap: 0;
  }
  .nav-logo { margin-right: 0; }
}
@media (max-width: 768px) {
  .nav-inner { gap: 10px; padding: 0 12px; }
  .nav-pill-dark { display: none; }
  .nav-pill-lime {
    padding: 6px 16px 6px 6px;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(195,231,107,0.35);
  }
  .nav-pill-lime .nav-pill-icon {
    width: 26px;
    height: 26px;
  }
  .nav-pill-lime .nav-pill-icon svg {
    width: 10px;
    height: 10px;
  }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 24px; }
  .nav-cta { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 380px) {
  .nav-pill-lime .nav-pill-icon { display: none; }
  .nav-pill-lime { padding: 8px 14px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ====== Mobile menu overlay ====== */
/* ====== Mobile Menu — Nueva versión rica ====== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 1500;
  padding: 0;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateY(0);
}
/* Cuando el menú móvil está abierto, esconder cookie banner y bloquear scroll del body */
.mobile-menu.open ~ .cookie-banner,
body:has(.mobile-menu.open) .cookie-banner {
  display: none !important;
}
/* Banner reutilizable arriba */
.mobile-menu-banner {
  background: var(--ink);
  color: white;
  padding: 12px 56px 12px 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
}
.mobile-menu-banner strong {
  color: var(--lime);
  font-weight: 700;
}
.mobile-menu-banner-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(195,231,107,0.18);
}
.mobile-menu-banner-rocket {
  margin-left: auto;
  font-size: 16px;
  flex-shrink: 0;
}
/* Botón cerrar */
.mobile-menu .close {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s var(--ease);
}
.mobile-menu .close:hover {
  background: rgba(255,255,255,0.22);
}
.mobile-menu .close svg {
  display: block;
}
/* Contenido principal */
.mobile-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
  gap: 28px;
}
.mobile-menu-brand {
  display: flex;
  align-items: center;
}
.mobile-menu-brand img {
  height: 28px;
  width: auto;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  padding-left: 4px;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 12px;
  letter-spacing: -0.015em;
  transition: background 0.15s var(--ease);
  border-bottom: 1px solid var(--mist);
  border-radius: 0;
}
.mobile-menu-link:last-child {
  border-bottom: none;
}
.mobile-menu-link svg {
  color: var(--slate);
  flex-shrink: 0;
  transition: transform 0.15s var(--ease), color 0.15s var(--ease);
}
.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: var(--whisper);
}
.mobile-menu-link:hover svg,
.mobile-menu-link:active svg {
  color: var(--ink);
  transform: translateX(3px);
}
/* CTAs en bloque */
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.mobile-menu-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.mobile-menu-cta-primary:hover,
.mobile-menu-cta-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(195,231,107,0.4);
}
.mobile-menu-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s var(--ease);
}
.mobile-menu-cta-secondary:hover,
.mobile-menu-cta-secondary:active {
  background: #1a1d3a;
}
/* Footer del menú */
.mobile-menu-footer {
  margin-top: auto;
  padding: 22px 4px 8px;
  border-top: 1px solid var(--mist);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.mobile-menu-footer-mail {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  align-self: flex-start;
  padding-bottom: 2px;
}
.mobile-menu-footer-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  margin-top: 6px;
}

/* ====== Utilidades ====== */
.text-center { text-align: center; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 64px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.lime-text { color: var(--lime); }
.lime-bg { background: var(--lime); }
.ink-bg { background: var(--ink); color: white; }

/* ====== Selección ====== */
::selection { background: var(--lime); color: var(--ink); }

/* ====== Scrollbar ====== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--whisper); }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate); }


/* ============================================================
   MOBILE MENU — Acordeón Funcionalidades (submenú top)
   ============================================================ */
.mobile-menu-collapsible {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--mist);
}
.mobile-menu-collapsible[open] {
  background: var(--whisper);
}

/* Summary actúa como link principal */
.mobile-menu-link-collapsible {
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-bottom: none !important;
}
.mobile-menu-link-collapsible::-webkit-details-marker {
  display: none;
}
.mobile-menu-link-collapsible::marker {
  display: none;
}

/* Chevron rota al abrir */
.mmc-chev {
  color: var(--slate);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.mobile-menu-collapsible[open] .mmc-chev {
  transform: rotate(180deg);
  color: var(--ink);
}

/* Container del submenu */
.mobile-menu-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px 18px;
  background: var(--whisper);
  animation: mmsubFadeIn 0.3s var(--ease);
}

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

/* Cada sub-item: icono + texto */
.mm-sub-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s var(--ease);
}
.mm-sub-link:hover,
.mm-sub-link:active {
  border-color: var(--mist);
  transform: translateX(2px);
}

/* Icono cuadrado navy + lime */
.mm-sub-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--lime);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

/* Texto del sub-item */
.mm-sub-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mm-sub-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.mm-sub-text span {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.3;
}

/* "Ver todas las funcionalidades" — link final navy */
.mm-sub-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  margin-top: 6px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.15s var(--ease);
}
.mm-sub-all svg {
  flex-shrink: 0;
}
.mm-sub-all:hover,
.mm-sub-all:active {
  background: #1a1d3a;
}
.mm-sub-all:hover svg,
.mm-sub-all:active svg {
  transform: translateX(3px);
}
