/* Variables para Colores Corporativos (Ajuste para equilibrio visual) */
:root {
    --color-primary: #0076a3; /* Azul Corporativo FONTUR (protagonista, punto medio) */
    --color-secondary: #A41C84; /* Violeta/Fucsia (Acento y Hover) */
    --color-tertiary: #f6a800; /* Dorado/Naranja (Botones de acción, CTA) */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f8f8f8;
    --color-background-white: #ffffff;
    --transition-speed: 0.3s;
    --font-family: 'Roboto', sans-serif;
}

/* Base Styling (Mobile-First) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.5em;
    transition: color var(--transition-speed);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-speed), background-color var(--transition-speed);
}

section {
    padding: 60px 5%; /* Espaciado limpio para móvil */
    transition: padding var(--transition-speed) ease-out;
}

/* --- Header & Navigation (Mobile) --- */
header {
    background: var(--color-background-white);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Estilo para el header al hacer scroll (efecto moderno) */
header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio reducido entre logos */
}

.logo {
    height: 30px; /* Tamaño de logo ligeramente reducido para mejor proporción */
    transition: height var(--transition-speed);
}

.logo.boost {
    /* Separador sutil o efecto de grupo */
    padding-left: 8px;
    border-left: 1px solid #eee;
}

/* Ocultar navegación de escritorio por defecto en móvil */
.desktop-nav {
    display: none;
}

/* Botón de menú (solo visible en móvil) */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--color-primary);
    cursor: pointer;
    padding: 5px;
    transition: transform var(--transition-speed);
}

/* Menú móvil (posición y animación) */
.mobile-nav {
    display: none;
    position: absolute;
    top: 54px; /* Ajustado a la altura del header */
    left: 0;
    width: 100%;
    background-color: var(--color-background-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.mobile-nav.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    padding: 15px 5%;
    border-bottom: 1px solid var(--color-background-light);
    font-weight: 500;
}

.mobile-nav a:hover {
    background-color: var(--color-background-light);
    color: var(--color-secondary);
}

/* --- HERO Section --- */
.hero-section {
    /* Overlay con Primary Color (0.6 de opacidad) y la nueva imagen hero.png */
    background: linear-gradient(#a41c8487, #a41c8487), 
                url('images/hero.png') no-repeat center center/cover;
    color: var(--color-text-light);
    padding: 80px 5%;
    min-height: 80vh; 
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 90%;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--color-text-light);
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Botón CTA Principal */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    width: 100%; 
    border-radius: 5px;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.primary-cta {
    background-color: var(--color-tertiary); /* Dorado/Naranja para máxima visibilidad */
    color: var(--color-text-dark);
}

.primary-cta:hover {
    background-color: #d19500; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.time-note {
    display: block;
    font-size: 0.75em;
    text-transform: none;
    font-weight: 400;
    opacity: 0.9;
}


/* --- Scope Section (3 Pilares) --- */
.scope-section {
    background-color: var(--color-background-white);
    text-align: center;
    padding-bottom: 80px;
}

.scope-section h2 {
    margin-bottom: 40px;
    font-size: 2em;
}

.pillars-container {
    display: flex;
    flex-direction: column; 
    gap: 30px;
    justify-content: center;
}

.pillar {
    background: var(--color-background-light);
    padding: 25px;
    border-radius: 8px;
    border-top: 5px solid var(--color-primary); /* Borde con el color principal */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-top-color: var(--color-secondary); /* Acento en hover */
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary); /* Iconos con color de acento (violeta) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.6em;
    color: var(--color-text-light);
    transition: background-color var(--transition-speed);
}

.pillar:hover .icon-circle {
    background-color: var(--color-primary);
}

.pillar h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* --- Benefits Section (Lista): NUEVO FONDO Y OVERLAY --- */
.benefits-section {
    /* Imagen de fondo limpia con overlay para mejorar la lectura */
    background: linear-gradient(rgba(0, 118, 163, 0.8), rgba(0, 118, 163, 0.8)), 
                url('images/entregables.png') no-repeat center center/cover;
    color: var(--color-text-light);
    text-align: left;
    /* Ajustes de color para legibilidad */
    color: var(--color-background-white); 
}

.benefits-section h2 {
    color: var(--color-tertiary);
    text-align: center;
    margin-bottom: 30px;
}

.benefits-section ul {
    list-style: none;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
}

.benefits-section li {
    font-size: 1.1em;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.1); /* Sutil fondo para la fila */
    border-radius: 3px;
    margin-bottom: 8px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 400;
    transition: background-color var(--transition-speed), padding-left var(--transition-speed);
}

.benefits-section li:hover {
    background: rgba(0, 0, 0, 0.2);
    padding-left: 20px;
}

.benefits-section .fa-check-circle {
    color: var(--color-tertiary);
    font-size: 1.1em;
}

/* --- Secondary CTAs Section --- */
.cta-section-secondary {
    background-color: var(--color-background-light);
    text-align: center;
}

.cta-cards-container {
    display: flex;
    flex-direction: column; 
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-card {
    display: block;
    background-color: var(--color-background-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all var(--transition-speed) ease;
    border-left: 5px solid var(--color-primary);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-left-color: var(--color-secondary);
}

.cta-card h3 {
    color: var(--color-primary);
    font-size: 1.4em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cta-card i.fas {
    font-size: 2em;
    color: var(--color-secondary); /* Usa el color de acento (violeta) */
    margin-bottom: 10px;
    transition: color var(--transition-speed);
}

.cta-card:hover i.fas {
    color: var(--color-primary);
}

/* Footer */
footer {
    background-color: var(--color-text-dark);
    color: var(--color-background-white);
    text-align: center;
    padding: 20px 5%;
    font-size: 0.8em;
}

/* --- Media Query: Desktop/Tablet --- */
@media (min-width: 768px) {
    
    section {
        padding: 80px 10%; 
    }

    .logo {
        height: 35px; 
    }

    /* Navegación Desktop */
    .desktop-nav {
        display: flex;
    }
    
    .desktop-nav a {
        margin-left: 25px;
        font-weight: 500;
        color: var(--color-text-dark);
        position: relative;
        padding-bottom: 5px;
    }

    .desktop-nav a:hover {
        color: var(--color-primary);
    }
    
    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background-color: var(--color-secondary); /* Acento en la línea de navegación */
        transition: width var(--transition-speed) ease;
    }

    .desktop-nav a:hover::after {
        width: 100%;
    }

    /* Hero */
    .hero-section {
        min-height: 70vh;
        padding: 120px 10%;
    }
    
    .hero-content h1 {
        font-size: 3.5em;
    }

    .cta-button {
        width: auto; 
        padding: 15px 40px;
    }

    /* Pilares y CTA Cards: Layout de columnas */
    .pillars-container, .cta-cards-container {
        flex-direction: row;
        gap: 40px;
    }
    
    .pillar {
        max-width: 300px;
        flex: 1;
        padding: 35px 25px;
    }
    
    .cta-card {
        max-width: 45%;
        flex: 1;
    }

    /* Beneficios: Layout de 2 columnas */
    .benefits-section ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 40px;
        max-width: 900px;
    }

    .benefits-section li {
        border-bottom: none;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin-bottom: 0;
        padding-left: 15px;
    }
    
    .benefits-section li:hover {
        background: rgba(255, 255, 255, 0.2);
        padding-left: 15px; /* Mantener padding consistente */
    }
}
