/* =========================================
   TERMINALTEK
   Estilos principales
   ========================================= */


/* ---------- CONFIGURACIÓN GENERAL ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #05070a;
    color: #ffffff;
    min-height: 100vh;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: rgba(22, 131, 255, 0.35);
    color: #ffffff;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #1683ff;
    outline-offset: 3px;
}

/* ---------- SCROLLBAR (WEBKIT / CHROME / SAFARI) ---------- */

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

::-webkit-scrollbar-track {
    background: #05070a;
}

::-webkit-scrollbar-thumb {
    background: #1c2733;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1683ff;
}

/* ---------- SCROLLBAR (FIREFOX) ---------- */

html {
    scrollbar-width: thin;
    scrollbar-color: #1c2733 #05070a;
}


/* =========================================
   NAVEGACIÓN
   ========================================= */

header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;

    z-index: 1000;

    pointer-events: none;
}

nav {
    width: 92%;
    max-width: 1350px;
    height: 72px;

    margin: auto;
    padding: 0 14px 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(10, 14, 20, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    pointer-events: auto;
}


 /* ---------- LOGO ---------- */

.logo {
    position: relative;

    display: flex;
    align-items: center;

    text-decoration: none;

    transition: transform 0.3s ease;
}

.logo img {
    width: 155px;
    height: auto;

    display: block;

    filter:
        drop-shadow(0 0 8px rgba(22, 131, 255, 0.18));

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo:hover img {
    filter:
        drop-shadow(0 0 8px rgba(22, 131, 255, 0.45))
        drop-shadow(0 0 20px rgba(22, 131, 255, 0.18));

    transform: scale(1.02);
}


/* ---------- MENÚ ---------- */

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 5px;

    padding: 5px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 13px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;

    display: block;

    padding: 10px 17px;

    color: #8f99a8;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 500;

    border-radius: 9px;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* ---------- HOVER DEL MENÚ ---------- */

.nav-links a:hover {
    color: #ffffff;

    background: rgba(22, 131, 255, 0.10);

    box-shadow:
        inset 0 0 0 1px rgba(22, 131, 255, 0.10),
        0 0 20px rgba(22, 131, 255, 0.08);

    transform: translateY(-1px);
}


/* ---------- LÍNEA AZUL ---------- */

.nav-links a::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    transform: translateX(-50%);

    background: #1683ff;

    border-radius: 10px;

    box-shadow:
        0 0 8px rgba(22, 131, 255, 0.8);

    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 18px;
}


/* ---------- BRILLO DEL MENÚ ---------- */

.nav-links a::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 9px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 131, 255, 0.12),
            transparent 60%
        );

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;
}

.nav-links a:hover::after {
    opacity: 1;
}


/* =========================================
   HERO - INICIO
   ========================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    padding: 140px 5% 80px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(0, 119, 255, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 76, 255, 0.10),
            transparent 30%
        ),
        #05070a;
}


/* ---------- LUZ PRINCIPAL ---------- */

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: 15%;

    background: rgba(0, 119, 255, 0.12);

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;

    animation: floatingLight 8s ease-in-out infinite;
}


/* ---------- SEGUNDA LUZ ---------- */

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -150px;
    bottom: -100px;

    background: rgba(0, 65, 255, 0.08);

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    animation: floatingLight 10s ease-in-out infinite reverse;
}


/* ---------- ANIMACIÓN DE LAS LUCES ---------- */

@keyframes floatingLight {

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

    50% {
        transform: translate(-30px, 25px) scale(1.08);
    }

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

}


/* =========================================
   CONTENIDO HERO
   ========================================= */

.hero-content {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    position: relative;

    z-index: 2;
}

/* ---------- LAYOUT DE DOS COLUMNAS (TEXTO + IMAGEN) ---------- */

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-visual img,
.about-visual img,
.contact-visual img {
    width: 100%;
    height: auto;

    filter: drop-shadow(0 25px 60px rgba(22, 131, 255, 0.22));

    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: 2;
        margin-top: 10px;
        max-width: 420px;
    }
}


/* ---------- SUBTÍTULO ---------- */

