/* ==========================================================================
   INDUS PRODUCCIONES - SISTEMA DE DISEÑO DE ALTO IMPACTO (CSS VANILLA)
   ========================================================================== */

/* 1. Variables Globales & Tokens de Diseño */
:root {
    /* Colores Principales (HSL para manipulación de opacidad) */
    --primary-h: 11;
    --primary-s: 100%;
    --primary-l: 55%;
    
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l)); /* #FF451A */
    --primary-rgb: 255, 69, 26;
    --primary-hover: hsl(var(--primary-h), var(--primary-s), 62%);
    --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
    
    /* Colores de Fondo y Superficies (Modo Oscuro Sofisticado) */
    --bg-dark: #0A0B0D;
    --bg-surface: #121316;
    --bg-surface-rgb: 18, 19, 22;
    --bg-card: #191A1E;
    
    /* Textos */
    --text-light: #FFFFFF;
    --text-muted: #9FA2A6;
    --text-dark: #1D1E22;
    
    /* Bordes y Líneas */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    
    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Layout */
    --container-width: 1280px;
    --header-height: 80px;
}

/* 2. Reset & Normalización */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #25262B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Clases Útiles Comunes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* 3. Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-gesture {
    background-color: rgb(255, 68, 26);
    color:  #FFFFFF;
    border: 1px solid rgba(255, 69, 26, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.btn-gesture:hover {
    background-color: rgba(255, 69, 26, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-gesture.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-gesture.active i {
    animation: pulse-glow 2s infinite ease-in-out;
}

/* Aumentar tamaño de solo el icono en el botón de WhatsApp del menú */
#header-whatsapp-btn i {
    font-size: 22px; /* Agranda solo el icono de WhatsApp */
}

.btn-block {
    width: 100%;
}

/* 4. Estilos Glassmorphism */
.glass-panel {
    background: rgba(var(--bg-surface-rgb), 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

/* Efecto Brillo / Glow en Hover */
.hover-glow-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

/* 5. Cabecera (Navbar) Flotante */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    height: 72px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    border-radius: 100px;
    background: rgba(18, 19, 22, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-header.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 64px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* Barra de progreso de lectura */
.reading-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #FF6A00);
    z-index: 1001;
    transition: width 0.1s ease-out;
    border-radius: 0 0 100px 100px; /* Bordes redondeados para ajustarse a la cápsula */
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 55px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.glass-header.scrolled .header-logo {
    height: 44px;
}

.logo-fallback-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.logo-fallback-text span {
    color: var(--primary);
    font-weight: 500;
}

.nav-menu ul {
    display: flex;
    gap: 12px;
    position: relative;
}

.nav-menu ul li {
    position: relative;
    z-index: 2;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 16px;
    display: block;
    z-index: 3;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

/* 5. Indicador de Punto de Luz (Glow Dot) para item Activo */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.nav-link.active::after {
    transform: translateX(-50%) scale(1);
}



/* 4. Desenfoque de Enlaces Secundarios (Blur Focus Hover) */
.nav-menu ul:hover .nav-link {
    opacity: 0.45;
    filter: blur(0.5px);
}

.nav-menu ul .nav-link:hover {
    opacity: 1;
    filter: blur(0px);
}

.nav-menu ul:not(:hover) .nav-link.active {
    opacity: 1;
}

.menu-toggle-cb, .menu-btn {
    display: none;
}

.mobile-menu-footer {
    display: none;
}

/* 6. Sección Hero (Inicio) */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    opacity: 0.35;
    transform: scale(1.05); /* Escala de seguridad para evitar bordes blancos */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, transparent 10%, var(--bg-dark) 90%),
                linear-gradient(to bottom, transparent, var(--bg-dark));
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex-grow: 1;
}

.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
}

.hero-content {
    max-width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.hero-model-container {
    width: 100%;
    height: 100%;
    max-width: 380px;
    max-height: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                filter 0.6s ease, 
                opacity 0.6s ease,
                border-radius 0.6s ease,
                box-shadow 0.6s ease,
                background-color 0.6s ease,
                border-color 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* El estilo "arrugado" cuando se cierra la mano (fist) */
.hero-model-container.wrinkled {
    transform: scale(0.18) rotate(-25deg);
    border-radius: 50%;
    filter: blur(8px) brightness(0.7) saturate(2);
    opacity: 0.35;
    background: rgba(255, 69, 26, 0.15);
    border: 1px solid rgba(255, 69, 26, 0.4);
    box-shadow: 0 0 40px rgba(255, 69, 26, 0.5);
}

.hero-model-container #hero-model {
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    outline: none;
}

@media (max-width: 991px) {
    .hero-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-visual {
        height: 300px;
    }
    .hero-model-container {
        max-width: 280px;
        max-height: 280px;
    }
    .hero-bg-overlay {
        background-position: 65% top !important;
        opacity: 0.7 !important; /* Aumentar visibilidad y brillo de la imagen en celulares */
    }
    .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(10, 11, 13, 0.65) 0%, rgba(10, 11, 13, 0.1) 45%, var(--bg-dark) 95%) !important;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 49, 3, 0.979);
    font-size: 13px;
    font-weight: 600;
    color: var(solid rgba(255, 69, 26, 0.2));
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-badge i {
    animation: pulse-glow 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero-title span {
    color: #FFFFFF;
    -webkit-text-stroke: 0px;
}

.hero-title span:first-of-type {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    -webkit-text-stroke: 0px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-subtitle strong {
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Banner de Métricas */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    padding: 24px 32px;
    border-radius: 16px;
    text-align: left;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 6px;
    background: #FFFFFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: block;
}

.scroll-indicator-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: block;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

/* 7. Estilo de Secciones Generales */
section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 80px; /* Compensación para el menú fijo al hacer clic en enlaces */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

/* 8. Sección Nosotros */
.nosotros-section {
    background-image: linear-gradient(to bottom, rgba(14, 15, 18, 0.90), rgba(14, 15, 18, 0.96)), url('assets/img/nosotros_bg_celebration.png');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* En dispositivos móviles/táctiles cambiamos 'fixed' a 'scroll' para optimizar rendimiento */
@media (hover: none) and (pointer: coarse) {
    .nosotros-section {
        background-attachment: scroll;
    }
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.nosotros-text .lead-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 500;
}

.nosotros-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.nosotros-values h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
}

.values-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.value-tag:hover {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.value-tag i {
    color: var(--primary);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.value-tag:hover i {
    transform: scale(1.2) rotate(360deg);
}

.nosotros-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0.25; /* Borde naranja sutil por defecto */
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.info-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 69, 26, 0.08);
    border: 1px solid rgba(255, 69, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.info-card:hover .card-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.08) rotate(5deg);
}

/* Efecto de destello metálico (Shine Effect) en tarjetas */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.13) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 3;
    pointer-events: none;
}

.info-card:hover .shine-effect {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* 9. Sección Servicios */
.servicios-section {
    background-color: #0E0F12;
    overflow: hidden;
}

.section-bg-overlay-half {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-repeat: repeat-x;
    z-index: 1;
    opacity: 0.15;
}

.section-gradient-overlay-half {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0E0F12, transparent 30%, #0E0F12 90%);
    z-index: 2;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.servicio-card {
    padding: 45px 35px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}



.servicio-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 69, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #FFFFFF; 
    margin-bottom: 30px;
    border: 1px solid rgba(255, 69, 26, 0.2);
    transition: var(--transition-smooth);
}

.servicio-card:hover .servicio-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.servicio-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.servicio-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.servicio-list {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servicio-list li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.servicio-list li i {
    color: var(--primary);
    font-size: 12px;
}

.servicio-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.servicio-link i {
    font-size: 10px;
    transition: var(--transition-smooth);
}

.servicio-card:hover .servicio-link i {
    transform: translateX(4px);
}

/* 10. Sección Portafolio */
.portafolio-section {
    background-color: var(--bg-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/5;
    transition: var(--transition-smooth);
    perspective: 1000px;
}

.portfolio-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 4;
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Capa de fondo para el hover (degradado vertical profundo para el texto descriptivo) */
.portfolio-item-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Transparente al inicio para ver la foto limpia */
    z-index: 2;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-item-inner::after {
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0.96) 100%);
}

/* Contenedor central estático (Franja rectangular de lado a lado con bordes desvanecidos) */
.portfolio-static-content {
    position: absolute;
    top: 50%;
    left: 0; /* Alinear desde el borde izquierdo */
    transform: translateY(-50%); /* Centrado vertical */
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%; /* De un lado de la imagen al otro */
    padding: 22px 0; /* Un poco más de relleno para permitir el desvanecido suave */
    /* Degradado lineal vertical que se desvanece a transparente arriba y abajo */
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0) 0%, rgba(10, 11, 13, 0.55) 25%, rgba(10, 11, 13, 0.55) 75%, rgba(10, 11, 13, 0) 100%);
    text-align: center;
    opacity: 1;
    transition: var(--transition-smooth);
    pointer-events: none;
}

/* Espacio para el logotipo del cliente (en color original) */
.portfolio-client-logo {
    width: 250px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.portfolio-client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Sin filtro de blanco! Se muestra a color original */
    transition: var(--transition-smooth);
}

/* Título estático visible abajo del logotipo */
.portfolio-static-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8); /* Sombra de texto profunda para legibilidad */
    margin: 0;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

/* Desvanecer la franja rectangular y su contenido en hover */
.portfolio-item:hover .portfolio-static-content {
    opacity: 0;
    transform: translateY(-60%) scale(0.95);
}

/* Ajustes de tamaño individuales para cada logotipo por proyecto */
/* (Modifica el width y el height de cada uno a tu gusto para equilibrarlos visualmente) */

/* Proyecto 1: Cerro abajo 2026 */
.portfolio-grid .portfolio-item:nth-child(1) .portfolio-client-logo {
    width: 250px;
    height: 98px;
}

/* Proyecto 2: Oktoberfest Malloco 2025 */
.portfolio-grid .portfolio-item:nth-child(2) .portfolio-client-logo {
    width: 300px;
    height: 118px;
}

/* Proyecto 3: Campaña Mallplaza 360 */
.portfolio-grid .portfolio-item:nth-child(3) .portfolio-client-logo {
    width: 250px;
    height: 108px;
}

/* Proyecto 4: Proyecto Masisa 3D */
.portfolio-grid .portfolio-item:nth-child(4) .portfolio-client-logo {
    width: 100px;
    height: 38px;
}

/* Proyecto 5: Ladera sur - Mallplaza */
.portfolio-grid .portfolio-item:nth-child(5) .portfolio-client-logo {
    width: 250px;
    height: 88px;
}

/* Proyecto 6: Final FMS Series */
.portfolio-grid .portfolio-item:nth-child(6) .portfolio-client-logo {
    width: 210px;
    height: 109px;
}

/* Proyecto 7: Burgerking apertura tienda */
.portfolio-grid .portfolio-item:nth-child(7) .portfolio-client-logo {
    width: 210px;
    height:111px;
}

/* Proyecto 8: Final Reddbull Internacional */
.portfolio-grid .portfolio-item:nth-child(8) .portfolio-client-logo {
    width: 210px;
    height: 118px;
}

.project-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 11. Sección Testimonios */
.testimonios-section {
    background-color: #0E0F12;
}

.testimonios-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonios-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonio-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    padding: 10px;
}

