/* ======================================================= */
/* ===== About Section (Con Líneas Superior e Inferior) ===== */
/* ======================================================= */

.about {
    margin: 120px auto 60px auto; 
    
    /* CAMBIO: Líneas ahora usan Degradado Cálido */
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%) 1;

    padding: 80px 0;
    background-color: transparent;
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}
/* --- Columna Izquierda: Texto --- */
.about-info {
    flex: 0 0 35%; 
    min-width: 300px;
    text-align: center; 
    padding: 0 10px;
}

.about h2 {
    font-size: 2.2rem; 
    line-height: 1.2;
    margin-bottom: 20px;
    
    /* Título con Degradado Cálido */
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about p {
    color: var(--text-secondary); 
    line-height: 1.6;
    font-size: 1rem;
    margin: 0 auto; 
    max-width: 100%;
}

/* --- Columna Derecha: Iconos --- */
.about-grid {
    flex: 0 0 60%; 
    display: flex;
    justify-content: space-around; 
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

/* === ESTILOS DE LOS ICONOS (CIRCULARES) === */
.about-grid div {
    background: transparent;
    padding: 10px;
    flex: 0 1 180px;
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: none;
}

.about-grid div i {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 2.8rem;
    
    /* Iconos Naranjas por defecto */
    color: var(--accent-green); 
    
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    
    /* Sombra Naranja sutil */
    box-shadow: 0 0 20px rgba(233, 93, 10, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Adaptación Modo Claro (Iconos) */
body.light-mode .about-grid div i {
    background: #f9f9f9;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    color: var(--accent-green);
}

/* Hovers */
.about-grid div:hover {
    transform: translateY(-5px);
}
/* Hover Modo Oscuro */
.about-grid div:hover i {
    transform: scale(1.1);
    
    /* CAMBIO: Hover usa Degradado Fresco (Amarillo a Verde) */
    background: linear-gradient(135deg, var(--accent-yellow-light) 0%, var(--accent-green) 100%);
    
    color: #000000; /* Texto negro */
    box-shadow: 0 0 30px rgba(171, 225, 28, 0.5);
    border-color: transparent;
}
/* Hover Modo Claro (Corrección) */
body.light-mode .about-grid div:hover i {
    background: linear-gradient(135deg, var(--accent-yellow-light) 0%, var(--accent-green) 100%);
    color: #000000;      
    box-shadow: 0 15px 35px rgba(171, 225, 28, 0.3);
}

.about-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 600;
}
.about-grid p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* ===== Responsive (Móvil) ===== */
@media (max-width: 992px) {
    .about {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        margin-top: 80px; /* Menos margen en móvil */
        gap: 40px;
    }
    
    .about-info {
        flex: auto;
        width: 100%;
    }
    
    .about-grid {
        flex: auto;
        width: 100%;
        justify-content: center;
    }
}

/* ======================================================= */
/* ===== Plans Section ===== */
/* ======================================================= */
.plans {
    padding: 100px 0 60px 0;
    background-color: var(--bg-color); 
    text-align: center;
    transition: background-color 0.3s;
    position: relative;
    z-index: 2;
}

.plans h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    
    /* Título con Degradado Cálido */
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Tarjetas alargadas */
.plan-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan {
    background-color: #111;
    padding: 20px;
    border-radius: 15px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

body.light-mode .plan {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(233, 93, 10, 0.5);
}

/* Imagen en la tarjeta */
.plan-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(233, 93, 10, 0.5);
}

.plan h3 {
    color: var(--accent-yellow-light);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.plan .speed {
    font-size: 1.3rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.plan p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Botones de plan */
.plan .btn.primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow-dark) 100%);
    color: #000; 
    border: none; 
    padding: 12px 24px; 
}

.plan .btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-orange) 100%);
    color: #000;
}

/* Botón central Discover More */
.discover-more {
    margin-top: 50px;
}

.discover-more .btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: 0.3s;
}

.discover-more .btn.secondary:hover {
    background: linear-gradient(135deg, var(--accent-yellow-light) 0%, var(--accent-green) 100%);
    color: #000;
    border-color: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-light) 100%);;
}

/* ===== Responsive Plans ===== */
@media (max-width: 992px) {
    .plan-cards {
        flex-direction: column;
        align-items: center;
    }

    .plan {
        width: 90%;
        margin-bottom: 25px;
    }
}


/* ======================================================= */
/* ===== Coverage Section (Cobertura) ===== */
/* ======================================================= */
.coverage {
    padding: 100px 0;
    background-color: transparent; 
    text-align: center;
    transition: background-color 0.3s;
    
}

.coverage h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 20px;
}

.coverage p {
    color: var(--text-secondary); 
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.coverage img {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(233, 93, 10, 0.3);
    transition: transform 0.3s;
}

.coverage img:hover {
    transform: scale(1.05);
}

/* ===== Responsive Coverage ===== */
@media (max-width: 992px) {
    .about-grid, .plan-cards {
        flex-direction: column;
        align-items: center;
    }

    .about-grid div, .plan {
        width: 90%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .coverage img {
        width: 100%;
    }
}

/* ===== Carrusel ===== */
.carrusel {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.carrusel-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.carrusel:hover .carrusel-track {
    animation-play-state: paused;
}

.plan {
    flex: 0 0 auto;
}

/* ===== Planes Page (General) ===== */
.planes-section {
    padding: 100px 0 60px 0;
    background-color: var(--bg-color); 
    text-align: center;
    color: var(--text-color); 
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    z-index: 2;
}

.planes-section h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 15px;
}

.planes-section p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Contenedor de tarjetas de planes */
.planes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos de tarjeta dentro de grid */
.planes-grid .plan {
    background-color: #111; 
    padding: 20px;
    border-radius: 15px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

body.light-mode .planes-grid .plan {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.planes-grid .plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(203, 96, 25, 0.6);
}

.planes-grid .plan-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.planes-grid .plan-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(203, 96, 25, 0.5);
}

.planes-grid .plan h3 {
    color: var(--accent-color);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.planes-grid .plan .speed {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.planes-grid .plan p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.planes-grid .btn.primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-yellow-dark) 100%); /* Botón Degradado Cálido */
    color: #000;
    border: 2px solid var(--accent-color);
}

.planes-grid .btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-yellow-dark) 0%, var(--accent-color) 100%);
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .planes-grid {
        flex-direction: column;
        align-items: center;
    }

    .planes-grid .plan {
        width: 90%;
    }
}