/* ============================================
   HEADER FIJO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 11, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    transition: all var(--transicion);
}

.header.scrolled {
    background: rgba(11, 11, 18, 0.95);
    border-bottom-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.header-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--esp-4);
    height: 76px;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.header-logo-texto {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--texto);
    text-transform: uppercase;
    transition: all var(--transicion);
    position: relative;
    display: inline-block;
}

.header-logo-texto::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradiente-neon-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transicion);
}

.header-logo:hover .header-logo-texto::after {
    transform: scaleX(1);
}

.header-logo-amp {
    color: var(--primario);
    margin: 0 2px;
    text-shadow: var(--glow-cyan);
}

.header-nav {
    display: none;
    align-items: center;
    gap: var(--esp-6);
}

.header-nav-link {
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--texto-suave);
    text-decoration: none;
    transition: color var(--transicion);
    position: relative;
    padding: var(--esp-2) 0;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradiente-neon-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transicion);
    box-shadow: var(--glow-cyan);
}

.header-nav-link:hover {
    color: var(--primario);
}

.header-nav-link:hover::after {
    transform: scaleX(1);
}

.header-cta {
    display: none;
    padding: 12px 24px;
    background: transparent;
    color: var(--primario);
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 1px solid var(--primario);
    transition: all var(--transicion);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradiente-neon-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transicion);
    z-index: -1;
}

.header-cta:hover {
    color: var(--fondo);
    border-color: var(--primario);
    box-shadow: var(--glow-cyan);
}

.header-cta:hover::before {
    transform: scaleX(1);
}

/* Menú móvil */
.header-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
}

.header-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primario);
    transition: all var(--transicion);
    box-shadow: var(--glow-cyan);
}

.header-menu-btn.activo span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-menu-btn.activo span:nth-child(2) {
    opacity: 0;
}

.header-menu-btn.activo span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-menu-movil {
    display: flex;
    flex-direction: column;
    padding: var(--esp-4) var(--esp-6) var(--esp-6);
    background: var(--fondo-900);
    border-top: 1px solid var(--borde);
    gap: 0;
}

.header-menu-movil-link {
    padding: var(--esp-4) 0;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--texto-suave);
    text-decoration: none;
    border-bottom: 1px solid var(--borde);
    transition: color var(--transicion);
    font-family: var(--fuente-cuerpo);
}

.header-menu-movil-link:hover {
    color: var(--primario);
}

.header-menu-movil-cta {
    margin-top: var(--esp-4);
    padding: 16px 20px;
    background: transparent;
    color: var(--primario);
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--primario);
    transition: all var(--transicion);
}

.header-menu-movil-cta:hover {
    background: var(--primario);
    color: var(--fondo);
    box-shadow: var(--glow-cyan);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(76px + var(--esp-16)) 0 var(--esp-20);
    overflow: hidden;
    background: var(--fondo);
}

.hero-degradado-fondo {
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(176, 38, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(176, 38, 255, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(0, 229, 255, 0.15) 0%, transparent 35%);
    z-index: 0;
    animation: moverDegradado 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes moverDegradado {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-5%, 5%) scale(1.1);
    }
    100% {
        transform: translate(5%, -5%) scale(1.05);
    }
}

.hero-rejilla-fondo {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-10);
    align-items: center;
}

.hero-texto {
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primario);
    padding: 6px 12px;
    border: 1px solid var(--primario);
    margin-bottom: var(--esp-6);
    text-shadow: var(--glow-cyan);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-titulo {
    font-family: var(--fuente-titulos);
    font-size: 56px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--texto);
    margin-bottom: var(--esp-5);
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-subtitulo {
    font-family: var(--fuente-cuerpo);
    font-size: 15px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin-bottom: var(--esp-8);
    max-width: 580px;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

.hero-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: var(--esp-3);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

.hero-visual {
    position: relative;
    animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

.hero-imagen-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: 
        linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(176, 38, 255, 0.15) 100%),
        var(--fondo-800);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-4);
    padding: var(--esp-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
}

