/* =========================
GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700;900&display=swap');

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

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

:root{

    --rojo:#ff1a1a;
    --rojo-dark:#7a0012;

    --negro:#050505;
    --negro-soft:#0b0b0f;

    --gris:#bdbdbd;

}

body{

    font-family:'Space Grotesk',sans-serif;

    overflow-x:hidden;

    color:white;

    background:
    radial-gradient(circle at top left, rgba(177,18,38,.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(177,18,38,.08), transparent 30%),
    linear-gradient(180deg,#020202 0%, #090909 100%);
}

a{
    text-decoration:none;
    color:white;
}

section{
    padding:130px 8%;
    position:relative;
    z-index:5;
}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#050505;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
    var(--rojo),
    var(--rojo-dark)
    );
    border-radius:20px;
}

/* =========================
BACKGROUND
========================= */

.background{
    position:fixed;
    inset:0;
    z-index:-10;
    overflow:hidden;
}

.glow{
    position:absolute;
    border-radius:50%;
    filter:blur(140px);
    opacity:.35;
    animation:move 12s infinite alternate ease-in-out;
}

.glow1{
    width:500px;
    height:500px;
    background:#ff1a1a;
    top:-150px;
    left:-100px;
}

.glow2{
    width:500px;
    height:500px;
    background:#5c000d;
    bottom:-150px;
    right:-100px;
}

.glow3{
    width:350px;
    height:350px;
    background:#2a0007;
    opacity:.15;
    top:40%;
    left:45%;
}

@keyframes move{

    0%{
        transform:translate(0,0) scale(1);
    }

    100%{
        transform:translate(60px,-50px) scale(1.2);
    }

}

.grid{
    position:fixed;
    inset:0;
    z-index:-9;

    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:55px 55px;

    mask-image:radial-gradient(circle at center, black 35%, transparent 90%);
}

/* =========================
PARTICLES
========================= */

.particles span{
    position:absolute;
    width:4px;
    height:4px;

    background:var(--rojo);

    border-radius:50%;

    box-shadow:
    0 0 12px rgba(177,18,38,.8);

    opacity:.4;

    animation:particle 12s linear infinite;
}

@keyframes particle{

    0%{
        transform:translateY(0px);
        opacity:0;
    }

    50%{
        opacity:.4;
    }

    100%{
        transform:translateY(-1000px);
        opacity:0;
    }

}

/* =========================
HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height: 100px;
    z-index:1000;

    background:rgba(0,0,0,1);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.4s;
}

header.scrolled{
    background:rgba(0,0,0,.88);
    /*padding:5px 0;*/
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 0;
}

.logo{
    font-size:34px;
    font-weight:900;
    letter-spacing:-1px;
}

.logo span{

    background:#ff1a1a;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    position:relative;
    transition:.4s;
    font-weight:500;
}

nav a::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-7px;

    width:0%;
    height:2px;

    background:var(--rojo);

    transition:.4s;
}

nav a:hover{
    color:var(--rojo);
}

nav a:hover::after{
    width:100%;
}

/* =========================
BUTTONS
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:18px 34px;

    border-radius:70px;

    font-weight:700;

    transition:.4s;

    position:relative;

    overflow:hidden;
}

.btn-primary{

    background:linear-gradient(
    135deg,
    #ff1a1a,
    #5c000d
    );

    box-shadow:
    0 10px 35px rgba(177,18,38,.35);
}

.btn-primary:hover{

    transform:
    translateY(-7px)
    scale(1.03);

    box-shadow:
    0 20px 60px rgba(177,18,38,.45);
}

/* HERO */

.hero{
    margin-top: 50px;
    min-height:100vh;
    display:grid;
    grid-template-columns:46% 54%;
    align-items:center;
    gap:40px;
    padding:60px 0;
}

.icon-circle{
    width:90px;
    height:90px;
    border:2px solid var(--rojo);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--rojo);
    font-size:38px;
    margin-bottom:40px;
}

