fo/* ============================================
   📋 ÍNDICE DE CONTENIDOS
   ============================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   2. NAVBAR
   3. HERO SECTION
   4. CHI SONO (SOBRE MÍ)
   5. [FUTURAS SECCIONES AQUÍ]
   6. FORMULARIO DE CONTACTO
   7. ELEMENTOS GENERALES
   8. MEDIA QUERIES POR SECCIÓN
   ============================================ */
.btn-idioma,
.bandera-img,
.skill-badge {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* ============================================
   1️⃣ VARIABLES Y CONFIGURACIÓN BASE
   ============================================ */

:root {
    /* Colores principales */
    --color-principal-oscuro: #1a1a1a;
    --color-principal-claro: #ffffff;
    --color-gris-medio: #6b7280;
    --color-gris-claro: #f9fafb;
    
    /* Colores de acento (tech/IA) */
    --color-acento-morado: #8b5cf6;
    --color-acento-morado-hover: #7c3aed;
    --color-acento-cyan: #06b6d4;
    
    /* Fuentes */
    --font-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-titulo: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Efectos glass */
    --glass-bg: rgba(26, 26, 26, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-principal);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-principal-oscuro);
    overflow-x: hidden;
}


/* ============================================
   2️⃣ NAVBAR - BARRA DE NAVEGACIÓN
   ============================================ */

/* Contenedor principal del navbar */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12000;
    padding: 20px 0;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: none;
}

/* Logo "Pablo Cuevas - Automation" */
.nav-nome {
    font-family: var(--font-titulo);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-principal-claro);
    text-decoration: none;
    background: rgba(86, 61, 144, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(92, 37, 219, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-nome:hover {
    background: rgba(139, 92, 246, 0.9);
    border-color: var(--color-acento-morado);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    color: var(--color-principal-claro);
}

/* Icono IA dentro del logo */
.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Links de navegación */
.navbar-nav {
    margin-left: auto;
    gap: 10px;
}

#mainNav .navbar-nav .nav-link {
    font-family: var(--font-titulo);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link:focus {
    color: var(--color-acento-morado);
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

/* Botón hamburguesa (móvil) */
.navbar-toggler {
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-acento-morado);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(100%);
}



/* ============================================
   WHATSAPP FAB
   ============================================ */



.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}


/* ============================================
   3️⃣ HERO SECTION - SECCIÓN PRINCIPAL
   ============================================ */

/* Contenedor principal */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-principal-oscuro);
}

/* Videos de fondo (desktop/tablet) */
.hero-video-1,
.hero-video-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-video-2 {
    opacity: 0;
}

/* Fondo móvil (fallback ligero) */
.hero-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--color-principal-oscuro) 0%,
        #2a2a4a 50%,
        var(--color-principal-oscuro) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Overlay oscuro para contraste */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.5) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: 2;
}

