@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --nyx-bg: #0B0C14;
    --nyx-surface: #12141F;
    --nyx-card: #1A1D2E;
    --nyx-border: #2D2F45;
    --nyx-lime: #00FF9F;
    --nyx-cyan: #00C2E0;
    --nyx-blue: #00D4FF;
    --nyx-muted: #8B8FA8;
    --nyx-midnight: #0A0F1C;
    --nyx-platinum: #E5E7EB;
    --nyx-purple-50: #EEEDFE;
    --nyx-purple-800: #3C3489;
    --font-display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
    --max: 2400px;
    --mx: 50%;
    --my: 50%;
    --image-x: 50%;
    --image-y: 50%;
    --shadow-card: 0 18px 50px rgba(11, 12, 20, 0.08);
    --shadow-strong: 0 25px 70px rgba(11, 12, 20, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--nyx-bg);
}

body {
    margin: 0;
    background: var(--nyx-bg);
    color: white;
    font-family: var(--font-body);
    overflow-x: hidden;
}

::selection {
    background: var(--nyx-blue);
    color: var(--nyx-bg);
}

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

button {
    font-family: inherit;
}

.nyx-page {
    min-height: 100vh;
    background: var(--nyx-bg);
    color: white;
    overflow-x: clip;
    overflow-y: visible;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* .logo {
            display: flex;
            align-items: baseline;
            font-family: var(--font-display);
            font-weight: 700;
            letter-spacing: -0.06em;
            line-height: 1;
            user-select: none;
        }

        .logo span:first-child {
            color: white;
        }

        .logo span:last-child {
            color: var(--nyx-blue);
            font-size: .58em;
            margin-left: .08em;
            transform: translateY(-.38em);
            display: inline-block;
        } */
.logo {
    width: 500px;
    height: auto;
    overflow: visible;
}

/* N grande: alumbrado que aumenta y disminuye */
.logo .big-n {
    transform-origin: center;
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.55;
        filter:
            drop-shadow(0 0 1px rgba(0, 216, 255, 0.4)) drop-shadow(0 0 3px rgba(0, 216, 255, 0.25));
    }

    50% {
        opacity: 1;
        filter:
            drop-shadow(0 0 4px #00D8FF) drop-shadow(0 0 14px rgba(0, 216, 255, 0.9)) drop-shadow(0 0 28px rgba(0, 216, 255, 0.6)) drop-shadow(0 0 50px rgba(0, 216, 255, 0.35));
    }
}

/* N pequeña: flotando hacia arriba y abajo */
.logo .small-n {
    transform-origin: center;
    animation: float 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(0, 216, 255, 0.6));
}

@keyframes float {

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

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

.text-accent-gradient {
    background: linear-gradient(90deg, var(--nyx-blue), var(--nyx-lime));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.topographic-waves {
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 Q 250 150 500 200 T 1000 200' fill='none' stroke='rgba(0, 212, 255, 0.08)' stroke-width='0.5'/%3E%3Cpath d='M0 400 Q 250 350 500 400 T 1000 400' fill='none' stroke='rgba(0, 255, 159, 0.05)' stroke-width='0.5'/%3E%3Cpath d='M0 600 Q 250 550 500 600 T 1000 600' fill='none' stroke='rgba(91, 63, 194, 0.08)' stroke-width='0.5'/%3E%3Cpath d='M0 300 Q 200 350 400 300 T 800 300' fill='none' stroke='rgba(0, 212, 255, 0.04)' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: cover;
}

.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    stroke: var(--nyx-muted);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* NAV */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 24px 0;
    transition: padding .55s ease, background .55s ease, border-color .55s ease;
    border-bottom: 1px solid transparent;
}

.site-nav .icon {
    stroke: #fff;
}

.site-nav.is-scrolled {
    padding: 12px 0;
    background: rgba(11, 12, 20, .86);
    backdrop-filter: blur(24px);
    border-bottom-color: rgba(45, 47, 69, .55);
}

.site-nav.is-scrolled .logo .cls-1 {
    fill: var(--nyx-midnight);
}

.site-nav.is-scrolled .desktop-links a {
    color: var(--nyx-midnight);
}

.site-nav.is-scrolled .icon {
    stroke: var(--nyx-midnight);
}

.site-nav.is-scrolled .lang-btn {
    color: var(--nyx-midnight);
}

.site-nav.is-scrolled .contact-btn {
    background: var(--nyx-midnight);
    color: var(--nyx-bg);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--nyx-blue);
    transform: scaleX(0);
    transform-origin: left;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo .logo {
    font-size: 32px;
    transition: transform .3s ease;
    width: 75px;
}

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

.desktop-links {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 1200px) {
    .desktop-links {
        display: flex;
    }
}

.desktop-links a {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .5);
    transition: color .25s ease;
    padding: 8px 0;
}

.desktop-links a:hover {
    color: #fff;
}

.nav-tools {
    display: none;
    align-items: center;
    gap: 22px;
    color: rgba(255, 255, 255, .42);
}

@media (min-width: 1024px) {
    .nav-tools {
        display: flex;
    }
}

.nav-icon-btn,
.lang-btn {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: color .25s ease;
}

.nav-icon-btn:hover,
.lang-btn:hover {
    color: var(--nyx-blue);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: var(--nyx-border);
}

.contact-btn {
    display: none;
    padding: 12px 32px;
    background: var(--nyx-blue);
    color: var(--nyx-midnight);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, .08);
    border-radius: 50px;
}

@media (min-width: 640px) {
    .contact-btn {
        display: block;
    }
}

.contact-btn:hover {
    background: var(--nyx-blue);
    color: white;
    box-shadow: 0 0 30px rgba(0, 212, 255, .22);
}

.menu-toggle {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    z-index: 120;
    position: relative;
}

.hamburger {
    width: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle.is-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--nyx-bg);
    transform: translateX(100%);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    padding: 128px 24px 48px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .mobile-menu {
        padding-left: 96px;
        padding-right: 96px;
    }
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(18, 20, 31, .5);
    transform: translateX(50%) skewX(-12deg);
    z-index: -1;
}

.menu-grid {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: grid;
    align-items: center;
    gap: 80px;
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.menu-eyebrow {
    font-size: 10px;
    color: var(--nyx-blue);
    font-weight: 700;
    letter-spacing: .5em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.menu-link {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(45, 47, 69, .35);
    transition: border-color .25s ease;
}

.menu-link:hover {
    border-bottom-color: var(--nyx-blue);
}

.menu-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, .2);
    margin-bottom: 12px;
    transition: color .25s ease;
}

.menu-link:hover .menu-number {
    color: var(--nyx-blue);
}

.menu-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 98px);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: .9;
}

