:root {
    --fp-black: #070707;
    --fp-dark: #101014;
    --fp-card: rgba(255, 255, 255, .08);
    --fp-white: #ffffff;
    --fp-muted: rgba(255, 255, 255, .72);
    --fp-pink: #ed145b;
    --fp-blue: #00a9e8;
    --fp-yellow: #ffd21f;
    --fp-radius: 32px;
    --fp-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--fp-black);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', system-ui, sans-serif;
}

.fp-page {
    min-height: 100vh;
    color: var(--fp-white);
    background:
        radial-gradient(circle at 15% 10%, rgba(237, 20, 91, .30), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(0, 169, 232, .22), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(255, 210, 31, .10), transparent 35%),
        var(--fp-black);
}

/* NAVBAR */
.fp-navbar {
    position: fixed !important;
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 92px;
    padding: 10px 24px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .30);
    z-index: 99999;
    transition: .3s ease;
}

.fp-navbar.fp-scrolled {
    min-height: 72px;
    padding: 7px 22px !important;
    background: rgba(16, 16, 20, .94);
}

.fp-navbar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.fp-brand {
    flex: 0 0 auto;
    margin-right: 22px;
}

.fp-brand img {
    height: 72px;
    width: auto;
    display: block;
    transition: .3s ease;
}

.fp-navbar.fp-scrolled .fp-brand img {
    height: 54px;
}

.fp-navbar .navbar-collapse {
    flex: 1 1 auto;
}

.fp-navbar .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.fp-navbar .nav-link {
    color: var(--fp-muted) !important;
    font-weight: 900;
    font-size: .95rem;
    padding: 10px 12px !important;
    white-space: nowrap;
}

.fp-navbar .nav-link:hover {
    color: var(--fp-white) !important;
}

.fp-toggler {
    border: 1px solid rgba(255, 255, 255, .18);
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    margin-left: auto;
}

.fp-toggler span {
    width: 24px;
    height: 2px;
    background: var(--fp-white);
    border-radius: 999px;
}

/* BOTONES */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 950;
    transition: .25s ease;
    border: 0;
    min-height: 56px;
    padding: 14px 28px;
    white-space: nowrap;
}

.fp-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.fp-btn-primary {
    background: linear-gradient(135deg, var(--fp-pink), #ff4f8b);
    color: var(--fp-white);
    box-shadow: 0 18px 45px rgba(237, 20, 91, .35);
}

.fp-btn-outline {
    color: var(--fp-white);
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .06);
}

.fp-btn-light {
    background: var(--fp-white);
    color: var(--fp-black);
}

.fp-btn:hover {
    color: var(--fp-white);
}

.fp-btn-light:hover {
    color: var(--fp-black);
}

/* HERO */
.fp-hero {
    padding: 185px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.fp-pill {
    display: inline-flex;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(237, 20, 91, .16);
    color: #ff6fa1;
    border: 1px solid rgba(237, 20, 91, .28);
    font-size: .9rem;
    font-weight: 950;
    margin-bottom: 20px;
}

.fp-hero h1 {
    font-size: clamp(3.7rem, 7vw, 6.8rem);
    line-height: .9;
    letter-spacing: -4px;
    font-weight: 1000;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, #ff7bad 45%, #00a9e8);
    -webkit-background-clip: text;
    color: transparent;
}

.fp-hero p {
    color: var(--fp-muted);
    font-size: 1.18rem;
    line-height: 1.8;
}

.fp-mini-stat {
    height: 100%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 24px;
    padding: 20px;
}

.fp-mini-stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 1000;
}

.fp-mini-stat span {
    color: var(--fp-muted);
    font-size: .95rem;
}

/* PRINTER HERO */
.fp-printer-hero {
    min-height: 580px;
    border-radius: 46px;
    background:
        radial-gradient(circle at 30% 20%, rgba(237, 20, 91, .28), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 169, 232, .22), transparent 35%),
        rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--fp-shadow);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.fp-printer-machine {
    width: min(390px, 82vw);
    animation: fpFloat 5s ease-in-out infinite;
}

.fp-printer-top {
    width: 58%;
    height: 42px;
    margin: 0 auto -4px;
    border-radius: 18px 18px 6px 6px;
    background: rgba(255, 255, 255, .92);
}

