/* ==========================================================================
   Koulos Landing Page - Advanced Light/Hybrid Theme & Spotlight Effects
   ========================================================================== */

:root {
    --landing-bg: #f8fafc;
    --landing-bg-alt: #ffffff;
    --landing-text: #0f172a;
    --landing-text-muted: #475569;
    --landing-primary: #4f46e5;
    --landing-primary-glow: rgba(79, 70, 229, 0.3);
    --landing-accent: #ec4899;
    --landing-border: rgba(0, 0, 0, 0.06);
    --landing-card-bg: #ffffff;
    --color-highlight: #4f46e5;
}

/* ==========================================================================
   Layout Base (Formerly inline in public.html.twig)
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Account for fixed header + breathing room */
    overflow-x: clip;
}

body.koulos-landing-page {
    background-color: var(--landing-bg, var(--color-bg));
    color: var(--landing-text, var(--color-text));
    font-family: var(--font-body);
    overflow-x: clip;
    max-width: 100%;
}

.koulos-landing-header {
    height: 80px;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.koulos-landing-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.3s ease;
}

.koulos-landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 1002;
}

.koulos-landing-nav-toggle {
    display: none;
}

.koulos-landing-nav-backdrop {
    display: none;
}

.koulos-mobile-nav-canvas,
.koulos-mobile-nav-footer,
.koulos-landing-nav-links .nav-index,
.koulos-landing-nav-links .nav-arrow {
    display: none;
}

.koulos-mobile-nav-items {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.koulos-landing-logo {
    display: flex;
    align-items: center;
    line-height: 1;
    font-family: var(--font-logo);
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(135deg, #ff0000 0%, #0044ff 50%, #00ff00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
    transition: transform var(--transition-base);
}

.koulos-landing-logo:hover {
    transform: scale(1.05);
}

.koulos-landing-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.koulos-landing-nav-links a {
    text-decoration: none;
    color: var(--landing-text-muted, #475569);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.koulos-landing-nav-links a:hover {
    color: var(--color-highlight);
}

.nav-cta-wrapper {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
}

.koulos-landing-main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

.koulos-landing-footer {
    background: var(--landing-bg-alt, #1e293b);
    color: #94a3b8;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.koulos-landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.koulos-landing-hero-section {
    position: relative;
    padding: 7.5rem 5% 5rem;
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background Image */
.koulos-landing-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.koulos-landing-hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background Orbs */
.koulos-landing-hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.koulos-landing-orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.15);
    animation: koulos-landing-floatOrb1 10s ease-in-out infinite alternate;
}

.koulos-landing-orb-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(236, 72, 153, 0.15);
    animation: koulos-landing-floatOrb2 12s ease-in-out infinite alternate;
}

.koulos-landing-orb-3 {
    top: 40%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.1);
    animation: koulos-landing-floatOrb3 15s ease-in-out infinite alternate;
}

@keyframes koulos-landing-floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30vw, 15vh) scale(1.1); }
    66% { transform: translate(15vw, 35vh) scale(0.9); }
    100% { transform: translate(5vw, 15vh) scale(1.2); }
}

@keyframes koulos-landing-floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25vw, -20vh) scale(1.2); }
    66% { transform: translate(-45vw, 5vh) scale(0.8); }
    100% { transform: translate(-15vw, -25vh) scale(1.1); }
}

@keyframes koulos-landing-floatOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25vw, -15vh) scale(0.9); }
    66% { transform: translate(25vw, -25vh) scale(1.2); }
    100% { transform: translate(15vw, 5vh) scale(1); }
}

/* 3D Background Canvas Layer (Three.js) */
.koulos-landing-hero-cubes3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cubes3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    background: transparent;
}

.koulos-landing-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    animation: koulos-landing-fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.koulos-landing-hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--landing-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.koulos-landing-hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--landing-text); /* fallback */
    animation: gradientFlow 5s ease infinite;
}

.koulos-landing-text-gradient {
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary); /* fallback */
    animation: gradientFlow 5s ease infinite;
}

.koulos-landing-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--landing-text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ==========================================================================
   Animated Landing Buttons
   ========================================================================== */

.koulos-landing-btn-primary {
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.koulos-landing-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.koulos-landing-btn-outline {
    background-color: transparent;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-border);
    position: relative;
    z-index: 1;
    overflow: visible;
    transition: transform var(--transition-fast), border-color var(--transition-fast), color 0s, background 0s;
}

.koulos-landing-btn-outline:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
    transform: translateY(-2px);
}

.koulos-landing-btn-outline::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.koulos-landing-btn-outline:hover::before {
    opacity: 1;
    animation: gradientFlow 5s ease infinite;
}

.btn-icon-arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;
}

.koulos-landing-btn-outline:hover .btn-icon-arrow {
    background: linear-gradient(135deg, #111111 0%, var(--color-highlight) 50%, #111111 100%);
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

/* ==========================================================================
   Spotlight Cards (The Magic Effect)
   ========================================================================== */
.koulos-landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* ==========================================================================
   Global Spotlight (Body Level)
   ========================================================================== */
body.koulos-landing-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), 
        rgba(99, 102, 241, 0.15), /* Indigo global glow */
        transparent 30%
    );
    z-index: 900;
    pointer-events: none;
}

/* Global Click Ripple Effect (Orange) */
body.koulos-landing-page::after {
    content: "";
    position: fixed;
    top: var(--click-y, 50vh);
    left: var(--click-x, 50vw);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 900;
    pointer-events: none;
    opacity: 0;
}

body.koulos-landing-page.koulos-landing-clicked::after {
    animation: koulos-landing-spotlightRippleGlobal 0.6s ease-out forwards;
}

@keyframes koulos-landing-spotlightRippleGlobal {
    0% { width: 0; height: 0; opacity: 0.8; }
    100% { width: 400px; height: 400px; opacity: 0; }
}

.koulos-landing-spotlight-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 1px; /* This is the border width */
    background: var(--landing-border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.koulos-landing-spotlight-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* The actual card content inside the wrapper */
.koulos-landing-spotlight-card {
    background-color: var(--landing-card-bg);
    border-radius: 23px; /* Slightly less than wrapper to fit inside */
    padding: 2.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
}

.koulos-landing-feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.koulos-landing-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--landing-text);
    background: none;
    -webkit-text-fill-color: initial;
    animation: none;
}