.hero-imagen-placeholder::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(176, 38, 255, 0.3);
    pointer-events: none;
}

.hero-imagen-icono {
    font-size: 56px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.hero-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    line-height: 1.6;
    color: var(--texto-tenue);
    font-style: italic;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all var(--transicion);
    cursor: pointer;
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.btn-primario {
    background: var(--primario);
    color: var(--fondo);
    border-color: var(--primario);
    box-shadow: var(--glow-cyan);
}

.btn-primario:hover {
    background: var(--primario-claro);
    border-color: var(--primario-claro);
    color: var(--fondo);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
}

.btn-secundario {
    background: transparent;
    color: var(--texto);
    border-color: var(--texto);
}

.btn-secundario:hover {
    background: var(--texto);
    color: var(--fondo);
    transform: translateY(-2px);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primario);
    border-top: 1px solid var(--primario);
    border-bottom: 1px solid var(--primario);
    padding: var(--esp-5) 0;
    z-index: 3;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: var(--esp-6);
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
    width: fit-content;
}

.marquee-item {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fondo);
    flex-shrink: 0;
}

.marquee-separador {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    font-weight: 400;
    color: var(--fondo);
    opacity: 0.5;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   SOBRE NOSOTROS
   ============================================ */
.sobre-nosotros {
    padding: var(--esp-20) 0;
    background: var(--fondo);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.sobre-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.sobre-contenido {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.sobre-visual {
    position: relative;
}

.sobre-imagen-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: 
        linear-gradient(135deg, rgba(176, 38, 255, 0.15) 0%, rgba(0, 229, 255, 0.15) 100%),
        var(--fondo-800);
    border: 1px solid rgba(176, 38, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-4);
    padding: var(--esp-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(176, 38, 255, 0.15);
}

.sobre-imagen-placeholder::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    pointer-events: none;
}

.sobre-imagen-icono {
    font-size: 56px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.sobre-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    line-height: 1.6;
    color: var(--texto-tenue);
    font-style: italic;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.sobre-texto {
    position: relative;
}

.sobre-descripcion {
    font-size: 15px;
    line-height: 1.8;
    color: var(--texto-suave);
    font-family: var(--fuente-cuerpo);
}

/* ============================================
   SECCIONES COMUNES
   ============================================ */
.seccion-eyebrow {
    display: inline-block;
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primario);
    padding: 6px 12px;
    border: 1px solid var(--primario);
    margin-bottom: var(--esp-5);
    text-shadow: var(--glow-cyan);
}

.seccion-titulo {
    font-family: var(--fuente-titulos);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--texto);
    margin-bottom: var(--esp-5);
    text-transform: uppercase;
}

.seccion-header {
    text-align: center;
    margin-bottom: var(--esp-12);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Compensación del header fijo */
#sobre-nosotros,
#productos,
#servicios,
#galeria,
#testimonios,
#faq,
#equipo,
#contacto {
    scroll-margin-top: 100px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 900px) {
    .header-nav {
        display: flex;
    }

    .header-cta {
        display: inline-block;
    }

    .header-menu-btn {
        display: none;
    }

    .header-menu-movil {
        display: none !important;
    }

    .hero-contenido {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--esp-16);
    }

    .hero-titulo {
        font-size: 96px;
    }

    .hero-subtitulo {
        font-size: 17px;
    }

    .sobre-contenido {
        grid-template-columns: 1fr 1fr;
        gap: var(--esp-16);
    }

    .seccion-titulo {
        font-size: 48px;
    }

    .marquee-item {
        font-size: 28px;
    }

    .marquee-separador {
        font-size: 28px;
    }
}

@media (min-width: 1200px) {
    .hero-titulo {
        font-size: 120px;
    }
}

