/* =========================================
   1. RESET Y BASE
   ========================================= */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

main {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* =========================================
   2. HEADER (MENÚ APPLE)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    transition: height 0.3s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.apple-nav {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-mobile-centrado, .menu-toggle { display: none; }

.nav-list {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link, .nav-link-icon {
    text-decoration: none !important;
    color: #d6d6d6 !important;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
}
.nav-link:hover, .nav-link-icon:hover { color: #ffffff !important; }

.nav-link-icon svg {
    fill: currentColor;
    width: 15px;
    height: 44px;
    display: block;
    margin: 0 auto;
}

/* =========================================
   3. RESPONSIVE MOBILE
   ========================================= */
@media (max-width: 768px) {
    .header.active { height: 100vh; background-color: #000000; }
    
    .logo-mobile-centrado {
        display: flex !important;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        height: 44px;
        z-index: 2000;
        align-items: center;
        pointer-events: none;
    }
    .logo-mobile-centrado a { pointer-events: auto; }
    .logo-mobile-centrado svg { width: 18px; }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 12px;
        position: absolute;
        right: 20px;
        top: 16px;
        z-index: 2000;
        cursor: pointer;
    }
    .bar { height: 1px; width: 100%; background-color: #fff !important; }

    .header.active .bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
    .header.active .bar:nth-child(2) { transform: translateY(-5.5px) rotate(-45deg); }

    .nav-list {
        position: absolute;
        top: 0; left: 0; width: 100%;
        flex-direction: column;
        padding: 80px 40px 0 40px !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
    }
    .header.active .nav-list { opacity: 1; visibility: visible; }
    
    .logo-desktop-item, .search-icon-item { display: none !important; }
    
    .nav-item { border-bottom: 1px solid #333; padding: 15px 0; width: 100%; }
    .nav-link { font-size: 17px; color: #f5f5f7 !important; }
}

/* =========================================
   4. HERO SECTION WIT
   ========================================= */
.hero-wit-banner {
    position: relative;
    background-image: url('images/soporte-tecnico-ciberseguridad-telefonia-IP-cableado-estructurado.png');
    background-color: #000; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 25vh; 
    margin: 0 !important;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-wit-banner .container { position: relative; z-index: 2; }
.hero-wit-banner h1, .hero-wit-banner p { margin-top: 0; margin-bottom: 1rem; }

.hero-wit-banner h2, 
.hero-wit-banner .hero-subtitle {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9); 
    font-weight: 400 !important;
}

/* Divisores Bootstrap */
.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    width: 100%;
    margin: 0;
}

/* =========================================
   5. COMPONENTES HERO
   (Migrados de inline styles — #5)
   ========================================= */

.hero-trust-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* =========================================
   6. SECCIÓN NOSOTROS
   (Migrados de inline styles — #5)
   ========================================= */

.ls-2 { 
    letter-spacing: 2px; 
}

.h-line-center { 
    width: 60px; 
    height: 3px; 
    margin: 0 auto; 
    border-radius: 2px; 
}

.border-glass { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.edge-card:hover { 
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(41, 151, 255, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.accent-glow:hover {
    box-shadow: 0 0 30px rgba(41, 151, 255, 0.1);
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   7. ANIMACIONES
   ========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entry {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); transform: scale(1); }
}

.btn-primary.pulse-effect {
    animation: pulse-glow 2s infinite;
}

/* =========================================
   8. BOTONES
   ========================================= */

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.shadow-blue {
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.btn-white-pill {
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    padding: 10px 25px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-white-pill:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

/* =========================================
   9. LOGO
   ========================================= */

.logo-img {
    height: 44px;
    width: auto;
    max-width: 100px;
    padding: 11px 0;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img { padding: 10px 0; }
}

/* =========================================
   10. BENTO GRID
   ========================================= */

.bg-black { background-color: #000000; }

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 280px);
    }
    .item-large { grid-column: span 2; grid-row: span 2; }
    .item-tall { grid-column: span 1; grid-row: span 2; }
    .item-wide { grid-column: span 2; }
}

.bento-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.bg-gradient-tech {
    background: linear-gradient(135deg, #0f1123 0%, #001f3f 100%);
}

.bg-image-panama {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)), 
                url('images/panama-city-dark.png');
    background-size: cover;
    background-position: center;
}

.bg-image-rack {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2)), 
                url('images/rack-servidores-ordenado.png');
    background-size: cover;
    background-position: center;
}

.bg-image-datos-disco-duro {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2)), 
                url('images/recuperacion-datos-disco-duro-panama.jpg');
    background-size: cover;
    background-position: center;
}

.bg-image-disco-ssd-laptops {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2)), 
                url('images/cambio-disco-ssd-laptops-panama.jpg');
    background-size: cover;
    background-position: center;
}

.bg-image-soporte-tecnico-hibrido {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2)), 
                url('images/soporte-tecnico-hibrido-remoto-presencial-panama.jpg');
    background-size: cover;
    background-position: center;
}