.menu-desc {
    display: block;
    opacity: 0;
    color: var(--nyx-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-top: 10px;
    transition: opacity .25s ease;
}

.menu-link:hover .menu-desc {
    opacity: 1;
}

.menu-arrow {
    margin-left: auto;
    opacity: 0;
    color: var(--nyx-blue);
    transform: translateX(-8px);
    transition: opacity .25s ease, transform .25s ease;
}

.menu-link:hover .menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

.menu-side {
    display: none;
    border-left: 1px solid var(--nyx-border);
    padding-left: 80px;
}

@media (min-width: 1024px) {
    .menu-side {
        display: block;
    }
}

.menu-side h4 {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3em;
    margin: 0 0 24px;
}

.menu-side p {
    color: var(--nyx-muted);
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 48px;
}

.menu-side p span {
    color: white;
    display: block;
    margin-top: 16px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.social-list a:hover {
    color: var(--nyx-blue);
}

.menu-footer {
    max-width: var(--max);
    width: 100%;
    margin: 48px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--nyx-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, .32);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.menu-footer-links {
    display: flex;
    gap: 32px;
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    /* background: var(--nyx-bg); */

    /* padding: 40px 20px; */
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, #101010 0%, #030303 100%);
}

.hero-waves {
    position: absolute;
    inset: 0;
    opacity: .3;
}

.hero-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: rgba(0, 212, 255, .055);
    filter: blur(180px);
    transform: translate(25%, -50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-wrap {
    margin-bottom: clamp(64px, 10vw, 0px);
    perspective: 1000px;
    opacity: 0;
    transform: scale(.8);
    animation: heroLogoIn 1.5s .2s ease forwards;
}

@keyframes heroLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-logo {
    /* cursor: pointer; */
    color: #0a0a0a;
    opacity: .2;
    transition: opacity .7s ease, color .7s ease, filter .7s ease, transform .7s ease;
}

.hero-logo .logo {
    font-size: clamp(92px, 17vw, 150px);
}

.hero-logo:hover {
    opacity: 1;
    color: white;
    filter: brightness(1.5) drop-shadow(0 0 40px rgba(0, 212, 255, .5));
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
}

.hero-copy {
    max-width: 900px;
    text-align: center;
    will-change: transform, opacity;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

/* .hero-eyebrow::before,
        .hero-eyebrow::after {
            content: "";
            width: 48px;
            height: 2px;
            background: var(--nyx-blue);
        } */

.hero-eyebrow span {
    color: var(--nyx-blue);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4em;
}

.hero-section h1 {
    margin: 0 0 40px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: .9;
    font-size: clamp(64px, 7vw, 100px);
    color: #fff;
}

.hero-section h1 .light {
    font-weight: 400;
    font-style: italic;
}

.hero-section p {
    max-width: 680px;
    margin: 0 auto 48px;
    color: var(--nyx-purple-50);
    font-size: clamp(20px, 2.4vw, 20px);
    line-height: 1.12;
    font-weight: 300;
}

.hero-section p span {
    color: var(--nyx-lime);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.primary-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 0;
    background: var(--nyx-blue);
    color: var(--nyx-bg);
    padding: 20px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    transition: padding .25s ease;
}

.primary-btn:hover {
    padding-right: 56px;
}

.primary-btn span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.primary-btn:hover::after {
    transform: translateY(0);
}

.trusted {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.trusted::before,
.trusted::after {
    content: "";
    width: 32px;
    height: 1px;
    background: #fff;
}

.hero-n {
    position: absolute;
    right: -5%;
    bottom: 5%;
    pointer-events: none;
    user-select: none;
    opacity: .4;
    display: none;
    will-change: transform;
}

@media (min-width: 1280px) {
    .hero-n {
        display: block;
    }
}

.hero-n div {
    font-family: var(--font-display);
    font-size: 40vw;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, .03);
    letter-spacing: -0.08em;
}

/* .hero-section {
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
      isolation: isolate;
      background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, #101010 0%, #030303 100%);
    } */

.base-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.94) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.reveal-layer {
    position: absolute;
    inset: -4%;
    z-index: 2;
    pointer-events: none;
    background-image: url("../images/hero-bg.jpg");
    background-size: 112%;
    background-position: var(--image-x) var(--image-y);
    background-repeat: no-repeat;
    opacity: 0.95;
    transform: scale(1.04);

    -webkit-mask-image: radial-gradient(circle 320px at var(--mx) var(--my),
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.92) 18%,
            rgba(0, 0, 0, 0.72) 34%,
            rgba(0, 0, 0, 0.44) 50%,
            rgba(0, 0, 0, 0.20) 64%,
            rgba(0, 0, 0, 0.07) 76%,
            transparent 88%);

    mask-image: radial-gradient(circle 320px at var(--mx) var(--my),
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.92) 18%,
            rgba(0, 0, 0, 0.72) 34%,
            rgba(0, 0, 0, 0.44) 50%,
            rgba(0, 0, 0, 0.20) 64%,
            rgba(0, 0, 0, 0.07) 76%,
            transparent 88%);
}

.reveal-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(215, 255, 0, 0.26), transparent 32%),
        linear-gradient(135deg, rgba(215, 255, 0, 0.16), rgba(255, 115, 0, 0.18));
    mix-blend-mode: screen;
}

.reveal-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.72) 100%);
}

/*
      Este contenedor es el que se mueve, rota y se estira.
      El blob interno conserva su animación orgánica.
    */
.blob-wrap {
    position: absolute;
    width: 600px;
    height: 600px;
    left: 0;
    top: 0;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: center center;
}

.blob {
    position: absolute;
    inset: 0;
    border-radius: 45% 55% 60% 40% / 45% 40% 60% 55%;
    background:
        radial-gradient(circle at 35% 30%,
            rgba(232, 232, 232, 0.95),
            rgba(226, 226, 226, 0.68) 54%,
            rgba(0, 255, 200, 0.12) 78%);
    opacity: 0.42;
    filter: blur(65px);
    mix-blend-mode: screen;
    animation: blobMorphInner 7s ease-in-out infinite alternate;
}

.blob-core {
    position: absolute;
    width: 52%;
    height: 52%;
    left: 24%;
    top: 24%;
    border-radius: 50%;
    background: rgba(215, 255, 0, 0.17);
    filter: blur(30px);
    mix-blend-mode: screen;
}

.grid {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.055;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.20) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.20) 1px, transparent 1px);
    background-size: 42px 42px;
}

.grain {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
    background-size: 7px 7px;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 6;
    max-width: 1240px;
    text-align: center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}





@keyframes blobMorphInner {
    0% {
        border-radius: 45% 55% 60% 40% / 45% 40% 60% 55%;
    }

    50% {
        border-radius: 58% 42% 44% 56% / 52% 60% 40% 48%;
    }

    100% {
        border-radius: 40% 60% 55% 45% / 60% 45% 55% 40%;
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 32px 18px;
    }

    .blob-wrap {
        width: 320px;
        height: 320px;
    }

    .blob {
        filter: blur(52px);
    }

    .reveal-layer {
        background-size: cover;

        -webkit-mask-image: radial-gradient(circle 220px at var(--mx) var(--my),
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.86) 24%,
                rgba(0, 0, 0, 0.55) 48%,
                rgba(0, 0, 0, 0.18) 68%,
                transparent 86%);

        mask-image: radial-gradient(circle 220px at var(--mx) var(--my),
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.86) 24%,
                rgba(0, 0, 0, 0.55) 48%,
                rgba(0, 0, 0, 0.18) 68%,
                transparent 86%);
    }
}




/* MARQUEE */
.marquee {
    padding: 48px 0;
    border-top: 1px solid rgba(45, 47, 69, .35);
    border-bottom: 1px solid rgba(45, 47, 69, .35);
    background: var(--nyx-bg);
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
    animation: marquee 20s linear infinite;
}
/*Por el momento queda fijo*/
/* @keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
} */

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--nyx-midnight);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4em;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--nyx-blue);
}

