﻿:root {
    --bg: #050505;
    --bg-soft: #0f0f0f;
    --card: #121212;
    --red: #ff2a00;
    --red-soft: #ff4d2d;
    --text: #ffffff;
    --black: #000;
    --muted: #b5b5b5;
    --border: rgba(255,255,255,.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter',sans-serif;
    overflow-x: hidden;
}

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,42,0,.12), transparent 25%), radial-gradient(circle at bottom left, rgba(255,42,0,.08), transparent 20%);
        pointer-events: none;
        z-index: -1;
    }

html,
body {
    overflow-x: hidden;
}

section {
    overflow: hidden;
}

.container {
    width: min(1200px,92%);
    margin: auto;
}

/* NAVBAR */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: #fff;
    border-bottom: 1px solid var(--border);
}

    .navbar.scrolled {
        background: #050505;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }

.nav-wrapper {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: white;
}

    .logo img {
        width: 100px;
    }

    .logo span {
        font-family: 'Orbitron',sans-serif;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

.menu {
    display: flex;
    gap: 35px;
}

    .menu a {
        color: var(--black);
        text-decoration: none;
        font-size: .95rem;
        transition: .3s;
    }

        .menu a:hover {
            color: var(--red);
        }

.btn {
    background: linear-gradient(135deg,var(--red),var(--red-soft));
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 0 30px rgba(255,42,0,.25);
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 40px rgba(255,42,0,.45);
    }

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero::after {
        content: '';
        position: absolute;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(255,42,0,.18), transparent 70%);
        top: -200px;
        right: -200px;
        z-index: -1;
    }



.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 120px;
}

.hero-text h1 {
    font-size: 4.2rem;
    line-height: 1.05;
    font-family: 'Orbitron',sans-serif;
    margin-bottom: 25px;
}

    .hero-text h1 span {
        color: var(--red);
    }

.hero-text p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.15);
    padding: 14px 28px;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: .3s;
}

    .btn-outline:hover {
        border-color: var(--red);
        background: rgba(255,42,0,.1);
    }

.hero-card {
    /*background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    padding: 40px;*/
    /*position: relative;
    overflow: hidden;*/
    /*box-shadow: 0 0 50px rgba(0,0,0,.4);*/
}

    .hero-card::before {
        /*content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,42,0,.15), transparent 40%);*/
    }

    .hero-card img {
        width: 100%;
        filter: drop-shadow(0 0 30px rgba(255,42,0,.25));
        animation: float 5s ease-in-out infinite;
    }

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* STATS */

.stats {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 24px;
    text-align: center;
    transition: .3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255,42,0,.35);
    }

    .stat-card h3 {
        font-size: 2rem;
        color: var(--red);
        margin-bottom: 10px;
        font-family: 'Orbitron',sans-serif;
    }

    .stat-card p {
        color: var(--muted);
    }

/* SERVICES */


section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

    .section-title span {
        color: var(--red);
        text-transform: uppercase;
        letter-spacing: 3px;
        font-size: .85rem;
    }

    .section-title h2 {
        font-size: 3rem;
        margin-top: 15px;
        font-family: 'Orbitron',sans-serif;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: .35s;
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .35s ease, box-shadow .35s ease;
    /**/
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(255,42,0,.08), transparent );
        opacity: 0;
        transition: .35s;
    }

    .service-card:hover::before {
        opacity: 1;
    }


    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(255,42,0,.15), 0 15px 35px rgba(0,0,0,.35);
    }

    .service-card::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        background: var(--red);
        transition: .35s;
    }

    .service-card:hover::after {
        width: 100%;
    }


    .service-card i {
        width: 70px;
        height: 70px;
        display: grid;
        place-items: center;
        background: rgba(255,42,0,.12);
        color: var(--red);
        border-radius: 18px;
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .service-card:hover i {
        transform: scale(1.08);
    }

    .service-card h3 {
        margin-bottom: 15px;
        font-size: 1.3rem;
        color: var(--black);
    }

    .service-card p {
        color: var(--muted);
        line-height: 1.8;
    }


/* =========================
   COUNTER SECTION
========================= */

.counter-section {
    margin-top: 90px;
    display: flex;
    justify-content: center;
}

.counter-box {
    text-align: center;
    padding: 50px 70px;
    border-radius: 32px;
    background: linear-gradient( 180deg, rgba(255,255,255,.04), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    /* GLOW */

    .counter-box::before {
        content: '';
        position: absolute;
        width: 350px;
        height: 350px;
        background: rgba(255,42,0,.10);
        filter: blur(120px);
        border-radius: 50%;
        top: -180px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
    }

    .counter-box h2 {
        position: relative;
        z-index: 1;
        font-size: 5rem;
        font-family: 'Orbitron',sans-serif;
        color: var(--red);
        line-height: 1;
        margin-bottom: 18px;
        text-shadow: 0 0 20px rgba(255,42,0,.25);
    }

    .counter-box .plus {
        font-size: 4rem;
    }

    .counter-box p {
        position: relative;
        z-index: 1;
        color: #fff;
        font-size: 1.15rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: .9;
    }



/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-family: 'Orbitron',sans-serif;
}

.about-content p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 35px;
}

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 22px;
    border-radius: 18px;
    display: flex;
    gap: 15px;
    align-items: center;
    background: linear-gradient( 180deg, rgba(255,255,255,.05), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

    .feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255,42,0,.08);
    }

    .feature i {
        color: var(--red);
        font-size: 1.2rem;
    }

