/* VARIABLES LOCALES & RESET INTERNO */
.itsp-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
}

/* CAPAS DE FONDO AVANZADAS */
.itsp-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.75;
    z-index: 1;
}

.itsp-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* CONTENEDOR EN REJILLA ASIMÉTRICA */
.itsp-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .itsp-hero-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }

    .itsp-hero-content {
        grid-column: span 7;
        text-align: left;
    }

    .itsp-hero-visual {
        grid-column: span 5;
    }
}

/* COLUMNA IZQUIERDA: CONTENIDOS */
.itsp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.itsp-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--e-global-color-secondary, #3b82f6);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.itsp-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.itsp-text-gradient {
    background: linear-gradient(135deg, var(--e-global-color-primary, #1e293b) 0%, var(--e-global-color-secondary, #3b82f6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.itsp-hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2.5rem;
}

.itsp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.itsp-cta-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* BOTÓN EAEL INTEGRADO */
.eael-creative-button.eael-creative-button--ujarak {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--e-global-color-secondary, #3b82f6);
    color: var(--e-global-color-secondary, #3b82f6);
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    overflow: hidden;
    transition: color 0.3s ease;
    text-decoration: none;
}

.eael-creative-button.eael-creative-button--ujarak::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--e-global-color-secondary, #3b82f6);
    z-index: -1;
    transform: scale3d(0, 0, 1);
    transition: transform 0.3s, opacity 0.3s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0;
}

.eael-creative-button.eael-creative-button--ujarak:hover {
    color: #ffffff;
}

.eael-creative-button.eael-creative-button--ujarak:hover::before {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.creative-button-inner {
    position: relative;
    z-index: 2;
}

/* COLUMNA DERECHA: COMPONENTE INTERACTIVO DE VIDRIO */
.itsp-card-glass {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.itsp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.itsp-window-dots {
    display: flex;
    gap: 0.35rem;
}

.itsp-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.itsp-system-status {
    font-size: 0.65rem;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ESTILOS HUMANOS ADICIONALES */
.itsp-human-quote {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-left: 4px solid var(--e-global-color-secondary, #3b82f6);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.itsp-quote-icon {
    color: var(--e-global-color-secondary, #3b82f6);
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.itsp-human-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    text-align: left;
}

.itsp-human-text strong {
    color: var(--e-global-color-primary, #0f172a);
}

.itsp-human-author {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: left;
}

/* COMMUNITY HUB */
.itsp-community-hub {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #f1f5f9;
}

.itsp-avatar-stack {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.itsp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.itsp-avatar-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #475569;
}

.itsp-community-stats {
    flex: 1;
    text-align: left;
}

.itsp-stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    display: block;
    line-height: 1.2;
}

.itsp-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.itsp-stat-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 0.35rem 0 0.2rem 0;
    overflow: hidden;
}

.itsp-stat-fill {
    display: block;
    height: 100%;
    background: var(--e-global-color-secondary, #3b82f6);
    border-radius: 4px;
    transition: width 1s ease;
}

.itsp-stat-sub {
    font-size: 0.55rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

/* FLUJO DE CONOCIMIENTO */
.itsp-knowledge-flow {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.itsp-flow-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.itsp-flow-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.itsp-flow-icon {
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
}

.itsp-flow-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    text-align: left;
}

.itsp-flow-tag {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #dbeafe;
    color: var(--e-global-color-secondary, #3b82f6);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* REJILLA DE MÉTRICAS */
.itsp-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.itsp-metric-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 0.6rem 0.5rem;
    text-align: center;
}

.metric-val {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
}

.metric-lbl {
    font-size: 0.55rem;
    color: #64748b;
    font-weight: 600;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* ============================================= */
/* MÓDULO 2: CONTEXT                             */
/* ============================================= */

.itsp-context-wrapper {
    position: relative;
    width: 100%;
    padding: 6rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(59, 130, 246, 0.04) 1.5px, transparent 1.5px), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    background-size: 24px 24px, 100% 100%;
}

.itsp-context-wrapper::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.itsp-context-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

.itsp-context-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .itsp-context-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 5rem;
    }

    .itsp-context-text {
        grid-column: span 7;
    }

    .itsp-context-visual {
        grid-column: span 5;
        perspective: 1200px;
    }
}

.itsp-context-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--e-global-color-secondary, #3b82f6);
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 0.4rem 1.1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.itsp-context-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.itsp-context-highlight {
    background: linear-gradient(135deg, var(--e-global-color-secondary, #3b82f6), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.itsp-context-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2.5rem;
}

/* ===== GRID DE CARACTERÍSTICAS ===== */
.itsp-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.itsp-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
    min-height: 100px;
}

.itsp-feature-card:hover,
.itsp-feature-card.active-state {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.itsp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.itsp-feature-card:hover .itsp-feature-icon,
.itsp-feature-card.active-state .itsp-feature-icon {
    transform: scale(1.1);
}

.icon-blue {
    background: rgba(92, 198, 208, 0.1);
    color: #5cc6d0;
}

.icon-purple {
    background: rgba(180, 66, 245, 0.1);
    color: #b442f5;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.icon-accent {
    background: rgba(252, 179, 47, 0.1);
    color: #fcb32f;
}

.itsp-feature-body h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    text-align: center;
    line-height: 1.2;
}

.itsp-feature-body p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
    text-align: center;
}

/* ===== DESKTOP: Volver a layout horizontal ===== */
@media (min-width: 640px) {
    .itsp-feature-grid {
        gap: 1.25rem;
    }

    .itsp-feature-card {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        padding: 1.25rem;
        min-height: auto;
        border: 1px solid #f1f5f9;
    }

    .itsp-feature-card:hover,
    .itsp-feature-card.active-state {
        box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.04);
        transform: translateY(-2px);
    }

    .itsp-feature-body h4 {
        text-align: left;
        font-size: 0.95rem;
    }

    .itsp-feature-body p {
        text-align: left;
        font-size: 0.78rem;
    }

    .icon-blue {
        background: rgba(59, 130, 246, 0.06);
        color: #3b82f6;
    }

    .icon-purple {
        background: rgba(139, 92, 246, 0.06);
        color: #8b5cf6;
    }

    .icon-green {
        background: rgba(16, 185, 129, 0.06);
        color: #10b981;
    }

    .icon-accent {
        background: rgba(245, 158, 11, 0.06);
        color: #f59e0b;
    }
}

/* ===== CONTENEDOR 3D ===== */
.itsp-visual-wrapper-3d {
    transform-style: preserve-3d;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .itsp-visual-wrapper-3d {
        margin-top: 0;
    }
}

/* ===== AJUSTE DE ESPACIADO EN MÓVIL ===== */
@media (max-width: 1023px) {
    .itsp-context-container {
        gap: 1.5rem;
    }

    .itsp-context-lead {
        margin-bottom: 1.5rem;
    }

    .itsp-feature-grid {
        margin-bottom: 0;
    }

    .itsp-visual-wrapper-3d {
        margin-top: 1.5rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .float-1 {
        right: -2%;
    }

    .float-2 {
        left: -2%;
    }

    .float-3 {
        right: -4%;
    }
}

@media (max-width: 639px) {
    .itsp-context-wrapper {
        padding: 3rem 1rem;
    }

    .itsp-context-container {
        gap: 1.5rem;
    }

    .itsp-context-lead {
        margin-bottom: 1rem;
    }

    .itsp-card-glass {
        padding: 2rem 1rem;
        border-radius: 20px;
        max-width: 100%;
    }

    .itsp-fluid-blob {
        width: 200px;
        height: 200px;
    }

    .float-3 {
        display: none;
    }

    .itsp-float-element {
        min-width: 70px;
        padding: 0.4rem 0.7rem;
    }

    .itsp-float-element .float-number {
        font-size: 0.9rem;
    }

    .itsp-float-element .float-label {
        font-size: 0.55rem;
    }

    .float-1 {
        right: -5%;
        top: 5%;
    }

    .float-2 {
        left: -5%;
        bottom: 10%;
    }
}

/* ===== EFECTO DE VIDRIO (GLASSMORPHISM) ===== */
.itsp-card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3rem 1.5rem;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: visible;
}

.itsp-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.12) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    border-radius: 24px;
    transform: translateZ(10px);
}

.itsp-tech-orbit {
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg) translateZ(-20px);
    animation: rotateTechOrbit 40s linear infinite;
    border: 1px solid rgba(59, 130, 246, 0.15);
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 40%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.06), 0 0 60px rgba(59, 130, 246, 0.03);
}

.itsp-tech-orbit::before {
    content: '';
    position: absolute;
    top: 6%;
    left: 6%;
    width: 88%;
    height: 88%;
    border: 1.5px dashed rgba(59, 130, 246, 0.12);
    border-radius: 50%;
    animation: rotateTechOrbitReverse 45s linear infinite;
}

.itsp-fluid-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphingBlob 10s ease-in-out infinite;
    z-index: 0;
    filter: blur(10px);
    transform: translateZ(-30px) translate(-50%, -50%);
    top: 50%;
    left: 50%;
    pointer-events: none;
}

