/* ============================================================ */
/* RESET Y BASE                                                 */
/* ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #f8fafc;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a103d;
    margin-bottom: 10px;
}

.section-header h2 i {
    color: #6c2bd9;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* ============================================================ */
/* HEADER                                                       */
/* ============================================================ */
header {
    background: #1a103d;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(26, 16, 61, 0.4);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-nombre {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.slogan {
    font-size: 0.8rem;
    color: #a78bfa;
    font-weight: 300;
    letter-spacing: 1.5px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a78bfa;
    transition: width 0.3s;
}

nav a:hover {
    color: white;
}

nav a:hover::after {
    width: 100%;
}

.menu-hamburguesa {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================================ */
/* HERO                                                         */
/* ============================================================ */
.hero {
    background: linear-gradient(135deg, #1a103d 0%, #3b1f6e 50%, #1a103d 100%);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-contenido {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    height: 130px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h1 span {
    color: #a78bfa;
}

.hero-servicios {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 15px;
    font-size: 1.1rem;
}

.hero-servicios span i {
    color: #a78bfa;
    margin-right: 8px;
}

.hero-eslogan {
    font-size: 2rem;
    color: #a78bfa;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 15px 0 30px;
}

.hero-botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================================ */
/* BOTONES                                                      */
/* ============================================================ */
.btn-principal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6c2bd9;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 43, 217, 0.4);
}

.btn-principal:hover {
    transform: translateY(-3px);
    background: #7c3aed;
    box-shadow: 0 8px 30px rgba(108, 43, 217, 0.6);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-secundario {
    background: #5b21b6;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
}

.btn-secundario:hover {
    background: #6c2bd9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.5);
}

/* ============================================================ */
/* ESTADÍSTICAS                                                 */
/* ============================================================ */
.estadisticas {
    background: white;
    padding: 50px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.grid-estadisticas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card-estadistica {
    text-align: center;
    padding: 20px;
}

.card-estadistica i {
    font-size: 2.5rem;
    color: #6c2bd9;
    margin-bottom: 10px;
}

.card-estadistica .numero {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a103d;
}

.card-estadistica .etiqueta {
    font-size: 0.95rem;
    color: #64748b;
}

/* ============================================================ */
/* SERVICIOS                                                    */
/* ============================================================ */
.servicios {
    padding: 80px 0;
    background: #f8fafc;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-servicio {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 43, 217, 0.15);
    border-color: #6c2bd9;
}

.icono-servicio {
    width: 70px;
    height: 70px;
    background: #ede9fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.card-servicio:hover .icono-servicio {
    background: #6c2bd9;
}

.icono-servicio i {
    font-size: 2rem;
    color: #5b21b6;
}

.card-servicio:hover .icono-servicio i {
    color: white;
}

.card-servicio h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a103d;
}

.card-servicio p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.caracteristicas {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding-left: 0;
}

.caracteristicas li {
    padding: 6px 0;
    color: #475569;
    font-size: 0.9rem;
}

.caracteristicas li i {
    color: #6c2bd9;
    margin-right: 10px;
}

.btn-servicio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c2bd9;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid #6c2bd9;
}

.btn-servicio:hover {
    background: #6c2bd9;
    color: white;
    gap: 12px;
}

/* ============================================================ */
/* VENTAJAS                                                     */
/* ============================================================ */
.ventajas {
    padding: 80px 0;
    background: #ede9fe;
}

.grid-ventajas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card-ventaja {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card-ventaja:hover {
    transform: translateY(-5px);
}

.card-ventaja i {
    font-size: 2.5rem;
    color: #6c2bd9;
    margin-bottom: 15px;
}

.card-ventaja h4 {
    font-size: 1.2rem;
    color: #1a103d;
    margin-bottom: 8px;
}

.card-ventaja p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ============================================================ */
/* COTIZADOR                                                    */
/* ============================================================ */
.cotizador {
    padding: 80px 0;
    background: #f8fafc;
}

.cotizador-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.opciones-servicio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 20px;
}

.opcion-servicio {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.opcion-servicio:hover {
    border-color: #6c2bd9;
    background: #f4f0fa;
}

.opcion-servicio.seleccionado {
    border-color: #6c2bd9;
    background: #ede9fe;
    box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.2);
}

.opcion-servicio i {
    font-size: 1.2rem;
    color: #6c2bd9;
}

.paso-cotizador {
    margin-bottom: 25px;
}

.paso-cotizador label {
    display: block;
    font-weight: 600;
    color: #1a103d;
    margin-bottom: 8px;
}

