/* Precision Ether - Kora Solutions Design Model */
:root {
    /* Colors (Stitch Exact Model) */
    --surface: #faf8ff;
    --on-surface: #131b30;
    --on-surface-variant: #424654;
    --primary: #0055c7;
    --primary-container: #2e6fe5;
    --primary-dim: #b0c6ff;
    --secondary: #6b2ce6;
    --tertiary: #ae0084;
    --surface-container-low: #f2f3ff;
    --surface-container-lowest: #ffffff;
    --inverse-surface: #283046;
    --outline-variant: #c2c6d6;
    
    /* Typography Clamp System - Perfecting the Rhythm */
    --display-lg: clamp(2.25rem, 5vw, 4.5rem);
    --display-md: clamp(1.75rem, 4vw, 3.5rem);
    --headline-sm: clamp(1.5rem, 3vw, 2.5rem);
    --body-lg: clamp(1.1rem, 1.5vw, 1.25rem);
    --body-md: clamp(1rem, 1.2vw, 1.1rem);
    
    /* Rhythm & Elevation */
    --section-pad: clamp(3.5rem, 5vw, 5.5rem);
    --card-radius: 2rem;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 40px 100px rgba(0, 85, 199, 0.08);
    
    /* Typography Scales */
    --font-inter: 'Inter', system-ui;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
    font-family: var(--font-inter); 
    background: var(--surface); 
    color: var(--on-surface); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 4rem; 
}

/* Header & Navigation (Fixed Top Bar) */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(0, 85, 199, 0.05);
    transition: var(--transition-smooth);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-fixed.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 85, 199, 0.05);
    border-bottom: 1px solid rgba(0, 85, 199, 0.08);
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img { height: 32px; }
.nav-brand-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.05em; white-space: nowrap; }

.nav-menu {
    display: flex;
    gap: clamp(1rem, 2vw, 2.5rem);
}

.nav-link {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover { color: var(--primary); }

.nav-container .nav-cta {
    padding: 0.6rem 1.75rem;
    border-radius: 100px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 85, 199, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 100px;
    font-family: inherit;
    gap: 0.8rem;
}

.btn-ion-glow {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: white !important;
    padding: 1.25rem 3.5rem;
    box-shadow: 0 20px 40px rgba(0, 85, 199, 0.25);
}

.btn-ion-glow:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 85, 199, 0.35);
}

.btn-link {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.25rem 2.8rem;
    border-radius: 100px;
    color: var(--on-surface) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.btn-link:hover { 
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.btn-link:hover .material-symbols-outlined { transform: translateX(8px); }

/* Hero Section (Asymmetric Grid) */
.hero-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 110px 0 60px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-bg-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.blob-top {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(0, 85, 199, 0.05);
}

.blob-bottom {
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(107, 44, 230, 0.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.75) 0%, rgba(246, 248, 255, 0.95) 70%, #f6f8ff 100%);
}

.hero-text {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px) saturate(140%);
    -webkit-backdrop-filter: blur(30px) saturate(140%);
    padding: clamp(2rem, 5vw, 5rem);
    border-radius: var(--card-radius);
    max-width: 1000px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 2rem;
    margin-bottom: 2.5rem;
}

.display-lg {
    font-size: var(--display-lg);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: var(--on-surface);
    margin-bottom: 2.5rem;
}

.display-md {
    font-size: var(--display-md);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--on-surface);
}

.body-md {
    font-size: var(--body-lg);
    line-height: 1.7;
    color: var(--on-surface-variant);
    margin-bottom: 4rem;
    font-weight: 450;
}

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

.text-primary { color: var(--primary); }
.text-primary-dim { color: var(--primary-dim); }

/* Section Rhythm */
.section { padding: var(--section-pad) 0; }
.section-solutions { background: var(--surface-container-low); }

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.headline-sm {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.body-md-sub {
    max-width: 400px;
    color: var(--on-surface-variant);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solutions-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .solutions-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .solutions-grid-4 { grid-template-columns: 1fr; }
}

/* Ecosistema de Soluciones - Glow de Fondo */
.section-solutions {
    position: relative;
    z-index: 1;
}

.section-solutions::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 85, 199, 0.04) 0%, rgba(107, 44, 230, 0.02) 50%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.25rem 2rem;
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(0, 85, 199, 0.1);
    box-shadow: 
        0 10px 30px -10px rgba(0, 85, 199, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtle inner glow / gradient */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(0, 85, 199, 0.04) 0%, transparent 60%);
    opacity: 0.8;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover { 
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 20px 50px -10px rgba(0, 85, 199, 0.12),
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 85, 199, 0.2);
}

.service-card:hover::before {
    opacity: 1;
    background: radial-gradient(circle at 10% 10%, rgba(0, 85, 199, 0.1) 0%, transparent 70%);
}

.service-icon-box {
    width: 100%;
    max-width: 160px; /* Reduced for a sleek look */
    height: 4rem; /* Reduced greatly */
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left aligned */
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-box {
    transform: scale(1.02) translateX(4px);
}

.service-logo-img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06)); 
}

