/* ===================================================
   ITERIA — Corporate Identity System
   Basado en Logo 2: Azul marino #0D2B6B
   Tipografía del logo: Poppins SemiBold (coincide con letterforms del wordmark)
   Tipografía de página: Inter (formal, legible, corporativa)
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* ── Core brand colors (del Logo 2) ── */
    --navy:         #0D2B6B;   /* color exacto del fondo del logo */
    --navy-deep:    #091E4A;   /* más oscuro para variación */
    --navy-mid:     #122F72;
    --navy-light:   #1A3B82;
    --navy-subtle:  #1E4494;

    /* ── Surface colors ── */
    --surface-0:    #060F22;   /* fondo base de la página */
    --surface-1:    #0A1628;
    --surface-2:    #0E1F38;
    --surface-3:    #132548;
    --surface-card: #0F1D35;

    /* ── Borders ── */
    --border:       rgba(255,255,255,0.08);
    --border-mid:   rgba(255,255,255,0.12);
    --border-strong:rgba(255,255,255,0.18);

    /* ── Text ── */
    --text-white:   #FFFFFF;
    --text-1:       #E8EEF8;
    --text-2:       #9BAEC8;
    --text-3:       #5B77A0;
    --text-4:       #344D70;

    /* ── Accent / cian del logo ── */
    --cyan:         #00AEEF;
    --cyan-light:   #33BFFF;
    --cyan-bg:      rgba(0,174,239,0.08);
    --cyan-border:  rgba(0,174,239,0.2);

    /* ── Division colors (de la foto de referencia) ── */
    --games:        #7B2FBE;
    --games-bg:     rgba(123,47,190,0.1);
    --games-border: rgba(123,47,190,0.3);

    --business:     #047857;
    --business-bg:  rgba(4,120,87,0.1);
    --business-border: rgba(4,120,87,0.3);

    --labs:         #B45309;
    --labs-bg:      rgba(180,83,9,0.1);
    --labs-border:  rgba(180,83,9,0.3);

    --system:        #0369A1;
    --system-bg:     rgba(3,105,161,0.1);
    --system-border: rgba(3,105,161,0.3);

    /* ── Shape & motion ── */
    --radius-2xl: 28px;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius:     10px;
    --radius-sm:  8px;
    --radius-xs:  5px;
    --radius-pill: 999px;

    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:    cubic-bezier(0.4, 0, 1, 1);
    --ease-base:  cubic-bezier(0.4, 0, 0.2, 1);

    --dur-fast:   180ms;
    --dur-base:   300ms;
    --dur-slow:   500ms;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.2);
    --shadow-lg:   0 16px 48px rgba(0,0,0,0.5), 0 6px 16px rgba(0,0,0,0.3);
    --shadow-blue: 0 8px 32px rgba(13,43,107,0.6);

    /* ── Glass / premium surfaces ── */
    --glass-border: rgba(255,255,255,0.10);
    --glass-border-hover: rgba(255,255,255,0.18);
    --card-gradient: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 45%, rgba(255,255,255,0) 100%);
    --grad-primary: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 60%, var(--navy-deep) 100%);
    --grad-cyan-text: linear-gradient(135deg, var(--cyan-light), var(--cyan));
}

html { scroll-behavior: smooth; font-size: 16px; }

/* ─────────────────────────────────────────────
   SCROLL PROGRESS BAR
───────────────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--navy-subtle), var(--cyan));
    box-shadow: 0 0 8px rgba(0,174,239,0.5);
    z-index: 1100;
    transition: width 0.1s linear;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--surface-0);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grano/textura sutil global: rompe la planitud del fondo digital */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 2000; pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.2px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 36px; }

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
.navbar {
    position: fixed; top: 16px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 1180px;
    z-index: 1000;
    height: 64px;
    border-radius: var(--radius-pill);
    background: rgba(9,20,42,0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    transition: border-color var(--dur-base) var(--ease-base),
                background var(--dur-base) var(--ease-base),
                box-shadow var(--dur-base) var(--ease-base),
                top var(--dur-base) var(--ease-base);
}
.navbar.scrolled {
    top: 10px;
    background: rgba(7,16,34,0.78);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.navbar .container {
    max-width: none;
    padding: 0 10px 0 22px;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo en navbar */
.nav-logo {
    display: flex; align-items: center;
    transition: opacity var(--dur-fast) var(--ease-base);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo-img {
    height: 44px; width: auto; object-fit: contain;
    max-width: 160px;
}

.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a {
    display: block; padding: 8px 15px;
    font-size: 0.78rem; font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--dur-fast) var(--ease-base),
                background var(--dur-fast) var(--ease-base);
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: 4px; left: 15px; right: 15px;
    height: 2px; border-radius: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-white); }

.nav-cta {
    padding: 10px 22px;
    background: var(--grad-primary);
    border: 1px solid var(--border-mid);
    color: var(--text-white);
    font-size: 0.76rem; font-weight: 600;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: none;
    position: relative; overflow: hidden;
    transition: border-color var(--dur-fast) var(--ease-base),
                transform var(--dur-fast) var(--ease-base),
                box-shadow var(--dur-fast) var(--ease-base);
}
.nav-cta:hover {
    border-color: var(--cyan-border);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,174,239,0.25);
}

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border: none;
    background: none;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-1); border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-out),
                opacity var(--dur-base) var(--ease-base);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 80px 0 60px;
    position: relative; overflow: hidden;
}