.koulos-landing-feature-desc {
    color: var(--landing-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Logos / Social Proof
   ========================================================================== */
.koulos-landing-social-proof {
    padding: 4rem 0;
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
    background: rgba(255,255,255,0.5);
    text-align: center;
}

.koulos-landing-social-proof p {
    color: var(--landing-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.koulos-landing-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: filter 0.3s, opacity 0.3s;
}

.koulos-landing-logos-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.koulos-landing-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--font-logo);
    letter-spacing: -0.04em;
    color: var(--landing-text);
    transition: transform 0.25s ease, color 0.25s ease;
}

.koulos-landing-logo-item:hover {
    transform: translateY(-2px);
    color: var(--landing-primary, #4f46e5);
}

.koulos-landing-logo-item .logo-brand-name {
    line-height: 1.1;
}

.koulos-landing-logo-item .logo-brand-sector {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--landing-text-muted, #64748b);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.16);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

/* ==========================================================================
   Glassmorphism Contact Form
   ========================================================================== */
.koulos-landing-glass-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.koulos-landing-glass-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent);
}

.koulos-landing-glass-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--landing-text);
    border-radius: 12px;
}

.koulos-landing-glass-form .form-control:focus {
    background: #ffffff;
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.koulos-landing-glass-form label {
    color: var(--landing-text) !important;
}

/* ==========================================================================
   Unified Landing Layout Utilities
   ========================================================================== */
.koulos-landing-section {
    padding: 7rem 0;
    position: relative;
}

.koulos-landing-section-alt {
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
}

.koulos-landing-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.koulos-landing-grid-2col > * {
    min-width: 0;
    max-width: 100%;
}

.koulos-landing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.koulos-landing-terminal-mockup {
    background: #1e293b;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.koulos-landing-terminal-mockup pre {
    color: #a5b4fc;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
}

@keyframes koulos-landing-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsiveness */
@media (max-width: 768px) {
    /* Mobile Navigation & Header */
    body.nav-menu-open {
        overflow: hidden;
    }

    .koulos-landing-header {
        height: 80px;
        min-height: 80px;
        padding: 0 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .koulos-landing-header-inner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .koulos-landing-logo {
        font-size: 1.45rem;
    }

    .koulos-landing-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: rgba(99, 102, 241, 0.08);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .koulos-landing-nav-toggle:active {
        background: rgba(99, 102, 241, 0.16);
    }

    .hamburger-bar {
        width: 20px;
        height: 2px;
        background: var(--landing-text, #0f172a);
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
        display: block;
    }

    .koulos-landing-nav-toggle.active {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.28);
    }

    .koulos-landing-nav-toggle.active .hamburger-bar {
        background: #f8fafc;
    }

    .koulos-landing-nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .koulos-landing-nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .koulos-landing-nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .koulos-landing-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .koulos-landing-nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    .koulos-landing-nav-links {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        background: linear-gradient(155deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 27, 75, 0.96) 55%, rgba(15, 23, 42, 0.99) 100%);
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 1rem;
        padding: 6.25rem 1.35rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 999;
        box-sizing: border-box;
    }

    .koulos-landing-nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .koulos-mobile-nav-canvas {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }

    .koulos-mobile-nav-items {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        height: auto;
    }

    .koulos-landing-nav-links .nav-index,
    .koulos-landing-nav-links .nav-arrow {
        display: inline-block;
    }

    .koulos-landing-nav-links .nav-label {
        display: inline-flex;
        align-items: center;
        gap: 0.85rem;
    }

    .koulos-landing-nav-links .nav-index {
        font-family: monospace;
        font-size: 0.78rem;
        font-weight: 700;
        color: #818cf8;
        background: rgba(129, 140, 248, 0.14);
        border: 1px solid rgba(129, 140, 248, 0.25);
        padding: 0.2rem 0.45rem;
        border-radius: 6px;
    }

    .koulos-landing-nav-links .nav-arrow {
        font-size: 1.05rem;
        color: rgba(226, 232, 240, 0.45);
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .koulos-mobile-nav-items a {
        padding: 0.95rem 1.1rem;
        font-size: 1.08rem;
        font-weight: 600;
        color: #f1f5f9;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
        transition-delay: 0ms;
    }

    .koulos-landing-nav-links.open .koulos-mobile-nav-items a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--nav-i, 0) * 55ms + 90ms);
    }

    .koulos-mobile-nav-items a:hover,
    .koulos-mobile-nav-items a:active {
        background: rgba(99, 102, 241, 0.16);
        border-color: rgba(129, 140, 248, 0.45);
        color: #ffffff;
    }

    .koulos-mobile-nav-items a:hover .nav-arrow {
        transform: translateX(4px);
        color: #a5b4fc;
    }

    .koulos-mobile-nav-items a.active {
        color: #ffffff;
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.32), rgba(236, 72, 153, 0.18));
        border-color: rgba(129, 140, 248, 0.55);
        box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.45);
    }

    .koulos-mobile-nav-items a.active .nav-arrow {
        color: #c7d2fe;
    }

    .nav-cta-wrapper {
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
        width: 100%;
        height: auto;
        display: block;
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0ms;
    }

    .koulos-landing-nav-links.open .nav-cta-wrapper {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 420ms;
    }

    .nav-cta-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 14px;
        box-shadow: 0 12px 30px -8px rgba(79, 70, 229, 0.6);
    }

    .koulos-mobile-nav-footer {
        display: block;
        position: relative;
        z-index: 1;
        text-align: center;
        font-size: 0.78rem;
        color: rgba(226, 232, 240, 0.48);
        letter-spacing: 0.04em;
        padding-top: 0.5rem;
    }

    .koulos-landing-main {
        margin-top: 80px;
    }

    .koulos-landing-container {
        padding: 1.5rem 1rem;
    }

    .koulos-landing-hero-section {
        padding: 4.5rem 1rem 3.5rem;
        min-height: auto;
    }

    .koulos-landing-hero-title {
        font-size: 2.2rem;
    }

    .koulos-landing-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .koulos-landing-hero-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 1.25rem;
    }

    .koulos-landing-section {
        padding: 3.5rem 0;
    }

    .koulos-landing-grid-2col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .koulos-landing-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem 0;
    }

    .koulos-landing-spotlight-card {
        padding: 1.75rem 1.25rem;
    }

    .koulos-landing-logos-grid {
        gap: 2rem;
    }

    .koulos-landing-glass-container {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .koulos-landing-glass-container button[type="submit"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .koulos-landing-form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .koulos-landing-footer {
        padding: 2.25rem 1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   HORALEY INTERACTIVE EXPERIENCE HUB
   Simulador de Fichaje en Vivo + Calculadora de Riesgo Legal ITSS & ROI
   ========================================================================== */

.horaley-interactive-hub-section {
    position: relative;
    padding: 5rem 1.5rem;
    margin: 3.5rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
                var(--landing-bg-alt, #ffffff);
    border-top: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
    border-bottom: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
    border-radius: 32px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

[data-theme="dark"] .horaley-interactive-hub-section {
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 65%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
}

.hub-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Section Header */
.hub-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
}

.hub-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .hub-pill-badge {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}

.hub-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--landing-text, #0f172a);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hub-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--landing-text-muted, #475569);
    margin: 0 auto 2.25rem auto;
}

/* Interactive Tab Navigation */
.hub-tabs-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.4rem;
    border-radius: 18px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .hub-tabs-nav {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

.hub-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.45rem;
    border: none;
    background: transparent;
    color: var(--landing-text-muted, #64748b);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.hub-tab-btn:hover {
    color: var(--landing-text, #0f172a);
}

.hub-tab-btn.active {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hub-tab-btn.active {
    background: #0f172a;
    color: #818cf8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hub-tab-pulse {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    animation: hubPulseGlow 2.5s infinite;
}

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

.hub-tab-pill-soft {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* ==========================================================================
   TAB 1: SIMULADOR DE FICHAJE EN VIVO
   ========================================================================== */

.hub-simulator-grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Terminal Mockup Panel */
.hub-terminal-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .hub-terminal-panel {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.4);
}

.hub-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
    color: var(--landing-text-muted, #64748b);
}

[data-theme="dark"] .hub-terminal-header {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(255, 255, 255, 0.06);
}

.hub-terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.hub-terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.hub-terminal-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
}

.hub-terminal-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.hub-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: hubBeaconPulse 2s infinite ease-out;
}

.hub-simulator-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
    justify-content: space-between;
    transition: box-shadow 0.4s ease;
}

/* Pantalla Integrada (Hero Display Screen) */
.hub-screen-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.hub-digital-clock-box {
    margin-bottom: 0.75rem;
}

.hub-clock-time {
    font-size: 2.75rem;
    font-weight: 900;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.05em;
    color: #f8fafc;
    line-height: 1;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.clock-colon {
    animation: hubColonBlink 1s infinite steps(1);
}

@keyframes hubColonBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.25; }
}

.hub-clock-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: capitalize;
}

/* Status Badge with Beacon inside Hero Screen */
.hub-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 1.15rem;
}