.hero-subtitle {
    color: #1683ff;

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 25px;

    text-transform: uppercase;

    text-shadow:
        0 0 15px rgba(22, 131, 255, 0.35);

    animation: fadeUp 1s ease forwards;
}


/* ---------- TÍTULO ---------- */

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7.5rem);

    line-height: 0.92;

    letter-spacing: -4px;

    font-weight: 600;

    margin-top: 75px;

    margin-bottom: 35px;

    max-width: 900px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #dcecff 55%,
            #1683ff 100%
        );

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

    animation: fadeUp 1s ease 0.15s forwards;

    opacity: 0;
}


/* ---------- DESCRIPCIÓN ---------- */

.hero-description {
    max-width: 600px;

    color: #9ca6b5;

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 45px;

    letter-spacing: 0.2px;

    animation: fadeUp 1s ease 0.3s forwards;

    opacity: 0;
}


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

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    animation: fadeUp 1s ease 0.45s forwards;

    opacity: 0;
}


.btn {
    display: inline-block;

    padding: 15px 30px;

    border-radius: 8px;

    text-decoration: none;

    background: #1683ff;

    color: #ffffff;

    font-size: 0.95rem;

    font-weight: 600;

    border: 1px solid #1683ff;

    transition: all 0.3s ease;

    box-shadow:
        0 0 0 rgba(22, 131, 255, 0);
}


.btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(22, 131, 255, 0.25),
        0 0 20px rgba(22, 131, 255, 0.15);

    background: #2490ff;
}


/* ---------- BOTÓN TRANSPARENTE ---------- */

.btn-outline {
    background: transparent;

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.2);
}


.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);

    box-shadow: none;
}


/* =========================================
   ANIMACIÓN DE ENTRADA
   ========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================
   FONDO TECNOLÓGICO
   ========================================= */

.tech-background {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 1;
}


/* ---------- PUNTOS ---------- */

.tech-dot {
    position: absolute;

    width: 5px;
    height: 5px;

    background: #1683ff;

    border-radius: 50%;

    box-shadow:
        0 0 10px rgba(22, 131, 255, 0.8),
        0 0 25px rgba(22, 131, 255, 0.4);

    filter: blur(0.3px);

    transition: transform 0.3s ease;

    animation: techFloat 5s ease-in-out infinite;
}


/* ---------- POSICIONES ---------- */

.dot-1 {
    top: 25%;
    left: 65%;
    animation-delay: 0s;
}

.dot-2 {
    top: 40%;
    left: 75%;
    animation-delay: 1s;
}

.dot-3 {
    top: 65%;
    left: 68%;
    animation-delay: 2s;
}

.dot-4 {
    top: 30%;
    left: 85%;
    animation-delay: 3s;
}

.dot-5 {
    top: 70%;
    left: 82%;
    animation-delay: 1.5s;
}

.dot-6 {
    top: 55%;
    left: 90%;
    animation-delay: 2.5s;
}


/* ---------- MOVIMIENTO DE PUNTOS ---------- */

@keyframes techFloat {

    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(-25px, -20px);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

}


/* =========================================
   CONEXIONES DE LA RED
   ========================================= */

.tech-line {
    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 131, 255, 0.35),
            transparent
        );

    transform-origin: left center;

    opacity: 0;

    animation: linePulse 4s ease-in-out infinite;
}


/* ---------- LÍNEAS ---------- */

.line-1 {
    width: 180px;

    top: 28%;
    left: 65%;

    transform: rotate(25deg);

    animation-delay: 0s;
}

.line-2 {
    width: 160px;

    top: 41%;
    left: 75%;

    transform: rotate(120deg);

    animation-delay: 1s;
}

.line-3 {
    width: 190px;

    top: 65%;
    left: 68%;

    transform: rotate(-35deg);

    animation-delay: 2s;
}

.line-4 {
    width: 170px;

    top: 31%;
    left: 85%;

    transform: rotate(145deg);

    animation-delay: 1.5s;
}

.line-5 {
    width: 200px;

    top: 70%;
    left: 82%;

    transform: rotate(-120deg);

    animation-delay: 2.5s;
}


/* ---------- ANIMACIÓN DE LÍNEAS ---------- */

