/* Finanzas Petrios — landing pública (S35 · rediseño fintech)
   ---------------------------------------------------------------
   Paleta dark azul marino + acento cyan (industry standard fintech).
   Tipografía Inter (Google Fonts). Rojo Petrios solo como acento
   secundario en logo. Microinteracciones sutiles.
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0A1628;
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #00A3B4; text-decoration: none; transition: color .15s; }
a:hover { color: #00D4E7; }

:root {
  /* Paleta dark fintech */
  --hero-bg: #0A1628;              /* azul marino profundo */
  --hero-bg-2: #0F1E3D;            /* variante */
  --pri: #0F52BA;                  /* azul institucional */
  --pri-d: #0A3E8C;
  --accent: #00D4E7;               /* cyan brillante (CTA) */
  --accent-d: #00A3B4;
  --brand: #B93C29;                /* rojo Petrios — SOLO en logo/branding */
  --ok: #10B981;
  --warn: #F59E0B;
  --err: #EF4444;

  /* Body neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;               /* gris muy claro para secciones alternas */
  --bg-soft: #F1F5F9;
  --border: #E2E8F0;
  --tx: #0A1628;                   /* texto principal */
  --tx2: #475569;                  /* texto secundario */
  --tx3: #94A3B8;                  /* texto muted */

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow: 0 4px 16px rgba(15,82,186,0.08);
  --shadow-lg: 0 20px 40px rgba(15,82,186,0.10);
  --shadow-cyan: 0 20px 40px rgba(0,212,231,0.15);
  --container: 1200px;
}