.testimonio-slide.active {
    opacity: 1;
}

.testimonio-content {
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: rgba(255, 69, 26, 0.15);
    margin-bottom: 24px;
}

.testimonio-text {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
}

.testimonio-author .author-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

.testimonio-author .author-position {
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Controles */
.testimonio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.ctrl-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ctrl-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.testimonio-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* 12. Sección Contacto & Formulario */
.contacto-section {
    background-color: var(--bg-dark);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.contacto-description {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.detail-text span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.detail-text a, .detail-text p {
    font-size: 16px;
    font-weight: 500;
}

.detail-text a:hover {
    color: var(--primary);
}

/* Banner Grupo Indus */
.grupo-indus-banner {
    padding: 30px;
    border-radius: 16px;
    border-left: 3px solid var(--primary);
}

.grupo-indus-banner h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.grupo-indus-banner p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.banner-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Estilo del Formulario */
.contacto-form {
    padding: 50px 40px;
    border-radius: 24px;
}

.form-title {
    margin-bottom: 30px;
}

.form-title h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.form-title p {
    font-size: 13px;
    color: var(--primary);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}

.contacto-form input, .contacto-form select, .contacto-form textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.contacto-form textarea {
    padding-left: 18px;
    resize: none;
}

.contacto-form input:focus, .contacto-form select:focus, .contacto-form textarea:focus {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Éxito de Formulario */
.success-message {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 48px;
    color: #25D366;
    margin-bottom: 16px;
    animation: scale-up 0.5s var(--transition-bounce);
}

.success-message h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-message p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Animación de fondo en contacto */
.animate-bg {
    position: relative;
}

.animate-bg::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 26, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* 13. Footer (Pie de Página) */
.main-footer {
    background-color: #060709;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 50px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-light);
    display: block;
    margin-bottom: 20px;
}

.footer-logo-text span {
    color: var(--primary);
    font-weight: 500;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 340px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer-links-group h4, .footer-contact-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    font-size: 14px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 10px;
    color: var(--primary);
}

.footer-links li a:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.footer-contact-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info p i {
    color: var(--primary);
    width: 16px;
}

.footer-contact-info p a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text, .design-text {
    font-size: 13px;
    color: var(--text-muted);
}

.design-text a {
    color: var(--primary);
    font-weight: 600;
}

.design-text a:hover {
    text-decoration: underline;
}

/* 14. Botón Volver Arriba y Elementos Flotantes */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px; /* Al principio, abajo */
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Cuando el botón de volver arriba está activo, subimos el de WhatsApp */
.back-to-top.active ~ .whatsapp-float {
    bottom: 93px; /* 30px + 48px + 15px de separación */
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* 15. Animaciones */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 24px;
        opacity: 0.3;
    }
    100% {
        top: 8px;
        opacity: 1;
    }
}

@keyframes scale-up {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animación de Revelado de Scroll (JS) */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.fade-in {
    transform: none;
}

.scroll-reveal.slide-up {
    transform: translateY(40px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   16. MEDIA QUERIES (RESPONSIVIDAD COMPLETAMENTE ADAPTATIVA)
   ========================================================================== */

/* Resoluciones de Escritorio Grande (1440px o más) */
@media (min-width: 1440px) {
    :root {
        --container-width: 1400px;
    }
}

/* Pantallas Medianas (Laptops y Computadoras de Escritorio - Max 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Tablets (Max 768px) - Activación del Menú Móvil Hamburguesa */
@media (max-width: 768px) {
    /* Menú Móvil Interactiva (CSS Puro) */
    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-icon-bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-light);
        transition: var(--transition-smooth);
        border-radius: 2px;
    }
    
    /* Adaptación móvil del Capsule Dock */
    .glass-header {
        top: 12px;
        width: 92%;
        height: 60px;
    }
    
    .glass-header.scrolled {
        top: 6px;
        width: 95%;
        height: 56px;
    }

    /* Mostrar Navegación en Mobile a Pantalla Completa */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 11, 13, 0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 30px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.5s;
        z-index: 1000;
        border-left: none;
        box-shadow: none;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: 100%;
    }
    
    .nav-link {
        font-size: clamp(22px, 5.5vw, 32px);
        font-weight: 700;
        letter-spacing: -0.5px;
        padding: 4px 0;
        color: var(--text-muted);
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    }

    /* Ocultar la burbuja rastreadora en móviles */
    .nav-tracker-pill {
        display: none !important;
    }

    /* Info extra del menú a pantalla completa */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 45px;
        gap: 20px;
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.5s ease 0.35s;
    }
    
    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-menu-contact a {
        font-size: 14px;
        color: var(--text-muted);
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-menu-contact a i {
        color: var(--primary);
    }
    
    .mobile-menu-socials {
        display: flex;
        gap: 20px;
    }
    
    .mobile-menu-socials a {
        font-size: 20px;
        color: var(--text-light);
        opacity: 0.7;
    }
    
    /* Control de Activación de Menú */
    .menu-toggle-cb:checked ~ .nav-menu {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle-cb:checked ~ .nav-menu .nav-link {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-toggle-cb:checked ~ .nav-menu .mobile-menu-footer {
        opacity: 1;
        transform: translateY(0);
    }

    /* Retraso elástico escalonado para cada enlace */
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(1) .nav-link { transition-delay: 0.10s; }
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(2) .nav-link { transition-delay: 0.14s; }
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(3) .nav-link { transition-delay: 0.18s; }
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(4) .nav-link { transition-delay: 0.22s; }
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(5) .nav-link { transition-delay: 0.26s; }
    .menu-toggle-cb:checked ~ .nav-menu ul li:nth-child(6) .nav-link { transition-delay: 0.30s; }
    
    .menu-toggle-cb:checked ~ .menu-btn .menu-icon-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle-cb:checked ~ .menu-btn .menu-icon-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-cb:checked ~ .menu-btn .menu-icon-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Ocultar botón CTA del header en mobile para evitar saturar */
    .header-cta {
        display: none;
    }
    
    /* Grid de Stats a 1 columna */
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }
    
    .hero-title {
        letter-spacing: -1px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonio-content {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Teléfonos Inteligentes Pequeños (Max 480px) */
@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        aspect-ratio: 1/1;
    }
    
    .contacto-form {
        padding: 30px 20px;
    }
    
    .ctrl-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   17. ANIMACIONES PREMIUM ADICIONALES (Destellos, Flotaciones y Glows)
   ========================================================================== */

/* Shimmer (Brillo) en Botones Primarios y WhatsApp */
.btn-primary, .btn-whatsapp {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    transition: none;
}

.btn-primary:hover::before, .btn-whatsapp:hover::before {
    animation: btn-shimmer 1.8s ease-in-out infinite;
}

@keyframes btn-shimmer {
    0% {
        left: -110%;
    }
    100% {
        left: 200%;
    }
}

/* Efecto de Flotación para los Iconos en los Servicios */
.servicio-card:hover .servicio-icon {
    animation: icon-float 2s ease-in-out infinite;
}

@keyframes icon-float {
    0% {
        transform: translateY(0px) scale(1.05);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
    }
    100% {
        transform: translateY(0px) scale(1.05);
    }
}

/* Efecto Hover Popup en las tarjetas de estadísticas */
.stat-card {
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(255, 69, 26, 0.08);
}

/* Glow en Inputs del Formulario al hacer foco */
.contacto-form input, .contacto-form select, .contacto-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contacto-form input:focus, .contacto-form select:focus, .contacto-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Tarjetas de Testimonios - Transición Suave en Hover */
.testimonio-content {
    transition: var(--transition-smooth);
}

.testimonio-content:hover {
    transform: scale(1.01) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}


/* Puntero Mágico Personalizado */
.custom-cursor {
    width: 34px;
    height: 34px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease, 
                border-color 0.3s ease;
    display: none; /* Oculto en móviles */
    mix-blend-mode: difference; /* Invierte colores haciéndolo resaltar en claro y oscuro */
    border-color: #FFFFFF; /* Blanco para invertir */
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    display: none; /* Oculto en móviles */
}

/* Estado del Puntero cuando pasa por encima de enlaces o botones (Hover) */
.custom-cursor.hovering {
    width: 54px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

.custom-cursor-dot.hovering {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #FFFFFF;
}

/* Ocultamos el cursor del sistema y mostramos el personalizado en dispositivos que usan mouse */
@media (hover: hover) and (pointer: fine) {
    body, 
    a, 
    button, 
    select, 
    input, 
    textarea, 
    label, 
    option,
    .filter-btn, 
    .ctrl-btn, 
    .logo-area, 
    .logo-area img,
    .nav-link,
    .btn,
    .client-logo-wrapper {
        cursor: none !important;
    }
    
    .custom-cursor {
        display: block;
    }
    
    .custom-cursor-dot {
        display: block;
    }
}

/* ==========================================================================
   18. MEJORAS ULTRA-PREMIUM ADICIONALES (Texturas, Accordions, Modales y Splits)
   ========================================================================== */



/* 2. Sección FAQ (Acordeón de Preguntas Frecuentes) */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    background: rgba(var(--bg-surface-rgb), 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-toggle {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 30px 24px 30px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* 3. Modal Detallado de Proyectos del Portafolio (Lightbox) */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 6, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portfolio-modal-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 960px;
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.portfolio-modal.active .portfolio-modal-content {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 20;
}

.portfolio-modal-close:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.portfolio-modal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
}

.portfolio-modal-media {
    background-color: #050608;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 480px;
}

#modal-model-container {
    width: 100%;
    height: 480px; /* Altura explícita en escritorio */
    min-height: 480px;
    background: radial-gradient(circle at center, #e6e8ee 0%, #b5b8c0 100%);
    outline: none;
    touch-action: none; /* Evitar interferencias de scroll en móvil */
}

#modal-model {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: transparent !important;
    outline: none;
}

.portfolio-modal-info {
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-surface);
}

.portfolio-modal-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.project-details-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary);
    width: 16px;
}

.meta-item strong {
    color: var(--text-light);
}

.project-description-full h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description-full p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.project-modal-cta .btn {
    width: 100%;
}

/* 4. Clases CSS para Efecto de Texto Revelado (Split-Text) */
.word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.22em; /* Espacio entre palabras */
    padding-bottom: 0.05em;
}

.word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title.revealed .word {
    transform: translateY(0);
}

/* 5. Transición del Botón Magnético (Snapping Fallback) */
.btn, 
.logo-area, 
.logo-area img, 
.nav-link, 
.filter-btn, 
.ctrl-btn,
.back-to-top {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Adaptación responsiva del modal */
@media (max-width: 768px) {
    .portfolio-modal-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-modal-media img {
        min-height: 250px;
    }
    #modal-model-container,
    #modal-model {
        min-height: 250px;
        height: 250px; /* Altura explícita para evitar colapso de alto en Safari móvil */
    }
    .portfolio-modal-info {
        padding: 30px 24px;
    }
}

/* ==========================================================================
   19. ESTILOS DE SOPORTE PARA LENIS (SMOOTH SCROLL)
   ========================================================================== */
html.lenis, html.lenis body {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

/* ==========================================================================
   20. MEJORAS PRELOADER, CURSORES Y HOVER GLOWS
   ========================================================================== */

/* 1. Preloader Overlay */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.5s;
    overflow: hidden;
}

.preloader.preloader-exit {
    transform: translateY(-100%);
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.preloader-logo-wrapper {
    margin-bottom: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    will-change: transform, opacity;
}

#preloader-logo {
    width: 420px; /* Cinematic and larger on desktop */
    height: auto;
    max-width: 85vw;
    display: block;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    #preloader-logo {
        width: 310px; /* Larger on mobile too */
    }
}

.preloader-logo-wrapper.logo-glow-active {
    animation: preloaderPulseGlow 2.5s infinite alternate ease-in-out;
}

@keyframes preloaderPulseGlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.04);
    }
}

