/* VARIABLES / BASE */
:root {
    --blue: #265cff;
    --blue-soft: #5e7aff;
    /*--bg-dark: #050813;
    --bg-light: #f5f7ff;
    --card-dark: #0f1628;
    --card-light: #ffffff;
    --text-main: #111320;
    --text-muted: #5b5e73;
    --border-subtle: rgba(38, 92, 255, 0.12);
    --radius-lg: 22px;
    --shadow-soft: 0 18px 40px rgba(8, 16, 60, 0.15);
    --shadow-lighter: 0 10px 30px rgba(8, 16, 60, 0.08);*/
}

/* --------------------------------------------------------- */
/* RESET BÁSICO                                              */
/* --------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #0A1A2F;
    background: #ffffff;
    line-height: 1.6;
}


/* --------------------------------------------------------- */
/* CONTENEDORES                                              */
/* --------------------------------------------------------- */

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
}


/* --------------------------------------------------------- */
/* HEADER / NAV                                              */
/* --------------------------------------------------------- */

.main-header {
    width: 100%;
    background: rgba(10, 26, 47, 0.96);
    padding: 12px 0;
    position: sticky;   /* se queda fijo al hacer scroll */
    top: 0;
    z-index: 2000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}


.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #f7f8ff !important;
	text-decoration: none;
}
.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue-soft));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
	
}

.logo a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.main-nav a:hover {
    opacity: 0.7;
}

.nav-cta {
    font-weight: 700;
}

/* Botón hamburguesa (se estiliza en responsive) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
}


/* --------------------------------------------------------- */
/* HERO                                                      */
/* --------------------------------------------------------- */

.hero {
    padding: 120px 0;
    background: #F5F6F7;
}