/* ─── Barra warning regulatorio ─── */
.reg-warn {
  background: #050B14;
  color: #94A3B8;
  font-size: 12px;
  padding: 6px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.reg-warn b { color: #E2E8F0; font-weight: 600; }

/* ─── Topbar Procoex-style (contacto + idioma + login + admin + rating) ─── */
.topbar {
  background: #0A1628;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-left a { color: #CBD5E1; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-left a:hover { color: #fff; }
.topbar-left .sep { color: #475569; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-right a { color: #CBD5E1; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-right a:hover { color: #fff; }
.topbar-icon { font-size: 15px; opacity: .9; }

/* Lang toggle pill amarillo estilo Procoex */
.lang-pill {
  display: inline-flex; background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; overflow: hidden;
  font-size: 11px; font-weight: 700;
}
.lang-pill a {
  padding: 4px 12px; color: #94A3B8; letter-spacing: 0.5px;
  transition: all .15s;
}
.lang-pill a.active {
  background: #FCD34D; color: #0A1628;
}
.lang-pill a:not(.active):hover { color: #fff; background: rgba(255,255,255,0.05); }

.topbar-rating {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: rgba(255,255,255,0.05);
  border-radius: 999px; font-size: 12px;
}
.topbar-rating .stars { color: #FCD34D; letter-spacing: -1px; }
.topbar-rating b { color: #fff; font-weight: 700; }
.topbar-rating small { color: #64748B; font-size: 10px; margin-left: 4px; }

@media (max-width: 720px) {
  .topbar-inner { padding: 8px 12px; gap: 12px; }
  .topbar-left, .topbar-right { gap: 12px; font-size: 12px; }
  .topbar-rating { display: none; }
  .topbar-hide-mobile { display: none; }
}

/* ─── Header ─── */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.hdr-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; padding: 14px 24px; gap: 40px;
}
.brand-logo { flex-shrink: 0; }
.brand-logo img { height: 40px; width: auto; }
.hdr-nav { display: flex; gap: 22px; flex: 1; margin-left: 20px; flex-wrap: nowrap; }
.hdr-nav a { color: var(--tx2); font-weight: 500; font-size: 14px; position: relative; white-space: nowrap; }
.hdr-nav a:hover { color: var(--pri); }
/* Estado "página actual" / sección visible — refuerza dónde estás */
.hdr-nav a.active { color: var(--pri); font-weight: 700; }
.hdr-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(135deg, #00D4E7, #0F52BA); border-radius: 2px;
  animation: navactive-in .3s ease-out;
}
@keyframes navactive-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hdr-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.hdr-actions .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .hdr-inner { padding: 10px 12px; gap: 10px; }
  .brand-logo img { height: 32px; width: auto; }
  .hdr-actions { gap: 6px; }
  .hdr-actions .btn { padding: 7px 12px; font-size: 12px; }
  .hdr-actions .lang-switch { font-size: 12px; padding: 4px 8px; }
}
.lang-switch {
  color: var(--tx2); font-size: 13px; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: transparent; transition: all .15s;
}
.lang-switch:hover { border-color: var(--pri); color: var(--pri); }

/* Botones — pill-shaped estilo fintech premium */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; cursor: pointer; border: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  font-family: inherit; text-align: center; text-decoration: none;
  letter-spacing: -0.1px;
}
.btn-pri {
  background: linear-gradient(135deg, #00D4E7 0%, #0F52BA 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,212,231,0.35);
}
.btn-pri:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,212,231,0.45);
  color: #fff; text-decoration: none;
}
.btn-sec {
  background: transparent; color: var(--tx);
  border: 1.5px solid var(--tx);
}
.btn-sec:hover {
  background: var(--tx); color: #fff; text-decoration: none;
}
.btn-lg { padding: 16px 32px; font-size: 15px; font-weight: 700; }
.btn-ghost { background: transparent; color: var(--tx2); border: none; padding: 10px 16px; }
.btn-ghost:hover { color: var(--tx); }

/* ─── Sección genérica ─── */
.section { padding: 80px 24px; position: relative; }
/* Secciones que van consecutivas: reducir padding para no dejar franjas vacías */
.section + .section { padding-top: 60px; }
.section-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.section-alt {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
}
.section-alt::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,212,231,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(15,82,186,0.04) 0%, transparent 40%);
  pointer-events: none;
}
/* Sección "Modo demo" — azul cielo suave premium (ya no amarillo) */
.section-highlight {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0F2FE 100%);
  position: relative; overflow: hidden;
}
.section-highlight::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 20% 20%, rgba(0,212,231,0.15), transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 80%, rgba(15,82,186,0.10), transparent 60%);
  pointer-events: none;
}
.section-highlight .tag-warn { color: var(--pri); }
.section-dark { background: var(--hero-bg); color: #fff; }

/* Separador SVG wave sutil entre secciones */
.section-divider {
  position: relative; height: 60px; margin-top: -60px; z-index: 2;
  pointer-events: none;
}
.section-divider svg { width: 100%; height: 100%; display: block; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-d); font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(0,212,231,0.08);
  border-radius: 999px;
  border: 1px solid rgba(0,212,231,0.20);
}
.tag-warn {
  color: var(--pri) !important;
  background: rgba(15,82,186,0.08);
  border-color: rgba(15,82,186,0.20);
}