@media (max-width: 600px) {
    .contenedor {
        padding: 0 var(--esp-4);
    }

    .header-contenido {
        height: 68px;
    }

    .header-logo-texto {
        font-size: 14px;
    }

    .hero {
        padding: calc(68px + var(--esp-10)) 0 var(--esp-12);
        min-height: auto;
    }

    .hero-titulo {
        font-size: 48px;
        text-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    }

    .hero-subtitulo {
        font-size: 14px;
    }

    .hero-acciones {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .hero-rejilla-fondo {
        background-size: 35px 35px;
    }

    .hero-imagen-placeholder {
        aspect-ratio: 1 / 1;
        padding: var(--esp-5);
    }

    .hero-imagen-icono {
        font-size: 42px;
    }

    .sobre-nosotros {
        padding: var(--esp-12) 0;
    }

    .seccion-titulo {
        font-size: 28px;
    }

    .sobre-descripcion {
        font-size: 14px;
    }

    .marquee {
        padding: var(--esp-4) 0;
    }

    .marquee-item {
        font-size: 16px;
    }

    .marquee-separador {
        font-size: 16px;
    }

    .sobre-imagen-placeholder {
        aspect-ratio: 1 / 1;
        padding: var(--esp-5);
    }

    .sobre-imagen-icono {
        font-size: 42px;
    }
}

/* ============================================
   PRODUCTOS
   ============================================ */
.productos {
    padding: var(--esp-20) 0;
    background: var(--fondo-900);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.productos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.productos .contenedor {
    position: relative;
    z-index: 1;
}

/* Filtros */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: var(--esp-2);
    justify-content: center;
    margin-bottom: var(--esp-10);
}

.filtro {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--borde-fuerte);
    color: var(--texto-suave);
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transicion);
}

.filtro:hover {
    border-color: var(--primario);
    color: var(--primario);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.filtro.activo {
    background: var(--primario);
    border-color: var(--primario);
    color: var(--fondo);
    box-shadow: var(--glow-cyan);
}

/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-6);
}

.producto-card {
    background: var(--fondo-850);
    border: 1px solid var(--borde);
    display: flex;
    flex-direction: column;
    transition: all var(--transicion);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradiente-neon-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transicion);
    z-index: 2;
}

.producto-card:hover::before {
    transform: scaleX(1);
}

.producto-card:hover {
    border-color: var(--primario);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
}

/* Transición de filtros */
.producto-card.oculta {
    display: none;
}

.producto-card.visible {
    animation: fadeInCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Imagen placeholder */
.producto-imagen-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: 
        linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(176, 38, 255, 0.1) 100%),
        var(--fondo-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-3);
    padding: var(--esp-5);
    text-align: center;
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.producto-imagen-placeholder::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    pointer-events: none;
    transition: inset var(--transicion);
}

.producto-card:hover .producto-imagen-placeholder::before {
    inset: 8px;
    border-color: rgba(0, 229, 255, 0.3);
}

.producto-imagen-icono {
    font-size: 40px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.producto-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    line-height: 1.5;
    color: var(--texto-tenue);
    font-style: italic;
    max-width: 280px;
    position: relative;
    z-index: 1;
}

/* Info del producto */
.producto-info {
    padding: var(--esp-5);
    display: flex;
    flex-direction: column;
    gap: var(--esp-2);
    flex: 1;
}

.producto-nombre {
    font-family: var(--fuente-titulos);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--texto);
    margin: 0;
    text-transform: uppercase;
}

.producto-descripcion {
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    line-height: 1.6;
    color: var(--texto-suave);
    margin: 0;
    flex: 1;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--esp-3);
    padding-top: var(--esp-3);
    border-top: 1px solid var(--borde);
    margin-top: var(--esp-2);
}

.producto-precio {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primario);
}

.producto-accion {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--texto-suave);
    transition: color var(--transicion);
}

.producto-card:hover .producto-accion {
    color: var(--primario);
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    padding: var(--esp-20) 0;
    background: var(--fondo);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.servicios .contenedor {
    position: relative;
    z-index: 1;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--borde);
}

.servicio-card {
    padding: var(--esp-6) 0;
    border-bottom: 1px solid var(--borde);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--esp-5);
    align-items: baseline;
    transition: all var(--transicion);
    position: relative;
    cursor: default;
}

.servicio-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradiente-neon-horizontal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transicion);
}

.servicio-card:hover::before {
    transform: scaleY(1);
}

