﻿/* =========================================================
   1. ROOT & THEME TOKENS
   ========================================================= */
:root {
    /* MaxiForge Brand */
    --mf-blue: #1C8DFF;
    --mf-orange: #FF5B00;
    --mf-violet: #A03CFF;
    --mf-deep: #132D47;
    --mf-black: #0C0C0E;
    --mf-white: #FFFFFF;
    /* Neon */
    --mf-neon-orange-soft: rgba(255, 91, 0, 0.35);
    --mf-neon-orange-glow: rgba(255, 91, 0, 0.55);
    /* Layout */
    --mf-header-h: 76px; /* altura normal del header */
    --mf-header-h-compact: 72px; /* altura cuando compacta */
    /* Common UI helpers (si ya los tienes en otro sitio, unifica aquí) */
    --mf-border: rgba(255,255,255,.10);
}




/* =========================================================
   2. GLOBAL / BODY
   ========================================================= */
body {
    background: radial-gradient(circle at top, #0f1827 0, #05060a 45%, #020308 100%);
    color: var(--mf-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

.mf-main-wrapper {
    padding-top: 0rem;
    padding-bottom: 2rem;
}

/* Estado normal: logo vertical grande */
.mf-logo-vertical {
    display: block;
    height: 100px;
    width: auto;
    margin-top: -20px;
    margin-bottom: -6px;
}

.mf-logo-horizontal {
    display: none;
    height: 40px;
    width: auto;
}

/* Logo default state */
.mf-logo-vertical {
    display: block;
}

.mf-logo-horizontal {
    display: none;
}

/* When header is compact (scroll down) */
.mf-nav-hybrid.mf-compact .mf-logo-vertical {
    display: none;
}

.mf-nav-hybrid.mf-compact .mf-logo-horizontal {
    display: block;
}


/* =========================================================
   3. HEADER & NAVIGATION – MAXIFORGE HYBRID HEADER
   ========================================================= */
.mf-nav-hybrid {
    position: sticky;
    top: 0;
    z-index: 999;
    background: radial-gradient(circle at top, var(--mf-blue)15, #00040a 70%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0;
    min-height: 80px;
    transition: all 0.25s ease;
}

    /* Bottom neon line */
    .mf-nav-hybrid::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(255,255,255,0), var(--mf-blue), var(--mf-orange), rgba(255,255,255,0));
        box-shadow: 0 0 12px rgba(28,141,255,0.55);
    }

/* Inner layout */
.mf-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px; /* evita jumps del logo */
}

/* Logo */
.mf-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mf-blue);
    transition: filter 0.3s ease, transform 0.3s ease;
}

    .mf-nav-logo img {
        height: 100px;
        width: auto;
        display: block;
        /*  margin-top: -20px;*/
        margin-bottom: -6px;
        transition: height .25s ease;
    }

    .mf-nav-logo:hover {
        filter: drop-shadow(0 0 10px rgba(28,141,255,0.7));
        transform: translateY(-1px);
    }

    /* Logo default state */
    .mf-nav-logo .mf-logo-vertical {
        display: block !important;
        margin-top: -5px;
    }

    .mf-nav-logo .mf-logo-horizontal {
        display: none !important;
    }

/* Compact state on scroll */
.mf-nav-hybrid.mf-compact .mf-logo-vertical {
    display: none !important;
}

.mf-nav-hybrid.mf-compact .mf-logo-horizontal {
    display: block !important;
}


/* Desktop nav links */
/* =========================================================
   NAV BASE (tu CSS original, intacto)
   ========================================================= */
.mf-nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    .mf-nav-links a {
        position: relative;
        color: #e8eeff;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-decoration: none;
        padding-bottom: 0.2rem;
        transition: color 0.2s ease;
    }

        /* Hover underline – single color */
        .mf-nav-links a::after {
            content: "";
            position: absolute;
            left: 20%;
            right: 20%;
            bottom: -0.32rem;
            height: 2px;
            background: var(--mf-blue);
            opacity: 0;
            transform: scaleX(0.3);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(28,141,255,0.7);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .mf-nav-links a:hover {
            color: var(--mf-white);
        }

            .mf-nav-links a:hover::after {
                opacity: 1;
                transform: scaleX(1);
            }

/* Compact mode */
.mf-nav-hybrid.mf-compact {
    padding: 0.45rem 0;
    backdrop-filter: blur(8px);
}

    .mf-nav-hybrid.mf-compact .mf-nav-logo img {
        height: 65px; /* tamaño compacto estable */
    }

/* Dark absolute mode */
body.dark-abs .mf-nav-hybrid {
    background: rgba(0, 0, 0, 0.92);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.9);
}