.fp-printer-body {
    min-height: 220px;
    border-radius: 34px;
    background: linear-gradient(135deg, #16161c, #282833);
    border: 2px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
    position: relative;
    padding: 26px;
}

.fp-printer-lights {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.fp-printer-lights span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.fp-printer-lights span:nth-child(1) {
    background: var(--fp-blue);
}

.fp-printer-lights span:nth-child(2) {
    background: var(--fp-pink);
}

.fp-printer-lights span:nth-child(3) {
    background: var(--fp-yellow);
}

.fp-printer-paper {
    width: 74%;
    min-height: 165px;
    margin: 34px auto -92px;
    border-radius: 18px;
    background: white;
    color: var(--fp-black);
    display: grid;
    place-items: center;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    padding: 18px;
}

.fp-printer-paper img {
    max-width: 150px;
    width: 80%;
}

.fp-printer-paper small {
    display: block;
    color: #111;
    font-weight: 900;
    margin-top: -16px;
}

.fp-floating-badge {
    position: absolute;
    padding: 16px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    font-weight: 900;
}

.badge-one {
    left: 34px;
    top: 58px;
}

.badge-two {
    right: 34px;
    bottom: 58px;
}

/* SECCIONES */
.fp-section {
    padding: 100px 0;
}

.fp-section-dark {
    background:
        radial-gradient(circle at 20% 20%, rgba(237, 20, 91, .13), transparent 30%),
        rgba(255, 255, 255, .035);
}

.fp-section-head {
    max-width: 850px;
    margin: 0 auto 50px;
}

.fp-section-head h2,
.fp-section h2,
.fp-final-cta h2 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: .98;
    letter-spacing: -2px;
    font-weight: 1000;
    margin-bottom: 18px;
}

.fp-section-head p,
.fp-section p,
.fp-final-cta p {
    color: var(--fp-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* CARDS */
.fp-card,
.fp-step,
.fp-video-card {
    height: 100%;
    padding: 34px;
    border-radius: var(--fp-radius);
    background: var(--fp-card);
    border: 1px solid rgba(255, 255, 255, .10);
    transition: .28s ease;
}

.fp-card:hover,
.fp-step:hover,
.fp-video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(237, 20, 91, .35);
}

.fp-card span {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 22px;
}

.fp-card h3,
.fp-step h3,
.fp-video-card h3 {
    font-size: 1.35rem;
    font-weight: 1000;
    margin-bottom: 12px;
}

.fp-card p,
.fp-step p,
.fp-video-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* VIDEOS */
.fp-video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    background: #000;
}

.fp-video-card h3 {
    margin-top: 20px;
}

/* GALERÍA */
.fp-gallery-card {
    width: 100%;
    height: 340px;
    border: 0;
    padding: 0;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.fp-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.fp-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .82));
}

.fp-gallery-card span {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    color: white;
    font-size: 1.2rem;
    font-weight: 1000;
    text-align: left;
}

.fp-gallery-card:hover img {
    transform: scale(1.08);
}

/* POSTRES */
.fp-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.fp-list li {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    color: var(--fp-muted);
    font-weight: 800;
}

.fp-list li::before {
    content: "✓";
    color: var(--fp-pink);
    margin-right: 10px;
    font-weight: 1000;
}

.fp-product-showcase {
    min-height: 460px;
    display: grid;
    place-items: center;
    border-radius: 46px;
    background:
        radial-gradient(circle at 30% 20%, rgba(237, 20, 91, .28), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 169, 232, .22), transparent 35%),
        rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--fp-shadow);
}

.fp-product-showcase img {
    width: min(360px, 80%);
    animation: fpPulse 4s ease-in-out infinite;
}

/* STEPS */
.fp-step span {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--fp-pink);
    color: white;
    font-weight: 1000;
    margin-bottom: 24px;
}

/* CTA */
.fp-final-cta {
    width: min(1060px, calc(100% - 32px));
    margin: 40px auto 90px;
    border-radius: 54px;
    padding: 80px 34px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 24%),
        linear-gradient(135deg, var(--fp-pink), #ff7a00);
    box-shadow: 0 34px 100px rgba(237, 20, 91, .35);
    overflow: hidden;
}

.fp-final-cta .fp-pill {
    background: rgba(255, 255, 255, .18);
    color: white;
    border-color: rgba(255, 255, 255, .25);
}

.fp-final-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, .88);
}

/* LIGHTBOX */
.fp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
}

.fp-lightbox.fp-active {
    display: flex;
}

.fp-lightbox img {
    max-width: min(980px, 92vw);
    max-height: 76vh;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}

.fp-lightbox h3 {
    color: white;
    margin-top: 18px;
    font-weight: 1000;
}

.fp-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--fp-pink);
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* FOOTER */
.fp-footer {
    padding: 34px 0 44px;
}

.fp-footer .container {
    padding: 32px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.fp-footer img {
    height: 74px;
}

.fp-footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.fp-footer-links a {
    color: var(--fp-muted);
    text-decoration: none;
    font-weight: 900;
}

.fp-footer-links a:hover {
    color: var(--fp-white);
}

.fp-footer p {
    margin: 0;
    color: var(--fp-muted);
    font-size: .95rem;
}

/* FLOAT */
.fp-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 16px 22px;
    border-radius: 999px;
    font-weight: 1000;
    box-shadow: 0 18px 50px rgba(37, 211, 102, .38);
    transition: .25s ease;
}