/* Common sections */
.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--nyx-lime);
}

.section-tag span {
    color: var(--nyx-lime);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -0.07em;
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
}

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

/* SPECIALTIES + CASES sticky horizontal */
.horizontal-section {
    position: relative;
    background: var(--nyx-bg);
}

.horizontal-section.specialties {
    height: var(--horizontal-height, 400vh);
}

.horizontal-section.cases {
    height: var(--horizontal-height, 300vh);
}

.sticky-stage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 761px) {
    .horizontal-section.is-pinned .sticky-stage {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
    }

    .horizontal-section.is-ended .sticky-stage {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

.spec-bg-glow {
    position: absolute;
    top: 25%;
    left: -80px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(0, 212, 255, .05);
    filter: blur(140px);
    pointer-events: none;
}

.horizontal-header {
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
    display: grid;
    gap: 48px;
    align-items: end;
    transition: opacity .2s linear, transform .2s linear;
    opacity: 0;
    transform: translateY(-42px) scale(0.94);
    transform-origin: left center;
    will-change: opacity, transform;
}

@media (max-width: 767px),
(max-height: 768px) {
    .horizontal-header {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
        margin-top: 50px;
    }
}

@media (min-width: 1024px) {
    .horizontal-header {
        grid-template-columns: 1fr 1fr;
    }
}

.horizontal-header p {
    display: none;
    color: var(--nyx-muted);
    font-size: 22px;
    line-height: 1.1;
    border-left: 1px solid var(--nyx-border);
    padding-left: 32px;
    max-width: 580px;
    margin: 0;
}

@media (min-width: 1024px) {
    .horizontal-header p {
        display: block;
    }
}

.horizontal-track {
    display: flex;
    gap: 32px;
    padding: 0 24px;
    will-change: transform;
}

@media (min-width: 768px) {
    .horizontal-track {
        padding-left: 48px;
        padding-right: 48px;
    }
}

.spec-card {
    flex: 0 0 95vw;
    min-height: 560px;
    padding: 48px;
    border: 1px solid var(--nyx-border);
    border-radius: 30px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background .35s ease;
}

@media (min-width: 768px) {
    .spec-card {
        flex-basis: 80vw;
    }
}

@media (min-width: 1024px) {
    .spec-card {
        flex-basis: 70vw;
    }
}

@media (min-width: 1280px) {
    .spec-card {
        flex-basis: 40vw;
    }
}

.glow-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.11), transparent 80%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

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

.spec-card:hover {
    background: rgba(255, 255, 255, 1);
}

.spec-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.spec-head {
    color: var(--nyx-muted);
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: color .3s ease;
}

.spec-card:hover .spec-head {
    color: var(--nyx-midnight);
}

.spec-index {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    opacity: .3;
}

.spec-card h3 {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -.05em;
    margin: 0 0 32px;
    transition: transform .5s ease;
}

.spec-card:hover h3 {
    transform: translateX(8px);
}

.spec-card p {
    color: var(--nyx-muted);
    font-size: 19px;
    line-height: 1.48;
    margin: 0 0 48px;
}

.capabilities {
    padding-top: 32px;
    border-top: 1px solid rgba(45, 47, 69, .32);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    padding: 5px 12px;
    background: rgb(0 255 159 / 30%);
    border: 1px solid #00FF9F;
    border-radius: 999px;
    color: rgba(0, 0, 0, .55);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .3s ease;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.spec-card:hover .pill {
    color: rgba(0, 0, 0, .85);
}

.card-bottom-line {
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: var(--nyx-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s ease;
}

.spec-card:hover .card-bottom-line {
    transform: scaleX(1);
}

.end-card {
    flex: 0 0 85vw;
    border: 1px dashed var(--nyx-border);
    border-radius: 30px;
    background: rgba(18, 20, 31, .22);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 48px;
    min-height: 560px;
}

@media (min-width: 768px) {
    .end-card {
        flex-basis: 40vw;
    }
}

@media (min-width: 1024px) {
    .end-card {
        flex-basis: 30vw;
    }
}

.end-card h4 {
    font-family: var(--font-display);
    font-size: 28px;
    margin: 0 0 24px;
}

.secondary-btn {
    position: relative;
    display: inline-flex;
    border: 0;
    background: white;
    color: var(--nyx-bg);
    padding: 16px 32px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
}

.secondary-btn:hover,
.secondary-btn:focus {
    color: var(--nyx-bg);
}

/* .secondary-btn span {
    position: relative;
    z-index: 1;
    transition: color .3s ease;
}

.secondary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--nyx-blue);
    transform: translateX(-100%);
    transition: transform .3s ease;
}

.secondary-btn:hover::after {
    transform: translateX(0);
}

.secondary-btn:hover span {
    color: white;
} */


/* NEWSLETTER / NEWS & INSIGHTS */
.news-insights {
    min-height: 100vh;
    padding: 128px 0;
    background: var(--nyx-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.news-halo {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

/* .news-halo-top {
            top: -160px;
            right: 40px;
            background: linear-gradient(45deg, rgba(0, 212, 255, .12), rgba(0, 194, 224, .10));
        }

        .news-halo-bottom {
            bottom: -160px;
            left: 40px;
            background: linear-gradient(45deg, rgba(0, 255, 159, .10), rgba(0, 212, 255, .10));
        } */

.news-inner {
    position: relative;
    z-index: 1;
}

.news-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .news-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.news-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, .10);
    color: var(--nyx-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 24px;
}

.news-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.07em;
    margin: 0 0 16px;
    color: var(--nyx-midnight);
}

.news-title span {
    color: var(--nyx-blue);
    font-style: italic;
}

/* .news-lead {
            color: var(--nyx-muted);
            font-size: 21px;
            line-height: 1.45;
            max-width: 620px;
            margin: 0;
        } */

.news-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.news-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid var(--nyx-border);
    background: #fff;
    color: var(--nyx-midnight);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(10, 15, 28, .10);
    transition: background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease, transform .25s ease;
    position: relative;
    z-index: 2;
}

.news-control-btn:hover {
    background: var(--nyx-midnight);
    color: #fff;
    border-color: var(--nyx-midnight);
}

.news-control-btn span {
    font-size: 20px;
    transition: transform .25s ease;
}

.news-control-btn.prev:hover span {
    transform: translateX(-4px);
}

.news-control-btn.next:hover span {
    transform: translateX(4px);
}

.news-control-btn.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.news-slider-container {
    /* overflow: hidden; */
    position: relative;
    margin-left: -24px;
    margin-right: -24px;
    padding: 32px 24px;
}

.news-track {
    display: flex;
    gap: 32px;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1);
    cursor: grab;
    will-change: transform;
}

.news-track:active {
    cursor: grabbing;
}

.tech-card {
    flex: 0 0 100%;
    height: 580px;
    border: 1px solid var(--nyx-border);
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(10, 15, 28, .10);
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    transition: border-color .35s ease, box-shadow .35s ease;
}

@media (min-width: 768px) {
    .tech-card {
        flex-basis: 45vw;
    }
}

@media (min-width: 1024px) {
    .tech-card {
        flex-basis: 30vw;
    }
}

.tech-card:hover {
    border-color: rgba(0, 212, 255, .35);
    box-shadow: 0 30px 90px rgba(0, 194, 224, .13);
}

.tech-card-halo {
    position: absolute;
    inset: -160px 0 auto 0;
    height: 250px;
    border-radius: 999px;
    filter: blur(48px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

.tech-card:hover .tech-card-halo {
    opacity: 1;
}

.tech-card-halo.blue {
    background: linear-gradient(to bottom, rgba(0, 212, 255, .22), transparent);
}

.tech-card-halo.cyan {
    background: linear-gradient(to bottom, rgba(0, 194, 224, .22), transparent);
}

.tech-card-halo.lime {
    background: linear-gradient(to bottom, rgba(0, 255, 159, .20), transparent);
}

.tech-card-image {
    height: 256px;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .7s ease;
    will-change: transform;
}

.tech-card:hover .tech-card-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: rgba(10, 15, 28, .82);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 6px;
}

.tech-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    background: #fff;
}

.news-kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    color: var(--nyx-blue);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 700;
}

.news-kicker.cyan {
    color: var(--nyx-cyan);
}

.news-kicker.lime {
    color: var(--nyx-lime);
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1.18;
    margin: 0 0 16px;
    color: var(--nyx-midnight);
    transition: color .25s ease;
}

.tech-card:hover h3 {
    color: var(--nyx-blue);
}

.tech-card p {
    color: var(--nyx-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 24px;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(216, 222, 234, .65);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.news-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nyx-midnight);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .25s ease;
    white-space: nowrap;
}

.news-card-footer a span {
    transition: transform .25s ease;
}

.tech-card:hover .news-card-footer a {
    color: var(--nyx-blue);
}

.tech-card:hover .news-card-footer a span {
    transform: translateX(6px);
}

.news-date {
    color: rgba(95, 107, 130, .55);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    white-space: nowrap;
}

.newsletter-box {
    margin-top: 64px;
    background: #fff;
    border: 1px solid var(--nyx-border);
    padding: 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(10, 15, 28, .08);
}

@media (min-width: 768px) {
    .newsletter-box {
        padding: 48px;
        flex-direction: row;
        align-items: center;
    }
}

.newsletter-box::before {
    content: "";
    position: absolute;
    top: -48px;
    left: -48px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(0, 212, 255, .08);
    filter: blur(18px);
    transition: transform .7s ease;
}

.newsletter-box:hover::before {
    transform: scale(1.5);
}

.newsletter-copy,
.newsletter-form {
    position: relative;
    z-index: 1;
}

.newsletter-copy span {
    display: block;
    color: var(--nyx-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.newsletter-copy h4 {
    font-family: var(--font-display);
    color: var(--nyx-midnight);
    font-size: 27px;
    margin: 0;
}

.newsletter-copy p {
    color: var(--nyx-muted);
    font-size: 14px;
    margin: 6px 0 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    justify-content: end;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .newsletter-form {
        max-width: 450px;
    }
}

.newsletter-form input {
    flex: 1;
    background: #fff;
    border: 1px solid var(--nyx-border);
    color: var(--nyx-midnight);
    font-size: 14px;
    padding: 16px 24px;
    border-radius: 14px;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.newsletter-form input:focus {
    border-color: var(--nyx-blue);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, .12);
}

.newsletter-form button {
    border: 0;
    background: var(--nyx-midnight);
    color: #fff;
    padding: 16px 32px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.newsletter-form button:hover {
    background: var(--nyx-blue);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .news-insights {
        padding: 96px 0;
    }

    .news-controls {
        align-self: flex-start;
    }

    .tech-card {
        height: auto;
        min-height: 560px;
    }
}

/* AGENTIC */
.agentic {
    min-height: 100vh;
    padding: 96px 0;
    background: var(--nyx-surface);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agentic-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: rgba(0, 212, 255, .05);
    filter: blur(120px);
    transform: translate(50%, -50%);
    pointer-events: none;
}

.agentic-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .agentic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    background: rgba(0, 212, 255, .1);
    color: var(--nyx-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.agentic h2 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 96px);
    line-height: .96;
    letter-spacing: -.07em;
    margin: 0 0 24px;
}

.agentic h2 span {
    color: var(--nyx-cyan);
    font-style: italic;
}

.agentic-lead {
    color: var(--nyx-muted);
    font-size: 22px;
    line-height: 1.45;
    max-width: 640px;
    margin: 0 0 48px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--nyx-bg);
    display: grid;
    place-items: center;
    color: var(--nyx-lime);
    transition: background .45s ease, color .45s ease;
}

.pillar:hover .pillar-icon {
    background: var(--nyx-lime);
    color: var(--nyx-bg);
}

.pillar h4 {
    font-family: var(--font-display);
    font-size: 19px;
    margin: 0 0 4px;
}

.pillar p {
    color: var(--nyx-muted);
    font-size: 14px;
    line-height: 1.15;
    margin: 0;
}

.eval-box {
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(60, 52, 137, .32);
    background: rgba(11, 12, 20, .42);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.eval-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nyx-cyan);
    font-family: var(--font-display);
    font-size: 19px;
    margin: 0 0 24px;
}

.eval-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    color: var(--nyx-muted);
    font-size: 13px;
    font-weight: 600;
}

