/* ================= VARIABLES GLOBALES ================= */
    :root {
      --brand-dark: #1A2530;   
      --brand-cyan: #00B4D8;   
      --glass-bg: rgba(255, 255, 255, 0.85);
      --glass-border: rgba(26, 37, 48, 0.05); 
      --w: #fcfdfe;
      --n: #1d2d42;
      --f-text: #4a5568;        
      --f-border: #eaeaea;      
      --f-light: #f8fafc;
      --text-main: #1d2d42;
      --title-color: var(--brand-dark);
    }

    body.dark-theme {
      --w: #0a0f18; 
      --n: #f8fafc; 
      --glass-bg: rgba(15, 23, 42, 0.85); 
      --glass-border: rgba(255, 255, 255, 0.1);
      --brand-dark: #f8fafc;
      --f-text: #94a3b8; 
      --f-border: rgba(255,255,255,0.08); 
      --f-light: #1e293b;
      --text-main: #f1f5f9;
      --title-color: #ffffff;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { margin: 0; padding: 0; scroll-behavior: smooth; overflow-x: hidden !important; }
    body { font-family: Inter, sans-serif; color: var(--text-main); background-color: var(--w); transition: background-color 0.4s ease, color 0.4s ease; line-height: 1.9; }
    
    #mainContentWrapper { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 100vw; overflow-x: hidden !important; min-height: 100vh;}

    /* ================= FONDO ESTÁTICO PREMIUM ================= */
    .static-color-background {
      position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      overflow: hidden;
    }
    body.dark-theme .static-color-background { background: linear-gradient(135deg, #0f172a 0%, #020617 100%); }
    
    .static-color-background::before { content: ''; position: absolute; top: -15%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%); border-radius: 50%; }
    .static-color-background::after { content: ''; position: absolute; bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(26, 37, 48, 0.03) 0%, transparent 70%); border-radius: 50%; }
    body.dark-theme .static-color-background::before { background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%); }
    body.dark-theme .static-color-background::after { background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%); }

    /* ================= ENCABEZADO Y MENÚ ================= */
    .enterprise-header-wrapper { position: fixed; top: 25px; left: 0; width: 100%; max-width: 100vw; z-index: 9999; padding: 0 4%; display: flex; justify-content: center; pointer-events: none; font-family: 'Montserrat', sans-serif; }
    .enterprise-nav-bar { width: 100%; max-width: 1350px; height: 76px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 15px 35px rgba(26, 37, 48, 0.08); display: flex; justify-content: flex-end; align-items: center; padding: 0 30px; position: relative; pointer-events: auto; }
    .brand-logo { position: absolute; left: 40px; top: -15px; z-index: 100; text-decoration: none; }
    .brand-logo img { height: 110px; width: auto; filter: drop-shadow(0 10px 20px rgba(26, 37, 48, 0.15)); transition: transform 0.4s ease; }
    .brand-logo:hover img { transform: scale(1.05) translateY(-2px); }
    body.dark-theme .brand-logo img { filter: brightness(0) invert(1); }
    
    .nav-links { display: flex; gap: 12px; align-items: center; }
    .nav-link { color: var(--brand-dark); text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 10px 22px; border: 1.5px solid rgba(26, 37, 48, 0.15); border-radius: 50px; display: flex; align-items: center; gap: 8px; transition: 0.3s; cursor: pointer; }
    .nav-link:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); background-color: rgba(0, 180, 216, 0.04); transform: translateY(-2px); }
    
    .dropdown { position: relative; display: flex; align-items: center; }
    .dropdown-menu { position: absolute; top: 120%; left: 0; background: #ffffff; border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); min-width: 230px; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; padding: 10px 0; z-index: 1000; }
    .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown-menu a { color: var(--brand-dark); text-decoration: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 12px 25px; transition: 0.3s; }
    .dropdown-menu a:hover { background: rgba(0, 180, 216, 0.05); color: var(--brand-cyan); padding-left: 30px; }
    
    body.dark-theme .dropdown-menu { background: #0f172a; border-color: rgba(255,255,255,0.1); }
    body.dark-theme .dropdown-menu a { color: #f8fafc; }
    body.dark-theme .dropdown-menu a:hover { background: rgba(0, 180, 216, 0.15); }

    .theme-toggle { background: none; border: none; font-size: 18px; color: var(--brand-dark); cursor: pointer; padding: 10px; margin: 0 15px; transition: transform 0.3s; }
    .theme-toggle:hover { transform: scale(1.1); color: var(--brand-cyan); }
    body.dark-theme .theme-toggle { color: #f8fafc; }
    
    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; align-items: center; gap: 10px; }
    .menu-text { font-size: 13px; font-weight: 800; color: var(--brand-dark); }
    body.dark-theme .menu-text { color: #f8fafc; }
    .mobile-menu-btn i { font-size: 24px; color: var(--brand-cyan); }
    body.dark-theme .nav-link { color: #f8fafc; border-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.05); }
    body.dark-theme .nav-link:hover { border-color: var(--brand-cyan); background-color: rgba(0, 180, 216, 0.15); }
    body.dark-theme .mobile-active .nav-links { background-color: #0f172a; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.8); }

    @media (max-width: 1024px) {
      .enterprise-header-wrapper { top: 12px; padding: 0 15px; } .enterprise-nav-bar { height: 65px; padding: 0 20px; border-radius: 16px; justify-content: flex-end; } .brand-logo { left: 20px; top: -5px; } .brand-logo img { height: 75px; } .nav-links { display: none; } .mobile-menu-btn { display: flex; }
      .mobile-active .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--w); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; padding: 25px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); gap: 15px; z-index: 10000; }
      .mobile-active .nav-link { width: 100%; justify-content: center; padding: 14px; }
      
      .dropdown { flex-direction: column; width: 100%; align-items: stretch; }
      .dropdown > .nav-link { width: 100%; justify-content: center; } 
      .dropdown-menu { display: none; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0; margin-top: 10px; width: 100%; flex-direction: column; gap: 8px; }
      .dropdown.mobile-expanded .dropdown-menu { display: flex; animation: slideDown 0.3s ease forwards; }
      .dropdown.mobile-expanded > .nav-link i { transform: rotate(180deg); }
      @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
      .dropdown-menu a { background: rgba(0, 180, 216, 0.05); border-radius: 12px; padding: 12px; font-size: 11px; text-align: center; border: 1px solid rgba(0,180,216,0.1); }
      .dropdown-menu a:hover { padding-left: 12px; background: rgba(0, 180, 216, 0.1); }
      body.dark-theme .dropdown-menu { background: transparent; }
      body.dark-theme .dropdown-menu a { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
    }

    /* ================= CONTENIDO PRINCIPAL ================= */
    .content-wrapper { position: relative; z-index: 10; max-width: 850px; margin: 0 auto; padding: 220px 20px 100px; width: 100%; }
    .section-header { margin-bottom: 60px; text-align: center; width: 100%; }
    .section-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 6vw, 60px); line-height: 1.1; margin-top: 15px; color: var(--title-color); transition: color 0.3s ease; }
    .subtitle { font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 6px; font-size: 11px; font-weight: 800; color: var(--brand-cyan); opacity: 0.8; display: block; width: 100%; }

    /* TEXTO INTRODUCTORIO */
    .mp-block { background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); padding: 40px 50px; margin-bottom: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.03); border-radius: 40px 5px 40px 5px; width: 100%; transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); opacity: 1; transform: translateY(0); }
    body.is-live .mp-block.pre-animate { opacity: 0; transform: translateY(40px); }
    body.is-live .mp-block.visible { opacity: 1 !important; transform: translateY(0) !important; }
    .mp-block p { font-size: 17px; text-align: center; line-height: 1.9; color: var(--text-main); }

    /* ================= ACORDEÓN DE PREGUNTAS (FAQ) CORREGIDO ================= */
    .faq-container { display: flex; flex-direction: column; gap: 15px; margin-bottom: 80px; width: 100%; }
    
    .faq-item {
      background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border);
      border-radius: 20px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.02);
      opacity: 1; transform: translateY(0);
    }
    body.is-live .faq-item.pre-animate { opacity: 0; transform: translateY(20px); }
    body.is-live .faq-item.visible { opacity: 1 !important; transform: translateY(0) !important; }
    
    .faq-item:hover { border-color: rgba(0, 180, 216, 0.3); box-shadow: 0 15px 40px rgba(0, 180, 216, 0.08); }

    .faq-question {
      width: 100%; text-align: left; padding: 25px 30px; background: transparent; border: none;
      font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--title-color);
      cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease;
    }
    .faq-question:hover { color: var(--brand-cyan); }
    
    .faq-icon {
      display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
      background: rgba(0, 180, 216, 0.1); border-radius: 50%; color: var(--brand-cyan);
      font-size: 14px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
      flex-shrink: 0; margin-left: 15px;
    }
    .faq-item.active .faq-icon { transform: rotate(135deg); background: var(--brand-cyan); color: #ffffff; }
    
    /* El truco mágico: max-height ahora es controlado por JavaScript para ser fluido */
    .faq-answer {
      max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
      padding: 0 30px; background: rgba(0,0,0,0.015);
    }
    .faq-item.active .faq-answer { padding: 0 30px 30px 30px; }
    
    .faq-answer p { font-size: 15px; line-height: 1.8; color: var(--text-main); margin: 0; text-align: justify; text-justify: inter-word; }

    /* Adaptación FAQ a Dark Mode */
    body.dark-theme .faq-item { background: rgba(15, 23, 42, 0.85); border-color: rgba(255,255,255,0.1); }
    body.dark-theme .faq-answer { background: rgba(0,0,0,0.3); }

    .spacer { height: 100px; width: 100%; }

    @media (max-width: 768px) {
      .content-wrapper { padding: 130px 15px 50px; }
      .mp-block { padding: 30px 20px; border-radius: 20px; margin-bottom: 30px; }
      .faq-question { font-size: 13.5px; padding: 20px; }
      .faq-answer { padding: 0 20px; }
      .faq-item.active .faq-answer { padding: 0 20px 25px 20px; }
      .faq-answer p { font-size: 14px; }
      .faq-icon { width: 25px; height: 25px; font-size: 12px; }
    }

    /* ================= PIE DE PÁGINA (FOOTER) ================= */
    .premium-footer { position: relative; background-color: var(--w); font-family: 'Montserrat', sans-serif; padding: 70px 5% 0px; color: var(--brand-dark); overflow: hidden; border-top: 1px solid var(--f-border); z-index: 10; transition: background-color 0.4s ease; box-sizing: border-box; width: 100%;}
    .premium-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-dark), var(--brand-cyan), var(--brand-dark)); background-size: 200% 100%; animation: gradientMove 5s ease infinite; }
    @keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
    .pf-container { max-width: 1280px; margin: 0 auto; box-sizing: border-box; }
    .pf-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.5fr 1.2fr 1.5fr; gap: 30px; margin-bottom: 40px; align-items: start; }
    .pf-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--n); margin-bottom: 20px; text-align: left; }
    .pf-col ul { list-style: none; padding: 0; margin: 0; text-align: left; }
    .pf-col ul li { margin-bottom: 12px; }
    .pf-link { font-size: 13px; font-weight: 500; color: var(--f-text); text-decoration: none; position: relative; transition: color 0.3s ease; display: inline-block; padding-bottom: 2px; }
    .pf-link::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background-color: var(--brand-cyan); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .pf-link:hover { color: var(--n); }
    .pf-link:hover::after { width: 100%; }
    .pf-logo-col img { height: 55px; width: auto; margin-bottom: 25px; transition: transform 0.3s ease; }
    .pf-socials { display: flex; gap: 10px; justify-content: flex-start; }
    .pf-social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--f-light); color: var(--n); text-decoration: none; font-size: 16px; transition: all 0.3s ease; }
    .pf-social-btn:hover { background: var(--brand-cyan); color: #ffffff; transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2); }
    .pf-contact { text-align: right; }
    .pf-contact .pf-title { text-align: right; }
    .pf-contact p { font-size: 13px; font-weight: 500; color: var(--f-text); line-height: 1.6; margin-bottom: 20px; text-align: right; }
    .pf-contact strong { color: var(--n); display: block; margin-bottom: 5px; font-weight: 700; }
    .pf-contact-link { color: var(--n); font-weight: 600; text-decoration: none; transition: color 0.3s ease; }
    .pf-contact-link:hover { color: var(--brand-cyan); }
    .pf-indicators-bar { background-color: var(--f-light); border-radius: 8px; padding: 15px 20px; display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 30px; font-size: 13px; color: var(--n); border: 1px solid var(--f-border); flex-wrap: wrap; transition: background-color 0.4s ease; }
    .pf-indicator-item { display: flex; align-items: center; gap: 8px; }
    .pf-indicator-item i { color: var(--brand-cyan); }
    .live-ticker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #10b981; letter-spacing: 1px; }
    .live-dot { width: 8px; height: 8px; border-radius: 50%; background-color: #10b981; animation: pulseDot 2s infinite; }
    @keyframes pulseDot { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
    .pf-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 25px; padding-bottom: 70px; border-top: 1px solid var(--f-border); font-size: 13px; color: var(--f-text); box-sizing: border-box; }
    .pf-bottom a { color: var(--f-text); text-decoration: none; transition: color 0.3s ease; }
    .pf-bottom a:hover { color: var(--brand-cyan); }

    @media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } .pf-contact, .pf-contact .pf-title { text-align: left; } .pf-contact p { text-align: left; } }
    @media (max-width: 768px) { .pf-grid { display: flex; flex-direction: column; gap: 40px; align-items: center; } .premium-footer { padding: 50px 5% 0px; } .pf-logo-col { display: flex; flex-direction: column; align-items: center; text-align: center; } .pf-socials { justify-content: center; } .pf-title { text-align: center; font-size: 14px; margin-bottom: 25px; } .pf-col { width: 100%; text-align: center; } .pf-col ul { text-align: center; } .pf-col ul li { margin-bottom: 18px; } .pf-contact, .pf-contact .pf-title { text-align: center; } .pf-contact p { text-align: center; } .pf-indicators-bar { flex-direction: column; gap: 15px; text-align: center; padding: 20px 15px; } .pf-bottom { flex-direction: column; gap: 20px; text-align: center; line-height: 1.6; padding-bottom: 25px; } }
