/* ==========================================================
   OPSAI · CORPORATE TECH PREMIUM DESIGN SYSTEM
   Palette:
   - Navy Primary:       #0B1B30
   - Navy Secondary:     #10263C
   - Cool White Surface: #F5F8FB
   - Pure White:         #FFFFFF
   - Corporate Teal:     #09B8AA
   - Digital Blue:       #3F75E8
   - Dark Text Muted:    #526678
   - Light Text Muted:   #C6D4E1
   ========================================================== */

/* ---- CSS VARIABLES ---- */
:root {
    --navy-900: #0B1B30;
    --navy-800: #10263C;
    --navy-950: #071220;
    --surface-ice: #F5F8FB;
    --surface-pure: #FFFFFF;
    --teal: #09B8AA;
    --teal-hover: #07A093;
    --blue: #3F75E8;
    --txt-dark: #0B1B30;
    --txt-dark-m: #526678;
    --txt-light: #FFFFFF;
    --txt-light-m: #C6D4E1;

    /* Legacy compatibility tokens mapped to Corporate Tech Premium */
    --bg: #0B1B30;
    --bg-alt: #10263C;
    --accent-g: #09B8AA;
    --accent-b: #3F75E8;
    --txt: #FFFFFF;
    --txt-m: #C6D4E1;
    --title: #FFFFFF;
    --glass: #10263C;
    --glass-b: rgba(198, 212, 225, 0.14);
    --glass-hb: rgba(9, 184, 170, 0.45);
    --glass-hs: rgba(7, 18, 32, 0.32);
    --nav-bg: rgba(11, 27, 48, 0.96);

    --border-light: #DCE6F0;
    --border-subtle: #E6EEF6;
    --shadow-light: 0 8px 28px rgba(11, 27, 48, 0.05);
    --shadow-Light-hover: 0 14px 36px rgba(11, 27, 48, 0.09);
    --shadow-dark: 0 16px 40px rgba(5, 13, 24, 0.35);
}

/* Light theme mode via #theme-toggle preserves full corporate elegance */
[data-theme="light"] {
    --bg: #F5F8FB;
    --bg-alt: #FFFFFF;
    --txt: #0B1B30;
    --txt-m: #526678;
    --title: #0B1B30;
    --glass: #FFFFFF;
    --glass-b: #DCE6F0;
    --glass-hb: rgba(9, 184, 170, 0.45);
    --glass-hs: rgba(11, 27, 48, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.96);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

#desafio,
#motores,
#industrias,
#metodo,
#contacto {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--navy-900);
    color: var(--txt-light);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-theme="light"] body {
    background-color: var(--surface-ice);
    color: var(--txt-dark);
}

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

img {
    max-width: 100%;
    display: block;
}

/* ---- LAYOUT CONTAINER ---- */
.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ---- TYPOGRAPHY UTILITIES ---- */
.text-accent {
    color: var(--teal);
}

.text-gradient {
    color: var(--teal);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.tc {
    text-align: center;
}

.mxc {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headings (H2: 38-46px desktop, weight 700-800) */
.section-title {
    font-size: clamp(2.1rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    margin-bottom: 1.15rem;
}

/* Section Descriptions (16-18px, comfortable reading width) */
.section-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 3.5rem;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal);
    color: var(--navy-900);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(4, 11, 20, 0.25);
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    color: var(--navy-900);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(4, 11, 20, 0.35);
}

.btn-outline {
    background-color: rgba(11, 27, 48, 0.55);
    border: 1px solid rgba(198, 212, 225, 0.32);
    color: var(--txt-light);
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--navy-900);
}

[data-theme="light"] .btn-outline {
    background-color: transparent;
    border-color: var(--navy-900);
    color: var(--navy-900);
}

[data-theme="light"] .btn-outline:hover {
    background-color: var(--navy-900);
    color: var(--surface-pure);
}

.btn-large {
    padding: 1.05rem 2.4rem;
    font-size: 1.05rem;
}

.btn-with-icon {
    gap: 0.6rem;
}

