/* =========================================
   INFININET.SAS — CINEMATIC DARK EDITION
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --primary-blue: #0077ff;
    --accent-magenta: #d91b5c;
    --accent-orange: #f26522;
    --neon-cyan: #00e5ff;
    --bg-dark: #020614;
    --text-color: #f0f4ff;
    --gradient-logo: linear-gradient(90deg, #0077ff, #d91b5c, #f26522);
    --gradient-glow: linear-gradient(135deg, rgba(0,119,255,0.15), rgba(217,27,92,0.1));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 119, 255, 0.4);
    --shadow-3d: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
    --glow-blue: 0 0 40px rgba(0, 119, 255, 0.3);
    --glow-magenta: 0 0 40px rgba(217, 27, 92, 0.3);
}

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    cursor: default;
}

/* CURSOR PERSONALIZADO */
body { cursor: none; }
.custom-cursor {
    width: 12px;
    height: 12px;
    background: var(--accent-magenta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
}
.custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(217,27,92,0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.15s ease, width 0.3s, height 0.3s;
}

/* NOISE TEXTURE OVERLAY */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
    opacity: 0.4;
}

/* AMBIENT LIGHT ORBS */
.ambient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,119,255,0.12), transparent 70%);
    top: -200px; left: -200px;
    animation-delay: 0s;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(217,27,92,0.1), transparent 70%);
    bottom: -150px; right: -150px;
    animation-delay: -7s;
}
.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,229,255,0.07), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation-delay: -3s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

img { display: block; max-width: 100%; height: auto; }

:focus-visible {
    outline: 2px solid var(--accent-magenta);
    outline-offset: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

canvas.vanta-canvas {
    position: fixed !important;
    top: 0; left: 0;
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   HEADER / NAV
   ========================================= */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10001;
}

.brand-logo { height: 45px; border-radius: 5px; }

.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: white;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(240,244,255,0.7);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-magenta);
    transition: width 0.3s ease;
    box-shadow: var(--glow-magenta);
}

.nav-menu a:hover {
    color: white;
    text-shadow: 0 0 20px rgba(217, 27, 92, 0.6);
}

.nav-menu a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =========================================
   MAIN VIEW CONTAINER
   ========================================= */
#view-container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    min-height: 100vh;
}

.window, .hero-window, .bg-alt, .features-highlights {
    background: transparent;
}

/* =========================================
   GRILLAS
   ========================================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.care-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-grid { margin-bottom: 4rem; }
.testimonial-grid { margin-top: 3rem; }

/* =========================================
   TARJETAS GLASSMORPHISM CINEMATOGRÁFICO
   ========================================= */
.plan-card,
.care-item,
.contact-card,
.feature-item,
.testimonial-card,
.tv-card,
.support-box,
.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

/* Shine sweep en hover */
.plan-card::before,
.contact-card::before,
.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
    transition: left 0.6s ease;
    pointer-events: none;
}

.plan-card:hover::before,
.contact-card:hover::before,
.feature-item:hover::before {
    left: 120%;
}

.plan-card:hover,
.feature-item:hover,
.contact-card:hover {
    transform: translateY(-12px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-3d), var(--glow-blue);
}

.plan-card.featured {
    border: 1px solid var(--accent-magenta);
    box-shadow: var(--shadow-3d), var(--glow-magenta);
    transform: scale(1.03);
}

.plan-card.featured:hover {
    transform: translateY(-12px) scale(1.03);
}

/* =========================================
   TIPOGRAFÍA
   ========================================= */
h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

h1 span {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-gradient {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
    margin: 1rem 0;
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
}

.price span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.6;
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    background: rgba(217, 27, 92, 0.12);
    border: 1px solid rgba(217, 27, 92, 0.3);
    color: var(--accent-magenta);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #0055cc);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 119, 255, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-magenta), #b01048);
    color: white;
    box-shadow: 0 8px 24px rgba(217, 27, 92, 0.35);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--glow-blue);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    border-radius: 10px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-window {
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 60px 0 80px;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.75;
    max-width: 520px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* LOGO HERO */
.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-hero {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 119, 255, 0.5)) drop-shadow(0 0 80px rgba(217, 27, 92, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

/* ORBITAL RINGS */
.orbit-circle, .orbit-circle-2 {
    position: absolute;
    border: 1px solid transparent;
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

.orbit-circle {
    width: 320px;
    height: 320px;
    border-color: rgba(217, 27, 92, 0.2);
    border-style: dashed;
    box-shadow: 0 0 20px rgba(217, 27, 92, 0.1) inset;
}

.orbit-circle-2 {
    width: 440px;
    height: 440px;
    border-color: rgba(0, 119, 255, 0.15);
    animation-duration: 20s;
    animation-direction: reverse;
}

/* Puntos en las órbitas */
.orbit-circle::before, .orbit-circle-2::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-circle::before { background: var(--accent-magenta); box-shadow: var(--glow-magenta); }
.orbit-circle-2::before { background: var(--primary-blue); box-shadow: var(--glow-blue); }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* VELOCÍMETRO */
.speed-meter {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 130px;
    height: 130px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    border: 1px solid rgba(0, 119, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--glow-blue), inset 0 0 20px rgba(0, 119, 255, 0.05);
}

.speed-text {
    text-align: center;
}

#speed-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
    line-height: 1;
    display: block;
}

.speed-text small {
    font-size: 0.65rem;
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   FEATURES
   ========================================= */
.features-highlights {
    padding: 80px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
}

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0,119,255,0.5));
}