@keyframes linePulse {

    0% {
        opacity: 0;
    }

    30% {
        opacity: 0.6;
    }

    60% {
        opacity: 0.25;
    }

    100% {
        opacity: 0;
    }

}


/* =========================================
   GRID TECNOLÓGICO
   ========================================= */

.tech-background::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(22, 131, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(22, 131, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 10%,
            transparent 75%
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 10%,
            transparent 75%
        );

    animation: gridMove 18s linear infinite;

    pointer-events: none;
}


/* ---------- MOVIMIENTO DEL GRID ---------- */

@keyframes gridMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(70px, 70px);
    }

}


/* =========================================
   INTRODUCCIÓN
   ========================================= */

.intro {
    width: 90%;
    max-width: 900px;

    margin: auto;

    padding: 140px 0;

    text-align: center;
}


.section-subtitle {
    color: #1683ff;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


.intro h2 {
    font-size: clamp(2rem, 5vw, 4rem);

    margin-bottom: 25px;

    letter-spacing: -1px;
}


.intro p:last-child {
    color: #8e98a8;

    max-width: 650px;

    margin: auto;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================
   NOSOTROS
   ========================================= */

.about {
    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    padding: 160px 5% 100px;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(0, 119, 255, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 76, 255, 0.08),
            transparent 30%
        ),
        #05070a;
}


.about-content {
    width: 90%;

    max-width: 1000px;

    margin: auto;

    position: relative;

    z-index: 2;
}


.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: 2;
        max-width: 420px;
        margin-top: 10px;
    }
}

.about .section-subtitle {
    margin-bottom: 25px;
}


.about h1 {
    max-width: 850px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 600;

    margin-bottom: 40px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #dcecff 55%,
            #1683ff 100%
        );

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

    animation: fadeUp 1s ease 0.15s forwards;

    opacity: 0;
}


.about-text {
    max-width: 650px;

    color: #9ca6b5;

    font-size: 1.15rem;

    line-height: 1.8;

    letter-spacing: 0.2px;

    animation: fadeUp 1s ease 0.35s forwards;

    opacity: 0;
}


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

footer {
    position: relative;
    padding: 35px 5%;
    background: #030508;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    overflow: hidden;
}

footer::before {
    content: "";

    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);

    width: 400px;
    height: 160px;

    background: rgba(22, 131, 255, 0.08);

    border-radius: 50%;
    filter: blur(60px);

    pointer-events: none;
}

footer p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #667080;

    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


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

@media (max-width: 768px) {

    nav {
        height: 70px;
    }

    .nav-links {
        gap: 5px;
    }

    .nav-links a {
        font-size: 0.9rem;

        padding: 9px 12px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .about {
        padding-top: 140px;
    }

    .about h1 {
        letter-spacing: -2px;
    }

}

/* =========================================
   SERVICIOS
   ========================================= */

.services {
    min-height: 100vh;

    position: relative;

    overflow: hidden;

    padding: 160px 5% 100px;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(0, 119, 255, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(0, 76, 255, 0.08),
            transparent 30%
        ),
        #05070a;
}


.services-content {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    position: relative;
    z-index: 2;
}


.services .section-subtitle {
    margin-bottom: 25px;
}


.services h1 {
    max-width: 900px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 600;

    margin-bottom: 35px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #dcecff 55%,
            #1683ff 100%
        );

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

    animation: fadeUp 1s ease 0.15s forwards;

    opacity: 0;
}


.services-intro {
    max-width: 650px;

    color: #9ca6b5;

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 60px;

    animation: fadeUp 1s ease 0.3s forwards;

    opacity: 0;
}


/* ---------- GRID ---------- */

.services-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    animation: fadeUp 1s ease 0.45s forwards;

    opacity: 0;
}


/* ---------- TARJETAS ---------- */

.service-card {
    position: relative;

    padding: 35px;

    min-height: 230px;

    background: rgba(12, 17, 24, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    overflow: hidden;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


/* ---------- BRILLO ---------- */

.service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    background: rgba(22, 131, 255, 0.12);

    border-radius: 50%;

    filter: blur(50px);

    transition: 0.4s ease;
}


/* ---------- HOVER ---------- */

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(22, 131, 255, 0.35);

    background: rgba(15, 22, 32, 0.8);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(22, 131, 255, 0.08);
}