.hero h1{
    font-size:clamp(4rem,8vw,8rem);
    line-height:.9;
    font-weight:900;
    text-transform:uppercase;
}

.hero h1 span{
    display:block;
    color:var(--rojo);
}

.subtitle{
    margin:40px 0 20px;
    font-size:clamp(1.6rem,2vw,2.3rem);
    line-height:1.5;
    color:#ddd;
}

.subtitle span{
    color:var(--rojo);
}

.line{
    width:90px;
    height:4px;
    background:var(--rojo);
    margin:35px 0;
}

.description{
    color:var(--gris);
    font-size:1.45rem;
    line-height:1.8;
    max-width:600px;
}

.right{
    position:relative;
}

.tag{
    position:absolute;
    right:0;
    top:-170px;
    background:#080808;
    border-radius:30px;
    padding:25px 35px;
    display:flex;
    gap:20px;
    align-items:center;
    border:1px solid rgba(255,255,255,.08);
    z-index:10;
}

.tag i{
    color:var(--rojo);
    font-size:50px;
}

.tag span{
    font-size:28px;
    font-weight:700;
    line-height:1.4;
}

.laptop{
    width:100%;
    max-width:950px;
    display:block;
    margin:auto;
    /*filter:drop-shadow(0 30px 80px rgba(255,0,0,.25));*/
}

/* TITULO */

.section-title{
    margin-top:80px;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    font-weight:800;
}

.section-title .line{
    margin-top:15px;
}

/* SERVICIOS */

.services-grid{
    display:grid;
    grid-template-columns:1fr 1fr 380px;
    gap:40px;
    align-items:start;
}

.service{
    display:flex;
    gap:20px;
}

.service-icon{
    min-width:80px;
    width:80px;
    height:80px;
    border-radius:50%;
    background:#0e0e0e;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--rojo);
    font-size:34px;
}

.service h3{
    font-size:1.8rem;
    margin-bottom:10px;
}

.service p{
    color:#bcbcbc;
    line-height:1.7;
}

.message-box{
    grid-column:3;
    grid-row:1 / span 3;
    border:2px solid rgba(255,29,37,.6);
    border-radius:35px;
    min-height:520px;
    padding:50px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:center;
}

.message-box i{
    color:var(--rojo);
    font-size:70px;
    margin-bottom:30px;
}

.message-box p{
    font-size:2rem;
    line-height:1.7;
}

.message-box span{
    color:var(--rojo);
}

/* CONTACTO */

.contact{
    margin-top:80px;
    border:1px solid rgba(255,29,37,.5);
    border-radius:35px;
    padding:45px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.contact-left{
    display:flex;
    gap:30px;
    align-items:flex-start;
}

.contact-left i{
    color:var(--rojo);
    font-size:60px;
}

.contact-left p{
    font-size:1.8rem;
    line-height:1.8;
}

.contact-left span{
    color:var(--rojo);
}

.contact-item{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:20px;
    font-size:2rem;
}

.contact-item i{
    color:var(--rojo);
}

/* BENEFICIOS */

.benefits{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin:80px 0;
}

.benefit{
    text-align:center;
    padding:20px;
    border-right:1px solid rgba(255,255,255,.08);
}

.benefit:last-child{
    border-right:none;
}

.benefit i{
    color:var(--rojo);
    font-size:55px;
    margin-bottom:20px;
}

.benefit span{
    display:block;
    font-size:1.4rem;
}

/* RESPONSIVE */

@media(max-width:1200px){

.hero{
    grid-template-columns:1fr;
}

.services-grid{
    grid-template-columns:1fr;
}

.message-box{
    grid-column:auto;
    grid-row:auto;
    min-height:auto;
}

.contact{
    flex-direction:column;
}

.benefits{
    grid-template-columns:1fr 1fr;
    gap:30px;
}

}

@media(max-width:768px){

.contact-left{
    flex-direction:column;
}

.benefits{
    grid-template-columns:1fr;
}

.contact-item{
    font-size:1.2rem;
}

}


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

@media(max-width:1000px){

    nav{
        display:none;
    }

}