body.dark-abs .mf-nav-links a {
    color: #d4ddff;
}

body.dark-abs .mf-nav-logo {
    color: #6bbaff;
}

/* Mobile toggle */
.mf-nav-toggle {
    display: none;
    cursor: pointer;
    color: var(--mf-white);
    font-size: 1.4rem;
}

/* Mobile panel */


/* Breakpoints */
@media (max-width: 920px) {
    .mf-nav-links {
        display: none;
    }

    .mf-nav-toggle {
        display: block;
    }
}


/* =========================================================
   SERVIÇOS – TRIGGER (looks like a normal nav link)
   ========================================================= */
.mf-nav-dd-over {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mf-nav-dd-trigger-over {
    position: relative;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #e8eeff;
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
}

    /* Underline identical to nav links */
    .mf-nav-dd-trigger-over::after {
        content: "";
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: -0.32rem;
        height: 2px;
        background: var(--mf-blue);
        opacity: 0;
        transform: scaleX(0.3);
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(28,141,255,0.7);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mf-nav-dd-trigger-over:hover,
    .mf-nav-dd-over.is-open .mf-nav-dd-trigger-over {
        color: var(--mf-white);
    }

        .mf-nav-dd-trigger-over:hover::after,
        .mf-nav-dd-over.is-open .mf-nav-dd-trigger-over::after {
            opacity: 1;
            transform: scaleX(1);
        }

/* Plus icon */
.mf-nav-dd-icon-over {
    opacity: 0.9;
    transition: transform 180ms ease, opacity 180ms ease;
}

.mf-nav-dd-over.is-open .mf-nav-dd-icon-over {
    transform: rotate(45deg);
    opacity: 1;
}

/* =========================================================
   DROPDOWN VERTICAL (FIXED, CLICKABLE, NO OVERLAYS)
   ========================================================= */
.mf-nav-dd-menu-over {
    position: fixed;
    top: var(--mf-dd-top, 80px);
    left: var(--mf-dd-left, 50%);
    transform: translateX(-50%);
    min-width: 320px;
    z-index: 99999;
    background: rgba(10,14,28,0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(28,141,255,0.22);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.55);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms ease;
}

/* Open state */
.mf-nav-dd-over.is-open .mf-nav-dd-menu-over {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   DROPDOWN ITEMS
   ========================================================= */
.mf-nav-dd-item-over {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #e8eeff;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.95;
    transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

    .mf-nav-dd-item-over:hover,
    .mf-nav-dd-item-over:focus-visible {
        background: rgba(28,141,255,0.14);
        color: var(--mf-white);
        opacity: 1;
        transform: translateX(2px);
        outline: none;
    }

    .mf-nav-dd-item-over + .mf-nav-dd-item-over {
        margin-top: 4px;
    }

/* =========================================================
   SAFETY NETS (prevent previous disasters)
   ========================================================= */
/* Ensure nothing blocks clicks */
.mf-nav-dd-menu-over,
.mf-nav-dd-item-over {
    pointer-events: auto;
}

/* Avoid weird positioning inheritance */
.mf-nav-logo,
.mf-nav-links,
.mf-nav-inner {
    position: relative;
}

.mf-nav-links {
    align-items: center;
}

.mf-nav-dd-over {
    display: inline-flex;
}




/* TIPOGRAFIA */
.mf-kicker {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #93a4c1;
    margin-bottom: 1.3rem;
}



/* destaque azul dentro do título */
.mf-highlight-blue {
    color: var(--mf-blue);
}

.mf-highlight-violet {
    color: var(--mf-violet);
}

.mf-highlight-orange {
    color: var(--mf-orange);
}








/* =========================================================
   5. FOOTER
   ========================================================= */
.mf-footer {
    background: radial-gradient(circle at top, var(--mf-deep) 0, #020308 55%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.7);
}

    .mf-footer .container {
        color: #9aa3c7;
    }

    .mf-footer span:last-child {
        color: var(--mf-blue);
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.7rem;
    }


/* =========================================================
   6. NEON DIVIDERS
   ========================================================= */
.neon-line,
footer.mf-footer,
.mf-hero-panel,
.border-bottom,
.border-top {
    position: relative;
}

    .neon-line::after,
    footer.mf-footer::after,
    .mf-hero-panel::after,
    .border-bottom::after,
    .border-top::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        bottom: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0), var(--mf-blue), rgba(255,255,255,0));
        box-shadow: 0 0 12px var(--mf-blue);
        pointer-events: none;
    }


/* =========================================================
   7. BUTTON SYSTEM (BASE + VARIANTS)
   ========================================================= */
.mf-btn,
.mf-btn:hover,
.mf-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--mf-white);
    transition: all 0.18s ease;
}

    .mf-btn:active {
        transform: translateY(1px);
    }

