/* =====================================================
   KIERO3DMAKER - PREMIUM DARK MODE LANDING PAGE
   Color Principal: Naranja/Fuego (#F97316)
   Sector: Industrial (Manufactura, B2B)
   ===================================================== */

/* =====================================================
   RESET Y VARIABLES CSS
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fondos */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Color Principal - Naranja/Fuego */
    --primary-50: #FFF7ED;
    --primary-100: #FFEDD5;
    --primary-200: #FED7AA;
    --primary-300: #FDBA74;
    --primary-400: #FB923C;
    --primary-500: #F97316;
    /* COLOR BASE */
    --primary-600: #EA580C;
    --primary-700: #C2410C;
    --primary-800: #9A3412;
    --primary-900: #7C2D12;

    /* RGB del color principal (para rgba) */
    --primary-rgb: 249, 115, 22;

    /* Textos */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Acentos secundarios */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Tipografía */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espaciado */
    --container-width: 1280px;
    --section-padding: 120px;
}

/* =====================================================
   ESTILOS BASE
   ===================================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   PARTÍCULAS DE FONDO
   ===================================================== */

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--primary-rgb), 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    height: 52px;
    width: auto;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-500);
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    position: relative;
    padding-left: 32px;
}

.brand-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(var(--primary-rgb), 0.3) 20%,
            rgba(var(--primary-rgb), 0.6) 50%,
            rgba(var(--primary-rgb), 0.3) 80%,
            transparent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Social Icon (Instagram) */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316, #EA580C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-500);
    transform: translateY(-2px);
}

.social-icon:hover::before {
    opacity: 0.1;
}

.social-icon svg {
    position: relative;
    z-index: 1;
}


/* =====================================================
   BOTONES
   ===================================================== */

.btn-primary,
.btn-primary-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,
            var(--primary-600) 0%,
            var(--primary-500) 30%,
            var(--primary-400) 60%,
            var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.5),
        0 4px 24px rgba(var(--primary-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary-small {
    padding: 12px 24px;
    font-size: 14px;
}

.btn-primary:hover,
.btn-primary-small:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(var(--primary-rgb), 0.8),
        0 8px 40px rgba(var(--primary-rgb), 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.3);
}

.hero-brand-name {
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 600px;
    color: var(--text-secondary);
    /* Efecto de degradado suave y elegante */
    background: linear-gradient(135deg, #a1a1aa 0%, #ffffff 50%, #a1a1aa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 6s linear infinite;
    letter-spacing: 0.01em;
}

.hero-subtitle strong {
    display: block;
    margin-top: 16px;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-400), #ffffff, var(--primary-600));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.highlight-3d {
    background: linear-gradient(135deg, #ff9d00 0%, #ffffff 50%, #ff6a00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rutilante 3s linear infinite;
    font-weight: 900;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 157, 0, 0.5));
}

@keyframes rutilante {
    0% {
        background-position: 0% center;
        filter: drop-shadow(0 0 8px rgba(255, 157, 0, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(255, 157, 0, 0.9));
    }

    100% {
        background-position: 200% center;
        filter: drop-shadow(0 0 8px rgba(255, 157, 0, 0.4));
    }
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-500);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sphere {
    width: 600px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    border-radius: 24px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    box-shadow:
        0 0 60px rgba(var(--primary-rgb), 0.4),
        0 0 120px rgba(var(--primary-rgb), 0.3),
        inset 0 0 60px rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /* Para posicionar video y fallback */
}

/* Video Hero - Optimizado */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-video[poster] {
    opacity: 1;
    /* Muestra el poster inmediatamente */
}

/* Cuando el video está cargado y reproduciéndose */
.hero-video:not([poster]) {
    opacity: 1;
}

/* Imagen Hero (original y fallback) */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */

.social-proof {
    padding: 60px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.tech-stack {
    padding: 60px 0 20px;
    background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.03));
}

.tech-item {
    text-align: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, white 0%, var(--primary-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.4));
    transition: all 0.4s ease;
    animation: simple-glow 3s ease-in-out infinite alternate;
}

.tech-item:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.8));
    letter-spacing: 0.25em;
}

.social-proof-text {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    text-align: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.15));
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 8px 12px;
    animation: harmonic-glow 4s ease-in-out infinite alternate;
}

.partner-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    transform: scale(1.08) translateY(-2px);
    letter-spacing: 0.1em;
}

@keyframes harmonic-glow {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.1));
        opacity: 0.5;
    }

    to {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        opacity: 0.8;
    }
}

/* =====================================================
   SECCIONES GENERALES
   ===================================================== */

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* =====================================================
   GLASS CARD (GLASSMORPHISM)
   ===================================================== */