.service-card:hover::before {
    transform: scale(1.4);

    background: rgba(22, 131, 255, 0.2);
}


/* ---------- NÚMERO ---------- */

.service-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 30px;

    color: #1683ff;

    font-size: 1.1rem;

    background: rgba(22, 131, 255, 0.1);
    border-radius: 12px;

    text-shadow:
        0 0 12px rgba(22, 131, 255, 0.4);
}

.home-service-card span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 30px;

    color: #1683ff;

    font-size: 1.1rem;

    background: rgba(22, 131, 255, 0.1);
    border-radius: 12px;

    text-shadow:
        0 0 12px rgba(22, 131, 255, 0.4);
}


/* ---------- TÍTULO ---------- */

.service-card h2 {
    position: relative;

    z-index: 1;

    font-size: 1.6rem;

    margin-bottom: 15px;

    font-weight: 600;
}


/* ---------- TEXTO ---------- */

.service-card p {
    position: relative;

    z-index: 1;

    max-width: 480px;

    color: #8e98a8;

    font-size: 0.95rem;

    line-height: 1.7;
}


/* =========================================
   RESPONSIVE - SERVICIOS
   ========================================= */

@media (max-width: 768px) {

    .services {
        padding-top: 140px;
    }

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

}


@media (max-width: 520px) {

    .services {
        padding-top: 120px;
    }

    .services h1 {
        letter-spacing: -2px;
    }

    .service-card {
        padding: 28px;

        min-height: 210px;
    }

}

/* =========================================
   CONTACTO
   ========================================= */

.contact {
    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 160px 5% 100px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(0, 119, 255, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(0, 76, 255, 0.08),
            transparent 30%
        ),
        #05070a;
}


.contact-content {
    width: 90%;
    max-width: 1100px;

    margin: auto;

    position: relative;

    z-index: 2;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 980px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        order: 2;
        max-width: 420px;
        margin-top: 10px;
    }
}

.contact .section-subtitle {
    margin-bottom: 25px;
}


.contact h1 {
    max-width: 900px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: 1.2;

    letter-spacing: -3px;

    font-weight: 600;

    margin-bottom: 35px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #dcecff 55%,
            #1683ff 100%
        );

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

    animation: fadeUp 1s ease 0.15s forwards;

    opacity: 0;
}


.contact-text {
    max-width: 650px;

    color: #9ca6b5;

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 45px;

    animation: fadeUp 1s ease 0.3s forwards;

    opacity: 0;
}


/* ---------- INFORMACIÓN ---------- */

.contact-info {
    display: flex;

    gap: 70px;

    margin-bottom: 45px;

    animation: fadeUp 1s ease 0.4s forwards;

    opacity: 0;
}


.contact-item span {
    display: block;

    color: #1683ff;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}


.contact-item p {
    color: #ffffff;

    font-size: 1rem;
}


/* ---------- BOTÓN ---------- */

.contact .btn {
    animation: fadeUp 1s ease 0.5s forwards;

    opacity: 0;
}


/* =========================================
   RESPONSIVE - CONTACTO
   ========================================= */

@media (max-width: 768px) {

    .contact {
        padding-top: 140px;
    }

    .contact-info {
        gap: 35px;

        flex-wrap: wrap;
    }

}


@media (max-width: 520px) {

    .contact {
        padding-top: 120px;
    }

    .contact h1 {
        letter-spacing: -2px;
    }

    .contact-info {
        flex-direction: column;

        gap: 25px;
    }

}


@media (max-width: 520px) {

    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .btn {
        width: 100%;

        text-align: center;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .about h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

}

/* ============================= */
/* SERVICIOS DESTACADOS - INICIO */
/* ============================= */

.home-services {
    position: relative;
    overflow: hidden;
    padding: 120px 5% 140px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(0, 119, 255, 0.12),
            transparent 30%
        ),
        #05070a;
}

.home-services-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.home-services h2 {
    max-width: 800px;
    margin-bottom: 60px;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 600;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #dcecff 55%,
        #1683ff 100%
    );

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

    animation: fadeUp 1s ease 0.15s forwards;
    opacity: 0;
}


