/* ========================================================= */
/* RESET */
/* ========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--dark);
    color:var(--white);
    font-family:var(--font-sans);
    overflow-x:hidden;
    line-height:1.6;
}

body.has-fixed-nav{
    padding-top:78px;
}

@media(min-width:992px){
    body.has-fixed-nav{
        padding-top:86px;
    }
}

.skip-link:focus{
    position:fixed;
    left:12px;
    top:12px;
    z-index:11000;
    padding:10px 16px;
    border-radius:10px;
    background:var(--primary);
    color:var(--white)!important;
    text-decoration:none;
    box-shadow:var(--shadow-orange-sm);
}

/* ========================================================= */
/* VARIABLES */
/* ========================================================= */

:root{

    --primary:#ff6b00;
    --primary-light:#ff8c3a;
    --primary-glow:rgba(255,107,0,0.35);
    --dark:#050505;
    --dark-2:#0d0d0d;
    --dark-3:#111111;
    --gray-muted:#b5b5b5;
    --gray-soft:#bcbcbc;
    --gray-mid:#aaaaaa;
    --gray-dim:#8d8d8d;
    --gray-footer:#b8b8b8;
    --gray-copy:#888888;
    --white:#ffffff;
    --border:rgba(255,255,255,0.08);
    --shadow-orange-sm:0 10px 30px rgba(255,107,0,0.3);
    --shadow-orange-lg:0 15px 40px rgba(255,107,0,0.45);
    --shadow-card:0 25px 60px rgba(255,107,0,0.18);
    --font-sans:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;

}

/* ========================================================= */
/* GENERAL */
/* ========================================================= */

section{
    position:relative;
    z-index:2;
}

.container{
    position:relative;
    z-index:2;
}

.section-dark{
    background:#0a0a0a;
}

.section-title{
    text-align:center;
    max-width:850px;
    margin:auto;
}

.section-badge{

    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,107,0,0.12);
    border:1px solid rgba(255,107,0,0.25);
    color:var(--primary);
    font-size:13px;
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:25px;

}

.section-title h2{

    font-size:3rem;
    font-weight:800;
    line-height:1.2;
    margin-bottom:25px;

}

.section-title p{

    color:var(--gray-muted);
    font-size:1.1rem;

}

/* ========================================================= */
/* NAVBAR */
/* ========================================================= */

.cyber-navbar{

    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(15px);
    padding:18px 0;
    transition:background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom:1px solid rgba(255,255,255,0.05);

}

.cyber-navbar.is-scrolled{
    background:rgba(0,0,0,0.92);
    box-shadow:0 12px 40px rgba(0,0,0,0.55);
    border-bottom-color:rgba(255,107,0,0.18);
}

.navbar-logo{
    display:block;
    height:auto;
    max-height:34px;
    width:auto;
}

.navbar-brand{

    font-size:1.7rem;
    font-weight:800;
    color:var(--primary)!important;
    letter-spacing:1px;

}

.nav-link{

    color:#ffffff!important;
    margin-left:18px;
    font-weight:500;
    transition:0.3s;

}

.nav-link:hover{
    color:var(--primary)!important;
}

/* ========================================================= */
/* BOTONES */
/* ========================================================= */

.cyber-btn{

    background:linear-gradient(135deg,var(--primary),#ff8533);
    border:none;
    color:white;
    padding:15px 34px;
    border-radius:60px;
    font-weight:700;
    transition:0.4s;
    box-shadow:var(--shadow-orange-sm);

}

.cyber-btn:hover{

    transform:translateY(-5px);
    color:white;
    box-shadow:var(--shadow-orange-lg);

}

.cyber-btn-outline{

    border:2px solid var(--primary);
    color:var(--primary);
    padding:15px 34px;
    border-radius:60px;
    font-weight:700;
    transition:0.4s;
    text-decoration:none;

}

.cyber-btn-outline:hover{

    background:var(--primary);
    color:white;
    transform:translateY(-5px);

}

/* ========================================================= */
/* HERO SECTION */
/* ========================================================= */

.hero-section{

    min-height:100vh;
    position:relative;
    isolation:isolate;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,107,0,0.16), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(255,140,58,0.12), transparent 38%),
        radial-gradient(circle at 72% 88%, rgba(255,107,0,0.1), transparent 45%),
        linear-gradient(135deg,var(--dark),#101010);
    background-size:200% 200%,200% 200%,200% 200%,100% 100%;
    animation:heroGradientShift 22s ease-in-out infinite alternate;
    display:flex;
    align-items:center;

}

