/* Estilos generales para la página de Cobertura */
.coverage-hero {
    position: relative;
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/coverage-hero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    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: rgb(255, 255, 255);
    opacity: 10%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll i {
    font-size: 1.5rem;
    margin-top: 10px;
}

/* Sección del Mapa */
.map-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}

.map-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#coverage-map {
    height: 500px;
    width: 70%;
    z-index: 1;
}

.map-sidebar {
    width: 30%;
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.region-info {
    margin-bottom: 30px;
}

.region-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.info-content {
    color: #555;
    line-height: 1.6;
}

.region-list h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

#location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#location-list li {
    padding: 10px 15px;
    margin-bottom: 5px;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#location-list li:hover {
    background: #e74c3c;
    color: white;
    transform: translateX(5px);
}

/* Sección de Detalles de Cobertura */
.coverage-details {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-item p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Sección de Rutas */
.routes-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.routes-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.routes-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 4px;
    background: #e74c3c;
    z-index: 1;
}

.route-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.route-icon {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 30px;
    flex-shrink: 0;
}

.route-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.route-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.route-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.route-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.route-details span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.route-details i {
    color: #e74c3c;
    margin-right: 5px;
}

/* Sección Internacional */
.international-section {
    padding: 80px 0;
    background: white;
}

.country-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.country-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.country-flag {
    width: 80px;
    height: 50px;
    margin: 0 auto 15px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.country-flag.chile {
    background-image: url('../img/flags/chile.png');
}

.country-flag.ecuador {
    background-image: url('../img/flags/ecuador.png');
}

.country-flag.colombia {
    background-image: url('../img/flags/colombia.png');
}

.country-flag.bolivia {
    background-image: url('../img/flags/bolivia.png');
}

.country-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.country-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.country-card ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.country-card ul li i {
    color: #e74c3c;
    margin-right: 10px;
}

/* Sección CTA */
.coverage-cta {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/cta-coverage.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.8);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary {
    background: white;
    color: #e74c3c;
}

.primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .map-container {
        flex-direction: column;
    }
    
    #coverage-map {
        width: 100%;
        height: 400px;
    }
    
    .map-sidebar {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .coverage-hero {
        height: 60vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .routes-timeline::before {
        left: 25px;
    }
    
    .route-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .route-item {
        flex-direction: column;
    }
    
    .route-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}