.feature-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
    padding: 80px 0;
}

.testimonial-card {
    padding: 2.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--accent-magenta);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author strong {
    display: block;
    color: white;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-counter {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: inline-block;
    background: var(--glass-bg);
}

.social-stat strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--accent-magenta);
    text-shadow: var(--glow-magenta);
}

/* =========================================
   PLANES / SERVICIOS
   ========================================= */
.popular-tag {
    display: inline-block;
    background: var(--accent-magenta);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: var(--glow-magenta);
}

.plan-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.speed-upgrade {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.old-speed {
    opacity: 0.4;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.new-speed {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
    letter-spacing: 1px;
}

.arrow { opacity: 0.4; }

.features {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.features li {
    font-size: 0.9rem;
    opacity: 0.8;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-magenta);
}

/* TV ADDON */
.tv-addon-container {
    margin-top: 3rem;
}

.tv-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border: 1px dashed rgba(0,119,255,0.3);
    gap: 2rem;
    background: rgba(0,119,255,0.03);
}

.tv-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--primary-blue);
}

.tv-price strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--accent-magenta);
    text-shadow: var(--glow-magenta);
    display: block;
    line-height: 1;
    letter-spacing: 2px;
}

.tv-price span {
    font-size: 0.75rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   ATENCIÓN AL CLIENTE / PQR
   ========================================= */
.pqr-form {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.pqr-form input,
.pqr-form select,
.pqr-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 0.95rem;
}

.pqr-form input:focus,
.pqr-form select:focus,
.pqr-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: var(--glow-blue);
    outline: none;
}

.pqr-form select option { background: #020614; }

.support-card-mini {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(0,119,255,0.06);
    border: 1px solid rgba(0,119,255,0.2);
    margin-top: 1rem;
}

.support-card-mini h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 0.3rem;
}

.support-card-mini p {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.06);
    border: 1px solid rgba(40, 167, 69, 0.2);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #28a745;
}

.dot-online {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
    animation: pulseGreen 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 5px rgba(40,167,69,0.6); }
    50% { box-shadow: 0 0 15px rgba(40,167,69,1); }
}

/* =========================================
   FAQ NOSOTROS
   ========================================= */
.about-identity {
    padding: 60px 0;
}

.about-text { padding-right: 2rem; }

.about-text p {
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.logo-about {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(217,27,92,0.4)) drop-shadow(0 0 120px rgba(0,119,255,0.3));
    animation: heroFloat 8s ease-in-out infinite;
}

.separator {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 2rem 0 4rem;
}

.faq-section { padding-bottom: 60px; }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.8rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-magenta); }

.faq-question span {
    color: var(--accent-magenta);
    font-size: 1.4rem;
    font-family: 'Bebas Neue', sans-serif;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.8rem;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                padding 0.3s ease;
    opacity: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(240,244,255,0.7);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.8rem 1.5rem;
    opacity: 1;
}

.faq-item.active {
    border-color: rgba(0,119,255,0.3);
    box-shadow: var(--glow-blue), var(--shadow-3d);
}

/* =========================================
   CONTACTO
   ========================================= */
.contact-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0,119,255,0.5));
}

.contact-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 1rem 0 1.5rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.contact-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0,229,255,0.5);
}

.final-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    filter: drop-shadow(0 0 20px rgba(217,27,92,0.3));
}

