/* --- VARIABLES GLOBALES (Configuración Tech) --- */
:root {
    --it-blue: #0052FF;
    --it-blue-light: #3378FF;
    --it-blue-glow: rgba(0, 82, 255, 0.15);
    --it-dark: #0A0A0B;
    --it-dark-soft: #141416;
    --it-silver: #F2F4F7;
    --it-border: rgba(255, 255, 255, 0.1);
    --it-accent-cyan: #00D4FF;
    --it-accent-warm: #FF6B35;

    /* Colores de Ecosistemas */
    --mod-sap: #32D74B;
    --mod-onyx: #BF5AF2;
    --mod-siigo: #FFD60A;
    --mod-aspel: #F05323;

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;

    /* Sombras reutilizables */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 30px rgba(0, 82, 255, 0.25);
    --shadow-blue-intense: 0 20px 50px rgba(0, 82, 255, 0.35);
    --shadow-glow-sap: 0 0 30px rgba(50, 215, 75, 0.15);
    --shadow-glow-onyx: 0 0 30px rgba(191, 90, 242, 0.15);
    --shadow-glow-aspel: 0 0 30px rgba(240, 83, 35, 0.15);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcfcfc;
    color: var(--it-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    background-image: radial-gradient(rgba(0, 82, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: bg-scroll 90s linear infinite;
    overflow-x: hidden;
}

@keyframes bg-scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* --- HEADER & NAV --- */
.main-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s;
}

.main-header.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 82, 255, 0.04);
    background: rgba(255, 255, 255, 0.92);
}

/* Animated gradient accent line under header */
.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--it-blue), var(--mod-sap), var(--mod-onyx), var(--mod-aspel), var(--it-blue));
    background-size: 200% 100%;
    animation: gradient-slide 6s linear infinite;
    opacity: 0.8;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.container.bottom-flex,
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--it-blue);
}

.brand span {
    color: var(--it-dark);
}

.brand a {
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 48px;
    max-height: 48px;
    max-width: 220px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
    filter: drop-shadow(0 2px 8px rgba(0, 82, 255, 0.08));
}

.brand-logo:hover {
    opacity: 0.9;
    transform: scale(1.06);
    filter: drop-shadow(0 4px 16px rgba(0, 82, 255, 0.15));
}

.tech-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.tech-nav a {
    text-decoration: none;
    color: var(--it-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.tech-nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--it-blue);
    transition: width 0.3s ease;
}

.tech-nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.tech-nav a:not(.btn-nav):hover {
    color: var(--it-blue);
}

.nav-num {
    font-family: var(--font-tech);
    color: var(--it-blue);
    margin-right: 5px;
}

.btn-nav {
    background: var(--it-dark);
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-tech);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 10, 11, 0.3);
    background: var(--it-blue);
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--it-dark);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.mobile-toggle.open span {
    opacity: 0;
}

.mobile-toggle.open::before {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-orb 15s ease-in-out infinite alternate;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 90, 242, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-orb 20s ease-in-out infinite alternate-reverse;
    filter: blur(50px);
}

@keyframes hero-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -40px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 50px) scale(0.9);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tech-badge {
    font-family: var(--font-tech);
    color: var(--it-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--it-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 82, 255, 0.4);
    animation: pulse 2s infinite;
}

.hero-text h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--it-dark) 20%, var(--it-blue) 40%, var(--it-accent-cyan) 60%, var(--it-dark) 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shine 5s linear infinite;
}

@keyframes text-shine {
    to {
        background-position: 200% center;
    }
}

.hero-text p {
    font-size: 1.2rem;
    color: #555;
    border-left: 3px solid var(--it-blue);
    padding-left: 25px;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-it {
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--it-blue) 0%, var(--it-blue-light) 100%);
    color: white;
    padding: 1.4rem 3rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    animation: btn-pulse 3s infinite;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 82, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0);
    }
}

.btn-it::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-it:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 82, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.btn-it:hover::before {
    left: 100%;
}

.btn-secondary {
    font-family: var(--font-tech);
    text-decoration: none;
    color: var(--it-dark);
    font-weight: 700;
    transition: color 0.3s;
    position: relative;
}

.btn-secondary::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s;
}

.btn-secondary:hover {
    color: var(--it-blue);
}

.btn-secondary:hover::after {
    margin-left: 14px;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4rem;
    opacity: 0.5;
    animation: scrollBounce 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* --- METHODOLOGY SECTION --- */
.methodology-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, rgba(0, 82, 255, 0.03), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(50, 215, 75, 0.03), transparent 50%);
    pointer-events: none;
}