.status-out {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.status-working {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.45);
}

.status-paused {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
}

.hub-status-indicator {
    position: relative;
    width: 10px;
    height: 10px;
}

.hub-status-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
}

.status-working .hub-status-dot { background: #10b981; }
.status-paused .hub-status-dot  { background: #f59e0b; }

.status-working .hub-pulse-beacon {
    position: absolute;
    width: 22px;
    height: 22px;
    top: -6px;
    left: -6px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.45);
    animation: hubBeaconPulse 2s infinite ease-out;
}

@keyframes hubBeaconPulse {
    0% { transform: scale(0.5); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hub-status-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1f5f9;
}

.status-working .hub-status-title { color: #34d399; }
.status-paused .hub-status-title { color: #fbbf24; }

.hub-status-sub {
    display: none;
}

/* Screen Meta Row */
.hub-screen-meta-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hub-meta-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.hub-meta-val {
    font-size: 0.85rem;
    color: #f8fafc;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hub-meta-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
}

/* Employee Selector Section */
.hub-employee-section {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hub-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--landing-text-muted, #64748b);
}

.hub-employee-select-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.65rem 0.85rem;
    transition: all 0.2s ease;
}

[data-theme="dark"] .hub-employee-select-wrapper {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

.hub-employee-select-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.hub-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #6366f1;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.35);
}

.hub-employee-select-info {
    flex: 1;
    min-width: 0;
}

.hub-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--landing-text, #0f172a);
    cursor: pointer;
    outline: none;
    padding: 0;
}

[data-theme="dark"] .hub-select {
    color: #f1f5f9;
}

[data-theme="dark"] .hub-select option {
    background: #0f172a;
    color: #f1f5f9;
}

.hub-employee-submeta {
    font-size: 0.75rem;
    color: var(--landing-text-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

/* Action Area & Punch Buttons */
.hub-action-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hub-action-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hub-btn-punch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hub-btn-punch:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.hub-btn-punch:active:not(:disabled) {
    transform: translateY(0);
}

.hub-btn-punch:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hub-btn-entry {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 1.05rem 1rem;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.hub-btn-entry:hover:not(:disabled) {
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
}

.hub-btn-pause {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.hub-btn-exit {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.hub-action-compliance-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--landing-text-muted, #64748b);
    text-align: center;
    margin-top: 0.25rem;
}

/* Right Column: Logs & ITSS Legal Panel */
.hub-logs-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hub-logs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hub-logs-title-group {
    flex: 1;
}

.hub-pill-sub {
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hub-logs-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 0.25rem 0;
    letter-spacing: -0.02em;
}

.hub-logs-desc {
    font-size: 0.92rem;
    color: var(--landing-text-muted, #64748b);
    margin: 0;
}

.hub-btn-itss-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hub-btn-itss-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.38);
}

.hub-logs-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .hub-logs-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

.hub-logs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
}

[data-theme="dark"] .hub-logs-toolbar {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.06);
}

.hub-badge-legal {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-radius: 6px;
    font-weight: 800;
    margin-right: 0.5rem;
}

.hub-toolbar-text {
    color: var(--landing-text-muted, #64748b);
    font-weight: 600;
}

.hub-hash-algo {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    color: #64748b;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

[data-theme="dark"] .hub-hash-algo {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.hub-logs-table-header {
    display: grid;
    grid-template-columns: 85px 170px 1fr 115px;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--landing-text-muted, #94a3b8);
    letter-spacing: 0.04em;
}

[data-theme="dark"] .hub-logs-table-header {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.06);
}

.hub-logs-list {
    max-height: 280px;
    overflow-y: auto;
}

.hub-log-row {
    display: grid;
    grid-template-columns: 85px 170px 1fr 115px;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.85rem;
    transition: background 0.15s ease;
}

[data-theme="dark"] .hub-log-row {
    border-color: rgba(255, 255, 255, 0.04);
}

.hub-log-row:last-child {
    border-bottom: none;
}

.hub-log-row:hover {
    background: rgba(99, 102, 241, 0.02);
}

.hub-log-clock {
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--landing-text, #0f172a);
    font-size: 0.85rem;
}

.hub-log-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.log-badge-entry {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.log-badge-pause {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.log-badge-exit {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.hub-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.hub-log-col-geo {
    font-size: 0.8rem;
    color: var(--landing-text-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-geo-pin {
    font-size: 0.75rem;
    opacity: 0.75;
}

.hub-log-col-hash {
    text-align: right;
}

.hub-hash-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .hub-hash-code {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.hub-log-empty {
    padding: 2.5rem;
    text-align: center;
    color: var(--landing-text-muted, #64748b);
    font-size: 0.95rem;
}

/* Integrated Trust Footer */
.hub-logs-footer-trust {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

[data-theme="dark"] .hub-logs-footer-trust {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.06);
}

.hub-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

[data-theme="dark"] .hub-trust-pill {
    color: #94a3b8;
}

/* ==========================================================================
   TAB 2: CALCULADORA DE RIESGO LEGAL ITSS & AHORRO DE ROI
   ========================================================================== */

.hub-calc-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 2.25rem;
    align-items: stretch;
}

.hub-calc-controls-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[data-theme="dark"] .hub-calc-controls-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4);
}

.hub-calc-card-intro {
    margin-bottom: 1.75rem;
}

.hub-calc-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 0.35rem 0;
    letter-spacing: -0.02em;
}

.hub-calc-subtitle {
    font-size: 0.92rem;
    color: var(--landing-text-muted, #64748b);
    line-height: 1.5;
    margin: 0;
}

.hub-calc-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.hub-calc-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--landing-text, #0f172a);
    display: block;
    margin-bottom: 0.45rem;
}

.hub-calc-input-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 0.35rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme="dark"] .hub-calc-input-wrapper {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.45);
}

.hub-calc-input-wrapper:focus-within {
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

[data-theme="dark"] .hub-calc-input-wrapper:focus-within {
    background: #1e293b;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.hub-calc-number-input {
    width: 48px;
    border: none;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 800;
    color: #4f46e5;
    text-align: right;
    outline: none;
    padding: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] .hub-calc-number-input {
    color: #818cf8;
}

.hub-calc-unit {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
}

/* Custom Range Slider & Synchronized Scale Track */
.hub-slider-track-wrap {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hub-calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 8px 0 4px 0;
    transition: background 0.1s ease;
}

[data-theme="dark"] .hub-calc-slider {
    background: #334155;
}

.hub-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.45);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease, background 0.15s ease;
}

.hub-calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.45);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease, background 0.15s ease;
}

.hub-calc-slider::-webkit-slider-thumb:hover,
.hub-calc-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.hub-slider-marks {
    position: relative;
    width: 100%;
    height: 32px;
    margin-top: 0.35rem;
}

.hub-slider-mark {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--landing-text-muted, #94a3b8);
    user-select: none;
    transition: color 0.15s ease, font-weight 0.15s ease, transform 0.15s ease;
}

.hub-slider-mark::before {
    content: '';
    display: block;
    width: 2px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 1px;
    margin-bottom: 4px;
    transition: background 0.15s ease, height 0.15s ease;
}

[data-theme="dark"] .hub-slider-mark::before {
    background: #475569;
}

.hub-slider-mark:hover {
    color: #4f46e5;
    transform: translateX(-50%) translateY(-1px);
}

.hub-slider-mark:hover::before {
    background: #4f46e5;
    height: 8px;
}

.hub-slider-mark.is-active {
    color: #4f46e5;
    font-weight: 800;
}

.hub-slider-mark.is-active::before {
    background: #4f46e5;
    height: 8px;
}

/* Selector estilizado del sistema actual */
.hub-calc-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hub-calc-select {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--landing-text, #0f172a);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .hub-calc-select {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.hub-calc-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.hub-calc-select-arrow {
    position: absolute;
    right: 1rem;
    pointer-events: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Marco legal ITSS / LISOS */
.hub-law-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 16px;
    margin-top: 1.75rem;
}

.hub-law-notice-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-law-notice-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b45309;
    display: block;
    margin-bottom: 0.2rem;
}

[data-theme="dark"] .hub-law-notice-tag {
    color: #f59e0b;
}

.hub-law-notice-body p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--landing-text-muted, #78350f);
}

[data-theme="dark"] .hub-law-notice-body p {
    color: #cbd5e1;
}

/* Right Column: Calculator KPIs & ROI */
.hub-calc-results-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hub-calc-kpis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hub-calc-kpi-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

[data-theme="dark"] .hub-calc-kpi-box {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

.box-danger {
    border-color: rgba(239, 68, 68, 0.35);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, #ffffff 100%);
}

[data-theme="dark"] .box-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, #0f172a 100%);
}

.box-neutral {
    background: #ffffff;
}

[data-theme="dark"] .box-neutral {
    background: #0f172a;
}

.box-success {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, #ffffff 100%);
}

[data-theme="dark"] .box-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, #0f172a 100%);
}

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