h1, h2, h3 { margin: 0 0 20px; letter-spacing: -1.5px; font-weight: 800; color: var(--tx); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -2.5px; }
h2 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.05;
  letter-spacing: -2px; font-weight: 900;
}
/* Highlight de palabras dentro de H2 con gradient */
h2 .grad {
  background: linear-gradient(135deg, #0F52BA 0%, #00D4E7 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* grad-warn ahora unificado a azul→cyan (coherencia total con la paleta) */
h2 .grad-warn {
  background: linear-gradient(135deg, #0F52BA 0%, #00D4E7 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
p { margin: 0 0 16px; color: var(--tx2); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--tx2); line-height: 1.6; max-width: 780px; }
.muted { color: var(--tx3); font-size: 13px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ─── Hero fintech dark ─── */
.hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 30%, rgba(15,82,186,0.20), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 70%, rgba(0,212,231,0.15), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(135deg, #00D4E7 0%, #7BE1F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.35);
  color: #FCD34D;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  margin-bottom: 24px; text-transform: uppercase;
}
.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: #CBD5E1;
  margin: 24px 0 40px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-sec {
  color: #fff; border-color: rgba(255,255,255,0.3);
}
.hero .btn-sec:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.trust-badges { font-size: 13px; color: #94A3B8; line-height: 1.8; }
.trust-badges .check { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Hero preview — mock iPhone flotante */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.iphone-mock {
  width: 300px; max-width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
  animation: iphone-float 5s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.4,0,.2,1), filter .4s;
  transform-origin: center center;
}
.iphone-mock:hover {
  animation-play-state: paused;
  transform: rotate(-2deg) translateY(-10px);
  filter: drop-shadow(0 40px 80px rgba(0,212,231,0.35));
}
.iphone-mock svg { width: 100%; height: auto; display: block; }
/* Flotación sutil y contínua (rotación base -4deg como look "presentación") */
@keyframes iphone-float {
  0%   { transform: rotate(-4deg) translateY(0);      }
  50%  { transform: rotate(-3deg) translateY(-14px);  }
  100% { transform: rotate(-4deg) translateY(0);      }
}

/* Anillo decorativo tras el iPhone — position absolute para NO ocupar layout */
.hero-visual { position: relative; }
.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,231,0.20) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: hero-glow 5s ease-in-out infinite;
}
/* Glow pulsante sincronizado con la flotación del iPhone (misma cadencia) */
@keyframes hero-glow {
  0%,100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1);    }
  50%     { opacity: 1.00; transform: translate(-50%, -50%) scale(1.08); }
}
.hero-visual > * { position: relative; z-index: 1; }

/* Respetar preferencia del usuario de "reducir movimiento" — accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .iphone-mock, .hero-visual::before { animation: none; }
  .iphone-mock { transform: rotate(-4deg); }
}

/* ─── Grid problema (5 cards con estilo "problema tachado") ─── */
.grid-5 {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  margin: 56px 0;
}
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .25s;
  position: relative;
}
/* Accent bar arriba en tono azul→cyan (coherencia total, cero rojos/naranjas) */
.card::before {
  content: ''; position: absolute; top: 0; left: 20px; right: 20px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pri), var(--accent));
  opacity: 0.5; transition: opacity .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,82,186,0.12);
  border-color: rgba(15,82,186,0.30);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 16px; margin-bottom: 10px; color: var(--tx); font-weight: 700; }
/* Cons en azul-gris oscuro (mantiene lectura "problema" con tono azul) */
.card .cons { font-size: 12px; color: #1E40AF; margin-top: 12px; line-height: 1.7; opacity: 0.85; font-weight: 500; }

/* Banner conclusion de la sección "problema" — cierre visual con impacto */
.problem-conclusion {
  margin-top: 48px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(15,82,186,0.08) 0%, rgba(0,212,231,0.10) 100%);
  border: 1px solid rgba(15,82,186,0.20);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 4px 16px rgba(15,82,186,0.06);
}
.problem-conclusion .pc-arrow {
  font-size: 40px; font-weight: 300;
  background: linear-gradient(135deg, var(--pri), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1; flex-shrink: 0;
}
.problem-conclusion b {
  display: block;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--tx); font-weight: 700;
  line-height: 1.35; letter-spacing: -0.3px;
}
.problem-conclusion .pc-sub {
  display: block; margin-top: 4px;
  color: var(--tx2); font-size: 14px;
  font-style: italic; font-weight: 500;
}
@media (max-width: 600px) {
  .problem-conclusion { flex-direction: column; text-align: center; gap: 12px; }
  .problem-conclusion .pc-arrow { font-size: 32px; }
}

/* ─── Grid funcionalidades (4×2) — cards premium con accent + micro details ─── */
.grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px;
}
.feat {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
/* Accent bar cyan arriba */
.feat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--pri) 80%, transparent);
  opacity: 0; transition: opacity .3s;
}
/* Circle decorativo en la esquina */
.feat::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,231,0.06) 0%, transparent 70%);
  transition: transform .5s;
}
.feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,212,231,0.12);
  border-color: var(--accent);
}
.feat:hover::before { opacity: 1; }
.feat:hover::after { transform: scale(1.4); }
.feat .icon {
  font-size: 32px; margin-bottom: 20px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,212,231,0.15), rgba(15,82,186,0.10));
  border: 1px solid rgba(0,212,231,0.20);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.feat:hover .icon { transform: scale(1.1) rotate(-5deg); }