.about-image {
    /*background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 50px;
    text-align: center;*/
    position: relative;
}

    .about-image::before {
        content: '';
        position: absolute;
        width: 350px;
        height: 350px;
        background: rgba(255,42,0,.12);
        filter: blur(90px);
        border-radius: 50%;
        z-index: -1;
    }

    .about-image img {
        width: 100%;
        /*max-width: 420px;*/
    }

/* CTA */

.cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255,42,0,.15), rgba(255,255,255,.02));
    border: 1px solid rgba(255,42,0,.2);
    border-radius: 30px;
    padding: 70px;
    text-align: center;
}

    .cta-box h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-family: 'Orbitron',sans-serif;
    }

    .cta-box p {
        color: var(--muted);
        max-width: 700px;
        margin: auto;
        margin-bottom: 35px;
        line-height: 1.8;
    }

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 450px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

/*.footer-links a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 14px;
    transition: .3s;
}

    .footer-links a:hover {
        color: var(--red);
    }*/


.footer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 14px;
    transition: .3s;
}

    .footer-links a i {
        width: 18px;
        color: var(--red);
        transition: .3s;
    }

    .footer-links a:hover {
        color: #fff;
        transform: translateX(4px);
    }

        .footer-links a:hover i {
            color: var(--red-soft);
        }

.copy {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    color: #7a7a7a;
    text-align: center;
    font-size: .9rem;
}

.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

    /* HOVER */

    .whatsapp:hover {
        transform: translateY(-6px) scale(1.08);
        box-shadow: 0 18px 40px rgba(37,211,102,.45), 0 10px 30px rgba(0,0,0,.35);
    }

    /* ICONO */

    .whatsapp i {
        transition: transform .35s ease;
    }

    .whatsapp:hover i {
        transform: scale(1.12);
    }



#clientes {
    /*overflow: hidden;
    background: #0a0a0a;*/
}

.clientes-slider {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.clientes-track {
    display: flex;
    gap: 25px;
    width: max-content;
    will-change: transform;
}

.cliente-item {
    flex-shrink: 0;
    min-width: max-content;
    padding: 18px 30px;
    border-radius: 18px;
    background: linear-gradient( 180deg, rgba(255,255,255,.05), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.06);
    color: #fff;
    font-weight: 500;
    transition: .35s;
    backdrop-filter: blur(10px);
}

    .cliente-item:hover {
        /*transform: translateY(-4px);*/
        border-color: rgba(255,42,0,.25);
        box-shadow: 0 10px 30px rgba(255,42,0,.08);
        color: #fff;
    }

#testimonios {
    /*background: #050505;*/
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.testimonio-card {
    background: #f3f3f3;
    border-radius: 28px;
    padding: 40px;
    color: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: .35s;
}

    .testimonio-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(255,42,0,.12);
    }

.stars {
    color: var(--red);
    margin-bottom: 20px;
}

.testimonio-card p {
    line-height: 1.9;
    margin-bottom: 25px;
    color: #444;
}

.cliente-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .cliente-info span {
        color: #777;
        font-size: .9rem;
    }



/* =========================
   REVEAL ANIMATIONS
========================= */

/* BASE */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

    /* ACTIVO */

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================
   DIRECCIONES
========================= */

/* IZQUIERDA */

/*.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s ease, transform 1s ease;
}

    .reveal-left.active {
        opacity: 1;
        transform: translateX(0);
    }*/

/* DERECHA */

/*.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s ease, transform 1s ease;
}

    .reveal-right.active {
        opacity: 1;
        transform: translateX(0);
    }*/

/* ZOOM SUAVE */