@keyframes heroGradientShift{
    0%{background-position:0% 0%,100% 0%,80% 100%,0 0;}
    100%{background-position:100% 40%,0% 80%,20% 0%,0 0;}
}

.hero-overlay{

    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));

}

#particles-js{

    position:absolute;
    inset:0;
    z-index:1;

}

.hero-content{
    position:relative;
    z-index:3;
}

.cyber-badge{

    display:inline-block;
    padding:12px 25px;
    border-radius:50px;
    background:rgba(255,107,0,0.12);
    border:1px solid rgba(255,107,0,0.3);
    color:var(--primary);
    font-weight:700;
    letter-spacing:1px;

}

.hero-title{

    font-size:4.5rem;
    font-weight:900;
    line-height:1.15;

}

.hero-title span{
    color:var(--primary);
}

.hero-text{

    color:var(--gray-soft);
    font-size:1.2rem;
    max-width:650px;

}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.hero-stats{

    display:flex;
    gap:50px;
    flex-wrap:wrap;

}

.stat-item h3{

    color:var(--primary);
    font-size:1.35rem;
    font-weight:800;
    line-height:1.25;

}

.stat-item p{
    color:var(--gray-mid);
    font-size:0.95rem;
}

.hero-tech-card{

    position:relative;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:30px;
    padding:60px 40px;
    overflow:hidden;
    backdrop-filter:blur(20px);
    box-shadow:0 0 40px rgba(0,0,0,0.5);

}

.hero-tech-card i{

    font-size:6rem;
    color:var(--primary);

}

.hero-tech-card h3{

    font-size:2rem;
    font-weight:800;

}

.hero-tech-card p{
    color:var(--gray-soft);
}

.tech-circle{

    position:absolute;
    width:250px;
    height:250px;
    border-radius:50%;
    background:rgba(255,107,0,0.08);
    top:-100px;
    right:-100px;

}

/* ========================================================= */
/* GLASS CARD */
/* ========================================================= */

.glass-card{

    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:25px;
    padding:40px;
    transition:0.4s;
    backdrop-filter:blur(12px);

}

.glass-card:hover{

    transform:translateY(-10px);
    border-color:rgba(255,107,0,0.4);
    box-shadow:0 20px 50px rgba(255,107,0,0.12);

}

.icon-box{

    width:70px;
    height:70px;
    border-radius:20px;
    background:rgba(255,107,0,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:25px;

}

.icon-box i{

    font-size:2rem;
    color:var(--primary);

}

/* ========================================================= */
/* SERVICES */
/* ========================================================= */

.services-section{
    background:#050505;
}

.service-card{

    background:linear-gradient(145deg,#101010,#151515);
    border:1px solid rgba(255,255,255,0.05);
    border-radius:25px;
    padding:40px 35px;
    transition:0.4s;
    height:100%;
    overflow:hidden;
    position:relative;

}

.service-card::before{

    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.05),
        transparent
    );

    transition:0.8s;

}

.service-card:hover::before{
    left:100%;
}

.service-card:hover{

    transform:translateY(-12px);
    border-color:rgba(255,107,0,0.4);
    box-shadow:var(--shadow-card);

}