.feat h3 { font-size: 17px; margin-bottom: 12px; font-weight: 800; }
.feat p { font-size: 13.5px; color: var(--tx2); margin: 0; line-height: 1.65; }

/* ─── Demo flujo (3 pasos) — con números grandes tipo fintech ─── */
.demo-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 56px;
}
.demo-step {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--radius-lg); padding: 32px 28px; position: relative;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 32px rgba(15,82,186,0.08);
}
.demo-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15,82,186,0.15);
  background: #fff;
}
/* Número gigante decorativo tipo fintech (Stripe/Linear style) */
.demo-step-num {
  position: absolute; top: 16px; right: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 900; font-size: 76px; line-height: 1;
  background: linear-gradient(135deg, rgba(0,212,231,0.20) 0%, rgba(15,82,186,0.10) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -4px;
  pointer-events: none;
}
.demo-step h3 {
  font-size: 20px; margin-bottom: 10px; padding-right: 60px;
  font-weight: 800;
}
.demo-step > p:not(.demo-note) { font-size: 13px; color: var(--tx2); margin-bottom: 18px; }
.demo-mock {
  background: rgba(15,82,186,0.04);
  border: 1px solid rgba(15,82,186,0.10);
  border-radius: 12px; padding: 18px; font-size: 12.5px; color: var(--tx2);
  min-height: 150px; line-height: 1.75;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 11.5px;
}
.demo-mock strong { color: var(--tx); font-weight: 700; }
.demo-note {
  background: linear-gradient(135deg, rgba(0,212,231,0.10), rgba(15,82,186,0.05));
  border: 1px solid rgba(0,212,231,0.25);
  padding: 12px 14px; border-radius: 10px; font-size: 12px; color: var(--tx);
  margin-top: 16px; line-height: 1.55; font-weight: 500;
}
.demo-note strong { color: var(--pri); }
.demo-footer {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.50);
  border-radius: var(--radius-lg); padding: 28px; margin-top: 44px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(15,82,186,0.10);
}
.demo-footer .icon { font-size: 36px; }
.demo-footer h4 { margin: 0 0 4px; font-size: 16px; color: var(--tx); font-weight: 800; }
.demo-footer p { margin: 0; font-size: 13px; color: var(--tx2); }

/* ─── Tabla comparativa ─── */
.compare-wrap { overflow-x: auto; margin-top: 40px; }
.compare {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  min-width: 900px;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td {
  padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare thead th { background: var(--bg-soft); font-weight: 700; font-size: 13px; color: var(--tx); }
.compare .col-brand {
  color: var(--pri); font-weight: 800; text-align: center;
  background: linear-gradient(180deg, rgba(0,212,231,0.06), transparent);
}
.compare td:not(:first-child) { text-align: center; }
.compare tbody tr:hover { background: var(--bg-alt); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--ok); font-weight: 800; font-size: 16px; }
.compare .no { color: var(--err); font-weight: 700; }
.compare .partial { color: var(--warn); font-weight: 600; font-size: 12px; }

/* ─── Perfiles ─── */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.profile {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all .25s;
}
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,82,186,0.2); }
.profile .icon {
  font-size: 36px; margin-bottom: 16px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,212,231,0.10), rgba(15,82,186,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.profile h3 { font-size: 19px; margin-bottom: 12px; }
.profile blockquote {
  margin: 14px 0; padding: 14px 16px; color: var(--tx2); font-style: italic;
  font-size: 14px; line-height: 1.55;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt); border-radius: 0 8px 8px 0;
}
.profile .benefit { color: var(--ok); font-weight: 700; font-size: 13.5px; margin-top: 14px; }

