:root {
    --bg: #f7fbff;
    --surface: #ffffff;
    --surface-2: #edf8fb;
    --text: #0D1B4A;
    --muted: #5d748f;
    --primary: #2A6FD8;
    --primary-dark: #0D3E77;
    --accent: #00B8B6;
    --accent-soft: #9EE8E4;
    --aurora-violet: #8B5CF6;
    --gold: #FDBA2D;
    --line: rgba(13, 27, 74, .12);
    --shadow: 0 24px 70px rgba(13, 27, 74, .14);
    --radius: 28px;
    --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section { padding: 96px 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 249, 255, .84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a { color: var(--muted); font-weight: 650; padding: 10px 14px; border-radius: 999px; transition: .2s ease; }
.nav-menu a:hover { color: var(--text); background: rgba(49, 87, 255, .08); }
.nav-menu .nav-cta { background: var(--text); color: #fff; padding-inline: 18px; }
.nav-menu .nav-cta:hover { background: var(--primary); color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 4px; }

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 56px;
    padding-bottom: 40px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -120px -20% auto auto;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(103, 232, 201, .44), transparent 62%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--primary); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 6px rgba(103, 232, 201, .24); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.25rem, 4.9vw, 4.35rem); line-height: 1; letter-spacing: -.06em; margin-bottom: 18px; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 1.16rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.hero-copy p, .section-head p, .section-copy p, .solution-card p, .benefits-copy p, .contact-copy p { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 28px rgba(49, 87, 255, .26); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-light { background: #fff; color: var(--primary-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.72); font-weight: 700; font-size: .9rem; }

.hero-panel { position: relative; }
.mock-browser { min-height: 430px; background: linear-gradient(145deg, #fff, #eef3ff); border: 1px solid rgba(49,87,255,.16); border-radius: 34px; box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: 128px 1fr; grid-template-rows: 30px 1fr; gap: 14px; overflow: hidden; }
.browser-dots { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.browser-dots span { width: 11px; height: 11px; border-radius: 999px; background: rgba(16,21,47,.16); }
.mock-sidebar { border-radius: 22px; background: #10152f; color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mock-sidebar small { color: rgba(255,255,255,.64); margin-bottom: 22px; }
.mock-sidebar i { display: block; height: 13px; border-radius: 999px; background: rgba(255,255,255,.16); }
.mock-sidebar i:nth-child(4) { width: 78%; }
.mock-sidebar i:nth-child(5) { width: 66%; }
.mock-sidebar i:nth-child(6) { width: 86%; }
.mock-main { border-radius: 24px; background: rgba(255,255,255,.82); padding: 22px; }
.mock-topline { width: 62%; height: 24px; border-radius: 999px; background: rgba(49,87,255,.14); margin-bottom: 20px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.metric-row div { background: var(--surface-2); border-radius: 18px; padding: 16px; }
.metric-row strong { display: block; font-size: 1.7rem; line-height: 1; color: var(--primary); }
.metric-row span { font-size: .78rem; color: var(--muted); font-weight: 700; }
.mock-card.large { height: 132px; border-radius: 22px; background: linear-gradient(135deg, rgba(49,87,255,.2), rgba(103,232,201,.32)); margin-bottom: 12px; }
.mock-list { display: grid; gap: 10px; }
.mock-list span { display: block; height: 18px; border-radius: 999px; background: rgba(16,21,47,.1); }
.mock-list span:nth-child(2) { width: 88%; }
.mock-list span:nth-child(3) { width: 72%; }

.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain-grid article, .feature-card, .audience-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 32px rgba(26, 44, 94, .06); }
.pain-grid strong { display: block; font-size: 1.08rem; margin-bottom: 8px; }
.pain-grid span, .feature-card p, .audience-card p, .benefit-list span { color: var(--muted); }

.solution-card { background: #10152f; color: #fff; border-radius: 36px; padding: 42px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; box-shadow: var(--shadow); }
.solution-card p { color: rgba(255,255,255,.72); }
.solution-card .eyebrow { color: var(--accent); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 230px; }
.feature-card span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: var(--surface-2); color: var(--primary); font-weight: 900; margin-bottom: 28px; }
.feature-card:hover, .audience-card:hover { border-color: rgba(49,87,255,.35); transform: translateY(-3px); transition: .2s ease; }

.audience { background: linear-gradient(180deg, transparent, #eef3ff); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.benefits-wrap { background: linear-gradient(135deg, #3157ff, #1730a8); color: #fff; border-radius: 40px; padding: 48px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; box-shadow: var(--shadow); }
.benefits-copy p { color: rgba(255,255,255,.75); }
.benefits-wrap .eyebrow { color: var(--accent); }
.benefit-list { display: grid; gap: 14px; }
.benefit-list div { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 18px 20px; }
.benefit-list strong { display: block; margin-bottom: 4px; }
.benefit-list span { color: rgba(255,255,255,.72); }

.modules-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.modules-grid span { padding: 13px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 800; box-shadow: 0 8px 24px rgba(26,44,94,.06); }


.pricing {
    background:
        radial-gradient(circle at 12% 20%, rgba(158, 232, 228, .22), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(139, 92, 246, .10), transparent 30%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(13, 27, 74, .10);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-card.is-featured {
    border-color: rgba(42, 111, 216, .34);
    box-shadow: var(--shadow);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(0, 184, 182, .55), rgba(42, 111, 216, .50), rgba(139, 92, 246, .42)) border-box;
}

.plan-label {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 184, 182, .12);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0;
}

.price {
    margin: 0;
    color: var(--text);
}

.price strong {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    letter-spacing: -.05em;
}

.price span {
    color: var(--muted);
    font-weight: 800;
    margin-left: 6px;
}

.price-card p:not(.price) {
    color: var(--muted);
    margin-bottom: 0;
}

.price-card ul {
    margin: 4px 0 6px;
    padding-left: 20px;
    color: var(--muted);
}

.price-card li {
    margin: 7px 0;
}

.price-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.pricing-note {
    max-width: 820px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--muted);
    font-weight: 650;
}


.demo-strip { padding-top: 30px; }
.demo-card { background: #10152f; color: #fff; border-radius: 34px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow); }
.demo-card p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.demo-card .eyebrow { color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-options { display: grid; gap: 10px; margin-top: 26px; }
.contact-options a { color: var(--primary); font-weight: 850; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; font: inherit; color: var(--text); background: #fbfcff; outline: none; transition: .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(49,87,255,.55); box-shadow: 0 0 0 4px rgba(49,87,255,.09); }
.contact-form small { color: var(--muted); }
.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

.site-footer { background: #10152f; color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 32px; }
.footer-grid p { color: rgba(255,255,255,.66); max-width: 360px; margin-top: 14px; }
.footer-grid div { display: grid; align-content: start; gap: 9px; }
.footer-grid strong { color: #fff; margin-bottom: 6px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.52); font-size: .92rem; }

.message-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.message-box { width: min(100%, 560px); background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: 42px; box-shadow: var(--shadow); text-align: center; }
.message-box img { margin: 0 auto 26px; }
.message-box h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.message-box p { color: var(--muted); margin-bottom: 28px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
    .hero-grid, .two-col, .solution-card, .benefits-wrap, .contact-grid { grid-template-columns: 1fr; }
    .features-grid, .audience-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 24px; }
    .hero-panel { order: 0; }
    .demo-card { flex-direction: column; align-items: flex-start; }
    .demo-card .btn { min-width: 190px; padding-inline: 24px; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding: 68px 0; }
    .nav-toggle { display: inline-block; }
    .nav-menu { position: fixed; left: 14px; right: 14px; top: 82px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; }
    .nav-menu.is-open { display: flex; }
    .nav-menu a { text-align: center; }
    .hero { padding-top: 28px; padding-bottom: 28px; }
    .hero-grid { display: block; }
    .hero-panel { display: none !important; }
    .hero-copy { max-width: 100%; }
    .eyebrow { font-size: .72rem; line-height: 1.45; margin-bottom: 18px; align-items: flex-start; }
    .eyebrow::before { flex: 0 0 auto; margin-top: .22em; }
    h1 { font-size: clamp(2.45rem, 11.5vw, 3.15rem); line-height: .98; letter-spacing: -.065em; margin-bottom: 24px; }
    .hero-copy p { font-size: 1.08rem; line-height: 1.78; margin-bottom: 0; }
    .hero-actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px; margin-top: 32px; }
    .hero-actions .btn { flex: 1 1 0; width: auto; min-height: 56px; padding: 0 14px; font-size: .96rem; white-space: nowrap; }
    .trust-row { gap: 10px; margin-top: 30px; }
    .trust-row span { font-size: .9rem; padding: 8px 12px; }
    .pain-grid, .features-grid, .audience-grid, .pricing-grid { grid-template-columns: 1fr; }
    .solution-card, .benefits-wrap, .demo-card { padding: 28px; border-radius: 28px; }
    .demo-card { align-items: flex-start; flex-direction: column; }
    .demo-card .btn { width: 100%; min-width: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}


/* Ajuste Aulora 2026-05: hero mobile primero texto, sin mockup/contadores */
@media (max-width: 760px) {
    .hero-grid { display: block !important; }
    .hero-panel { display: none !important; }
}

/* Aulora LMS - ajuste definitivo de menu tablet.
   Fuerza hamburguesa en tablet y moviles para evitar que el CTA quede comprimido. */

@media (max-width: 1024px) {
    .nav {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-block !important;
    }

    .nav-menu {
        position: fixed !important;
        left: 14px !important;
        right: 14px !important;
        top: 82px !important;
        background: #fff !important;
        border: 1px solid var(--line) !important;
        border-radius: 24px !important;
        padding: 14px !important;
        box-shadow: var(--shadow) !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        z-index: 50 !important;
    }

    .nav-menu.is-open {
        display: flex !important;
    }

    .nav-menu a {
        text-align: center !important;
        width: 100% !important;
        padding: 12px 16px !important;
    }

    .nav-menu .nav-cta {
        min-height: 46px !important;
        border-radius: 999px !important;
        margin-top: 4px !important;
        padding-inline: 18px !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 1025px) {
    .nav-toggle {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }
}

/* Aulora definitive logo sizing */
.brand img {
    width: 210px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .brand img {
        width: 190px;
        max-height: 60px;
    }
}

/* Aulora LMS - paleta definitiva inspirada en el logo final */
body {
    background:
        radial-gradient(circle at 12% 10%, rgba(158, 232, 228, .24), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(139, 92, 246, .10), transparent 34%),
        var(--bg);
}

.site-header {
    background: rgba(247, 251, 255, .90);
}

.nav-menu .nav-cta,
.demo-card,
.site-footer,
.solution-card {
    background: var(--text);
}

.nav-menu .nav-cta:hover {
    background: var(--primary-dark);
}

.hero {
    background:
        linear-gradient(135deg, rgba(158, 232, 228, .28), rgba(42, 111, 216, .09) 52%, rgba(139, 92, 246, .08));
}

.hero::before {
    background:
        radial-gradient(circle, rgba(0, 184, 182, .25), transparent 58%),
        radial-gradient(circle at 38% 44%, rgba(139, 92, 246, .12), transparent 58%);
}

.eyebrow {
    color: var(--primary-dark);
}

.eyebrow::before {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(0, 184, 182, .18);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #465CE3);
    box-shadow: 0 14px 30px rgba(42, 111, 216, .24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, .88);
    border-color: rgba(13, 27, 74, .12);
}

.trust-row span,
.modules-grid span {
    border-color: rgba(13, 27, 74, .10);
    background: rgba(255,255,255,.78);
}

.mock-browser {
    background: linear-gradient(145deg, #ffffff, #eefafa);
    border-color: rgba(0, 184, 182, .18);
}

.mock-topline {
    background: linear-gradient(90deg, rgba(0, 184, 182, .20), rgba(139, 92, 246, .14));
}

.metric-row div {
    background: linear-gradient(135deg, rgba(42, 111, 216, .08), rgba(158, 232, 228, .22));
}

.metric-row strong,
.feature-card span {
    color: var(--primary);
}

.mock-card.large {
    background: linear-gradient(135deg, rgba(0, 184, 182, .30), rgba(42, 111, 216, .20), rgba(139, 92, 246, .20));
}

.feature-card span {
    background: linear-gradient(135deg, rgba(158, 232, 228, .42), rgba(42, 111, 216, .10));
}

.feature-card:hover,
.audience-card:hover {
    border-color: rgba(0, 184, 182, .42);
}

.audience {
    background: linear-gradient(180deg, transparent, rgba(158, 232, 228, .18));
}

.benefits-wrap {
    background: linear-gradient(135deg, #0D1B4A, #0D3E77 42%, #2A6FD8 74%, #8B5CF6);
}

.demo-card .eyebrow,
.solution-card .eyebrow,
.benefits-wrap .eyebrow {
    color: var(--gold);
}

.demo-card .eyebrow::before,
.solution-card .eyebrow::before,
.benefits-wrap .eyebrow::before {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(253, 186, 45, .18);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(0, 184, 182, .55);
    box-shadow: 0 0 0 4px rgba(0, 184, 182, .10);
}

.footer-grid a:hover {
    color: var(--accent-soft);
}


/* footer dark logo sizing */
.site-footer img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

/* Paginas de confirmacion integradas con la navegacion real */
body > .message-page {
    min-height: calc(100vh - 76px);
    padding: 72px 28px;
}

body > .message-page + .site-footer {
    margin-top: 0;
}