.methodology-section .section-header p {
    max-width: 650px;
    color: #555;
    font-size: 1.1rem;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 4rem;
}

.method-card {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.3s;
}

.method-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 82, 255, 0.12);
}

.method-card.featured-method {
    background: var(--it-dark);
    color: white;
    border-color: rgba(255, 255, 255, 0.08);
}

.method-card.featured-method:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 82, 255, 0.3);
}

.method-card.featured-method .method-list li {
    color: #ccc;
}

.method-card.featured-method .dot {
    background: var(--mod-sap);
}

.method-card.featured-method .step-duration {
    border-color: rgba(255, 255, 255, 0.1);
}

.method-card.featured-method .duration-label {
    color: #666;
}

.method-card.featured-method .duration-value {
    color: var(--mod-sap);
}

.step-number {
    font-family: var(--font-tech);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0, 82, 255, 0.08);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.method-card.featured-method .step-number {
    color: rgba(50, 215, 75, 0.15);
}

.step-tag {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--it-blue);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.method-card.featured-method .step-tag {
    color: var(--mod-sap);
}

.method-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.method-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

.method-card.featured-method p {
    color: #aaa;
}

.method-list {
    list-style: none;
    margin: 1.5rem 0;
}

.method-list li {
    font-size: 0.82rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.method-list .dot {
    width: 5px;
    height: 5px;
    background: var(--it-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-duration {
    border-top: 1px solid #eee;
    padding-top: 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.duration-label {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: #999;
    letter-spacing: 1px;
}

.duration-value {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--it-blue);
}

/* --- TECH CHANNELS --- */
.tech-channels {
    background: var(--it-dark-soft);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.channels-header {
    margin-bottom: 2rem;
}

.channels-header .tech-id {
    color: var(--mod-sap);
    margin-bottom: 0.5rem;
}

.channels-header h4 {
    color: white;
    font-size: 1.1rem;
}

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

.channel-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s, background 0.3s;
}

.channel-item:hover {
    border-color: rgba(0, 82, 255, 0.3);
    background: rgba(0, 82, 255, 0.05);
}

.channel-proto {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--it-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.channel-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
}

/* --- METHOD CTA --- */
.method-cta {
    background: var(--it-silver);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.cta-stats {
    text-align: center;
    flex-shrink: 0;
}

.stat-big {
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 700;
    color: var(--it-blue);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: block;
}

.cta-divider {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.cta-action {
    flex: 1;
}

.cta-action p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--it-dark);
}

/* --- CODE WINDOW --- */
.code-window {
    background: var(--it-dark-soft);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 82, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    animation: float-code 8s ease-in-out infinite;
}

@keyframes float-code {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.code-window:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4), 0 0 80px rgba(0, 82, 255, 0.2);
    animation: none;
}

.window-header {
    background: #1c1c1f;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-header .dot:nth-child(2) {
    background: #ffbd2e;
}

.window-header .dot:nth-child(3) {
    background: #27c93f;
}

.file-name {
    color: #666;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    margin-left: 15px;
}

.code-content {
    padding: 2rem;
    font-family: var(--font-tech);
    font-size: 0.9rem;
}

/* Blinking cursor for typewriter */
.code-content code::after {
    content: '▋';
    color: var(--it-blue);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

.key {
    color: var(--mod-onyx);
}

.val {
    color: var(--mod-sap);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* --- KPI ROW --- */
.kpi-row {
    background: var(--it-dark);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.kpi-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 82, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.kpi-grid {
    display: flex;
    justify-content: space-around;
    text-align: left;
}

.kpi-card {
    position: relative;
    padding: 1.5rem 2rem;
    transition: transform 0.3s;
}

.kpi-card:hover {
    transform: scale(1.05);
}

.kpi-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.kpi-val {
    font-family: var(--font-tech);
    font-size: 3rem;
    color: var(--mod-sap);
    display: block;
    font-weight: 700;
}

.kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 2px;
}

/* --- BENTO GRID (Soluciones) --- */
.solutions-section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.tech-id {
    font-family: var(--font-tech);
    color: var(--it-blue);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.sol-card {
    background: white;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        border-color 0.4s;
    position: relative;
    overflow: hidden;
}

.sol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 82, 255, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.sol-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--it-blue), var(--it-accent-cyan));
    opacity: 0;
    transition: opacity 0.4s;
}

.sol-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(0, 82, 255, 0.12);
}

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

.sol-card:hover::after {
    opacity: 1;
}

.sol-card.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, #fafafa 0%, #f0f4ff 100%);
    border-left: 5px solid var(--it-blue);
}