.itsp-visual-bg-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    transform: translateZ(-15px);
    top: 0;
    left: 0;
}

.itsp-illustration {
    width: 100%;
    position: relative;
    z-index: 2;
    transform: translateZ(40px);
}

.itsp-illustration-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.03));
}

.itsp-float-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 105px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.itsp-float-element .float-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.itsp-float-element .float-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-1 {
    top: 8%;
    right: -8%;
    transform: translateZ(80px);
}

.float-2 {
    bottom: 12%;
    left: -10%;
    transform: translateZ(60px);
}

.float-3 {
    bottom: 45%;
    right: -12%;
    transform: translateZ(100px);
}

.itsp-float-element.dimmed-state {
    transform: translateZ(20px) scale(0.9) !important;
    opacity: 0.35 !important;
}

.itsp-float-element.highlight-state {
    transform: translateZ(140px) scale(1.15) !important;
    opacity: 1 !important;
}

@keyframes rotateTechOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateZ(-20px);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateZ(-20px);
    }
}

@keyframes rotateTechOrbitReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes morphingBlob {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 30% 60% 50% / 40% 70% 50% 60%;
    }

    75% {
        border-radius: 70% 50% 40% 30% / 30% 50% 70% 60%;
    }
}

/* ============================================= */
/* MÓDULO 3: ALLIANCE                            */
/* ============================================= */

