/* ==========================================================================
   Axiomify — hoja de estilos del sitio
   Tokens de marca: ver README de marca (fuente de verdad).
   ========================================================================== */

:root {
  --navy: #0B1F3B;
  --navy-soft: #132a52;
  --blue: #2563EB;
  --blue-hover: #1d4fd1;
  --cyan: #06B6D4;
  --near-white: #F8FAFC;
  --white: #ffffff;

  --text-strong: #0B1F3B;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --on-dark: #F8FAFC;
  --on-dark-70: rgba(248, 250, 252, 0.7);
  --on-dark-65: rgba(248, 250, 252, 0.65);
  --on-dark-60: rgba(248, 250, 252, 0.6);
  --on-dark-45: rgba(248, 250, 252, 0.45);
  --on-dark-line: rgba(248, 250, 252, 0.1);
  --on-dark-surface: rgba(248, 250, 252, 0.05);

  /* Sistema tipográfico tecno / cyberpunk.
     Display: Orbitron — geométrica, extendida, caja ancha. Logo, H1/H2, botones.
     Mono: JetBrains Mono — consola de código. Cuerpo, metadatos, etiquetas, forms.
     Space Grotesk / Inter quedan como fallback si Orbitron/JetBrains no cargan. */
  --font-display: 'Orbitron', 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Consolas', 'Menlo', monospace;
  --font-body: var(--font-mono);

  --radius-btn: 10px;
  --radius-card: 16px;
  --radius-panel: 24px;

  --shell: 1200px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  /* navy, no near-white: cada section ya pinta su propio fondo encima, así
     que esto no se ve en el layout normal — pero es lo que el header con
     vidrio esmerilado encuentra detrás de sí mismo en la parte de arriba
     de la página (antes del hero), vía backdrop-filter. Con near-white ahí
     el header se veía gris; con navy se funde con su propio tinte. */
  background: var(--navy);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}
h1, h2 { text-transform: uppercase; }

p { margin: 0; }

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

a { color: var(--blue); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- Layout -- */

.section {
  padding: clamp(56px, 8vw, 100px) 24px;
}
.section--light { background: var(--near-white); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); }
.section--tight { padding: clamp(48px, 7vw, 72px) 24px; }

.shell { max-width: var(--shell); margin: 0 auto; }
.shell--1100 { max-width: 1100px; }
.shell--1000 { max-width: 1000px; }
.shell--900 { max-width: 900px; }
.shell--820 { max-width: 820px; }
.shell--800 { max-width: 800px; }
.shell--760 { max-width: 760px; }
.shell--700 { max-width: 700px; }

.grid { display: grid; gap: 24px; }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}
.section--navy .section-head p { color: var(--on-dark-60); }

/* ---------------------------------------------------------- Tipografía -- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--cyan { color: var(--cyan); }

/* Titulares anchos y futuristas: Orbitron con tracking positivo y caja alta.
   Orbitron pinta más grande y más ancho que Space Grotesk, así que los
   tamaños bajan un punto respecto al sistema anterior. */
.h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
.h1--sm { font-size: clamp(25px, 4.4vw, 39px); }
.h1--md { font-size: clamp(27px, 4.6vw, 41px); }
.h1--lg { font-size: clamp(29px, 5vw, 45px); }
.h2 { font-size: clamp(23px, 3.6vw, 32px); font-weight: 700; letter-spacing: 0.015em; text-transform: uppercase; }
.h2--sm { font-size: clamp(21px, 3.2vw, 29px); }
.h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; }

.on-navy, .section--navy h1, .section--navy h2, .section--navy h3 { color: var(--on-dark); }

.lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.body { font-size: 15px; line-height: 1.7; color: var(--text-body); }
.body--sm { font-size: 14px; line-height: 1.7; }
.muted-on-navy { color: var(--on-dark-70); }

/* ---------------------------------------------------------------- Pills -- */

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pill--cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan);
}
.pill--blue {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  padding: 6px 14px;
}
.pill--soon {
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
}

/* -------------------------------------------------------------- Botones -- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--blue); color: var(--on-dark); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(248, 250, 252, 0.3);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--sm { font-size: 15px; padding: 14px 26px; }
.btn--cyan {
  background: var(--cyan);
  color: var(--navy);
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 8px;
}
.btn--cyan:hover { background: #0aa2bd; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 10px;
  transition: color .18s ease;
}
.link-arrow:hover { color: var(--blue-hover); }

/* Enlace que hereda el color del texto (titulares de tarjeta en /recursos). */
.link-plain { color: inherit; text-decoration: none; }
.link-plain:hover { color: var(--blue); }

