:root {
    --primary: #00f2ff; /* Cian Neon */
    --secondary: #bd00ff; /* Purpura Neon */
    --bg-dark: #0b0c10;
    --bg-darker: #050608;
    --text-light: #e0e0e0;
    --text-gray: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Typography & Utilities --- */
h1, h2, h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
}

span {
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* --- Buttons --- */
.btn-hero, .btn-highlight, .btn-card {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-title);
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-hero {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-top: 20px;
}

.btn-hero:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
}

.btn-highlight {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: #fff;
    border-radius: 4px;
}

.btn-highlight:hover {
    filter: brightness(1.2);
}

/* --- Navbar --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.95);
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding: 15px 0 ;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-darker);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border: 1px solid var(--glass);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Controls */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    color: #000;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Timeline */
.time-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 10;
}

.time-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 0;
}

/* Animation class for timeline */
.animate-time {
    animation: timeFill 5s linear forwards;
}

@keyframes timeFill {
    from { width: 0; }
    to { width: 100%; }
}

/* --- About & Computers --- */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: var(--glass);
    padding: 20px;
    border: 1px solid var(--secondary);
    text-align: center;
    border-radius: 8px;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--secondary);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-dark);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.card-header {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00aaff;
    margin-bottom: 15px;
}

.card-header.am { color: #ff4500; } /* AMD color */
.card-header.ws { color: #ffae00; } /* Gold color */

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-card ul {
    list-style: none;
    margin: 20px 0;
    color: var(--text-gray);
}

.product-card ul li::before {
    content: '> ';
    color: var(--primary);
}

/* --- Builder (Ensamble) --- */
.builder-container {
    background: var(--bg-darker);
    padding: 40px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: var(--font-title);
}

select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

select:focus {
    border-color: var(--primary);
    outline: none;
}

.price-display {
    background: var(--glass);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--secondary);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#total-price {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
    text-shadow: 0 0 15px var(--secondary);
}

/* --- Contact & Footer --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info .info-item {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* --- Floating Buttons --- */
.float-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 9999; /* Asegura que esté por encima de todo */
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    cursor: pointer;
}

.whatsapp {
    bottom: 30px;
    right: 30px;
    background: #25d366;
}

.whatsapp:hover {
    background: #1ebd59;
    transform: scale(1.1);
}

.scroll-top {
    bottom: 90px; /* Encima del de WhatsApp */
    right: 30px;
    background: var(--primary); /* Usa tu color Cian */
    color: #000;
    
    /* Estado oculto optimizado */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Efecto de entrada desde abajo */
    pointer-events: none; /* CRUCIAL: Evita clicks fantasma cuando no se ve */
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Habilita clicks solo cuando es visible */
}

.scroll-top:hover {
    background: #fff; /* Blanco al pasar el mouse */
    box-shadow: 0 0 15px var(--primary); /* Glow effect */
}

@media screen and (max-width: 768px) {
    /* Ocultar Slider Desktop, Mostrar Hero Móvil */
    .hero-slider {
        display: none !important;
    }
    
    .hero-mobile {
        display: block;
    }

    

    /* Resto de ajustes de layout móvil... */
    .section-title {
        font-size: 2rem;
    }

    .about-content, 
    .about-stats {
        flex-direction: column;
        text-align: center;
    }

    .builder-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
/* --- Modal Styles --- */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000; /* Encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo oscuro transparente */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--bg-darker);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    position: relative;
    animation: slideDown 0.4s;
}

.close-modal {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #333;
    text-align: center;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

/* Resumen (Izquierda) */
.summary-box {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.summary-box h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

#summary-list {
    list-style: none;
    font-size: 0.95rem;
}

#summary-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

#summary-list li span {
    color: #fff; /* Valor del componente */
}

#summary-list li strong {
    color: var(--text-gray); /* Etiqueta (CPU, GPU...) */
    font-weight: normal;
}

.total-final {
    margin-top: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-align: right;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

/* Formulario (Derecha) */
.form-box .input-group {
    margin-bottom: 15px;
}

.form-box label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-box input, .form-box textarea {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
}

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

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}
/* --- Estilos para las Imágenes de las Cards --- */