/* GRID */

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
}


/* TARJETAS */

.home-service-card {
    position: relative;
    min-height: 250px;
    padding: 35px;

    background: rgba(12, 17, 24, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    overflow: hidden;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


/* LUZ AZUL DE LA TARJETA */

.home-service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    background: rgba(22, 131, 255, 0.12);

    border-radius: 50%;

    filter: blur(50px);

    transition: 0.4s ease;
}


/* HOVER */

.home-service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(22, 131, 255, 0.35);

    background: rgba(15, 22, 32, 0.8);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(22, 131, 255, 0.08);
}

.home-service-card:hover::before {
    transform: scale(1.4);
    background: rgba(22, 131, 255, 0.2);
}


/* TITULO */

.home-service-card h3 {
    position: relative;
    z-index: 1;

    margin-bottom: 15px;

    font-size: 1.6rem;
    font-weight: 600;
}


/* DESCRIPCION */

.home-service-card p {
    position: relative;
    z-index: 1;

    max-width: 400px;

    color: #8e98a8;

    font-size: 0.95rem;
    line-height: 1.7;
}


/* BOTON */

.home-services-button {
    margin-top: 45px;

    animation: fadeUp 1s ease 0.45s forwards;
    opacity: 0;
}


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

@media (max-width: 900px) {

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

    .home-service-card {
        min-height: auto;
    }

}


@media (max-width: 520px) {

    .home-services {
        padding: 100px 5%;
    }

    .home-services h2 {
        font-size: 2.7rem;
        letter-spacing: -1.5px;
    }

    .home-service-card {
        padding: 30px;
    }

}

.nav-links a.active {
    color: #ffffff;
    background: rgba(22, 131, 255, 0.10);

    box-shadow:
        inset 0 0 0 1px rgba(22, 131, 255, 0.10),
        0 0 20px rgba(22, 131, 255, 0.08);
}

.nav-links a.active::before {
    width: 18px;
}

.nav-links a.active::after {
    opacity: 1;
}

 /* ---------- WHATSAPP ---------- */

.whatsapp-button {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    color: #ffffff;

    background: #25D366;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(22, 131, 255, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px);

    background: #20bd5a;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(22, 131, 255, 0.45);
}


/* ---------- WHATSAPP EN CELULAR ---------- */

@media (max-width: 520px) {

    .whatsapp-button {
        right: 15px;
        bottom: 15px;

        padding: 11px 17px;

        font-size: 0.8rem;
    }

}

/* ---------- ICONO WHATSAPP ---------- */

.whatsapp-button i {
    margin-right: 9px;

    font-size: 1.15rem;

    line-height: 1;
}

/* ---------- REDES SOCIALES ---------- */

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    padding: 13px 25px;

    color: #ffffff;

    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

/* FACEBOOK */

.social-links a:nth-child(1) {
    background: #1877F2;

    box-shadow:
        0 8px 25px rgba(24, 119, 242, 0.18);
}

.social-links a:nth-child(1):hover {
    transform: translateY(-4px);
    filter: brightness(1.1);

    box-shadow:
        0 12px 30px rgba(24, 119, 242, 0.35);
}

/* INSTAGRAM */

.social-links a:nth-child(2) {
    background:
        linear-gradient(
            135deg,
            #833AB4,
            #C13584,
            #E1306C,
            #F77737,
            #FCAF45
        );

    box-shadow:
        0 8px 25px rgba(225, 48, 108, 0.18);
}

.social-links a:nth-child(2):hover {
    transform: translateY(-4px);
    filter: brightness(1.1);

    box-shadow:
        0 12px 30px rgba(225, 48, 108, 0.35);
}

/* TIKTOK */

.social-links a:nth-child(3) {
    background: #000000;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);
}

.social-links a:nth-child(3):hover {
    transform: translateY(-4px);
    filter: brightness(1.25);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.5);
}

/* MÓVIL */

@media (max-width: 520px) {

    .social-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-links a {
        width: 100%;
        box-sizing: border-box;
    }

}

/* ---------- ICONOS REDES SOCIALES ---------- */

