/* --- Variables y Estilos Globales --- */
:root {
    --dtv-blue: #0099ff;
    --dtv-dark-blue: #005cb3;
    --accent-color: #ffcc00; /* Amarillo DIRECTV */
    --light-gray: #f8f9fa;
    --dark-gray: #495057;
    --primary-gradient: linear-gradient(135deg, var(--dtv-blue), var(--dtv-dark-blue));
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* --- Header / Navegación --- */
.navbar-brand {
    font-weight: 700;
    color: var(--dtv-blue) !important;
}

.navbar-brand img {
    filter: none; /* Mantiene el color original (azul) del SVG */
}

.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar .btn-light {
    font-weight: 600;
    color: var(--dtv-blue);
    border-color: transparent;
}

/* --- Hero Section --- */
.hero-section {
    background: var(--primary-gradient);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-height: 350px;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

.text-accent {
    color: var(--accent-color) !important;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #fff;
    color: var(--dtv-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--dtv-blue);
    transform: translateY(-3px);
}

/* --- Sección de Beneficios --- */
.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--dtv-blue);
}

.feature-icon {
    font-size: 3rem;
}

/* --- Sección FAQ --- */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--dtv-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 255, 0.25);
}

/* --- Footer --- */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* --- Animaciones --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Responsividad (Mobile-First Adjustments) --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-height: 250px;
        margin-top: 2rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

/* --- Ajuste del color del logo para diferentes fondos --- */
.navbar.bg-light .header-logo,
.navbar.bg-white .header-logo {
    filter: none; /* Mantiene el color original (azul) del SVG */
}

.navbar.bg-primary .header-logo {
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}

.hero-section .header-logo {
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}