.servicio-card:hover {
    padding-left: var(--esp-5);
}

.servicio-numero {
    font-family: var(--fuente-titulos);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primario);
    line-height: 1;
    min-width: 50px;
    text-shadow: var(--glow-cyan);
}

.servicio-contenido {
    display: flex;
    flex-direction: column;
    gap: var(--esp-2);
}

.servicio-nombre {
    font-family: var(--fuente-titulos);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--texto);
    margin: 0;
    text-transform: uppercase;
}

.servicio-descripcion {
    font-family: var(--fuente-cuerpo);
    font-size: 13px;
    line-height: 1.6;
    color: var(--texto-suave);
    margin: 0;
}

.servicio-precio {
    font-family: var(--fuente-titulos);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--secundario);
    margin: var(--esp-2) 0 0;
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 700px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicio-card {
        grid-template-columns: auto 1fr auto;
    }

    .servicio-precio {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
        margin: 0;
        align-self: start;
        white-space: nowrap;
    }
}

@media (min-width: 1100px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .servicio-nombre {
        font-size: 28px;
    }

    .servicio-numero {
        font-size: 36px;
        min-width: 60px;
    }
}

@media (max-width: 600px) {
    .productos,
    .servicios {
        padding: var(--esp-12) 0;
    }

    .filtros {
        gap: var(--esp-1);
        margin-bottom: var(--esp-8);
    }

    .filtro {
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .producto-info {
        padding: var(--esp-4);
    }

    .producto-nombre {
        font-size: 14px;
    }

    .producto-descripcion {
        font-size: 11px;
    }

    .producto-precio {
        font-size: 18px;
    }

    .servicio-card {
        padding: var(--esp-5) 0;
        gap: var(--esp-4);
    }

    .servicio-card:hover {
        padding-left: 0;
    }

    .servicio-nombre {
        font-size: 18px;
    }

    .servicio-numero {
        font-size: 22px;
        min-width: 40px;
    }

    .servicio-descripcion {
        font-size: 12px;
    }
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
    padding: var(--esp-20) 0;
    background: var(--fondo-900);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.galeria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.galeria .contenedor {
    position: relative;
    z-index: 1;
}

.galeria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-4);
}

.galeria-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transicion);
}

.galeria-item:hover {
    transform: translateY(-4px);
}

.galeria-imagen-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: 
        linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%),
        var(--fondo-800);
    border: 1px solid var(--borde);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-3);
    padding: var(--esp-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transicion);
}

.galeria-item:hover .galeria-imagen-placeholder {
    border-color: var(--primario);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.galeria-imagen-icono {
    font-size: 36px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.galeria-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    line-height: 1.5;
    color: var(--texto-tenue);
    font-style: italic;
    max-width: 280px;
    position: relative;
    z-index: 1;
}

.galeria-numero {
    position: absolute;
    top: var(--esp-3);
    left: var(--esp-3);
    font-family: var(--fuente-titulos);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--fondo);
    background: var(--primario);
    padding: 4px 10px;
    z-index: 2;
    line-height: 1;
    box-shadow: var(--glow-cyan);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 8, 14, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--esp-6);
    animation: fadeIn 0.3s ease;
}

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

.lightbox-contenido {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--esp-4);
    align-items: center;
}

.lightbox-imagen-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: 
        linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(176, 38, 255, 0.15) 100%),
        var(--fondo-850);
    border: 2px solid var(--primario);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-4);
    padding: var(--esp-10);
    text-align: center;
    position: relative;
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.3);
}

.lightbox-imagen-placeholder::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(176, 38, 255, 0.3);
    pointer-events: none;
}

.lightbox-imagen-icono {
    font-size: 64px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.lightbox-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 14px;
    line-height: 1.6;
    color: var(--texto-suave);
    font-style: italic;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.lightbox-contador {
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primario);
    text-transform: uppercase;
    text-shadow: var(--glow-cyan);
    margin: 0;
}