.kpi-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--landing-text-muted, #64748b);
}

.hub-calc-pill {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.pill-danger  { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.pill-warning { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.pill-info    { background: rgba(6, 182, 212, 0.15); color: #0284c7; }
.pill-success { background: rgba(16, 185, 129, 0.15); color: #059669; }

.kpi-badge-neutral {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    background: rgba(148, 163, 184, 0.15);
    color: #475569;
    border-radius: 6px;
    font-weight: 700;
}

.kpi-value {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--landing-text, #0f172a);
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.value-danger  { color: #dc2626; }
.value-success { color: #059669; }

.kpi-sub-cost {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
    margin-top: 0.15rem;
}

.kpi-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--landing-text-muted, #64748b);
    margin: 0;
}

/* Big ROI Callout Banner */
.hub-roi-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(30, 27, 75, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.hub-roi-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hub-roi-savings-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hub-roi-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a5b4fc;
}

.hub-roi-number-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hub-roi-big-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-roi-pill {
    padding: 0.45rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
}

.hub-roi-guarantee-badges {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-end;
}

.hub-roi-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-roi-recommendation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

.hub-rec-title {
    font-size: 1.05rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.hub-rec-title strong {
    color: #38bdf8;
}

.hub-rec-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    max-width: 420px;
}

.hub-btn-cta-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.85rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.hub-btn-cta-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}

/* Card highlight effect when redirected from calculator */
.catalog-product-card.card-calc-highlight {
    animation: hubCardHighlightPulse 1.2s infinite alternate;
}

@keyframes hubCardHighlightPulse {
    0% {
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.6), 0 20px 40px rgba(99, 102, 241, 0.25);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.9), 0 25px 50px rgba(16, 185, 129, 0.4);
    }
}

/* ==========================================================================
   OFFICIAL ITSS INSPECTION REPORT MODAL
   ========================================================================== */

.hub-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hub-modal-backdrop.active {
    display: flex;
}

.hub-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    animation: hubModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hubModalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hub-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #0f172a;
    color: #ffffff;
}

.hub-modal-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.hub-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hub-modal-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hub-modal-print-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hub-modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.hub-modal-close-btn:hover {
    background: #ef4444;
}

.hub-document-body {
    padding: 2.25rem;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    background: #ffffff;
}

.doc-official-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #0f172a;
    margin-bottom: 1.5rem;
}

.doc-entity-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0f172a;
}

.doc-entity-sub {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.04em;
}

.doc-criterion {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

.doc-compliance-seal {
    text-align: right;
}

.seal-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.seal-hash {
    font-size: 0.68rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #64748b;
    margin-top: 0.35rem;
}

.doc-metadata-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
}

.doc-meta-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.03em;
}

.doc-meta-val {
    font-weight: 700;
    color: #0f172a;
}

.doc-records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
}