.bg-image-panda-adaptive-defense-360 {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2)), 
                url('images/antivirus-corporativo-panda-adaptive-defense-360-panama.jpg');
    background-size: cover;
    background-position: center;
}

.bg-image-panama, .bg-image-rack {
    background-color: #1a1a1a;
}

.text-gradient-blue {
    background: -webkit-linear-gradient(#4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: -webkit-linear-gradient(#43e97b, #38f9d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   11. TESTIMONIOS / LOGO SLIDER
   ========================================= */

.bg-dark-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.review-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #161616;
}

.avatar {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.text-warning { color: #ffc107 !important; }

.logo-slider {
    height: 260px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #000;
    padding: 30px 0;
}

.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, #000 0%, rgba(0,0,0,0) 100%);
    content: "";
    height: 260px;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::after { right: 0; top: 0; transform: rotate(180deg); }
.logo-slider::before { left: 0; top: 0; }

.logo-slide-track {
    animation: scroll 50s linear infinite;
    display: flex;
    width: calc(540px * 22);
}

.slide {
    height: 200px;
    width: 500px;
    background-color: #ffffff;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.slide img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-540px * 11)); } 
}

@media (max-width: 768px) {
    .logo-slider { height: 140px; }
    
    .slide { 
        height: 100px;
        width: 250px;
        margin: 0 10px;
    }
    
    .logo-slide-track { 
        width: calc(270px * 22);
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-270px * 11)); } 
    }
}

/* =========================================
   12. CONTACTO
   ========================================= */

.glow-blob {
    position: absolute;
    top: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    transform: translate(30%, -50%);
    z-index: 1;
    pointer-events: none;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-form-container {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glass-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
}

.glass-input:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #2997ff !important;
    box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.2) !important;
    color: #fff !important;
}

.custom-floating label {
    color: rgba(255, 255, 255, 0.5);
}
.custom-floating .form-control:focus ~ label,
.custom-floating .form-control:not(:placeholder-shown) ~ label {
    color: #2997ff;
    opacity: 1;
}

.glass-input option {
    background-color: #000;
    color: #fff;
}

/* =========================================
   13. POP-UP DE ÉXITO
   ========================================= */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.popup-content {
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(40, 167, 69, 0.3);
    box-shadow: 0 0 50px rgba(40, 167, 69, 0.2);
}

.success-icon svg {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* =========================================
   14. PROYECTOS
   ========================================= */

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 350px; 
}

.project-large { height: 450px; }
.project-tall { height: 450px; }

@media (max-width: 768px) {
    .project-large, .project-tall, .project-card { height: 300px; }
}

.project-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.project-card:hover .project-bg { transform: scale(1.1); }
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 100%);
}
.project-card:hover .project-content { transform: translateY(0); }
.project-card:hover .project-desc { max-height: 100px; opacity: 1; }

/* =========================================
   15. PLANES
   ========================================= */

.glow-spot-top {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
}

.pricing-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    background: #161616;
    transform: translateY(-5px);
}

