/* ========================================= */
/* 1. CONFIGURACIÓN GLOBAL & VARIABLES       */
/* ========================================= */
:root {
    --neon-blue: #00f2fe;
    --neon-purple: #7000ff;
    --dark-bg: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cyan { color: var(--neon-blue); }

/* ========================================= */
/* 2. NAVEGACIÓN                             */
/* ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
    padding-top: 5px;
    text-decoration: none;
}

.logo-img {
    height: 80px; /* Aumentamos de 50px a 80px */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    padding: 5px 0; /* Espaciado para que no toque los bordes */
    transition: transform 0.3s ease;
}

/* Efecto para que resalte al pasar el mouse */
.logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6));
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 35px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--neon-blue); }

.btn-glow {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border: none;
    padding: 12px 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

/* ========================================= */
/* 3. HERO & SECCIONES GENERALES             */
/* ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    background: #000;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070');
    background-size: cover;
    background-position: center;
}

.hero h1 { font-size: 4.5rem; margin-bottom: 25px; color: #fff; }
.hero p { font-size: 1.3rem; color: #e0e0e0; margin-bottom: 40px; font-weight: 300; }

.cta-container { display: flex; flex-direction: column; align-items: center; gap: 15px; }

.bilingual-badge {
    color: #aaa; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); margin-top: 10px;
}

.bilingual-badge i { color: var(--neon-blue); }

.services, .portfolio, .pricing-section { padding: 120px 10%; background: var(--dark-bg); }

.section-title { text-align: center; margin-bottom: 90px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }
.section-title p { color: #888; max-width: 600px; margin: 0 auto; }
.section-title p strong { color: #fff; font-weight: 600; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card, .tech-card {
    background: var(--glass); padding: 50px 40px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.4s; position: relative; overflow: hidden;
}
.card:hover, .tech-card:hover {
    transform: translateY(-10px); border-color: var(--neon-blue); background: var(--glass-bg);
}
.card i {
    font-size: 2.5rem; color: var(--neon-blue); margin-bottom: 25px;
    background: rgba(0, 243, 255, 0.1); padding: 20px; border-radius: 12px;
}
.card h3, .tech-card h3 { margin-bottom: 15px; font-size: 1.4rem; color: #fff; }
.card p, .tech-card p { color: #aaa; font-size: 1rem; }

.card-image-wrapper { position: relative; height: 250px; width: 100%; overflow: hidden; margin-bottom: 20px; border-radius: 8px; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tech-card:hover .card-image-wrapper img { transform: scale(1.1); }

.status-badge { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.8); color: #00ff88; padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; border: 1px solid #00ff88; }
.status-dot { display: inline-block; width: 8px; height: 8px; background-color: #00ff88; border-radius: 50%; margin-right: 5px; }

.card-actions { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
.action-link { color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.3s; }
.action-link:hover { color: var(--neon-blue); }
.action-link i { font-size: 0.9rem !important; background: none !important; padding: 0 !important; margin: 0 5px 0 0 !important; color: inherit !important; }

/* ========================================= */
/* 4. DIGITAL CARE PLANS (HOSTING)           */
/* ========================================= */
.pricing-section { background: #050505; position: relative; }

.pricing-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto; align-items: stretch;
}

.pricing-card {
    background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 0; 
    text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; overflow: hidden; position: relative;
}

.pricing-card:hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 15px 35px rgba(0, 243, 255, 0.1); }

