/* ==========================================================================
   VIDA PLENA EMPRENDE - V1.1 SISTEMA DE ESTILOS
   Paleta: Verde Bosque (#004B30), Dorado (#C49A45), Antracita (#1A1A1A)
   ========================================================================== */

:root {
    --primary: #004B30;
    --primary-dark: #003320;
    --primary-light: #006B45;
    --accent: #C49A45;
    --accent-hover: #A37F35;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --border-color: #E0E0E0;
    
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Componentes: Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-2px);
}

/* Header & Navegación */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-logo span {
    color: var(--accent);
    margin-left: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

/* Menú Hamburguesa Móvil */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Modificadores Hamburguesa Activo */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(0,75,48,0.04) 0%, rgba(196,154,69,0.06) 100%);
    text-align: center;
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: block;
}

.hero h1 {
    font-size: 2.75rem;
    max-width: 900px;
    margin: 0 auto 1.2rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Secciones Generales */
.section-padding {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Tarjetas de Rutas */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.route-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.route-card-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background-color: rgba(0,75,48,0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.route-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.route-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Grilla de Soluciones de Bienestar */
.solutions-cat-title {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.solution-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.solution-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Sección Libro */
.book-showcase {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.book-cover-mock {
    width: 100%;
    height: 380px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.book-cover-mock h4 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.book-cover-mock p {
    color: var(--bg-white);
    font-size: 0.85rem;
}

/* Filtros Emprendimiento */
.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 2.5rem 0;
}

.filter-box {
    padding: 32px;
    border-radius: var(--radius-md);
}

.filter-box.positive {
    background-color: rgba(0,75,48,0.05);
    border: 1px solid var(--primary);
}

.filter-box.negative {
    background-color: rgba(200,50,50,0.04);
    border: 1px solid #D9534F;
}

.filter-box h3 {
    margin-bottom: 1rem;
}

.filter-box ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 24px;
}

.filter-box.positive ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.filter-box.negative ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #D9534F;
    font-weight: bold;
}

/* Responsive Embed Video */
.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #BBB;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: #DDD;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #AAA;
}

/* MEDIA QUERIES (Mobile First Corrections) */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        overflow-y: auto;
    }

    .nav-menu.is-active {
        left: 0;
    }

    .book-showcase {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .book-cover-mock {
        height: 280px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}



/* V2 FINAL — Encabezado unificado */
.site-header .nav-container { height: 80px; }
.site-header .brand-logo {
    display: flex; align-items: center; height: 80px; flex: 0 0 auto;
}
.site-header .brand-logo-img {
    display: block !important; width: auto !important; height: 52px !important;
    max-width: 155px !important; max-height: 52px !important; object-fit: contain !important;
}
@media (max-width: 900px) {
    .site-header .brand-logo-img {
        height: 44px !important; max-width: 135px !important; max-height: 44px !important;
    }
    .site-header .nav-menu {
        top: 80px; height: calc(100vh - 80px); z-index: 1050;
    }
}

/* Ajuste final de contraste para el hero de Inicio */
.home-hero h1 {
    color: #FFFFFF;
}

.home-hero p {
    color: #FFFFFF;
}

.home-hero .btn-outline {
    background-color: rgba(255, 255, 255, 0.92);
    border-color: #FFFFFF;
    color: var(--primary);
}

.home-hero .btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--primary);
}

@media (max-width: 600px) {
    .home-hero .hero-ctas {
        gap: 16px;
    }

    .home-hero .hero-ctas .btn {
        width: 100%;
    }
}