/* Botones del lightbox */
.lightbox-cerrar {
    position: absolute;
    top: var(--esp-4);
    right: var(--esp-4);
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--borde-fuerte);
    color: var(--texto);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transicion);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-cerrar:hover {
    border-color: var(--primario);
    color: var(--primario);
    box-shadow: var(--glow-cyan);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: transparent;
    border: 1px solid var(--borde-fuerte);
    color: var(--texto);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transicion);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav:hover {
    border-color: var(--primario);
    color: var(--primario);
    box-shadow: var(--glow-cyan);
}

.lightbox-prev {
    left: var(--esp-4);
}

.lightbox-next {
    right: var(--esp-4);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
    padding: var(--esp-20) 0;
    background: var(--fondo);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.testimonios .contenedor {
    position: relative;
    z-index: 1;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-5);
}

.testimonio-card {
    background: var(--fondo-850);
    border: 1px solid var(--borde);
    padding: var(--esp-6);
    display: flex;
    flex-direction: column;
    gap: var(--esp-3);
    transition: all var(--transicion);
    position: relative;
    overflow: hidden;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: var(--esp-2);
    right: var(--esp-5);
    font-family: var(--fuente-titulos);
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    color: var(--primario);
    opacity: 0.1;
    pointer-events: none;
}

.testimonio-card:hover {
    border-color: var(--primario);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
}

.testimonio-estrellas {
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--primario);
    line-height: 1;
    text-shadow: var(--glow-cyan);
}

.testimonio-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 13px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonio-nombre {
    font-family: var(--fuente-titulos);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--texto);
    margin: 0;
    text-transform: uppercase;
    padding-top: var(--esp-3);
    border-top: 1px solid var(--borde);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 700px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .galeria,
    .testimonios {
        padding: var(--esp-12) 0;
    }

    .galeria-imagen-placeholder {
        aspect-ratio: 1 / 1;
    }

    .galeria-imagen-icono {
        font-size: 32px;
    }

    .testimonio-card {
        padding: var(--esp-5);
    }

    .testimonio-texto {
        font-size: 12px;
    }

    .testimonio-card::before {
        font-size: 70px;
    }

    .lightbox {
        padding: var(--esp-3);
    }

    .lightbox-imagen-placeholder {
        aspect-ratio: 1 / 1;
        padding: var(--esp-6);
    }

    .lightbox-imagen-icono {
        font-size: 48px;
    }

    .lightbox-imagen-texto {
        font-size: 12px;
    }

    .lightbox-cerrar {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .lightbox-prev {
        left: var(--esp-2);
    }

    .lightbox-next {
        right: var(--esp-2);
    }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--esp-20) 0;
    background: var(--fondo-900);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.faq .contenedor {
    position: relative;
    z-index: 1;
}

.faq-lista {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--borde);
}

.faq-item {
    border-bottom: 1px solid var(--borde);
    transition: all var(--transicion);
    background: transparent;
}

.faq-item[open] {
    background: var(--fondo-850);
}

.faq-pregunta {
    padding: var(--esp-6) var(--esp-4);
    font-family: var(--fuente-titulos);
    font-size: 18px;
    font-weight: 700;
    color: var(--texto);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--esp-4);
    transition: color var(--transicion);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.faq-pregunta::-webkit-details-marker {
    display: none;
}

.faq-pregunta::after {
    content: '+';
    font-family: var(--fuente-titulos);
    font-size: 28px;
    font-weight: 400;
    color: var(--primario);
    line-height: 1;
    transition: all var(--transicion);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primario);
    text-shadow: var(--glow-cyan);
}

.faq-item[open] .faq-pregunta::after {
    content: '−';
    background: var(--primario);
    color: var(--fondo);
    box-shadow: var(--glow-cyan);
}

.faq-pregunta:hover {
    color: var(--primario);
}

.faq-respuesta {
    padding: 0 var(--esp-4) var(--esp-6);
    font-size: 14px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin: 0;
    font-family: var(--fuente-cuerpo);
}

/* ============================================
   EQUIPO
   ============================================ */
.equipo {
    padding: var(--esp-20) 0;
    background: var(--fondo);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.equipo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.equipo .contenedor {
    position: relative;
    z-index: 1;
}

.equipo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-6);
}