/* Fondo azul marino del logo */
.hero-bg-layer {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        var(--navy-deep) 0%,
        var(--surface-0) 55%,
        var(--surface-1) 100%
    );
    z-index: 0;
}

/* Círculo decorativo sutil */
.hero-orb {
    position: absolute;
    width: 600px; height: 600px;
    right: -80px; top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(13,43,107,0.6) 0%,
        rgba(0,174,239,0.05) 50%,
        transparent 70%
    );
    z-index: 0;
    transition: transform 0.25s var(--ease-out);
    will-change: transform;
}
.hero-orb-2 {
    position: absolute;
    width: 380px; height: 380px;
    left: -60px; bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0,174,239,0.10) 0%,
        rgba(123,47,190,0.05) 55%,
        transparent 75%
    );
    z-index: 0;
    filter: blur(10px);
}

/* Malla de puntos/grid sutil de fondo, con máscara radial para que se difumine */
.hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 42%, black 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 65% 55% at 50% 42%, black 30%, transparent 78%);
    animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 46px 46px, 46px 46px; }
}

#hero3d {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 1.2s var(--ease-out);
}
body.webgl-ready #hero3d { opacity: 1; }
body.webgl-ready .hero .cube-3d,
body.webgl-ready .hero .float-shape { display: none; }

.hero .container { position: relative; z-index: 1; width: 100%; }

.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px 7px 12px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, currentColor 10%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    font-size: 0.71rem; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--cyan-light); margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    display: block; width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}

.hero h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.6rem);
    font-weight: 800; margin-bottom: 24px;
    line-height: 1.06; letter-spacing: -1.5px;
}
.hero h1 .highlight {
    background: linear-gradient(100deg, var(--cyan-light) 10%, var(--cyan) 45%, #7B2FBE 110%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    position: relative; display: inline-block;
}

/* Reveal de texto por líneas (clip + rise), sincronizado con .hero-content.visible */
.h1-line { display: block; overflow: hidden; }
.h1-line-inner { display: block; transform: translateY(112%); }
.hero-content.visible .h1-line-inner {
    animation: line-rise 0.85s var(--ease-out) forwards;
}
.hero-content.visible .h1-line:nth-child(1) .h1-line-inner { animation-delay: 0.08s; }
.hero-content.visible .h1-line:nth-child(2) .h1-line-inner { animation-delay: 0.26s; }
@keyframes line-rise { to { transform: translateY(0); } }

.hero-desc {
    font-size: 1.05rem; color: var(--text-2);
    max-width: 500px; margin-bottom: 40px;
    line-height: 1.8; font-weight: 400;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* Divisiones mini-pills en el hero */
.hero-divisions {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
}
.hero-div-label {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-4); margin-right: 6px;
}
.hero-pill {
    padding: 5px 14px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700;
    border: 1px solid; letter-spacing: 0.3px;
    transition: transform var(--dur-fast) var(--ease-out);
}
.hero-pill:hover { transform: translateY(-1px); }
.hero-pill.games  { color: #A78BFA; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.hero-pill.biz    { color: #34D399; border-color: rgba(52,211,153,0.3);  background: rgba(52,211,153,0.08); }
.hero-pill.labs   { color: #FCD34D; border-color: rgba(252,211,77,0.3);  background: rgba(252,211,77,0.08); }
.hero-pill.system { color: #38BDF8; border-color: rgba(56,189,248,0.3);  background: rgba(56,189,248,0.08); }

/* Imagen hero */
.hero-visual { position: relative; }
.hero-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden; position: relative;
    border: 1px solid var(--border-mid);
    box-shadow: var(--shadow-lg), var(--shadow-blue);
    transition: transform 0.25s var(--ease-out), box-shadow var(--dur-slow) var(--ease-base);
    will-change: transform;
    transform-style: preserve-3d;
}
.hero-img-wrap img {
    width: 100%; aspect-ratio: 4/3;
    object-fit: cover; display: block;
    animation: ken-burns 18s ease-in-out infinite;
    transition: transform var(--dur-slow) var(--ease-out);
}
.hero-img-wrap:hover img { animation: none; transform: scale(1.06); }

@keyframes ken-burns {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.09) translate(-1.2%, -1.2%); }
    100% { transform: scale(1) translate(0, 0); }
}
@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ─── Reveal cinemático de imágenes: cortina de marca + tinte permanente + destello ─── */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::before {
    content: ''; position: absolute; inset: 0; z-index: 4;
    background: linear-gradient(100deg, var(--navy) 0%, var(--cyan) 100%);
    transform-origin: right; transform: scaleX(1);
    transition: transform 1.05s var(--ease-out);
}
.img-reveal.visible::before { transform: scaleX(0); }
.img-reveal.reverse::before { transform-origin: left; }

.img-reveal::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(13,43,107,0.45) 0%, transparent 55%);
}