/* 2. Cursor Text (Contextual Custom Cursor) */
.cursor-text {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.custom-cursor.has-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

.custom-cursor.has-text .cursor-text {
    opacity: 1;
    transform: scale(1);
}

/* 3. Hover Glow Effects on Cards */
.servicio-card, .stat-card, .faq-item, .info-card {
    position: relative;
    overflow: hidden;
}

.servicio-card::after, .stat-card::after, .faq-item::after, .info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 50%);
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.servicio-card:hover::after, .stat-card:hover::after, .faq-item:hover::after, .info-card:hover::after {
    opacity: 1;
}

/* Asegurar que el contenido de las tarjetas esté por encima de la luz */
.servicio-card > *, .stat-card > *, .faq-item > *, .client-logo-wrapper > *, .info-card > * {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   21. SECCIÓN CLIENTES / LOGOS
   ========================================================================== */
.clientes-section {
    padding: 90px 0;
    background-color: var(--bg-dark);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.clientes-header {
    text-align: center;
    margin-bottom: 45px;
}

.clientes-header .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
}

.clientes-header .section-subtitle span {
    color: var(--primary);
}

.clientes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 990px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.client-logo-wrapper {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease,
                background-color 0.4s ease;
}

.client-logo-wrapper.circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
}

.client-logo-wrapper.pill {
    width: 240px;
    height: 130px;
    border-radius: 100px;
}