.equipo-card {
    background: var(--fondo-850);
    border: 1px solid var(--borde);
    overflow: hidden;
    transition: all var(--transicion);
    display: flex;
    flex-direction: column;
}

.equipo-card:hover {
    border-color: var(--primario);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
}

.equipo-imagen-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: 
        linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%),
        var(--fondo-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--esp-3);
    padding: var(--esp-6);
    text-align: center;
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.equipo-imagen-placeholder::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    pointer-events: none;
    transition: inset var(--transicion);
}

.equipo-card:hover .equipo-imagen-placeholder::before {
    inset: 8px;
    border-color: rgba(0, 229, 255, 0.3);
}

.equipo-imagen-icono {
    font-size: 48px;
    line-height: 1;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.equipo-imagen-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    line-height: 1.5;
    color: var(--texto-tenue);
    font-style: italic;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

.equipo-info {
    padding: var(--esp-5);
    display: flex;
    flex-direction: column;
    gap: var(--esp-2);
    flex: 1;
}

.equipo-nombre {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--texto);
    margin: 0;
    text-transform: uppercase;
}

.equipo-rol {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primario);
    margin: 0;
    text-shadow: var(--glow-cyan);
}

.equipo-descripcion {
    font-family: var(--fuente-cuerpo);
    font-size: 12px;
    line-height: 1.6;
    color: var(--texto-suave);
    margin: var(--esp-2) 0 0;
    flex: 1;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    padding: var(--esp-20) 0;
    background: var(--fondo-900);
    border-bottom: 1px solid var(--borde);
    position: relative;
    overflow: hidden;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contacto .contenedor {
    position: relative;
    z-index: 1;
}

.contacto-contenido {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-10);
}

.contacto-intro {
    font-family: var(--fuente-cuerpo);
    font-size: 14px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin-bottom: var(--esp-6);
}

.contacto-lista {
    display: flex;
    flex-direction: column;
    gap: var(--esp-4);
    margin-bottom: var(--esp-6);
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: var(--esp-3);
}

.contacto-icono {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.contacto-label {
    display: block;
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primario);
    margin-bottom: 4px;
}

.contacto-valor {
    display: block;
    font-family: var(--fuente-cuerpo);
    font-size: 13px;
    color: var(--texto);
    text-decoration: none;
    line-height: 1.5;
}

a.contacto-valor:hover {
    color: var(--primario);
}

.contacto-redes {
    display: flex;
    flex-wrap: wrap;
    gap: var(--esp-2);
}

.contacto-red {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--borde-fuerte);
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--texto);
    text-decoration: none;
    transition: all var(--transicion);
}

.contacto-red:hover {
    background: var(--primario);
    color: var(--fondo);
    border-color: var(--primario);
    box-shadow: var(--glow-cyan);
}

/* Horario */
.contacto-horario {
    background: var(--fondo-850);
    border: 1px solid var(--borde);
    padding: var(--esp-6);
    position: relative;
}

.contacto-horario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradiente-neon-horizontal);
}

.contacto-horario-titulo {
    font-family: var(--fuente-titulos);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--texto);
    margin: 0 0 var(--esp-5);
    text-transform: uppercase;
}

.contacto-horario-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--esp-5);
}

.contacto-horario-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--esp-3);
    padding: var(--esp-3) 0;
    border-bottom: 1px solid var(--borde);
    font-size: 13px;
}

.contacto-horario-item:last-child {
    border-bottom: none;
}

.contacto-horario-dia {
    font-family: var(--fuente-cuerpo);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texto);
    font-size: 11px;
}

.contacto-horario-hora {
    font-family: var(--fuente-cuerpo);
    color: var(--texto-suave);
    text-align: right;
    font-size: 12px;
}

.contacto-mapa-btn {
    width: 100%;
    margin-top: var(--esp-2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--fondo-950);
    color: var(--texto);
    padding: var(--esp-16) 0 0;
    border-top: 2px solid var(--primario);
    position: relative;
}

.footer-contenido {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--esp-10);
    padding-bottom: var(--esp-12);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--esp-2);
}