.glass-card {
    background: linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.08) 0%,
            rgba(var(--primary-rgb), 0.04) 50%,
            rgba(var(--primary-rgb), 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-4px);
}

/* =====================================================
   SERVICIOS - FLIP CARDS
   ===================================================== */

.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card-flip {
    height: 450px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 24px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Resplandor Dinámico */
.service-card-flip:hover,
.service-card-flip.flipped {
    box-shadow:
        0 20px 40px -10px rgba(var(--primary-rgb), 0.5),
        0 0 20px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    z-index: 1;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.service-card-front {
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image.fit-content {
    object-fit: contain;
    background: #0a0a0b;
    padding: 15px;
}

.service-card-flip:hover .service-image,
.service-card-flip.flipped .service-image {
    transform: scale(1.1);
}

.service-card-flip:hover .service-image.fit-content,
.service-card-flip.flipped .service-image.fit-content {
    transform: scale(1.05);
}


.service-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-flip:hover .service-overlay,
.service-card-flip.flipped .service-overlay {
    opacity: 0;
}

/* Indicador de flip card */
.service-overlay::after {
    content: '↻';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(249, 115, 22, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-400);
    opacity: 0.8;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.service-card-flip:hover .service-overlay::after {
    opacity: 1;
    transform: rotate(180deg);
    background: rgba(249, 115, 22, 0.3);
    border-color: var(--primary-500);
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.9),
        0 4px 24px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.service-card-back {
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.service-card-flip:hover .service-card-back,
.service-card-flip.flipped .service-card-back {
    opacity: 1;
    transform: translateY(0);
}


.service-title-back {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-400);
}

/* =====================================================
   MATERIALES
   ===================================================== */

.materials-section-spacing {
    padding-top: calc(var(--section-padding) + 240px);
    margin-top: 40px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Reducido de 24px */
}

.material-card {
    text-align: center;
    padding: 24px 20px !important;
    /* Reducido de 40px 24px */
    transition: box-shadow 0.3s ease;
}

.material-card:hover {
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.4),
        0 0 30px rgba(var(--primary-rgb), 0.2);
}

.material-icon {
    margin-bottom: 12px;
    /* Reducido de 20px */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    /* Reducido de 64px */
}

.material-icon svg {
    width: 36px;
    /* Reducido de 48px */
    height: 36px;
    /* Reducido de 48px */
    filter: drop-shadow(0 0 8px currentColor);
}

.material-card:hover .material-icon {
    transform: scale(1.1) translateY(-5px);
}

/* Colores de Materiales */
.text-pla {
    color: #10B981;
}

.text-abs {
    color: #3B82F6;
}

.text-petg {
    color: #A855F7;
}

.text-tpu {
    color: #EAB308;
}

.text-nylon {
    color: #F97316;
}

.text-carbon {
    color: #71717A;
}

.material-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    /* Reducido de 24px */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    /* Reducido de 12px */
    line-height: 1.3;
}

.material-card p {
    color: var(--text-secondary);
    font-size: 13px;
    /* Reducido de 14px */
    line-height: 1.5;
    /* Reducido de 1.6 */
    margin-bottom: 12px;
    /* Reducido de 16px */
}

.material-badge {
    display: inline-block;
    padding: 3px 10px;
    /* Reducido de 4px 12px */
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 10px;
    /* Reducido de 12px */
    font-size: 11px;
    /* Reducido de 12px */
    font-weight: 600;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =====================================================
   SHOWCASE/PROYECTOS - MASONRY LAYOUT
   ===================================================== */

.showcase {
    background: var(--bg-secondary);
    padding-top: 60px !important;
    /* Reducido para eliminar espacio vacío */
    padding-bottom: 80px !important;
    /* Reducido del default 120px */
}

.showcase .section-header {
    margin-bottom: 48px;
    /* Reducido de 64px */
}

/* Masonry Grid usando CSS Grid */
.showcase-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    grid-auto-rows: auto;
    /* Cambio a auto para ajuste dinámico */
}

.showcase-card {
    overflow: hidden;
    position: relative;
    /* Tilt 3D preparation */
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px !important;
    /* Reducido de 32px del glass-card base */
}

.showcase-image-container {
    width: 100%;
    height: 220px;
    /* Reducido de 280px a 220px */
    background: var(--bg-tertiary);
    border-radius: 16px;
    margin-bottom: 20px;
    /* Reducido de 24px a 20px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    /* Evita que se comprima */
}

/* Lazy Loading Image Transition */
.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease,
        opacity 0.3s ease;
    opacity: 0;
}

.showcase-img[loading="lazy"] {
    opacity: 1;
}

/* Overlay oscuro con información de material */
.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.showcase-card:hover .showcase-overlay {
    opacity: 1;
}

.overlay-content h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.showcase-card:hover .overlay-content h4 {
    transform: translateY(0);
}

.material-used {
    font-size: 14px;
    color: var(--primary-300);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.showcase-card:hover .material-used {
    transform: translateY(0);
}

/* Hover effects */
.showcase-card:hover .showcase-img {
    transform: scale(1.08);
    filter: brightness(1.15);
}

.showcase-card:hover .showcase-image-container {
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 15px 40px -10px rgba(var(--primary-rgb), 0.35);
}

.showcase-placeholder {
    font-size: 80px;
    opacity: 0.3;
}

.showcase-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    /* Reducido de 24px */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    /* Reducido de 12px */
    line-height: 1.3;
}

.showcase-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    /* Reducido de 1.6 */
    margin-bottom: 12px;
    /* Reducido de 16px */
    font-size: 14px;
}