.img-glare {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.16) 50%, transparent 58%);
    transform: translateX(-130%);
    transition: transform 0.9s var(--ease-out);
}
.img-reveal:hover .img-glare { transform: translateX(130%); }

/* Badge flotante sobre imagen */
.hero-badge-card {
    position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2;
    background: rgba(6,15,34,0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex; align-items: center; gap: 14px;
}
.badge-live {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--cyan-bg);
    border: 1px solid var(--cyan-border);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.badge-live svg { width: 16px; height: 16px; color: var(--cyan); }
.badge-info strong {
    display: block; font-size: 0.82rem;
    font-weight: 700; color: var(--text-white); margin-bottom: 2px;
}
.badge-info span { font-size: 0.72rem; color: var(--text-3); }
.badge-dot-live {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10B981; margin-left: auto; flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
    animation: pulse-live 2.5s ease infinite;
}
@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0.05); }
}

/* Insignia flotante con el logo real de ITERIA */
.hero-brand-badge {
    position: absolute; top: -22px; right: 28px; z-index: 5;
    width: 76px; height: 76px; border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--glass-border-hover);
    box-shadow: 0 10px 32px rgba(0,174,239,0.32), var(--shadow-lg);
    background: var(--surface-0);
    animation: badge-float 5.5s ease-in-out infinite;
}
.hero-brand-badge img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 32%;
}

/* Stat cards al lado de la imagen */
.hero-stats-side {
    position: absolute; right: -80px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px;
}
.hstat {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px 20px; min-width: 120px;
    text-align: center;
    transition: border-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out);
}
.hstat:hover { border-color: var(--glass-border-hover); transform: translateX(-4px); }
.hstat-num {
    font-family: 'Nunito', sans-serif;
    font-size: 1.9rem; font-weight: 900;
    color: var(--cyan); line-height: 1;
    margin-bottom: 4px;
}
.hstat-label {
    font-size: 0.67rem; font-weight: 700;
    color: var(--text-3); letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   BOTONES
───────────────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: var(--radius-pill);
    background: var(--grad-primary);
    color: var(--text-white); font-size: 0.88rem; font-weight: 600;
    border: 1px solid var(--border-mid);
    position: relative; overflow: hidden;
    transition: border-color var(--dur-fast) var(--ease-base),
                transform var(--dur-fast) var(--ease-base),
                box-shadow var(--dur-fast) var(--ease-base);
}
.btn-primary:hover {
    border-color: var(--cyan-border);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,174,239,0.28), 0 8px 24px rgba(13,43,107,0.5);
}
.btn-primary svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-out); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.03);
    color: var(--text-2); font-size: 0.88rem; font-weight: 600;
    border: 1px solid var(--glass-border);
    position: relative; overflow: hidden;
    transition: color var(--dur-fast) var(--ease-base),
                border-color var(--dur-fast) var(--ease-base),
                background var(--dur-fast) var(--ease-base);
}
.btn-ghost:hover {
    color: var(--text-white);
    border-color: var(--glass-border-hover);
    background: rgba(255,255,255,0.06);
}

/* ─────────────────────────────────────────────
   SECCIONES GENERALES
───────────────────────────────────────────── */
.section {
    padding: 100px 0;
    position: relative;
    background:
        radial-gradient(ellipse 900px 520px at 12% 0%, rgba(0,174,239,0.055), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(123,47,190,0.04), transparent 62%),
        var(--surface-0);
}
.section-alt {
    background:
        radial-gradient(ellipse 800px 520px at 92% 8%, rgba(52,211,153,0.045), transparent 60%),
        radial-gradient(ellipse 650px 480px at 4% 95%, rgba(0,174,239,0.05), transparent 62%),
        var(--surface-1);
}

/* Divisiones: resplandor ambiental con los tres colores de marca, alineado a las tarjetas */
#divisiones.section {
    background:
        radial-gradient(ellipse 520px 420px at 14% 65%, rgba(123,47,190,0.07), transparent 60%),
        radial-gradient(ellipse 520px 420px at 50% 65%, rgba(4,120,87,0.06), transparent 60%),
        radial-gradient(ellipse 520px 420px at 86% 65%, rgba(180,83,9,0.06), transparent 60%),
        var(--surface-0);
}

.section-head { margin-bottom: 60px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-desc { margin: 0 auto; }

.overline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, currentColor 10%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--cyan-light); margin-bottom: 20px;
}
.overline::before {
    content: ''; display: block;
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 700; margin-bottom: 14px;
    letter-spacing: -0.6px;
}
.section-desc {
    font-size: 0.97rem; color: var(--text-2);
    max-width: 560px; line-height: 1.8;
}