.hero-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-sub {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-desc {
    margin-bottom: 25px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.hero-micro {
    opacity: 0.75;
    font-size: 0.95rem;
}

.hero-side img {
    width: 100%;
    max-width: 420px;
}


/* --------------------------------------------------------- */
/* BOTONES                                                   */
/* --------------------------------------------------------- */

.btn-primary {
    background: #0A1A2F;
    padding: 15px 22px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-lg {
    padding: 18px 32px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: #ffffff;
    padding: 15px 22px;
    color: #0A1A2F;
    border: 1px solid #0A1A2F;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #0A1A2F;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #0A1A2F;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1rem;
    color: #0A1A2F;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0A1A2F;
    color: #ffffff;
}


/* --------------------------------------------------------- */
/* SECCIONES                                                 */
/* --------------------------------------------------------- */

.para-quien ul li,
.oportunidad ul li,
.por-que ul li {
    padding-left: 0;
}

.check-list li,
.bullet-list li {
    padding-left: 15px;
    position: relative;
}

.check-list li,
.bullet-list li {
    padding-left: 26px;
    position: relative;
}

/* Compartimos estilos base de la viñeta */
.check-list li::before,
.bullet-list li::before {
    position: absolute;
    left: 6px;          /* la viñeta queda un poco a la izquierda del texto */
    top: 0.2em;
    color: #0A1A2F;
}

/* Tipo de viñeta según la lista */
.check-list li::before {
    content: "—";
}

.bullet-list li::before {
    content: "•";
}


/* --------------------------------------------------------- */
/* TARJETAS DE APRENDER                                      */
/* --------------------------------------------------------- */

.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    border: 1px solid #E5E7EA;
    border-radius: 8px;
    padding: 25px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


/* --------------------------------------------------------- */
/* SECCIÓN SOBRE MAURICIO                                    */
/* --------------------------------------------------------- */

.sobre-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sobre-text {
    flex: 1;
}

.sobre-photo img {
    width: 350px;
    border-radius: 10px;
    border: 2px solid #E5E7EA;
}


/* --------------------------------------------------------- */
/* CTA FINAL / INDECISOS                                     */
/* --------------------------------------------------------- */

.cta-text {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.cta-micro {
    opacity: 0.7;
    margin-top: 15px;
}

.indecisos {
    background: #F5F6F7;
}

.indecisos-opciones ul li {
    margin-bottom: 8px;
}


/* --------------------------------------------------------- */
/* CIERRE FINAL                                              */
/* --------------------------------------------------------- */

.cierre {
    background: #0A1A2F;
    color: #ffffff;
    text-align: center;
}

.cierre-frase {
    font-size: 1.4rem;
    margin-bottom: 15px;
}


/* --------------------------------------------------------- */
/* FOOTER                                                    */
/* --------------------------------------------------------- */

.main-footer {
    background: #0A1A2F;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================= */
/* AJUSTE GLOBAL DE LISTAS EN LA LANDING     */
/* ========================================= */

/* Quitamos los bullets por defecto y margenes raros del tema */
.section ul,
.para-quien ul,
.oportunidad ul,
.por-que ul,
.indecisos-opciones ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

/* Cada ítem con sangría propia y viñeta custom */
.section ul li,
.para-quien ul li,
.oportunidad ul li,
.por-que ul li,
.indecisos-opciones ul li {
    position: relative;
    padding-left: 26px;
}

/* Borramos cualquier pseudo-elemento raro que pueda venir del tema */
.section ul li::before,
.para-quien ul li::before,
.oportunidad ul li::before,
.por-que ul li::before,
.indecisos-opciones ul li::before {
    content: "•";
    position: absolute;
    left: 6px;
    top: 0.2em;
    color: #0A1A2F;
    font-weight: 700;
}
.para-quien ul li::before {
    content: "—";
    left: 2px;
    font-weight: 400;
}
/* ========================================= */
/* AJUSTE SECCIÓN INDECISOS                  */
/* ========================================= */

.indecisos .container {
    position: relative;
}

.indecisos p {
    margin-bottom: 15px;
}

/* Forzamos el botón a comportarse como bloque independiente */
.indecisos .btn-outline {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* El bloque de opciones queda claramente debajo del botón */
.indecisos-opciones {
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* ========================================= */
/* FORMULARIO LEAD / CTA FINAL               */
/* ========================================= */

.lead-form {
    margin-top: 30px;
    margin-bottom: 10px;
    padding: 20px 20px 18px;
    border: 1px solid #E5E7EA;
    border-radius: 8px;
    background: #F9FAFB;
}

.lead-form h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.lead-form-row {
    margin-bottom: 12px;
}

.lead-form input[type="text"],
.lead-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #D0D4DA;
    font-size: 0.98rem;
}

.lead-form input:focus {
    outline: none;
    border-color: #0A1A2F;
}

.lead-form button {
    margin-top: 10px;
}

.lead-form-note {
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* ALERTAS */

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.alert-success {
    background: #E6F6EA;
    border: 1px solid #91D1A3;
    color: #145530;
}

.alert-error {
    background: #FDE9EA;
    border: 1px solid #E49B9F;
    color: #7B1E23;
}

/* ========================================= */
/* MICROINTERACCIONES HERO / BOTONES         */
/* ========================================= */

.hero {
    position: relative;
    overflow: hidden;
}

/* Sutil degradado animado en el fondo del hero */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(15, 118, 210, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.15), transparent 55%);
    pointer-events: none;
    z-index: -1;
}

/* Elevamos los CTA levemente al hacer hover */
.btn-primary,
.btn-secondary,
.btn-outline {
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Sutil animación de entrada del hero */
.hero-inner[data-aos] {
    will-change: transform, opacity;
}

/* ========================================= */
/* TEMA OSCURO (aplicar en <body class="theme-dark">) */
/* ========================================= */

body.theme-dark {
    background: #020617;
    color: #E5E7EB;
}

/* Header oscuro ya viene de base, pero ajustamos logo y nav */
body.theme-dark .main-header {
    background: rgba(2, 6, 23, 0.96);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

body.theme-dark .logo a,
body.theme-dark .main-nav a {
    color: #E5E7EB;
}

/* HERO oscuro, con degradado más profundo */
body.theme-dark .hero {
    background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
    color: #E5E7EB;
}

body.theme-dark .hero::before {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.25), transparent 55%);
}

body.theme-dark .hero-micro {
    color: #9CA3AF;
}

/* Secciones generales con fondo ligeramente más claro */
body.theme-dark .section {
    background: #020617;
    color: #E5E7EB;
}

/* Alternar algunos fondos para darle ritmo visual */
body.theme-dark .para-quien,
body.theme-dark .indecisos {
    background: #020617;
}

body.theme-dark .oportunidad,
body.theme-dark .aprender,
body.theme-dark .garantia {
    background: #020617;
}

/* Tarjetas en modo dark */
body.theme-dark .card {
    background: #020617;
    border-color: #1F2933;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

body.theme-dark .card:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.9);
}

/* Listas y viñetas en tonos claros */
body.theme-dark .section ul li::before,
body.theme-dark .para-quien ul li::before,
body.theme-dark .oportunidad ul li::before,
body.theme-dark .por-que ul li::before,
body.theme-dark .indecisos-opciones ul li::before {
    color: #93C5FD;
}

/* CTA final y cierre */
body.theme-dark .cta-final {
    background: #020617;
}

body.theme-dark .cta-micro {
    color: #9CA3AF;
}

body.theme-dark .cierre {
    background: #020617;
    color: #E5E7EB;
}

/* Botones adaptados al dark mode */
body.theme-dark .btn-primary {
    background: #2563EB;
    color: #EFF6FF;
}

body.theme-dark .btn-primary:hover {
    background: #1D4ED8;
}

body.theme-dark .btn-secondary {
    background: transparent;
    color: #E5E7EB;
    border-color: #93C5FD;
}

body.theme-dark .btn-secondary:hover {
    background: #1E293B;
    color: #E5E7EB;
}

body.theme-dark .btn-outline {
    border-color: #4F46E5;
    color: #E5E7EB;
}

body.theme-dark .btn-outline:hover {
    background: #4F46E5;
    color: #ffffff;
}

/* Formulario lead en dark */
body.theme-dark .lead-form {
    background: #020617;
    border-color: #1F2933;
}

body.theme-dark .lead-form input[type="text"],
body.theme-dark .lead-form input[type="email"] {
    background: #020617;
    border-color: #374151;
    color: #E5E7EB;
}

body.theme-dark .lead-form input:focus {
    border-color: #2563EB;
}

body.theme-dark .lead-form-note {
    color: #9CA3AF;
}

/* Footer oscuro consistente */
body.theme-dark .main-footer {
    background: #020617;
    color: #9CA3AF;
}
/* ========================================= */
/* TEMA TECH (aplicar en <body class="theme-tech">) */
/* ========================================= */

body.theme-tech {
    background: #020617;
    color: #E5E7EB;
}

/* Header con gradiente tech */
body.theme-tech .main-header {
    background: linear-gradient(90deg, #020617 0%, #020617 40%, #0F172A 100%);
    box-shadow: 0 2px 18px rgba(15, 23, 42, 0.9);
}

body.theme-tech .logo a {
    letter-spacing: 0.04em;
}

/* Hero bien tech: degradado y ligero glow */
body.theme-tech .hero {
    background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
    color: #E5E7EB;
}

body.theme-tech .hero::before {
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.3), transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.35), transparent 60%);
}

body.theme-tech .hero-sub {
    color: #E0F2FE;
}

body.theme-tech .hero-micro {
    color: #9CA3AF;
}

/* Secciones con ligeras variaciones */
body.theme-tech .section {
    background: #020617;
}

body.theme-tech .para-quien,
body.theme-tech .indecisos {
    background: #020617;
}

body.theme-tech .oportunidad,
body.theme-tech .aprender,
body.theme-tech .garantia {
    background: radial-gradient(circle at top, #020617 0%, #020617 50%, #020617 100%);
}

/* Tarjetas con borde “neón sutil” */
body.theme-tech .card {
    background: #020617;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 16px 35px rgba(15, 23, 42, 0.9);
}

body.theme-tech .card:hover {
    border-color: rgba(94, 234, 212, 0.5);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5), 0 20px 40px rgba(15, 23, 42, 0.9);
}

/* Viñetas con acento tech */
body.theme-tech .section ul li::before,
body.theme-tech .para-quien ul li::before,
body.theme-tech .oportunidad ul li::before,
body.theme-tech .por-que ul li::before,
body.theme-tech .indecisos-opciones ul li::before {
    color: #38BDF8;
}

body.theme-tech .para-quien ul li::before {
    color: #A855F7;
}

/* Botones con gradiente tech */
body.theme-tech .btn-primary {
    background: linear-gradient(135deg, #38BDF8 0%, #4F46E5 50%, #A855F7 100%);
    color: #F9FAFB;
    border: none;
}

body.theme-tech .btn-primary:hover {
    filter: brightness(1.06);
}

body.theme-tech .btn-secondary {
    background: transparent;
    color: #E5E7EB;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

body.theme-tech .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.9);
}

body.theme-tech .btn-outline {
    border-color: #38BDF8;
    color: #E5E7EB;
}

body.theme-tech .btn-outline:hover {
    background: #38BDF8;
    color: #020617;
}

/* Form lead tech */
body.theme-tech .lead-form {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(56, 189, 248, 0.25);
}

body.theme-tech .lead-form input[type="text"],
body.theme-tech .lead-form input[type="email"] {
    background: #020617;
    border-color: #1F2933;
    color: #E5E7EB;
}

body.theme-tech .lead-form input:focus {
    border-color: #38BDF8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

/* Footer tech */
body.theme-tech .main-footer {
    background: #020617;
    color: #64748B;
}