.showcase-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Reducido de 8px */
    margin-top: auto;
    /* Empuja las stats al fondo */
}

.showcase-stats span {
    font-size: 13px;
    /* Reducido de 14px */
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
}

/* =====================================================
   TESTIMONIOS
   ===================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    position: relative;
}

.quote-mark {
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-500);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.rating {
    color: var(--primary-500);
    font-size: 18px;
}

/* =====================================================
   SOBRE NOSOTROS
   ===================================================== */

.about {
    background: var(--bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

/* =====================================================
   CARRUSEL CON EFECTO LÁSER
   ===================================================== */

.carousel-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

/* Bisel Láser Girando */
.laser-bezel {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: conic-gradient(from 0deg,
            transparent 0%,
            var(--primary-500) 10%,
            transparent 20%,
            transparent 40%,
            var(--primary-400) 50%,
            transparent 60%,
            transparent 80%,
            var(--primary-500) 90%,
            transparent 100%);
    animation: laser-rotate 4s linear infinite;
    z-index: 1;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.8;
}

@keyframes laser-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Track del Carrusel */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
}

/* Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Botones de Navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-400);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-btn:hover {
    background: rgba(var(--primary-rgb), 0.3);
    border-color: var(--primary-500);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    /* Reducido de 10px para acomodar más indicadores */
    z-index: 10;
    flex-wrap: wrap;
    /* Permite que se envuelvan si son muchos */
    max-width: 90%;
    /* Limita el ancho para evitar desbordamiento */
    justify-content: center;
}