.service-icon{

    width:80px;
    height:80px;
    border-radius:20px;
    background:rgba(255,107,0,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:30px;

}

.service-icon i{

    font-size:2.3rem;
    color:var(--primary);

}

.service-card h4{

    font-size:1.5rem;
    margin-bottom:20px;
    font-weight:700;

}

.service-card p{
    color:var(--gray-soft);
}

.services-table-wrap{
    width:100%;
}

.services-table{
    border:0;
    border-collapse:collapse;
    table-layout:fixed;
    width:100%;
}

.services-table caption{
    padding:0;
}

.services-table__cell{
    border:0;
    vertical-align:top;
    text-align:left;
    width:50%;
    padding:1.35rem 1rem;
}

.services-table__inner{
    text-align:left;
}

.services-table__inner .service-icon{
    margin-left:0;
    margin-right:auto;
}

.services-table__inner h4{
    font-size:1.5rem;
    margin-bottom:16px;
    margin-top:0;
    font-weight:700;
}

.services-table__inner p{
    margin:0;
    color:var(--gray-soft);
    line-height:1.65;
}

@media(max-width:767.98px){

    .services-table,
    .services-table tbody,
    .services-table tr{
        display:block;
        width:100%;
    }

    .services-table__cell{
        display:block;
        width:100%;
        padding:1.25rem 0;
    }

}

/* ========================================================= */
/* TECHNOLOGIES */
/* ========================================================= */

.tech-item{

    background:linear-gradient(145deg,#111111,#1a1a1a);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:22px;
    text-align:center;
    font-weight:700;
    transition:0.4s;

}

.tech-item:hover{

    transform:translateY(-8px);
    border-color:var(--primary);
    color:var(--primary);
    box-shadow:0 15px 40px rgba(255,107,0,0.15);

}

/* ========================================================= */
/* PORTFOLIO */
/* ========================================================= */

.portfolio-section{
    background:#080808;
}

.portfolio-thumb{
    border-radius:18px;
    overflow:hidden;
    margin-bottom:22px;
    border:1px solid rgba(255,255,255,0.06);
    background:#0a0a0a;
}

.portfolio-thumb img{
    width:100%;
    height:auto;
    display:block;
    transform:scale(1.02);
    transition:transform 0.6s ease;
}

.portfolio-card:hover .portfolio-thumb img{
    transform:scale(1.06);
}

.about-side-figure{
    border-radius:25px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.06);
    min-height:280px;
}

.about-hero-img{
    object-fit:cover;
    min-height:280px;
}

.hero-figure{
    margin:0 auto;
    max-width:520px;
}

.hero-banner-img{
    display:block;
    width:100%;
    height:auto;
    border:1px solid rgba(255,255,255,0.06);
    animation:heroKen 26s ease-in-out infinite alternate;
    will-change:transform;
}

@keyframes heroKen{
    0%{transform:scale(1.02) translate3d(0,0,0);}
    100%{transform:scale(1.08) translate3d(-10px,-8px,0);}
}

.contact-inline-link,
.footer-inline-link{
    color:inherit;
    text-decoration:none;
    border-bottom:1px dashed rgba(255,107,0,0.35);
    transition:color 0.2s ease, border-color 0.2s ease;
}

.contact-inline-link:hover,
.footer-inline-link:hover{
    color:var(--primary);
    border-bottom-color:rgba(255,107,0,0.75);
}

.cyber-alert.alert-success{
    background:rgba(46,204,113,0.12);
    color:#dff7e4;
}

.cyber-alert.alert-danger{
    background:rgba(231,76,60,0.12);
    color:#ffecec;
}

@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior:auto;
    }
    .hero-section{
        animation:none;
    }
    .hero-banner-img{
        animation:none;
    }
    .portfolio-thumb img,
    .portfolio-card:hover .portfolio-thumb img{
        transition:none;
        transform:none;
    }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:2px;
}