.itsp-alliance-wrapper {
    position: relative;
    width: 100%;
    padding: 6rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fafcfd;
}

.itsp-alliance-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.itsp-alliance-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 92, 246, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 2;
    pointer-events: none;
}

.itsp-alliance-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .itsp-alliance-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 4rem;
    }

    .itsp-alliance-left {
        grid-column: span 6;
    }

    .itsp-alliance-right {
        grid-column: span 6;
        perspective: 1200px;
    }
}

.itsp-alliance-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--e-global-color-secondary, #3b82f6);
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 0.4rem 1.1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.itsp-alliance-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
    text-align: left;
}

.itsp-alliance-highlight {
    background: linear-gradient(135deg, #8b5cf6, var(--e-global-color-secondary, #3b82f6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.itsp-alliance-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2.5rem;
    text-align: left;
}

.itsp-alliance-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.itsp-menu-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.itsp-menu-item:hover,
.itsp-menu-item.active {
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04);
    transform: translateX(4px);
}

.itsp-menu-item.active {
    background: #ffffff;
    border-left: 4px solid #8b5cf6;
}

.menu-num {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.itsp-menu-item.active .menu-num {
    color: #8b5cf6;
}

.menu-text-block {
    text-align: left;
}

.menu-text-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--e-global-color-primary, #0f172a);
}

.menu-sub {
    font-size: 0.72rem;
    color: #64748b;
}

.itsp-deck-viewport {
    position: relative;
    width: 100%;
    height: 380px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itsp-alliance-card {
    position: absolute !important;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    text-align: left;
    pointer-events: none;
    opacity: 0;
}

.card-pda-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.card-icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--e-global-color-primary, #0f172a);
    margin: 0 0 0.5rem 0;
}

.card-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

.itsp-alliance-card.pos-0 {
    transform: translate3d(0, 0, 0) scale(1) rotateX(4deg) rotateY(-8deg);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
}