.sol-card.featured:hover {
    box-shadow: var(--shadow-heavy), 0 0 40px rgba(0, 82, 255, 0.08);
}

.sol-card.compliance {
    background: var(--it-dark);
    color: white;
    border-color: rgba(255, 255, 255, 0.08);
}

.sol-card.compliance::before {
    background: radial-gradient(circle at top right, rgba(0, 82, 255, 0.12), transparent 60%);
}

.sol-card.compliance:hover {
    border-color: rgba(0, 82, 255, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 82, 255, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.partner-logo {
    height: 42px;
    opacity: 0.75;
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.sol-card:hover .partner-logo {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.sol-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.tag {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    padding: 7px 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.sol-card:hover .tag {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tag-sap {
    background: #e6f9ed;
    color: var(--mod-sap);
}

.tag-onyx {
    background: #f6edff;
    color: var(--mod-onyx);
}

.tag-aspel {
    background: #fff1ed;
    color: var(--mod-aspel);
}

.tag-gray {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
}

.spec-list {
    list-style: none;
    margin: 2rem 0;
}

.spec-list li {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-list .dot {
    width: 5px;
    height: 5px;
    background: var(--it-blue);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.btn-text {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--it-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s, color 0.3s;
}

.btn-text:hover {
    gap: 14px;
}

.pac-badge {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mod-sap);
    background: rgba(50, 215, 75, 0.1);
    border: 1px solid rgba(50, 215, 75, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(50, 215, 75, 0.15);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(50, 215, 75, 0.1);
    }
}

/* --- PAC SECTION --- */
.pac-section {
    padding: 8rem 0;
    background: var(--it-silver);
    position: relative;
}

.pac-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 82, 255, 0.04), transparent 50%);
    pointer-events: none;
}

.pac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.pac-features {
    list-style: none;
    margin-top: 2rem;
}

.pac-features li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pac-features .dot {
    width: 5px;
    height: 5px;
    background: var(--it-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-price {
    margin: 3rem 0;
}

.highlight-price .label {
    display: block;
    font-family: var(--font-tech);
    color: #888;
    font-size: 0.8rem;
}

.highlight-price .value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--it-dark);
    line-height: 1.1;
}

.highlight-price small {
    font-size: 1.2rem;
    color: var(--it-blue);
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.pricing-header h4 {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #888;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.pricing-table th {
    text-align: left;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: #888;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.pricing-table td {
    padding: 1.2rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 700;
    transition: background 0.2s, padding-left 0.3s;
}

.pricing-table tr:hover td {
    background: rgba(0, 82, 255, 0.02);
    padding-left: 8px;
}

.pricing-table .price {
    color: var(--it-blue);
    font-family: var(--font-tech);
    text-align: right;
}

.pricing-table .qty {
    font-family: var(--font-tech);
}

.pricing-footer {
    padding-top: 1rem;
}

.pricing-footer p {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.full-width {
    display: block;
    text-align: center;
    width: 100%;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--it-dark);
    color: white;
    padding: 5rem 0 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--it-blue), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-about .brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.4s, transform 0.4s, filter 0.4s;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(0, 82, 255, 0.3));
}

.footer-about p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-label {
    font-family: var(--font-tech);
    color: #444;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 2rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-nav a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact address {
    color: #888;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.social-links a:hover {
    color: white;
    border-color: var(--it-blue);
    background: rgba(0, 82, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid var(--it-border);
    padding: 2rem 0;
    font-size: 0.75rem;
    color: #555;
}

.credits a {
    color: var(--it-blue);
    text-decoration: none;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float img,
.whatsapp-float svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@keyframes float-pulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.08);
}

/* ======================================
   NEW SECTIONS (Reestructuración v2)
   ====================================== */

/* --- NAV DROPDOWN --- */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.8rem 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    list-style: none !important;
    z-index: 100;
    display: none;
}

/* Puente invisible para mantener el hover activo al mover el ratón */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.dropdown-menu li {
    list-style: none;
}

.nav-dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background: rgba(0, 82, 255, 0.04);
    padding-left: 1.8rem;
}

/* --- WHY KAAB SECTION --- */
.why-kaab-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.why-kaab-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 82, 255, 0.03), transparent 50%);
    pointer-events: none;
}

.why-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--it-dark) 0%, #12121f 50%, #0d1b2a 100%);
    border-radius: 20px;
    padding: 3.5rem 4.5rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 82, 255, 0.08);
}

.why-stats-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 82, 255, 0.1), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(50, 215, 75, 0.06), transparent 50%);
    pointer-events: none;
}

.why-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.why-stat-number {
    font-family: var(--font-tech);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--it-blue);
    display: block;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 82, 255, 0.3);
}

