/* ======================== */
/* ESTILOS GENERALES    */
/* ======================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #F37F21; /* Naranja del logo */
    --color-secondary: #00539C; /* Azul del logo */
    --color-dark: #333333;
    --color-light: #f4f4f4;
    --color-white: #ffffff;
    --font-family: 'Poppins', sans-serif;
	--font-title: 'Montserrat', sans-serif; /* Nueva variable */
    --font-body: 'Poppins', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark);
}

.section-title, .hero h1, h3 {
    font-family: var(--font-title);
    /* Refuerza la identidad */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.bg-light {
    background-color: var(--color-light);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #d86e17;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #00437e;
    transform: translateY(-2px);
}


/* ======================== */
/* HEADER          */
/* ======================== */
.header {
    background-color: var(--color-white);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: var(--header-height);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 50px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--color-secondary);
    background: none;
    border: none;
    cursor: pointer;
}

/* ======================== */
/* SECCIÓN INICIO     */
/* ======================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 83, 156, 0.7); /* Azul del logo con opacidad */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

/* ======================== */
/* SECCIÓN PAQUETES    */
/* ======================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.package-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.package-promo {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: var(--color-primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.package-card h3 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.package-speed {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.package-speed span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
}

.package-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.package-price span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
}

.package-features li {
    margin-bottom: 10px;
    position: relative;
}

.package-features li::before {
    content: '✓';
	font-family: 'Font Awesome 6 Free'; /* Asegúrate de que la clase sea la correcta */
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.package-installation {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #555;
}

/* ======================== */
/* SECCIÓN COBERTURA    */
/* ======================== */
.coverage-checker {
    display: flex;
    max-width: 600px;
    margin: 0 auto 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.coverage-checker input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    outline: none;
}

.coverage-checker button {
    border-radius: 0 50px 50px 0;
    border: none;
    cursor: pointer;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ======================== */
/* SECCIÓN SOPORTE      */
/* ======================== */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Oculta el marcador por defecto */
    position: relative;
    padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding-top: 15px;
    color: #555;
}

.contact-section h3, .faq-section h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.contact-list a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--color-primary);
}


/* ======================== */
/* SECCIÓN NOSOTROS     */
/* ======================== */
.about-content p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-card h4 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ======================== */
/* FOOTER          */
/* ======================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-col p {
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--color-light);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}
.footer-bottom p {
    margin-bottom: 5px;
}

/* ======================== */
/* DISEÑO RESPONSIVO     */
/* ======================== */

/* Tablets y dispositivos pequeños */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .package-card.featured {
        transform: scale(1);
    }
    .support-grid, .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* Dispositivos Móviles */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    .hamburger {
        display: block;
        z-index: 1001; /* Debe estar por encima del menú */
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Inicia fuera de la pantalla */
        width: 70%;
        height: 100vh;
        background-color: var(--color-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        gap: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--color-white);
        font-size: 1.5rem;
    }

    .nav-menu a:hover {
        color: var(--color-primary);
    }

    .nav-menu a::after {
        background-color: var(--color-primary);
    }
    
    .hero {
        height: 80vh;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .coverage-checker {
        flex-direction: column;
        border-radius: 10px;
    }
    .coverage-checker input {
        border-radius: 10px 10px 0 0;
        text-align: center;
    }
     .coverage-checker button {
        border-radius: 0 0 10px 10px;
        padding: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul {
        padding: 0;
    }
    .social-icons {
        justify-content: center;
    }
}

	.whatsapp-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366; /* Color oficial de WhatsApp */
            color: #fff;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 1000; /* Asegura que esté sobre todo el contenido */
            transition: all 0.3s ease;
            font-size: 35px; /* Tamaño del icono */
        }

        .whatsapp-btn:hover {
            background-color: #128C7E; /* Un verde más oscuro al pasar el mouse */
            transform: scale(1.1); /* Efecto de zoom ligero */
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
        }

        /* Animación de pulso opcional para llamar la atención */
        .whatsapp-btn::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: #25D366;
            border-radius: 50%;
            z-index: -1;
            opacity: 0.7;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.7; }
            100% { transform: scale(1.5); opacity: 0; }
        }