.eval-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eval-list li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--nyx-blue);
    flex: 0 0 auto;
}

.link-btn {
    border: 0;
    background: transparent;
    color: white;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease;
}

.link-btn:hover {
    color: var(--nyx-blue);
}

.forge-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    border: 1px solid var(--nyx-border);
    background: var(--nyx-card);
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.orbit {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--nyx-border);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

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

.satellite {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: var(--nyx-surface);
    border: 1px solid var(--nyx-border);
    color: var(--nyx-cyan);
    display: grid;
    place-items: center;
}

.satellite:nth-child(1) {
    transform: rotate(0deg) translate(140px) rotate(0deg);
}

.satellite:nth-child(2) {
    transform: rotate(60deg) translate(140px) rotate(-60deg);
}

.satellite:nth-child(3) {
    transform: rotate(120deg) translate(140px) rotate(-120deg);
}

.satellite:nth-child(4) {
    transform: rotate(180deg) translate(140px) rotate(-180deg);
}

.satellite:nth-child(5) {
    transform: rotate(240deg) translate(140px) rotate(-240deg);
}

.satellite:nth-child(6) {
    transform: rotate(300deg) translate(140px) rotate(-300deg);
}

.forge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.forge-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(0, 212, 255, .1);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    color: var(--nyx-blue);
}

.forge-center h3 {
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0 0 8px;
}

.forge-center p {
    color: var(--nyx-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin: 0;
}

/* SUCCESS CASES */
.cases .section-tag .dot {
    background: var(--nyx-blue);
}

.cases .section-tag span {
    color: var(--nyx-blue);
}

/* .impact-motif {
            position: absolute;
            top: 0;
            right: 0;
            padding: 80px;
            opacity: .03;
            pointer-events: none;
            user-select: none;
            display: none;
        }

        @media (min-width: 768px) {
            .impact-motif {
                display: block;
            }
        }

        .impact-motif div {
            font-family: var(--font-display);
            font-size: 25vw;
            font-weight: 700;
            letter-spacing: -.07em;
            text-transform: uppercase;
        } */

.case-card {
    flex: 0 0 90vw;
    padding: 48px;
    border: 1px solid var(--nyx-border);
    border-radius: 30px;
    background: rgba(18, 20, 31, .5);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: background .35s ease;
}

.case-card:hover {
    background: var(--nyx-surface);
}

@media (min-width: 768px) {
    .case-card {
        flex-basis: 60vw;
        padding: 64px;
    }
}

@media (min-width: 1024px) {
    .case-card {
        flex-basis: 70vw;
    }
}

@media (min-width: 1280px) {
    .case-card {
        flex-basis: 45vw;
    }
}

.case-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
}