/* ─── FAQ — con accent bar cyan lateral y toque visual ─── */
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  padding-left: 4px;   /* espacio para el accent bar */
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--pri) 100%);
  background-repeat: no-repeat;
  background-size: 4px 100%;
  background-position: left top;
}
.faq-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,212,231,0.10);
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,212,231,0.12);
}
.faq-item summary {
  padding: 20px 60px 20px 22px; font-weight: 700; font-size: 15px;
  cursor: pointer; list-style: none; position: relative;
  color: var(--tx);
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Icono ? con gradient — más pro que el + plano */
.faq-item summary::before {
  content: '?'; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,231,0.15), rgba(15,82,186,0.08));
  border: 1px solid rgba(0,212,231,0.30);
  color: var(--accent-d); font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
  transition: all .25s;
}
.faq-item:hover summary::before,
.faq-item[open] summary::before {
  background: linear-gradient(135deg, var(--accent), var(--pri));
  border-color: transparent; color: #fff;
  transform: scale(1.05);
}
/* + a la derecha que rota a × */
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px; color: var(--accent-d); transition: transform .25s, color .25s;
  font-weight: 300; line-height: 1;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--pri);
}
.faq-item .faq-body {
  padding: 0 22px 22px 60px; color: var(--tx2); font-size: 14px; line-height: 1.7;
}
.faq-item .faq-body a { color: var(--accent-d); font-weight: 600; }
.faq-item .faq-body b, .faq-item .faq-body strong { color: var(--tx); }

/* ─── CTA final ─── */
.cta-final {
  background: var(--hero-bg);
  color: #fff; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 300px at 50% 100%, rgba(0,212,231,0.20), transparent 60%);
}
.cta-final-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #CBD5E1; }

