/*================================================
Aztra Scroll Animations  ·  anime.js-grade 3D
- Scroll progress bar
- Cinematic 3D logo reveal scene (scroll + mouse driven)
- Signature container-scroll card with 3D depth parallax
- Brand dashboard mockup
Palette: Atomic Tangerine #567599 · Rich Black #0D1220 · Platinum #EDEDED
=================================================*/

:root {
    --aztra-tangerine: #567599;
    --aztra-tangerine-2: #89A6C6;
    --aztra-black: #0D1220;
    --aztra-platinum: #EDEDED;
    --aztra-display: 'Bebas Neue', 'Nexa', 'Poppins', Impact, sans-serif;
    --aztra-sans: 'Nexa', 'Poppins', 'Inter', -apple-system, sans-serif;
}

/* ---------- Brand typography ---------- */
.aztra-showcase__header h2, .aztra-sticky__head h2, .aztra-hpanel--intro h2,
.aztra-seq__big, .subtitle-aztra, .hero-content-2 h2, .content-title h2,
.section-title h2, .section-title-2 h2, .brand-analytics-section h2 {
    font-family: var(--aztra-display) !important;
    letter-spacing: 0.01em;
    font-weight: 400;       /* Bebas Neue is a single weight; looks bold by design */
}
/* Bebas Neue runs tight/tall — give big display lines a touch more line-height */
.aztra-showcase__header h2, .aztra-sticky__head h2, .aztra-hpanel--intro h2 { line-height: 1.02; }
.aztra-eyebrow, .aztra-showcase__eyebrow { font-family: var(--aztra-sans); }

/* ---------- Lenis smooth (inertia) scrolling ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Immersive world: one image you travel INTO the whole walkthrough ---------- */
.aztra-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    --sy: 0;
    /* deep brand "space" base */
    background:
        radial-gradient(120vw 90vh at 50% 120%, rgba(86,117,153,0.10), transparent 55%),
        radial-gradient(80vw 60vh at 80% -10%, rgba(86,117,153,0.06), transparent 60%),
        #0D1220;
}
/* the layer that continuously zooms in as you scroll (depth / pushing into the image) */
.aztra-aurora__zoom {
    position: absolute; inset: 0;
    transform-origin: 50% 50%;
    will-change: transform;
}
/* drifting nebula glows */
.aztra-aurora__nebula::before,
.aztra-aurora__nebula::after {
    content: "";
    position: absolute;
    width: 70vw; height: 70vw;
    border-radius: 50%;
    will-change: transform;
}
.aztra-aurora__nebula::before {
    left: -12vw;
    top: calc(-15vh + var(--sy) * 120vh);
    background: radial-gradient(circle, rgba(86,117,153,0.18) 0%, rgba(86,117,153,0.03) 42%, transparent 66%);
}
.aztra-aurora__nebula::after {
    right: -16vw;
    top: calc(70vh - var(--sy) * 110vh);
    background: radial-gradient(circle, rgba(137,166,198,0.13) 0%, rgba(86,117,153,0.02) 46%, transparent 68%);
}
/* starfield that streams toward you */
.aztra-aurora__stars { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.aztra-star {
    position: absolute; left: 0; top: 0;
    width: 3px; height: 3px; border-radius: 50%;
    background: rgba(255,210,170,0.9);
    box-shadow: 0 0 6px rgba(86,117,153,0.6);
    opacity: 0; will-change: transform, opacity;
}

/* The page content sits INSIDE the world: transparent sections so it shows through */
.navbar-area, #home, .aztra-intro, .aztra-showcase, .about-section,
.features-section-2, .brand-analytics-section, .aztra-sticky, .aztra-horizon,
.process-wrap, .contact-section-title, .contact-section, footer { position: relative; z-index: 1; }
body.dark-theme,
.hero-section-2, .about-section, .features-section-2, .brand-analytics-section,
.process-wrap, .contact-section-title, .contact-section,
.aztra-intro, .aztra-showcase, .aztra-sticky, .aztra-horizon { background: transparent !important; }
/* keep a dark base far behind everything so text stays readable */
html { background: #0D1220; }

/* ---------- Persistent device frame: the whole page lives "inside the screen" ---------- */
.aztra-frame { display: none !important; } /* retirado: hacía un rectángulo sobre las escenas 3D */
.aztra-frame-off {
    position: fixed;
    inset: 0;
    z-index: 45;
    pointer-events: none;
    opacity: 0;
    /* subtle cinematic vignette — NOT a fake glowing bezel */
    box-shadow:
        inset 0 0 0 1px rgba(86,117,153,0.10),
        inset 0 0 220px rgba(0,0,0,0.45);
    will-change: opacity;
}
@media (max-width: 768px) {
    .aztra-frame { box-shadow: inset 0 0 120px rgba(0,0,0,0.4); }
}
@media (prefers-reduced-motion: reduce) { .aztra-frame { display: none; } }

@media (prefers-reduced-motion: reduce) { .aztra-aurora { display: none; } }

/* ---------- Scroll progress bar ---------- */
.aztra-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px; width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    z-index: 9999;
    will-change: transform;
    box-shadow: 0 0 12px rgba(86, 117, 153, 0.6);
}

/* ================================================
   3D LOGO REVEAL SCENE
   ================================================ */
.aztra-reveal {
    position: relative;
    height: 240vh;                 /* runway for the multi-phase 3D play */
    background: transparent;
}

.aztra-reveal__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1300px;
    perspective-origin: 50% 45%;
}

/* expanding brand glow */
.aztra-reveal__glow {
    position: absolute;
    width: 60vmax; height: 60vmax;
    border-radius: 50%;
    /* soft radial gradient — no CSS blur filter (too costly to repaint each frame) */
    background: radial-gradient(circle, rgba(86,117,153,0.22) 0%, rgba(86,117,153,0.08) 32%, rgba(86,117,153,0.02) 55%, transparent 72%);
    pointer-events: none;
    will-change: transform, opacity;
    transform: scale(0.2);
    opacity: 0;
}

/* depth field of floating brand glyphs */
.aztra-reveal__field {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    pointer-events: none;
}
.aztra-reveal__glyph {
    position: absolute;
    left: 50%; top: 50%;
    width: 90px;
    opacity: 0;
    will-change: transform, opacity;
}
.aztra-reveal__glyph img { width: 100%; display: block; }

/* the 3D-tilting stage (mouse parallax lives here) */
.aztra-reveal__stage {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    text-align: center;
}