.campos-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.campo input:focus,
.campo textarea:focus {
    outline: none;
    border-color: #6c2bd9;
}

.campo textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-calcular {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px;
}

/* RESULTADO */
.resultado {
    margin-top: 30px;
    padding: 25px;
    background: #f4f0fa;
    border-radius: 16px;
    border: 2px solid #6c2bd9;
    text-align: center;
}

.resultado-precio {
    margin-bottom: 20px;
}

.etiqueta-precio {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

.precio-final {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #6c2bd9;
}

.nota-precio {
    font-size: 0.75rem;
    color: #94a3b8;
}

.detalle-precio {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    margin: 15px 0;
    border-left: 4px solid #6c2bd9;
}

.detalle-precio p {
    margin: 6px 0;
}

#formSolicitud {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

#formSolicitud h3 {
    margin-bottom: 20px;
    color: #1a103d;
}

#formSolicitud .campos-doble {
    margin-bottom: 15px;
}

/* ============================================================ */
/* TESTIMONIOS                                                  */
/* ============================================================ */
.testimonios {
    padding: 80px 0;
    background: white;
}

.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-testimonio {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.card-testimonio:hover {
    transform: translateY(-5px);
}

.estrellas {
    color: #f59e0b;
    margin-bottom: 12px;
}

.estrellas i {
    margin-right: 2px;
}

.card-testimonio p {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 15px;
    font-style: italic;
}

.cliente .nombre {
    display: block;
    font-weight: 700;
    color: #1a103d;
}

.cliente .empresa {
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================================ */
/* MAPA DE COBERTURA                                            */
/* ============================================================ */
.mapa-cobertura {
    padding: 80px 0;
    background: #f8fafc;
}

.mapa-container {
    max-width: 900px;
    margin: 0 auto;
}

.ciudades-cobertura {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.ciudades-cobertura span {
    background: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a103d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ciudades-cobertura span i {
    color: #6c2bd9;
    margin-right: 6px;
}

/* ============================================================ */
/* CONTACTO                                                     */
/* ============================================================ */
.contacto {
    background: linear-gradient(135deg, #1a103d 0%, #3b1f6e 100%);
    padding: 80px 0;
    color: white;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contacto-info .contacto-logo {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.contacto-slogan {
    font-size: 1.5rem;
    color: #a78bfa;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.contacto-item i {
    width: 24px;
    color: #a78bfa;
    font-size: 1.2rem;
}

.contacto-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contacto-item a:hover {
    color: #a78bfa;
}

.contacto-item span {
    color: rgba(255, 255, 255, 0.8);
}

.redes-sociales {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.redes-sociales a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.redes-sociales a:hover {
    background: #6c2bd9;
    transform: translateY(-3px);
}

.contacto-formulario h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.contacto-formulario p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.contacto-formulario input,
.contacto-formulario textarea {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: inherit;
}

.contacto-formulario input:focus,
.contacto-formulario textarea:focus {
    outline: 2px solid #a78bfa;
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
footer {
    background: #0d0826;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-slogan {
    color: #a78bfa;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 5px 0 10px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col p i {
    color: #a78bfa;
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================================ */
/* BOTONES FLOTANTES                                            */
/* ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.btn-subir {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #6c2bd9;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
}

.btn-subir.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-subir:hover {
    transform: translateY(-5px);
    background: #7c3aed;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 992px) {
    .grid-servicios {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-ventajas {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-testimonios {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 15px;
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin: 8px 0;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu-hamburguesa {
        display: block;
    }

    .grid-estadisticas {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .grid-servicios {
        grid-template-columns: 1fr;
    }

    .grid-ventajas {
        grid-template-columns: 1fr;
    }

    .grid-testimonios {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-eslogan {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .campos-doble {
        grid-template-columns: 1fr;
    }

    .cotizador-wrapper {
        padding: 20px;
    }

    .opciones-servicio {
        flex-direction: column;
    }

    .opcion-servicio {
        width: 100%;
        justify-content: center;
    }

    .ciudades-cobertura {
        gap: 10px;
    }

    .ciudades-cobertura span {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        left: 20px;
    }

    .btn-subir {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-logo {
        height: 90px;
    }

    .hero-servicios {
        flex-direction: column;
        gap: 8px;
    }

    .hero-botones {
        flex-direction: column;
        align-items: center;
    }

    .btn-principal,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .card-estadistica .numero {
        font-size: 2rem;
    }

    .contacto-item {
        flex-wrap: wrap;
    }

    .contacto-formulario h3 {
        font-size: 1.4rem;
    }
}