/* ===========================================================
   YOiD — Sistema de diseño común para todas las páginas
   Cambia aquí colores/fuentes y se actualiza toda la web.
   =========================================================== */

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

:root {
  --blue:      #3366ff;
  --blue-dark: #2348d3;
  --blue-soft: rgba(51,102,255,0.10);
  --blue-mid:  rgba(51,102,255,0.15);
  --ink:       #0f172a;
  --ink-2:     #1e293b;
  --gray-1:    #f8fafc;
  --gray-2:    #f1f5f9;
  --gray-3:    #e2e8f0;
  --gray-4:    #94a3b8;
  --text:      #0f172a;
  --text-2:    #475569;
  --white:     #ffffff;
  --green:     #16a34a;
  --amber:     #d97706;
  --red:       #dc2626;
  --border:    #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 64px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 30px; width: auto; display: block; }
.logo-div { width: 1px; height: 20px; background: var(--border); }
.logo-sub { font-size: 13px; font-weight: 500; color: var(--gray-4); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color .15s; }
.nav-link:hover { color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; transition: all .15s; display: inline-block; white-space: nowrap; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── HERO (una columna, ancho completo) ── */
.hero { background: var(--ink); padding: 88px max(64px, calc((100% - 1440px) / 2)) 92px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 15% 40%, rgba(51,102,255,0.18) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 95% 10%, rgba(51,102,255,0.10) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--blue); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 16px; height: 2px; background: var(--blue); border-radius: 2px; }
h1 { font-family: 'Sora', sans-serif; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.07; letter-spacing: -1.4px; color: var(--white); margin-bottom: 22px; max-width: 16ch; }
h1 strong { color: var(--blue); font-weight: 800; }
.hero-sub { font-size: 17px; line-height: 1.7; color: #94a3b8; max-width: 640px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-main { background: var(--blue); color: var(--white); font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; white-space: nowrap; }
.btn-main:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(51,102,255,0.4); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500; padding: 14px 24px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); cursor: pointer; text-decoration: none; transition: all .15s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: white; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.hbadge { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #94a3b8; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 12px; }
.hbadge span { color: #60a5fa; font-weight: 600; }

/* ── SECTIONS (cabecera centrada) ── */
section { padding: 84px 64px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.stag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.stag::before { content: ''; width: 16px; height: 2px; background: var(--blue); border-radius: 2px; }
h2 { font-family: 'Sora', sans-serif; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.12; color: var(--ink); margin-bottom: 14px; }
.ssub { font-size: 16px; line-height: 1.7; color: var(--text-2); }

/* ── GRID 3 / CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .2s; }
.card:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(51,102,255,0.09); transform: translateY(-3px); }
.cicon { width: 48px; height: 48px; background: var(--blue-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cicon svg { width: 23px; height: 23px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.3px; }
.card .sello { font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.card .card-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

/* sección alterna gris */
.alt { background: var(--gray-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── TRES MOMENTOS / columnas ── */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 52px; }
.col .micon { width: 52px; height: 52px; background: var(--blue-soft); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.col .micon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.col h3 { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.3px; }
.col p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }

/* nota de producto secundario */
.minor-note { margin-top: 32px; font-size: 14.5px; color: var(--text-2); text-align: center; }
.minor-note strong { color: var(--ink); }

/* ── BANDA CONFIANZA (4 datos, centrada) ── */
.trust { background: var(--gray-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.trust-item { text-align: center; }
.trust-item .t-key { font-family: 'Sora', sans-serif; font-size: clamp(30px, 3.2vw, 38px); font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -1px; line-height: 1; }
.trust-item .t-val { font-size: 13.5px; color: var(--text-2); line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* ── CTA FINAL (azul) ── */
.cta-final { background: var(--blue); text-align: center; padding: 88px 64px; }
.cta-final .stag { color: rgba(255,255,255,0.7); }
.cta-final .stag::before { background: rgba(255,255,255,0.5); }
.cta-final h2 { font-size: clamp(30px, 3.6vw, 44px); color: white; margin: 0 auto 16px; max-width: 680px; }
.cta-final .ssub { color: rgba(255,255,255,0.85); margin: 0 auto 36px; max-width: 560px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--blue); font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 10px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.btn-white:hover { background: #eff6ff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-white-outline { background: transparent; color: white; font-size: 15px; font-weight: 500; padding: 14px 24px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.4); text-decoration: none; transition: all .15s; }
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.10); }

/* ── FOOTER ── */
footer { background: var(--ink); color: #94a3b8; padding: 60px 64px 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .flogo { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #cbd5e1; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: #94a3b8; text-decoration: none; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: #64748b; flex-wrap: wrap; gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .hero { padding: 60px 20px 64px; }
  section { padding: 56px 20px; }
  .grid-3, .cols-3, .trust-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 32px; }
  .cta-final { padding: 60px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