.why-stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.6rem;
    display: block;
    line-height: 1.4;
}

.why-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(0, 82, 255, 0.3), transparent);
}

/* --- IDENTITY GLASS CARDS (WOW FACTOR) --- */
.identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 3rem;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 82, 255, 0.15);
}

.neon-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    /* Border thickness */
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.4), rgba(191, 90, 242, 0.1), rgba(0, 212, 255, 0.4));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover .neon-border {
    opacity: 1;
    background: linear-gradient(135deg, var(--it-blue), var(--mod-onyx), var(--it-accent-cyan));
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    100% {
        filter: hue-rotate(360deg);
    }
}

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

.glass-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.glass-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.4s, background 0.4s;
}

.glass-card:hover .icon-glow {
    transform: translate(-50%, -50%) scale(1.5);
    background: radial-gradient(circle, rgba(0, 82, 255, 0.4) 0%, transparent 70%);
}

.glass-card h3 {
    font-size: 1.6rem;
    color: var(--it-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.glass-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.core-value-card {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

.cv-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 82, 255, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.core-value-card:hover .cv-icon {
    transform: scale(1.2) translateY(-5px);
}

.cv-title {
    font-size: 1.3rem;
    color: var(--it-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cv-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .identity-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 4rem;
}

.value-card {
    background: linear-gradient(145deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2.8rem 2.2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s, border-color 0.4s;
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--it-blue), var(--it-accent-cyan));
    opacity: 0;
    transition: opacity 0.4s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(0, 82, 255, 0.12);
}

.value-card:hover::after {
    opacity: 1;
}

.value-number {
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.12), rgba(0, 212, 255, 0.08));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

.partners-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.partners-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 1px;
}

.partner-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.partner-chip {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.chip-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.partner-chip:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.partner-chip:hover .chip-logo {
    transform: scale(1.1);
}

.chip-sap {
    background: #e6f9ed;
    color: var(--mod-sap);
}

.chip-onyx {
    background: #f6edff;
    color: var(--mod-onyx);
}

.chip-aspel {
    background: #fff1ed;
    color: var(--mod-aspel);
}

.chip-lenovo {
    background: #e8f0ff;
    color: var(--it-blue);
}

.chip-pac {
    background: #fff8e1;
    color: #e6a800;
}

/* --- DETAIL SECTIONS (Shared) --- */
.detail-section {
    padding: 6rem 0;
}

.detail-section:nth-child(even) {
    background: white;
}

.detail-cta {
    text-align: center;
    padding-top: 3rem;
}

/* --- SAP ACCORDION --- */
.quick-facts {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--it-silver);
    border-radius: 12px;
}

.fact {
    text-align: center;
}

.fact-val {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: var(--it-blue);
    display: block;
}

.fact-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modules-accordion {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.accordion-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    margin-bottom: 25px;
    /* Added massive spacing */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Soft elegant shadow */
}

.accordion-item.active,
.accordion-item:hover {
    border-color: rgba(0, 82, 255, 0.15);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 2rem 2.5rem;
    /* Generous breathing room */
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.15rem;
    /* Increased font size */
    font-weight: 800;
    color: var(--it-dark);
    text-align: left;
    transition: background 0.3s;
}

.accordion-trigger:hover {
    background: rgba(0, 82, 255, 0.02);
}

.acc-icon {
    font-size: 1.3rem;
}

.acc-title {
    flex: 1;
}

.acc-arrow {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    color: var(--it-blue);
    transition: transform 0.3s;
}

.accordion-item.active .acc-arrow {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2.5rem;
    /* Match trigger padding */
}

.accordion-item.active .accordion-content {
    padding-bottom: 2rem;
}

.acc-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.acc-list {
    list-style: none;
}

.acc-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.acc-list .dot {
    width: 5px;
    height: 5px;
    background: var(--it-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-chip {
    font-size: 0.8rem;
    padding: 8px 16px;
    background: var(--it-silver);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    color: #555;
    transition: border-color 0.3s, transform 0.3s;
}

.benefit-chip:hover {
    border-color: rgba(0, 82, 255, 0.2);
    transform: translateY(-2px);
}

.benefit-chip strong {
    color: var(--it-blue);
}

/* --- ONYX MODULES --- */
.onyx-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.spec-chip {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    padding: 8px 16px;
    background: var(--it-dark-soft);
    color: #ccc;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-key {
    color: var(--mod-onyx);
    margin-right: 5px;
}

.onyx-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 3rem;
}

.onyx-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.3s;
}

.onyx-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(191, 90, 242, 0.2);
}