/* FAQ acordeón (<details>) — /licitasmart. Sin JS. */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: var(--white);
}
.faq summary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--text-faint);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details > p {
  line-height: 1.7;
  margin: 14px 0;
  color: var(--text-body);
}
.faq a { color: var(--blue); }

/* Cuerpo de artículo largo — /recursos/*. Ancho de lectura acotado. */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 40px 0 14px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.prose p { line-height: 1.75; margin: 0 0 16px; }
.prose ul, .prose ol { line-height: 1.75; margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); }
.prose a:hover { color: var(--blue-hover); }
.prose .article-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.prose .article-note {
  margin-top: 40px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-faint);
}

/* ----------------------------------------------------------------- Nav --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 59, 0.6);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--navy); }
}
.site-header__bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 48px; height: 48px; display: block; }
/* Destellos de IA del logotipo. Selector `.brand img.brand__ai` y no solo
   `.brand__ai`: la regla de arriba tiene mayor especificidad y le impondria
   48x48.

   Van SOLO en el header. En el pie el lockup es secundario y tres destellos
   ahi compiten con el contenido; y no van en el favicon ni en los iconos de
   app, donde aparece unicamente la "A".

   El translateY los sube: centrados en la fila (que mide lo que el simbolo,
   48px) quedaban por debajo de la linea de las mayusculas del logotipo. */
.brand img.brand__ai {
  width: 22px;
  height: 26px;
  margin-left: -3px;
  transform: translateY(-5px);
}
/* En el pie el logotipo es mas chico (17px contra 19px), asi que los
   destellos bajan en proporcion; con el mismo tamanio que en el header
   pesaban mas que el propio texto. */
.site-footer__brand img.brand__ai--pie {
  width: 19px;
  height: 22px;
  transform: translateY(-4px);
}
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--on-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--on-dark-65);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a[aria-current="page"] { color: var(--on-dark); }

/* Selector de idioma: enlace al equivalente de la página en el otro idioma
   (ES <-> EN). Visible en todos los anchos — a diferencia de .nav-links,
   no se esconde en móvil, así que cambiar de idioma no exige abrir el menú. */
.lang-switch {
  flex-shrink: 0;
  color: var(--on-dark-65);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 6px;
  transition: color .18s ease, border-color .18s ease;
}
.lang-switch:hover { color: var(--cyan); border-color: var(--cyan); }
.lang-switch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.nav-cta {
  background: var(--blue);
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.nav-cta:hover { background: var(--blue-hover); }

/* ------------------------------------------------------- WhatsApp ------- */
/* El glifo es el oficial de Meta, sin modificar. El boton-icono del header
   usa el par de color aprobado (blanco sobre verde WhatsApp #25D366) y no
   se combina con el logo de Axiomify; el enlace lleva aria-label con la
   palabra "WhatsApp" para no reemplazarla por el logo. En los botones con
   texto el glifo solo antecede al texto — no es el elemento dominante. */
.wa-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #25D366;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color .18s ease;
}
.wa-icon-btn:hover { background: #1EBE5D; }
.wa-icon-btn img { width: 22px; height: 22px; display: block; }

/* Botones .btn (y .nav-mobile__cta) que llevan el glifo antes del texto. */
.btn--wa,
.nav-mobile__cta.nav-mobile__cta--wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wa-glyph {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-dark);
}
.nav-toggle span + span { margin-top: 6px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  background: var(--navy);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: var(--on-dark-65);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-top: 1px solid var(--on-dark-line);
}
.nav-mobile a[aria-current="page"] { color: var(--on-dark); }
/* Cambio de idioma dentro del menú móvil (par exacto de la página, igual
   que .lang-switch del header). Cyan para distinguirlo de las secciones. */
.nav-mobile a.nav-mobile__lang { color: var(--cyan); }
.nav-mobile .nav-mobile__cta {
  background: var(--blue);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
  border-top: none;
  font-size: 15px;
  font-weight: 600;
}

/* 1099: con 7 enlaces (desde WebSmart, 2026-09-24) la barra completa
   necesita ~1060px; por debajo, menú hamburguesa. Antes era 999 (Orbitron
   en caja alta hace el logo más ancho). */
@media (max-width: 1099px) {
  .nav-links,
  .site-header__bar .nav-cta,
  .site-header__bar .wa-icon-btn { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------- Hero --- */

.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 24px clamp(80px, 12vw, 140px);
}
.hero--compact { padding: clamp(56px, 9vw, 100px) 24px; }
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero__inner .h1 { color: var(--on-dark); margin: 0 0 24px; }
.hero__inner .lead {
  color: var(--on-dark-70);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero .pill { margin-bottom: 28px; }

/* Paisaje geométrico de fondo: red de partículas dibujada en canvas
   (ver main.js). Detrás del contenido del hero, opacidad baja para no
   restar legibilidad al texto. */
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.blob--cyan {
  top: -120px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.35), transparent 70%);
  animation: floatBlob 10s ease-in-out infinite;
}
.blob--blue {
  bottom: -160px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 60% 40%, rgba(37, 99, 235, 0.3), transparent 70%);
  animation: floatBlob 12s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 18px); }
}