/* === Primary Cel-Shading === */
.mf-btn-primary {
    background: var(--mf-blue);
    border: 2px solid var(--mf-black);
    color: var(--mf-white);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset -5px -5px 0 rgba(0, 0, 0, 0.55), inset 5px 5px 0 rgba(255, 255, 255, 0.32), 0 0 18px rgba(28, 141, 255, 0.75);
}

    .mf-btn-primary:hover {
        background: #4db4ff;
        border: 2px solid var(--mf-black);
        box-shadow: inset -5px -5px 0 rgba(0, 0, 0, 0.55), inset 5px 5px 0 rgba(255, 255, 255, 0.32), 0 0 18px rgba(28, 141, 255, 0.75);
    }

/* === Secondary Orange Cel-Shading === */
.mf-btn-secondary-warm {
    background: #FF5B00;
    color: #ffe8d6;
    font-weight: 700;
    border: 2px solid var(--mf-black);
    box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.45), inset 5px 5px 0 rgba(255, 255, 255, 0.20), 0 0 18px rgba(255, 120, 40, 0.45);
}

    .mf-btn-secondary-warm:hover {
        background: #FF5B00;
        border: 2px solid var(--mf-black);
        box-shadow: inset -5px -5px 0 rgba(0, 0, 0, 0.55), inset 5px 5px 0 rgba(255, 255, 255, 0.32), 0 0 18px rgba(28, 141, 255, 0.75);

    }
/* =========================================================
   FOOTER · micro trust points
   ========================================================= */
.mf-footer-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .8rem;
    justify-content: center;
    color: rgba(229,231,235,0.68);
    font-size: .82rem;
}

    .mf-footer-points li {
        padding: .35rem .7rem;
        border-radius: 999px;
        background: rgba(15,23,42,0.70);
        border: 1px solid rgba(55,65,81,0.75);
    }


/* =========================================================
   Section glow variants (home pattern compatible)
   ========================================================= */
#mf-niche .mf-glow-blue {
    --mfGlowA: rgba(28,141,255,0.22);
    --mfGlowB: rgba(28,141,255,0.10);
    --mfGlowC: rgba(255,91,0,0.04);
}

#mf-niche .mf-glow-orange {
    --mfGlowA: rgba(255,91,0,0.18);
    --mfGlowB: rgba(255,91,0,0.08);
    --mfGlowC: rgba(28,141,255,0.06);
}

#mf-niche .mf-glow-mix {
    --mfGlowA: rgba(28,141,255,0.18);
    --mfGlowB: rgba(255,91,0,0.14);
    --mfGlowC: rgba(148,163,184,0.06);
}

#mf-niche .mf-glow-purple {
    --mfGlowA: rgba(155, 89, 182, 0.16);
    --mfGlowB: rgba(28,141,255,0.10);
    --mfGlowC: rgba(255,91,0,0.06);
}

/* Apply to the existing pattern wrapper (whatever you're using on home) */
#mf-niche .mf-section-pattern,
#mf-niche .mf-section-pattern-inner,
#mf-niche .mf-niche-panel {
    position: relative;
}

    /* Overlay glow layer */
    #mf-niche .mf-section-pattern::before,
    #mf-niche .mf-section-pattern-inner::before,
    #mf-niche .mf-niche-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(900px 420px at 18% 25%, var(--mfGlowA, rgba(28,141,255,0.16)), rgba(0,0,0,0) 60%), radial-gradient(900px 420px at 82% 70%, var(--mfGlowB, rgba(255,91,0,0.10)), rgba(0,0,0,0) 62%), radial-gradient(700px 380px at 55% 15%, var(--mfGlowC, rgba(148,163,184,0.06)), rgba(0,0,0,0) 58%);
        opacity: 1;
    }
/* ===== Neon line: keep it glued to the real bottom edge ===== */
.mf-nav-hybrid {
    position: sticky; /* or relative if you changed it */
}

    .mf-nav-hybrid::after {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateZ(0); /* avoids subpixel drift */
    }