.social-links a i {
    margin-right: 10px;

    font-size: 1.1rem;

    line-height: 1;
}

/* ---------- MENU MOVIL ---------- */

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    color: #ffffff;

    font-size: 1.5rem;

    cursor: pointer;
}

/* CELULAR */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    /* OCULTAR MENU NORMAL EN CELULAR */

.nav-links {
    display: none;
}

}

/* ---------- MENU ABIERTO EN MOVIL ---------- */

@media (max-width: 768px) {

    .nav-links.menu-open {
        display: flex;

        position: absolute;

        top: 100%;
        right: 0;

        width: 220px;

        flex-direction: column;

        padding: 20px;

        background: rgba(8, 12, 20, 0.97);

        border: 1px solid rgba(22, 131, 255, 0.2);
        border-radius: 0 0 0 15px;

        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.4),
            0 0 25px rgba(22, 131, 255, 0.12);

        gap: 10px;
    }

    .nav-links.menu-open li {
        width: 100%;
    }

    .nav-links.menu-open a {
        display: block;

        width: 100%;

        padding: 12px 10px;

        box-sizing: border-box;

        text-align: left;
    }

}

/* =========================================
   NOSOTROS: HISTORIA, MISION, VISION, VALORES
   ========================================= */

.about {
    min-height: 85vh;
}

.about-story,
.about-purpose,
.about-values {
    position: relative;
    padding: 90px 5%;
    background: #05070a;
}

.about-story {
    padding-top: 110px;
}

.about-section-content {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.about-story .about-section-content {
    max-width: 850px;
    text-align: center;
}

.about-story h2,
.about-values h2 {
    margin-bottom: 30px;

    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -1px;
}

.about-story p:not(.section-subtitle) {
    max-width: 720px;
    margin: 0 auto 22px;

    color: #8e98a8;

    font-size: 1.05rem;
    line-height: 1.85;
}

.about-purpose-grid,
.about-values-grid {
    display: grid;
    gap: 20px;
}

.about-purpose-grid {
    grid-template-columns: repeat(2, 1fr);
}

.about-values-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 45px;
}

.about-values {
    padding-bottom: 130px;
}

.about-card {
    position: relative;
    padding: 35px;

    background: rgba(12, 17, 24, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    overflow: hidden;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.about-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    background: rgba(22, 131, 255, 0.12);

    border-radius: 50%;

    filter: blur(50px);

    transition: 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);

    border-color: rgba(22, 131, 255, 0.35);

    background: rgba(15, 22, 32, 0.8);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(22, 131, 255, 0.08);
}

.about-card:hover::before {
    transform: scale(1.4);
    background: rgba(22, 131, 255, 0.2);
}

.about-card span {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 25px;

    color: #1683ff;

    font-size: 1.1rem;

    background: rgba(22, 131, 255, 0.1);
    border-radius: 12px;

    text-shadow: 0 0 12px rgba(22, 131, 255, 0.4);
}

.about-card h3 {
    position: relative;
    z-index: 1;

    margin-bottom: 12px;

    font-size: 1.5rem;
    font-weight: 600;
}

.about-card p {
    position: relative;
    z-index: 1;

    color: #8e98a8;

    font-size: 0.95rem;
    line-height: 1.7;
}

.about-values-grid .about-card {
    padding: 28px;
}

.about-values-grid .about-card h3 {
    font-size: 1.25rem;
}

@media (max-width: 1000px) {

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .about-story,
    .about-purpose,
    .about-values {
        padding: 60px 5%;
    }

    .about-purpose-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   COMO TRABAJAMOS (SERVICIOS)
   ========================================= */

.process {
    position: relative;
    padding: 40px 5% 130px;
    background: #05070a;
}

.process h2 {
    margin-bottom: 10px;

    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -1px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    margin-top: 45px;
}

.process-step {
    padding: 28px;
}

.about-card .process-number {
    position: relative;
    z-index: 1;

    margin-bottom: 18px;

    color: #1683ff;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.process-step h3 {
    font-size: 1.25rem;
}

@media (max-width: 1000px) {

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .process {
        padding: 30px 5% 80px;
    }

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

}