/* ---------------------------------------------------- Bloque respuesta -- */
/* Resumen autosuficiente justo debajo del hero: una pregunta descriptiva y 2-4
   oraciones que responden que es el producto. Es lo primero que extraen los
   buscadores con IA (ChatGPT, Perplexity, Claude) al citar una pagina; el hero
   de marketing ("Licita mas inteligente.") no dice que es cada cosa. */
.answer {
  background: var(--white);
  padding: clamp(36px, 5vw, 56px) 24px 0;
}
.answer--light { background: var(--near-white); padding-bottom: 0; }
.answer__q {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}
.answer__a {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--text-strong);
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

/* -------------------------------------------------------------- Tarjetas -- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card--lg { padding: 36px; }
.card--navy {
  background: var(--navy);
  border-color: transparent;
}
.card--navy h2,
.card--navy h3 { color: var(--on-dark); }
.card--navy p { color: var(--on-dark-70); }

.card--soon {
  border-radius: 14px;
  padding: 24px;
  opacity: 0.85;
}
.card--soon h3 { font-size: 18px; margin-bottom: 8px; }
.card--soon p { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.card-on-navy {
  padding: 28px 22px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.08);
}
.card-on-navy h2,
.card-on-navy h3 { font-size: 17px; font-weight: 600; color: var(--on-dark); margin-bottom: 10px; }
.card-on-navy p { font-size: 14px; line-height: 1.6; color: var(--on-dark-60); }

.card-on-navy--audience {
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-card);
  padding: 26px;
}
.card-on-navy--audience h2,
.card-on-navy--audience h3 { color: var(--cyan); font-size: 16px; }
.card-on-navy--audience p { color: var(--on-dark-70); }

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; }

/* --------------------------------------------------- LicitaSmart (home) -- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-strong);
  line-height: 1.6;
}
.bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 8px;
  flex-shrink: 0;
}

.chat-panel {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  padding: 36px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.chat-bubble {
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid var(--on-dark-line);
  border-radius: 12px;
  padding: 16px;
  color: var(--on-dark);
  font-size: 14px;
  line-height: 1.5;
}
.chat-bubble--cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--cyan);
}

/* --------------------------------------------------------------- Pasos --- */

.step { text-align: center; }
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--text-body); }
/* Después de `.step p` a propósito: comparten especificidad y este debe ganar. */
.step .step__num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* ------------------------------------------------------------ Confianza -- */

.trust__icon { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.trust h3 { font-size: 19px; margin-bottom: 10px; }


/* ------------------------------------------------------------ CTA final -- */

.cta-panel {
  background: var(--navy);
  border-radius: var(--radius-panel);
  padding: clamp(40px, 6vw, 64px) 32px;
  text-align: center;
}
.cta-panel h2 { color: var(--on-dark); margin-bottom: 16px; }
.cta-panel p {
  font-size: 15px;
  color: var(--on-dark-70);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ------------------------------------------------------------- Fundador -- */

.founder {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 40px;
  align-items: start;
}
.founder__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-45);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 220px; }
}

/* ----------------------------------------------------------- Formulario -- */

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
}
.field input,
.field textarea {
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-strong);
  background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(37, 99, 235, 0.25);
  outline-offset: 0;
}

.form button[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color .18s ease;
}
.form button[type="submit"]:hover { background: var(--blue-hover); }