.social-links {
    font-weight: 600;
    opacity: 0.4;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* =========================================
   ANIMACIONES DE ENTRADA CINEMATOGRÁFICAS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays para listas */
.plan-card:nth-child(1) { transition-delay: 0s; }
.plan-card:nth-child(2) { transition-delay: 0.1s; }
.plan-card:nth-child(3) { transition-delay: 0.2s; }
.plan-card:nth-child(4) { transition-delay: 0.3s; }

.feature-item:nth-child(1) { transition-delay: 0s; }
.feature-item:nth-child(2) { transition-delay: 0.15s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }

/* TEXT GLITCH EFFECT */
@keyframes glitchText {
    0%, 90%, 100% { text-shadow: none; clip-path: none; }
    91% { text-shadow: 3px 0 var(--accent-magenta); clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
    93% { text-shadow: -3px 0 var(--primary-blue); clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
    95% { text-shadow: none; clip-path: none; }
}

/* LIVE INDICATOR */
.live-indicator {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.dot {
    height: 7px;
    width: 7px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* CARD ICON */
.card-header-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(0,119,255,0.6));
}

/* UTILIDADES */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-2 { margin-top: 1rem; }
.img-fluid { border-radius: 20px; }

.support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pqr-container, .support-box, .status-box {
    height: fit-content;
}

/* HORIZONTAL RULE DECORATIVO */
hr.separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,119,255,0.3), rgba(217,27,92,0.3), transparent);
    margin: 3rem 0;
}

/* =========================================
   ACCESIBILIDAD (A11Y)
   ========================================= */
.a11y-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.a11y-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004080, #0077ff);
    border: 1px solid rgba(0,119,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.3);
    font-size: 22px;
    transition: transform 0.2s, box-shadow 0.3s;
    color: white;
}

.a11y-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 119, 255, 0.6);
}

.a11y-menu {
    position: absolute;
    bottom: 65px;
    left: 0;
    background: rgba(2, 6, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 119, 255, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 240px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom left;
}

.a11y-menu.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
}

.a11y-header {
    color: rgba(0,119,255,0.8);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.a11y-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: rgba(240,244,255,0.6);
    font-size: 13px;
    margin-bottom: 4px;
    transition: all 0.2s;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.a11y-option:hover { background: rgba(255,255,255,0.05); color: white; }
.a11y-option.active { background: rgba(0,119,255,0.15); color: var(--primary-blue); }
.a11y-option .icon { font-size: 16px; }

.a11y-option.active .status::after {
    content: '●';
    margin-left: auto;
    font-size: 10px;
    color: var(--primary-blue);
    float: right;
}

.a11y-reset {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,119,255,0.2);
    background: transparent;
    color: rgba(0,119,255,0.7);
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.a11y-reset:hover { background: rgba(0,119,255,0.1); }

html.hc-mode { filter: contrast(150%) grayscale(20%); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    nav > .btn-cta { display: none; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75vw;
        max-width: 350px;
        background: rgba(2, 6, 20, 0.99);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 60px rgba(0, 0, 0, 0.9);
        z-index: 10000;
    }

    .nav-menu.active { right: 0; }

    .nav-menu a { font-size: 1.2rem; }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-grid,
    .grid-2,
    .grid-3,
    .plans-grid,
    .care-grid,
    .contact-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 { font-size: clamp(3rem, 12vw, 5rem); }

    .hero-description { margin: 0 auto 2.5rem; }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-outline { margin-left: 0; width: 100%; }
    .btn-primary { width: 100%; }

    .speed-meter {
        right: 50%;
        transform: translateX(50%);
        bottom: -30px;
    }

    .tv-card { flex-direction: column; text-align: center; }
    .about-text { padding-right: 0; }

    body { cursor: auto; }
    .custom-cursor, .custom-cursor-ring { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.2rem; }
    .plan-card, .care-item, .contact-card, .feature-item { padding: 1.8rem 1.5rem; }
    .hero-grid { padding: 40px 0 60px; }
}

/* =========================================
   MISIÓN & VISIÓN
   ========================================= */
.mv-section { padding: 40px 0 60px; }

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-magenta), transparent);
}

.mv-card-vision::before {
    background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 27, 92, 0.4);
    box-shadow: var(--shadow-3d), var(--glow-magenta);
}

.mv-card-vision:hover {
    border-color: rgba(0, 119, 255, 0.4);
    box-shadow: var(--shadow-3d), var(--glow-blue);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 12px rgba(217,27,92,0.5));
}

.mv-card-vision .mv-icon {
    filter: drop-shadow(0 0 12px rgba(0,119,255,0.5));
}