/* ─────────────────────────────────────────────
   ABOUT / QUIÉNES SOMOS
───────────────────────────────────────────── */
.about-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl); overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--dur-slow) var(--ease-base);
}
.about-img-wrap:hover { box-shadow: var(--shadow-lg), var(--shadow-blue); }
.about-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(1.15) hue-rotate(6deg);
    animation: ken-burns-alt 22s ease-in-out infinite;
}
@keyframes ken-burns-alt {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.07) translate(1.2%, 1%); }
    100% { transform: scale(1) translate(0, 0); }
}

.about-body .overline { display: inline-flex; }
.about-body h2 { font-size: 1.9rem; margin-bottom: 18px; font-weight: 700; }
.about-body p {
    color: var(--text-2); font-size: 0.95rem;
    margin-bottom: 16px; line-height: 1.8;
}

/* Métricas */
.metric-row {
    display: grid; grid-template-columns: repeat(3,1fr);
    margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border);
}
.metric {
    padding: 22px 16px; text-align: center;
    background: var(--surface-2);
    border-right: 1px solid var(--border);
    transition: background var(--dur-base) var(--ease-base);
}
.metric:last-child { border-right: none; }
.metric:hover { background: var(--surface-3); }
.metric-val {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem; font-weight: 900;
    color: var(--cyan); line-height: 1;
    margin-bottom: 5px;
}
.metric-key {
    font-size: 0.68rem; font-weight: 700;
    color: var(--text-3); letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   MISIÓN / VISIÓN
───────────────────────────────────────────── */
.mv-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.mv-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); padding: 48px 44px;
    position: relative; overflow: hidden;
    transition: border-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-base);
}
.mv-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--cyan));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--dur-slow) var(--ease-out);
}
.mv-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-card:hover::before { transform: scaleX(1); }

.mv-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--cyan-bg); border: 1px solid var(--cyan-border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: background var(--dur-base) var(--ease-base);
}
.mv-icon svg { width: 22px; height: 22px; color: var(--cyan); }
.mv-card:hover .mv-icon { background: rgba(0,174,239,0.15); }

.mv-label {
    font-size: 0.68rem; font-weight: 800;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 12px;
}
.mv-card h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 600; }
.mv-card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.8; }

/* ─────────────────────────────────────────────
   DIVISIONES
───────────────────────────────────────────── */
.divisions-grid {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}
.div-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden; display: flex; flex-direction: column;
    transition: border-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-base);
}
.div-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.div-card.games:hover { border-color: var(--games-border); box-shadow: var(--shadow-lg), 0 0 40px rgba(123,47,190,0.1); }
.div-card.biz:hover   { border-color: var(--business-border); box-shadow: var(--shadow-lg), 0 0 40px rgba(4,120,87,0.1); }
.div-card.labs:hover  { border-color: var(--labs-border); box-shadow: var(--shadow-lg), 0 0 40px rgba(180,83,9,0.1); }
.div-card.system:hover { border-color: var(--system-border); box-shadow: var(--shadow-lg), 0 0 40px rgba(3,105,161,0.1); }

/* Resplandor de marca: el logo neón real de ITERIA Games como acento decorativo */
.div-card.games::after {
    content: '';
    position: absolute; top: -36px; right: -36px;
    width: 210px; height: 210px;
    background: url('img/logo-games.png') center/contain no-repeat;
    opacity: 0.11; z-index: -1; pointer-events: none;
    animation: badge-float 7s ease-in-out infinite;
    transition: opacity var(--dur-base) var(--ease-base);
}
.div-card.games:hover::after { opacity: 0.18; }

