/* ===================================
   RESET
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

.logo a{
    display:inline-block;
}

.logo img{
    cursor:pointer;
    transition:.3s ease;
}

.logo img:hover{
    transform:scale(1.05);
}

body{
    font-family:'Poppins',sans-serif;
    color:#222;
    line-height:1.6;
    background:#ffffff;
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    transition:.35s ease;
}

/* ===================================
   HEADER
=================================== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:rgba(5,13,24,.65);

    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;
}

.logo img{
    height:60px;
    width:auto;
    display:block;
}

.menu{
    list-style:none;
    display:flex;
    gap:50px;
}

.menu a{
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#2f8cff;
}

/* ===================================
   HERO
=================================== */

.hero{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:140px 20px;

    position:relative;
    overflow:hidden;

    background:
    linear-gradient(
        rgba(3,12,24,.90),
        rgba(3,12,24,.90)
    ),
    url('../images/datacenter.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-content{
    max-width:1200px;
    color:white;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease;
}

.hero-tag{
    display:inline-block;

    padding:14px 28px;

    margin-bottom:35px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(15px);

    color:#ffffff;
}

.hero h1{
    font-size:clamp(3rem,5vw,5.2rem);

    line-height:1.05;

    font-weight:800;

    max-width:1100px;

    margin:0 auto 30px;

    letter-spacing:-2px;

    color:white;
}

.hero p{
    max-width:900px;

    margin:0 auto 45px;

    font-size:1.25rem;

    line-height:1.7;

    color:rgba(255,255,255,.85);
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

/* ===================================
   BOTONES
=================================== */

.btn-primary{
    padding:20px 42px;

    border-radius:999px;

    color:white;

    background:
    linear-gradient(
        135deg,
        #ff4048,
        #e31b23
    );

    box-shadow:
        0 0 25px rgba(255,64,72,.35),
        0 15px 35px rgba(227,27,35,.35);
}

.btn-primary:hover{
    transform:translateY(-5px);
}

.btn-secondary{
    padding:20px 42px;

    border-radius:999px;

    color:white;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.20);

    backdrop-filter:blur(10px);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.15);
    transform:translateY(-5px);
}

/* ===================================
   TECHNOLOGIES
=================================== */

.technologies{
    display:flex;
    justify-content:center;
    gap:50px;

    flex-wrap:wrap;

    padding:40px 20px;

    background:#f6f9fc;

    font-weight:600;

    color:#0055a4;
}

/* ===================================
   SERVICES
=================================== */

.services{
    padding:120px 0;

    background:
    linear-gradient(
        to bottom,
        #ffffff,
        #f7faff
    );
}

.services h2,
.about h2,
.contact h2{
    text-align:center;
    font-size:2.4rem;
    margin-bottom:15px;
}

.section-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:60px;
}

.service-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.card{
    background:white;

    border-radius:20px;

    border:1px solid rgba(0,85,164,.08);

    padding:35px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

    transition:.35s ease;
}

.card:hover{
    transform:translateY(-10px);

    border-color:rgba(0,85,164,.2);

    box-shadow:
        0 25px 50px rgba(0,85,164,.18);
}

.card h3{
    margin-bottom:15px;
    color:#0055a4;
}

/* ===================================
   ABOUT
=================================== */

.about{
    padding:120px 0;

    background:
    linear-gradient(
        135deg,
        #0b1525,
        #11253f
    );

    color:white;
}

.about p{
    max-width:900px;
    margin:auto;
    text-align:center;
}

/* ===================================
   CONTACT
=================================== */

.contact{
    padding:120px 0;
}

.contact form{
    max-width:700px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea{
    padding:16px;

    border:1px solid #dbe3ec;

    border-radius:12px;

    background:#ffffff;

    box-shadow:
        0 4px 10px rgba(0,0,0,.03);

    font-family:inherit;
    font-size:16px;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:#0055a4;
}

button{
    background:#e31b23;
    color:white;

    border:none;

    padding:16px;

    border-radius:12px;

    cursor:pointer;

    font-size:16px;
    font-weight:600;

    transition:.3s;
}

button:hover{
    opacity:.92;
}

/* ===================================
   FOOTER
=================================== */

footer{
    background:
    linear-gradient(
        135deg,
        #050d18,
        #0c1b2f
    );

    color:#b8c7da;

    text-align:center;

    padding:60px 20px;

    border-top:1px solid rgba(255,255,255,.05);
}

footer p{
    margin:8px 0;
}

/* ===================================
   ANIMACIONES
=================================== */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .menu{
        gap:20px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        padding:160px 20px 100px;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .hero p{
        font-size:1.05rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .technologies{
        gap:20px;
    }

}