.case-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    background: rgba(0, 212, 255, .1);
    color: var(--nyx-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.case-main {
    display: flex;
    gap: 48px;
}

/* @media (min-width: 1024px) {
            .case-main {
                grid-template-columns: 1fr 1fr;
            }
        } */

.case-card h3 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 32px);
    letter-spacing: -.06em;
    line-height: 1.1;
    margin: 0 0 24px;
}

.case-card p {
    color: var(--nyx-muted);
    font-size: 22px;
    line-height: 1.12;
    /* margin: 0 0 48px; */
}

.case-visual {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--nyx-bg);
    border: 1px solid var(--nyx-border);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: rgba(0, 212, 255, .22);
}

.case-bars {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.case-bars span {
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.case-bars span:first-child {
    background: var(--nyx-blue);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(45, 47, 69, .32);
}

@media (min-width: 640px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.result-value {
    color: var(--nyx-blue);
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.06em;
}

.result-label {
    color: var(--nyx-midnight);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.portfolio-btn {
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5em;
    text-transform: uppercase;
}

.portfolio-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    transition: background .3s ease, color .3s ease;
}

.portfolio-btn:hover .portfolio-circle {
    background: white;
    color: var(--nyx-bg);
}

/* PARTNERS */
.partners {
    padding: 96px 0;
    background: var(--nyx-surface);
}

.partners h2 {
    font-family: var(--font-display);
    font-size: 34px;
    text-align: center;
    margin: 0 0 64px;
    letter-spacing: -.04em;
}

.partners h2 span {
    color: var(--nyx-cyan);
}

.testimonial-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    padding: 32px;
    border-radius: 24px;
    background: var(--nyx-card);
    border: 1px solid var(--nyx-border);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--nyx-border);
    width: 40px;
    height: 40px;
}

.testimonial-company {
    color: var(--nyx-blue);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.testimonial p {
    color: var(--nyx-muted);
    font-size: 15px;
    line-height: 1.55;
    font-style: italic;
    margin: 0 0 32px;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-title {
    color: var(--nyx-muted);
    font-size: 12px;
}

/* STATS */
.stats {
    min-height: 60vh;
    padding: 128px 0;
    background: var(--nyx-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-panel {
    position: relative;
    z-index: 2;
    padding: 32px;
    border-radius: 48px;
    background: var(--nyx-surface);
    border: 1px solid var(--nyx-border);
    transform: scale(.92);
    transition: transform .2s linear;
}

@media (min-width: 768px) {
    .stats-panel {
        padding: 64px;
    }
}

.stats-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: 8fr 6fr;
    }
}

.stat-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .stat-list {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* @media (min-width: 768px) {
            .stat-item {
                align-items: flex-start;
            }
        } */

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--nyx-bg);
    border: 1px solid var(--nyx-border);
    display: grid;
    place-items: center;
    color: var(--nyx-cyan);
    margin-bottom: 16px;
}

.stat-icon .icon {
    width: 30px;
    height: 30px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -.06em;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--nyx-blue);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-sub {
    color: var(--nyx-muted);
    font-size: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.chart-card {
    padding: 24px;
    border-radius: 24px;
    /* background: white; */
    color: var(--nyx-midnight);
    position: relative;
    overflow: hidden;
}

.chart-card p {
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.chart-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -.02em;
}

.chart-sub {
    color: var(--nyx-blue);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chart-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--nyx-purple-50);
    color: var(--nyx-purple-800);
    display: grid;
    place-items: center;
}

.mini-chart {
    width: 100%;
    height: 96px;
    display: block;
    position: relative;
    z-index: 1;
}

.stats-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 32px;
    border-radius: 999px;
    background: var(--nyx-bg);
    border: 1px solid var(--nyx-border);
    color: var(--nyx-muted);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stats-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 10vw;
    font-weight: 700;
    color: rgba(255, 255, 255, .02);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
}


@media (max-width: 768px) {
    .stats-label {
        font-size: 12px;
    }
    .stats-bg-text {
        font-size: 80vw;
    }
}

/* CULTURE */
.culture {
    min-height: 100vh;
    padding: 128px 0;
    background: var(--nyx-bg);
    border-top: 1px solid var(--nyx-border);
    position: relative;
    overflow: hidden;
}

.culture-main {
    display: grid;
    gap: 96px;
    align-items: center;
    margin-bottom: 128px;
}

@media (min-width: 1024px) {
    .culture-main {
        grid-template-columns: 1fr 1fr;
    }
}

.culture h2 {
    color: var(--nyx-lime);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin: 0 0 24px;
}

.culture-quote {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 94px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.07em;
    margin: 0 0 48px;
}

.culture-quote span {
    display: inline-block;
    margin-right: 16px;
    opacity: .14;
    transition: opacity .4s ease;
}

.culture p {
    color: var(--nyx-muted);
    font-size: 22px;
    line-height: 1.45;
    margin: 0 0 48px;
}

.culture p span {
    color: var(--nyx-blue);
}

.purpose-box {
    padding: 40px;
    border-radius: 32px;
    background: var(--nyx-card);
    border: 1px solid var(--nyx-border);
    position: relative;
    overflow: hidden;
}

.purpose-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--nyx-cyan);
    opacity: .2;
    transition: width .7s ease;
}

.purpose-box:hover::before {
    width: 100%;
}

.purpose-box p {
    position: relative;
    z-index: 1;
    color: var(--nyx-muted);
    font-size: 19px;
    line-height: 1.5;
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--nyx-surface);
    border: 1px solid var(--nyx-border);
    position: relative;
    overflow: hidden;
    transition: border-color .3s ease;
}

.value-card:hover {
    border-color: var(--nyx-lime);
}

.value-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, .1), transparent 80%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

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

.value-card-inner {
    position: relative;
    z-index: 1;
}

.value-card .icon {
    color: var(--nyx-lime);
    margin-bottom: 16px;
    transition: transform .3s ease;
}

.value-card:hover .icon {
    transform: scale(1.1);
}

.value-card h4 {
    font-family: var(--font-display);
    margin: 0 0 8px;
    transition: color .3s ease;
}

.value-card:hover h4 {
    color: var(--nyx-lime);
}

.value-card p {
    color: var(--nyx-muted);
    font-size: 12px;
    margin: 0;
    line-height: 1.35;
}

.tribe-cta {
    position: relative;
    padding: 48px;
    color: var(--nyx-bg);
    background: url("../images/banner.comunidad.jpg") center/cover no-repeat;
    overflow: hidden;
    min-height: 320px;
    height: 500px;
    display: flex;
    justify-content: space-between;
}

.tribe-cta::before {
    content: "";
    position: absolute;
    top: -96px;
    right: -96px;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    filter: blur(100px);
    animation: pulseBlob 5s ease-in-out infinite;
}