/* lockup wrapper — scroll progress drives scale/translateY/opacity */
.aztra-reveal__lockup {
    transform-style: preserve-3d;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* icon spins in 3D */
.aztra-reveal__icon-wrap {
    transform-style: preserve-3d;
    will-change: transform;
}
.aztra-reveal__icon {
    width: clamp(120px, 18vw, 230px);
    height: auto;
    display: block;
}

/* wordmark wipes in */
.aztra-reveal__wordmark {
    margin-top: 26px;
    width: clamp(220px, 32vw, 460px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 0 var(--wipe, 0%), transparent var(--wipe, 0%));
    mask-image: linear-gradient(90deg, #000 0 var(--wipe, 0%), transparent var(--wipe, 0%));
}
.aztra-reveal__wordmark img { width: 100%; display: block; }

/* headline — per-letter stagger */
.aztra-reveal__headline {
    margin: 30px 0 0;
    color: var(--aztra-platinum);
    font-size: clamp(20px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 18ch;
}
.aztra-reveal__headline .ch {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
}
.aztra-reveal__headline .grad {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* scroll hint */
.aztra-reveal__hint {
    position: absolute;
    bottom: 38px; left: 50%;
    transform: translateX(-50%);
    color: rgba(237,237,237,0.5);
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    will-change: opacity;
}
.aztra-reveal__hint .mouse {
    width: 22px; height: 36px; border: 2px solid rgba(237,237,237,0.4); border-radius: 12px;
    position: relative;
}
.aztra-reveal__hint .mouse::after {
    content:""; position:absolute; left:50%; top:7px; width:4px; height:7px;
    background: var(--aztra-tangerine); border-radius: 2px; transform: translateX(-50%);
    animation: aztraWheel 1.5s ease-in-out infinite;
}
@keyframes aztraWheel { 0%,100%{opacity:1;transform:translate(-50%,0)} 50%{opacity:.2;transform:translate(-50%,10px)} }

/* ================================================
   CINEMATIC INTRO  ·  clean, typographic, premium
   ================================================ */
.aztra-intro { position: relative; height: 260vh; background: transparent; }
.aztra-intro__sticky {
    position: sticky; top: 0; height: 100vh;
    display: grid; place-items: center; overflow: hidden;
}
.aztra-intro__glow {
    position: absolute; width: 90vmin; height: 90vmin; border-radius: 50%;
    background: radial-gradient(circle, rgba(86,117,153,0.16) 0%, rgba(86,117,153,0.04) 38%, transparent 66%);
    pointer-events: none; will-change: transform, opacity;
}
.aztra-intro__lock {
    position: relative; text-align: center; padding: 0 6vw;
    will-change: transform, opacity;
}
.aztra-intro__mark {
    width: clamp(64px, 8vw, 104px); height: auto; display: block; margin: 0 auto 30px;
    will-change: transform, opacity;
}
.aztra-intro__word {
    font-family: var(--aztra-display);
    color: #fff; margin: 0;
    font-size: clamp(72px, 16vw, 240px);
    line-height: 0.82; font-weight: 400;
    letter-spacing: 0.03em; text-indent: 0.03em;   /* offset the trailing tracking */
}
.aztra-intro__word .ch { display: inline-block; opacity: 0; transform: translateY(0.5em); will-change: transform, opacity; }
.aztra-intro__rule {
    display: block; height: 2px; width: 0; margin: 32px auto 22px;
    background: linear-gradient(90deg, transparent, var(--aztra-tangerine), transparent);
    will-change: width;
}
.aztra-intro__tag {
    font-family: var(--aztra-sans);
    text-transform: uppercase; letter-spacing: 0.4em; text-indent: 0.4em;
    font-size: clamp(10px, 1.05vw, 14px);
    color: rgba(237,237,237,0.62); margin: 0; opacity: 0;
}
.aztra-intro__cue {
    position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--aztra-sans); font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
    color: rgba(237,237,237,0.4); pointer-events: none; will-change: opacity;
}
.aztra-intro__cueline { width: 1px; height: 42px; background: linear-gradient(180deg, var(--aztra-tangerine), transparent); }

@media (prefers-reduced-motion: reduce) {
    .aztra-intro { height: 100vh; }
    .aztra-intro__word .ch { opacity: 1; transform: none; }
    .aztra-intro__rule { width: 120px; }
    .aztra-intro__tag { opacity: 1; }
    .aztra-intro__cue { display: none; }
}

/* ================================================
   CINEMATIC SCROLL SEQUENCE  (pinned, scene-by-scene)
   ================================================ */
.aztra-seq { position: relative; height: 480vh; background: transparent; }
.aztra-seq__sticky {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: grid; place-items: center;
}
.aztra-seq__bg {
    position: absolute; inset: 0;
    background: radial-gradient(75vw 75vh at 50% 45%, rgba(86,117,153,0.10), transparent 60%);
    will-change: opacity, transform;
}
.aztra-seq__grain {
    position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.5) 0.5px, transparent 0.5px);
    background-size: 4px 4px;
}
.aztra-seq__scene {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 6vw;
    opacity: 0; will-change: opacity, transform;
    transform-origin: center center;
}
.aztra-seq__big {
    color: var(--aztra-platinum); font-weight: 800; letter-spacing: -0.02em;
    font-size: clamp(36px, 7.5vw, 118px); line-height: 1.0; margin: 0; max-width: 15ch;
}
.aztra-seq__big .grad {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.aztra-seq__logo { width: clamp(150px, 22vw, 330px); height: auto; display: block; will-change: transform; }
.aztra-seq__logo--sm { width: clamp(86px, 10vw, 140px); margin: 0 auto 6px; }
.aztra-seq__burst {
    position: absolute; left: 50%; top: 50%;
    width: 60vmax; height: 60vmax; border-radius: 50%;
    transform: translate(-50%,-50%) scale(0.2); opacity: 0;
    background: radial-gradient(circle, rgba(86,117,153,0.38) 0%, rgba(86,117,153,0.06) 38%, transparent 64%);
    will-change: transform, opacity;
}
.aztra-seq__payoff { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.aztra-seq__payoff .default-btn { margin-top: 6px; }
.aztra-seq__dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 3;
}
.aztra-seq__dots span { width: 26px; height: 3px; border-radius: 3px; background: rgba(237,237,237,0.20); transition: background 0.3s ease; }
.aztra-seq__dots span.on { background: var(--aztra-tangerine); }
@media (prefers-reduced-motion: reduce) {
    .aztra-seq { height: auto; }
    .aztra-seq__sticky { position: static; height: auto; display: block; }
    .aztra-seq__scene { position: static; opacity: 1 !important; transform: none !important; padding: 70px 6vw; }
    .aztra-seq__burst, .aztra-seq__dots { display: none; }
}

/* ================================================
   3D Container Scroll Showcase  (dashboard)
   ================================================ */
.aztra-showcase {
    position: relative;
    height: 250vh;          /* runway for the dive-into-screen */
    background: transparent;
    overflow: clip;
}
.aztra-showcase__sticky {
    position: sticky; top: 0;
    height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}
.aztra-showcase__sticky::before {
    content: "";
    position: absolute;
    width: 80vw; max-width: 1100px; height: 60vh; top: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86, 117, 153, 0.18) 0%, rgba(86, 117, 153, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
}
.aztra-showcase__header {
    max-width: 60rem; margin: 0 auto 1.2rem;
    text-align: center; padding: 0 20px;
    will-change: transform, opacity;
}
.aztra-showcase__eyebrow {
    display: inline-block; font-size: 13px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--aztra-tangerine);
    font-weight: 600; margin-bottom: 14px;
}
.aztra-showcase__header h2 {
    color: var(--aztra-platinum);
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 800; line-height: 1.05; margin: 0;
}
.aztra-showcase__header h2 .grad {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.aztra-showcase__card {
    position: relative;
    width: min(92vw, 1100px);
    height: min(62vh, 600px);
    margin: 0 auto;
    border-radius: 30px;
    padding: 14px;
    /* brushed-metal device body */
    background:
        linear-gradient(145deg, #3a3a3d 0%, #161618 42%, #0c0c0d 60%, #2a2a2d 100%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.18),
        inset 0 -2px 6px rgba(0,0,0,0.6),
        0 40px 80px rgba(0,0,0,0.55),
        0 120px 120px rgba(0,0,0,0.25);
    transform-origin: center center;
    transform: scale(0.64);   /* JS drives the dive */
    will-change: transform, border-radius;
}
/* metallic edge ring */
.aztra-showcase__card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    padding: 1px; pointer-events: none;
    background: linear-gradient(145deg, rgba(255,255,255,0.35), rgba(255,255,255,0) 35%, rgba(255,255,255,0.08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
/* camera notch */
.aztra-showcase__notch {
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 8px; height: 8px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a3340, #05070a 70%);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.6), inset 0 0 2px rgba(120,160,220,0.5);
    z-index: 3;
}
/* when "inside" the screen: bezel vanishes, content fills edge-to-edge */
.aztra-showcase__card.is-immersed {
    padding: 0; box-shadow: none; background: #0B101D;
}
.aztra-showcase__card.is-immersed::before { opacity: 0; }
.aztra-showcase__card.is-immersed .aztra-showcase__notch { opacity: 0; }
.aztra-showcase__card.is-immersed .aztra-showcase__screen { border-radius: 0; }
.aztra-showcase__screen {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 18px; overflow: hidden;
    background: #0B101D;
}
/* moving light glare across the glass */
.aztra-showcase__glare {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.06) 55%, transparent 70%);
    transform: translateX(calc(-60% + var(--glare, 0) * 160%));
    opacity: var(--glareO, 0.6);
    will-change: transform, opacity;
}

/* WARP — flying THROUGH the screen into the brand core */
.aztra-showcase__warp {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    display: block; opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(86,117,153,0.55) 0%, rgba(86,117,153,0.18) 22%, rgba(86,117,153,0.04) 42%, transparent 62%);
    will-change: opacity;
}
.aztra-showcase__warp-streaks {
    position: absolute; inset: -60%;
    background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(137,166,198,0) 0deg, rgba(137,166,198,0.22) 0.6deg, rgba(137,166,198,0) 2.6deg);
    transform: scale(0.2);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 30%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 30%, transparent 75%);
    will-change: transform;
}
.aztra-showcase__warp img {
    position: absolute; left: 50%; top: 50%;
    width: 22vmin; height: auto;
    transform: translate(-50%, -50%) scale(0.15);
    will-change: transform;
}