/* If inner padding makes it look "too high", ensure header has no extra bottom gap */
.mf-nav-hybrid {
    padding-bottom: 0.6rem; /* keep your value, but stable */
}
.mf-nav-dd-menu-over {
    z-index: 999999 !important;
}




.mf-hero-p18 {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background: #05060a;
    color: #fff;
}

.mf-p18-layer {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.mf-p18-back {
    background-image: url("https://picsum.photos/1600/900?random=181");
    transform: translateY(calc(var(--scroll) * 0.2));
    filter: brightness(.6);
}

.mf-p18-mid {
    background-image: url("https://picsum.photos/1600/900?random=182");
    transform: translateY(calc(var(--scroll) * 0.4));
    mix-blend-mode: screen;
}

.mf-p18-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    place-content: center;
    text-align: center;
}

    .mf-p18-content h1 {
        font-size: clamp(48px,7vw,88px);
    }

    .mf-p18-content span {
        background: linear-gradient(90deg,var(--mf-blue),var(--mf-orange));
        -webkit-background-clip: text;
        color: transparent;
    }
.mf-hero-p19 {
    height: 120vh;
    background: #04050a;
    overflow: hidden;
}

.mf-p19-track {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    transform: translateX(calc(var(--scroll) * -0.6));
    will-change: transform;
}

.mf-p19-panel {
    min-width: 100vw;
    display: grid;
    place-items: center;
    font-size: clamp(64px,8vw,120px);
    color: #fff;
    background: radial-gradient(circle at center,var(--mf-blue)33,transparent);
}


.mf-hero-p23 {
    height: 100vh;
    background: #05060a;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
}

.mf-p23-copy h1 {
    font-size: clamp(48px,7vw,90px);
}

.mf-p23-copy span {
    background: linear-gradient(90deg,var(--mf-blue),var(--mf-orange));
    -webkit-background-clip: text;
    color: transparent;
}

.mf-p23-cards {
    position: relative;
    height: 520px;
}

.mf-p23-card {
    position: absolute;
    width: 260px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,.6);
    will-change: transform;
}

    .mf-p23-card img,
    .mf-p23-card video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.depth-1 {
    left: 0;
    top: 40px;
}

.depth-2 {
    left: 140px;
    top: 0;
}

.depth-3 {
    left: 280px;
    top: 80px;
}
.mf-hero-p24 {
    height: 100vh;
    background: #04050a;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.mf-p24-video {
    position: absolute;
    inset: 20%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 50px 140px rgba(0,0,0,.7);
}

    .mf-p24-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mf-p24-ui {
    position: absolute;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(12,12,14,.35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
}

.badge {
    top: 20%;
    left: 18%;
}

.stat {
    bottom: 22%;
}

.depth-b {
    left: 20%;
}

.depth-c {
    right: 20%;
}

.mf-p24-title {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(48px,6vw,88px);
}
.mf-hero-p25 {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #05060a;
    color: #fff;
}

.mf-p25-left {
    display: grid;
    place-content: center;
}

    .mf-p25-left h1 {
        font-size: clamp(48px,7vw,92px);
    }

    .mf-p25-left span {
        background: linear-gradient(90deg,var(--mf-blue),var(--mf-orange));
        -webkit-background-clip: text;
        color: transparent;
    }

.mf-p25-right {
    position: relative;
}

    .mf-p25-right img {
        position: absolute;
        border-radius: 24px;
        box-shadow: 0 40px 120px rgba(0,0,0,.6);
    }

.depth-1 {
    top: 10%;
    left: 20%;
    width: 260px;
}

.depth-2 {
    top: 30%;
    left: 45%;
    width: 220px;
}

.mf-p25-chip {
    position: absolute;
    bottom: 20%;
    left: 30%;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(12,12,14,.35);
    backdrop-filter: blur(12px);
}
.mf-hero-p26 {
    height: 100vh;
    background: #04050a;
    position: relative;
    color: #fff;
    overflow: hidden;
}

    .mf-hero-p26 h1 {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        font-size: clamp(48px,6vw,88px);
    }

    .mf-hero-p26 span {
        background: linear-gradient(90deg,var(--mf-blue),var(--mf-orange));
        -webkit-background-clip: text;
        color: transparent;
    }

.mf-p26-center {
    position: absolute;
    inset: 25%;
}

    .mf-p26-center img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 28px;
    }