.popular-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(41, 151, 255, 0.5);
    box-shadow: 0 0 30px rgba(41, 151, 255, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.popular-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 50px rgba(41, 151, 255, 0.25);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2997ff;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(41, 151, 255, 0.4);
}

.pricing-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .popular-card { transform: scale(1); margin: 20px 0; }
    .popular-card:hover { transform: translateY(-5px); }
}

/* =========================================
   16. SERVICIOS
   ========================================= */

.service-section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.service-glow-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(41, 151, 255, 0.08) 0%, rgba(0,0,0,0) 50%),
                radial-gradient(circle at 80% 30%, rgba(41, 151, 255, 0.05) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    pointer-events: none;
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
}

.service-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 15px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.tab-icon-box {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-tab-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(41, 151, 255, 0.3);
    transform: translateX(5px);
}

.service-tab-btn.active {
    background: rgba(41, 151, 255, 0.1) !important;
    border-color: #2997ff !important;
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.15);
}

.service-tab-btn.active .tab-icon-box {
    background: #2997ff;
    color: white;
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.4);
}

.services-display-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: #000;
}

.service-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    display: flex; align-items: flex-end;
}

.service-content.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.service-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 6s ease;
}
.service-content.active .service-bg-img { transform: scale(1); }

.service-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #000000 10%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.service-details {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 40px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.service-content.active .service-details {
    transform: translateY(0);
    opacity: 1;
}

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

@media (max-width: 992px) {
    .services-display-container { height: auto; min-height: 650px; }
    .service-tab-btn { padding: 15px; margin-bottom: 5px; }
    .two-column-list { grid-template-columns: 1fr; }
    .service-details h3 { font-size: 1.8rem; }
}

/* =========================================
   17. FAQ
   ========================================= */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item.accordion-item {
    background: #111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.faq-item.accordion-item:hover {
    border-color: rgba(41, 151, 255, 0.35) !important;
    transform: translateY(-2px);
}

.faq-btn.accordion-button {
    background: #111 !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    padding: 20px 24px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-align: left;
}

.faq-btn.accordion-button::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #2997ff;
    background-image: none !important;
    width: auto;
    height: auto;
    transform: none !important;
    transition: content 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.faq-btn.accordion-button:not(.collapsed)::after {
    content: '−';
    background-image: none !important;
    transform: none !important;
    color: #2997ff;
}

.faq-btn.accordion-button:not(.collapsed) {
    background: #111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.faq-btn.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.faq-body.accordion-body {
    background: #111 !important;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.75;
    padding: 0 24px 22px 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.faq-body strong { color: #ffffff; }

@media (max-width: 768px) {
    .faq-btn.accordion-button { font-size: 14px; padding: 16px 18px !important; }
    .faq-body.accordion-body  { padding: 0 18px 18px 18px !important; font-size: 13px; }
}

/* =========================================
   18. FOOTER
   ========================================= */

.footer-text, .footer-legal {
    color: #a1a1a6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-legal { font-size: 0.75rem; }

.fs-7 { font-size: 0.8rem; }
.letter-spacing-1 { letter-spacing: 1px; }

.footer-links li { margin-bottom: 10px; }

.footer-links a, 
.footer-link-contact {
    color: #a1a1a6;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover, 
.footer-link-contact:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: #2997ff;
    color: white;
    transform: translateY(-3px);
    border-color: #2997ff;
}

.footer-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   19. SCROLL Y NAVEGACIÓN
   ========================================= */

section {
    scroll-margin-top: 80px; 
}

.nav-item.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}

.dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #333;
    color: #00AEEF;
}

.nav-item.dropdown:hover .dropdown-menu { display: block; }

/* =========================================
   20. WHATSAPP FLOTANTE
   ========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    color: #25d366;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: #25d366;
    color: white;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* =========================================
   21. WIT CARD (Servicios)
   ========================================= */

.wit-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.wit-card:hover {
    border-color: rgba(41, 151, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.wit-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================================
   22. EDGE CARD (Nosotros)
   ========================================= */

.edge-icon {
    display: flex;
    align-items: center;
}