.form-status {
  font-size: 14px;
  color: var(--text-body);
  min-height: 1.2em;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-card {
  background: var(--near-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.side-card h2,
.side-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.side-card--navy {
  background: var(--navy);
  border-color: transparent;
}
.side-card--navy h2,
.side-card--navy h3 { color: var(--on-dark); margin-bottom: 10px; }
.side-card--navy p { color: var(--on-dark-65); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.notify-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.notify-row input {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-strong);
}
.notify-row button { border: none; cursor: pointer; font-family: var(--font-body); }

.contact-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* -------------------------------------------------------------- Footer --- */

.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding: 56px 24px 28px;
}
.site-footer__cols {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.site-footer__brand { flex: 1 1 240px; max-width: 320px; }
.site-footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark-60);
}
/* Las dos frases del pie van en lineas separadas. La regla global es
   `p { margin: 0 }`, asi que sin este margen quedarian pegadas y se leerian
   como un solo parrafo cortado, que es justo lo que se queria evitar.

   El claim va un punto mas claro que la descripcion: son dos cosas
   distintas —posicionamiento y explicacion— y al mismo color competian. */
.site-footer__claim {
  color: var(--on-dark-70);
  margin-bottom: 4px;
}

/* Badge de Cloudflare en el footer. Más chico que el del Home (150 vs 190):
   sobre navy el naranja contrasta bastante más que sobre blanco, y acá es
   información secundaria. No se le baja opacidad ni se recolorea — las guías
   de Cloudflare no lo permiten y quedaría sucio; se contiene por tamaño. */
.footer-badge {
  width: 150px;
  height: auto;
  display: block;
  margin-top: 20px;
}
.site-footer__col { flex: 1 1 140px; }
.site-footer__col--wide { flex: 1 1 200px; }
.site-footer h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-dark-45);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer li, .site-footer a {
  color: rgba(248, 250, 252, 0.75);
  text-decoration: none;
  font-size: 14px;
}
.site-footer a:hover { color: var(--cyan); }
.site-footer__bottom {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.site-footer__bottom span,
.site-footer__bottom a {
  font-size: 13px;
  color: var(--on-dark-45);
}
.site-footer__bottom a { text-decoration: underline; }
.site-footer__bottom a:hover { color: var(--cyan); }

/* ==========================================================================
   Planes (LicitaSmart)
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.plan__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 24px;
  background: var(--navy);
}
.plan__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}
.plan__head h3 { color: var(--on-dark); font-size: 18px; }
/* Con etiqueta ("Más elegido", "Más completo"): espacio para que no pise el título. */
.plan__badge ~ .plan__head { padding-right: 132px; }
.plan__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  padding: 24px;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}
.plan__price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan__iva { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.plan__desc { font-size: 14px; line-height: 1.6; color: var(--text-body); }
.plan__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.07);
  padding: 9px 13px;
  border-radius: 8px;
}
.plan .bullets li { font-size: 13px; }
.plans-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.plans-intro__brand { pointer-events: none; }
.plans-intro__brand span { color: var(--text-strong); }
.plan--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 50px -18px rgba(37, 99, 235, 0.5);
  position: relative;
}
.plan--featured .plan__price { color: var(--blue); }
.plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--cyan);
  padding: 5px 11px;
  border-radius: 999px;
}
.plan--enterprise { background: var(--navy); border-color: var(--on-dark-line); }
.plan--enterprise .plan__head { background: transparent; border-bottom: 1px solid var(--on-dark-line); }
.plan--enterprise .plan__price { color: var(--cyan); font-size: 24px; }
.plan--enterprise .plan__iva { color: var(--on-dark-45); }
.plan--enterprise .plan__desc { color: var(--on-dark-70); }

/* ---------------------------------------------- Cambio de idioma (FX) -- */
/* Transición entre documentos
   nativa (View Transitions); main.js la cancela en `pageswap` salvo que el
   clic venga del selector de idioma, así que el resto de la navegación no
   se anima. Sin soporte (Firefox) o con movimiento reducido: sin efecto. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  .site-header { view-transition-name: site-header; }

  ::view-transition {
    background:
      repeating-linear-gradient(0deg, rgba(34, 211, 238, 0.07) 0 1px, transparent 1px 3px),
      #050914;
  }
  ::view-transition-old(root) { animation: axfx-glitch-out 0.34s steps(1, end) both; }
  ::view-transition-new(root) { animation: axfx-glitch-in 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) 0.06s both; }
}

@keyframes axfx-glitch-out {
  0%   { clip-path: inset(0); transform: none; filter: none; }
  15%  { clip-path: inset(10% 0 55% 0); transform: translateX(-14px);
         filter: drop-shadow(3px 0 rgba(34, 211, 238, 0.8)) drop-shadow(-3px 0 rgba(236, 72, 153, 0.7)); }
  30%  { clip-path: inset(62% 0 8% 0); transform: translateX(16px); }
  45%  { clip-path: inset(28% 0 42% 0); transform: translateX(-8px); }
  60%  { clip-path: inset(0 0 80% 0); transform: translateX(10px); opacity: 0.7; }
  80%  { clip-path: inset(86% 0 0 0); transform: translateX(-4px); opacity: 0.4; }
  100% { clip-path: inset(0); opacity: 0; }
}
@keyframes axfx-glitch-in {
  0%   { clip-path: inset(0 0 100% 0); filter: brightness(1.6) hue-rotate(30deg); }
  70%  { filter: brightness(1.12); }
  100% { clip-path: inset(0); filter: none; }
}

/* Descifrado del H1 al llegar: título con caracteres aleatorios que se resuelven. */
.axfx-descifrando { color: var(--cyan); text-shadow: 0 0 12px rgba(34, 211, 238, 0.45); }
