/* ===============================================
   BUSINESS COMPLIANCE 2026 - VERSIÓN DEFINITIVA
   SIN DEGRADADO - SIN COLOR SÓLIDO DE FONDO
   PARTICLES.js es el ÚNICO fondo del sitio
   Paleta profesional con 6 colores
=============================================== */

:root {
    /* Paleta profesional multicolor */
    --navy: #0A1C3A;
    --gold: #C6A43F;
    --gold-light: #d6b03e;
    --charcoal: #2D2F36;
    --white: #FFFFFF;
    --gray-light: #F5F6F8;
    --coral: #E05A47;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Sombras y efectos */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.15);
    --shadow-glass: 0 8px 32px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background: transparent;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* PARTICLES BACKGROUND - ÚNICO FONDO DEL SITIO */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

/* EFECTO GLASS (fondo semitransparente para legibilidad) */
.glass-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
}

/* TOP BAR */
.top-bar {
    position: relative;
    z-index: 1002;
    background: var(--navy);
    padding: 10px 0;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.social-icons a {
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* HEADER */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* NAVEGACIÓN DESKTOP */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--navy);
    padding: 8px 0;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: var(--gold);
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    list-style: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu > li > a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 8px;
}

.dropdown-menu > li > a:hover {
    background: var(--gray-light);
    color: var(--gold);
}

/* BOTONES WHATSAPP */
.btn-whatsapp-header {
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: 24px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.02);
}

/* HERO SECTION - Glass card sobre particles */
.hero {
    position: relative;
    z-index: 1;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 48px;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.light-text {
    font-weight: 400;
    color: var(--navy);
}

.bold-text {
    font-weight: 800;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 48px;
    color: var(--charcoal);
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 16px 44px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.02);
    gap: 15px;
}

/* SECCIONES GENERALES */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.section:nth-child(even) .glass-card {
    background: rgba(255,255,255,0.97);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--navy);
}

.gold-text {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
    letter-spacing: 1px;
}

.section-divider {
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* NOSOTROS */
.nosotros-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
}

.nosotros-texto {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--charcoal);
}

.btn-secondary-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
}

/* MISIÓN, VISIÓN, VALORES */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.mvv-card {
    padding: 40px 32px;
    text-align: center;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon i {
    font-size: 3rem;
    margin-bottom: 24px;
}

.gold-icon {
    color: var(--gold);
}

.mvv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.valores-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.valores-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}

.valores-list li:before {
    content: "✓";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* SERVICIOS GRID */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.servicio-item {
    padding: 36px 28px;
    text-align: center;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.servicio-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.servicio-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.servicio-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.servicio-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.servicios-whatsapp {
    text-align: center;
    margin-top: 50px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-whatsapp-large:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.02);
}

/* NEWS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 28px;
}

.news-content h3 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 1.3rem;
}

.news-social {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.news-social a {
    text-decoration: none;
    color: var(--charcoal);
    transition: var(--transition);
    font-weight: 500;
}

.news-social a:hover {
    color: var(--gold);
}

/* FAQS */
.faqs-grid {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(198,164,63,0.08);
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.faq-question i {
    transition: var(--transition);
    color: var(--gold);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 28px 24px 28px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 12px;
}

/* AVISOS LEGALES */
.avisos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.aviso-card {
    padding: 36px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 24px;
}

.aviso-card h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.aviso-card h3 i {
    margin-right: 12px;
    color: var(--gold);
}

.aviso-card p {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.aviso-card a {
    color: var(--gold);
    text-decoration: none;
}

.aviso-card a:hover {
    text-decoration: underline;
}

/* FOOTER */
.main-footer {
    position: relative;
    z-index: 1;
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--gold);
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-col h4 i {
    margin-right: 8px;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 12px;
    opacity: 0.85;
}

.footer-col i {
    width: 26px;
    opacity: 0.8;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.75;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.powered-by a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.powered-by a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-legals {
    display: flex;
    gap: 24px;
}

.footer-legals a {
    color: var(--white);
    text-decoration: none;
}

.footer-legals a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    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 5px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--whatsapp-dark);
}

/* MOBILE MENU */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-container {
    padding: 30px 24px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--navy);
    float: right;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav-menu {
    list-style: none;
    margin-top: 60px;
}

.mobile-nav-menu > li {
    border-bottom: 1px solid var(--gray-light);
}

.mobile-nav-menu > li > a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    font-weight: 600;
    color: var(--navy);
}

.mobile-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 500px;
    padding-bottom: 16px;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.btn-whatsapp-mobile {
    display: block;
    background: var(--whatsapp);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    margin-top: 35px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-img {
        max-width: 160px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .btn-whatsapp-header {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legals {
        justify-content: center;
    }
    
    .hero-content {
        padding: 40px 24px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .mvv-grid, .servicios-grid, .news-grid, .avisos-grid {
        gap: 24px;
    }
    
    .nosotros-content {
        padding: 32px 24px;
    }
    
    .servicio-item, .mvv-card, .aviso-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .logo-img {
        max-width: 130px;
    }
    
    .btn-hero-whatsapp {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}