.portfolio-card{

    background:linear-gradient(145deg,#111111,#171717);
    border-radius:25px;
    padding:45px 35px;
    border:1px solid rgba(255,255,255,0.06);
    transition:0.4s;
    height:100%;

}

.portfolio-card:hover{

    transform:translateY(-10px);
    border-color:rgba(255,107,0,0.35);
    box-shadow:0 25px 60px rgba(255,107,0,0.15);

}

.portfolio-icon{

    width:80px;
    height:80px;
    border-radius:20px;
    background:rgba(255,107,0,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:30px;

}

.portfolio-icon i{

    font-size:2.4rem;
    color:var(--primary);

}

/* ========================================================= */
/* CLIENTES MARQUEE */
/* ========================================================= */

.clientes-marquee-section{
    position:relative;
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255,107,0,0.14), transparent 55%),
        linear-gradient(180deg,#060606 0%,#050505 45%,#070707 100%);
    overflow:hidden;
}

.clientes-marquee-section .section-title p{
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
}

.clientes-marquee-outer{
    position:relative;
    width:100%;
    --clientes-marquee-duration:75s;
}

.clientes-marquee-glow{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:min(90%,960px);
    height:120px;
    background:radial-gradient(ellipse at center,rgba(255,107,0,0.22),transparent 70%);
    filter:blur(28px);
    opacity:0.85;
    pointer-events:none;
    z-index:0;
}

.clientes-marquee-fade{
    position:absolute;
    top:0;
    bottom:0;
    width:clamp(48px,8vw,120px);
    z-index:3;
    pointer-events:none;
}

.clientes-marquee-fade--left{
    left:0;
    background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,0.92) 35%,transparent 100%);
}

.clientes-marquee-fade--right{
    right:0;
    background:linear-gradient(270deg,#050505 0%,rgba(5,5,5,0.92) 35%,transparent 100%);
}

.clientes-marquee-viewport{
    position:relative;
    z-index:1;
    overflow:hidden;
    width:100%;
    padding:18px 0 28px;
    mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%);
}

.clientes-marquee-viewport:hover .clientes-marquee-track{
    animation-play-state:paused;
}

.clientes-marquee-track{
    display:flex;
    flex-direction:row;
    align-items:center;
    width:max-content;
    gap:clamp(0.3rem,0.6vw,0.65rem);
    animation:clientesMarqueeX var(--clientes-marquee-duration,75s) linear infinite;
    will-change:transform;
}

@keyframes clientesMarqueeX{
    0%{transform:translate3d(0,0,0);}
    100%{transform:translate3d(-50%,0,0);}
}

.clientes-marquee-item{
    position:relative;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0.13rem 0.22rem;
    border-radius:16px;
    background:linear-gradient(145deg,rgba(255,255,255,0.04),rgba(20,20,20,0.95));
    border:1px solid rgba(255,255,255,0.06);
    box-shadow:0 8px 32px rgba(0,0,0,0.35);
    transition:border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.clientes-marquee-item::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(125deg,rgba(255,107,0,0.12),transparent 42%,rgba(255,107,0,0.08));
    opacity:0;
    transition:opacity 0.45s ease;
    pointer-events:none;
}

.clientes-marquee-item:hover::before{
    opacity:1;
}

.clientes-marquee-item:hover{
    border-color:rgba(255,107,0,0.45);
    box-shadow:0 12px 40px rgba(255,107,0,0.18);
    transform:translateY(-4px) scale(1.02);
}

.clientes-marquee-item__shine{
    position:absolute;
    inset:-2px;
    border-radius:inherit;
    background:linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255,255,255,0.07) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size:220% 100%;
    animation:clientesShine 4.5s ease-in-out infinite;
    pointer-events:none;
    opacity:0.55;
}

.clientes-marquee-item--dup .clientes-marquee-item__shine{
    animation-delay:-2.2s;
}

@keyframes clientesShine{
    0%{background-position:100% 0;}
    100%{background-position:-100% 0;}
}

.clientes-marquee-item img{
    display:block;
    height:clamp(48px,6.6vw,67px);
    width:auto;
    max-width:min(240px,33.6vw);
    object-fit:contain;
    filter:grayscale(1) contrast(1.05) brightness(1.08);
    opacity:0.88;
    transition:filter 0.45s ease, opacity 0.45s ease;
}