/* Contenedor de la imagen para manejar el recorte */
.card-img-wrapper {
    width: 100%;
    height: 200px; /* Altura fija para uniformidad */
    overflow: hidden; /* Para que el zoom no se salga del borde */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #333;
    position: relative;
}

/* La imagen en sí */
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
    transition: transform 0.5s ease;
}

/* Efecto Overlay (Brillo sutil) */
.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

/* Efecto Zoom al hacer Hover en la tarjeta */
.product-card:hover .card-img-wrapper img {
    transform: scale(1.1); /* Zoom suave al 110% */
}

.product-card:hover .card-img-wrapper {
    border-color: var(--primary); /* El borde cambia de color al hover */
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}
/* --- Estilos para Página Workstations --- */

/* Hero Estático */
.hero-static {
    position: relative;
    height: 60vh; /* Altura más compacta que el home */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: -1px; /* Ajuste visual con el header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4); /* Oscurecer imagen para leer texto */
}

/* Efecto de malla/grid sobre la imagen tech */
/* .hero-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
} */

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: slideDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0,0,0,0.9);
}

.hero-content p {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 30px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #0b0c10, #1a1a1a);
    border-top: 1px solid #333;
}

.cta-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.cta-box h2 {
    margin-bottom: 20px;
    color: #fff;
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-static {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}
/* --- Estilos del Slider de Marcas --- */

.brands-section {
    background: #000; /* Fondo negro puro para contraste */
    padding: 50px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    overflow: hidden; /* Oculta lo que se salga del ancho */
}

.brands-title {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.slider-area {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    /* Efecto de desvanecimiento en los bordes */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    /* El ancho se calcula dinámicamente según el contenido, pero debe ser suficiente */
    width: calc(200px * 16); /* 200px por logo aprox * 16 logos (8 originales + 8 duplicados) */
    animation: scroll 30s linear infinite;
}

.slide-logo {
    width: 200px; /* Espacio reservado para cada logo */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px; /* Espacio entre logos */
}

.slide-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Estilo por defecto: Escala de grises y opacidad reducida */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efecto al pasar el mouse: Color original y brillo */
.slide-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
    /* Efecto de brillo neón sutil */
    /* drop-shadow: 0 0 10px rgba(255, 255, 255, 0.5); */
}

/* Animación Infinita */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se mueve hacia la izquierda la mitad del ancho total (el set original de logos) */
        transform: translateX(calc(-200px * 8)); 
    }
}

/* Pausar animación al pasar el mouse sobre el carrusel */
.slider-area:hover .logo-track {
    animation-play-state: paused;
}
/* =========================================
   ESTILOS PARA HERO MÓVIL
   ========================================= */
.hero-mobile {
    display: none; /* Oculto por defecto en escritorio */
    position: relative;
    height: 70vh; /* Altura ideal para móviles */
    overflow: hidden;
    width: 100%;
}

.mobile-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.mobile-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Oscurece la imagen para que resalte el texto blanco y neón */
}

.mobile-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
}

.mobile-hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE DESIGN COMPLETO)
   ========================================= */
