/* =========================================
   SOLUCIÓN DIGITAL
   ESTILOS GENERALES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #030405;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(3, 4, 5, 0.75);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    position: relative;

    color: #bfc4cc;

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #087cff;

    transition: 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 12px 22px;

    background:
        linear-gradient(
            90deg,
            #006eff,
            #00a2ff
        );

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 0 25px rgba(0, 119, 255, 0.25);

    transition: 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 35px rgba(0, 119, 255, 0.45);
}

.menu-button {
    display: none;

    background: none;
    border: none;

    color: #ffffff;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(0, 115, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(0, 60, 180, 0.10),
            transparent 30%
        );

    pointer-events: none;
}

.hero-background::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    top: -300px;
    right: -250px;

    border:
        1px solid rgba(0, 119, 255, 0.12);

    border-radius: 50%;

    box-shadow:
        0 0 80px rgba(0, 119, 255, 0.08);
}

.hero-background::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    bottom: -300px;
    left: -250px;

    border:
        1px solid rgba(0, 119, 255, 0.08);

    border-radius: 50%;
}

.hero-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 60px;
}

.hero-content {
    animation:
        heroContent 1s ease forwards;
}

.hero-tag {
    display: inline-block;

    margin-bottom: 22px;

    color: #1590ff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
}

.hero h1 {
    max-width: 700px;

    font-size:
        clamp(48px, 6vw, 78px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -3px;
}

.hero h1 span {
    color: #087cff;

    text-shadow:
        0 0 30px rgba(0, 119, 255, 0.35);
}

.hero-content > p {
    max-width: 600px;

    margin-top: 25px;

    color: #aeb4be;

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================
   BOTONES
========================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 160px;

    padding: 14px 25px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.primary-button {
    background:
        linear-gradient(
            90deg,
            #006eff,
            #00a2ff
        );

    box-shadow:
        0 0 25px rgba(0, 119, 255, 0.25);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 40px rgba(0, 119, 255, 0.5);
}

.secondary-button {
    border:
        1px solid rgba(255, 255, 255, 0.15);

    background:
        rgba(255, 255, 255, 0.03);

    color: #ffffff;
}

.secondary-button:hover {
    border-color: #087cff;

    background:
        rgba(0, 119, 255, 0.08);

    transform: translateY(-3px);
}


/* =========================================
   HERO LOGO
========================================= */

.hero-visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 500px;
}

.hero-logo {
    position: relative;

    z-index: 2;

    width: min(420px, 80%);

    filter:
        drop-shadow(
            0 0 25px rgba(0, 119, 255, 0.2)
        );

    animation:
        logoFloat 5s ease-in-out infinite;
}

.logo-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    background: #0077ff;

    filter: blur(130px);

    opacity: 0.15;

    border-radius: 50%;
}


/* =========================================
   SECCIONES
========================================= */

.section {
    position: relative;

    padding: 120px 0;
}

.section-header {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;

    margin-bottom: 12px;

    color: #0784ff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.section-header h2 {
    font-size:
        clamp(36px, 5vw, 55px);

    line-height: 1.1;

    margin-bottom: 20px;

    letter-spacing: -2px;
}

.section-header p {
    color: #9da3ad;

    font-size: 16px;
}


/* =========================================
   NOSOTROS
========================================= */

.about {
    background:
        linear-gradient(
            180deg,
            #030405 0%,
            #05070a 100%
        );
}

.about-content {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 70px;

    align-items: center;
}

.about-text h3 {
    font-size: 36px;

    line-height: 1.2;

    margin-bottom: 25px;
}

.about-text p {
    color: #9da3ad;

    margin-bottom: 18px;

    max-width: 650px;
}

.about-card {
    position: relative;

    padding: 50px 40px;

    background:
        linear-gradient(
            145deg,
            rgba(0, 119, 255, 0.10),
            rgba(255, 255, 255, 0.02)
        );

    border:
        1px solid rgba(0, 119, 255, 0.18);

    border-radius: 25px;

    overflow: hidden;
}

.about-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -90px;

    background: #0077ff;

    filter: blur(100px);

    opacity: 0.15;
}

.about-card-icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 18px;

    background:
        rgba(0, 119, 255, 0.12);

    border:
        1px solid rgba(0, 119, 255, 0.25);

    color: #0088ff;

    font-size: 22px;
    font-weight: 700;
}

.about-card h3 {
    font-size: 24px;

    margin-bottom: 12px;
}

.about-card p {
    color: #999fa9;
}


/* =========================================
   PROYECTOS
========================================= */

.projects {
    background: #020304;
}

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.01)
        );

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(0, 119, 255, 0.5);

    box-shadow:
        0 20px 60px rgba(0, 80, 200, 0.15);
}