.mv-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-magenta), #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mv-card-vision .mv-title {
    background: linear-gradient(90deg, var(--primary-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.mv-card p {
    opacity: 0.8;
    line-height: 1.9;
    font-size: 0.97rem;
}

/* =========================================
   GALERÍA
   ========================================= */
.gallery-section { padding: 40px 0 60px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3d), var(--glow-blue);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: rgba(0,119,255,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0,119,255,0.5);
}

.gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    cursor: default !important;
}

.gallery-empty:hover {
    transform: none !important;
    box-shadow: none !important;
}

.gallery-placeholder {
    text-align: center;
    opacity: 0.25;
    padding: 1rem;
}

.gallery-plus {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.gallery-placeholder p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.gallery-placeholder small {
    font-size: 0.7rem;
    opacity: 0.6;
}

.gallery-hint {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.4;
    text-align: center;
    line-height: 1.6;
}

.gallery-hint code {
    font-family: monospace;
    background: rgba(255,255,255,0.07);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    border-radius: 12px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active img { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(217,27,92,0.4); }

/* =========================================
   PORTAL DE CLIENTES
   ========================================= */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.portal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,27,92,0.12), transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.portal-glow-blue {
    background: radial-gradient(circle, rgba(0,119,255,0.12), transparent 70%);
}

.portal-saldo { border-top: 2px solid rgba(217,27,92,0.5); }
.portal-login { border-top: 2px solid rgba(0,119,255,0.5); }

.portal-saldo:hover {
    transform: translateY(-8px);
    border-color: rgba(217,27,92,0.4);
    box-shadow: var(--shadow-3d), var(--glow-magenta);
}

.portal-login:hover {
    transform: translateY(-8px);
    border-color: rgba(0,119,255,0.4);
    box-shadow: var(--shadow-3d), var(--glow-blue);
}

.portal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(217,27,92,0.1);
    border: 1px solid rgba(217,27,92,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.portal-icon-blue {
    background: rgba(0,119,255,0.1);
    border-color: rgba(0,119,255,0.3);
}

.portal-icon { font-size: 1.8rem; }

.portal-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: white;
}

.portal-card p {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.7;
}

.portal-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.5rem 0;
}

.portal-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    opacity: 0.75;
}

.portal-steps li span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(217,27,92,0.2);
    border: 1px solid rgba(217,27,92,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-magenta);
    flex-shrink: 0;
}

.portal-login .portal-steps li span {
    background: rgba(0,119,255,0.2);
    border-color: rgba(0,119,255,0.4);
    color: var(--primary-blue);
}

.btn-portal {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* INFO ROW */
.portal-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.portal-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s;
}

.portal-info-card:hover { border-color: rgba(0,119,255,0.3); }

.portal-info-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0,119,255,0.4));
}

.portal-info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
}

.portal-info-card p {
    font-size: 0.82rem;
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.portal-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s, text-shadow 0.2s;
}

.portal-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0,229,255,0.5);
}

/* RESPONSIVE PORTALES */
@media (max-width: 992px) {
    .mv-grid, .portal-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .portal-info-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* =========================================
   DRAWER MENU LATERAL
   ========================================= */

/* Botón hamburguesa circular */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.15);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    padding: 0;
}

.menu-toggle:hover {
    background: rgba(217,27,92,0.15);
    border-color: rgba(217,27,92,0.5);
    transform: scale(1.05);
}

.menu-toggle .bar {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 10px;
    transition: transform 0.35s cubic-bezier(0.77,0,0.175,1),
                opacity 0.3s ease,
                width 0.3s ease;
}

/* X al abrirse */
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* nav-right: agrupa botón CTA desktop + hamburguesa */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desktop-only { display: inline-block; }

/* ── OVERLAY ── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 1998;
    pointer-events: none;
    transition: background 0.4s ease;
}

.drawer-overlay.active {
    background: rgba(0,0,0,0.7);
    pointer-events: all;
    backdrop-filter: blur(4px);
}

/* ── DRAWER ── */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100dvh;
    background: rgba(5, 10, 30, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255,255,255,0.07);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.8);
}

.nav-drawer.open {
    right: 0;
}

/* Cabecera del drawer */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 8px;
}

.drawer-logo span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.drawer-close:hover {
    background: rgba(217,27,92,0.2);
    color: white;
    border-color: rgba(217,27,92,0.4);
}

/* Nav links del drawer */
.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(220, 230, 255, 0.65);
    font-size: 0.97rem;
    font-weight: 600;
    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.2s ease;
    position: relative;
    letter-spacing: 0.2px;
}

.drawer-item:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    transform: translateX(4px);
}