.client-logo {
    max-width: 75%;
    max-height: 52%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.35;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

/* Adjustments for specific logos that might look smaller/larger */
.client-logo-wrapper[alt="Stanley"] .client-logo {
    max-width: 70%;
}
.client-logo-wrapper[alt="Umbro"] .client-logo {
    max-height: 50%;
}

/* Hover effects */
.client-logo-wrapper:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.client-logo-wrapper:hover .client-logo {
    opacity: 0.9;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .clientes-section {
        padding: 60px 0;
    }
    
    .clientes-grid {
        gap: 12px;
        max-width: 100%;
    }
    
    .client-logo-wrapper.circle {
        width: 90px;
        height: 90px;
    }

    .client-logo-wrapper.pill {
        width: 170px;
        height: 90px;
    }
}

/* ==========================================================================
   22. ESTILOS DE CONTROL GESTUAL Y HUD DE CÁMARA
   ========================================================================== */
.webcam-preview-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 200px;
    border-radius: 20px;
    padding: 12px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(18, 19, 22, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

.webcam-preview-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.webcam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.webcam-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.webcam-title i {
    color: var(--primary);
    font-size: 10px;
}

.webcam-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 2px;
}

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

.webcam-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#webcam-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Espejo */
    opacity: 0.15; /* Tenue */
    transition: opacity 0.5s ease;
}