.onyx-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.onyx-icon {
    font-size: 1.5rem;
}

.onyx-card h3 {
    font-size: 1.1rem;
}

.onyx-list {
    list-style: none;
}

.onyx-list li {
    font-size: 0.82rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.onyx-list .dot {
    width: 5px;
    height: 5px;
    background: var(--mod-onyx);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- ASPEL SERVICES --- */
.aspel-modules-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.aspel-tag {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 20px;
    background: var(--mod-aspel);
    color: white;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.aspel-tag:hover {
    transform: scale(1.08);
}

.aspel-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 3rem;
}

.aspel-srv-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.3s;
}

.aspel-srv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(240, 83, 35, 0.2);
}

.aspel-srv-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.aspel-srv-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.aspel-srv-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 8rem 0;
    background: var(--it-silver);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(0, 82, 255, 0.03), transparent 50%);
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active,
.faq-item:hover {
    border-color: rgba(0, 82, 255, 0.2);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--it-dark);
    text-align: left;
}

.faq-trigger:hover {
    background: rgba(0, 82, 255, 0.02);
}

.faq-q {
    flex: 1;
}

.faq-toggle {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    color: var(--it-blue);
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* --- PAC EXTRAS --- */
.pac-explainer {
    margin-bottom: 2rem;
}

.pac-explainer h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--it-dark);
}

.pac-explainer p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.pac-highlight {
    font-weight: 700;
    color: var(--it-blue) !important;
}

.pac-partner-logo {
    margin-top: 1.5rem;
}

.pac-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.4s, transform 0.4s, filter 0.4s;
}

.pac-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.pac-transactions {
    margin-top: 2rem;
}

.pac-transactions h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--it-dark);
}

.transaction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trans-tag {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    padding: 6px 12px;
    background: rgba(0, 82, 255, 0.06);
    color: var(--it-blue);
    border-radius: 4px;
    border: 1px solid rgba(0, 82, 255, 0.1);
    transition: background 0.3s, transform 0.3s;
}

.trans-tag:hover {
    background: rgba(0, 82, 255, 0.12);
    transform: translateY(-2px);
}

/* --- FOOTER BRANCHES --- */
.footer-branches {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0;
}

.footer-branches .footer-label {
    margin-bottom: 1.5rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.branch-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #999;
    transition: border-color 0.3s, background 0.3s;
}

.branch-item:hover {
    border-color: rgba(0, 82, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.branch-item strong {
    color: white;
    font-size: 0.85rem;
}

.branch-item span {
    color: #777;
    font-size: 0.78rem;
}

/* --- ANIMACIONES --- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 82, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .tech-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .tech-nav.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Dropdown becomes inline on mobile */
    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        min-width: auto;
    }

    .dropdown-arrow {
        display: none;
    }

    .hero-grid,
    .pac-grid,
    .footer-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid,
    .values-grid,
    .onyx-modules-grid,
    .aspel-services-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-divider {
        width: 60px;
        height: 1px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        letter-spacing: -1.5px;
    }

    .sol-card.featured {
        grid-column: span 1;
    }

    .kpi-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .kpi-card:not(:last-child)::after {
        display: none;
    }

    .highlight-price .value {
        font-size: 3rem;
    }

    .scroll-indicator {
        display: none;
    }

    .why-stats-row {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .why-stat-divider {
        width: 60px;
        height: 1px;
    }

    .quick-facts {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .onyx-specs {
        justify-content: center;
    }

    .aspel-modules-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-it {
        width: 100%;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .benefits-row {
        justify-content: flex-start;
    }
}

/* --- ADVANCED HIGH-END INTERACTIONS (WOW FACTOR) --- */

/* 1. Custom Tech Cursor */
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--it-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: var(--it-accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 82, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    backdrop-filter: blur(2px);
}

/* 2. 3D Tilt Effect Base Class */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-content {
    transform: translateZ(30px);
    transition: transform 0.3s ease-out;
}

/* 3. Dynamic Mouse Tracking Glow (Spotlight Effect) */
.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

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

/* Specific Spotlight Colors based on context */
.glow-card.sap-spotlight::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(50, 215, 75, 0.12), transparent 40%);
}

.glow-card.onyx-spotlight::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(191, 90, 242, 0.15), transparent 40%);
}

.glow-card.aspel-spotlight::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(240, 83, 35, 0.12), transparent 40%);
}

/* 4. Elegant Text Reveal for Headers */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.visible span {
    transform: translateY(0);
    opacity: 1;
}

/* Ensure contents stay above spotlight */
.glow-card>* {
    position: relative;
    z-index: 1;
}