.indicator {
    width: 8px;
    /* Reducido de 10px */
    height: 8px;
    /* Reducido de 10px */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(var(--primary-rgb), 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.indicator:hover {
    background: rgba(var(--primary-rgb), 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-500);
    box-shadow: 0 0 10px var(--primary-500);
    transform: scale(1.3);
}

/* Animación de Float para el contenedor */
.carousel-container {
    animation: float-carousel 6s ease-in-out infinite;
}

@keyframes float-carousel {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.about-placeholder {
    font-size: 120px;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

/* =====================================================
   CTA FINAL
   ===================================================== */

.cta-final {
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    text-align: center;
    padding: 120px 0;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: 60px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 32px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
}

.footer-column p {
    color: var(--text-tertiary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-slogan {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, white 0%, var(--primary-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
    animation: simple-glow 3s ease-in-out infinite alternate;
}

@keyframes simple-glow {
    from {
        filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.3));
    }

    to {
        filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.7));
    }
}

.btn-footer-catalog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-footer-catalog:hover {
    background: var(--primary-500);
    border-color: var(--primary-400);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
    letter-spacing: 0.2em;
}

.btn-footer-catalog svg {
    transition: transform 0.4s ease;
}

.btn-footer-catalog:hover svg {
    transform: translate(2px, -2px);
}

.footer-sponsor {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado respecto al texto */
    gap: 12px;
}

.sponsor-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--text-quaternary);
    margin: 0 !important;
    animation: harmonic-glow 4s ease-in-out infinite alternate;
}

.sponsor-link {
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.sponsor-img {
    height: 65px;
    width: auto;
    filter: grayscale(1) brightness(1.5) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsor-link:hover .sponsor-img {
    filter: grayscale(0) brightness(1.2) opacity(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.footer-contact-item:hover .footer-icon {
    color: var(--primary-500);
}

.footer-contact-highlight {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 4px -12px;
    border-left: 3px solid var(--primary-500);
}

.footer-contact-highlight .footer-icon {
    color: var(--primary-500);
}

.footer-contact-highlight a {
    color: var(--primary-400) !important;
    font-weight: 600;
}

.footer-column ul li a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li span {
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-bottom p {
    color: var(--text-quaternary);
    font-size: 14px;
}

/* =====================================================
   GLOW EFFECTS
   ===================================================== */

.glow-primary {
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6)) drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.4)) drop-shadow(0 0 60px rgba(var(--primary-rgb), 0.3));
}

.glow-text {
    text-shadow:
        0 0 10px rgba(var(--primary-rgb), 0.8),
        0 0 20px rgba(var(--primary-rgb), 0.6),
        0 0 40px rgba(var(--primary-rgb), 0.4);
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */

@media (max-width: 767px) {
    :root {
        --section-padding: clamp(40px, 10vw, 60px);
    }

    /* Navbar & Navigation */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        z-index: 2001;
        /* Aumentado significativamente */
        position: relative;
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--primary-500);
        margin: 3px 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(24px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        gap: 32px;
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2000;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 700;
        color: white !important;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        padding-top: 40px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .hero-cta .cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .sphere {
        width: 100%;
        max-width: 300px;
        aspect-ratio: 1;
        height: auto;
        animation: none;
    }

    .sphere-inner {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }

    .hero-video {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Section Spacing & Titles */
    .section-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Grids Global Reset */
    .services-grid,
    .materials-grid,
    .showcase-masonry,
    .testimonials-grid,
    .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        width: 100%;
    }

    /* Tech Stack & Partners */
    .tech-stack {
        padding: 30px 0;
    }

    .tech-stack .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .tech-item {
        font-size: 16px !important;
        letter-spacing: 0.1em !important;
        padding: 10px 0;
    }

    .social-proof-text {
        font-size: 12px !important;
        margin-bottom: 24px !important;
    }

    .partners-grid {
        grid-template-columns: 1fr !important;
        /* Una sola columna para centrado perfecto */
        gap: 20px;
    }

    .partner-logo {
        font-size: 16px !important;
        letter-spacing: 0.1em !important;
        padding: 10px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Services */
    .service-card-flip {
        height: clamp(340px, 85vw, 420px);
    }

    /* Flip al tocar en mobile */
    .service-card-flip.flipped .service-card-inner {
        transform: rotateY(180deg);
    }

    /* Materials */
    .material-card {
        padding: 20px 16px !important;
    }

    .materials-section-spacing {
        padding-top: 300px !important;
        /* Aumentado masivamente */
        margin-top: 120px !important;
        /* Separación extrema */
        border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    }

    /* Showcase */
    .showcase {
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }

    .showcase-image-container {
        height: auto;
        aspect-ratio: 16/9;
    }

    /* About & Carousel */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .carousel-container {
        width: 100%;
        max-width: 340px;
        aspect-ratio: 1;
        height: auto;
        margin: 0 auto;
        animation: none;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .carousel-indicators {
        bottom: 8px;
        gap: 4px;
    }

    /* CTA & Footer */
    .cta-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column ul {
        align-items: center;
        padding: 0;
        list-style: none;
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-logo {
        height: 24px;
    }

    .footer-contact-item {
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .footer-contact-highlight {
        margin: 6px auto !important;
        border-left: none !important;
        border-bottom: 2px solid var(--primary-500);
        padding: 6px 12px;
    }

    .footer-sponsor {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        align-items: center;
    }

    .sponsor-img {
        height: 44px;
        margin-top: 12px;
    }

    /* General Optimization */
    .container {
        padding: 0 16px;
    }

    .glow-bg,
    .particles-container {
        display: none !important;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }

    html,
    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }
}

/* =====================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(37, 211, 102, 0.4),
        0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsapp-pulse 2s infinite;
    color: white;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow:
        0 8px 20px rgba(37, 211, 102, 0.5),
        0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow:
            0 4px 12px rgba(37, 211, 102, 0.4),
            0 8px 24px rgba(37, 211, 102, 0.3),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow:
            0 4px 12px rgba(37, 211, 102, 0.4),
            0 8px 24px rgba(37, 211, 102, 0.3),
            0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =====================================================
   ANIMACIONES ADICIONALES
   ===================================================== */

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.5),
            0 4px 24px rgba(var(--primary-rgb), 0.4),
            0 0 60px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-rgb), 0.8),
            0 8px 40px rgba(var(--primary-rgb), 0.6),
            0 0 80px rgba(var(--primary-rgb), 0.5);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* Optimización de performance */
.animated-element {
    will-change: transform, opacity;
}

/* Smooth scroll */
html {
    scroll-padding-top: 80px;
}