/* ─── Footer ─── */
.footer {
  background: #050B14; color: #94a3b8; padding: 48px 24px 24px;
  font-size: 13px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-row {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 24px; align-items: center;
}
.footer .brand-logo img { height: 36px; }
.footer a { color: #94a3b8; margin-right: 20px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid #1a2332; font-size: 11.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #64748b;
}
.footer-bottom a { color: #64748b; margin-right: 8px; }

/* ─── Modal solicitud demo (2 columnas · sin scroll · profesional) ─── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10,22,40,0.65);
  display: none; z-index: 1000;
  align-items: center; justify-content: center; padding: 16px;
  backdrop-filter: blur(6px);
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  padding: 36px; box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: modal-in .3s cubic-bezier(.4,0,.2,1);
}
/* Variante 2 columnas — hero dark izquierda + form derecha */
.modal-2col {
  display: grid; grid-template-columns: 300px 1fr;
  max-width: 860px; padding: 0; overflow: hidden;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Panel izquierdo · dark hero con logo + promesa ─── */
.modal-hero {
  background: linear-gradient(160deg, #0A1628 0%, #0B2547 50%, #0D3F6B 100%);
  color: #E2E8F0; padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; min-height: 100%;
}
.modal-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,212,231,0.20), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(15,82,186,0.18), transparent 55%);
}
.modal-hero > * { position: relative; z-index: 1; }
.modal-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-logo { height: 34px; width: auto; filter: drop-shadow(0 0 12px rgba(0,212,231,0.25)); }
.modal-badge {
  background: linear-gradient(135deg, var(--accent), var(--pri));
  color: #fff; font-size: 9px; font-weight: 800;
  letter-spacing: 1.2px; padding: 5px 10px; border-radius: 999px;
  white-space: nowrap;
}
.modal-hero-body h3 {
  margin: 20px 0 10px; font-size: 24px; font-weight: 800;
  color: #fff; letter-spacing: -0.4px; line-height: 1.15;
}
.modal-hero-body h3 .grad {
  background: linear-gradient(135deg, var(--accent), #7BD9F7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal-hero-body p {
  margin: 0 0 16px; color: #CBD5E1; font-size: 13px; line-height: 1.55;
}
.modal-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.modal-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #E2E8F0; font-weight: 500;
}
.modal-perks li span {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,212,231,0.15); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px; flex-shrink: 0;
}
.modal-hero-foot {
  font-size: 11px; color: #94A3B8; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.modal-hero-foot .stars { color: #FFB800; letter-spacing: 1px; }
.modal-hero-foot b { color: #E2E8F0; font-weight: 700; }

/* ─── Panel derecho · formulario compacto ─── */
.modal-form { padding: 32px 32px 26px; display: flex; flex-direction: column; }
.modal-form-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px; gap: 12px;
}
.modal-form-head h4 { margin: 0; font-size: 17px; font-weight: 800; color: var(--tx); letter-spacing: -0.2px; }
.secure-note { font-size: 11px; color: var(--tx3); font-weight: 500; white-space: nowrap; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.modal-box .field { margin: 0; }
.modal-box label {
  display: block; font-weight: 700; font-size: 11px;
  color: var(--tx); margin-bottom: 5px; letter-spacing: 0.3px;
}
.modal-box label .opt { color: var(--tx3); font-weight: 500; font-size: 10px; }
.modal-box input, .modal-box select {
  width: 100%; padding: 10px 12px; font-size: 13px;
  border: 1.5px solid var(--border); border-radius: 9px;
  font-family: inherit; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.modal-box input:focus, .modal-box select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,231,0.15);
}

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.modal-actions .btn { padding: 11px 18px; font-size: 13px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.90); border: none; font-size: 16px;
  color: var(--tx); cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, background .15s;
  z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.modal-close:hover { background: #fff; transform: scale(1.06); }

.modal-msg { margin-top: 12px; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; display: none; line-height: 1.4; }
.modal-msg.err { background: #FEF2F2; color: #991B1B; display: block; border: 1px solid #FECACA; }
.modal-msg.ok { background: #ECFDF5; color: #065F46; display: block; border: 1px solid #A7F3D0; }
.modal-legal { font-size: 10.5px; color: var(--tx3); margin: 12px 0 0; line-height: 1.5; }
.modal-legal a { color: var(--pri); text-decoration: none; font-weight: 600; }
.modal-legal a:hover { text-decoration: underline; }

/* ─── Responsive · debajo de 720px se apila (hero encima, form abajo) ─── */
@media (max-width: 720px) {
  .modal-2col { grid-template-columns: 1fr; max-width: 460px; }
  .modal-hero { padding: 20px 22px; min-height: auto; }
  .modal-hero-body h3 { margin-top: 14px; font-size: 20px; }
  .modal-hero-body p { margin-bottom: 12px; font-size: 12.5px; }
  .modal-perks { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
  .modal-perks li { font-size: 12px; }
  .modal-hero-foot { padding-top: 12px; margin-top: 12px; }
  .modal-form { padding: 22px 22px 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-height: 640px) {
  /* Pantallas cortas: aún más compacto */
  .modal-hero { padding: 20px 24px; }
  .modal-hero-body h3 { margin-top: 12px; font-size: 20px; }
  .modal-hero-body p { margin-bottom: 12px; font-size: 12.5px; }
  .modal-perks { gap: 5px; }
  .modal-form { padding: 22px 26px; }
  .modal-form-head { margin-bottom: 12px; }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual::before { width: 300px; height: 300px; }
  .iphone-mock { width: 240px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .demo-steps { grid-template-columns: 1fr; }
  .hdr-nav { display: none; }
  .cta-final-inner { grid-template-columns: 1fr; text-align: center; }
  .section { padding: 80px 20px; }
  .hero { padding: 60px 20px 80px; }
}
@media (max-width: 500px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  h1 { letter-spacing: -1.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .reg-warn { font-size: 11px; padding: 6px 12px; }
}

/* Nota: fade-in on scroll retirado — rompía UX/SEO si el observer no disparaba
   (elementos ya en viewport al cargar quedaban ocultos). El sitio queda vivo
   con las microinteracciones hover en cards + gradients + iPhone rotado. */