.card-title { font-size: 1.4rem; margin-bottom: 1rem; }

.card-desc { 
    color: var(--on-surface-variant); 
    margin-bottom: 2rem; 
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; 
}

/* Sleek minimalist text link instead of a chunky pill */
.card-action-link {
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a.card-action-link:hover {
    color: var(--primary);
    transform: translateX(4px);
    background: transparent;
    box-shadow: none;
}

div.card-action-link {
    color: var(--on-surface-variant) !important;
    background: transparent !important;
}

.card-action-link .material-symbols-outlined { 
    font-size: 1rem; 
    transition: transform 0.3s ease;
}

/* Innovation Split */
.innovation-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* 55/45 Split */
    gap: 4rem;
    align-items: center;
}

.upper-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    display: block;
}

.display-md { font-size: 3rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 2rem; }

.feature-list {
    list-style: none;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-list li {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 85, 199, 0.08);
    border-radius: 1.25rem;
    transition: var(--transition-smooth);
    text-align: left;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 85, 199, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 85, 199, 0.06);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 85, 199, 0.05) 0%, rgba(107, 44, 230, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(0, 85, 199, 0.1);
}

.feature-text-content {
    flex-grow: 1;
}

.feature-list h4 { 
    font-weight: 700; 
    font-size: 1.15rem;
    color: var(--on-surface);
    margin-bottom: 0.25rem; 
}

.feature-list p { 
    font-size: 0.95rem; 
    color: var(--on-surface-variant); 
    line-height: 1.6; 
    margin: 0;
}

.innovation-img-wrapper {
    position: relative;
}

.innovation-img {
    width: 100%;
    border-radius: 1.5rem;
    mix-blend-mode: multiply;
    background: var(--surface-container-high);
}

.glass-quote-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 6px solid #FF8A00; /* Kora Orange branding line */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.glass-quote-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    font-size: 8rem;
    color: #FF8A00;
    opacity: 0.08;
    font-family: serif;
}

.quote-text { 
    font-size: 1.4rem !important; 
    line-height: 1.6; 
    color: var(--on-surface);
    font-weight: 500;
    font-style: italic;
}

.quote-label { 
    font-weight: 700; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 0.2em;
    color: #FF8A00;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-label::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: #FF8A00;
}

/* Contact Section */
.section-contact {
    background: var(--inverse-surface);
    color: white;
}

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

.contact-subtext {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-channels {
    display: grid;
    gap: 2rem;
}

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

.icon-orb {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(194, 198, 214, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dim);
}

.contact-form-box {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    color: var(--on-surface);
}

.tech-form { display: grid; gap: 1.5rem; }

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--outline-variant);
    padding: 1rem 0;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition);
}

.form-field input:focus { outline: none; border-bottom-color: var(--primary); }

.btn-full { padding: 1.25rem; width: 100%; border-radius: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* Footer */
.footer { background: #f8fafc; padding-top: 4rem; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding-bottom: 4rem; }

.footer-logo { height: 80px; width: auto; margin-bottom: 2rem; }
.footer-tagline { color: var(--on-surface-variant); max-width: 400px; margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.5; }

.social-orb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--on-surface-variant);
}

.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.footer-title { margin-bottom: 1.5rem; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { text-decoration: none; color: var(--on-surface-variant); font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }

/* Mobile Responsiveness Improvements */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .nav-menu { display: none; } /* Hide complicated nav on mobile/tablet for focus */
    .hero-section { padding: 160px 0 100px; min-height: auto; text-align: center; overflow: hidden; }
    .hero-glass-card { 
        margin: 0 auto; 
        padding: 2.5rem 1.5rem; 
        width: 100%; 
        box-sizing: border-box; 
    }
    .display-lg { font-size: 2.75rem; line-height: 1.15; }
    .body-md { font-size: 1.05rem; }
    
    .hero-actions { 
        justify-content: center; 
        flex-direction: column; 
        gap: 1rem; 
        width: 100%; 
        max-width: 320px; 
        margin: 1.5rem auto 0; 
    }
    
    .hero-actions > a { 
        width: 100%; 
        box-sizing: border-box;
        padding: 0.9rem 1rem !important; 
        font-size: 0.95rem !important; 
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        white-space: nowrap;
        height: auto;
    }
    
    .solutions-grid, .solutions-grid-4, .innovation-split, .contact-grid, .footer-main { 
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-header-split { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .body-md-sub { margin: 0 auto; }
    
    .service-icon-box { max-width: 130px; height: 3.5rem; justify-content: flex-start; margin-bottom: 1.25rem; }
    .service-card { padding: 2rem 1.5rem; text-align: left; align-items: flex-start; }
    
    .glass-quote-card {
        position: relative;
        bottom: 0; left: 0; right: 0;
        margin-top: -2rem;
        width: 100%;
        max-width: 100%;
        padding: 2.5rem 1.5rem;
        border-radius: 1.5rem;
        box-sizing: border-box;
    }
    .innovation-visual { margin-top: 3rem; }
}

@media (max-width: 600px) {
    .display-lg { font-size: 2.25rem; }
    .hero-section { padding: 130px 0 80px; }
    .hero-glass-card { padding: 2rem 1rem; }
    .section { padding: 3.5rem 0; }
    .nav-container { padding: 0 1.25rem; gap: 0.5rem; }
    .nav-cta { padding: 0.4rem 1.2rem !important; font-size: 0.8rem !important; }
    .nav-brand-text { font-size: 1.15rem; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Custom Process Section ─────────────────────────────────── */
.section-custom-process {
    background: var(--inverse-surface);
    overflow: hidden;
    position: relative;
}

/* Glow de fondo decorativo */
.section-custom-process::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 85, 199, 0.18) 0%, rgba(107, 44, 230, 0.1) 40%, transparent 70%);
    pointer-events: none;
}

.process-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.process-header h2 { color: #fff; }

.process-header-sub {
    max-width: 380px;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
    text-align: right;
}

/* Track: fila de tarjetas + flechas */
.process-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.process-track-line {
    display: none; /* decorativo, reemplazado por tarjetas */
}

/* Flecha entre pasos */
.process-track-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: -2rem; /* alinea con zona de icono */
}

/* Tarjeta de proceso */
.process-card {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 85, 199, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 85, 199, 0.2);
}