/* ---------- Brand Analytics Dashboard Mockup ---------- */
.aztra-dash {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    color: var(--aztra-platinum);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(900px 400px at 100% -10%, rgba(86, 117, 153, 0.10), transparent 60%), #0B101D;
}
.aztra-dash__bar {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid rgba(237, 237, 237, 0.08);
}
.aztra-dash__bar img { height: 26px; width: auto; }
.aztra-dash__dots { display: flex; gap: 7px; margin-left: auto; }
.aztra-dash__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(237, 237, 237, 0.18); }
.aztra-dash__dots span:first-child { background: var(--aztra-tangerine); }
.aztra-dash__body {
    flex: 1; display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 16px; padding: 18px 20px; min-height: 0;
}
.aztra-dash__col { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.aztra-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aztra-kpi {
    background: rgba(237, 237, 237, 0.04);
    border: 1px solid rgba(237, 237, 237, 0.08);
    border-radius: 14px; padding: 14px 16px;
}
.aztra-kpi__label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(237,237,237,0.55); }
.aztra-kpi__value { font-size: clamp(18px, 2vw, 26px); font-weight: 800; margin-top: 6px; }
.aztra-kpi__delta { font-size: 12px; font-weight: 600; margin-top: 4px; color: #56d364; }
.aztra-kpi__delta.down { color: #ff7b72; }
.aztra-kpi__value .unit { color: var(--aztra-tangerine); }
.aztra-card {
    background: rgba(237, 237, 237, 0.04);
    border: 1px solid rgba(237, 237, 237, 0.08);
    border-radius: 14px; padding: 16px; flex: 1;
    display: flex; flex-direction: column; min-height: 0;
    overflow: hidden;
}
/* the donut card sizes to its content; the trend card absorbs the rest */
.aztra-dash__col--side .aztra-card:first-child { flex: 0 0 auto; }
.aztra-card__title { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.aztra-card__title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--aztra-tangerine); }
.aztra-bars { display: flex; align-items: flex-end; gap: 10px; flex: 1; min-height: 90px; }
.aztra-bars .bar {
    flex: 1; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--aztra-tangerine), rgba(86, 117, 153, 0.25));
    height: var(--h, 40%);
    animation: aztraGrow 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--d, 0s); transform-origin: bottom;
}
.aztra-bars .bar:nth-child(3) { background: linear-gradient(180deg, var(--aztra-tangerine-2), rgba(137,166,198,0.3)); }
@keyframes aztraGrow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
/* SVG donut: aspect-locked, can't deform under card transforms */
.aztra-donut { position: relative; width: 116px; height: 116px; margin: 6px auto 4px; }
.aztra-donut svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.aztra-donut circle { fill: none; stroke-width: 12; }
.aztra-donut .track { stroke: rgba(237,237,237,0.1); }
.aztra-donut .seg-a {
    stroke: var(--aztra-tangerine); stroke-linecap: round;
    stroke-dasharray: 193 301.6;
}
.aztra-donut .seg-b {
    stroke: var(--aztra-tangerine-2);
    stroke-dasharray: 54.3 301.6; stroke-dashoffset: -193;
}
.aztra-donut__center {
    position: absolute; inset: 0;
    display: grid; place-content: center; text-align: center;
}
.aztra-donut__center b { font-size: 23px; line-height: 1.1; }
.aztra-donut__center small { display: block; font-size: 9px; color: rgba(237,237,237,0.55); letter-spacing: 1px; text-transform: uppercase; }
.aztra-legend { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 12px; }
.aztra-legend div { display: flex; align-items: center; gap: 8px; color: rgba(237,237,237,0.75); }
.aztra-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.aztra-trend { flex: 1; min-height: 80px; }
.aztra-trend svg { width: 100%; height: 100%; display: block; }
.aztra-trend .line {
    fill: none; stroke: var(--aztra-tangerine); stroke-width: 2.5;
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: aztraDraw 1.6s ease-out 0.3s forwards;
}
@keyframes aztraDraw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .aztra-showcase { height: 200vh; }
    .aztra-dash__body { grid-template-columns: 1fr; }
    .aztra-dash__col--side { display: none; }
    .aztra-reveal { height: 240vh; }
    .aztra-reveal__glyph { width: 60px; }
}
@media (max-width: 768px) {
    .aztra-showcase__card { height: min(56vh, 460px); border-radius: 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .aztra-showcase__card { transform: none !important; }
    .aztra-bars .bar, .aztra-trend .line { animation: none !important; }
    .aztra-bars .bar { transform: none; opacity: 1; }
    .aztra-trend .line { stroke-dashoffset: 0; }
    .aztra-reveal { height: 100vh; }
    .aztra-reveal__icon-wrap, .aztra-reveal__lockup, .aztra-reveal__stage { transform: none !important; }
    .aztra-reveal__glow { transform: scale(1); opacity: 1; }
    .aztra-reveal__wordmark { --wipe: 100%; }
    .aztra-reveal__headline .ch { opacity: 1; transform: none; }
    .aztra-reveal__hint, .aztra-reveal__field { display: none; }
}

/* ================================================
   STICKY SCROLL REVEAL  ·  "Así trabajamos"
   ================================================ */
.aztra-sticky {
    position: relative;
    background: transparent;
    padding: 90px 0 60px;
}
.aztra-eyebrow {
    display: inline-block; font-size: 13px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--aztra-tangerine); font-weight: 600;
}
.aztra-grad, .grad-orange {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.aztra-sticky__head { text-align: center; margin-bottom: 60px; }
.aztra-sticky__head h2 {
    color: var(--aztra-platinum); font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 800; margin-top: 14px;
}
.aztra-sticky__head h2 .grad {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.aztra-sticky__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
/* steps column with tracing beam */
.aztra-sticky__steps { position: relative; padding-left: 42px; }
.aztra-beam {
    position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px;
    background: rgba(237,237,237,0.10); border-radius: 3px; overflow: hidden;
}
.aztra-beam__fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 0%;
    background: linear-gradient(180deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(86,117,153,0.7);
    transition: height 0.25s ease;
}
.aztra-step {
    position: relative; padding: 30px 0; opacity: 0.35;
    min-height: 56vh; display: flex; flex-direction: column; justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.aztra-step.is-active { opacity: 1; }
.aztra-step__num {
    position: absolute; left: -42px; top: 30px;
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: #151515; border: 2px solid rgba(237,237,237,0.18);
    color: rgba(237,237,237,0.6); font-size: 12px; font-weight: 700;
    transition: all 0.35s ease; z-index: 2;
}
.aztra-step.is-active .aztra-step__num {
    background: var(--aztra-tangerine); border-color: var(--aztra-tangerine);
    color: #fff; box-shadow: 0 0 0 6px rgba(86,117,153,0.18);
}
.aztra-step h3 { color: var(--aztra-platinum); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 0 0 10px; }
.aztra-step p { color: rgba(237,237,237,0.65); font-size: 16px; line-height: 1.7; margin: 0; max-width: 30ch; }

/* sticky visual / device */
.aztra-sticky__visual { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.aztra-sticky__device {
    position: relative; width: 100%; aspect-ratio: 4/3;
    border: 4px solid #2a2a2a; border-radius: 24px; background: #151515; padding: 10px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.aztra-screen {
    position: absolute; inset: 10px; border-radius: 16px; overflow: hidden;
    background: radial-gradient(700px 300px at 100% -10%, rgba(86,117,153,0.10), transparent 60%), #0B101D;
    padding: 26px; display: flex; flex-direction: column;
    opacity: 0; transform: scale(0.96) translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none;
}
.aztra-screen.is-active { opacity: 1; transform: none; }
.aztra-screen__tag { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--aztra-tangerine); font-weight: 700; }
.aztra-screen__title { color: var(--aztra-platinum); font-size: 24px; font-weight: 800; margin: 8px 0 22px; }

/* screen 0 — scan bars */
.aztra-scan { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.aztra-scan .row { display: flex; align-items: center; gap: 14px; }
.aztra-scan .lbl { width: 80px; color: rgba(237,237,237,0.5); font-size: 12px; }
.aztra-scan .track { flex: 1; height: 10px; border-radius: 6px; background: rgba(237,237,237,0.08); overflow: hidden; }
.aztra-scan .fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2)); }
.aztra-screen.is-active .aztra-scan .fill { animation: aztraScan 1.1s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes aztraScan { to { width: var(--w, 70%); } }

/* screen 1 — connection nodes */
.aztra-nodes { flex: 1; position: relative; margin-top: 10px; }
.aztra-nodes svg { width: 100%; height: 100%; }
.aztra-nodes .lnk { stroke: rgba(86,117,153,0.5); stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; }
.aztra-screen.is-active .aztra-nodes .lnk { animation: aztraDraw2 1s ease forwards; }
.aztra-screen.is-active .aztra-nodes .lnk:nth-child(2){animation-delay:.15s} .aztra-screen.is-active .aztra-nodes .lnk:nth-child(3){animation-delay:.3s} .aztra-screen.is-active .aztra-nodes .lnk:nth-child(4){animation-delay:.45s}
@keyframes aztraDraw2 { to { stroke-dashoffset: 0; } }
.aztra-nodes .nd { fill: #0B101D; stroke: var(--aztra-tangerine); stroke-width: 2.5; }
.aztra-nodes .nd-c { fill: var(--aztra-tangerine); }
.aztra-nodes .ndt {
    fill: rgba(237,237,237,0.75); font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; font-family: var(--aztra-sans, 'Poppins', sans-serif);
}
.aztra-nodes .ndt-c { fill: var(--aztra-tangerine); font-size: 10px; }

/* screen 2 — automation tasks */
.aztra-tasks { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.aztra-tasks .task {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
    background: rgba(237,237,237,0.04); border: 1px solid rgba(237,237,237,0.08);
    color: rgba(237,237,237,0.85); font-size: 14px; opacity: 0; transform: translateX(-16px);
}
.aztra-tasks .task .chk {
    width: 22px; height: 22px; border-radius: 50%; background: var(--aztra-tangerine);
    color: #fff; display: grid; place-items: center; font-size: 12px; flex-shrink: 0;
}
.aztra-screen.is-active .aztra-tasks .task { animation: aztraSlide 0.5s ease forwards; }
.aztra-screen.is-active .aztra-tasks .task:nth-child(2){animation-delay:.18s} .aztra-screen.is-active .aztra-tasks .task:nth-child(3){animation-delay:.36s}
@keyframes aztraSlide { to { opacity: 1; transform: none; } }

/* screen 3 — mini chart */
.aztra-mini { display: flex; align-items: flex-end; gap: 12px; flex: 1; margin-top: 14px; }
.aztra-mini .b { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--aztra-tangerine), rgba(86,117,153,0.25)); height: 30%; transform-origin: bottom; }
.aztra-screen.is-active .aztra-mini .b { animation: aztraGrow 1s cubic-bezier(0.22,1,0.36,1) both; }
.aztra-mini .b:nth-child(2){animation-delay:.08s} .aztra-mini .b:nth-child(3){animation-delay:.16s} .aztra-mini .b:nth-child(4){animation-delay:.24s} .aztra-mini .b:nth-child(5){animation-delay:.32s}

/* ================================================
   HORIZONTAL PINNED SCROLL  ·  "Capacidades"
   ================================================ */
.aztra-horizon { position: relative; height: 360vh; background: transparent; }
.aztra-horizon__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.aztra-horizon__track { display: flex; gap: 30px; padding: 0 6vw; will-change: transform; }
.aztra-hpanel--intro {
    flex: 0 0 auto; width: min(80vw, 520px); display: flex; flex-direction: column; justify-content: center;
}
.aztra-hpanel--intro h2 { color: var(--aztra-platinum); font-size: clamp(34px, 5vw, 64px); font-weight: 800; margin: 16px 0; line-height: 1.05; }
.aztra-hpanel--intro h2 .grad { background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aztra-hpanel--intro p { color: rgba(237,237,237,0.55); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.aztra-hcard {
    flex: 0 0 auto; width: min(78vw, 380px); height: 62vh; max-height: 520px;
    border-radius: 24px; padding: 36px;
    background: linear-gradient(160deg, rgba(237,237,237,0.06), rgba(237,237,237,0.02));
    border: 1px solid rgba(237,237,237,0.10);
    display: flex; flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.aztra-hcard:hover { border-color: rgba(86,117,153,0.5); transform: translateY(-6px); }
.aztra-hcard__icon {
    width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
    background: rgba(86,117,153,0.14); color: var(--aztra-tangerine); font-size: 30px; margin-bottom: auto;
}
.aztra-hcard h3 { color: var(--aztra-platinum); font-size: 24px; font-weight: 800; margin: 24px 0 12px; }
.aztra-hcard p { color: rgba(237,237,237,0.6); font-size: 15px; line-height: 1.7; margin: 0; }
.aztra-hcard__stat {
    margin-top: 22px; font-size: 38px; font-weight: 800;
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Responsive: stacked fallbacks ---------- */
@media (max-width: 992px) {
    .aztra-sticky__grid { grid-template-columns: 1fr; gap: 0; }
    .aztra-sticky__visual { position: relative; height: auto; margin-top: 30px; order: -1; }
    .aztra-sticky__device { aspect-ratio: 16/10; }
    .aztra-step { min-height: auto; display: block; padding: 22px 0; }
    .aztra-horizon { height: auto; }
    .aztra-horizon__sticky { position: relative; height: auto; padding: 70px 0; }
    .aztra-horizon__track { flex-wrap: wrap; justify-content: center; transform: none !important; gap: 20px; }
    .aztra-hpanel--intro { width: 100%; text-align: center; margin-bottom: 10px; }
    .aztra-hcard { width: min(90vw, 360px); height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .aztra-screen { opacity: 1 !important; transform: none !important; }
    .aztra-screen:not(.is-active) { display: none; }
    .aztra-horizon__track { transform: none !important; }
}

/* ================================================
   IMMERSIVE JOURNEY  ·  continuity between scenes
   ================================================ */
html {
    scroll-padding-top: 84px;
    --aztra-page: 0;
    --aztra-velocity: 0;
    --aztra-direction: 1;
}
body {
    overflow-x: clip;
}

.aztra-aurora::after {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    opacity: calc(.14 + var(--aztra-page) * .28);
    background:
        linear-gradient(108deg, transparent 26%, rgba(86,117,153,.08) 49%, transparent 72%),
        radial-gradient(circle at calc(18% + var(--aztra-page) * 64%) 50%, rgba(86,117,153,.12), transparent 28%);
    transform: translate3d(0, calc(var(--aztra-velocity) * -16px), 0) rotate(calc(var(--aztra-velocity) * .7deg));
    will-change: transform, opacity;
}

.aztra-depth-section {
    isolation: isolate;
}
.aztra-depth-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 8vw;
    right: 8vw;
    top: 0;
    height: 1px;
    opacity: 0;
    transform: scaleX(.2);
    background: linear-gradient(90deg, transparent, rgba(86,117,153,.32), transparent);
    transition: opacity .7s ease, transform 1.1s cubic-bezier(.16,1,.3,1);
}
.aztra-depth-section.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

.aztra-motion-item {
    opacity: 0;
    transform: translate3d(0, 54px, 0) scale(.975);
    filter: blur(6px);
    transition:
        opacity .9s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
        transform 1s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
        filter .8s ease var(--reveal-delay, 0ms);
    will-change: transform, opacity;
}
.aztra-motion-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

.aztra-journey {
    position: fixed;
    z-index: 55;
    right: clamp(18px, 2.2vw, 36px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 18px 0;
}
.aztra-journey__line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 7px;
    width: 1px;
    background: rgba(237,237,237,.12);
    overflow: hidden;
}
.aztra-journey__line span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: 50% 0;
    background: linear-gradient(180deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    box-shadow: 0 0 10px rgba(86,117,153,.8);
    will-change: transform;
}
.aztra-journey a {
    position: relative;
    min-width: 118px;
    min-height: 24px;
    padding-right: 26px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: rgba(237,237,237,.34);
    text-decoration: none;
    font-family: var(--aztra-sans);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .25s ease, transform .25s ease;
}
.aztra-journey a::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 11px;
    height: 11px;
    border: 1px solid rgba(237,237,237,.28);
    border-radius: 50%;
    background: #080808;
    transform: translateY(-50%) scale(.65);
    transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.aztra-journey a b {
    font-weight: 700;
    color: var(--aztra-tangerine);
    opacity: .45;
}
.aztra-journey a span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .35s ease, opacity .25s ease;
}
.aztra-journey a:hover,
.aztra-journey a:focus-visible,
.aztra-journey a.is-active {
    color: var(--aztra-platinum);
    transform: translateX(-4px);
}
.aztra-journey a:hover span,
.aztra-journey a:focus-visible span,
.aztra-journey a.is-active span {
    max-width: 90px;
    opacity: 1;
}
.aztra-journey a.is-active::after {
    border-color: var(--aztra-tangerine);
    background: var(--aztra-tangerine);
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 5px rgba(86,117,153,.12), 0 0 18px rgba(86,117,153,.55);
}
.aztra-journey a:focus-visible {
    outline: 2px solid var(--aztra-tangerine);
    outline-offset: 5px;
    border-radius: 4px;
}

.aztra-showcase__card {
    transition: box-shadow .35s ease;
}
.aztra-showcase.is-current .aztra-showcase__card {
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.18),
        inset 0 -2px 6px rgba(0,0,0,.6),
        0 36px 90px rgba(0,0,0,.62),
        0 0 100px rgba(86,117,153,.11);
}
.aztra-sticky__device {
    transform: perspective(1200px) rotateY(var(--section-tilt, 0deg));
    transition: transform .14s linear, box-shadow .35s ease;
    will-change: transform;
}
.aztra-sticky.is-current .aztra-sticky__device {
    box-shadow: 0 50px 110px rgba(0,0,0,.62), 0 0 80px rgba(86,117,153,.1);
}

@media (max-width: 1100px) {
    .aztra-journey { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .aztra-motion-item {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    .aztra-aurora::after,
    .aztra-depth-section::after,
    .aztra-journey {
        display: none;
    }
    .aztra-sticky__device {
        transform: none;
        transition: none;
    }
}

/* ================================================
   REAL 3D OBJECTS  ·  tablet / laptop / phone
   ================================================ */

.aztra-obj-caption {
    text-align: center; margin: 36px 0 0; color: rgba(237,237,237,0.45);
    font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600;
}

/* ---------- tablet: realistic hardware for the process device ---------- */
.aztra-sticky__device {
    border: none;
    padding: 16px;
    border-radius: 30px;
    background: linear-gradient(150deg, #3c3c3f 0%, #232326 30%, #1b1b1d 65%, #2c2c2f 100%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.22),
        inset 0 -1px 2px rgba(0,0,0,0.75),
        inset 0 0 0 3px rgba(0,0,0,0.55),
        0 50px 110px rgba(0,0,0,0.62);
}
.aztra-screen { inset: 16px; border-radius: 16px; }
.aztra-tab__edge {
    position: absolute; inset: 6px; border-radius: 24px; pointer-events: none; z-index: 3;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 0 14px rgba(0,0,0,0.85);
}
.aztra-tab__cam {
    position: absolute; top: 50%; left: 6px; transform: translateY(-50%);
    width: 7px; height: 7px; border-radius: 50%; z-index: 4;
    background: radial-gradient(circle at 35% 35%, #3d5a72 0%, #0b0d10 55%);
    box-shadow: 0 0 0 2.5px #0a0a0b, 0 0 0 3.5px rgba(255,255,255,0.07);
}
.aztra-tab__btn {
    position: absolute; height: 3px; top: -3px; border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #55555a, #232326);
}
.aztra-tab__btn--pwr { right: 60px; width: 54px; }
.aztra-tab__btn--vol { right: 128px; width: 86px; }

/* ---------- laptop showcase: free-flowing (no pin) ---------- */
.aztra-macshow { position: relative; margin: 20px 0 130px; }
.aztra-mac3d { display: none; position: relative; z-index: 1; width: 100%; height: clamp(400px, 60vw, 760px); }
.aztra-macshow.is-3d .aztra-mac3d { display: block; }
.aztra-macshow.is-3d .aztra-laptop { display: none; }

/* stage dressing: display headline + light rig around the machine */
.aztra-macshow__head { text-align: center; margin-bottom: 10px; }
.aztra-macshow__head h3 {
    color: var(--aztra-platinum);
    font-family: var(--aztra-display, 'Bebas Neue', sans-serif);
    font-size: clamp(40px, 5.2vw, 76px) !important;
    line-height: 1.02; margin: 14px 0 0; font-weight: 400; letter-spacing: 0.02em;
}
.aztra-macshow__glow {
    position: absolute; left: 50%; top: 42%; z-index: 0; pointer-events: none;
    width: min(92vw, 940px); height: 64%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(86,117,153,0.16), transparent 65%);
    filter: blur(12px);
}
.aztra-macshow__floorlight {
    position: absolute; left: 50%; bottom: 3%; z-index: 0; pointer-events: none;
    width: min(72vw, 780px); height: 74px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(86,117,153,0.3), transparent 70%);
    filter: blur(16px);
}
@media (max-width: 768px) {
    .aztra-mac3d { height: clamp(280px, 74vw, 480px); }
}
.aztra-macshow__sticky {
    display: flex; align-items: center; justify-content: center;
}
.aztra-macshow__sticky .aztra-laptop-wrap { width: 100%; position: relative; }

/* boot layer: the mark glows on the glass before the dashboard wakes up */
.aztra-laptop__boot {
    position: absolute; inset: 12px; border-radius: 10px; z-index: 2;
    display: grid; place-items: center;
    background: #060608;
    opacity: var(--boot, 0);
    pointer-events: none;
}
.aztra-laptop__boot img {
    width: 16%;
    filter: drop-shadow(0 0 calc(var(--boot, 0) * 26px) rgba(86,117,153,0.85));
    transform: scale(calc(0.8 + var(--boot, 0) * 0.25));
}

/* light sweep across the glass once it's fully open */
.aztra-laptop__sweep {
    position: absolute; inset: 12px; border-radius: 10px; overflow: hidden;
    pointer-events: none; z-index: 3;
}
.aztra-laptop__sweep::before {
    content: "";
    position: absolute; top: -60%; bottom: -60%; left: 0; width: 34%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.14), transparent);
    opacity: var(--swo, 0);
    transform: translateX(calc(var(--sw, 0) * 320% - 120%)) rotate(10deg);
}

/* floating feature callouts — the "performance collage" idea */
.aztra-macshow__chips { position: absolute; inset: 0; pointer-events: none; }
.aztra-mchip {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px; border-radius: 999px;
    background: rgba(18,18,20,0.88);
    border: 1px solid rgba(86,117,153,0.4);
    color: var(--aztra-platinum); font-size: 14px; font-weight: 600; white-space: nowrap;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45);
    opacity: 0;
    transform: translate3d(var(--fx, 0px), 34px, 0) scale(0.85);
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
    will-change: transform, opacity;
}
.aztra-mchip i {
    font-style: normal; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-size: 14px; flex-shrink: 0;
    background: linear-gradient(160deg, var(--aztra-tangerine), #3E5674);
}
.aztra-mchip.is-in { opacity: 1; transform: none; }
.aztra-mchip[data-c="0"] { left: 2%;  top: 16%;    --fx: -70px; }
.aztra-mchip[data-c="1"] { right: 1%; top: 27%;    --fx: 70px; }
.aztra-mchip[data-c="2"] { left: 4%;  bottom: 26%; --fx: -70px; }
.aztra-mchip[data-c="3"] { right: 3%; bottom: 18%; --fx: 70px; }

.aztra-macshow .aztra-obj-caption {
    margin-top: 90px;
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.aztra-macshow .aztra-obj-caption.is-in { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .aztra-macshow { margin-bottom: 70px; }
    .aztra-macshow__chips { display: none; }
    .aztra-macshow .aztra-obj-caption { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .aztra-laptop { --dash: 1; }
    .aztra-laptop__boot { opacity: 0; }
    .aztra-mchip { position: static; opacity: 1; transform: none; margin: 8px auto; width: fit-content; }
    .aztra-macshow__chips { position: static; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
    .aztra-macshow .aztra-obj-caption { opacity: 1; transform: none; }
}

/* ---------- laptop that opens with scroll ---------- */
.aztra-laptop-wrap { perspective: 1700px; padding: 30px 0 10px; }
.aztra-laptop {
    --lid: 0;
    position: relative;
    width: min(760px, 94%);
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform;
}
.aztra-laptop__lid {
    position: relative;
    aspect-ratio: 16 / 10;
    transform-origin: 50% 100%;
    transform: rotateX(calc((1 - var(--lid)) * -91deg));
    transform-style: preserve-3d;
    will-change: transform;
}
.aztra-laptop__screen {
    position: absolute; inset: 0; padding: 12px;
    border-radius: 18px 18px 4px 4px;
    background: linear-gradient(150deg, #3a3a3d, #1a1a1c 55%, #26262a);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), inset 0 0 0 2px rgba(0,0,0,0.5);
    backface-visibility: hidden;
}
.aztra-laptop__lidcam {
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 5px; height: 5px; border-radius: 50%; z-index: 3;
    background: #101014;
    box-shadow: inset 0 0 2px #000, 0 0 0 1px rgba(255,255,255,0.06);
}
.aztra-laptop__back {
    position: absolute; inset: 0;
    border-radius: 18px 18px 4px 4px;
    background: linear-gradient(150deg, #2e2e31, #151517 60%, #202024);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: grid; place-items: center;
}
.aztra-laptop__back img { width: 14%; opacity: 0.9; transform: scaleX(-1); }
.aztra-laptop__glare {
    position: absolute; inset: 0; border-radius: 18px 18px 4px 4px; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.09) 46%, transparent 62%);
    opacity: calc(var(--lid) * 0.9);
}
.aztra-lap-dash {
    position: absolute; inset: 12px; border-radius: 10px; overflow: hidden;
    background: radial-gradient(600px 260px at 85% -10%, rgba(86,117,153,0.14), transparent 60%), #090E1A;
    display: flex; flex-direction: column; padding: 4.5% 5%;
    filter: brightness(calc(0.18 + var(--lid) * 0.86));
    opacity: var(--dash, 1);
}
.aztra-lap-dash__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4%; }
.aztra-lap-dash__bar img { height: clamp(12px, 2.6vw, 22px); }
.aztra-lap-dash__bar .dots { display: flex; gap: 6px; }
.aztra-lap-dash__bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(237,237,237,0.16); }
.aztra-lap-dash__bar .dots i:first-child { background: var(--aztra-tangerine); }
.aztra-lap-dash__kpis { display: flex; gap: 3%; margin-bottom: 5%; }
.aztra-lap-dash__kpis .k {
    flex: 1; border-radius: 10px; padding: 2.6% 4%;
    background: rgba(237,237,237,0.045); border: 1px solid rgba(237,237,237,0.08);
}
.aztra-lap-dash__kpis small {
    display: block; color: rgba(237,237,237,0.5);
    font-size: clamp(8px, 1.1vw, 11px); letter-spacing: 1px; text-transform: uppercase;
}
.aztra-lap-dash__kpis b { color: var(--aztra-platinum); font-size: clamp(13px, 2.4vw, 26px); font-weight: 800; }
.aztra-lap-dash__kpis .k:last-child b { color: var(--aztra-tangerine); }
.aztra-lap-dash__bars { flex: 1; display: flex; align-items: flex-end; gap: 2.4%; min-height: 0; }
.aztra-lap-dash__bars i {
    flex: 1; height: calc(var(--h, 40%) * var(--dash, 1));
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--aztra-tangerine), rgba(86,117,153,0.2));
}
.aztra-laptop__base {
    position: relative; height: clamp(12px, 2.2vw, 18px);
    border-radius: 2px 2px 14px 14px;
    background: linear-gradient(180deg, #48484c 0%, #232327 40%, #131315 100%);
    box-shadow: 0 2px 3px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.25);
}
.aztra-laptop__grab {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 16%; height: 42%; border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
    z-index: 2;
}

/* the aluminum deck: a real keyboard plane tipped toward the viewer */
.aztra-laptop__base { transform-style: preserve-3d; }
.aztra-laptop__deck {
    position: absolute; left: 1.5%; right: 1.5%; top: 1px;
    height: clamp(130px, 26vw, 240px);
    transform-origin: 50% 0;
    transform: rotateX(-80deg);
    border-radius: 4px 4px 20px 20px;
    background: linear-gradient(180deg, #313136 0%, #242428 55%, #1b1b1e 100%);
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.55), inset 0 -1px 1px rgba(255,255,255,0.1);
}
.aztra-laptop__deck::after {
    /* screen light spilling onto the aluminum when the lid is open */
    content: "";
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(86,117,153,0.16), transparent 55%);
    opacity: var(--lid, 0);
}
.aztra-laptop__keys {
    position: absolute; left: 6%; right: 6%; top: 6%; height: 50%;
    border-radius: 8px;
    background-color: #232328;
    background-image:
        repeating-linear-gradient(90deg, transparent 0 6.2%, #0d0d0f 6.2% 7.2%),
        repeating-linear-gradient(0deg, transparent 0 15.5%, #0d0d0f 15.5% 19.5%);
    box-shadow: 0 0 0 4px #101013, inset 0 1px 2px rgba(255,255,255,0.05);
}
.aztra-laptop__spacebar {
    position: absolute; left: 31%; right: 31%; top: 59%; height: 8%;
    border-radius: 4px; background: #232328;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
}
.aztra-laptop__trackpad {
    display: block;
    position: absolute; left: 33%; right: 33%; bottom: 5%; height: 24%;
    border-radius: 10px;
    background: linear-gradient(180deg, #2b2b30, #202024);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 2px 4px rgba(0,0,0,0.4);
}
.aztra-laptop__shadow {
    position: absolute; left: 5%; right: 5%; bottom: -26px; height: 34px; z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.68), transparent 70%);
    filter: blur(6px);
    opacity: calc(0.35 + var(--lid) * 0.45);
    transform: scaleX(calc(0.8 + var(--lid) * 0.2));
}

/* ---------- phone with live notifications ---------- */
.aztra-phone-scene { perspective: 1500px; display: flex; flex-direction: column; align-items: center; padding: 20px 0 0; }
.aztra-phone {
    position: relative;
    width: min(300px, 74vw);
    aspect-ratio: 9 / 19;
    border-radius: 46px;
    padding: 9px;
    background: linear-gradient(150deg, #414144, #1c1c1f 45%, #2b2b2f);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.25),
        inset 0 0 0 2px rgba(0,0,0,0.6),
        0 60px 100px rgba(0,0,0,0.6),
        0 0 90px rgba(86,117,153,0.08);
    transform-style: preserve-3d;
    will-change: transform;
}
.aztra-phone__btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #55555a, #232326); }
.aztra-phone__btn--pwr { right: -3px; top: 26%; height: 64px; }
.aztra-phone__btn--v1 { left: -3px; top: 19%; height: 34px; }
.aztra-phone__btn--v2 { left: -3px; top: 19%; margin-top: 44px; height: 58px; }
.aztra-phone__screen {
    position: absolute; inset: 9px; border-radius: 38px; overflow: hidden;
    background:
        radial-gradient(140% 60% at 80% -6%, rgba(86,117,153,0.22), transparent 55%),
        radial-gradient(120% 70% at 12% 110%, rgba(86,117,153,0.10), transparent 55%),
        #0a0a0d;
    display: flex; flex-direction: column; align-items: center;
    padding: 58px 12px 18px;
}
.aztra-phone__isle {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 88px; height: 24px; border-radius: 14px; background: #070B14;
    box-shadow: inset 0 0 3px rgba(255,255,255,0.06);
}
.aztra-phone__time { position: absolute; top: 15px; left: 26px; color: var(--aztra-platinum); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; }
.aztra-phone__homebar {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 4px; border-radius: 3px; background: rgba(237,237,237,0.4);
}
.aztra-pnotif {
    width: 100%; display: flex; gap: 10px; align-items: flex-start;
    border-radius: 16px; padding: 11px 12px; margin-bottom: 10px;
    background: rgba(237,237,237,0.09);
    border: 1px solid rgba(237,237,237,0.10);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(-18px) scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
    will-change: transform, opacity;
}
.aztra-pnotif.is-in { opacity: 1; transform: none; }
.aztra-pnotif .ic {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
    display: grid; place-items: center; font-size: 15px;
    background: linear-gradient(160deg, var(--aztra-tangerine), #3E5674);
}
.aztra-pnotif b { display: block; color: var(--aztra-platinum); font-size: 11px; letter-spacing: 0.6px; margin-bottom: 2px; }
.aztra-pnotif p { margin: 0; color: rgba(237,237,237,0.78); font-size: 12px; line-height: 1.45; }

@media (max-width: 768px) {
    .aztra-laptop-wrap { perspective: 1100px; }
    .aztra-pnotif p { font-size: 11px; }
    .aztra-tab__btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .aztra-laptop { --lid: 1 !important; transform: none !important; }
    .aztra-phone { transform: none !important; }
    .aztra-pnotif { opacity: 1; transform: none; transition: none; }
}

/* ================================================
   CONTACT FORM  ·  campos de vidrio medianoche
   ================================================ */
#contactForm .form-control {
    background-color: rgba(237, 237, 237, 0.05) !important;
    border: 1px solid rgba(237, 237, 237, 0.14) !important;
    border-radius: 14px !important;
    color: var(--aztra-platinum) !important;
    height: 58px;
    padding: 0 18px;
    font-size: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}
#contactForm textarea.form-control {
    height: auto;
    min-height: 150px;
    padding: 16px 18px;
    resize: vertical;
}
#contactForm .form-control::placeholder { color: rgba(237, 237, 237, 0.45) !important; opacity: 1; }
#contactForm .form-control:focus {
    background-color: rgba(86, 117, 153, 0.08) !important;
    border-color: rgba(86, 117, 153, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(86, 117, 153, 0.15) !important;
    outline: none;
}
/* autofill de Chrome sin fondo amarillo */
#contactForm input:-webkit-autofill,
#contactForm input:-webkit-autofill:hover,
#contactForm input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #101a2e inset !important;
    -webkit-text-fill-color: #EDEDED !important;
    caret-color: #EDEDED;
}

/* ================================================
   LOGO  ·  wordmark PNG neutralizado a marfil (rebrand azul)
   ================================================ */
.navbar-brand img,
.footer-widget img,
.aztra-dash img,
.aztra-lap-dash__bar img {
    filter: grayscale(1) brightness(2.4);
}

/* ================================================
   HERO  ·  kicker slogan above the clear headline
   ================================================ */
.aztra-hero-kicker {
    display: block;
    margin-bottom: 18px;
    color: var(--aztra-tangerine);
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ================================================
   FLOOR GRID  ·  perspective ground under the hero
   ================================================ */
#home { position: relative; overflow: clip; }
.aztra-floor {
    position: absolute; left: -20%; right: -20%; bottom: -4%; height: 46%;
    pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(86,117,153,0.20) 1px, transparent 1px),
        linear-gradient(90deg, rgba(86,117,153,0.20) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(900px) rotateX(72deg);
    transform-origin: 50% 0;
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%);
    animation: aztraFloorDrift 3.2s linear infinite;
}
@keyframes aztraFloorDrift {
    from { background-position: 0 0; }
    to   { background-position: 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .aztra-floor { animation: none; }
}

/* tracking-anim: headings settle from wide letter-spacing on reveal */
.aztra-motion-item h2,
.aztra-motion-item h3 {
    transition: letter-spacing 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.07em;
}
.aztra-motion-item.is-visible h2,
.aztra-motion-item.is-visible h3 {
    letter-spacing: 0em;
}

/* ================================================
   THREAD  ·  the pulse that stitches the journey
   ================================================ */
.aztra-thread {
    position: relative; height: 12vh; min-height: 90px;
    display: flex; justify-content: center;
    overflow: hidden; pointer-events: none;
}
.aztra-thread::before {
    content: "";
    position: absolute; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(86,117,153,0.35), transparent);
}
.aztra-thread span {
    position: absolute; top: 0;
    width: 5px; height: 5px; margin-left: -2px; border-radius: 50%;
    background: var(--aztra-tangerine);
    box-shadow: 0 0 12px rgba(86,117,153,0.9);
    animation: aztraThreadPulse 2.4s linear infinite;
}
@keyframes aztraThreadPulse {
    0%   { transform: translateY(-12px); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(14vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .aztra-thread span { display: none; }
}

/* ================================================
   TORRE  ·  camera-flight platform film (demo-2 style)
   ================================================ */
.aztra-torre { position: relative; height: 400vh; }
.aztra-torre__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.aztra-torre__canvas { position: absolute; inset: 0; display: block; }

.aztra-torre__persps { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.aztra-torre__persp {
    position: absolute; max-width: 480px; visibility: hidden;
}
.aztra-torre__persp[data-pos="center"] { left: 50%; top: 14%; transform: translateX(-50%); text-align: center; }
.aztra-torre__persp[data-pos="left"] { left: clamp(24px, 6vw, 110px); top: 38%; }
.aztra-torre__persp[data-pos="right"] { right: clamp(24px, 6vw, 110px); top: 34%; text-align: right; }
.aztra-torre__persp[data-pos="bottom-left"] { left: clamp(24px, 6vw, 110px); bottom: 18%; }
.aztra-torre__persp h2 {
    color: var(--aztra-platinum);
    font-family: var(--aztra-display, 'Bebas Neue', sans-serif);
    font-size: clamp(46px, 7vw, 108px) !important;
    line-height: 0.98; margin: 8px 0 10px; font-weight: 400; letter-spacing: 0.04em;
    white-space: nowrap;
}
.aztra-torre__persp h2 .ch { display: inline-block; will-change: transform, opacity; }
.aztra-torre__persp p {
    color: rgba(237,237,237,0.85); font-size: clamp(14px, 1.4vw, 18px); text-shadow: 0 1px 8px rgba(0,0,0,0.85);
    letter-spacing: 2px; text-transform: uppercase; margin: 0;
    will-change: transform, opacity;
}
.aztra-torre__persp .aztra-nucleo__eyebrow { display: block; margin-bottom: 4px; }

.aztra-torre__hud {
    position: absolute; z-index: 2; pointer-events: none;
    left: clamp(24px, 6vw, 110px); bottom: clamp(26px, 5vh, 54px);
    display: flex; align-items: center; gap: 16px;
}
.aztra-torre__pct {
    color: var(--aztra-tangerine); font-size: 15px; font-weight: 700;
    letter-spacing: 3px; font-variant-numeric: tabular-nums;
}
.aztra-torre__bar {
    width: clamp(120px, 18vw, 260px); height: 1px; background: rgba(237,237,237,0.18);
    display: block; overflow: hidden;
}
.aztra-torre__bar i {
    display: block; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    transform: scaleX(0); transform-origin: 0 50%;
}

@media (max-width: 768px) {
    .aztra-torre { height: 320vh; }
    .aztra-torre__persp { max-width: none; left: 24px !important; right: 24px !important; transform: none !important; text-align: center !important; }
    .aztra-torre__persp[data-pos] { top: 10%; bottom: auto; }
    .aztra-torre__persp h2 { white-space: normal; }
}

.aztra-torre.is-static { height: auto; }
.aztra-torre.is-static .aztra-torre__sticky { position: relative; height: auto; min-height: 90vh; padding: 90px 0; }
.aztra-torre.is-static .aztra-torre__persps { position: relative; inset: auto; display: grid; gap: 44px; padding: 0 8vw; }
.aztra-torre.is-static .aztra-torre__persp { position: static; visibility: visible !important; transform: none !important; }
.aztra-torre.is-static .aztra-torre__persp .ch,
.aztra-torre.is-static .aztra-torre__persp p { opacity: 1 !important; transform: none !important; }
.aztra-torre.is-static .aztra-torre__hud,
.aztra-torre.is-static .aztra-torre__canvas { display: none; }

/* ================================================
   ÓRBITA  ·  3D capability carousel (#capacidades)
   ================================================ */
.aztra-orbita { position: relative; height: 340vh; }
.aztra-orbita__sticky {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.aztra-orbita__head { text-align: center; z-index: 2; margin-bottom: clamp(16px, 4vh, 46px); padding: 0 20px; }
.aztra-orbita__head h2 {
    color: var(--aztra-platinum); font-size: clamp(32px, 4.6vw, 58px);
    font-weight: 800; margin: 14px 0 0; line-height: 1.06;
}
.aztra-orbita__head h2 .grad {
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.aztra-orbita__stage {
    position: relative; width: 100%; height: min(54vh, 500px);
    perspective: 1500px;
    display: flex; align-items: center; justify-content: center;
}
.aztra-orbita__ring {
    position: relative; width: 0; height: 0;
    transform-style: preserve-3d; will-change: transform;
}
.aztra-ocard {
    position: absolute; left: -175px; top: -205px;
    width: 350px; height: 410px;
    border-radius: 24px; padding: 32px;
    background: linear-gradient(160deg, rgba(32,32,35,0.95), rgba(15,15,17,0.95));
    border: 1px solid rgba(237,237,237,0.10);
    display: flex; flex-direction: column;
    backface-visibility: hidden;
    opacity: 0.4;
    transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.aztra-ocard:nth-child(1) { transform: rotateY(0deg)   translateZ(var(--orbR, 435px)); }
.aztra-ocard:nth-child(2) { transform: rotateY(60deg)  translateZ(var(--orbR, 435px)); }
.aztra-ocard:nth-child(3) { transform: rotateY(120deg) translateZ(var(--orbR, 435px)); }
.aztra-ocard:nth-child(4) { transform: rotateY(180deg) translateZ(var(--orbR, 435px)); }
.aztra-ocard:nth-child(5) { transform: rotateY(240deg) translateZ(var(--orbR, 435px)); }
.aztra-ocard:nth-child(6) { transform: rotateY(300deg) translateZ(var(--orbR, 435px)); }
.aztra-ocard.is-front {
    opacity: 1;
    border-color: rgba(86,117,153,0.55);
    box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 70px rgba(86,117,153,0.12);
}
.aztra-ocard__icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    background: rgba(86,117,153,0.14); color: var(--aztra-tangerine); font-size: 28px;
    margin-bottom: auto;
}
.aztra-ocard h3 { color: var(--aztra-platinum); font-size: 23px; font-weight: 800; margin: 22px 0 10px; }
.aztra-ocard p { color: rgba(237,237,237,0.6); font-size: 15px; line-height: 1.65; margin: 0; }
.aztra-ocard__stat {
    margin-top: 20px; font-size: 36px; font-weight: 800;
    background: linear-gradient(90deg, var(--aztra-tangerine), var(--aztra-tangerine-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.aztra-orbita__floor {
    position: absolute; bottom: -12%; left: 50%;
    width: 760px; height: 240px; pointer-events: none;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(86,117,153,0.10), transparent 65%);
    filter: blur(4px);
}
.aztra-orbita__count {
    margin-top: clamp(16px, 3.5vh, 38px); z-index: 2;
    display: flex; align-items: baseline; gap: 8px;
    color: rgba(237,237,237,0.4); font-size: 13px; letter-spacing: 2px;
}
.aztra-orbita__count b { color: var(--aztra-tangerine); font-size: 27px; font-weight: 800; }

@media (max-width: 992px), (prefers-reduced-motion: reduce) {
    .aztra-orbita { height: auto; }
    .aztra-orbita__sticky { position: relative; height: auto; padding: 80px 0 60px; }
    .aztra-orbita__stage { height: auto; perspective: none; }
    .aztra-orbita__ring {
        transform: none !important; width: 100%;
        display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    }
    .aztra-ocard {
        position: static; width: min(90vw, 350px); height: auto; min-height: 320px;
        opacity: 1; transform: none !important;
    }
    .aztra-orbita__floor, .aztra-orbita__count { display: none; }
}

/* ================================================
   NÚCLEO SEQUENCE  ·  Royal-Pop-style product film
   ================================================ */
.aztra-nucleo { position: relative; height: 400vh; }
.aztra-nucleo__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.aztra-nucleo__canvas { position: absolute; inset: 0; display: block; }

/* discreet system HUD — engineering telemetry, not gym branding */
.aztra-nucleo__hud {
    position: absolute; top: clamp(86px, 11vh, 130px); left: 50%;
    transform: translateX(-50%);
    z-index: 2; pointer-events: none;
    display: flex; align-items: center; gap: 14px; white-space: nowrap;
    color: rgba(237,237,237,0.45);
    font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.aztra-nucleo__hud [data-hud="fase"] { color: rgba(86,117,153,0.75); }
.aztra-nucleo__hud-sep { width: 34px; height: 1px; background: rgba(237,237,237,0.2); }

/* narrative chapters */
.aztra-nucleo__chapters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.aztra-nucleo__ch {
    position: absolute; left: clamp(24px, 7vw, 120px); top: 34%;
    max-width: 420px; opacity: 0; visibility: hidden;
    will-change: transform, opacity;
}
.aztra-nucleo__eyebrow {
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--aztra-tangerine); font-weight: 700;
}
.aztra-nucleo__ch h3 {
    color: var(--aztra-platinum);
    font-family: var(--aztra-display, 'Bebas Neue', sans-serif);
    /* !important: aztra-branding.css forces h3 to 24px !important under 768px */
    font-size: clamp(36px, 3.8vw, 58px) !important; line-height: 1.02;
    margin: 14px 0; font-weight: 400; letter-spacing: 0.02em;
}
.aztra-nucleo__ch p { color: rgba(237,237,237,0.85); font-size: 17px; line-height: 1.7; margin: 0; max-width: 34ch; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }

.aztra-nucleo__cue {
    position: absolute; z-index: 3; bottom: clamp(96px, 13vh, 150px); left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(237,237,237,0.5); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
}
.aztra-nucleo__cueline { width: 1px; height: 44px; background: linear-gradient(180deg, var(--aztra-tangerine), transparent); }

@media (max-width: 768px) {
    .aztra-nucleo { height: 340vh; }
    .aztra-nucleo__ch { left: 24px; right: 24px; top: auto; bottom: 13vh; max-width: none; text-align: center; }
    .aztra-nucleo__ch p { max-width: none; margin: 0 auto; }
    .aztra-nucleo__hud { top: 76px; gap: 10px; font-size: 10px; letter-spacing: 2px; }
}

/* ================================================
   ESTACIONES  ·  3D line that brakes per station
   ================================================ */
.aztra-estaciones { position: relative; height: 400vh; }
.aztra-estaciones__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.aztra-estaciones__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.aztra-estaciones__caps { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.aztra-estaciones__cap {
    position: absolute; left: clamp(24px, 7vw, 120px); top: 30%;
    max-width: 440px; opacity: 0; visibility: hidden;
    will-change: transform, opacity;
}
.aztra-estaciones__cap h3 {
    color: var(--aztra-platinum);
    font-family: var(--aztra-display, 'Bebas Neue', sans-serif);
    font-size: clamp(38px, 4.4vw, 66px) !important;
    line-height: 1.02; margin: 14px 0; font-weight: 400; letter-spacing: 0.02em;
}
.aztra-estaciones__cap p { color: rgba(237,237,237,0.88); font-size: 17px; line-height: 1.7; margin: 0; max-width: 34ch; text-shadow: 0 1px 8px rgba(0,0,0,0.85); }
.aztra-estaciones__count {
    position: absolute; z-index: 2; pointer-events: none;
    right: clamp(24px, 6vw, 110px); bottom: clamp(26px, 6vh, 60px);
    display: flex; align-items: baseline; gap: 8px;
    color: rgba(237,237,237,0.4); font-size: 13px; letter-spacing: 2px;
}
.aztra-estaciones__count b { color: var(--aztra-tangerine); font-size: 27px; font-weight: 800; }

@media (max-width: 768px) {
    .aztra-estaciones { height: 330vh; }
    .aztra-estaciones__cap { left: 24px; right: 24px; top: auto; bottom: 12vh; max-width: none; text-align: center; }
    .aztra-estaciones__cap p { margin: 0 auto; }
}

.aztra-estaciones.is-static { height: auto; }
.aztra-estaciones.is-static .aztra-estaciones__sticky { position: relative; height: auto; padding: 90px 0; }
.aztra-estaciones.is-static .aztra-estaciones__canvas,
.aztra-estaciones.is-static .aztra-estaciones__count { display: none; }
.aztra-estaciones.is-static .aztra-estaciones__caps { position: relative; inset: auto; display: grid; gap: 50px; padding: 0 8vw; }
.aztra-estaciones.is-static .aztra-estaciones__cap { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* ================================================
   SCROLL FILMS  ·  "La Forja" + "El Túnel"
   ================================================ */
.aztra-forja { position: relative; height: 240vh; }
.aztra-tunel { position: relative; height: 220vh; }
.aztra-caos { position: relative; height: 230vh; }
.aztra-forja__sticky,
.aztra-tunel__sticky,
.aztra-caos__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.aztra-forja__canvas,
.aztra-tunel__canvas,
.aztra-caos__canvas { position: absolute; inset: 0; display: block; }

.aztra-forja__cap,
.aztra-caos__cap {
    position: absolute; z-index: 2; top: 18%;
    left: clamp(24px, 7vw, 120px);
    opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.aztra-forja__cap--r,
.aztra-caos__cap--r { left: auto; right: clamp(24px, 7vw, 120px); text-align: right; }
.aztra-tunel__cap {
    position: absolute; z-index: 2; top: 16%; left: 50%;
    transform: translate(-50%, 0); text-align: center; width: min(90vw, 760px);
    opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.aztra-forja__cap h3,
.aztra-tunel__cap h3,
.aztra-caos__cap h3 {
    color: var(--aztra-platinum);
    font-family: var(--aztra-display, 'Bebas Neue', sans-serif);
    /* !important: aztra-branding.css forces h3 to 24px !important under 768px */
    font-size: clamp(34px, 4vw, 60px) !important; line-height: 1.04;
    margin: 12px 0 0; font-weight: 400; letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .aztra-forja { height: 200vh; }
    .aztra-tunel { height: 180vh; }
    .aztra-caos { height: 190vh; }
    .aztra-forja__cap, .aztra-caos__cap { top: 12%; }
    .aztra-forja__cap--r, .aztra-caos__cap--r { top: auto; bottom: 14%; }
}

.aztra-forja.is-static,
.aztra-tunel.is-static,
.aztra-caos.is-static { height: auto; }
.aztra-forja.is-static .aztra-forja__sticky,
.aztra-tunel.is-static .aztra-tunel__sticky,
.aztra-caos.is-static .aztra-caos__sticky { position: relative; height: 70vh; }
.aztra-forja.is-static .aztra-forja__cap,
.aztra-tunel.is-static .aztra-tunel__cap,
.aztra-caos.is-static .aztra-caos__cap {
    opacity: 1 !important; visibility: visible !important; transform: none !important;
}
.aztra-tunel.is-static .aztra-tunel__cap { transform: translateX(-50%) !important; }

/* reduced-motion / static fallback: one composed frame + readable chapters */
.aztra-nucleo.is-static { height: auto; }
.aztra-nucleo.is-static .aztra-nucleo__sticky { position: relative; height: auto; min-height: 100vh; padding: 120px 0 80px; }
.aztra-nucleo.is-static .aztra-nucleo__chapters {
    position: relative; inset: auto; display: grid; gap: 56px; padding: 0 8vw;
}
.aztra-nucleo.is-static .aztra-nucleo__ch {
    position: static; opacity: 1 !important; visibility: visible !important; transform: none !important;
}
.aztra-nucleo.is-static .aztra-nucleo__cue,
.aztra-nucleo.is-static .aztra-nucleo__hud { display: none; }
