/* ================= 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);
      --video-overlay: rgba(245, 247, 250, 0.85); 
    }

    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;
      --video-overlay: rgba(10, 15, 24, 0.92);
    }

    * { 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; }
    
    body:not(.is-live) #mainContentWrapper { min-height: 2200px !important; }
    #mainContentWrapper { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 100vw; min-height: 100vh; overflow-x: hidden !important; }

    /* ================= FONDO ARQUITECTÓNICO ================= */
    .static-background-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; overflow: hidden; background-color: #1A2530;}
    .static-background { width: 100%; height: 100%; object-fit: cover; opacity: 0.9;}
    .video-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--video-overlay); z-index: -1; transition: background-color 0.4s ease; }
    /* ================= ENCABEZADO PORTAL ARRENDATARIOS ================= */
    .enterprise-header-wrapper { position: fixed; top: 45px; 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); 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; transition: background 0.4s, border-color 0.4s; }
    .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: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 10px 18px; border-radius: 50px; transition: 0.3s; cursor: pointer; border: 1.5px solid transparent; }
    .nav-link:hover { color: var(--brand-cyan); background-color: rgba(0, 180, 216, 0.05); }
    .nav-link.active-section { color: var(--brand-cyan); border-color: rgba(0, 180, 216, 0.3); background-color: rgba(0, 180, 216, 0.05); }
    .btn-login { background: var(--brand-dark); color: #ffffff !important; border: 1.5px solid var(--brand-dark); display: flex; align-items: center; gap: 8px; cursor: default; opacity: 0.9; }
    .btn-login:hover { transform: none; }
    .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; }

    @media (max-width: 1024px) {
      .enterprise-header-wrapper { top: 25px; 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(--glass-bg); border: 1px solid var(--f-border); 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; text-align: center; }
    }

    /* ================= CONTENIDO PRINCIPAL ================= */
    .content-wrapper { position: relative; z-index: 10; max-width: 1100px; margin: 0 auto; padding: 160px 20px 100px; width: 100%; flex-grow: 1; }

    /* ================= COMPONENTE DE REQUISITOS ================= */
    .req-card {
      width: 100%;
      background: var(--glass-bg);
      backdrop-filter: blur(15px);
      border: 1px solid var(--glass-border);
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.05);
      transition: all 0.4s ease;
      opacity: 1; transform: translateY(0);
    }
    body.is-live .req-card.pre-animate { opacity: 0; transform: translateY(40px); }
    body.is-live .req-card.visible { opacity: 1; transform: translateY(0); }

    .req-head {
      padding: 50px 50px 30px 50px;
      border-bottom: 1px solid var(--f-border);
      text-align: center;
    }
    
    .req-head h1 {
      margin: 0;
      font-family: 'Playfair Display', serif;
      font-size: clamp(32px, 5vw, 48px);
      color: var(--title-color);
      line-height: 1.1;
    }
    
    .req-sub {
      margin: 15px 0 0 0;
      font-family: 'Montserrat', sans-serif;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-size: 11px;
      font-weight: 800;
      color: var(--brand-cyan);
    }

    .req-base {
      padding: 40px 50px 0 50px;
    }
    
    .req-base h3 {
      margin: 0 0 15px 0;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--title-color);
    }
    
    .req-base ul { list-style: none; margin: 0; padding: 0; }
    
    .req-base li {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 16px;
      color: var(--text-main);
      background: rgba(0, 180, 216, 0.05);
      border: 1px solid rgba(0, 180, 216, 0.15);
      padding: 18px 25px;
      border-radius: 16px;
    }
    .req-base li i { color: var(--brand-cyan); font-size: 20px; }

    .req-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
      padding: 30px 50px;
    }
    
    .req-box {
      border: 1px solid var(--f-border);
      border-radius: 20px;
      padding: 30px 25px;
      background: rgba(255,255,255,0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .req-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.05);
      border-color: rgba(0, 180, 216, 0.3);
    }
    
    .req-box h3 {
      margin: 0 0 20px 0;
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      color: var(--title-color);
      border-bottom: 1px solid var(--f-border);
      padding-bottom: 15px;
    }
    
    .req-box ul { list-style: none; margin: 0; padding: 0; }
    
    .req-box li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin: 14px 0;
      color: var(--text-main);
      font-size: 14px;
      line-height: 1.5;
    }
    
    .req-box li i {
      color: var(--brand-cyan);
      font-size: 15px;
      margin-top: 3px;
      width: 20px; 
      text-align: center;
      flex-shrink: 0;
    }

    /* ENLACES MINI-BOTONES PARA REPORTES */
    .report-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 800;
      color: var(--brand-cyan);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 6px;
      background: rgba(0, 180, 216, 0.08);
      padding: 6px 12px;
      border-radius: 6px;
      border: 1px solid rgba(0, 180, 216, 0.2);
      transition: all 0.2s ease;
    }
    .report-link:hover {
      background: var(--brand-cyan);
      color: #ffffff;
    }
    
    .link-group {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .req-note { padding: 0 50px 20px 50px; }
    
    .req-note p {
      margin: 0;
      background: rgba(26, 37, 48, 0.03);
      border-left: 4px solid var(--brand-dark);
      padding: 15px 20px;
      border-radius: 0 12px 12px 0;
      font-size: 14px;
      color: var(--text-main);
      line-height: 1.6;
    }

    @media (max-width: 900px) {
      .req-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
      .req-head, .req-base, .req-note { padding-left: 20px; padding-right: 20px; }
    }

    /* MODO OSCURO */
    body.dark-theme .req-box { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.05); }
    body.dark-theme .req-box h3 { border-bottom-color: rgba(255,255,255,0.1); }
    body.dark-theme .req-note p { background: rgba(0,0,0,0.3); border-left-color: var(--brand-cyan); color: rgba(255,255,255,0.8); }
    body.dark-theme .req-head { border-bottom-color: rgba(255,255,255,0.1); }

    /* ================= PIE DE PÁGINA (FOOTER) ================= */
    .premium-footer { margin-top: auto; 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: 20; 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-logo-col img:hover { transform: scale(1.02); }
    .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; } }