@keyframes pulseBlob {

    0%,
    100% {
        transform: scale(1);
        opacity: .3;
    }

    50% {
        transform: scale(1.2);
        opacity: .5;
    }
}

.tribe-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    text-align: center;
}

@media (min-width: 768px) {
    .tribe-inner {
        flex-direction: row;
        text-align: left;
    }
}

.tribe-inner h2 {
    color: var(--nyx-bg);
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.06em;
    margin: 0 0 24px;
    text-transform: none;
}

.tribe-inner p {
    color: var(--nyx-bg);
    font-size: 19px;
    font-weight: 500;
    opacity: .9;
    margin: 0;
    max-width: 600px;
}

.tribe-btn {
    flex: 0 0 auto;
    padding: 20px 48px;
    border-radius: 999px;
    background: var(--nyx-blue);
    color: var(--nyx-midnight);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    transition: transform .25s ease;
}

.tribe-btn:hover {
    transform: scale(1.05);
}

/* FOOTER */
.footer {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--nyx-bg);
    border-top: 1px solid rgba(60, 52, 137, .45);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 4fr 8fr;
    }
}

.footer .logo {
    font-size: 32px;
    margin-bottom: 24px;
    width: 75px;
}

.footer-brand p {
    color: var(--nyx-muted);
    font-size: 14px;
    max-width: 320px;
    line-height: 1.5;
    margin: 0 0 32px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--nyx-border);
    display: grid;
    place-items: center;
    color: var(--nyx-muted);
    transition: background .25s ease, color .25s ease;
}

.social-icons a:hover {
    background: var(--nyx-blue);
    color: var(--nyx-bg);
}

.footer-links {
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer li a {
    color: var(--nyx-muted);
    font-size: 14px;
    transition: color .25s ease;
}

.footer li a:hover {
    color: var(--nyx-cyan);
}

/* .talk-card {
            padding: 24px;
            border-radius: 24px;
            background: var(--nyx-bg);
            border: 1px solid var(--nyx-border);
        }

        .talk-card h4 {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .talk-card p {
            color: var(--nyx-muted);
            font-size: 12px;
            line-height: 1.45;
            margin: 0 0 16px;
        }

        .talk-card button {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            background: var(--nyx-midnight);
            color: white;
            border: 1px solid var(--nyx-border);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background .25s ease;
        }

        .talk-card button:hover {
            background: var(--nyx-blue);
        } */

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--nyx-border);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: var(--nyx-muted);
    font-size: 10px;
    /* display: flex; */
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
}

.copyright span {
    color: var(--nyx-cyan);
    font-weight: 700;
}