.footer-logo {
    font-family: var(--fuente-titulos);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--texto);
    margin: 0 0 var(--esp-2);
    text-transform: uppercase;
}

.footer-eslogan {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    color: var(--texto-tenue);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.footer-titulo {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    font-weight: 700;
    color: var(--primario);
    margin: 0 0 var(--esp-3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    color: var(--texto-suave);
    margin: 0;
    line-height: 1.6;
}

.footer-link {
    font-family: var(--fuente-cuerpo);
    font-size: 11px;
    color: var(--texto-suave);
    text-decoration: none;
    transition: color var(--transicion);
}

.footer-link:hover {
    color: var(--primario);
}

.footer-bottom {
    border-top: 1px solid var(--borde);
    padding: var(--esp-5) 0;
}

.footer-copyright {
    font-family: var(--fuente-cuerpo);
    font-size: 10px;
    color: var(--texto-tenue);
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 700px) {
    .equipo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .contacto-contenido {
        grid-template-columns: 1fr 1fr;
        gap: var(--esp-16);
    }

    .footer-contenido {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--esp-12);
    }
}

@media (max-width: 600px) {
    .faq,
    .equipo,
    .contacto {
        padding: var(--esp-12) 0;
    }

    .faq-pregunta {
        font-size: 14px;
        padding: var(--esp-5) var(--esp-3);
    }

    .faq-pregunta::after {
        font-size: 22px;
        width: 28px;
        height: 28px;
    }

    .faq-respuesta {
        font-size: 13px;
        padding: 0 var(--esp-3) var(--esp-5);
    }

    .equipo-nombre {
        font-size: 16px;
    }

    .contacto-horario {
        padding: var(--esp-5);
    }

    .contacto-horario-titulo {
        font-size: 18px;
    }

    .contacto-horario-item {
        font-size: 12px;
    }

    .footer {
        padding: var(--esp-12) 0 0;
    }

    .footer-logo {
        font-size: 18px;
    }
}

/* ============================================
   IMÁGENES REALES
   ============================================ */

/* Hero */
.hero-imagen {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
    display: block;
}

/* Sobre nosotros */
.sobre-imagen {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid rgba(176, 38, 255, 0.3);
    box-shadow: 0 0 60px rgba(176, 38, 255, 0.15);
    display: block;
}

/* Productos */
.producto-imagen {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid var(--borde);
}

.producto-imagen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transicion);
}

.producto-card:hover .producto-imagen-img {
    transform: scale(1.05);
}

/* Galería */
.galeria-imagen {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform var(--transicion);
}

.galeria-item:hover .galeria-imagen {
    transform: scale(1.05);
}

/* Equipo */
.equipo-imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--borde);
}

.equipo-imagen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transicion);
}

.equipo-card:hover .equipo-imagen-img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox-imagen {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid var(--primario);
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .hero-imagen {
        aspect-ratio: 1 / 1;
    }

    .sobre-imagen {
        aspect-ratio: 1 / 1;
    }
}

/* ============================================
   ANIMACIONES DE ENTRADA AL SCROLL
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Elementos que se animan al entrar en viewport */
.animar {
    opacity: 0;
}