.itsp-alliance-card.pos-1 {
    transform: translate3d(25px, -15px, -40px) scale(0.95) rotateX(4deg) rotateY(-8deg);
    opacity: 0.85;
    z-index: 9;
}

.itsp-alliance-card.pos-2 {
    transform: translate3d(50px, -30px, -80px) scale(0.9) rotateX(4deg) rotateY(-8deg);
    opacity: 0.5;
    z-index: 8;
}

.itsp-alliance-card.pos-3 {
    transform: translate3d(75px, -45px, -120px) scale(0.85) rotateX(4deg) rotateY(-8deg);
    opacity: 0.15;
    z-index: 7;
}

/* ===== ALLIANCE RESPONSIVE MEJORADO ===== */
@media (max-width: 1023px) {
    .itsp-alliance-container {
        gap: 2rem;
    }

    /* Menú en grid 2×2 */
    .itsp-alliance-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .itsp-menu-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem 0.75rem;
        min-height: 90px;
        border: 2px solid #f1f5f9;
        border-left: none !important;
    }

    .itsp-menu-item:hover,
    .itsp-menu-item.active {
        transform: translateY(-3px);
        border-left: none !important;
        border-color: #e2e8f0;
        box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
    }

    .menu-num {
        font-size: 0.9rem;
    }

    .menu-text-block {
        text-align: center;
    }

    .menu-text-block h4 {
        font-size: 0.82rem;
    }

    .menu-sub {
        font-size: 0.65rem;
    }

    /* Deck más compacto */
    .itsp-deck-viewport {
        height: 280px;
        margin-top: 1.5rem;
    }

    .itsp-alliance-card {
        max-width: 280px;
    }

    .itsp-alliance-card.pos-0 {
        transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-1 {
        transform: translate3d(12px, -8px, -25px) scale(0.95) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-2 {
        transform: translate3d(25px, -16px, -50px) scale(0.9) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-3 {
        transform: translate3d(38px, -24px, -75px) scale(0.85) rotateX(0) rotateY(0);
    }
}

@media (max-width: 480px) {
    .itsp-alliance-menu {
        gap: 0.5rem;
    }

    .itsp-menu-item {
        padding: 0.75rem 0.5rem;
        min-height: 80px;
    }

    .menu-text-block h4 {
        font-size: 0.75rem;
    }

    .menu-sub {
        font-size: 0.6rem;
    }

    .itsp-deck-viewport {
        height: 240px;
    }

    .itsp-alliance-card {
        max-width: 260px;
        padding: 1.5rem !important;
    }

    .card-icon {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.75rem;
    }

    .itsp-alliance-card.pos-0 {
        transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-1 {
        transform: translate3d(10px, -6px, -20px) scale(0.95) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-2 {
        transform: translate3d(20px, -12px, -40px) scale(0.9) rotateX(0) rotateY(0);
    }

    .itsp-alliance-card.pos-3 {
        transform: translate3d(30px, -18px, -60px) scale(0.85) rotateX(0) rotateY(0);
    }
}

/* ============================================= */
/* MÓDULO 4: CONSOLE                             */
/* ============================================= */

.itsp-console-wrapper {
    position: relative;
    width: 100%;
    padding: 6rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fafcfd;
}

.itsp-console-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(92, 198, 208, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 1;
    pointer-events: none;
}

.itsp-console-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92, 198, 208, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.itsp-console-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 66, 245, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(45px);
}

.itsp-console-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.itsp-console-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.itsp-console-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5cc6d0;
    background: rgba(92, 198, 208, 0.06);
    border: 1px solid rgba(92, 198, 208, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.itsp-context-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.itsp-context-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.itsp-context-container-glass {
    position: relative;
}

.itsp-flex-console {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .itsp-flex-console {
        flex-direction: row;
        height: 520px;
        gap: 0;
        border: 1px solid rgba(226, 232, 240, 0.8);
        background: rgba(255, 255, 255, 0.4);
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.04);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.itsp-console-col {
    position: relative;
    flex: 1;
    display: flex;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    will-change: flex;
}

.itsp-console-col:last-child {
    border-bottom: none;
}

@media (min-width: 1024px) {
    .itsp-console-col {
        flex: 0.6;
        border-bottom: none;
        border-right: 1px solid rgba(226, 232, 240, 0.8);
    }

    .itsp-console-col:last-child {
        border-right: none;
    }

    .itsp-console-col.active {
        flex: 3;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.6);
    }

    .itsp-console-col:first-child {
        border-top-left-radius: 23px;
        border-bottom-left-radius: 23px;
    }

    .itsp-console-col:last-child {
        border-top-right-radius: 23px;
        border-bottom-right-radius: 23px;
    }
}

.itsp-col-collapsed {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.collapsed-num {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: #94a3b8;
    transition: color 0.5s ease;
}

.collapsed-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-left: 1.5rem;
    white-space: nowrap;
    transition: color 0.5s ease;
}

@media (min-width: 1024px) {
    .itsp-col-collapsed {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2.5rem 1rem;
    }

    .collapsed-label {
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        margin-left: 0;
        margin-top: 2rem;
    }

    .itsp-console-col.active .itsp-col-collapsed {
        opacity: 0;
        pointer-events: none;
    }
}

.itsp-col-expanded {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: opacity 0.5s ease;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    z-index: 2;
}

@media (min-width: 1024px) {
    .itsp-console-col.active .itsp-col-expanded {
        display: flex;
        opacity: 1;
    }
}

@media (max-width: 1023px) {
    .itsp-col-collapsed {
        display: none;
    }

    .itsp-col-expanded {
        display: flex;
        opacity: 1;
        flex-direction: column;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.75);
        padding: 0;
        gap: 0;
    }
}

.expanded-left-content {
    flex: 1;
    padding: 2.5rem;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .expanded-left-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
}

.expanded-num {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.5s ease;
}

.expanded-left-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.85rem 0;
    transition: color 0.5s ease;
}

.expanded-left-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.5s ease;
}

.itsp-console-col[data-index="1"] .expanded-num {
    color: #5cc6d0;
}

.itsp-console-col[data-index="1"] .expanded-left-content h3 {
    color: #3baeb8;
}

.itsp-console-col[data-index="1"] .expanded-left-content p {
    color: #2c8f99;
}

.itsp-console-col[data-index="1"] .collapsed-num {
    color: #8ddae0;
}

.itsp-console-col[data-index="1"] .collapsed-label {
    color: #3baeb8;
}

.itsp-console-col[data-index="1"].active {
    border-color: rgba(92, 198, 208, 0.15);
}

.itsp-console-col[data-index="2"] .expanded-num {
    color: #b442f5;
}

.itsp-console-col[data-index="2"] .expanded-left-content h3 {
    color: #9b30d9;
}

.itsp-console-col[data-index="2"] .expanded-left-content p {
    color: #7c20b5;
}

.itsp-console-col[data-index="2"] .collapsed-num {
    color: #d08af9;
}

.itsp-console-col[data-index="2"] .collapsed-label {
    color: #9b30d9;
}

.itsp-console-col[data-index="2"].active {
    border-color: rgba(180, 66, 245, 0.15);
}

.itsp-console-col[data-index="3"] .expanded-num {
    color: #fcb32f;
}

.itsp-console-col[data-index="3"] .expanded-left-content h3 {
    color: #e5991e;
}

.itsp-console-col[data-index="3"] .expanded-left-content p {
    color: #c47f14;
}

.itsp-console-col[data-index="3"] .collapsed-num {
    color: #fdd08a;
}

.itsp-console-col[data-index="3"] .collapsed-label {
    color: #e5991e;
}

.itsp-console-col[data-index="3"].active {
    border-color: rgba(252, 179, 47, 0.15);
}

.itsp-drawer-image-wrapper {
    position: relative;
    width: 220px;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    border-left: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .itsp-console-col:last-child .itsp-drawer-image-wrapper {
        border-top-right-radius: 23px;
        border-bottom-right-radius: 23px;
    }

    .itsp-console-col:not(:first-child):not(:last-child) .itsp-drawer-image-wrapper {
        border-radius: 0;
    }
}

@media (max-width: 1023px) {
    .itsp-drawer-image-wrapper {
        width: 100%;
        height: 180px;
        border-left: none;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 0 0 20px 20px;
    }
}

.itsp-drawer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(120%);
}