.mf-p26-orbit {
    position: absolute;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(12,12,14,.35);
}

.depth-a {
    top: 30%;
    left: 15%;
}

.depth-b {
    top: 50%;
    right: 15%;
}

.depth-c {
    bottom: 20%;
    left: 40%;
}
.mf-nav-soon-link {
    position: relative;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Texto base */
.mf-nav-soon-text {
    position: relative;
}

/* Pill pequeño, arriba */
.mf-nav-soon-pill {
    position: absolute;
    top: -13px; /* ajusta fino según tu nav */
    left: 60%;
    margin-left: 6px;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,91,0,.14);
    box-shadow: 0 0 10px rgba(255,91,0,.18);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.mf-nav-new {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dot “nuevo contenido” */
.mf-nav-new-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mf-blue); /* Forge Blue */
    box-shadow: 0 0 6px rgba(28,141,255,.9), 0 0 14px rgba(28,141,255,.6);
    position: relative;
}

    /* Pulse */
    .mf-nav-new-dot::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px solid rgba(28,141,255,.6);
        animation: mf-pulse 1.8s ease-out infinite;
    }

@keyframes mf-pulse {
    0% {
        transform: scale(.6);
        opacity: .9;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}
.mf-nav-new--spark {
    position: relative;
}

.mf-nav-spark {
    position: absolute;
    top: -10px;
    right: 7px;
    font-size: 12px;
    color: var(--mf-orange); /* Neon Orange */
    text-shadow: 0 0 8px rgba(255,91,0,.9), 0 0 16px rgba(255,91,0,.6);
    animation: mf-spark-float 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mf-spark-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: .9;
    }

    50% {
        transform: translateY(-4px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: .9;
    }
}


/* Video frame */





/* Toast (if not already present) */




/* Make the video frame fill the card nicely */



/* =========================================================
   HERO BUTTONS – CLEAN & STABLE NEON
   Simple glow border, no animations, no hacks
========================================================= */



/* === Tilt hooks (no cambia tu layout) === */
.mf-figcard {
    transform-style: preserve-3d;
    will-change: transform;
}

    .mf-figcard.is-tilting .mf-figcard-media img {
        transform: translateZ(18px);
        will-change: transform;
    }

/* Glow reactivo opcional */
.mf-figcard {
    position: relative;
}

    .mf-figcard::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        transition: opacity .25s ease;
        background: radial-gradient(600px 300px at var(--mx,50%) var(--my,50%), rgba(28,141,255,.35), rgba(255,91,0,.18), transparent 55%);
        filter: blur(10px);
    }

    .mf-figcard.is-tilting::after {
        opacity: .9;
    }

@media (prefers-reduced-motion: reduce) {
    .mf-figcard, .mf-figcard * {
        transition: none !important;
        animation: none !important;
    }
}
/* ForgeTicket: Models page */