.animar.visible {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animar-izq {
    opacity: 0;
}

.animar-izq.visible {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animar-der {
    opacity: 0;
}

.animar-der.visible {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animar-escala {
    opacity: 0;
}

.animar-escala.visible {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Retrasos escalonados para grids */
.productos-grid > .animar:nth-child(1),
.galeria-grid > .animar:nth-child(1),
.testimonios-grid > .animar:nth-child(1),
.equipo-grid > .animar:nth-child(1) {
    animation-delay: 0.1s;
}

.productos-grid > .animar:nth-child(2),
.galeria-grid > .animar:nth-child(2),
.testimonios-grid > .animar:nth-child(2),
.equipo-grid > .animar:nth-child(2) {
    animation-delay: 0.2s;
}

.productos-grid > .animar:nth-child(3),
.galeria-grid > .animar:nth-child(3),
.testimonios-grid > .animar:nth-child(3),
.equipo-grid > .animar:nth-child(3) {
    animation-delay: 0.3s;
}

.productos-grid > .animar:nth-child(4),
.galeria-grid > .animar:nth-child(4) {
    animation-delay: 0.4s;
}

.productos-grid > .animar:nth-child(5),
.galeria-grid > .animar:nth-child(5) {
    animation-delay: 0.5s;
}

.productos-grid > .animar:nth-child(6),
.galeria-grid > .animar:nth-child(6) {
    animation-delay: 0.6s;
}

/* Respeto por prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .animar,
    .animar-izq,
    .animar-der,
    .animar-escala {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   MICRO-INTERACCIONES
   ============================================ */

/* Botones con efecto de "presión" */
.btn:active {
    transform: translateY(0) scale(0.97);
    transition: transform 0.1s ease;
}

/* Logo: la / gira ligeramente al hover */
.header-logo:hover .header-logo-amp {
    display: inline-block;
    animation: spinAmp 0.6s ease;
}

@keyframes spinAmp {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

/* Productos: línea superior que se dibuja de izquierda a derecha */
.producto-card {
    position: relative;
    overflow: hidden;
}

.producto-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradiente-neon-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.producto-card:hover::after {
    transform: scaleX(1);
}

/* Galería: overlay con zoom al hover */
.galeria-item {
    position: relative;
    overflow: hidden;
}

.galeria-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 229, 255, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.galeria-item:hover::before {
    opacity: 1;
}

.galeria-imagen {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.galeria-item:hover .galeria-imagen {
    transform: scale(1.08);
}

/* Equipo: imagen con efecto de brillo al hover */
.equipo-card {
    position: relative;
}

.equipo-imagen {
    position: relative;
    overflow: hidden;
}

.equipo-imagen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 229, 255, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.equipo-card:hover .equipo-imagen::after {
    opacity: 1;
}

/* FAQ: transición suave al abrir/cerrar */
.faq-item {
    transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] {
    animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
    from {
        background: var(--fondo-850);
    }
    to {
        background: var(--fondo-850);
    }
}

/* Testimonios: la comilla "respira" */
.testimonio-card:hover::before {
    animation: quotePulse 1s ease;
}

@keyframes quotePulse {
    0% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.1); }
    100% { opacity: 0.1; transform: scale(1); }
}

/* Servicios: el número se desliza al hover */
.servicio-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicio-numero {
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicio-card:hover .servicio-numero {
    color: var(--primario-claro);
    transform: translateX(4px);
}

/* Filtros: escala al pulsar */
.filtro:active {
    transform: scale(0.95);
}

/* Lightbox: zoom en la imagen al abrir */
.lightbox-img {
    animation: lightboxZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   DETALLES DE DISEÑO QUE MARCAN LA DIFERENCIA
   ============================================ */

/* Línea decorativa animada en el hero */
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--primario);
    margin-right: 8px;
    vertical-align: middle;
    animation: lineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    transform-origin: left;
    transform: scaleX(0);
    box-shadow: var(--glow-cyan);
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

/* Sección "Sobre nosotros": línea vertical decorativa */
.sobre-texto {
    position: relative;
    padding-left: var(--esp-6);
}

.sobre-texto::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primario) 0%, transparent 100%);
    box-shadow: var(--glow-cyan);
}

/* Footer: línea decorativa animada */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--gradiente-neon-horizontal);
    animation: footerLine 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: var(--glow-cyan);
}

.footer {
    position: relative;
}

@keyframes footerLine {
    to {
        width: 100%;
    }
}

/* Scrollbar más fina y estilizada */
::-webkit-scrollbar {
    width: 6px;
}

/* Textura de grano sutil en el hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* ============================================
   RESPETO POR PREFERS-REDUCED-MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animar,
    .animar-izq,
    .animar-der,
    .animar-escala,
    .hero-texto,
    .hero-eyebrow,
    .hero-titulo,
    .hero-subtitulo,
    .hero-acciones {
        opacity: 1 !important;
        transform: none !important;
    }
}