.itsp-drawer-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    mix-blend-mode: color;
}

.portal-color-1::before {
    background-color: #5cc6d0;
}

.portal-color-2::before {
    background-color: #b442f5;
}

.portal-color-3::before {
    background-color: #fcb32f;
}

.itsp-console-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.eael-creative-button.eael-creative-button--ujarak {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--button-tone, #5cc6d0);
    color: var(--button-tone, #5cc6d0);
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 6px;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.5s ease;
    text-decoration: none;
}

.eael-creative-button.eael-creative-button--ujarak::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--button-tone, #5cc6d0);
    z-index: -1;
    transform: scale3d(0, 0, 1);
    transition: transform 0.3s, opacity 0.3s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0;
}

.eael-creative-button.eael-creative-button--ujarak:hover {
    color: #ffffff;
}

.eael-creative-button.eael-creative-button--ujarak:hover::before {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* ============================================= */
/* MÓDULO 5: TIMELINE                            */
/* ============================================= */

.itsp-timeline-wrapper {
    position: relative;
    width: 100%;
    padding: 6rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fafcfd;
}

.itsp-timeline-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(92, 198, 208, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 1;
    pointer-events: none;
}

.itsp-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92, 198, 208, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.itsp-timeline-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 66, 245, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(45px);
}

.itsp-timeline-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.itsp-timeline-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.itsp-timeline-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5cc6d0;
    background: rgba(92, 198, 208, 0.06);
    border: 1px solid rgba(92, 198, 208, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.itsp-pill-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.itsp-pill-nav {
    position: relative;
    display: inline-flex;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 999px;
    z-index: 10;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.itsp-pill-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 999px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.itsp-pill-btn:hover {
    color: #334155;
}

.itsp-pill-btn.active {
    color: #0f172a;
    font-weight: 700;
}

.pill-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.itsp-pill-btn.active .pill-icon {
    transform: scale(1.2);
}

.pill-text {
    transition: all 0.3s ease;
}

.itsp-sliding-pill {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    height: calc(100% - 1rem);
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .itsp-pill-nav-wrapper {
        padding: 0 0.5rem;
    }

    .itsp-pill-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
        max-width: 400px;
        padding: 0;
        flex-wrap: nowrap;
    }

    .itsp-pill-btn {
        width: 100%;
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .pill-text {
        font-size: 0.78rem;
    }

    .itsp-sliding-pill {
        display: none;
    }

    .itsp-pill-btn.active {
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    }
}

@media (max-width: 480px) {
    .itsp-pill-nav {
        max-width: 100%;
        gap: 0.4rem;
    }

    .itsp-pill-btn {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
    }

    .pill-icon {
        font-size: 0.9rem;
    }

    .pill-text {
        font-size: 0.72rem;
    }
}

@media (max-width: 360px) {
    .itsp-pill-nav {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }

    .itsp-pill-btn {
        padding: 0.55rem 0.3rem;
        font-size: 0.7rem;
    }

    .pill-icon {
        font-size: 0.8rem;
    }

    .pill-text {
        font-size: 0.68rem;
    }
}

.itsp-scroll-progress {
    width: 100%;
    max-width: 600px;
    height: 3px;
    background: rgba(226, 232, 240, 0.4);
    border-radius: 999px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .itsp-scroll-progress {
        max-width: 90%;
        margin: 0 auto 1.5rem;
    }
}

.itsp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5cc6d0, #b442f5, #fcb32f);
    border-radius: 999px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.itsp-timeline-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.itsp-timeline-viewport::-webkit-scrollbar {
    display: none;
}

.itsp-timeline-track {
    display: inline-flex;
    gap: 2rem;
    padding: 0 calc(50% - 190px);
}

@media (max-width: 1024px) {
    .itsp-timeline-track {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .itsp-timeline-track {
        padding: 0 1rem;
        gap: 1rem;
    }
}

.itsp-timeline-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 380px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem 2rem !important;
    opacity: 0.5;
    transform: scale(0.92) translateZ(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    filter: blur(2px);
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .itsp-timeline-card {
        width: 320px;
        padding: 2rem 1.5rem !important;
    }
}

@media (max-width: 380px) {
    .itsp-timeline-card {
        width: 280px;
        padding: 1.5rem 1.2rem !important;
    }
}

.itsp-timeline-card:hover {
    opacity: 0.7;
    transform: scale(0.95) translateZ(0);
    filter: blur(1px);
}

.itsp-timeline-card.active-state {
    opacity: 1;
    transform: scale(1.02) translateZ(0);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
    filter: blur(0);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    z-index: 5;
}

.itsp-timeline-card.active-state:hover {
    opacity: 1;
    transform: scale(1.02) translateZ(0);
    filter: blur(0);
}

.card-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.timeline-num {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.active-state .timeline-num {
    color: #5cc6d0;
}

.timeline-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

@media (max-width: 380px) {
    .timeline-tag {
        font-size: 0.55rem;
        padding: 0.25rem 0.6rem;
    }
}

.tag-cyan {
    color: #3baeb8;
    background: rgba(92, 198, 208, 0.08);
    border: 1px solid rgba(92, 198, 208, 0.2);
}

.tag-purple {
    color: #9b30d9;
    background: rgba(180, 66, 245, 0.08);
    border: 1px solid rgba(180, 66, 245, 0.2);
}

.tag-amber {
    color: #e5991e;
    background: rgba(252, 179, 47, 0.08);
    border: 1px solid rgba(252, 179, 47, 0.2);
}

.card-timeline-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.card-timeline-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
    transition: color 0.3s ease;
}

.timeline-stat {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.stat-prefix,
.stat-suffix {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
}

.stat-num {
    font-family: 'Courier New', monospace;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    transition: color 0.3s ease;
}

@media (max-width: 380px) {
    .stat-num {
        font-size: 2.2rem;
    }
}

.color-1 .stat-num {
    color: #5cc6d0;
}

.color-2 .stat-num {
    color: #b442f5;
}

.color-3 .stat-num {
    color: #fcb32f;
}

.itsp-counter.counting {
    animation: counterPulse 0.3s ease;
}

@keyframes counterPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.itsp-glow-card {
    border: 2px solid transparent !important;
}

.itsp-glow-card.active-state {
    background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)) padding-box,
        conic-gradient(from var(--border-angle), #5cc6d0, #b442f5, #fcb32f, #5cc6d0) border-box !important;
    animation: rotateBorderGlow 4s linear infinite;
}

@keyframes rotateBorderGlow {
    to {
        --border-angle: 360deg;
    }
}


/* ============================================= */
/* TRUST BAR - BRANDING                          */
/* ============================================= */

.itsp-trust-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2.5rem;
    width: 100%;
}

.trust-label {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.75rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.trust-badge:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

/* CONTENEDOR DE CADA LOGO CON OVERLAY AZUL */
.trust-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

/* OVERLAY AZUL QUE DESAPARECE EN HOVER */
.trust-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(92, 198, 208, 0.45);
    mix-blend-mode: overlay;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.trust-badge:hover .trust-logo-wrap::after {
    opacity: 0;
}

.trust-logo-img {
    width: 200px;
    height: 50px;
    max-width: 200px;
    max-height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: grayscale(100%) brightness(0.3);
    opacity: 0.7;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.trust-badge:hover .trust-logo-img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.trust-divider {
    font-size: 1.2rem;
    color: #cbd5e1;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}

.trust-badge:hover .trust-divider {
    color: #94a3b8;
}

@media (max-width: 639px) {
    .itsp-trust-bar {
        margin-top: 2rem;
    }
    
    .trust-badge {
        padding: 1.25rem 1rem;
        gap: 1rem;
        border-radius: 12px;
    }
    
    .trust-logo-wrap {
        width: 130px;
        height: 34px;
    }
    
    .trust-logo-img {
        width: 130px;
        height: 34px;
        max-width: 130px;
        max-height: 34px;
    }
    
    .trust-divider {
        font-size: 1rem;
    }
}