.legal-links {
    display: flex;
    gap: 32px;
    color: var(--nyx-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.legal-links a:hover {
    color: white;
}

.footer-waves {
    position: absolute;
    inset: 0;
    opacity: .2;
    pointer-events: none;
}

@media (max-width: 760px) {
    .hero h1 {
        font-size: 60px;
    }

    .hero-eyebrow {
        gap: 10px;
    }

    .hero-eyebrow::before,
    .hero-eyebrow::after {
        width: 24px;
    }

    .hero-eyebrow span,
    .trusted {
        letter-spacing: .18em;
    }

    .pillar-grid,
    .eval-list,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .spec-card,
    .case-card {
        padding: 32px;
    }

    .horizontal-section.specialties,
    .horizontal-section.cases {
        height: auto;
    }

    .sticky-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 150px 0;
    }

    .horizontal-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
    }

    .horizontal-track>* {
        scroll-snap-align: center;
    }

    .menu-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* ================================
       LIGHT MODE OVERRIDES FOR WEBFLOW
       Mantiene acentos NYX, cambia la base a modo claro
    ================================= */
:root {
    --nyx-bg: #F7F8FC;
    --nyx-surface: #FFFFFF;
    --nyx-card: #EEF1F8;
    --nyx-border: #D8DEEA;
    --nyx-muted: #5F6B82;
    --nyx-midnight: #0A0F1C;
    --nyx-platinum: #1A1D2E;
    --nyx-purple-50: #EEEDFE;
    --nyx-purple-800: #3C3489;
}

html,
body,
.nyx-page {
    background: var(--nyx-bg);
    color: var(--nyx-midnight);
}

::selection {
    background: var(--nyx-blue);
    color: var(--nyx-midnight);
}

/* .logo span:first-child, */
.hero h1,
.hero p span,
.section-title,
.agentic h2,
.agentic h4,
.case-title,
.partners h2,
.testimonial-author,
.culture-title,
.culture-copy strong,
.footer h4,
.footer .logo span:first-child,
.mobile-menu-link-title,
.end-card h4 {
    color: var(--nyx-midnight);
}

.site-nav.is-scrolled {
    background: rgba(247, 248, 252, .86);
    border-bottom-color: rgba(216, 222, 234, .9);
    box-shadow: 0 16px 45px rgba(10, 15, 28, .06);
}

.nav-tools,
.tech-item,
.portfolio-btn,
.footer-copy,
.footer-bottom,
.mobile-menu-footer,
.mobile-menu-desc,
.mobile-menu-index {
    color: rgba(10, 15, 28, .52);
}

.desktop-links a:hover,
.lang-btn:hover,
.nav-icon-btn:hover,
.footer a:hover,
.mobile-menu-link:hover .mobile-menu-link-title {
    color: var(--nyx-blue);
}

.menu-toggle,
.mobile-menu,
.mobile-menu a,
.hero-logo:hover,
.primary-btn:hover span,
.secondary-btn:hover span,
.portfolio-btn:hover .portfolio-circle,
.footer-social a:hover,
.culture-cta .cta-btn {
    color: #FFFFFF;
}

.mobile-menu {
    background: var(--nyx-bg);
}

.mobile-menu::before {
    background: rgba(255, 255, 255, .72);
}

/* .contact-btn, */
.secondary-btn {
    background: var(--nyx-midnight);
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(10, 15, 28, .12);
    border-radius: 50px;
}

.contact-btn:hover,
.secondary-btn::after {
    background: var(--nyx-blue);
}

.primary-btn {
    color: var(--nyx-midnight);
    box-shadow: 0 20px 50px rgba(0, 194, 224, .18);
    border-radius: 15px;
}

.primary-btn::after {
    background: var(--nyx-midnight);
}

.hero {
    background: radial-gradient(circle at 70% 0%, rgba(0, 212, 255, .14), transparent 38%), var(--nyx-bg);
}

.hero-logo {
    color: rgba(10, 15, 28, .08);
    opacity: .75;
}

.hero-logo:hover {
    color: var(--nyx-midnight);
    filter: brightness(1) drop-shadow(0 0 32px rgba(0, 212, 255, .34));
}

.hero-n div,
.stats-bg-text,
.impact-word {
    color: rgba(10, 15, 28, .045);
}

.trusted::before,
.trusted::after,
.nav-divider {
    background: #fff;
}

.topographic-waves {
    opacity: .5;
}

.tech-marquee,
.specialties,
.success-cases,
.stats,
.culture {
    background: var(--nyx-bg);
}

.specialty-card,
.case-card,
.agentic-panel,
.value-card,
.testimonial-card,
.stats-panel,
.footer-talk,
.orbit-card,
.eval-box,
.end-card,
.footer {
    background-color: var(--nyx-surface);
    border-color: var(--nyx-border);
    box-shadow: 0 24px 70px rgba(10, 15, 28, .055);
}

.agentic,
.partners,
.footer {
    background: #FFFFFF;
}

.specialty-card:hover,
.case-card:hover,
.value-card:hover,
.testimonial-card:hover {
    background-color: #FFFFFF;
    box-shadow: 0 28px 80px rgba(0, 194, 224, .10);
}

.capability-chip {
    background: rgba(0, 194, 224, .075);
    color: rgba(10, 15, 28, .66);
    border-color: rgba(0, 194, 224, .20);
}

.specialty-card:hover .capability-chip {
    color: var(--nyx-midnight);
    background: rgba(0, 255, 159, .10);
}

.orbital-visual,
.orbit-ring,
.orbit-node,
.case-media,
.stat-icon,
.pillar-icon,
.chart-icon,
.footer-social a,
.portfolio-circle {
    background: var(--nyx-card);
    border-color: var(--nyx-border);
    color: var(--nyx-cyan);
}

.pillar-icon:hover,
.portfolio-btn:hover .portfolio-circle,
.footer-social a:hover {
    background: var(--nyx-blue);
    border-color: var(--nyx-blue);
    color: var(--nyx-midnight);
}

/* .chart-card {
            background: #FFFFFF;
            border: 1px solid var(--nyx-border);
            box-shadow: 0 18px 50px rgba(10, 15, 28, .08);
        } */

.culture-quote-card {
    background: #FFFFFF;
    border-color: var(--nyx-border);
}

.culture-cta {
    color: var(--nyx-midnight);
    box-shadow: 0 30px 90px rgba(0, 194, 224, .16);
}

.culture-cta .cta-btn {
    background: var(--nyx-midnight);
}

.footer {
    border-top-color: var(--nyx-border);
}

.footer-bottom {
    border-top-color: var(--nyx-border);
}

/* Ajustes de líneas y bordes que antes dependían de blanco translúcido */
.portfolio-circle,
.mobile-menu-link,
.footer-bottom,
.case-results,
.specialty-card-footer,
.culture,
.tech-marquee {
    border-color: rgba(10, 15, 28, .12);
}

.case-dot:not(.active),
.case-progress:not(.active) {
    background: rgba(10, 15, 28, .14);
}

/* ================================
   HERO RESPONSIVE FIX
================================ */

/* Ajustes generales del hero */
.hero-section {
    min-height: 100svh;
    height: auto;
    padding: clamp(96px, 10vh, 140px) 20px clamp(56px, 8vh, 96px);
}

.hero-content {
    width: min(100%, 1240px);
    padding: 0 16px;
}

.hero-logo-wrap {
    margin-bottom: clamp(32px, 6vw, 64px);
}

.hero-logo .logo {
    width: clamp(180px, 32vw, 500px);
    max-width: 100%;
}

.hero-copy {
    width: min(100%, 920px);
    margin: 0 auto;
}

.hero-section h1 {
    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.hero-section p {
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.25;
    max-width: 680px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.hero-eyebrow {
    gap: clamp(8px, 2vw, 16px);
    margin-bottom: clamp(20px, 3vw, 32px);
}

.hero-eyebrow span {
    font-size: clamp(8px, 1.5vw, 14px);
    letter-spacing: clamp(0.14em, 0.8vw, 0.4em);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    width: clamp(20px, 6vw, 48px);
}

/* Botones */
.hero-actions {
    gap: clamp(16px, 3vw, 32px);
}

.primary-btn {
    padding: 16px 28px;
    font-size: 12px;
    border-radius: 999px;
}

.primary-btn:hover {
    padding-right: 36px;
}

.trusted {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.18em;
    line-height: 1.4;
}

.trusted::before,
.trusted::after {
    width: 24px;
}

/* Blob responsive */
.blob-wrap {
    width: clamp(260px, 42vw, 600px);
    height: clamp(260px, 42vw, 600px);
}

.reveal-layer {
    background-size: cover;
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 110px;
    }

    .hero-logo .logo {
        width: clamp(220px, 46vw, 380px);
    }

    .hero-section h1 {
        font-size: clamp(58px, 10vw, 88px);
    }

    .hero-section p {
        max-width: 620px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100svh;
        padding: 96px 18px 56px;
        justify-content: center;
    }

    .hero-content {
        padding: 0;
    }

    .hero-logo-wrap {
        margin-bottom: 10px;
    }

    .hero-logo .logo {
        width: min(72vw, 280px);
    }

    .hero-section h1 {
        font-size: clamp(46px, 15vw, 68px);
        line-height: 0.94;
        letter-spacing: -0.065em;
        margin-bottom: 24px;
    }

    .hero-section p {
        font-size: 17px;
        line-height: 1.28;
        max-width: 92vw;
        margin-bottom: 30px;
    }

    .hero-eyebrow {
        gap: 10px;
        margin-bottom: 22px;
    }

    .hero-eyebrow span {
        max-width: 240px;
        line-height: 1.4;
        letter-spacing: 0.18em;
    }

    .hero-eyebrow::before,
    .hero-eyebrow::after {
        width: 22px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 18px;
    }

    .primary-btn {
        width: auto;
        max-width: 100%;
        padding: 15px 24px;
        font-size: 11px;
    }

    .trusted {
        width: min(100%, 320px);
        font-size: 8px;
        letter-spacing: 0.16em;
    }

    .trusted::before,
    .trusted::after {
        width: 20px;
        flex: 0 0 20px;
    }

    .blob-wrap {
        width: 320px;
        height: 320px;
    }

    .blob {
        filter: blur(52px);
    }

    .reveal-layer {
        inset: -8%;
        background-size: cover;
        opacity: 0.85;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .hero-section {
        padding: 88px 16px 48px;
    }

    .hero-logo .logo {
        width: min(76vw, 240px);
    }

    .hero-section h1 {
        font-size: clamp(40px, 16vw, 56px);
        line-height: 0.96;
    }

    .hero-section p {
        font-size: 16px;
        line-height: 1.3;
    }

    .hero-eyebrow span {
        max-width: 190px;
        font-size: 16px;
        letter-spacing: 0.14em;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }

    .trusted {
        font-size: 7.5px;
        letter-spacing: 0.13em;
    }

    .trusted::before,
    .trusted::after {
        display: none;
    }

    .blob-wrap {
        width: 260px;
        height: 260px;
    }
}

/* Landscape mobile: evita que el hero se corte en alto bajo */
@media (max-height: 620px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
        padding-top: 88px;
        padding-bottom: 48px;
    }

    .hero-logo-wrap {
        margin-bottom: 18px;
    }

    .hero-logo .logo {
        width: 220px;
    }

    .hero-section h1 {
        font-size: clamp(42px, 8vw, 64px);
        margin-bottom: 18px;
    }

    .hero-section p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-actions {
        flex-direction: row;
    }
}

/* NEWS */


.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 0;
}

.glow-blue {
    top: 15%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: var(--nyx-blue);
}

.glow-cyan {
    top: 50%;
    right: 5%;
    width: 650px;
    height: 650px;
    background: var(--nyx-cyan);
}

.glow-lime {
    bottom: 10%;
    left: 8%;
    width: 500px;
    height: 500px;
    background: var(--nyx-lime);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px clamp(24px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    color: var(--nyx-midnight);
}

.top-nav svg{
    width: 80px;
}

.brand-logo {
    display: inline-flex;
    align-items: baseline;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.06em;
    transition: opacity 0.25s ease;
}

.brand-logo:hover {
    opacity: 0.85;
}

.brand-logo .brand-n {
    color: var(--nyx-blue);
    font-size: 14px;
    margin-left: 2px;
    transform: translateY(-8px);
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.nav-links a {
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
    color: var(--nyx-blue);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--nyx-midnight);
    color: #fff;
    border-radius: 4px;
    font-size: 9px;
    letter-spacing: 0.18em;
}

.nav-cta:hover {
    color: #fff !important;
    background: var(--nyx-blue);
}

.main-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px clamp(24px, 5vw, 96px) 96px;
}

.article-header {
    margin-bottom: 40px;
    text-align: left;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 119, 238, 0.1);
    color: var(--nyx-blue);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.meta-text {
    color: var(--nyx-muted);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
}

.meta-text.bold {
    font-weight: 800;
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--nyx-blue);
}