#webcam-video.ready {
    opacity: 0.35;
}

#webcam-skeleton-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.webcam-status-bar {
    margin-top: 8px;
    text-align: center;
}

#webcam-status-text {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

#webcam-status-text.active {
    color: #25D366;
}

#webcam-status-text.error {
    color: #FF451A;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .webcam-preview-container {
        bottom: 20px;
        left: 20px;
        width: 150px;
        padding: 8px;
    }
    .webcam-title {
        font-size: 9px;
    }
}

/* Forzar visualización de cursor en móviles al usar gestos */
body.gestures-active .custom-cursor {
    display: flex !important;
}
body.gestures-active .custom-cursor-dot {
    display: block !important;
}





/* ==========================================================================
   20. ESTILOS PARA LA IMAGEN INTERACTIVA CON DESPLAZAMIENTO (SVG FILTER)
   ========================================================================== */
.hero-interactive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: url(#wrinkle-filter);
    border-radius: 22px;
    background-color: #050608;
    pointer-events: none;
    transform-style: preserve-3d;
}

/* Forzar efecto de perspectiva 3D en el hover de contenedor */
.hero-model-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* ==========================================================================
   21. ESTILOS PARA EL CARRUSEL DEL MODAL DE PORTAFOLIO
   ========================================================================== */
