/* ==========================================================
   zervio5.com — Sitio institucional
   Identidad: azul (confianza/tecnología) + coral (acción/energía)
   Distinta a la de los clientes (que tienen su propio tema.css)
   y distinta al panel admin (índigo/Inter).
   ========================================================== */

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

:root {
    --azul: #1d4ed8;
    --azul-oscuro: #16308f;
    --azul-soft: #eaf0ff;
    --coral: #ff6b4a;
    --coral-hover: #ff5530;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --text: #0f172a;
    --text-2: #5b6472;
    --text-3: #94a0b0;
    --border: #e6eaf2;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
    --shadow-md: 0 10px 30px rgba(15,23,42,.08);
    --shadow-lg: 0 20px 50px rgba(29,78,216,.15);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.contenedor { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--azul); background: var(--azul-soft);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.titulo-seccion { font-size: 34px; margin-bottom: 12px; }
.subtitulo-seccion { font-size: 16px; color: var(--text-2); max-width: 560px; margin: 0 0 44px; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Botones ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
    cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,74,.35); }
.btn-coral:hover { background: var(--coral-hover); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--azul); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--azul); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---- Header ---- */
header.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header__fila { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.site-header__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; }
.site-header__logo .icono {
    width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--azul), var(--coral));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px;
}
.site-header__nav { display: none; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.site-header__nav a:hover { color: var(--azul); }
.site-header__acciones { display: flex; align-items: center; gap: 14px; }
.site-header__panel-link { font-size: 13px; color: var(--text-3); font-weight: 600; display: none; }
.btn-menu-movil { display: flex; background: none; border: none; cursor: pointer; padding: 4px; }
.btn-menu-movil svg { width: 24px; height: 24px; }

.menu-movil {
    display: none; flex-direction: column; gap: 4px; padding: 12px 0 20px; border-top: 1px solid var(--border);
}
.menu-movil.abierto { display: flex; }
.menu-movil a { padding: 10px 4px; font-weight: 600; color: var(--text); }

/* ---- Hero ---- */
.hero { padding: 64px 0 40px; text-align: center; position: relative; }
.hero::before {
    content: ""; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(29,78,216,.10), transparent 65%);
    z-index: -1;
}
.hero h1 { font-size: 46px; line-height: 1.12; max-width: 760px; margin: 0 auto 20px; }
.hero h1 span { color: var(--azul); }
.hero p.desc { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.hero__acciones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }

.hero__mockup {
    max-width: 920px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero__mockup .barra {
    background: #f1f3f8; padding: 10px 16px; display: flex; gap: 6px; align-items: center;
}
.hero__mockup .barra span { width: 10px; height: 10px; border-radius: 50%; background: #d7dce6; }
.hero__mockup iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---- Cómo funciona ---- */
.pasos { display: grid; grid-template-columns: 1fr; gap: 20px; }
.paso {
    background: var(--bg-soft); border-radius: var(--radius-md); padding: 26px; position: relative;
    border: 1px solid var(--border);
}
.paso__numero {
    width: 38px; height: 38px; border-radius: 11px; background: var(--azul); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.paso h3 { font-size: 17px; margin-bottom: 8px; }
.paso p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ---- Ventajas ---- */
.ventajas-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ventaja {
    display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border);
    transition: box-shadow .2s ease, transform .2s ease;
}
.ventaja:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ventaja__icono {
    width: 42px; height: 42px; border-radius: 12px; background: var(--azul-soft); color: var(--azul);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ventaja__icono svg { width: 21px; height: 21px; }
.ventaja h3 { font-size: 15px; margin-bottom: 5px; }
.ventaja p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.5; }

/* ---- Planes ---- */
.planes-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.plan {
    border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px 26px;
    display: flex; flex-direction: column; position: relative; background: #fff;
}
.plan.destacado { border-color: var(--azul); box-shadow: var(--shadow-lg); }
.plan__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--azul); color: #fff; font-size: 11.5px; font-weight: 700;
    padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 19px; margin-bottom: 6px; }
.plan .precio { font-size: 36px; font-weight: 800; margin: 12px 0 4px; }
.plan .precio span { font-size: 14px; font-weight: 600; color: var(--text-3); }
.plan .plan-desc { font-size: 13px; color: var(--text-2); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text); align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--azul); flex-shrink: 0; margin-top: 1px; }
.plan .btn { width: 100%; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__pregunta {
    width: 100%; background: none; border: none; text-align: left; padding: 20px 4px;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-size: 15.5px; font-weight: 700; color: var(--text); font-family: inherit;
}
.faq-item__pregunta svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; color: var(--text-3); }
.faq-item.abierto .faq-item__pregunta svg { transform: rotate(45deg); color: var(--azul); }
.faq-item__respuesta {
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    font-size: 14px; color: var(--text-2); line-height: 1.6;
}
.faq-item__respuesta div { padding: 0 4px 20px; }
.faq-item.abierto .faq-item__respuesta { max-height: 240px; }

/* ---- CTA final ---- */
.cta-final {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
    border-radius: var(--radius-lg); padding: 56px 32px; text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.cta-final::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 300px at 80% 0%, rgba(255,107,74,.25), transparent 60%);
}
.cta-final h2 { font-size: 30px; margin-bottom: 12px; position: relative; }
.cta-final p { font-size: 15px; opacity: .85; max-width: 460px; margin: 0 auto 28px; position: relative; }
.cta-final .btn { position: relative; }

/* ---- Footer ---- */
footer.site-footer { border-top: 1px solid var(--border); padding: 44px 0 26px; }
.site-footer__fila { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.site-footer__marca { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.site-footer__links a:hover { color: var(--azul); }
.site-footer__copy { font-size: 12px; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 20px; }

/* ---- Desktop ---- */
@media (min-width: 860px) {
    section { padding: 100px 0; }
    .site-header__nav { display: flex; }
    .site-header__panel-link { display: block; }
    .btn-menu-movil { display: none; }
    .hero h1 { font-size: 58px; }
    .pasos { grid-template-columns: repeat(3, 1fr); }
    .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
    .planes-grid { grid-template-columns: repeat(3, 1fr); }
    .plan.destacado { transform: scale(1.04); }
    .site-footer__fila { flex-direction: row; justify-content: space-between; align-items: center; }
}