/* Top accent bar */
.div-accent {
    height: 3px;
    transition: height var(--dur-base) var(--ease-out);
}
.div-card.games .div-accent  { background: linear-gradient(90deg, #7B2FBE, #A78BFA); }
.div-card.biz   .div-accent  { background: linear-gradient(90deg, #047857, #34D399); }
.div-card.labs  .div-accent  { background: linear-gradient(90deg, #B45309, #FCD34D); }
.div-card.system .div-accent { background: linear-gradient(90deg, #0369A1, #38BDF8); }
.div-card:hover .div-accent  { height: 4px; }

.div-header { padding: 28px 28px 20px; }
.div-icon-box {
    width: 48px; height: 48px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: transform var(--dur-base) var(--ease-out);
}
.div-card:hover .div-icon-box { transform: scale(1.08); }
.div-card.games .div-icon-box { background: var(--games-bg); border: 1px solid var(--games-border); }
.div-card.biz   .div-icon-box { background: var(--business-bg); border: 1px solid var(--business-border); }
.div-card.labs  .div-icon-box { background: var(--labs-bg); border: 1px solid var(--labs-border); }
.div-card.system .div-icon-box { background: var(--system-bg); border: 1px solid var(--system-border); }
.div-icon-box svg { width: 22px; height: 22px; }
.div-card.games .div-icon-box svg { color: #A78BFA; }
.div-card.biz   .div-icon-box svg { color: #34D399; }
.div-card.labs  .div-icon-box svg { color: #FCD34D; }
.div-card.system .div-icon-box svg { color: #38BDF8; }

.div-name { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.div-tagline { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }

.div-sep {
    height: 1px; background: var(--border);
    margin: 0; transition: background var(--dur-base) var(--ease-base);
}
.div-card:hover .div-sep { background: var(--border-mid); }

.div-services { padding: 20px 28px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.div-service {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 11px 12px; border-radius: var(--radius-sm);
    transition: background var(--dur-fast) var(--ease-base);
}
.div-service:hover { background: rgba(255,255,255,0.03); }
.svc-icon-box { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-xs); }
.svc-icon-box svg { width: 16px; height: 16px; color: var(--text-3); transition: color var(--dur-fast) var(--ease-base); }
.div-card.games .div-service:hover .svc-icon-box svg { color: #A78BFA; }
.div-card.biz   .div-service:hover .svc-icon-box svg { color: #34D399; }
.div-card.labs  .div-service:hover .svc-icon-box svg { color: #FCD34D; }
.div-card.system .div-service:hover .svc-icon-box svg { color: #38BDF8; }
.svc-name { font-size: 0.82rem; font-weight: 700; color: var(--text-1); margin-bottom: 2px; }
.svc-detail { font-size: 0.73rem; color: var(--text-3); line-height: 1.4; }

.div-footer { padding: 20px 28px 28px; }
.div-cta {
    display: inline-flex; align-items: center; gap: 8px;
    width: 100%; padding: 11px 18px;
    border-radius: var(--radius-pill); border: 1px solid;
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    justify-content: center;
    position: relative; overflow: hidden;
    transition: background var(--dur-fast) var(--ease-base),
                transform var(--dur-fast) var(--ease-base);
}
.div-cta:hover { transform: translateY(-1px); }
.div-card.games .div-cta { color: #A78BFA; border-color: var(--games-border); background: var(--games-bg); }
.div-card.biz   .div-cta { color: #34D399; border-color: var(--business-border); background: var(--business-bg); }
.div-card.labs  .div-cta { color: #FCD34D; border-color: var(--labs-border); background: var(--labs-bg); }
.div-card.system .div-cta { color: #38BDF8; border-color: var(--system-border); background: var(--system-bg); }
.div-cta svg { width: 13px; height: 13px; transition: transform var(--dur-base) var(--ease-out); }
.div-cta:hover svg { transform: translateX(4px); }

/* Alt CTA for direct POS access */
.div-footer { display: flex; flex-direction: column; gap: 8px; }
.div-cta-alt {
    background: transparent !important;
    border-style: dashed !important;
    opacity: 0.85;
}
.div-cta-alt:hover {
    opacity: 1;
    background: rgba(255,255,255,0.03) !important;
    border-style: solid !important;
}

/* ─────────────────────────────────────────────
   PRODUCTOS (bento grid)
───────────────────────────────────────────── */
.products-grid {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.prod-card:nth-child(1), .prod-card:nth-child(2) { grid-column: span 3; }
.prod-card:nth-child(3), .prod-card:nth-child(4), .prod-card:nth-child(5) { grid-column: span 2; }

.prod-card {
    display: block;
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 26px 26px 24px;
    transition: border-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-base);
}
.prod-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.prod-card-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.prod-ico {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.prod-ico svg { width: 19px; height: 19px; }
.prod-ico.g  { background: var(--games-bg); color: #A78BFA; border: 1px solid var(--games-border); }
.prod-ico.b  { background: var(--business-bg); color: #34D399; border: 1px solid var(--business-border); }
.prod-ico.l  { background: var(--labs-bg); color: #FCD34D; border: 1px solid var(--labs-border); }
.prod-title  { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.prod-sub    { font-size: 0.76rem; color: var(--text-3); margin-bottom: 14px; }
.prod-desc-col { font-size: 0.84rem; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.prod-pill {
    display: inline-block; padding: 5px 12px;
    border-radius: var(--radius-pill); font-size: 0.65rem;
    font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    border: 1px solid;
}
.prod-pill.g { color: #A78BFA; background: var(--games-bg); border-color: var(--games-border); }
.prod-pill.b { color: #34D399; background: var(--business-bg); border-color: var(--business-border); }
.prod-pill.l { color: #FCD34D; background: var(--labs-bg); border-color: var(--labs-border); }
.prod-status { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; color: var(--text-3); font-weight: 600; }
.prod-dot { width: 6px; height: 6px; border-radius: 50%; }
.prod-dot.on { background: #10B981; box-shadow: 0 0 0 2px rgba(16,185,129,0.2); }
.prod-dot.soon { background: var(--text-4); }

.prod-card-link { cursor: pointer; }
.prod-card-link:hover { border-color: var(--business-border); }
.prod-card-link:hover .prod-title { color: #34D399; }

/* ─────────────────────────────────────────────
   PROPUESTA DE VALOR
───────────────────────────────────────────── */
.vp-grid {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.vp-card:nth-child(1), .vp-card:nth-child(2) { grid-column: span 3; }
.vp-card:nth-child(3), .vp-card:nth-child(4), .vp-card:nth-child(5) { grid-column: span 2; }
.vp-card:nth-child(1) { padding: 34px 30px; }
.vp-card:nth-child(1) .vp-title { font-size: 0.95rem; }
.vp-card:nth-child(1) .vp-text { font-size: 0.88rem; }
.vp-card:nth-child(1) .vp-icon-box { width: 50px; height: 50px; }
.vp-card:nth-child(1) .vp-icon-box svg { width: 24px; height: 24px; }
.vp-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 28px 22px;
    position: relative; overflow: hidden;
    transition: border-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-base);
}
.vp-card::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--cyan));
    transform: scaleX(0); transform-origin: center;
    transition: transform var(--dur-slow) var(--ease-out);
}
.vp-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.vp-card:hover::after { transform: scaleX(1); }
.vp-icon-box {
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    background: var(--cyan-bg); border: 1px solid var(--cyan-border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: background var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out);
}
.vp-icon-box svg { width: 20px; height: 20px; color: var(--cyan); }
.vp-card:hover .vp-icon-box {
    background: rgba(0,174,239,0.15);
    transform: scale(1.05);
}
.vp-title { font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.vp-text { font-size: 0.78rem; color: var(--text-2); line-height: 1.65; }

/* ─────────────────────────────────────────────
   VALORES CORPORATIVOS
───────────────────────────────────────────── */
.values-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.val-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--navy-subtle);
    border-radius: var(--radius-lg); padding: 28px 24px;
    transition: border-color var(--dur-base) var(--ease-base),
                border-left-color var(--dur-base) var(--ease-base),
                transform var(--dur-base) var(--ease-out);
}
.val-card:hover {
    border-color: var(--glass-border-hover);
    border-left-color: var(--cyan);
    transform: translateY(-3px);
}
.val-icon-box {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    background: var(--cyan-bg); display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: background var(--dur-base) var(--ease-base);
}
.val-icon-box svg { width: 18px; height: 18px; color: var(--cyan); }
.val-card:hover .val-icon-box { background: rgba(0,174,239,0.15); }
.val-card h4 { font-family: 'Poppins', sans-serif; font-size: 0.9rem; margin-bottom: 8px; font-weight: 600; }
.val-card p { font-size: 0.8rem; color: var(--text-2); line-height: 1.65; }

/* ─────────────────────────────────────────────
   CONTACTO
───────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-info h3 { font-size: 1.7rem; margin-bottom: 14px; }
.contact-info > p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 36px; line-height: 1.8; }
.contact-line {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px; border-radius: var(--radius-lg);
    background: var(--card-gradient), var(--surface-2);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: border-color var(--dur-fast) var(--ease-base),
                background var(--dur-fast) var(--ease-base);
}
.contact-line:hover { border-color: var(--glass-border-hover); }
.c-icon {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--cyan-bg); border: 1px solid var(--cyan-border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.c-icon svg { width: 15px; height: 15px; color: var(--cyan); }
.c-text { font-size: 0.87rem; color: var(--text-2); }
.c-text strong { display: block; font-size: 0.72rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }

.contact-form-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-3); margin-bottom: 7px;
}
.form-row input, .form-row textarea {
    width: 100%; padding: 12px 15px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-white); font-family: 'Inter', sans-serif;
    font-size: 0.9rem; outline: none;
    transition: border-color var(--dur-fast) var(--ease-base),
                box-shadow var(--dur-fast) var(--ease-base),
                background var(--dur-fast) var(--ease-base);
}
.form-row input:focus, .form-row textarea:focus {
    border-color: var(--cyan-border);
    box-shadow: 0 0 0 3px var(--cyan-bg);
    background: var(--surface-3);
}
.form-row textarea { resize: vertical; min-height: 115px; }
.form-submit {
    width: 100%; padding: 15px;
    background: var(--grad-primary);
    border: 1px solid var(--border-mid);
    color: var(--text-white);
    font-family: 'Inter', sans-serif; font-size: 0.82rem;
    font-weight: 600; letter-spacing: 0.8px; text-transform: none;
    border-radius: var(--radius-pill); cursor: pointer;
    position: relative; overflow: hidden;
    transition: border-color var(--dur-fast) var(--ease-base),
                transform var(--dur-fast) var(--ease-base),
                box-shadow var(--dur-fast) var(--ease-base);
}
.form-submit:hover {
    border-color: var(--cyan-border);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,174,239,0.22);
}

/* ─────────────────────────────────────────────
   SERVICIOS
───────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.svc-card {
    background: var(--card-gradient), var(--surface-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 32px 24px;
    text-align: center;
    transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-base);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }
.svc-icon-lg {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--cyan-bg); border: 1px solid var(--cyan-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--cyan);
}
.svc-icon-lg svg { width: 24px; height: 24px; }
.svc-card h4 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; margin-bottom: 12px; font-weight: 600; }
.svc-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ─────────────────────────────────────────────
   PROYECTOS
───────────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
    background: var(--surface-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out);
}
.project-card:hover { transform: translateY(-4px); border-color: var(--border-mid); }
.project-img { height: 180px; overflow: hidden; border-bottom: 1px solid var(--border); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-info { padding: 24px; }
.project-tag {
    display: inline-block; padding: 4px 10px; border-radius: 4px;
    background: var(--navy); border: 1px solid var(--border-mid);
    font-size: 0.65rem; font-weight: 700; color: var(--cyan);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.project-card h4 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; margin-bottom: 12px; font-weight: 600; }
.project-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-bottom: 0; }

/* ─────────────────────────────────────────────
   RECURSOS
───────────────────────────────────────────── */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card {
    background: var(--surface-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    transition: transform var(--dur-base) var(--ease-out);
}
.resource-card:hover { transform: translateY(-4px); border-color: var(--border-mid); }
.resource-date { font-size: 0.75rem; color: var(--text-3); font-weight: 600; margin-bottom: 12px; }
.resource-card h4 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; margin-bottom: 12px; line-height: 1.4; font-weight: 600; }
.resource-card h4 a { transition: color var(--dur-fast) var(--ease-base); }
.resource-card h4 a:hover { color: var(--cyan); }
.resource-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.resource-link { font-size: 0.8rem; font-weight: 700; color: var(--cyan); transition: color var(--dur-fast) var(--ease-base); }
.resource-link:hover { color: var(--text-white); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
    background: var(--surface-1);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 0;
}
.footer-main {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--glass-border);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.83rem; color: var(--text-3); line-height: 1.75; max-width: 260px; }
.footer-col h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--text-3); margin-bottom: 18px;
}
.footer-col a {
    display: block; font-size: 0.83rem; color: var(--text-3);
    margin-bottom: 10px; padding: 2px 0;
    transition: color var(--dur-fast) var(--ease-base),
                padding-left var(--dur-base) var(--ease-out);
}
.footer-col a:hover { color: var(--text-1); padding-left: 6px; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0;
    font-size: 0.78rem; color: var(--text-4);
}
.footer-tagline {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--text-3);
}
.footer-tagline span { color: var(--cyan); }

/* ─────────────────────────────────────────────
   FIGURAS 3D DECORATIVAS
───────────────────────────────────────────── */
.cube-3d {
    position: absolute; z-index: 0; pointer-events: auto; cursor: pointer;
    width: 82px; height: 82px;
    transform-style: preserve-3d;
    animation: cube-spin 20s linear infinite;
    opacity: 0.5;
    transition: opacity 0.35s var(--ease-base);
}
.cube-3d:hover { opacity: 0.85; }
.cube-3d .face {
    position: absolute; width: 82px; height: 82px;
    border: 1px solid rgba(0,174,239,0.4);
    background: rgba(0,174,239,0.035);
}
.cube-3d .face.front  { transform: translateZ(41px); }
.cube-3d .face.back   { transform: translateZ(-41px) rotateY(180deg); }
.cube-3d .face.right  { transform: rotateY(90deg) translateZ(41px); }
.cube-3d .face.left   { transform: rotateY(-90deg) translateZ(41px); }
.cube-3d .face.top    { transform: rotateX(90deg) translateZ(41px); }
.cube-3d .face.bottom { transform: rotateX(-90deg) translateZ(41px); }
@keyframes cube-spin {
    0%   { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(0deg) rotateY(0deg); }
    100% { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(360deg) rotateY(360deg); }
}

.float-shape {
    position: absolute; z-index: 0; pointer-events: auto; cursor: pointer;
    color: var(--cyan);
    filter: drop-shadow(0 0 14px rgba(0,174,239,0.22));
    transition: filter 0.35s var(--ease-base);
}
.float-shape:hover {
    filter: drop-shadow(0 0 26px currentColor) brightness(1.6) saturate(1.3);
}
.float-shape.tumble-a { animation: tumble-a 15s ease-in-out infinite; }
.float-shape.tumble-b { animation: tumble-b 19s ease-in-out infinite; }
.float-shape.tumble-c { animation: tumble-c 24s ease-in-out infinite; }
.float-shape.purple { color: #7B2FBE; filter: drop-shadow(0 0 14px rgba(123,47,190,0.22)); }
.float-shape.green  { color: #047857; filter: drop-shadow(0 0 14px rgba(4,120,87,0.22)); }

@keyframes tumble-a {
    0%, 100% { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(12deg) rotateY(0deg) rotate(0deg) translateY(0); }
    50%      { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(-18deg) rotateY(200deg) rotate(20deg) translateY(-26px); }
}
@keyframes tumble-b {
    0%, 100% { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(-10deg) rotateY(20deg) rotate(0deg) translateY(0); }
    50%      { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(20deg) rotateY(-220deg) rotate(-25deg) translateY(22px); }
}
@keyframes tumble-c {
    0%, 100% { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(8deg) rotateY(-30deg) rotate(0deg) translateY(0); }
    50%      { transform: translateY(var(--scroll-shift, 0px)) perspective(700px) rotateX(-14deg) rotateY(240deg) rotate(15deg) translateY(-18px); }
}

/* ─────────────────────────────────────────────
   ANIMACIONES
───────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: perspective(900px) translateY(38px) translateZ(-90px) scale(0.91);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible {
    opacity: 1;
    transform: perspective(900px) translateY(0) translateZ(0) scale(1);
}

.slide-left {
    opacity: 0; transform: translateX(-24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ─────────────────────────────────────────────
   MICRO-INTERACCIONES: RIPPLE
───────────────────────────────────────────── */
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(2.6); opacity: 0; }
}

/* ─────────────────────────────────────────────
   MICRO-INTERACCIONES: SPOTLIGHT EN TARJETAS
───────────────────────────────────────────── */
.spotlight { position: relative; z-index: 0; }
.spotlight::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(0,174,239,0.12), transparent 70%);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-base);
}
.spotlight:hover::before { opacity: 1; }

/* ─────────────────────────────────────────────
   ACCESIBILIDAD: RESPETA MOTION REDUCIDO
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─────────────────────────────────────────────
   RED DE NODOS (canvas) Y CONECTOR ENTRE SECCIONES
───────────────────────────────────────────── */
.network-canvas {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.8;
}

/* Conector tipo "traza de circuito" entre secciones: línea vertical
   centrada con un pulso de luz que viaja de una sección a la siguiente */
.section-connector {
    position: relative; z-index: 1;
    display: flex; justify-content: center;
    height: 46px; margin-top: -46px;
    pointer-events: none;
}
.section-connector::before {
    content: '';
    width: 1px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--cyan-border) 30%, var(--cyan-border) 70%, transparent);
}
.section-connector::after {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px 2px rgba(0,174,239,0.6);
    animation: connector-pulse 3s ease-in-out infinite;
}
@keyframes connector-pulse {
    0%   { top: 0;    opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ─── Posiciones de las figuras 3D por ubicación ─── */
.hero .cube-3d      { top: 14%; right: 6%; }
.hero .shape-hex-1   { width: 64px; top: 8%; left: 4%; }
.hero .shape-tri-1   { width: 46px; bottom: 12%; right: 30%; }
#propuesta .shape-hex-2 { width: 58px; top: 6%; right: 6%; }
#contacto .shape-tri-2  { width: 50px; bottom: 8%; left: 3%; }
#mision .shape-hex-3     { width: 52px; top: 8%; right: 8%; }
#divisiones .shape-tri-3 { width: 44px; top: 10%; left: 6%; }
#nosotros .shape-hex-4   { width: 50px; bottom: 8%; right: 6%; }
#productos .shape-tri-4  { width: 46px; top: 8%; right: 5%; }
#servicios .shape-hex-5  { width: 54px; bottom: 10%; left: 4%; }
#valores .shape-tri-5    { width: 42px; top: 6%; right: 4%; }
#catalogo .shape-tri-6   { width: 46px; top: 8%; right: 6%; }
#sistemas .shape-hex-6   { width: 50px; bottom: 10%; right: 5%; }
#reparacion .shape-hex-4 { width: 50px; top: 8%; left: 5%; }
#pos .shape-tri-4        { width: 44px; top: 4%; right: 5%; }
#tecnologias .shape-hex-tec { width: 50px; top: 8%; right: 6%; }
#ensamble .shape-tri-ens    { width: 44px; top: 8%; left: 5%; }
.val-icon-box .step-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--cyan); }

@media (max-width: 1024px) {
    .cube-3d, .float-shape, .network-canvas, .section-connector { display: none; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1200px) {
    .hero-stats-side { display: none; }
    .vp-grid { grid-template-columns: repeat(2,1fr); }
    .vp-card:nth-child(1), .vp-card:nth-child(2),
    .vp-card:nth-child(3), .vp-card:nth-child(4) { grid-column: span 1; }
    .vp-card:nth-child(5) { grid-column: span 2; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { display: none; }
    .divisions-grid { grid-template-columns: 1fr; }
    .projects-grid, .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrap { display: none; }
    .mv-layout { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2,1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .prod-card:nth-child(1), .prod-card:nth-child(2),
    .prod-card:nth-child(3), .prod-card:nth-child(4) { grid-column: span 1; }
    .prod-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed;
        top: 88px; left: 0; right: 0; bottom: 0;
        background: var(--surface-0);
        border-top: 1px solid var(--border);
        flex-direction: column; align-items: center;
        justify-content: center; gap: 6px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.05rem; padding: 14px 32px; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .vp-grid { grid-template-columns: 1fr; }
    .vp-card:nth-child(1), .vp-card:nth-child(2), .vp-card:nth-child(3),
    .vp-card:nth-child(4), .vp-card:nth-child(5) { grid-column: span 1; }
    .services-grid, .projects-grid, .resources-grid { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 540px) {
    .values-grid { grid-template-columns: 1fr; }
    .vp-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .prod-card:nth-child(1), .prod-card:nth-child(2), .prod-card:nth-child(3),
    .prod-card:nth-child(4), .prod-card:nth-child(5) { grid-column: span 1; }
    .metric-row { grid-template-columns: 1fr; }
    .metric { border-right: none; border-bottom: 1px solid var(--border); }
    .metric:last-child { border-bottom: none; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Botón flotante de WhatsApp ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 540px) {
    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}