.doc-records-table th {
    background: #0f172a;
    color: #ffffff;
    text-align: left;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.doc-records-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.doc-records-table tr.row-highlight {
    background: rgba(16, 185, 129, 0.08);
    font-weight: 700;
}

.doc-records-table tfoot td {
    padding: 0.85rem;
    background: #f8fafc;
    border-top: 2px solid #0f172a;
}

.sig-code {
    font-size: 0.72rem;
    padding: 0.15rem 0.35rem;
    background: #e2e8f0;
    border-radius: 4px;
}

.sig-ok {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 700;
    margin-left: 0.35rem;
}

.doc-legal-disclaimer {
    padding: 1rem;
    background: #f1f5f9;
    border-left: 4px solid #0f172a;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #475569;
}

/* Responsive adjustments for hub */
@media (max-width: 1024px) {
    .hub-simulator-grid,
    .hub-calc-grid {
        grid-template-columns: 1fr;
    }

    .hub-calc-kpis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .horaley-interactive-hub-section {
        padding: 3rem 1rem;
        border-radius: 20px;
    }

    .hub-tabs-nav {
        flex-direction: column;
        width: 100%;
    }

    .hub-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .hub-clock-time {
        font-size: 2.2rem;
    }

    .hub-action-buttons-row {
        grid-template-columns: 1fr;
    }

    .hub-logs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hub-btn-itss-preview {
        width: 100%;
        justify-content: center;
    }

    .hub-logs-table-header,
    .hub-log-row {
        grid-template-columns: 75px 1fr 90px;
    }

    .col-geo,
    .hub-log-col-geo {
        display: none;
    }

    .hub-roi-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hub-roi-guarantee-badges {
        align-items: flex-start;
    }

    .hub-roi-recommendation {
        flex-direction: column;
        align-items: stretch;
    }

    .hub-btn-cta-plan {
        width: 100%;
        text-align: center;
    }

    .doc-metadata-grid {
        grid-template-columns: 1fr;
    }

    .doc-records-table {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   Nuevas secciones de conversión B2B, marketing e información al cliente
   ========================================================================== */

.koulos-section-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.koulos-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--landing-text);
    margin-bottom: 1rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.koulos-section-subtitle {
    color: var(--landing-text-muted);
    font-size: 1.125rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Hero CTAs & Trust Strip */
.koulos-hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.koulos-hero-link-secondary {
    color: var(--landing-text);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.koulos-hero-link-secondary:hover {
    color: var(--landing-primary, #4f46e5);
    background: rgba(99, 102, 241, 0.08);
}

.koulos-hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-top: 0.5rem;
}

.koulos-hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--landing-text-muted);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

/* Impact Metrics Grid inside Social Proof */
.koulos-impact-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--landing-border, rgba(0, 0, 0, 0.08));
    text-align: left;
}

.koulos-impact-metric-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.koulos-impact-metric-card .metric-big-val {
    font-size: 2.15rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #4f46e5;
    line-height: 1.1;
}

.koulos-impact-metric-card .metric-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
}

.koulos-impact-metric-card .metric-sub {
    font-size: 0.84rem;
    color: var(--landing-text-muted, #64748b);
    line-height: 1.45;
}

/* Product Showcase Grid */
.koulos-product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
    align-items: stretch;
}

.koulos-showcase-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.koulos-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px -12px rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
}

.koulos-showcase-card.showcase-card-featured {
    border: 2px solid #4f46e5;
    box-shadow: 0 18px 42px -12px rgba(79, 70, 229, 0.2);
}

.showcase-ribbon {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.45rem 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.showcase-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-top-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.showcase-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.showcase-tag.tag-indigo { background: rgba(79, 70, 229, 0.12); color: #4338ca; }
.showcase-tag.tag-purple { background: rgba(147, 51, 234, 0.12); color: #7e22ce; }
.showcase-tag.tag-cyan   { background: rgba(2, 132, 199, 0.12); color: #0369a1; }
.showcase-tag.tag-amber  { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.showcase-tag.tag-neutral { background: rgba(15, 23, 42, 0.06); color: #475569; }

.showcase-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 0 0 0.65rem 0;
    line-height: 1.25;
}

.showcase-desc {
    font-size: 0.92rem;
    color: var(--landing-text-muted, #475569);
    line-height: 1.55;
    margin-bottom: 1.35rem;
}

.showcase-price-box {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
}

.showcase-price-line {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.showcase-price-num {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--landing-text, #0f172a);
    letter-spacing: -0.03em;
}

.showcase-price-period {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
}

.showcase-price-equiv {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #059669;
    margin-top: 0.3rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.showcase-features li {
    font-size: 0.87rem;
    color: var(--landing-text, #1e293b);
    line-height: 1.4;
}

.showcase-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    box-sizing: border-box;
}

/* Legal Comparison Table */
.koulos-comparison-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px -12px rgba(15, 23, 42, 0.06);
}

.koulos-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.koulos-comparison-table th,
.koulos-comparison-table td {
    padding: 1.15rem 1.35rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.92rem;
}

.koulos-comparison-table thead th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.86rem;
}

.koulos-comparison-table thead th.col-good {
    background: #4f46e5;
}

.koulos-comparison-table tbody td.col-bad {
    color: #dc2626;
    background: rgba(254, 242, 242, 0.35);
}

.koulos-comparison-table tbody td.col-mid {
    color: #475569;
}

.koulos-comparison-table tbody td.col-good {
    color: #047857;
    background: rgba(236, 253, 245, 0.65);
}

.koulos-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* 3 Steps Onboarding Grid */
.koulos-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.koulos-step-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.05);
    position: relative;
}

.step-number-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 0 0 0.75rem 0;
}

.step-desc {
    font-size: 0.94rem;
    color: var(--landing-text-muted, #475569);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Grid */
.koulos-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
}

.koulos-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-metric-pill {
    display: inline-block;
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.15rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--landing-text, #1e293b);
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
}

.author-role {
    display: block;
    font-size: 0.78rem;
    color: var(--landing-text-muted, #64748b);
}

/* FAQ Accordion */
.koulos-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.koulos-faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease;
}

.koulos-faq-item[open] {
    border-color: rgba(79, 70, 229, 0.4);
}

.koulos-faq-question {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
}

.koulos-faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.koulos-faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
    background: #4f46e5;
    color: #ffffff;
}

.koulos-faq-answer {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.93rem;
    color: var(--landing-text-muted, #475569);
    line-height: 1.65;
}

/* Contact Quick Topic Chips & Guarantees */
.koulos-contact-topics {
    margin-bottom: 1.85rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.topics-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--landing-text-muted, #475569);
    margin-bottom: 0.75rem;
}

.topics-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.topic-chip {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--landing-text, #1e293b);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topic-chip:hover {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-1px);
}

.koulos-contact-guarantees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
}

/* Corporate Multi-Column Footer */
.koulos-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    text-align: left;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--landing-border, rgba(0, 0, 0, 0.08));
}

.koulos-footer-desc {
    font-size: 0.9rem;
    color: var(--landing-text-muted, #64748b);
    line-height: 1.6;
    margin: 0.85rem 0 1.25rem 0;
}

.koulos-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.koulos-footer-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--landing-text, #334155);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.koulos-footer-links-col h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 0 0 1rem 0;
}

.koulos-footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.koulos-footer-links-col a {
    color: var(--landing-text-muted, #64748b);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.koulos-footer-links-col a:hover {
    color: #4f46e5;
}

.koulos-footer-contact-meta {
    font-size: 0.84rem;
    color: var(--landing-text-muted, #64748b);
}

.koulos-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--landing-text-muted, #64748b);
}

.koulos-footer-legal-note {
    font-size: 0.8rem;
    opacity: 0.85;
}

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

    .koulos-product-showcase-grid,
    .koulos-steps-grid,
    .koulos-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .koulos-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .koulos-impact-metrics-grid,
    .koulos-footer-grid {
        grid-template-columns: 1fr;
    }

    .koulos-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Fase 1: Modern Split Hero Grid & Live Device Mockup
   ========================================================================== */
.koulos-landing-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: left;
}

.koulos-hero-content-col {
    animation: koulos-landing-fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.koulos-hero-content-col .koulos-landing-hero-badge {
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.koulos-hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: koulosBadgePulse 2s infinite;
}

@keyframes koulosBadgePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.koulos-hero-content-col .koulos-landing-hero-title {
    font-size: clamp(2.5rem, 5.2vw, 4.2rem);
    text-align: left;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.koulos-hero-content-col .koulos-landing-hero-subtitle {
    text-align: left;
    margin: 0 0 2rem 0;
    max-width: 580px;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--landing-text-muted);
}

.koulos-hero-content-col .koulos-hero-cta-group {
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.koulos-hero-content-col .koulos-hero-trust-strip {
    justify-content: flex-start;
}

/* Device Mockup Column */
.koulos-hero-mockup-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    animation: koulos-landing-fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.koulos-hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    animation: koulosHeroFloat 7s ease-in-out infinite;
}

@keyframes koulosHeroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.4deg); }
}