.pricing-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.plan-header h3 { font-size: 1.4rem; color: var(--neon-blue); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
.price { font-size: 3.5rem; font-weight: 800; color: #fff; margin: 10px 0; font-family: 'Poppins', sans-serif; }
.currency { font-size: 1.5rem; vertical-align: top; color: #888; margin-right: 5px; }
.period { font-size: 1rem; color: #666; font-weight: 400; }
.plan-desc { color: #aaa; font-size: 0.9rem; margin-bottom: 25px; line-height: 1.4; }

.features-list { list-style: none; text-align: left; margin-bottom: 30px; flex-grow: 1; }
.features-list li { margin-bottom: 12px; color: #e0e0e0; font-size: 0.9rem; display: flex; align-items: center; gap: 12px; }
.features-list li i { color: var(--neon-blue); font-size: 0.8rem; }
.features-list li.disabled { color: #444; text-decoration: line-through; }
.features-list li.disabled i { color: #444; }

.btn-pricing {
    display: block; padding: 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: 0.3s; background: rgba(255,255,255,0.03);
}

.btn-pricing:hover { background: #fff; color: #000; box-shadow: 0 0 20px #fff; }

.pricing-card.popular { border: 2px solid var(--neon-blue); background: rgba(0, 243, 255, 0.04); transform: scale(1.05); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 0 40px rgba(0, 243, 255, 0.2); }

.popular-badge {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--neon-blue); 
    color: #000; padding: 6px 20px; border-radius: 0 0 12px 12px; font-size: 0.7rem; font-weight: 800; 
    z-index: 20; box-shadow: 0 4px 10px rgba(0, 243, 255, 0.3); letter-spacing: 1px; white-space: nowrap; 
}

.pricing-card.popular .pricing-body { padding-top: 65px !important; }
.pricing-card.popular .plan-header h3 { margin-top: 10px; }
.pricing-card.popular .btn-pricing { background: var(--neon-blue); color: #000; border: none; }
.pricing-card.popular .btn-pricing:hover { background: #fff; box-shadow: 0 0 25px var(--neon-blue); }

/* ========================================= */
/* 5. FORMULARIO DE CONTACTO                 */
/* ========================================= */
.contact-section { padding: 100px 10%; background: var(--dark-bg); text-align: center; position: relative; }
.contact-container {
    max-width: 700px; margin: 0 auto; background: #0f0f0f; padding: 3rem;
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5); text-align: left;
}
.contact-form { display: block; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.8rem; font-weight: 500; color: #ccc; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 15px; background-color: #050505 !important;
    border: 1px solid #333; border-radius: 8px; font-size: 1rem; font-family: 'Inter', sans-serif;
    color: #fff !important; outline: none; transition: 0.3s;
}
.form-group textarea { resize: vertical; height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 243, 255, 0.1); }
.form-btn { width: 100%; margin-top: 10px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300f3ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #050505 inset !important;
    transition: background-color 5000s ease-in-out 0s; caret-color: white;
}

.form-group input[type="file"] { padding: 10px; background: #050505 !important; border: 1px dashed #444; cursor: pointer; }
.form-group input[type="file"]::file-selector-button {
    margin-right: 15px; padding: 8px 15px; border: none; background: #222; color: #fff; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.form-group input[type="file"]::file-selector-button:hover { background: var(--neon-blue); color: #000; }

/* ========================================= */
/* 6. FOOTER & PARTICLES                     */
/* ========================================= */
footer { padding: 60px 10%; background: #050505; border-top: 1px solid rgba(255,255,255,0.05); }
footer .footer-content { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 30px; }
.payment-methods { text-align: center; }
.payment-methods .icons i { transition: 0.3s; }
.payment-methods .icons i:hover { transform: translateY(-5px); filter: brightness(1.2); }
footer p { color: #666; }

.social-icons { display: flex; gap: 20px; }
.social-link { text-decoration: none; color: #fff; transition: 0.3s ease; }
.social-link i { font-size: 1.5rem; color: #888; transition: 0.3s; }
.social-link:hover i { color: var(--neon-blue); transform: scale(1.2); filter: drop-shadow(0 0 8px var(--neon-blue)); }

.particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: radial-gradient(var(--glass) 1px, transparent 1px), radial-gradient(var(--glass) 1px, transparent 1px);
    background-size: 40px 40px; background-position: 0 0, 20px 20px; opacity: 0.3;
}

.brand-link {
    display: inline-block; color: #fff; text-decoration: none; font-family: 'Poppins', sans-serif;
    font-weight: 800; font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 5px; transition: all 0.3s ease; cursor: pointer;
}
.brand-link:hover { color: var(--neon-blue); text-shadow: 0 0 15px var(--neon-blue); transform: translateX(5px); }
.footer-logo { text-align: left; }

/* ========================================= */
/* 7. RESPONSIVE DESIGN GLOBALES             */
/* ========================================= */
.menu-toggle, .mobile-btn { display: none; }
.desktop-btn { display: block; }

@media screen and (max-width: 768px) {
    nav { padding: 15px 20px; }
    .menu-toggle { display: block; color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2000; }
    .desktop-btn { display: none; }
    .mobile-btn { display: block; margin-top: 30px; width: 80%; font-size: 1.2rem; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(20px); flex-direction: column;
        justify-content: center; align-items: center; transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1500; gap: 10px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { margin: 15px 0; font-size: 1.8rem; font-weight: 700; color: #888; display: block; opacity: 0; transform: translateY(20px); transition: 0.3s; }
    .nav-links.active a { opacity: 1; transform: translateY(0); color: #fff; }
    
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a:hover { color: var(--neon-blue); transform: scale(1.1); }

    .hero h1 { font-size: 2.5rem; }
    .hero p { padding: 0 10px; }
    .services, .portfolio, .pricing-section, .contact-section, footer { padding: 60px 20px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-logo { text-align: center; }
}

/* ========================================= */
/* 8. MENÚ FLOTANTE UNIFICADO (FAB)          */
/* ========================================= */
.fab-wrapper {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 5000;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

/* Ocultar el menú flotante entero cuando el chatbot está abierto */
body.show-chatbot .fab-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8) translateY(20px);
}

.fab-main-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border: none;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.fab-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
}

.fab-main-btn i {
    position: absolute;
    transition: 0.3s ease;
}

.fab-main-btn .close-icon { opacity: 0; transform: rotate(-90deg); }
.fab-main-btn .open-icon { opacity: 1; transform: rotate(0); }

.fab-wrapper.active .fab-main-btn .open-icon { opacity: 0; transform: rotate(90deg); }
.fab-wrapper.active .fab-main-btn .close-icon { opacity: 1; transform: rotate(0); }
.fab-wrapper.active .fab-main-btn { transform: rotate(90deg); background: #ff4d4d; }

.fab-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--neon-blue);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.fab-action:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px var(--neon-blue);
}

.fab-wrapper.active .fab-action {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-tooltip {
    position: absolute;
    right: 65px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    font-weight: 600;
}

.fab-action:hover .fab-tooltip { opacity: 1; right: 60px; }

/* ========================================= */
/* 9. SERVICIOS DESPLEGABLES (ACCORDION)     */
/* ========================================= */
.service-card { cursor: pointer; transition: all 0.4s ease; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.card-header h3 { margin-bottom: 0 !important; flex-grow: 1; margin-left: 15px; text-align: left; }
.card-header i:first-child { margin-bottom: 0 !important; font-size: 2rem; }
.arrow-icon { font-size: 1.2rem !important; color: #666 !important; background: none !important; padding: 0 !important; margin: 0 !important; transition: 0.4s; }

.service-details { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; opacity: 0; }
.details-list { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: left; }
.details-list li { margin-bottom: 10px; color: #ccc; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.details-list li i { color: var(--neon-blue) !important; font-size: 0.8rem !important; background: none !important; padding: 0 !important; margin: 0 !important; width: 20px; }

.service-card.active { background: rgba(255,255,255,0.05); border-color: var(--neon-blue); transform: scale(1.02); }
.service-card.active .service-details { max-height: 500px; opacity: 1; }
.service-card.active .arrow-icon { transform: rotate(180deg); color: var(--neon-blue) !important; }

/* ========================================= */
/* 10. SECCIÓN TEAM                          */
/* ========================================= */
.team-section { padding: 100px 10%; background: #080808; position: relative; }
.founders-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.founder-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 50px 30px; text-align: center; max-width: 380px; width: 100%; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: visible; }
.founder-card:hover { transform: translateY(-15px); background: rgba(255, 255, 255, 0.04); border-color: var(--neon-blue); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }

.founder-img-wrapper {
    width: 160px; height: 160px; margin: -80px auto 30px auto; border-radius: 50%; padding: 4px;
    background: linear-gradient(135deg, var(--neon-blue), #fff, var(--neon-purple)); background-size: 200% 200%;
    animation: gradientMove 3s ease infinite; box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}
.founder-img-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #080808; image-rendering: -webkit-optimize-contrast; filter: contrast(1.05) brightness(1.1); }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.founder-card h3 { color: #fff; font-size: 1.8rem; margin-bottom: 5px; font-weight: 800; }
.founder-card .role { display: inline-block; background: rgba(0, 243, 255, 0.1); color: var(--neon-blue); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(0, 243, 255, 0.2); }
.founder-card .bio { color: #ccc; font-size: 1rem; line-height: 1.6; opacity: 0.9; }

@media screen and (max-width: 768px) { .founders-grid { gap: 60px; margin-top: 80px; } }

/* ========================================= */
/* 11. PRICING PAGE (INVESTMENT PLANS)       */
/* ========================================= */
.pricing-page { background: var(--dark-bg); }
.pricing-hero { padding: 140px 0 40px; text-align: center; }
.pricing-hero h1 { font-size: 3.5rem; margin-bottom: 15px; }

.pricing-nav { display: flex; justify-content: space-between; align-items: center; }
.btn-back {
    background: rgba(255, 255, 255, 0.05); color: #fff !important; padding: 10px 20px; border-radius: 50px;
    border: 1px solid var(--neon-blue); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: 0.3s all ease;
    display: flex; align-items: center; gap: 8px;
}
.btn-back i { font-size: 0.8rem; transition: 0.3s; }
.btn-back:hover { background: var(--neon-blue); color: #000 !important; box-shadow: 0 0 20px var(--neon-blue); transform: translateX(-5px); }
.btn-back:hover i { transform: translateX(-3px); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; padding: 60px 0; align-items: stretch; margin-bottom: 60px; }
.price-card { background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; }
.price-card:hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 15px 35px rgba(0, 243, 255, 0.1); }

.price-card .card-img-wrapper { position: relative; height: 200px; width: 100%; overflow: hidden; border-radius: 20px 20px 0 0; }
.price-card .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: 0.5s; }
.price-card:hover .card-img-wrapper img { opacity: 1; transform: scale(1.1); }

.overlay-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 100%; background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%); pointer-events: none; z-index: 1; }

.card-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.price-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.price-label { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: -5px; }
.price-card.featured .price-label { color: var(--neon-blue); opacity: 0.8; }
.price-card .price { font-size: 3rem; font-weight: 800; color: #fff; margin: 10px 0 20px; font-family: 'Poppins', sans-serif; }
.price-card.featured .price { color: var(--neon-blue); text-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
.price-card .price span { font-size: 1rem; color: #666; margin-left: 5px; }

.features-dropdown { margin-bottom: 25px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(0, 0, 0, 0.3); cursor: pointer; overflow: hidden; transition: 0.3s ease; }
.features-dropdown:hover { border-color: rgba(0, 243, 255, 0.4); background: rgba(0, 243, 255, 0.02); }
.dropdown-header { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #eee; font-size: 0.95rem; }
.dropdown-header i { transition: transform 0.4s ease; color: #888; }
.features-dropdown.open .dropdown-header i { transform: rotate(180deg); color: var(--neon-blue); }
.features-dropdown.open { border-color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 243, 255, 0.1); }
.dropdown-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1); background: rgba(0, 0, 0, 0.5); }
.features { padding: 20px; list-style: none; margin: 0; text-align: left; }
.features li { font-size: 0.85rem; color: #ccc; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.features li i { color: #555; font-size: 0.8rem; width: 15px; text-align: center; }
.price-card.featured .features li i { color: var(--neon-blue); }

.price-card .btn-glow { margin-top: auto; text-align: center; text-decoration: none; padding: 15px; border-radius: 12px; display: block; width: 100%; }
.mt-auto { margin-top: auto !important; }

.price-card.featured { border: 2px solid var(--neon-blue); background: rgba(0, 243, 255, 0.04); transform: scale(1.02); }
.card-tag { position: absolute; top: 15px; right: 15px; background: var(--neon-blue); color: #000; padding: 5px 15px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 0 15px var(--neon-blue); z-index: 10; }

.category-title { text-align: center; margin: 80px 0 40px; font-family: 'Poppins', sans-serif; position: relative; }
.category-title h2 { font-size: 2.2rem; text-transform: uppercase; letter-spacing: 3px; color: #fff; margin-bottom: 10px; }
.category-title .cyan-text { color: var(--neon-blue); text-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
.category-subtitle { color: #888; font-size: 1rem; font-weight: 300; max-width: 600px; margin: 0 auto; }
.category-title h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--neon-blue); margin: 15px auto 0; box-shadow: 0 0 10px var(--neon-blue); border-radius: 2px; }
.first-cat { margin-top: 40px; }

@media screen and (max-width: 768px) {
    .pricing-page .btn-back { display: flex !important; position: relative; right: 0; padding: 8px 15px; font-size: 0.85rem; }
    .pricing-hero { padding: 120px 20px 20px; }
    .pricing-hero h1 { font-size: 2.2rem; }
    .pricing-grid { grid-template-columns: 1fr; padding: 20px; gap: 40px; margin-bottom: 40px;}
    .price-card .price { font-size: 2.5rem; }
    .card-content { padding: 25px 20px; }
    .category-title h2 { font-size: 1.6rem; }
    .category-title { margin: 50px 0 30px; }
}

/* ========================================= */
/* 12. POP-UP PROMOCIONAL Y RESEÑAS          */
/* ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-content { background: rgba(15, 15, 15, 0.95); border: 1px solid var(--neon-blue); border-radius: 20px; padding: 40px; max-width: 450px; width: 90%; text-align: center; position: relative; transform: translateY(30px) scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 15px 50px rgba(0, 243, 255, 0.2); }
.modal-overlay.show .modal-content { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #666; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: #ff4d4d; transform: scale(1.1) rotate(90deg); }
.modal-icon { font-size: 3rem; color: var(--neon-blue); margin-bottom: 20px; filter: drop-shadow(0 0 10px var(--neon-blue)); }
.modal-content h2 { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.modal-content p { color: #aaa; font-size: 1rem; margin-bottom: 30px; line-height: 1.6; }
.modal-content .btn-glow { width: 100%; padding: 15px; font-size: 1.1rem; }

.glass-form-container { background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px; max-width: 550px; margin: 30px auto 0; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); text-align: left; }
.modern-form .form-title { font-size: 1.8rem; color: #fff; margin-bottom: 25px; text-align: center; font-family: 'Poppins', sans-serif; }
.modern-form .form-title span { color: var(--neon-blue); }
.modern-form .input-group { margin-bottom: 20px; }
.modern-form .input-group label { display: block; margin-bottom: 8px; color: #ccc; font-size: 0.9rem; font-weight: 500; }
.modern-form input, .modern-form textarea, .modern-form select { width: 100%; padding: 14px 15px; background-color: #050505; border: 1px solid #333; border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none; transition: all 0.3s ease; }
.modern-form textarea { resize: vertical; min-height: 100px; }
.modern-form input:focus, .modern-form textarea:focus, .modern-form select:focus { border-color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 243, 255, 0.1); background-color: #0a0a0a; }
.btn-cancel { background: transparent; border: 1px solid #444; color: #888; padding: 12px 30px; border-radius: 50px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; transition: 0.3s ease; width: 100%; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;}
.btn-cancel:hover { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: #666; }
@media (min-width: 600px) { .modern-form .form-actions { flex-direction: row !important; justify-content: space-between; gap: 10px;} .modern-form .btn-glow, .modern-form .btn-cancel { width: 48% !important; margin-top: 0;} }

.reviews-slider { position: relative; max-width: 800px; margin: 0 auto; min-height: 250px; display: flex; justify-content: center; align-items: center; }
.review-card { display: none; background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px; width: 100%; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); animation: fadeReview 0.8s ease-in-out forwards; }
.review-card.active { display: block; }
@keyframes fadeReview { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.review-card .stars { color: var(--neon-blue); font-size: 1.2rem; margin-bottom: 20px; letter-spacing: 2px; }
.review-card .review-text { font-size: 1.1rem; font-style: italic; color: #ccc; line-height: 1.8; margin-bottom: 25px; }
.review-card .client-name { color: #fff; font-size: 1.3rem; font-family: 'Poppins', sans-serif; }

/* ========================================= */
/* 13. CHATBOT WIDGET (MODERN GLASS UI)      */
/* ========================================= */
.chatbot {
    position: fixed; right: 35px; bottom: 110px; width: 350px;
    background: rgba(15, 15, 15, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 15px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); overflow: hidden;
    transform: scale(0.5); opacity: 0; pointer-events: none; transition: var(--transition);
    transform-origin: bottom right; z-index: 3999; border: 1px solid rgba(255,255,255,0.1);
}
body.show-chatbot .chatbot { transform: scale(1); opacity: 1; pointer-events: auto; }

.chatbot header {
    background: rgba(0, 242, 254, 0.1); padding: 15px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}
.chatbot header h2 { font-size: 1.1rem; color: #fff; margin: 0; }
.close-chat { color: var(--text-dim); cursor: pointer; transition: var(--transition); }
.close-chat:hover { color: var(--neon-blue); }

.chatbox { height: 350px; overflow-y: auto; padding: 15px; list-style: none; display: flex; flex-direction: column; }
.chatbox::-webkit-scrollbar { width: 5px; }
.chatbox::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.3); border-radius: 10px; }

.chat { display: flex; margin-bottom: 15px; }
.chat-content { display: flex; align-items: flex-end; max-width: 85%; }
.chat p { padding: 12px 16px; border-radius: 10px; margin: 0; font-size: 0.9rem; line-height: 1.4; }
.chat.incoming p { background: rgba(255, 255, 255, 0.05); color: #ddd; border-radius: 10px 10px 10px 0; }
.chat.outgoing { justify-content: flex-end; }
.chat.outgoing .chat-content { flex-direction: row-reverse; }
.chat.outgoing p { background: rgba(0, 242, 254, 0.15); color: #fff; border: 1px solid rgba(0, 242, 254, 0.3); border-radius: 10px 10px 0 10px; }

.bot-avatar {
    height: 30px; width: 30px; color: var(--neon-blue); background: rgba(0, 242, 254, 0.1);
    text-align: center; line-height: 30px; border-radius: 50%; margin-right: 10px; font-size: 0.9rem;
}

.chat-input {
    display: flex; gap: 10px; padding: 15px 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); background: rgba(0, 0, 0, 0.5);
}
.chat-input textarea {
    height: 45px; width: 100%; border: none; outline: none; background: transparent;
    color: #fff; font-family: 'Inter', sans-serif; font-size: 0.95rem; resize: none; padding: 12px 0;
}
#send-btn { color: var(--neon-blue); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; transition: var(--transition); }
#send-btn:hover { transform: scale(1.1); }

@media (max-width: 768px) {
    .chatbot { right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
    .chatbox { height: calc(100% - 130px); }
    .fab-wrapper { bottom: 20px; right: 20px; }
}

/* ========================================= */
/* FIX PARA TRADUCTOR Y DESBORDAMIENTO       */
/* ========================================= */

/* 1. Bloqueo estricto para que la página NUNCA se expanda a la derecha */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}

/* 2. Liberar la altura de los menús desplegables para que el texto traducido quepa sin cortarse */
.service-card.active .service-details,
.features-dropdown.open .dropdown-body {
    max-height: 2500px !important; /* Espacio de sobra para cualquier idioma */
    transition: max-height 0.8s ease-in-out;
}

/* 3. Hacer que la barra de navegación sea elástica en PC si las palabras crecen */
@media screen and (min-width: 769px) {
    nav {
        flex-wrap: wrap; /* Permite que los elementos bajen de línea si no caben */
        gap: 15px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .nav-links a {
        margin-left: 20px; /* Reducimos un poco el margen original (era 35) para que el texto largo quepa mejor */
    }
}

/* ========================================= */
/* 14. ADDONS (PREMIUM ENHANCEMENTS)         */
/* ========================================= */
.addons-section {
    padding: 80px 10%;
    background: var(--dark-bg);
    text-align: center;
}

.addons-header { margin-bottom: 50px; }
.addons-header h2 { font-size: 2.5rem; margin-bottom: 10px; color: #fff; }
.addons-header p { color: #888; font-size: 1rem; }

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.addon-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addon-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.addon-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.addon-card:hover .addon-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.addon-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.addon-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1; /* Empuja el precio hacia abajo */
}

.addon-price {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.addon-price span {
    font-size: 0.8rem;
    color: #666;
    margin-left: 5px;
    font-weight: 400;
}

/* --- ESTADO SELECCIONADO (Carrito dinámico) --- */
.addon-selected {
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.check-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--neon-blue);
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.addon-selected .check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* ========================================= */
/* 15. PREGUNTAS FRECUENTES (FAQ)            */
/* ========================================= */
.faq-section {
    padding: 80px 10%;
    background: var(--dark-bg);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 { font-size: 2.5rem; margin-bottom: 10px; color: #fff; }
.faq-header p { color: #888; font-size: 1rem; }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(0, 243, 255, 0.3);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--neon-blue);
    transition: transform 0.4s ease;
    font-size: 1.1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px; 
}

.faq-answer p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 20px;
    margin: 0;
}

/* --- ESTADO ACTIVO DEL FAQ --- */
.faq-item.active {
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.02);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg); /* Convierte el signo de "+" en una "X" */
    color: #ff4d4d; /* Se pone rojo para indicar "cerrar" */
}

/* --- AJUSTES MÓVILES PARA ESTAS SECCIONES --- */
@media screen and (max-width: 768px) {
    .addons-section, .faq-section {
        padding: 60px 20px;
    }
    .addons-header h2, .faq-header h2 {
        font-size: 2rem;
    }
    .faq-question h4 {
        font-size: 1rem;
        padding-right: 15px;
    }
}