.drawer-item.active {
    background: rgba(0, 119, 255, 0.12);
    color: white;
    border: 1px solid rgba(0, 119, 255, 0.2);
}

.drawer-icon {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0,119,255,0.3));
}

.drawer-label {
    flex: 1;
}

/* Punto activo (aparece solo en el item .active) */
.drawer-dot {
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 8px var(--primary-blue);
    flex-shrink: 0;
}

.drawer-item.active .drawer-dot {
    display: block;
}

/* Portal Clientes: destaca en cian */
.drawer-item-portal {
    color: rgba(0, 229, 255, 0.75);
}

.drawer-item-portal:hover,
.drawer-item-portal.active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon-cyan);
    border-color: rgba(0,229,255,0.2);
}

.drawer-item-portal.active .drawer-dot {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* Separador */
.drawer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 4px;
}

/* Footer del drawer */
.drawer-footer {
    padding: 1.4rem 1.6rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.drawer-footer-text {
    text-align: center;
    font-size: 0.72rem;
    opacity: 0.25;
    letter-spacing: 1px;
}

/* Animación de entrada escalonada de items */
.nav-drawer.open .drawer-item {
    animation: drawerItemIn 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.nav-drawer.open .drawer-item:nth-child(1) { animation-delay: 0.05s; }
.nav-drawer.open .drawer-item:nth-child(2) { animation-delay: 0.10s; }
.nav-drawer.open .drawer-item:nth-child(3) { animation-delay: 0.15s; }
.nav-drawer.open .drawer-item:nth-child(4) { animation-delay: 0.20s; }
.nav-drawer.open .drawer-item:nth-child(5) { animation-delay: 0.25s; }
.nav-drawer.open .drawer-item:nth-child(7) { animation-delay: 0.30s; }

@keyframes drawerItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-menu { display: none !important; }
    .desktop-only { display: none !important; }
}

@media (max-width: 400px) {
    .nav-drawer { width: 290px; }
}

/* =========================================
   FORZAR DRAWER EN TODOS LOS TAMAÑOS
   ========================================= */
.nav-menu { display: none !important; }
.menu-toggle { display: flex !important; }
.desktop-only { display: none !important; }

/* =========================================
   BANNER TÍTULO DE PÁGINA
   ========================================= */
.page-banner {
    position: relative;
    z-index: 3;
    margin-top: 72px;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    /* Fondo con gradiente visible y línea inferior de color */
    background: linear-gradient(135deg,
        rgba(0, 30, 80, 0.7) 0%,
        rgba(2, 6, 20, 0.9) 60%,
        rgba(80, 0, 40, 0.4) 100%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-blue), var(--accent-magenta)) 1;
}

/* Línea brillante decorativa de fondo */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0,119,255,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 100% 50%, rgba(217,27,92,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Texto gigante fantasma de fondo */
.page-banner::after {
    content: attr(data-title);
    position: absolute;
    bottom: -10px;
    right: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 12vw, 10rem);
    letter-spacing: 8px;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.page-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.page-banner-left {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.page-banner-icon {
    font-size: 3.2rem;
    filter: drop-shadow(0 0 20px rgba(0,119,255,0.7));
    line-height: 1;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0,119,255,0.7)); transform: scale(1); }
    50%       { filter: drop-shadow(0 0 30px rgba(217,27,92,0.8)); transform: scale(1.08); }
}

/* Barra vertical de color a la izquierda del texto */
.page-banner-text {
    border-left: 3px solid var(--accent-magenta);
    padding-left: 1.2rem;
    box-shadow: -4px 0 20px rgba(217,27,92,0.25);
}

.page-banner-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: 4px;
    background: linear-gradient(90deg, #ffffff 0%, #a0c4ff 60%, var(--accent-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.page-banner-sub {
    font-size: 0.92rem;
    color: rgba(180,200,255,0.6);
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

.page-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(240,244,255,0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 8px 16px;
    border-radius: 50px;
}

.page-banner-breadcrumb span:last-child {
    color: white;
    opacity: 1;
}

.page-banner-breadcrumb span:first-child {
    transition: color 0.2s;
}

.page-banner-breadcrumb span:first-child:hover {
    color: var(--accent-magenta);
    opacity: 1;
}

.page-banner-sep { opacity: 0.3; }

.page-banner ~ #view-container { padding-top: 0; }

@media (max-width: 600px) {
    .page-banner-breadcrumb { display: none; }
    .page-banner { padding: 2.5rem 0 2rem; }
    .page-banner-icon { font-size: 2.4rem; }
}