.fp-whatsapp:hover {
    color: white;
    transform: translateY(-5px);
}

.fp-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 86px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--fp-pink);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    z-index: 220;
    box-shadow: 0 18px 45px rgba(237, 20, 91, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
}

.fp-scroll-top.fp-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ANIMACIONES */
@keyframes fpFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

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

@keyframes fpPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

/* TABLET */
@media (max-width: 991.98px) {
    .fp-page .container {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .fp-navbar {
        background: rgba(18, 15, 22, .98) !important;
        backdrop-filter: blur(18px);
        border-radius: 28px;
        overflow: hidden;
    }

    .fp-navbar .navbar-collapse {
        margin-top: 16px;
        padding: 18px;
        border-radius: 24px;
        background: #0d0d12 !important;
        border: 1px solid rgba(255, 255, 255, .10);
        box-shadow: none;
    }

    .fp-navbar .navbar-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        margin: 0 !important;
    }

    .fp-navbar .nav-link {
        width: 100%;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: #202026;
        color: #ffffff !important;
        font-size: 1rem;
        font-weight: 900;
        padding: .9rem 1rem !important;
        text-align: center;
    }

    .fp-navbar .nav-link:hover,
    .fp-navbar .nav-link:focus {
        background: linear-gradient(135deg, var(--fp-pink), #ff4f8b);
        color: #ffffff !important;
    }

    .fp-navbar .fp-btn {
        width: 100%;
        margin-top: 14px;
        min-height: 60px;
        border-radius: 999px;
        font-size: 1rem;
    }

    .fp-toggler {
        display: flex;
    }

    .fp-brand img {
        height: 64px;
    }

    .fp-hero {
        padding: 160px 0 75px;
        text-align: center;
        min-height: auto;
    }

    .fp-hero h1 {
        font-size: clamp(3.3rem, 10vw, 4.4rem);
        letter-spacing: -2px;
    }

    .fp-hero p {
        font-size: 1.2rem;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .fp-pill {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        padding: .85rem 1.2rem;
    }

    .fp-btn {
        font-size: 1.08rem;
        min-height: 62px;
    }

    .fp-printer-hero {
        min-height: 500px;
    }

    .fp-section {
        padding: 5.5rem 0;
    }

    .fp-section-head h2,
    .fp-section h2 {
        font-size: clamp(2.6rem, 8vw, 3.25rem);
        letter-spacing: -1px;
    }

    .fp-final-cta h2 {
        font-size: clamp(2.5rem, 8vw, 3.1rem);
        letter-spacing: -1px;
    }

    .fp-section-head p,
    .fp-section p,
    .fp-final-cta p {
        font-size: 1.16rem;
    }

    .fp-card,
    .fp-step,
    .fp-video-card {
        padding: 2.2rem;
    }

    .fp-gallery-card {
        height: 360px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    html {
        font-size: 16px;
    }

    .fp-hero h1 {
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1;
        letter-spacing: -1px;
    }

    .fp-section-head h2,
    .fp-section h2 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
        line-height: 1.05;
        letter-spacing: -0.5px;
    }

    .fp-final-cta h2 {
        font-size: clamp(1.75rem, 7.5vw, 2.2rem);
        line-height: 1.08;
        letter-spacing: -0.5px;
    }

    .fp-hero p,
    .fp-section-head p,
    .fp-section p,
    .fp-final-cta p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .fp-card h3,
    .fp-step h3,
    .fp-video-card h3 {
        font-size: 1.2rem;
    }

    .fp-card p,
    .fp-step p,
    .fp-video-card p,
    .fp-list li {
        font-size: .96rem;
    }

    .fp-btn {
        font-size: 1rem;
        min-height: 56px;
    }

    .fp-pill {
        font-size: .86rem;
    }

    .fp-navbar .nav-link {
        font-size: 1rem;
    }
}

/* MOBILE PEQUEÑO */
@media (max-width: 390px) {
    .fp-hero h1 {
        font-size: clamp(2.75rem, 13vw, 3.55rem);
    }

    .fp-section-head h2,
    .fp-section h2 {
        font-size: clamp(2.1rem, 10.5vw, 2.75rem);
    }

    .fp-final-cta h2 {
        font-size: clamp(2rem, 10.5vw, 2.65rem);
    }

    .fp-brand img {
        height: 66px;
    }

    .fp-navbar.fp-scrolled .fp-brand img {
        height: 52px;
    }

    .fp-toggler {
        width: 52px;
        height: 52px;
    }

    .fp-gallery-card {
        height: 340px;
    }

    .fp-video-card video {
        min-height: 420px;
    }
}