/* ---- THEME TOGGLE ---- */
.btn-theme-toggle {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy-800);
    border: 1px solid rgba(198, 212, 225, 0.22);
    color: var(--txt-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(7, 18, 32, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn-theme-toggle:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-theme-toggle {
    background: var(--surface-pure);
    border-color: var(--border-light);
    color: var(--navy-900);
    box-shadow: 0 6px 20px rgba(11, 27, 48, 0.12);
}

.icon-sun {
    display: none;
}

[data-theme="light"] .icon-sun {
    display: block;
}

[data-theme="light"] .icon-moon {
    display: none;
}

/* ---- LOGO ---- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-dark {
    display: block;
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.25s ease;
}

.logo-light {
    display: none;
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.25s ease;
}

[data-theme="light"] .navbar .logo-dark {
    display: none;
}

[data-theme="light"] .navbar .logo-light {
    display: block;
}

.navbar.scrolled .logo-dark,
.navbar.scrolled .logo-light {
    height: 40px;
    max-height: 40px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: var(--txt-light);
    display: none;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 27, 48, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 212, 225, 0.1);
    padding: 0.9rem 0;
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
    background: rgba(11, 27, 48, 0.98);
    padding: 0.7rem 0;
    box-shadow: 0 8px 28px rgba(5, 13, 24, 0.28);
}

[data-theme="light"] .navbar,
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(11, 27, 48, 0.05);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--txt-light-m);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--txt-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

[data-theme="light"] .nav-links a {
    color: var(--txt-dark-m);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: var(--navy-900);
}

/* ================================================================
   SECCIÓN 1 — HERO CORPORATIVO (Fondo Azul Noche #0B1B30)
   Composición Editorial Full-Bleed + Tarjeta Flotante de Flujo Operativo
================================================================ */
.hero {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 760px;
    padding: 0;
    background-color: #081526;
    overflow: hidden;
    display: block;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-photo {
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    width: 78%;
    background-image:
        linear-gradient(90deg, #081526 0%, rgba(8, 21, 38, 0.85) 14%, rgba(8, 21, 38, 0) 34%),
        linear-gradient(180deg, #081526 0%, rgba(8, 21, 38, 0.45) 18%, rgba(8, 21, 38, 0.05) 50%, rgba(8, 21, 38, 0.25) 100%),
        url('../images/hero/hero-corporate-bg.jpg');
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.hero-curve-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Hide legacy neon orb */
.hero-glow {
    display: none !important;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 760px;
    padding: 6.2rem 2.5rem 4rem;
    display: grid;
    grid-template-columns: minmax(520px, 590px) 1fr;
    align-items: start;
    gap: 1.5rem;
}

.hero-content {
    position: relative;
    z-index: 5;
    align-self: center;
    max-width: 590px;
    padding: 1rem 0;
}

.hero-accent-line {
    width: 58px;
    height: 4px;
    background-color: var(--teal);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* H1 Desktop: 4 exact lines matching corporate layout */
.headline {
    font-size: clamp(2.5rem, 3.35vw, 3.3rem);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 1.35rem;
}

[data-theme="light"] .headline {
    color: #FFFFFF;
}

.sub-headline {
    font-size: 1.05rem;
    color: #C6D4E1;
    line-height: 1.62;
    font-weight: 400;
    margin-bottom: 2.15rem;
    max-width: 510px;
}

.sub-headline strong {
    color: #FFFFFF;
    font-weight: 600;
}

[data-theme="light"] .sub-headline {
    color: #C6D4E1;
}

.hero-cta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: nowrap;
    margin-bottom: 0;
}

.hero-cta .btn {
    padding: 0.78rem 1.35rem;
    font-size: 0.92rem;
}

.hero-cta .btn-outline {
    background-color: rgba(11, 27, 48, 0.65);
    border: 1px solid rgba(198, 212, 225, 0.35);
    color: #FFFFFF;
}

.hero-cta .btn-outline:hover {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--navy-900);
}

/* Right Column: Clean Horizontal Frosted Glass Panel */
.hero-visual {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    padding-top: 0.25rem;
}

.hero-flow-glass {
    width: 100%;
    max-width: 690px;
    background: linear-gradient(135deg, rgba(16, 38, 60, 0.76) 0%, rgba(10, 24, 42, 0.82) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(198, 212, 225, 0.22);
    border-radius: 16px;
    padding: 1.4rem 2rem;
    box-shadow: 0 20px 44px rgba(4, 11, 20, 0.42);
}

.hero-flow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0.65rem;
}

.hero-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-flow-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background-color: rgba(9, 184, 170, 0.12);
    border: 1px solid rgba(9, 184, 170, 0.32);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    flex-shrink: 0;
}

.hero-flow-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    margin-bottom: 0.28rem;
    line-height: 1.2;
}

.hero-flow-desc {
    font-size: 0.82rem;
    color: #C6D4E1;
    line-height: 1.42;
    font-weight: 400;
    margin: 0;
}

.hero-flow-arrow {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    padding: 0 0.2rem;
}

/* ================================================================
   SECCIÓN 2 — EL DESAFÍO (Fondo Blanco Frío #FFFFFF / #F5F8FB)
   Composición Corporativa B2B: Header a la izquierda, 4 Tarjetas
   con esquinas redondeadas y Banner inferior de valor sistémico.
   Optimizado para caber al 100% en la pantalla (Single Screen Viewport)
================================================================ */
.section-challenge {
    position: relative;
    background-color: #FFFFFF;
    color: var(--txt-dark);
    padding: 1.5rem 0 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    overflow: hidden;
}

@media (min-width: 1025px) {
    .section-challenge {
        min-height: calc(100vh - 78px);
        padding: 1.5rem 0 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

[data-theme="light"] .section-challenge {
    background-color: #FFFFFF;
}

.desafio-bg-waves {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.desafio-waves-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-challenge .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1520px;
    width: 96%;
    margin: 0 auto;
}

.desafio-header {
    width: 100%;
    text-align: left;
    margin-bottom: 1.15rem;
}

.desafio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.desafio-eyebrow-text {
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.desafio-eyebrow-line {
    display: inline-block;
    width: 38px;
    height: 3px;
    background-color: var(--teal);
    border-radius: 2px;
}

.desafio-title {
    font-size: clamp(2.1rem, 2.9vw, 2.85rem);
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 0.45rem 0;
}

.desafio-title .text-teal {
    color: var(--teal);
}

.desafio-desc {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #526678;
    max-width: 880px;
    margin: 0;
}

/* 4 Cards Grid */
.desafio-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    width: 100%;
    margin-bottom: 1.15rem;
}

.desafio-card-pro {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 1.35rem 1.45rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(11, 27, 48, 0.03), 0 1px 3px rgba(11, 27, 48, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 175px;
}

.desafio-card-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(11, 27, 48, 0.08);
    border-color: rgba(9, 184, 170, 0.45);
}

.desafio-card-icon {
    color: var(--teal);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
}

.desafio-card-icon svg {
    width: 30px;
    height: 30px;
}

.desafio-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.28;
    letter-spacing: -0.015em;
    margin: 0 0 0.35rem 0;
}

.desafio-card-desc {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #526678;
    margin: 0;
}

/* Executive Bottom Banner Callout */
.desafio-banner-callout {
    width: 100%;
    background: rgba(9, 184, 170, 0.06);
    border: 1px solid rgba(9, 184, 170, 0.28);
    border-radius: 14px;
    padding: 0.95rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    box-shadow: 0 4px 18px rgba(9, 184, 170, 0.06);
}

.desafio-banner-bar {
    width: 4px;
    height: 24px;
    background-color: var(--teal);
    border-radius: 2px;
    flex-shrink: 0;
}

.desafio-banner-text {
    font-size: 1.12rem;
    line-height: 1.45;
    color: #0B1B30;
    margin: 0;
}

.desafio-banner-lead {
    font-weight: 800;
    color: #0B1B30;
}

.desafio-banner-text .text-teal {
    color: var(--teal);
    font-weight: 800;
}

/* ================================================================
   SECCIÓN 2 — SOLUCIONES OPSAI (#motores)
   Grid 2x2 · Pantallazos de Software Real OpsAI Platform
================================================================ */
.section-pilares {
    position: relative;
    background-color: #FFFFFF;
    color: var(--txt-dark);
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    overflow: hidden;
}

@media (min-width: 1025px) {
    .section-pilares {
        min-height: calc(100vh - 78px);
        padding: 0.65rem 0 0.85rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

[data-theme="light"] .section-pilares {
    background-color: #FFFFFF;
}

.section-pilares .container {
    max-width: 1540px;
    width: 96%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sol-header {
    text-align: left;
    margin-bottom: 0.75rem;
    width: 100%;
}

.sol-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.sol-eyebrow-bar {
    width: 4px;
    height: 16px;
    background-color: var(--teal);
    border-radius: 2px;
    flex-shrink: 0;
}

.sol-eyebrow-text {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: var(--teal);
    text-transform: uppercase;
}

.sol-title {
    font-size: clamp(1.85rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 0.25rem 0;
}

.sol-desc {
    font-size: 1rem;
    line-height: 1.4;
    color: #526678;
    margin: 0;
}

/* 2x2 Grid of Large Corporate Cards */
.sol-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    width: 100%;
}

.sol-card {
    background: #081526;
    border: 1px solid rgba(198, 212, 225, 0.12);
    border-radius: 16px;
    padding: 0.85rem 1.15rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: center;
    box-shadow: 0 10px 28px rgba(5, 13, 24, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
    min-height: 220px;
}

.sol-card:hover {
    transform: translateY(-3px);
    border-color: rgba(9, 184, 170, 0.45);
    box-shadow: 0 16px 36px rgba(5, 13, 24, 0.35);
}

.sol-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.1rem 0;
    min-width: 0;
}

.sol-icon-box {
    width: 38px;
    height: 38px;
    background: rgba(16, 38, 60, 0.85);
    border: 1px solid rgba(198, 212, 225, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 0.45rem;
    flex-shrink: 0;
}

.sol-icon-box i,
.sol-icon-box svg {
    width: 20px;
    height: 20px;
}

.sol-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.22;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.015em;
}

.sol-card-desc {
    font-size: 0.95rem;
    line-height: 1.48;
    color: #C6D4E1;
    margin: 0;
}

/* Software Preview Window (Real System Screenshots) */
.sol-preview-container {
    background: #081526;
    border: 1px solid rgba(198, 212, 225, 0.16);
    border-radius: 12px;
    overflow: hidden;
    height: 205px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    min-width: 0;
    position: relative;
    display: flex;
}

.sol-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    transition: transform 0.35s ease;
}

.sol-card:hover .sol-screen-img {
    transform: scale(1.02);
}

/* ================================================================
   SECCIÓN 3 — EXPERIENCIA IMPLEMENTADA (Casos Reales)
   Fondo Blanco Puro #FFFFFF, alternancia rítmica corporativa
================================================================ */
.section-casos {
    background-color: var(--surface-pure);
    color: var(--txt-dark);
    padding: 6.75rem 0;
    border-top: 1px solid var(--border-light);
}

[data-theme="light"] .section-casos {
    background-color: var(--surface-pure);
}

.section-casos .section-title {
    color: var(--navy-900);
}

.section-casos .section-desc {
    color: var(--txt-dark-m);
    margin-bottom: 3.5rem;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.caso-card {
    background: var(--surface-pure);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--navy-900);
    border-radius: 14px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.caso-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-Light-hover);
    border-top-color: var(--teal);
}

.caso-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    background: #EEF5FA;
    border: 1px solid rgba(63, 117, 232, 0.2);
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.caso-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.28;
    letter-spacing: -0.015em;
    margin: 0;
}

.caso-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.caso-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.caso-text {
    font-size: 0.95rem;
    color: var(--txt-dark-m);
    line-height: 1.6;
    margin: 0;
}

.caso-impact {
    margin-top: auto;
    padding: 1.1rem 1.25rem;
    background: #F2FAF9;
    border: 1px solid rgba(9, 184, 170, 0.25);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.caso-impact-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #068A7F;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.caso-impact-text {
    font-size: 0.92rem;
    color: var(--navy-900);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* ================================================================
   SECCIÓN 4 — INDUSTRIAS (Fondo Blanco Frío #F5F8FB)
   Matriz corporativa de sectores (Enterprise Sector Ledger)
================================================================ */
.solutions-section {
    background-color: var(--surface-ice);
    color: var(--txt-dark);
    padding: 6.75rem 0;
    border-top: 1px solid var(--border-light);
}

.solutions-section .section-title {
    color: var(--navy-900);
}

.solutions-section .section-title .text-gradient {
    color: var(--teal);
}

.solutions-section .section-desc {
    color: var(--txt-dark-m);
    margin-bottom: 3.5rem;
}

/* ====================================================
   SECCIÓN 4 — INDUSTRIAS (Grid 4x2 Corporativo B2B)
===================================================== */
.section-industrias {
    background-color: #FFFFFF;
    color: #0B1B30;
    padding: 1.25rem 0 1.25rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(198, 212, 225, 0.4);
}

@media (min-width: 1025px) {
    .section-industrias {
        min-height: calc(100vh - 78px);
        padding: 1.25rem 0 1.25rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.section-industrias .container {
    position: relative;
    z-index: 2;
    max-width: 1520px;
    width: 96%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Background waves for Industrias */
.ind-bg-waves {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ind-waves-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ind-header {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 0.85rem auto;
}

.ind-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.ind-eyebrow-line {
    width: 26px;
    height: 3px;
    background: #09B8AA;
    border-radius: 2px;
}

.ind-eyebrow-text {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: #09B8AA;
    text-transform: uppercase;
}

.ind-title {
    font-size: clamp(1.85rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 0.25rem 0;
}

.ind-title .text-teal {
    color: #09B8AA;
}

.text-nowrap {
    white-space: nowrap;
}

.ind-desc {
    font-size: 0.98rem;
    line-height: 1.4;
    color: #526678;
    margin: 0 auto;
    max-width: 880px;
}

/* 4x2 Grid of Industry Cards */
.ind-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.85rem;
}

.ind-card {
    background: #FFFFFF;
    border: 1px solid rgba(198, 212, 225, 0.55);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(11, 27, 48, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    min-width: 0;
}

.ind-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(11, 27, 48, 0.08);
    border-color: rgba(9, 184, 170, 0.45);
}

.ind-card-img-wrap {
    width: 100%;
    height: 82px;
    overflow: hidden;
    background: #0B1B30;
    position: relative;
}

.ind-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ind-card:hover .ind-card-img {
    transform: scale(1.04);
}

.ind-card-body {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: #FFFFFF;
    flex: 1;
    min-width: 0;
}

.ind-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(9, 184, 170, 0.09);
    border: 1px solid rgba(9, 184, 170, 0.18);
    color: #09B8AA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ind-icon-box i,
.ind-icon-box svg {
    width: 18px;
    height: 18px;
}

.ind-card:hover .ind-icon-box {
    background: rgba(9, 184, 170, 0.16);
    transform: scale(1.04);
}

.ind-card-info {
    flex: 1;
    min-width: 0;
}

.ind-card-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.25;
    margin: 0 0 0.15rem 0;
    letter-spacing: -0.01em;
}

.ind-card-text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #526678;
    margin: 0;
}

.ind-arrow {
    color: #09B8AA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 0.2rem;
    transition: transform 0.2s ease;
}

.ind-arrow i,
.ind-arrow svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.ind-card:hover .ind-arrow {
    transform: translateX(3px);
}

/* Bottom Trust / Metric Bar */
.ind-trust-bar {
    background: #FFFFFF;
    border: 1px solid rgba(198, 212, 225, 0.55);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(11, 27, 48, 0.03);
    padding: 0.65rem 1.75rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

.ind-trust-col {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    justify-content: center;
}

.ind-trust-icon {
    width: 32px;
    height: 32px;
    color: #09B8AA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ind-trust-icon i,
.ind-trust-icon svg {
    width: 24px;
    height: 24px;
}

.ind-trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ind-trust-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0B1B30;
    line-height: 1.2;
}

.ind-trust-sub {
    font-size: 0.84rem;
    color: #526678;
    line-height: 1.3;
}

.ind-trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(198, 212, 225, 0.6);
}

/* ================================================================
   SECCIÓN 5 — EL MÉTODO (FONDO OSCURO CORPORATIVO #081526)
   Composición editorial B2B: Manifiesto izquierdo + Proceso derecho
================================================================ */
.section-metodo {
    background-color: #081526;
    color: #FFFFFF;
    padding: 4.5rem 0;
    border-top: 1px solid rgba(198, 212, 225, 0.1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .section-metodo {
        min-height: calc(100vh - 78px);
        padding: 4rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

[data-theme="light"] .section-metodo {
    background-color: #081526;
    color: #FFFFFF;
}

.section-metodo .container {
    max-width: 1480px;
    width: 94%;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.metodo-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 3.5rem;
    width: 100%;
    align-items: stretch;
}

.metodo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.metodo-eyebrow-line {
    width: 32px;
    height: 3px;
    background: #09B8AA;
    border-radius: 2px;
}

.metodo-eyebrow-text {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #09B8AA;
    text-transform: uppercase;
}

.metodo-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metodo-left .section-title {
    color: #FFFFFF;
    text-align: left;
    font-size: clamp(2.1rem, 2.7vw, 2.65rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.metodo-left .section-title .text-teal,
.metodo-left .section-title .text-gradient {
    color: #09B8AA;
}

/* Left Column: Dark Glass Corporate Cards (Stacked vertically for maximum readability) */
.diff-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    border-top: none;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.4rem;
    background: rgba(16, 38, 60, 0.65);
    border: 1px solid rgba(198, 212, 225, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(5, 13, 24, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.diff-item:hover {
    border-color: rgba(9, 184, 170, 0.45);
    background: rgba(16, 38, 60, 0.88);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(5, 13, 24, 0.35);
}

.diff-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(9, 184, 170, 0.12);
    border: 1px solid rgba(9, 184, 170, 0.28);
    color: #09B8AA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-icon i,
.diff-icon svg {
    width: 22px;
    height: 22px;
}

.diff-body h4 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.diff-body p {
    font-size: 0.96rem;
    color: #C6D4E1;
    line-height: 1.52;
    margin: 0;
}

/* Right Column: Dark Glass Process Architecture */
.metodo-right {
    background: #0A192C;
    border: 1px solid rgba(198, 212, 225, 0.14);
    border-radius: 18px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 16px 48px rgba(5, 13, 24, 0.38);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metodo-right .section-title {
    color: #FFFFFF;
    text-align: left;
    font-size: clamp(2rem, 2.5vw, 2.45rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
}

.metodo-right .section-title .text-teal,
.metodo-right .section-title .text-accent {
    color: #09B8AA;
}

.path-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.path-line {
    position: absolute;
    left: 21px;
    top: 25px;
    bottom: 45px;
    width: 2px;
    background: linear-gradient(to bottom, #3F75E8, #09B8AA);
    opacity: 0.6;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    position: relative;
    z-index: 1;
}

.path-num {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #081526;
    border: 2px solid #3F75E8;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #0A192C;
    margin-top: 0.2rem;
    font-variant-numeric: tabular-nums;
}

.path-num-final {
    background: #09B8AA;
    border-color: #09B8AA;
    color: #081526;
}

.path-card {
    background: #0D2036;
    border: 1px solid rgba(198, 212, 225, 0.12);
    border-left: 3px solid #3F75E8;
    border-radius: 12px;
    padding: 1.15rem 1.45rem;
    flex: 1;
    box-shadow: 0 4px 16px rgba(5, 13, 24, 0.25);
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.path-step:last-child .path-card {
    border-left-color: #09B8AA;
}

.path-step:hover .path-card {
    transform: translateX(4px);
    border-color: rgba(9, 184, 170, 0.4);
    background: #10263C;
}

.path-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.path-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(63, 117, 232, 0.18);
    color: #3F75E8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.path-icon.pi-green {
    background: rgba(9, 184, 170, 0.18);
    color: #09B8AA;
}

.path-header h3 {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin: 0;
}

.path-card p {
    font-size: 0.96rem;
    color: #C6D4E1;
    line-height: 1.52;
    margin: 0;
}

/* ================================================================
   SECCIÓN 6 — CIERRE COMERCIAL Y CONTACTO (Fondo Blanco Puro #FFFFFF)
   Layout 2 Columnas · Visual Arquitectónico Skyscraper Twilight
================================================================ */
.section-cta-enterprise {
    background-color: #FFFFFF;
    color: var(--txt-dark);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
}

@media (min-width: 1025px) {
    .section-cta-enterprise {
        min-height: calc(100vh - 78px - 95px);
        padding: 5rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

[data-theme="light"] .section-cta-enterprise {
    background-color: #FFFFFF;
}

.cta-container {
    max-width: 1480px;
    width: 94%;
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5rem;
    align-items: center;
    position: relative;
    width: 100%;
}

.cta-col-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 1.5rem;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cta-eyebrow-bar {
    width: 32px;
    height: 3px;
    background-color: var(--teal);
    border-radius: 2px;
    flex-shrink: 0;
}

.cta-eyebrow-text {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0B1B30;
    text-transform: uppercase;
}

.cta-teal {
    color: var(--teal);
}

.cta-title {
    font-size: clamp(2.3rem, 3.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    color: #0B1B30;
    margin: 0 0 1rem 0;
}

.cta-title-highlight {
    color: var(--teal);
}

.cta-desc {
    font-size: 1.15rem;
    line-height: 1.62;
    color: #475569;
    max-width: 640px;
    margin: 0 0 1.85rem 0;
}

.cta-btn-wrap {
    margin-bottom: 2rem;
}

.cta-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--teal);
    color: #06111E;
    font-size: 1.08rem;
    font-weight: 700;
    padding: 1.05rem 2.2rem;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(9, 184, 170, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cta-btn-whatsapp:hover {
    transform: translateY(-2px);
    background-color: #08a69a;
    box-shadow: 0 10px 28px rgba(9, 184, 170, 0.42);
    color: #06111E;
}

.cta-btn-whatsapp svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

/* 3 Value Pillars Row */
.cta-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 820px;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.cta-pillar-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-pillar-icon-box {
    width: 36px;
    height: 36px;
    color: var(--teal);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cta-pillar-icon-box svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.cta-pillar-h {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0B1B30;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.cta-pillar-p {
    font-size: 0.92rem;
    line-height: 1.48;
    color: #526678;
    margin: 0;
}

/* Right Column: Corporate Visual (Enlarged and well balanced) */
.cta-col-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.cta-visual-frame {
    width: 100%;
    max-width: 540px;
    display: flex;
    justify-content: center;
    position: relative;
}

.cta-visual-image {
    width: 100%;
    height: auto;
    max-height: 530px;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(11, 27, 48, 0.12));
    transition: transform 0.3s ease;
}

.cta-visual-frame:hover .cta-visual-image {
    transform: translateY(-4px);
}

/* ================================================================
   FOOTER (Dark Corporate Navy #0B1B30 — Matching Header Navbar)
================================================================ */
.site-footer {
    background-color: #0B1B30;
    border-top: 1px solid rgba(198, 212, 225, 0.12);
    color: #C6D4E1;
    padding: 2.25rem 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1480px;
    width: 94%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.site-footer .footer-bl {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-footer .footer-logo-dark {
    display: block;
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.25s ease;
}

.site-footer .footer-logo-light {
    display: none;
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.25s ease;
}

.site-footer .footer-bl p {
    margin: 0;
    font-size: 0.92rem;
    color: #94A3B8;
}

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-footer .footer-socials a {
    color: #C6D4E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(198, 212, 225, 0.18);
    background: rgba(16, 38, 60, 0.6);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-socials a:hover {
    color: #09B8AA;
    border-color: #09B8AA;
    background: rgba(9, 184, 170, 0.14);
    transform: translateY(-2px);
}

/* Light Theme toggle support for footer */
[data-theme="light"] .site-footer {
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border-light);
    color: #526678;
}

[data-theme="light"] .site-footer .footer-logo-dark {
    display: none;
}

[data-theme="light"] .site-footer .footer-logo-light {
    display: block;
}

[data-theme="light"] .site-footer .footer-bl p {
    color: #64748B;
}

[data-theme="light"] .site-footer .footer-socials a {
    color: #526678;
    border-color: rgba(203, 213, 225, 0.8);
    background: #F8FAFC;
}

[data-theme="light"] .site-footer .footer-socials a:hover {
    color: #09B8AA;
    border-color: #09B8AA;
    background: rgba(9, 184, 170, 0.1);
}

/* ================================================================
   ANIMATIONS (Discrete & Executive)
================================================================ */
@keyframes pulse-flow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes blink {

    0%,
    80%,
    100% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   RESPONSIVE DESIGN (1024px, 768px, 390px)
================================================================ */
@media (max-width: 1024px) {

    .container,
    .nav-container {
        padding: 0 2rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-bg-photo {
        width: 100%;
        opacity: 0.35;
    }

    .hero-curve-mask {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 7.5rem 2rem 4.5rem;
        gap: 2.75rem;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 680px;
        margin: 0 auto;
    }

    .sub-headline {
        max-width: 620px;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
        padding-top: 0;
    }

    .hero-flow-glass {
        max-width: 680px;
    }

    .desafio-cards,
    .desafio-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .sol-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pilares-grid,
    .casos-grid {
        grid-template-columns: 1fr;
    }

    .ind-grid-4x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .metodo-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo-dark,
    .logo-light {
        height: 40px;
        max-height: 40px;
    }

    .footer-logo-dark,
    .footer-logo-light {
        height: 40px;
        max-height: 40px;
    }

    .container,
    .nav-container {
        padding: 0 1.25rem;
    }

    .hero-inner {
        padding: 6.5rem 1.25rem 4rem;
        gap: 2.5rem;
    }

    .headline {
        font-size: 2.35rem;
    }

    .hero-flow-glass {
        padding: 1.5rem 1.25rem;
    }

    .hero-flow-steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-flow-arrow {
        height: 28px;
        transform: rotate(90deg);
    }

    .section-title {
        font-size: 1.95rem;
    }

    .section-desc {
        font-size: 1.02rem;
        margin-bottom: 2.5rem;
    }

    .desafio-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .desafio-banner-callout {
        padding: 1rem 1.25rem;
        align-items: flex-start;
    }

    .desafio-banner-bar {
        margin-top: 3px;
    }

    .section-challenge,
    .section-pilares,
    .section-casos,
    .solutions-section,
    .section-metodo {
        padding: 4.5rem 0;
    }

    .sol-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .sc-chat-layout {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .caso-card {
        padding: 1.75rem 1.35rem;
    }

    .pilar-card {
        padding: 1.5rem;
    }

    .pilar-caps {
        grid-template-columns: 1fr;
    }

    .section-industrias {
        padding: 4rem 0 3.5rem 0;
    }

    .ind-grid-4x2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ind-trust-bar {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.35rem 1.25rem;
    }

    .ind-trust-divider {
        display: none;
    }

    .ind-trust-col {
        justify-content: flex-start;
    }

    .metodo-right {
        padding: 1.5rem;
    }

    .section-cta-enterprise {
        padding: 3.5rem 1rem 2rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .cta-col-text {
        padding-right: 0;
    }

    .cta-pillars-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cta-col-visual {
        justify-content: center;
    }

    .cta-visual-frame {
        max-width: 380px;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .site-footer .footer-bl {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .site-footer .footer-logo-dark,
    .site-footer .footer-logo-light {
        height: 42px;
        max-height: 42px;
    }

    .site-footer .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .container,
    .nav-container {
        padding: 0 1rem;
    }

    .hero-inner {
        padding: 6rem 1rem 3.5rem;
    }

    .headline {
        font-size: 2.1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn,
    .btn-large {
        width: 100%;
    }

    .hero-flow-glass {
        width: 100%;
        max-width: 100%;
        padding: 1.35rem 1rem;
    }

    /* Stack OCR demo cleanly on 390px mobile to prevent horizontal overflow */
    .ocr-demo {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .ocr-arrow {
        flex-direction: row;
        justify-content: center;
    }

    .ocr-erp {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.65rem 0.85rem;
    }

    .chat-header {
        flex-wrap: wrap;
    }

    .chat-channels {
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .path-line {
        display: none;
    }

    .path-step {
        flex-direction: column;
        gap: 0.6rem;
    }

    .path-num {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}