/* IMÁGENES DE PROYECTOS */

.project-image {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #05070a;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0, 0, 0, 0.35)
        );

    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-content {
    padding: 30px;
}

.project-category {
    color: #0784ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.project-content h3 {
    margin-top: 10px;

    font-size: 28px;
}

.project-content p {
    margin-top: 10px;

    color: #949aa4;
}

.project-link {
    display: inline-block;

    margin-top: 25px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.project-link:hover {
    color: #0088ff;

    transform: translateX(5px);
}


/* =========================================
   DESARROLLADORES
========================================= */

.developers {
    background:
        radial-gradient(
            circle at center,
            rgba(0, 80, 180, 0.07),
            transparent 50%
        );
}

.developers-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

    max-width: 900px;

    margin: auto;
}

.developer-card {
    position: relative;

    padding: 45px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 25px;

    transition: 0.4s ease;

    overflow: hidden;
}

.developer-card::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -150px;
    left: 50%;

    transform: translateX(-50%);

    background: #0077ff;

    filter: blur(120px);

    opacity: 0.08;

    pointer-events: none;
}

.developer-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(0, 119, 255, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 80, 200, 0.12);
}


/* FOTO DESARROLLADOR */

.developer-avatar {
    position: relative;

    width: 120px;
    height: 120px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0077ff,
            #003b8f
        );

    border:
        3px solid rgba(0, 119, 255, 0.45);

    box-shadow:
        0 0 35px rgba(0, 119, 255, 0.20);

    transition: 0.4s ease;
}

.developer-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.developer-card:hover .developer-avatar {
    transform: scale(1.05);

    border-color: #0088ff;

    box-shadow:
        0 0 45px rgba(0, 119, 255, 0.35);
}

.developer-role {
    color: #0784ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.developer-card h3 {
    margin-top: 8px;

    font-size: 26px;
}

.developer-card p {
    margin-top: 10px;

    color: #9298a2;
}

.developer-links {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 25px;
}

.developer-links a {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-size: 19px;

    transition: 0.3s ease;
}

.developer-links a:hover {
    transform: translateY(-4px);

    border-color: #0077ff;

    color: #0088ff;

    background:
        rgba(0, 119, 255, 0.10);

    box-shadow:
        0 0 20px rgba(0, 119, 255, 0.25);
}


/* =========================================
   CONTACTO
========================================= */

.contact {
    padding: 120px 0;
}

.contact-box {
    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 90px 30px;

    background:
        linear-gradient(
            145deg,
            rgba(0, 119, 255, 0.13),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(0, 119, 255, 0.18);

    border-radius: 30px;
}

.contact-box::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background: #0077ff;

    filter: blur(150px);

    opacity: 0.12;

    pointer-events: none;
}

.contact-box h2 {
    position: relative;

    font-size:
        clamp(40px, 6vw, 65px);

    line-height: 1;

    margin-top: 10px;
}

.contact-box p {
    position: relative;

    margin-top: 20px;

    color: #b0b6c0;

    font-size: 20px;
}

.contact-buttons {
    position: relative;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 45px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    background: #020304;
}

.footer-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-brand img {
    width: 75px;
}

.footer-brand p {
    margin-top: 8px;

    color: #737984;

    font-size: 13px;
}

.footer-copy {
    width: 100%;
    text-align: center;
}

.footer-copy p {
    color: #656b75;

    font-size: 12px;

    text-align: center;
}


/* =========================================
   ANIMACIONES
========================================= */

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes heroContent {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================
   ANIMACIONES AL HACER SCROLL
========================================= */

.hidden {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .nav-menu,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 20px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 350px;
    }

    .hero-logo {
        width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .projects-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* MENÚ MOBILE */

    .nav-menu.active {
        display: flex;

        position: absolute;

        top: 80px;
        left: 5%;
        right: 5%;

        flex-direction: column;

        gap: 20px;

        padding: 25px;

        background:
            rgba(5, 7, 10, 0.97);

        border:
            1px solid rgba(255, 255, 255, 0.08);

        border-radius: 20px;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.5);

        animation:
            menuOpen 0.3s ease;
    }

    .nav-menu.active a {
        font-size: 15px;
    }

}


@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .nav-container {
        height: 70px;
    }

    .logo img {
        width: 52px;
        height: 52px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 46px;

        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-logo {
        width: 260px;
    }

    .section {
        padding: 90px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 220px;
    }

    .developers-grid {
        grid-template-columns: 1fr;
    }

    .developer-card {
        padding: 35px 25px;
    }

    .developer-avatar {
        width: 110px;
        height: 110px;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-box {
        padding: 70px 20px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

    .footer-brand img {
        margin: auto;
    }

}


@keyframes menuOpen {

    from {
        opacity: 0;

        transform:
            translateY(-10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}