.article-title {
    max-width: 1100px;
    margin: 0 0 16px;
    color: var(--nyx-midnight);
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.article-subtitle {
    max-width: 1024px;
    margin: 0;
    color: var(--nyx-muted);
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.6;
    font-weight: 500;
}

.brand-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 64px;
    border-radius: 32px;
    border: 1px solid rgba(229, 231, 235, 0.12);
    background: #06101e;
    box-shadow: var(--shadow-strong);
    user-select: none;
    min-height: 256px;
}

.brand-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent, rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

.banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../images/banner-noticia.png');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    transform: scale(1);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.brand-banner:hover .banner-bg {
    transform: scale(1.025);
}

.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: clamp(256px, 32vw, 352px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(48px, 6vw, 64px) clamp(32px, 8vw, 96px);
}

.banner-content svg {
    width: 250px;
}

.banner-logo {
    display: flex;
    align-items: baseline;
    color: #fff;
    font-size: clamp(56px, 8vw, 96px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.07em;
}

.banner-logo span:last-child {
    color: var(--nyx-cyan);
    font-size: clamp(24px, 3.4vw, 40px);
    margin-left: 2px;
    transform: translateY(-30%);
}

.banner-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.banner-tagline strong {
    color: #fff;
    font-weight: 800;
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
    gap: 48px;
    align-items: start;
}

.article-body {
    color: var(--nyx-midnight);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.75;
    text-align: justify;
}

.article-body>*+* {
    margin-top: 32px;
}

.article-body p {
    margin-bottom: 0;
}

.lead-paragraph {
    font-weight: 500;
    line-height: 1.75;
}

.lead-paragraph::first-letter {
    float: left;
    margin-right: 12px;
    color: var(--nyx-blue);
    font-size: 56px;
    line-height: 0.9;
    font-weight: 800;
}

.quote-block {
    position: relative;
    z-index: 1;
    margin: 32px 0;
    padding: 16px 24px 16px 32px;
    border-radius: 0 14px 14px 0;
    border-left: 4px solid var(--nyx-blue);
    background: rgba(249, 250, 251, 0.82);
    color: var(--nyx-midnight);
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.55;
    font-weight: 500;
    font-style: italic;
    transition: all 0.4s ease;
}

.quote-block::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--nyx-blue), var(--nyx-cyan));
    border-radius: 4px;
}

.quote-cyan {
    border-left-color: var(--nyx-cyan);
}

.quote-lime {
    border-left-color: var(--nyx-lime);
}

.quote-author {
    display: block;
    margin-top: 16px;
    color: var(--nyx-muted);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-style: normal;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(229, 231, 235, 0.7);
    margin: 48px 0;
}

.boilerplates {
    display: grid;
    gap: 32px;
    color: var(--nyx-muted);
    font-size: 14px;
    line-height: 1.7;
}

.info-box {
    padding: 24px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 24px;
    background: var(--nyx-surface);
}

.info-box h4 {
    margin: 0 0 12px;
    color: var(--nyx-midnight);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.info-box p {
    margin: 0;
}

.sidebar {
    display: grid;
    gap: 32px;
}

.side-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -64px;
    right: -64px;
    width: 128px;
    height: 128px;
    border-radius: 999px;
    background: rgba(0, 187, 117, 0.12);
    filter: blur(28px);
    transition: transform 0.5s ease;
}

.cert-card:hover::before {
    transform: scale(1.25);
}

.side-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(0, 187, 117, 0.1);
    color: var(--nyx-lime);
    font-size: 20px;
    font-weight: 800;
}

.side-card-kicker {
    display: block;
    color: var(--nyx-lime);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.side-card h4,
.profile-card h5 {
    margin: 0;
    color: var(--nyx-midnight);
}

.side-card h4 {
    font-size: 14px;
}

.side-card p {
    margin: 0 0 16px;
    color: var(--nyx-muted);
    font-size: 12px;
    line-height: 1.65;
}

.registration-level {
    display: block;
    padding: 10px 16px;
    border: 1px solid var(--nyx-border);
    border-radius: 10px;
    background: var(--nyx-surface);
    color: rgba(11, 12, 20, 0.8);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    user-select: none;
}

.leadership-card {
    display: grid;
    gap: 16px;
}

.leadership-title {
    margin: 0;
    color: var(--nyx-blue) !important;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profiles {
    display: grid;
    gap: 12px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: var(--nyx-surface);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--nyx-blue);
    box-shadow: 0 12px 30px -10px rgba(0, 119, 238, 0.1);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(0, 119, 238, 0.1);
    color: var(--nyx-blue);
    font-size: 14px;
    font-weight: 800;
}

.profile-avatar.cyan {
    background: rgba(0, 155, 180, 0.1);
    color: var(--nyx-cyan);
}

.profile-avatar.lime {
    background: rgba(0, 187, 117, 0.1);
    color: var(--nyx-lime);
}

.profile-card span {
    display: block;
    color: var(--nyx-muted);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.credentials-card {
    background: var(--nyx-midnight);
    color: #fff;
}

.credentials-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#0077EE 1px, transparent 1px);
    background-size: 12px 12px;
}

.credentials-inner {
    position: relative;
    z-index: 1;
}

.credentials-card .side-card-kicker {
    color: var(--nyx-blue);
}

.credentials-card h4 {
    margin: 16px 0 0;
    color: #fff;
}

.credentials-card p {
    margin: 16px 0;
    color: rgba(255, 255, 255, 0.72);
}

.credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.credential-tags span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.return-link-wrap {
    padding-top: 16px;
    text-align: center;
}

.return-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nyx-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.return-link:hover {
    color: var(--nyx-midnight);
}



.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.js-slide-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

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

    .sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .return-link-wrap {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 16px 20px;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        letter-spacing: 0.16em;
    }

    .nav-cta {
        display: none;
    }

    .main-content {
        padding: 112px 24px 72px;
    }

    .article-header {
        text-align: center;
    }

    .meta-row {
        justify-content: center;
    }

    .banner-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .banner-tagline {
        white-space: normal;
    }

    .article-body {
        text-align: left;
    }

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

@media (max-width: 480px) {
    .main-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-banner {
        border-radius: 22px;
    }

    .banner-content {
        padding: 42px 24px;
    }

    .quote-block {
        padding-right: 18px;
        padding-left: 24px;
    }

    .side-card {
        padding: 20px;
    }
}