/* assets/css/style.css */
:root {
    --primary: #006241;
    --primary-dark: #004d33;
    --secondary: #FF8C42;
    --secondary-dark: #E6732E;
    --accent: #FFD966;
    --dark: #1A2F2A;
    --light: #F8F9FA;
    --gray: #6c757d;
    --success: #28a745;
    --water: #4A90E2;
    --palm: #2C5F2D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white !important;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,98,65,0.92), rgba(0,77,51,0.92)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Plan Cards */
.plan-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    height: 100%;
}

.plan-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.02);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.plan-price small {
    font-size: 1rem;
    color: var(--gray);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.plan-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--success);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Benefits Section */
.benefit-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Document Cards */
.doc-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.doc-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.doc-card h5 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.doc-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-download {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Speed Test Section */
.speedtest-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background-color: #128C7E;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* ================================================ */
/* ESTILOS PARA BANNERS DE AUTORIDADES (ACORDEONES) */
/* ================================================ */

/* Authority Cards */
.authority-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.authority-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.authority-card .card-header {
    padding: 20px;
    border-bottom: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.authority-card .card-header:hover {
    filter: brightness(1.05);
}

.authority-card .card-header.bg-primary {
    background: linear-gradient(135deg, #0066B3, #004d99) !important;
}

.authority-card .card-header.bg-success {
    background: linear-gradient(135deg, #2C5F2D, #1E3A1E) !important;
}

.authority-card .card-header.bg-info {
    background: linear-gradient(135deg, #17a2b8, #0f6b7a) !important;
}

.authority-card .card-header i:first-child {
    font-size: 2.5rem;
}

.authority-card .card-header i.fa-chevron-down {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.authority-card .card-header[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.authority-card .contact-info p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.authority-card .contact-info i {
    width: 24px;
    margin-right: 8px;
}

/* Report Cards */
.report-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.report-card .card-body {
    padding: 30px 20px;
}

.report-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.report-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.report-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* Animación para el colapso */
.collapse {
    transition: all 0.3s ease;
}

/* Responsive para los banners */
@media (max-width: 768px) {
    .authority-card .contact-info p {
        font-size: 0.75rem;
    }
    
    .report-card h4 {
        font-size: 1.1rem;
    }
    
    .report-card i {
        font-size: 2.5rem;
    }
    
    .authority-card .card-header h4 {
        font-size: 1.2rem;
    }
    
    .authority-card .card-header small {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .authority-card .contact-info p {
        font-size: 0.7rem;
    }
    
    .report-card .card-body {
        padding: 20px 15px;
    }
    
    .report-card h4 {
        font-size: 1rem;
    }
}

/* Botón Pagar Servicio en navbar */
.nav-link.btn-pagar {
    background: linear-gradient(135deg, #FF8C42, #E6732E);
    border-radius: 50px;
    padding: 8px 20px !important;
    margin-left: 15px !important;
    transition: all 0.3s ease;
    color: white !important;
    font-weight: 600;
}

.nav-link.btn-pagar:hover {
    background: linear-gradient(135deg, #E6732E, #FF8C42);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
    color: white !important;
}

.nav-link.btn-pagar i {
    margin-right: 8px;
}

/* Responsive para botón de pago */
@media (max-width: 992px) {
    .nav-link.btn-pagar {
        margin: 10px 15px !important;
        text-align: center;
    }
}

/* Test Info Card - Estilo consistente con la página */
.test-info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.test-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.test-info-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-info-header i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.test-info-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.test-info-body {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: #fef9f0;
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    box-shadow: 0 3px 10px rgba(0,98,65,0.2);
}

.provider-info i {
    font-size: 1.3rem;
    color: var(--secondary);
}

.provider-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.datetime-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.datetime-info i {
    font-size: 1.2rem;
    color: var(--primary);
}

.datetime-info span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.test-info-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.test-info-footer small {
    color: var(--gray);
}

.test-info-footer i {
    margin-right: 5px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .test-info-body {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-info, .datetime-info {
        width: 100%;
        justify-content: center;
    }
    
    .test-info-header h4 {
        font-size: 1rem;
    }
    
    .provider-name {
        font-size: 1.1rem;
    }
    
    .datetime-info span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .test-info-header {
        padding: 15px 20px;
    }
    
    .test-info-body {
        padding: 20px;
    }
    
    .provider-info, .datetime-info {
        padding: 10px 20px;
    }
}

/* ================================================ */
/* ESTILOS PARA SERVICIOS EMPRESARIALES */
/* ================================================ */

/* Tarjetas de servicios empresariales */
.service-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
    display: inline-block;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.service-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.service-features li i {
    margin-right: 8px;
    width: 18px;
}

.service-footer {
    margin-top: 10px;
}

.service-footer .badge {
    padding: 6px 12px;
    font-weight: 500;
}

/* Card de servicios empresariales */
.services-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.services-card .card-header {
    background: white;
    border-bottom: 1px solid #eef2f6;
    padding: 25px 30px 15px;
}

.services-card .card-body {
    padding: 30px;
}

/* Beneficios empresariales */
.business-benefits {
    background: linear-gradient(135deg, #e8f5e9 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.business-benefits .benefits-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.business-benefits i {
    color: var(--primary);
}

.business-benefits strong {
    color: var(--dark);
}

.business-benefits .btn-primary {
    white-space: nowrap;
}

/* Responsive para servicios empresariales */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .services-card .card-header {
        padding: 20px;
    }
    
    .services-card .card-body {
        padding: 20px;
    }
    
    .business-benefits {
        flex-direction: column;
        text-align: center;
    }
    
    .business-benefits .benefits-text {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .service-features li {
        font-size: 0.8rem;
    }
    
    .service-footer .badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}