.modal-carousel {
    position: relative;
    width: 100%;
    height: 480px;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.modal-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050608;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.modal-carousel-slide:active {
    cursor: grabbing;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Flechas de navegación del carrusel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 11, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}

/* Indicadores de página (Puntos / Dots) */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
    .modal-carousel {
        height: 300px;
        min-height: 300px;
    }
}

/* ==========================================================================
   22. ESTILOS PARA EL VISOR INTERACTIVO 360°
   ========================================================================== */
.slide-360-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #050608;
    overflow: hidden;
}

.viewer-360 {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.viewer-360:active {
    cursor: grabbing;
}

.viewer-360 img.frame-360 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Previene comportamiento de arrastre por defecto del navegador */
}

/* Capa instructiva del 360 */
.viewer-360-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Permite arrastrar el visor a través del overlay */
}

.viewer-360-overlay.interacting {
    opacity: 0;
}

.viewer-360-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-align: center;
    background: rgba(10, 11, 13, 0.85);
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: pulseHint 2.2s infinite ease-in-out;
}

.viewer-360-hint i {
    font-size: 24px;
    color: var(--primary);
}

.viewer-360-hint span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes pulseHint {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Fondo de estudio gris degradado radial para las diapositivas de modelo 3D en el carrusel */
.slide-model-container {
    background: radial-gradient(circle at center, #e6e8ee 0%, #b5b8c0 100%) !important;
}