.clientes-marquee-item:hover img{
    filter:grayscale(0) contrast(1.05) brightness(1.05);
    opacity:1;
}

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

    .clientes-marquee-track{
        animation:none;
        flex-wrap:wrap;
        justify-content:center;
        width:100%;
        max-width:1100px;
        margin:0 auto;
        row-gap:0.25rem;
        column-gap:clamp(0.3rem,0.6vw,0.65rem);
    }

    .clientes-marquee-item--dup{
        display:none!important;
    }

    .clientes-marquee-item__shine{
        animation:none;
        opacity:0;
    }

    .clientes-marquee-viewport{
        mask-image:none;
        -webkit-mask-image:none;
        overflow:visible;
    }

    .clientes-marquee-viewport:hover .clientes-marquee-track{
        animation-play-state:running;
    }

}

/* ========================================================= */
/* CONTACT */
/* ========================================================= */

.contact-section{
    background:#050505;
}

.contact-form{

    background:rgba(255,255,255,0.04);
    padding:45px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,0.06);
    backdrop-filter:blur(15px);

}

.contact-form .form-control{

    background:#111111;
    border:1px solid rgba(255,255,255,0.08);
    color:white;
    padding:16px 20px;
    border-radius:15px;

}

.contact-form .form-control:focus{

    background:#111111;
    color:white;
    border-color:var(--primary);
    box-shadow:none;

}

.contact-form .form-control::placeholder{
    color:#8d8d8d;
}

.contact-item{

    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:20px;
    color:#d0d0d0;

}

.contact-item i{
    color:var(--primary);
    margin-top:3px;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */

.footer-section{

    background:#000000;
    padding:90px 0 40px;
    border-top:1px solid rgba(255,255,255,0.05);

}

.footer-logo{

    color:var(--primary);
    font-weight:900;
    margin-bottom:25px;

}

.footer-description{

    color:#b8b8b8;
    line-height:1.8;

}

.footer-title{

    color:white;
    margin-bottom:25px;
    font-weight:700;

}

.footer-links{

    list-style:none;
    padding:0;

}

.footer-links li{
    margin-bottom:14px;
}

.footer-links a{

    color:#b8b8b8;
    text-decoration:none;
    transition:0.3s;

}

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

.footer-contact-item{

    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:18px;
    color:#b8b8b8;

}

.footer-contact-item i{
    color:var(--primary);
    margin-top:4px;
}

.footer-divider{

    margin:60px 0 30px;
    height:1px;
    background:rgba(255,255,255,0.08);

}

.copyright-text,
.footer-powered{

    color:#888888;
    margin:0;

}

.footer-social{

    display:flex;
    gap:15px;

}

.footer-social a{

    width:42px;
    height:42px;
    border-radius:50%;
    background:#111111;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    transition:0.3s;

}

.footer-social a:hover{

    background:var(--primary);
    transform:translateY(-5px);

}

/* ========================================================= */
/* WHATSAPP FLOAT */
/* ========================================================= */

.whatsapp-float{

    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:2rem;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(37,211,102,0.4);
    transition:0.4s;

}

.whatsapp-float:hover{

    transform:scale(1.1);
    color:white;

}

/* ========================================================= */
/* RESPONSIVE */
/* ========================================================= */

@media(max-width:992px){

    .hero-title{
        font-size:3.2rem;
    }

    .section-title h2{
        font-size:2.4rem;
    }

}

@media(max-width:768px){

    .hero-title{
        font-size:2.5rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-stats{
        gap:25px;
    }

    .contact-form{
        padding:30px;
    }

    .section-title h2{
        font-size:2rem;
    }

}

@media(max-width:576px){

    .hero-title{
        font-size:2rem;
    }

    .section-title h2{
        font-size:1.7rem;
    }

    .cyber-btn,
    .cyber-btn-outline{

        width:100%;
        text-align:center;

    }

}