/* Floating Badges around mockup */
.koulos-mockup-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    z-index: 15;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.koulos-mockup-floating-badge:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.badge-top-left {
    top: -24px;
    left: -28px;
}

.badge-bottom-right {
    bottom: -20px;
    right: -24px;
}

.badge-icon {
    font-size: 1.35rem;
}

.badge-icon-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.koulos-mockup-floating-badge .badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.koulos-mockup-floating-badge .badge-text strong {
    font-size: 0.82rem;
    color: var(--landing-text, #0f172a);
    font-weight: 700;
}

.koulos-mockup-floating-badge .badge-text span {
    font-size: 0.72rem;
    color: var(--landing-text-muted, #475569);
}

/* Smartphone Device Mockup Body */
.koulos-hero-phone-frame {
    background: #0f172a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.phone-speaker-notch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 22px;
    margin-bottom: 6px;
}

.phone-speaker-notch .camera-lens {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-speaker-notch .speaker-bar {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: #1e293b;
}

.phone-screen-content {
    background: #ffffff;
    border-radius: 26px;
    padding: 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Mockup App Bar */
.mockup-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mockup-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
}

.mockup-brand-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.mockup-network-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.mockup-network-status .live-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: koulosBadgePulse 1.8s infinite;
}

/* Mockup Employee Card */
.mockup-employee-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mockup-emp-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
}

.mockup-emp-info strong {
    font-size: 0.82rem;
    color: #0f172a;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mockup-emp-info span {
    font-size: 0.68rem;
    color: #64748b;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mockup-status-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    margin-left: auto;
    white-space: nowrap;
}

.mockup-status-tag.status-active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

/* Mockup Live Clock Display */
.mockup-clock-display {
    text-align: center;
    padding: 0.85rem 0.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-clock-digits {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.mockup-clock-date {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* Mockup Progress Card */
.mockup-progress-card {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mockup-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: #475569;
}

.mockup-progress-time {
    font-size: 0.85rem;
    color: #4f46e5;
}

.mockup-progress-bar-track {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.mockup-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #10b981 100%);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.mockup-progress-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
}

/* Mockup Action Buttons */
.mockup-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.mockup-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.55rem 0.25rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: default;
    transition: transform 0.15s ease, background 0.15s ease;
}

.mockup-action-btn.btn-pause {
    color: #f59e0b;
}

.mockup-action-btn.btn-lunch {
    color: #0284c7;
}

.mockup-action-btn.btn-exit {
    color: #ef4444;
}

.mockup-action-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Mockup Security & Legal Pill */
.mockup-security-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    text-align: center;
}

/* Responsive adjustments for the Hero grid */
@media (max-width: 1024px) {
    .koulos-landing-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .koulos-hero-content-col .koulos-landing-hero-title,
    .koulos-hero-content-col .koulos-landing-hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .koulos-hero-content-col .koulos-hero-cta-group,
    .koulos-hero-content-col .koulos-hero-trust-strip {
        justify-content: center;
    }

    .badge-top-left {
        top: -16px;
        left: -10px;
    }

    .badge-bottom-right {
        bottom: -16px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .badge-top-left,
    .badge-bottom-right {
        position: static;
        margin: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    .koulos-hero-mockup-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Fase 1: Sticky Floating Conversion Bar
   ========================================================================== */
.koulos-sticky-cta-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(140px);
    width: 92%;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 995;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.koulos-sticky-cta-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.sticky-cta-product {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sticky-product-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.1);
    color: var(--landing-primary, #4f46e5);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.sticky-product-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sticky-product-name {
    font-size: 0.88rem;
    color: var(--landing-text, #0f172a);
    font-weight: 700;
    line-height: 1.2;
}

.sticky-product-price {
    font-size: 0.76rem;
    color: var(--landing-text-muted, #475569);
}

.sticky-product-price strong {
    color: #10b981;
}

.sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-btn-demo {
    padding: 0.55rem 1.1rem !important;
    font-size: 0.84rem !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

.sticky-btn-buy {
    padding: 0.55rem 1.25rem !important;
    font-size: 0.84rem !important;
    border-radius: 999px !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sticky-cta-close {
    background: transparent;
    border: none;
    color: var(--landing-text-muted, #64748b);
    font-size: 1.1rem;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.sticky-cta-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--landing-text, #0f172a);
}

@media (max-width: 768px) {
    .koulos-sticky-cta-bar {
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: 100%;
        border-radius: 18px 18px 0 0;
        padding: 0.75rem 1rem;
    }

    .koulos-sticky-cta-bar.is-visible {
        transform: translateY(0);
    }

    .sticky-product-details {
        display: none;
    }

    .sticky-btn-demo {
        display: none;
    }

    .sticky-cta-actions {
        width: 100%;
        justify-content: space-between;
    }

    .sticky-btn-buy {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   Fase 2: Landing Dedicada HoraLey (RRHH, Cumplimiento ITSS y Configurador)
   ========================================================================== */

/* Hero Dedicado HoraLey */
.horaley-hero-section {
    position: relative;
    padding: 7rem 5% 5rem;
    background: radial-gradient(1000px 500px at 50% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 80%),
                radial-gradient(800px 400px at 80% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    overflow: hidden;
    text-align: center;
}

.horaley-hero-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.horaley-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.horaley-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.35rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--landing-text, #0f172a);
}

.horaley-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--landing-text-muted, #475569);
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.horaley-hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.horaley-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--landing-text-muted, #475569);
}

.horaley-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ==========================================================================
   Configurador Interactivo de Asientos y Costes
   ========================================================================== */
.horaley-configurator-section {
    padding: 5rem 5%;
    background: #ffffff;
    border-top: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
    border-bottom: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
}

.horaley-configurator-card {
    max-width: 1040px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.configurator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.configurator-controls {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.configurator-summary-box {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.control-block-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--landing-text, #0f172a);
    margin-bottom: 0.75rem;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.slider-track-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.horaley-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    margin: 8px 0 4px 0;
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--landing-primary, #4f46e5);
}

.horaley-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.45);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease, background 0.15s ease;
}

.horaley-range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.45);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease, background 0.15s ease;
}

.horaley-range-slider::-webkit-slider-thumb:hover,
.horaley-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.slider-input-wrap {
    flex-shrink: 0;
}

.employee-number-input {
    width: 80px;
    height: 46px;
    padding: 0 0.5rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--landing-primary, #4f46e5);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.employee-number-input:focus {
    border-color: var(--landing-primary, #4f46e5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.slider-scale-legend {
    position: relative;
    height: 18px;
    margin-top: 0.25rem;
}

.slider-scale-legend span {
    position: absolute;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: color 0.15s ease, font-weight 0.15s ease;
}

.slider-scale-legend span:first-child {
    transform: translateX(0);
}

.slider-scale-legend span:last-child {
    transform: translateX(-100%);
}

.slider-scale-legend span:hover {
    color: var(--landing-primary, #4f46e5);
}

.slider-scale-legend span.is-active {
    color: var(--landing-primary, #4f46e5);
    font-weight: 700;
}

/* Botones Segmentados (Toggles) */
.segmented-pill-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 14px;
}

.segmented-pill-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.segmented-pill-btn.active {
    background: #ffffff;
    color: var(--landing-text, #0f172a);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pill-discount-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

/* Resumen del Configurador */
.summary-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--landing-primary, #4f46e5);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

.summary-plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.summary-plan-description {
    font-size: 0.82rem;
    color: var(--landing-text-muted, #64748b);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.summary-price-box {
    margin-bottom: 2rem;
}

.summary-price-main {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.summary-price-num {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--landing-text, #0f172a);
    letter-spacing: -0.03em;
}

.summary-price-period {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--landing-text-muted, #64748b);
}

.summary-equiv-line {
    font-size: 0.82rem;
    color: #10b981;
    font-weight: 600;
}

.summary-guarantees-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: var(--landing-text-muted, #475569);
}

.summary-guarantees-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn-wrapper .btn {
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 14px;
}

/* ==========================================================================
   Previsualización de Documento Legal Oficial ITSS
   ========================================================================== */
.horaley-legal-preview-section {
    padding: 6rem 5%;
    background: var(--landing-bg, #f8fafc);
}

.horaley-legal-sheet-mockup {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.75rem;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 6px solid #10b981;
}

.sheet-official-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.sheet-title-box h3 {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.sheet-title-box span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.sheet-stamp-badge {
    border: 2px solid #10b981;
    color: #059669;
    font-weight: 900;
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: rotate(-3deg);
}

.sheet-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.sheet-meta-item strong {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
}

.sheet-table th {
    background: #f1f5f9;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #cbd5e1;
}

.sheet-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

.sheet-table tr.total-row {
    background: #f8fafc;
    font-weight: 800;
}

.sheet-footer-verification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px dashed #cbd5e1;
    font-size: 0.76rem;
    color: #64748b;
}

.sheet-qr-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qr-placeholder {
    width: 48px;
    height: 48px;
    background: #0f172a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.65rem;
}

.sheet-sha256-code {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #334155;
    word-break: break-all;
}

/* ==========================================================================
   Cuadrícula de Funcionalidades Clave RRHH
   ========================================================================== */
.horaley-features-section {
    padding: 6rem 5%;
    background: #ffffff;
}

.horaley-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.horaley-feature-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 2.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.horaley-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.feature-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
}

.horaley-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin-bottom: 0.75rem;
}

.horaley-feature-card p {
    font-size: 0.95rem;
    color: var(--landing-text-muted, #475569);
    line-height: 1.6;
    margin: 0;
}

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

    .configurator-summary-box {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .horaley-features-grid {
        grid-template-columns: 1fr;
    }

    .sheet-meta-grid {
        grid-template-columns: 1fr;
    }

    .sheet-footer-verification {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   Fase 3: Landing Dedicada para Asesorías y Partners (/partners)
   ========================================================================== */

/* Hero Partners */
.partners-hero-section {
    position: relative;
    padding: 7rem 5% 5rem;
    background: radial-gradient(1100px 500px at 50% 10%, rgba(79, 70, 229, 0.09) 0%, transparent 80%),
                radial-gradient(800px 400px at 20% 30%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    overflow: hidden;
    text-align: center;
}

.partners-hero-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.partners-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.35rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--landing-text, #0f172a);
}

.partners-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--landing-text-muted, #475569);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.partners-hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.partners-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--landing-text-muted, #475569);
}

/* Simulador de Comisiones del Partner */
.partner-calculator-section {
    padding: 5rem 5%;
    background: #ffffff;
    border-top: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
    border-bottom: 1px solid var(--landing-border, rgba(0, 0, 0, 0.06));
}

.partner-calculator-card {
    max-width: 1060px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.partner-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.partner-calc-controls {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.partner-calc-summary {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partner-metric-highlight {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.partner-metric-highlight .metric-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
}

.partner-metric-highlight .metric-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #4f46e5;
    line-height: 1;
}

.partner-metric-highlight .metric-sub {
    font-size: 0.78rem;
    color: #10b981;
    font-weight: 600;
}

.partner-time-saved-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    margin-bottom: 2rem;
}

.partner-time-saved-badge strong {
    font-size: 1.15rem;
    color: #059669;
}

.partner-time-saved-badge span {
    font-size: 0.82rem;
    color: #065f46;
    line-height: 1.35;
}

/* Pilares de Valor para Asesorías */
.partner-benefits-section {
    padding: 6rem 5%;
    background: var(--landing-bg, #f8fafc);
}

.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1060px;
    margin: 0 auto;
}

.partner-benefit-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08);
}

.partner-benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--landing-text, #0f172a);
    margin: 1rem 0 0.5rem 0;
}

.partner-benefit-card p {
    font-size: 0.95rem;
    color: var(--landing-text-muted, #475569);
    line-height: 1.6;
    margin: 0;
}

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

    .partner-calc-summary {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .partner-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Fase 4: Lead Magnet ITSS Audit Report & Modal
   ========================================================================== */
.hub-lead-magnet-card {
    margin-top: 1.5rem;
    background: #ffffff;
    border: 1.5px dashed rgba(79, 70, 229, 0.35);
    border-radius: 18px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.04);
}

.lead-magnet-copy {
    text-align: left;
}

.lead-magnet-tag {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lead-magnet-copy strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.lead-magnet-copy p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.btn-lead-magnet-trigger {
    background: #ffffff;
    color: #4f46e5;
    border: 1.5px solid #4f46e5;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-lead-magnet-trigger:hover {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transform: translateY(-2px);
}

[data-theme="dark"] .hub-lead-magnet-card {
    background: #0f172a;
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .lead-magnet-copy strong {
    color: #f1f5f9;
}

[data-theme="dark"] .lead-magnet-copy p {
    color: #94a3b8;
}

[data-theme="dark"] .btn-lead-magnet-trigger {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
    color: #a5b4fc;
}

[data-theme="dark"] .btn-lead-magnet-trigger:hover {
    background: #4f46e5;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hub-lead-magnet-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .btn-lead-magnet-trigger {
        width: 100%;
        justify-content: center;
    }
}








/* ==========================================================================
   Selector de idioma flotante (Three.js) — abajo a la izquierda
   ========================================================================== */
.koulos-lang-fab {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    -webkit-tap-highlight-color: transparent;
}

.lang-fab-btn {
    position: relative;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 1px solid rgba(165, 180, 252, 0.45);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background:
        radial-gradient(circle at 30% 25%, rgba(129, 140, 248, 0.55), rgba(30, 27, 75, 0.96) 62%),
        #1e1b4b;
    box-shadow:
        0 14px 34px -8px rgba(49, 46, 129, 0.75),
        0 0 0 4px rgba(99, 102, 241, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.lang-fab-btn:hover,
.lang-fab-btn:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 18px 40px -8px rgba(99, 102, 241, 0.85),
        0 0 0 5px rgba(129, 140, 248, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    outline: none;
}

.koulos-lang-fab.is-open .lang-fab-btn {
    transform: scale(1.02);
    box-shadow:
        0 16px 38px -8px rgba(236, 72, 153, 0.6),
        0 0 0 5px rgba(236, 72, 153, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lang-fab-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(129, 140, 248, 0.7);
    animation: langFabPulse 2.8s ease-out infinite;
    pointer-events: none;
}

@keyframes langFabPulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.7); opacity: 0; }
}

.koulos-lang-fab.is-open .lang-fab-pulse {
    animation: none;
    opacity: 0;
}

.lang-fab-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118px;
    height: 118px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.lang-fab-badge {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 28px;
    height: 19px;
    border-radius: 4px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.45);
    pointer-events: none;
}

/* Sin WebGL: bandera actual a tamaño completo dentro del botón */
.koulos-lang-fab.no-webgl .lang-fab-globe { display: none; }
.koulos-lang-fab.no-webgl .lang-fab-badge {
    right: auto;
    bottom: auto;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 27px;
    transform: translate(-50%, -50%);
}

/* Panel desplegable */
.lang-fab-panel {
    width: 304px;
    max-width: calc(100vw - 2.5rem);
    border-radius: 20px;
    overflow: hidden;
    color: #e2e8f0;
    background: linear-gradient(160deg, rgba(30, 27, 75, 0.97) 0%, rgba(15, 23, 42, 0.97) 100%);
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 30px 70px -12px rgba(15, 23, 42, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform-origin: bottom left;
    transform: translateY(18px) scale(0.78) rotateX(-14deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.28s ease,
        visibility 0s linear 0.5s;
    order: -1;
}

.lang-fab-panel.is-open {
    transform: translateY(0) scale(1) rotateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        visibility 0s;
}

.lang-fab-stage {
    position: relative;
    height: 150px;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(236, 72, 153, 0.28), transparent 60%),
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.4), transparent 60%);
    border-bottom: 1px solid rgba(129, 140, 248, 0.22);
}

.lang-fab-flag-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.lang-fab-stage-label {
    position: absolute;
    left: 1rem;
    bottom: 0.7rem;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    pointer-events: none;
}

.lang-fab-stage-kicker {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a5b4fc;
}

.lang-fab-stage-label strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.lang-fab-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-fab-list li {
    opacity: 0;
    transform: translateX(-16px);
}

.lang-fab-panel.is-open .lang-fab-list li {
    animation: langFabItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.08s + var(--i, 0) * 0.055s);
}

@keyframes langFabItemIn {
    to { opacity: 1; transform: translateX(0); }
}

.lang-fab-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s ease;
}

.lang-fab-option:hover,
.lang-fab-option:focus-visible {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(129, 140, 248, 0.45);
    transform: translateX(4px);
    outline: none;
}

.lang-fab-option.is-active {
    background: rgba(236, 72, 153, 0.14);
    border-color: rgba(236, 72, 153, 0.5);
    color: #fff;
}

.lang-fab-flag {
    width: 36px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-fab-name {
    flex: 1 1 auto;
}

.lang-fab-code {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.14rem 0.4rem;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.lang-fab-check {
    color: #f472b6;
    flex: 0 0 auto;
}

/* Sin WebGL: ocultamos el escenario 3D del panel */
.lang-fab-panel.no-webgl .lang-fab-stage { height: 56px; }
.lang-fab-panel.no-webgl .lang-fab-flag-canvas { display: none; }

/* El menú móvil a pantalla completa tapa el selector */
body.nav-menu-open .koulos-lang-fab {
    display: none;
}

@media (max-width: 1100px) {
    /* Evita solaparse con la barra sticky de conversión */
    body:has(.koulos-sticky-cta-bar.is-visible) .koulos-lang-fab {
        bottom: 5.9rem;
    }
}

@media (max-width: 480px) {
    .koulos-lang-fab { left: 0.9rem; bottom: 0.9rem; }
    .lang-fab-btn { width: 60px; height: 60px; }
    .lang-fab-globe { width: 104px; height: 104px; }
}

@media (prefers-reduced-motion: reduce) {
    .lang-fab-pulse { animation: none; opacity: 0; }
    .lang-fab-panel,
    .lang-fab-panel.is-open { transition: opacity 0.15s ease; transform: none; }
    .lang-fab-panel.is-open .lang-fab-list li { animation: none; opacity: 1; transform: none; }
}