/* Contenedor de contenido */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Caja de contenido con blur */
.hero-content .text-center {
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 50px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Título principal */
.hero-content h1,
.hero-title {
    color: #ffffff;
    font-family: var(--font-titulo);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 8px rgba(0, 0, 0, 0.9),
        0 8px 16px rgba(0, 0, 0, 0.8),
        0 16px 32px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(139, 92, 246, 0.4);
}

/* Subtítulo */
.hero-content p,
.hero-subtitle {
    color: #f5f5f5;
    font-family: var(--font-principal);
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 8px rgba(0, 0, 0, 0.9),
        0 8px 16px rgba(0, 0, 0, 0.7);
}

/* Contenedor de botones */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones generales */
.hero-btn {
    font-family: var(--font-principal);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    padding: 16px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Botón primario morado */
.btn-primary.hero-btn {
    background-color: var(--color-acento-morado);
    border-color: var(--color-acento-morado);
    color: white;
}

.btn-primary.hero-btn:hover {
    background-color: var(--color-acento-morado-hover);
    border-color: var(--color-acento-morado-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* Botón outline blanco */
.btn-outline-light.hero-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-principal-claro);
    color: var(--color-principal-claro);
    backdrop-filter: blur(8px);
}

.btn-outline-light.hero-btn:hover {
    background-color: var(--color-principal-claro);
    color: var(--color-principal-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-principal-claro);
    opacity: 0.8;
    animation: bounce 2s infinite;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator:hover {
    opacity: 1;
}


/* ============================================
   4️⃣ CHI SONO - SECCIÓN "SOBRE MÍ"
   ============================================ */

/* Contenedor principal */
.chi-sono-section {
    position: relative;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f9fafb 50%,
        #ffffff 100%
    );
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Limitar ancho del container */
.chi-sono-section .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* --- FORMAS DECORATIVAS DE FONDO --- */

.forma-decorativa {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.forma-1 {
    width: 400px;
    height: 400px;
    background: var(--color-acento-morado);
    top: 10%;
    left: 5%;
    filter: blur(80px);
}

.forma-2 {
    width: 300px;
    height: 300px;
    background: var(--color-acento-cyan);
    bottom: 15%;
    right: 8%;
    filter: blur(60px);
}

/* --- FOTO DE PERFIL (IZQUIERDA) --- */

.foto-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foto-perfil {
    width: 100%;
    max-width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 
        0 0 0 4px white,
        0 0 0 6px var(--color-acento-morado),
        0 10px 40px rgba(139, 92, 246, 0.3),
        0 0 80px rgba(139, 92, 246, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-perfil:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 0 0 4px white,
        0 0 0 6px var(--color-acento-morado),
        0 15px 50px rgba(139, 92, 246, 0.4),
        0 0 100px rgba(139, 92, 246, 0.2);
}

/* --- CONTENEDOR DE DESCRIPCIÓN (DERECHA) --- */

.descripcion-container {
    background: rgba(249, 250, 251, 0.8);
    padding: 50px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.15),
        0 0 60px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: box-shadow 0.3s ease;
}

.descripcion-container:hover {
    box-shadow: 
        0 12px 48px rgba(139, 92, 246, 0.25),
        0 0 80px rgba(139, 92, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* --- BOTONES DE IDIOMA CON BANDERAS --- */

.idioma-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-idioma {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 64px;
    opacity: 1;  /* Siempre visible - evita conflictos con GSAP */
    visibility: visible;
}

/* IMAGEN DE LA BANDERA */
.bandera-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    pointer-events: none;
    opacity: 1;  /* Siempre visible */
    visibility: visible;
}

.btn-idioma:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    border-color: var(--color-acento-morado);
}

.btn-idioma.active {
    background: linear-gradient(135deg, var(--color-acento-morado) 0%, var(--color-acento-morado-hover) 100%);
    border-color: var(--color-acento-morado);
    box-shadow: 
        0 6px 25px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3);
}

/* --- CONTENIDO DE TEXTO --- */

.titulo-chi-sono {
    font-family: var(--font-titulo);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-principal-oscuro);
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.1);
}

.texto-descripcion {
    font-family: var(--font-principal);
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* --- BADGES DE HABILIDADES --- */

.skills-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
    opacity: 1;  /* Siempre visible */
}

.skill-badge {
    background: white;
    color: var(--color-principal-oscuro);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    opacity: 1;  /* Siempre visible */
    visibility: visible;
}

.skill-badge:hover {
    background: var(--color-acento-morado);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* --- ANIMACIÓN DE CONTENIDO --- */

.contenido-idioma {
    animation: fadeIn 0.5s ease-in-out;
}

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

.contenido-idioma.oculto {
    display: none;
}

/* ============================================
/* ============================================
   5️⃣ SECCIÓN: SOLUZIONI INTELLIGENTI V2 OPTIMIZADA
   Fixes: Bug carrusel + Tamaños reducidos + Tipografía mejorada
   ============================================ */

/* ==========================================
   SOLUCIÓN CRÍTICA: FIX BUG DEL CARRUSEL
   (Igual que fix de banderas)
   ========================================== */

/* Forzar visibilidad permanente del contenido activo del carrusel */
.carousel-item.active .caso-card,
.carousel-item.active .badge-categoria,
.carousel-item.active .caso-box,
.carousel-item.active .icono-grande,
.carousel-item.active .caso-titulo,
.carousel-item.active .caso-texto,
.carousel-item.active .vantaggio-item,
.carousel-item.active .vantaggi-lista {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 
 CONTENEDOR PRINCIPAL Y FONDO
  */

#soluzioni {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 100%);
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Formas decorativas de fondo (coherencia con Chi Sono) */
.forma-decorativa-sol {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.forma-decorativa-sol-1 {
    background: var(--color-acento-morado);
    top: 5%;
    left: -8%;
}

.forma-decorativa-sol-2 {
    background: var(--color-acento-cyan);
    bottom: 5%;
    right: -8%;
}

/* 
   TIPOGRAFÍA OPTIMIZADA
    */

/* Título principal con gradiente - MÁS COMPACTO */
.titulo-principal {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-acento-morado) 0%, var(--color-acento-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Texto lead (introducción principal) - MÁS CONCISO */
.lead-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
}

.lead-text strong {
    font-weight: 600;
    color: white;
}

/* Highlight cyan en texto */
.text-cyan-highlight {
    color: var(--color-acento-cyan);
    font-weight: 600;
}

/* Subtítulo (credencial técnica) */
.subtitle-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.subtitle-text strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Separador decorativo */
.separador-decorativo {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-acento-morado), var(--color-acento-cyan));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.separador-decorativo:hover {
    width: 120px;
}

/* Subtítulo del carrusel */
.subtitulo-carrusel {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-acento-cyan);
}

.icono-titulo {
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

/* 
   CARRUSEL CON PROFUNDIDAD 3D
    */

.carrusel-contenedor {
    position: relative;
    z-index: 10;
    perspective: 1200px;
}

.carousel-profundidad {
    transform-style: preserve-3d;
}

/* Indicadores personalizados */
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicators-custom button.active {
    width: 50px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--color-acento-morado), var(--color-acento-cyan));
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.carousel-indicators-custom button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

/* 
   EFECTO 3D: SLIDES INACTIVOS DIFUMINADOS
    */

/* Slide NO activo (transparente y difuminado) */
.carousel-item:not(.active) .caso-card {
    opacity: 0.3;
    transform: scale(0.92) translateZ(-50px);
    filter: blur(5px);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide ACTIVO (nítido y al frente) */
.carousel-item.active .caso-card {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: blur(0);
    z-index: 100;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
   TARJETAS MÁS COMPACTAS
    */

/* Base común para todas las tarjetas - REDUCIDA */
.caso-card {
    max-width: 700px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.caso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.75);
    z-index: -1;
}

.caso-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 25px 80px rgba(139, 92, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Gradientes temáticos sutiles por categoría */

/* E-commerce (Verde-Cyan: Productividad) */
.caso-card-ecommerce::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(6, 182, 212, 0.05) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.caso-card-ecommerce:hover::after {
    opacity: 1;
}

/* Customer Service (Azul-Morado: Comunicación) */
.caso-card-customerservice::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        rgba(139, 92, 246, 0.05) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.caso-card-customerservice:hover::after {
    opacity: 1;
}

/* Marketing (Naranja-Rosa: Creatividad) */
.caso-card-marketing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 115, 22, 0.08) 0%, 
        rgba(236, 72, 153, 0.05) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.caso-card-marketing:hover::after {
    opacity: 1;
}

/* Amministrazione (Gris-Azul: Profesional) */
.caso-card-amministrazione::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(71, 85, 105, 0.08) 0%, 
        rgba(100, 116, 139, 0.05) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.caso-card-amministrazione:hover::after {
    opacity: 1;
}

/* HR (Morado-Cyan: Tu marca) */
.caso-card-hr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(6, 182, 212, 0.05) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.caso-card-hr:hover::after {
    opacity: 1;
}

/* 
    BADGE DE CATEGORÍA
    */

.badge-categoria {
    display: inline-block;
    padding: 8px 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Gradientes específicos por badge */
.badge-ecommerce {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.badge-customerservice {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.badge-marketing {
    background: linear-gradient(135deg, #f97316, #ec4899);
}

.badge-amministrazione {
    background: linear-gradient(135deg, #475569, #64748b);
}

.badge-hr {
    background: linear-gradient(135deg, var(--color-acento-morado), var(--color-acento-cyan));
}

.badge-categoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* 
   CAJAS DIFERENCIADAS - MÁS COMPACTAS
    */

.caso-box {
    padding: 1.25rem;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Caja PROBLEMA (Rojo sutil) */
.caso-box-problema {
    background: 
        linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, transparent 100%),
        rgba(26, 26, 26, 0.5);
    border-left: 4px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

.caso-box-problema:hover {
    background: 
        linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, transparent 100%),
        rgba(26, 26, 26, 0.6);
    border-left-color: rgba(239, 68, 68, 0.8);
    transform: translateX(4px);
}

/* Caja SOLUZIONE (Cyan sutil) */
.caso-box-soluzione {
    background: 
        linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, transparent 100%),
        rgba(26, 26, 26, 0.5);
    border-left: 4px solid rgba(6, 182, 212, 0.6);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
}

.caso-box-soluzione:hover {
    background: 
        linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, transparent 100%),
        rgba(26, 26, 26, 0.6);
    border-left-color: rgba(6, 182, 212, 0.8);
    transform: translateX(4px);
}

/* Caja VANTAGGI (Verde sutil) */
.caso-box-vantaggi {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%),
        rgba(26, 26, 26, 0.5);
    border-left: 4px solid rgba(16, 185, 129, 0.6);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.caso-box-vantaggi:hover {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, transparent 100%),
        rgba(26, 26, 26, 0.6);
    border-left-color: rgba(16, 185, 129, 0.8);
    transform: translateX(4px);
}

/* 
   ICONOS MÁS PEQUEÑOS (55px)
    */

.icono-grande {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icono PROBLEMA (Rojo con glow) */
.icono-problema {
    background: rgba(239, 68, 68, 0.15);
    filter: drop-shadow(0 8px 25px rgba(239, 68, 68, 0.3));
}

.caso-box-problema:hover .icono-problema {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 35px rgba(239, 68, 68, 0.5));
}

/* Icono SOLUZIONE (Cyan con glow) */
.icono-soluzione {
    background: rgba(6, 182, 212, 0.15);
    filter: drop-shadow(0 8px 25px rgba(6, 182, 212, 0.3));
}

.caso-box-soluzione:hover .icono-soluzione {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 12px 35px rgba(6, 182, 212, 0.5));
}

/* Icono VANTAGGI (Verde con glow) */
.icono-vantaggi {
    background: rgba(16, 185, 129, 0.15);
    filter: drop-shadow(0 8px 25px rgba(16, 185, 129, 0.3));
}

.caso-box-vantaggi:hover .icono-vantaggi {
    transform: scale(1.1);
    filter: drop-shadow(0 12px 35px rgba(16, 185, 129, 0.5));
}

/* 
    TÍTULOS Y TEXTO OPTIMIZADOS
   */

/* Títulos de subsecciones - MÁS COMPACTOS */
.caso-titulo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.caso-titulo-problema {
    color: #ef4444;
}

.caso-titulo-soluzione {
    color: var(--color-acento-cyan);
}

.caso-titulo-vantaggi {
    color: #10b981;
}

/* Texto descriptivo - MÁS CONCISO */
.caso-texto {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
}

.caso-texto strong {
    font-weight: 600;
    color: white;
}

/* 
    LISTA DE VANTAGGI MÁS COMPACTA
    */

.vantaggi-lista {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.vantaggio-item {
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.vantaggio-item:last-child {
    margin-bottom: 0;
}

.vantaggio-item strong {
    color: var(--color-acento-cyan);
    font-weight: 600;
}

/* Microinteracción hover en cada beneficio */
.vantaggio-item:hover {
    background: rgba(6, 182, 212, 0.12);
    transform: translateX(10px);
    padding-left: 20px;
    box-shadow: 
        0 4px 15px rgba(6, 182, 212, 0.15),
        inset 4px 0 0 var(--color-acento-cyan);
}

/* 
   CONTROLES DEL CARRUSEL PERSONALIZADOS
    */

.control-custom {
    width: 55px;
    height: 55px;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.control-custom:hover {
    opacity: 1;
    transform: scale(1.1);
}

.control-icon-prev,
.control-icon-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.control-custom:hover .control-icon-prev,
.control-custom:hover .control-icon-next {
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.control-icon-prev svg,
.control-icon-next svg {
    color: white;
}

/* 
   CTA FINAL
    */

.cta-pregunta {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
    background: transparent;
    border: 2px solid var(--color-acento-cyan);
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-acento-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-cta-final:hover {
    color: white;
    border-color: var(--color-acento-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.btn-cta-final:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-cta-final svg {
    transition: transform 0.3s ease;
}

.btn-cta-final:hover svg {
    transform: translateX(5px);
}

/* 
    RESPONSIVE - MOBILE FIRST OPTIMIZADO
    */

/* Tablets grandes y menores (≤1200px) */
@media (max-width: 1200px) {
    #soluzioni {
        padding: 80px 0;
    }
    
    .caso-card {
        max-width: 90%;
    }
    
    .forma-decorativa-sol {
        width: 350px;
        height: 350px;
    }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
    #soluzioni {
        padding: 70px 0;
    }
    
    .titulo-principal {
        font-size: 2.5rem;
    }
    
    .lead-text {
        font-size: 1.0625rem;
    }
    
    .caso-card {
        max-width: 95%;
    }
    
    .icono-grande {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.875rem;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    #soluzioni {
        padding: 60px 0;
    }
    
    .forma-decorativa-sol {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
    
    .titulo-principal {
        font-size: 2rem;
        letter-spacing: -0.02em;
    }
    
    .lead-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .subtitle-text {
        font-size: 0.875rem;
    }
    
    .separador-decorativo {
        width: 60px;
        height: 3px;
    }
    
    .subtitulo-carrusel {
        font-size: 0.9375rem;
    }
    
    /* Tarjetas */
    .caso-card {
        max-width: 100%;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    /* Badge */
    .badge-categoria {
        font-size: 0.75rem;
        padding: 7px 14px;
    }
    
    /* Cajas */
    .caso-box {
        padding: 1rem;
    }
    
    /* Iconos */
    .icono-grande {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.75rem;
    }
    
    /* Títulos */
    .caso-titulo {
        font-size: 1.125rem;
    }
    
    /* Texto */
    .caso-texto {
        font-size: 0.9375rem;
        line-height: 1.5;
    }
    
    /* Vantaggi */
    .vantaggio-item {
        font-size: 0.875rem;
        padding: 7px 10px;
    }
    
    .vantaggio-item:hover {
        transform: translateX(6px);
        padding-left: 16px;
    }
    
    /* Controles del carrusel */
    .control-custom {
        width: 45px;
        height: 45px;
    }
    
    .control-icon-prev,
    .control-icon-next {
        width: 40px;
        height: 40px;
    }
    
    .control-icon-prev svg,
    .control-icon-next svg {
        width: 20px;
        height: 20px;
    }
    
    /* Indicadores */
    .carousel-indicators-custom {
        gap: 8px;
        margin-bottom: 2rem;
    }
    
    .carousel-indicators-custom button {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators-custom button.active {
        width: 35px;
    }
    
    /* CTA */
    .cta-pregunta {
        font-size: 1rem;
    }
    
    .btn-cta-final {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Mobile pequeño (≤576px) */
@media (max-width: 576px) {
    .titulo-principal {
        font-size: 1.75rem;
    }
    
    .lead-text {
        font-size: 0.9375rem;
    }
    
    .caso-box {
        padding: 0.875rem;
    }
    
    .icono-grande {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.5rem;
    }
    
    .caso-titulo {
        font-size: 1.0625rem;
    }
    
    .caso-texto {
        font-size: 0.875rem;
    }
    
    .vantaggio-item {
        font-size: 0.8125rem;
        padding: 6px 8px;
    }
    
    .btn-cta-final {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}

/* Mobile muy pequeño (≤400px) */
@media (max-width: 400px) {
    .titulo-principal {
        font-size: 1.5rem;
    }
    
    .badge-categoria {
        font-size: 0.6875rem;
        padding: 6px 12px;
    }
}
    
/* --- SECCION SOLUZIONI---*/

     #soluzioni {
        padding: 80px 0;
    }
    
    .titulo-principal {
        font-size: 2.75rem;
    }
    
    .lead-text {
        font-size: 1.125rem;
    }
    
    .caso-card {
        max-width: 95%;
    }
    
    .icono-grande {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 2.25rem;
    }


    /* --- ELEMENTOS GENERALES --- */
    .section-height {
        min-height: 400px;
    }



/* ==========================================
   📱 MEDIUM (≥768px) - MD
   ========================================== */

@media (max-width: 768px) {
    
    /* --- SECCION HERO SECTION --- */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btn {
        width: 90%;
        max-width: 300px;
        padding: 12px 25px;
    }
    
    .hero-content .text-center {
        padding: 40px 25px;
    }
    
    /* --- SECCION NAVBAR --- */
    .navbar-collapse {
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
        border: 1px solid var(--glass-border);
    }
    
    #mainNav .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 5px 0;
        display: block;
        text-align: center;
    }
    
    /* --- SECCION CHI SONO --- */
    .chi-sono-section {
        padding: 80px 0;
    }
    
    .foto-perfil {
        max-width: 280px;
        height: 280px;
    }
    
    .descripcion-container {
        padding: 30px;
    }
    
    .titulo-chi-sono {
        font-size: 2rem;
    }
    
    .texto-descripcion {
        font-size: 1.05rem;
    }
/* --- SECCION SOLUZIONI --- */

    #soluzioni {
        padding: 60px 0;
    }
    
    .forma-decorativa-sol {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
    
    .titulo-principal {
        font-size: 2rem;
        letter-spacing: -0.01em;
    }
    
    .lead-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .subtitle-text {
        font-size: 0.9375rem;
    }
    
    .separador-decorativo {
        width: 60px;
        height: 3px;
    }
    
    .subtitulo-carrusel {
        font-size: 1rem;
    }
    
    /* Tarjetas */
    .caso-card {
        max-width: 100%;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    /* Badge */
    .badge-categoria {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    /* Cajas */
    .caso-box {
        padding: 1.25rem;
    }
    
    /* Iconos más pequeños en mobile */
    .icono-grande {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 2rem;
    }
    
    /* Títulos */
    .caso-titulo {
        font-size: 1.25rem;
    }
    
    /* Texto */
    .caso-texto {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Vantaggi */
    .vantaggio-item {
        font-size: 0.9375rem;
        padding: 10px 12px;
    }
    
    .vantaggio-item:hover {
        transform: translateX(6px);
        padding-left: 18px;
    }
    
    /* Controles del carrusel */
    .control-custom {
        width: 45px;
        height: 45px;
    }
    
    .control-icon-prev,
    .control-icon-next {
        width: 40px;
        height: 40px;
    }
    
    .control-icon-prev svg,
    .control-icon-next svg {
        width: 20px;
        height: 20px;
    }
    
    /* Indicadores */
    .carousel-indicators-custom {
        gap: 8px;
        margin-bottom: 2rem;
    }
    
    .carousel-indicators-custom button {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators-custom button.active {
        width: 35px;
    }
    
    /* CTA */
    .cta-pregunta {
        font-size: 1rem;
    }
    
    .btn-cta-final {
        padding: 14px 32px;
        font-size: 1rem;
    }
}
    
    /* --- IMÁGENES GENERALES --- */
    .img-fit-back,
    .img-fat-back {
        width: 100%;
        height: auto;
        position: relative;
        margin-bottom: 20px;
    }
    
    .img-fit-front,
    .img-fat-front {
        display: none;
    }



/* ==========================================
   📱 SMALL (≥576px) - SM
   ========================================== */

@media (max-width: 576px) {
    
    /* --- SECCION HERO SECTION --- */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .text-center {
        padding: 30px 20px;
    }
    
    /* --- SECCION NAVBAR --- */
    .nav-nome {
        font-size: 1rem;
        padding: 8px 14px;
    }
    
    .nav-logo-icon {
        width: 24px;
        height: 24px;
    }
    
    /* --- SECCION CHI SONO --- */
    .chi-sono-section {
        padding: 60px 0;
    }
    
    .foto-perfil {
        max-width: 250px;
        height: 250px;
    }
    
    .descripcion-container {
        padding: 25px;
    }
    
    .titulo-chi-sono {
        font-size: 1.8rem;
    }
    
    .texto-descripcion {
        font-size: 1rem;
    }
    
    .btn-idioma {
        min-width: 56px;
        min-height: 56px;
        padding: 10px 12px;
    }
    
    .bandera-img {
        width: 32px;
        height: 32px;
    }
    
    .skill-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    /* --- SECCION SOLUZIONI --- */

.titulo-principal {
        font-size: 1.75rem;
    }
    
    .lead-text {
        font-size: 0.9375rem;
    }
    
    .caso-box {
        padding: 1rem;
    }
    
    .icono-grande {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.75rem;
    }
    
    .caso-titulo {
        font-size: 1.125rem;
    }
    
    .caso-texto {
        font-size: 0.9375rem;
    }
    
    .vantaggio-item {
        font-size: 0.875rem;
        padding: 8px 10px;
    }
    
    .btn-cta-final {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}
    
    /* --- ELEMENTOS GENERALES --- */
    .section-height {
        min-height: 350px;
    }
    
    .boton,
    .button-tavolo {
        padding: 10px 20px;
        font-size: 14px;
    }



/*Introduccion: exactamente asi, usare eso, la posicion de esa manera con el texto centrado.

tabs/pills horizontales: el active state si, en morado oscuro.

video descriptivo: lo quisiera a la derecha.

contenido del caso: al lado izquierdo, las cajas me parecen bien, pero seran practicamente muy pequeñas, no se si sera lo mejor, aunque me parece bien. que me aconsejas? 

Videos:  no, no tengo aun los videos, usa placeholder, la realidad es que no se el tamaño, pero que sea bastante agradable ala vista sin generar sobre carga, el video debe ser demostrativo y que el texto muestre lo que necesito.

*/