@media screen and (max-width: 768px) {
    /* Ocultar Slider Desktop, Mostrar Hero Móvil */
    .hero-slider {
        display: none !important;
    }
    
    .hero-mobile {
        display: block;
    }

    /* --- Menú Hamburguesa Configuración Correcta --- */
    .hamburger {
        display: block; 
        z-index: 1001; /* Asegura que el botón quede por encima del menú abierto */
        position: relative; 
    }
    
    .nav-links {
        position: fixed;
        top: 0; 
        right: -100%; /* Oculto fuera de la pantalla por defecto */
        width: 70%;
        height: 100vh; /* Ocupa toda la altura de la pantalla */
        background-color: var(--bg-darker);
        display: flex; /* Mantiene flex, NO usar display: none */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        border-left: 2px solid var(--primary);
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-links.active {
        right: 0; /* Aparece suavemente al hacer clic */
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Resto de ajustes de layout móvil... */
    .section-title {
        font-size: 2rem;
    }

    .about-content, 
    .about-stats {
        flex-direction: column;
        text-align: center;
    }

    .builder-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
/* =========================================
   SECCIÓN DE AUTORIDAD (Tarjetas)
   ========================================= */

.autoridad-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.autoridad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.autoridad-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.autoridad-card:hover {
    transform: translateY(-10px);
    border-color: #bd00ff; /* Asumiendo un color naranja/rojo de tu btn-highlight */
    box-shadow: 0 15px 30px rgba(227, 4, 239, 0.15);
}

.autoridad-card .icon-wrapper {
    font-size: 3rem;
    color: #bd00ff; /* Mismo color de acento */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.autoridad-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.autoridad-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.autoridad-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.autoridad-cta {
    text-align: center;
    margin-top: 2rem;
}
/* ==========================================================================
   SECCIÓN CATEGORÍAS (CAMPO DE BATALLA)
   ========================================================================== */

#categorias-batalla {
    /* Mantiene el fondo oscuro alterno si lo deseas, o usa bg-darker */
    background-color: transparent; 
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.category-card:hover {
    transform: translateY(-10px);
    /* Asume que usas un color de acento, aquí uso un naranja/dorado genérico gamer. 
       Cámbialo por la variable de color principal de TDM Gaming si tienes una */
    border-color: #00aaff; 
    box-shadow: 0 10px 25px rgba(17, 207, 236, 0.2);
}

.category-card .card-icon {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.category-card:hover .card-icon {
    color: #00aaff; /* Efecto de color en el icono al pasar el mouse */
}

.category-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.category-card p {
    font-family: 'Roboto', sans-serif;
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Empuja el botón siempre hacia abajo */
}

.category-card .btn-highlight {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

/* Clases iniciales para la animación con JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   SECCIÓN DE BENEFICIOS
========================================= */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.beneficio-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    border-color: #ff3c00; /* Asumiendo el naranja/rojo gamer de btn-highlight */
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.15);
}

.beneficio-card .card-icon {
    font-size: 3.5rem;
    color: #ff3c00; /* Ajusta este hex al color exacto de tu btn-highlight */
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.beneficio-card:hover .card-icon {
    transform: scale(1.1);
}

.beneficio-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.beneficio-card p {
    font-family: 'Roboto', sans-serif;
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
}

.beneficios-cta {
    text-align: center;
    margin-top: 50px;
}

/* Animación (en caso de no tenerla ya definida en tu styles.css) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   Estilos específicos para Quiénes Somos
   ========================================= */

/* Hero Banner */
.hero-page {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('images/slides/slide-2b.webp') no-repeat center center/cover;
    padding: 150px 20px 100px;
    border-bottom: 3px solid #ff0000; /* Asumiendo rojo como color de highlight de TDM */
}

.hero-page .page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.hero-page .page-title span {
    color: #ff0000; /* Color primario TDM */
    display: block;
    margin-top: 10px;
}

/* Bloques de Texto Central */
.content-text {
    max-width: 800px;
    margin: 0 auto;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Grilla Misión y Visión */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.mv-card {
    background: #151515;
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid #ff0000;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mv-card p {
    color: #bbb;
    line-height: 1.6;
}

/* Caja de Compromiso (Quote) */
.quote-box {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.quote-icon {
    font-size: 3rem;
    color: #ff0000;
    opacity: 0.3;
    margin-bottom: 20px;
}

.quote-box p {
    font-size: 1.2rem;
    font-style: italic;
    color: #e0e0e0;
    line-height: 1.8;
}

/* CTA Buttons layout */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-page .page-title {
        font-size: 1.8rem;
    }
    .quote-box {
        padding: 30px 20px;
    }
    .cta-buttons {
        flex-direction: column;
    }
}
/* ==============================================
   ESTILOS FAQ'S (ACORDEÓN)
=============================================== */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    color: var(--secondary); /* Púrpura Neon */
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass);
    padding-bottom: 10px;
    font-family: var(--font-title);
    letter-spacing: 1px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-dark);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary); /* Hover con Cian */
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background: var(--glass);
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Estado Activo del botón */
.faq-question.active {
    color: var(--primary);
    background: var(--glass);
}

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

/* Animación del contenido */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.3);
}

.faq-answer p {
    padding: 20px;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid var(--glass);
    margin: 0;
}