.process-card--final {
    background: linear-gradient(135deg, rgba(0, 85, 199, 0.25) 0%, rgba(107, 44, 230, 0.2) 100%);
    border-color: rgba(0, 85, 199, 0.35);
}

.process-card--final:hover {
    background: linear-gradient(135deg, rgba(0, 85, 199, 0.35) 0%, rgba(107, 44, 230, 0.3) 100%);
    box-shadow: 0 24px 80px rgba(0, 85, 199, 0.35);
}

.process-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.process-num {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
}

/* Icono */
.process-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--hue, 215deg) 80% 55% / 0.15);
    border: 1px solid hsl(var(--hue, 215deg) 80% 65% / 0.25);
    color: hsl(var(--hue, 215deg) 80% 75%);
    flex-shrink: 0;
}

.process-icon-wrap--final {
    background: linear-gradient(135deg, var(--primary) 0%, #6b2ce6 100%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 85, 199, 0.5);
}

.process-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.process-card-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    flex: 1;
}

.process-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-top: 0.5rem;
}

/* CTA */
.process-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.process-cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1200px) {
    .process-track { gap: 0; }
    .process-track-arrow { width: 1.75rem; }
    .process-card { padding: 1.5rem 1rem; }
}

@media (max-width: 900px) {
    .process-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .process-header-sub { text-align: left; max-width: 100%; margin-top: 0.25rem; }
    .process-track {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .process-track-arrow { display: none; }
}

@media (max-width: 540px) {
    .process-track { grid-template-columns: 1fr; }
    .process-cta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════
   CREATIVE CODING LAYER v2 — Preloader · Cursor · WebGL
   SIN bloqueo de scroll · SIN pointer-events en main
══════════════════════════════════════════════════════════════ */

/* ── Cursor nativo oculto solo en escritorio ── */
@media (hover: hover) and (pointer: fine) {
    * { cursor: none !important; }
}

/* ── Canvas WebGL: fijo detrás, NO captura eventos ── */
#kora-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;  /* nunca intercepta clicks ni scroll */
}

/* ── Canvas Dust: partículas detrás del contenido pero encima del fondo ── */
#kora-dust {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
    mix-blend-mode: screen; /* Brillo adicional sobre fondos oscuros */
}


/* ── Preloader ─────────────────────────────── */
#kora-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--inverse-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* NO captura eventos de rueda/scroll — el scroll sigue funcionando */
    pointer-events: none;
}

.kp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.kp-ring-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kp-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.kp-ring-track    { stroke: rgba(255,255,255,0.07); }

.kp-ring-progress {
    stroke: url(#kp-gradient);
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
    filter: drop-shadow(0 0 8px rgba(0,85,199,0.7));
}

.kp-k {
    font-family: var(--font-inter);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: scale(0.7);
}

.kp-brand {
    font-family: var(--font-inter);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
}

/* ── Custom Cursor ─────────────────────────── */
#kora-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
}

.kc-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.kc-ring {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0.6;
}



/* ── will-change en elementos animados por GSAP ── */
.service-card,
.process-card,
.hero-glass-card,
.innovation-img {
    will-change: transform;
}

/* ── Reveal: aparición suave al hacer scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Delay escalonado para grids (nth-child) */
.solutions-grid .reveal:nth-child(1) { transition-delay: 0s; }
.solutions-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.solutions-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-track .reveal:nth-child(odd) { transition-delay: calc(var(--i, 0) * 0.08s); }

/* Clip-path: GSAP la setea inline en el fromTo, no en CSS */
/* No poner clip-path por defecto aquí para que el contenido
   sea visible aunque GSAP no cargue (vision.html, etc.) */

/* ── Form Button States ── */
.btn-success {
    background: #10b981 !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3) !important;
    border: none !important;
}

.btn-error {
    background: #ef4444 !important;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3) !important;
    border: none !important;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