.mf-glass {
    border-radius: 16px;
    background: rgba(19, 45, 71, 0.35);
    border: 1px solid rgba(28, 141, 255, 0.22);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mf-request {
    padding: 16px;
    margin-bottom: 18px;
}

.mf-request-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mf-request-item .mf-k {
    display: block;
    font-size: 12px;
    opacity: 0.75;
}

.mf-request-item .mf-v {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.mf-request-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.mf-gallery-head {
    margin: 18px 0 12px;
}

.mf-h2 {
    font-size: 18px;
    margin: 0 0 6px;
}

.mf-muted {
    opacity: 0.8;
}

.mf-small {
    font-size: 12px;
}

.mf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.mf-model-card {
    position: relative;
    text-align: left;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 91, 0, 0.18);
    background: rgba(12, 12, 14, 0.55);
    box-shadow: 0 14px 50px rgba(0,0,0,0.45);
    cursor: pointer;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .mf-model-card:focus {
        outline: 2px solid rgba(28, 141, 255, 0.55);
        outline-offset: 2px;
    }

    .mf-model-card:hover {
        transform: translateY(-3px);
        border-color: rgba(28, 141, 255, 0.35);
        box-shadow: 0 18px 70px rgba(0,0,0,0.55);
    }

.mf-model-media {
    height: 170px;
    background: radial-gradient(circle at 20% 20%, rgba(28,141,255,0.25), transparent 45%), radial-gradient(circle at 80% 40%, rgba(255,91,0,0.22), transparent 50%), rgba(19,45,71,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mf-model-meta {
    padding: 12px 12px 14px;
}

.mf-model-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.mf-model-sub {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.mf-model-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(12,12,14,0.55);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.mf-model-card.is-selected {
    border-color: var(--mf-neon-orange-glow);
    box-shadow: 0 18px 90px rgba(255, 91, 0, 0.12), 0 18px 70px rgba(0,0,0,0.55);
}

    .mf-model-card.is-selected .mf-model-check {
        border-color: rgba(255, 91, 0, 0.75);
        background: rgba(255, 91, 0, 0.22);
    }

.mf-sticky-cta {
    position: sticky;
    bottom: 14px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(12, 12, 14, 0.72);
    border: 1px solid rgba(28, 141, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 70px rgba(0,0,0,0.55);
}

.mf-selected-k {
    display: block;
    font-size: 12px;
    opacity: 0.75;
}

.mf-selected-v {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.mf-sticky-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mf-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

/* Responsive */
@media (max-width: 980px) {
    .mf-request-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 620px) {
    .mf-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mf-sticky-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mf-sticky-right {
        justify-content: stretch;
    }
}
/* =========================
   ForgeTicket - Form (Index)
   ========================= */

.mf-form {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 22px 22px 18px;
    border-radius: 18px;
    background: rgba(12, 12, 14, 0.62);
    border: 1px solid rgba(28, 141, 255, 0.20);
    box-shadow: 0 18px 70px rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mf-form-errors {
    max-width: 760px;
    margin: 14px auto 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 91, 0, 0.30);
    background: rgba(255, 91, 0, 0.10);
}

    .mf-form-errors ul {
        margin: 0;
        padding-left: 16px;
    }

.mf-form-group {
    margin: 0 0 14px;
}

    .mf-form-group label {
        display: block;
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 600;
        opacity: 0.92;
    }

    .mf-form-group input,
    .mf-form-group select,
    .mf-form-group textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.14);
        background: rgba(19, 45, 71, 0.35);
        color: #fff;
        outline: none;
        transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .mf-form-group textarea {
        min-height: 120px;
        resize: vertical;
        line-height: 1.35;
    }

        .mf-form-group input::placeholder,
        .mf-form-group textarea::placeholder {
            color: rgba(255,255,255,0.55);
        }

        .mf-form-group input:focus,
        .mf-form-group select:focus,
        .mf-form-group textarea:focus {
            border-color: rgba(28, 141, 255, 0.55);
            box-shadow: 0 0 0 3px rgba(28, 141, 255, 0.15);
        }

.mf-form-help {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 91, 0, 0.18);
    background: rgba(255, 91, 0, 0.08);
}

.mf-muted {
    opacity: 0.82;
}

.mf-small {
    font-size: 12px;
}

.mf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: rgba(255, 91, 0, 0.95);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
    transition: opacity 160ms ease, transform 160ms ease;
}

    .mf-link:hover {
        opacity: 1;
        transform: translateY(-1px);
    }

.mf-hidden {
    display: none !important;
}

/* Button alignment */
.mf-form .mf-btn {
    margin-top: 6px;
}

/* Optional: 2-column layout on wide screens */
@media (min-width: 860px) {
    .mf-form {
        padding: 24px 26px 20px;
    }

    /* Make the first 6 fields a grid automatically if your HTML order stays consistent */
    .mf-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
    }

        /* Full-width blocks */
        .mf-form .mf-form-errors,
        .mf-form textarea,
        .mf-form button[type="submit"],
        .mf-form-help,
        #mf-franchise-custom-wrap,
        .mf-form-group:last-of-type {
            grid-column: 1 / -1;
        }

        /* Ensure each fieldset behaves */
        .mf-form fieldset.mf-form-group {
            margin: 0;
        }
}

/* Mobile polish */
@media (max-width: 520px) {
    .mf-form {
        margin-top: 18px;
        padding: 16px 14px 14px;
    }

    .mf-form-group input,
    .mf-form-group select,
    .mf-form-group textarea {
        padding: 10px 10px;
    }
}
/* =========================
   ForgeTicket - Models page
   ========================= */

.mf-glass {
    border-radius: 16px;
    background: rgba(19, 45, 71, 0.35);
    border: 1px solid rgba(28, 141, 255, 0.22);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mf-request {
    padding: 16px;
    margin-bottom: 18px;
}

.mf-request-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mf-request-item .mf-k {
    display: block;
    font-size: 12px;
    opacity: 0.75;
}

.mf-request-item .mf-v {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.mf-span-2 {
    grid-column: span 2;
}

.mf-request-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.mf-gallery-head {
    margin: 18px 0 12px;
}

.mf-h2 {
    font-size: 18px;
    margin: 0 0 6px;
}

.mf-muted {
    opacity: 0.8;
}

.mf-small {
    font-size: 12px;
}

.mf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.mf-model-card {
    position: relative;
    text-align: left;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 91, 0, 0.18);
    background: rgba(12, 12, 14, 0.55);
    box-shadow: 0 14px 50px rgba(0,0,0,0.45);
    cursor: pointer;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .mf-model-card:hover {
        transform: translateY(-3px);
        border-color: rgba(28, 141, 255, 0.35);
        box-shadow: 0 18px 70px rgba(0,0,0,0.55);
    }

    .mf-model-card:focus {
        outline: 2px solid rgba(28, 141, 255, 0.55);
        outline-offset: 2px;
    }

.mf-model-media {
    height: 170px;
    background: radial-gradient(circle at 20% 20%, rgba(28,141,255,0.25), transparent 45%), radial-gradient(circle at 80% 40%, rgba(255,91,0,0.22), transparent 50%), rgba(19,45,71,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mf-model-meta {
    padding: 12px 12px 14px;
}

.mf-model-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.mf-model-sub {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.mf-model-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(12,12,14,0.55);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.mf-model-card.is-selected {
    border-color: var(--mf-neon-orange-glow);
    box-shadow: 0 18px 90px rgba(255, 91, 0, 0.12), 0 18px 70px rgba(0,0,0,0.55);
}

    .mf-model-card.is-selected .mf-model-check {
        border-color: rgba(255, 91, 0, 0.75);
        background: rgba(255, 91, 0, 0.22);
    }

.mf-sticky-cta {
    position: sticky;
    bottom: 14px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(12, 12, 14, 0.72);
    border: 1px solid rgba(28, 141, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 70px rgba(0,0,0,0.55);
}

.mf-selected-k {
    display: block;
    font-size: 12px;
    opacity: 0.75;
}

.mf-selected-v {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.mf-sticky-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mf-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

/* Responsive */
@media (max-width: 980px) {
    .mf-request-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .mf-span-2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .mf-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mf-sticky-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mf-sticky-right {
        justify-content: stretch;
    }
}
/* Dummy images inside cards */
.mf-model-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.95;
}

/* Ensure title area is readable over images */
.mf-model-meta {
    background: linear-gradient(to top, rgba(12,12,14,0.75), rgba(12,12,14,0.0));
    margin-top: -48px;
    padding-top: 56px;
}

/* Always-visible CTA row (fallback) */
.mf-cta-row {
    margin: 10px 0 18px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(12, 12, 14, 0.62);
    border: 1px solid rgba(28, 141, 255, 0.18);
    box-shadow: 0 16px 60px rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mf-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Sticky CTA should float above everything */
.mf-sticky-cta {
    z-index: 50;
}

/* Mobile */
@media (max-width: 620px) {
    .mf-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mf-cta-actions {
        justify-content: stretch;
    }
}
/* =========================
   Models - Modal preview
   ========================= */
.mf-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}

    .mf-modal.is-open {
        display: block;
    }

.mf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mf-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(980px, calc(100vw - 24px));
    border-radius: 18px;
    overflow: hidden;
    background: rgba(12,12,14,0.85);
    border: 1px solid rgba(28, 141, 255, 0.22);
    box-shadow: 0 24px 120px rgba(0,0,0,0.70);
}

.mf-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(12,12,14,0.55);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 32px;
}

.mf-modal-media {
    background: rgba(19,45,71,0.25);
}

    .mf-modal-media img {
        width: 100%;
        height: auto;
        display: block;
        max-height: 70vh;
        object-fit: contain;
    }

.mf-modal-meta {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mf-modal-title {
    font-size: 15px;
    font-weight: 800;
}
/* ForgeTicket: empty state */
.mf-empty-state {
    grid-column: 1 / -1;
    padding: 22px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(10, 18, 28, .72);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
}

    .mf-empty-state .mf-h3 {
        margin: 0 0 8px;
        font-size: 18px;
        letter-spacing: .02em;
    }

    .mf-empty-state .mf-muted {
        margin: 0 0 14px;
        max-width: 62ch;
    }

    .mf-empty-state .mf-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }
/* ========== ForgeTicket Models: OVERRIDES (force) ========== */
.mf-ft-models .mf-gallery-grid {
    align-items: stretch !important;
}

.mf-ft-models .mf-model-card {
    border-radius: 18px !important;
    overflow: hidden !important;
    min-height: 420px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.mf-ft-models .mf-model-media {
    height: 330px !important;
    min-height: 330px !important;
    position: relative !important;
}

    .mf-ft-models .mf-model-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transform: translateZ(0) !important;
    }

/* Footer readable */
.mf-ft-models .mf-model-meta {
    margin-top: auto !important;
    padding: 14px 14px 16px !important;
    background: rgba(6, 12, 18, .78) !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
}

.mf-ft-models .mf-model-title {
    color: rgba(255,255,255,.92) !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
}

.mf-ft-models .mf-model-sub {
    color: rgba(255,255,255,.55) !important;
    font-size: 12px !important;
}

/* Optional: tighter grid if needed */
.mf-ft-models .mf-gallery-grid {
    gap: 18px !important;
}

/* Mobile: keep it sane */
@media (max-width: 860px) {
    .mf-ft-models .mf-model-card {
        min-height: 360px !important;
    }

    .mf-ft-models .mf-model-media {
        height: 260px !important;
        min-height: 260px !important;
    }
}
/* Fix: remove inner gap inside model card */
.mf-ft-models .mf-model-card {
    gap: 0 !important;
}

.mf-ft-models .mf-model-media {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

    .mf-ft-models .mf-model-media img {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        vertical-align: top !important; /* kills baseline gaps */
    }

    /* In case the image is inside an <a> or wrapper */
    .mf-ft-models .mf-model-media * {
        line-height: 0 !important;
    }
/* Force card layout: media grows, footer stays */
.mf-ft-models .mf-model-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 420px !important; /* keep if you want */
    padding: 0 !important;
}

.mf-ft-models .mf-model-media {
    flex: 1 1 auto !important; /* THIS is the fix */
    height: auto !important; /* remove fixed height */
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.mf-ft-models .mf-model-meta {
    flex: 0 0 auto !important;
    margin-top: 0 !important; /* remove auto pushing weirdness */
}
.mf-ft-models .mf-model-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
/* Bootstrap Offcanvas skinned for MaxiForge */
.mf-offcanvas {
    background: var(--mf-black);
    color: var(--mf-white);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

    .mf-offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .mf-offcanvas .mf-mobile-links a {
        display: block;
        padding: 12px 6px;
        text-decoration: none;
        color: var(--mf-white);
        border-radius: 10px;
    }

        .mf-offcanvas .mf-mobile-links a:hover {
            background: rgba(255, 255, 255, 0.06);
        }
/* --- OFFCANVAS HARDENING: prevent horizontal overflow --- */
.offcanvas {
    max-width: 100vw;
}

    .offcanvas.offcanvas-end {
        right: 0;
        left: auto;
    }

    /* When hidden, keep it truly offscreen without expanding document width */
    .offcanvas:not(.show) {
        visibility: hidden;
        pointer-events: none;
    }

    /* Bootstrap uses transform; ensure it doesn't get overridden by site styles */
    .offcanvas.offcanvas-end:not(.show) {
        transform: translateX(100%) !important;
    }
body {
    overflow-x: clip;
}
/* --- OFFCANVAS: never contribute to horizontal scroll when hidden --- */
.offcanvas {
    max-width: 100vw;
    overflow-x: hidden;
}

    /* Ensure it is anchored correctly */
    .offcanvas.offcanvas-end {
        right: 0;
        left: auto;
    }

    /* Hidden state: keep it out of layout and out of scrollWidth */
    .offcanvas:not(.show) {
        visibility: hidden;
        pointer-events: none;
    }

    .offcanvas.offcanvas-end:not(.show) {
        transform: translate3d(100%, 0, 0) !important;
    }

    /* When shown, make it visible again */
    .offcanvas.show {
        visibility: visible;
        pointer-events: auto;
    }
/* --- OFFCANVAS FIX: do not contribute to document scrollWidth when hidden --- */
#mfMobileMenu.offcanvas {
    max-width: 100vw;
    overflow-x: hidden;
}

    #mfMobileMenu.offcanvas.offcanvas-end {
        right: 0;
        left: auto;
    }

    /* Key: when hidden, force it to be effectively non-rendered for layout/scrollWidth */
    #mfMobileMenu.offcanvas:not(.show) {
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(100%, 0, 0) !important;
    }

    /* When shown, restore */
    #mfMobileMenu.offcanvas.show {
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
    }