.reveal-zoom {
    opacity: 0;
    transform: scale(.92);
    transition: opacity 1s ease, transform 1s ease;
}

    .reveal-zoom.active {
        opacity: 1;
        transform: scale(1);
    }

/* =========================
   STAGGER
========================= */

/* SERVICIOS */

.services-grid .service-card:nth-child(1) {
    transition-delay: .1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: .2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: .3s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: .4s;
}

.services-grid .service-card:nth-child(5) {
    transition-delay: .5s;
}

.services-grid .service-card:nth-child(6) {
    transition-delay: .6s;
}

/* TESTIMONIOS */

.testimonios-grid .testimonio-card:nth-child(1) {
    transition-delay: .1s;
}

.testimonios-grid .testimonio-card:nth-child(2) {
    transition-delay: .2s;
}

.testimonios-grid .testimonio-card:nth-child(3) {
    transition-delay: .3s;
}

/* FEATURES */

.features .feature:nth-child(1) {
    transition-delay: .1s;
}

.features .feature:nth-child(2) {
    transition-delay: .2s;
}

.features .feature:nth-child(3) {
    transition-delay: .3s;
}

.features .feature:nth-child(4) {
    transition-delay: .4s;
}

/* CLIENTES */

.clientes-track .cliente-item:nth-child(1) {
    transition-delay: .05s;
}

.clientes-track .cliente-item:nth-child(2) {
    transition-delay: .1s;
}

.clientes-track .cliente-item:nth-child(3) {
    transition-delay: .15s;
}

.clientes-track .cliente-item:nth-child(4) {
    transition-delay: .2s;
}

.clientes-track .cliente-item:nth-child(5) {
    transition-delay: .25s;
}

/* =========================
   HOVER SUAVE EXTRA
========================= */

.reveal.active:hover {
    transition: transform .35s ease, box-shadow .35s ease;
}

.mobile-break {
    display: none;
}


/* MENU MOVIL */

.menu-toggle {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 16px;
    background: rgba(255,42,0,.12);
    color: var(--red);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: .3s;
}

    .menu-toggle:hover {
        background: var(--red);
        color: #fff;
    }



/* =========================
   LOADER
========================= */

.loader {
    position: fixed;
    inset: 0;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;
    z-index: 99999;
    transition: opacity .6s ease, visibility .6s ease;
}

    .loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .loader img {
        width: 140px;
        animation: pulse 2s infinite ease-in-out;
    }

.loader-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient( circle, rgba(255,42,0,.20), transparent 70% );
    filter: blur(60px);
}

.loader span {
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .9rem;
    opacity: .7;
}

@keyframes pulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

/* RESPONSIVE */

@media(max-width:992px) {

    .hero-content,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    /*.menu {
        display: none;
    }*/

    .navbar .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 42, 0, 0.95);
        backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: .45s ease;
        z-index: 999;
    }

        .menu.active {
            right: 0;
        }

        .menu li {
            list-style: none;
        }

        .menu a {
            color: #fff;
            font-family: 'Orbitron', sans-serif;
            font-size: 1.5rem;
            text-decoration: none;
            font-weight: 400;
        }

}


@media(max-width:768px) {

    .mobile-break {
        display: block;
    }

    .mobile-hide {
        display: none;
    }


    section {
        padding: 120px 0 0px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .hero {
        text-align: center;
        min-height: auto;
        padding: 40px 0 40px;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-outline {
        border: none;
        padding: 14px 28px;
        border-radius: 14px;
        background: #fff;
        color: #000;
        text-decoration: none;
        transition: .3s;
        margin-top: 10px;
    }

    .services-grid,
    .stats-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .hero-text h1,
    .section-title h2,
    .about-content h2,
    .cta-box h2 {
        font-size: 2.2rem;
        line-height: 1.2em;
    }

    .hero-text p {
        font-size: 1rem;
        letter-spacing: 1px;
        line-height: 1.8;
        margin-bottom: 35px;
        max-width: 600px;
    }

    .stat-card {
        padding: 30px;
        border-radius: 24px;
        width: 86%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .counter-section {
        margin-top: 30px;
    }

    .counter-box {
        width: 100%;
        padding: 40px 25px;
    }

        .counter-box h2 {
            font-size: 3.5rem;
        }

        .counter-box .plus {
            font-size: 3rem;
        }

    .about-content {
        text-align: center;
    }


    .testimonios-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .cta {
        padding: 120px 0 0px 0;
    }

    .footer-grid {
        text-align: center;
    }

    .logo {
        display: block;
        gap: 14px;
    }

    .footer-links {
        text-align: center;
    }

        .footer-links a {
            justify-content: center;
        }
}
