/* ========================================
   VARIABLES
======================================== */

:root {

    --bg-primary: #080b12;
    --bg-secondary: #0e141e;
    --bg-card: #111a27;

    --blue: #1683ff;
    --blue-light: #00b8ff;

    --text-primary: #f2f5f8;
    --text-secondary: #9aa7b5;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1180px;

    --radius: 16px;

}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg-primary);
    color: var(--text-primary);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


/* ========================================
   UTILIDADES
======================================== */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


.section-tag {
    display: inline-block;

    color: var(--blue-light);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}


/* ========================================
   HEADER
======================================== */

.header {

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(8, 11, 18, 0.88);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);
}


.header-container {

    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */
.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 70px; /* Ajustá el alto si lo necesitás más grande o chico */
    width: auto;  /* Mantiene la proporción para que no se deforme */
    display: block;
    object-fit: contain;
}

/* Estilos de respaldo por si usás texto en el footer */
.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.logo-it {
    color: var(--blue);
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-subtitle {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* NAV */

.nav {

    display: flex;
    align-items: center;

    gap: 30px;

    color: var(--text-secondary);

    font-size: 0.9rem;
}


.nav a {
    transition: color 0.25s ease;
}


.nav a:hover {
    color: var(--text-primary);
}


.nav-whatsapp {

    padding: 10px 18px;

    border: 1px solid rgba(22, 131, 255, 0.5);

    border-radius: 999px;

    color: var(--text-primary) !important;

    background: rgba(22, 131, 255, 0.1);
}


.menu-button {
    display: none;

    border: 0;
    background: transparent;

    color: var(--text-primary);

    font-size: 1.5rem;

    cursor: pointer;
}


/* ========================================
   HERO
======================================== */

.hero {

    position: relative;

    overflow: hidden;

    min-height: 680px;

    display: flex;
    align-items: center;
}


.hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: 80px;
    right: -150px;

    background: var(--blue);

    opacity: 0.08;

    filter: blur(120px);

    border-radius: 50%;
}


.hero-container {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 80px;

}


.hero-content {
    position: relative;
    z-index: 2;
}


.hero-tag {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--blue-light);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.hero h1 {

    max-width: 700px;

    font-size: clamp(
        3rem,
        7vw,
        5.5rem
    );

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.hero h1 span {
    display: block;

    color: var(--blue);
}


.hero-description {

    max-width: 560px;

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 1.1rem;
}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 35px;
}


/* ========================================
   BOTONES
======================================== */

.button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 10px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {

    background: var(--blue);

    color: white;

    box-shadow:
        0 10px 35px rgba(22, 131, 255, 0.25);
}


.button-primary:hover {
    background: #0877ed;
}


.button-secondary {

    border: 1px solid var(--border);

    color: var(--text-primary);

    background: rgba(255, 255, 255, 0.03);
}


/* ========================================
   HERO VISUAL
======================================== */

.hero-visual {

    display: flex;

    justify-content: center;
    align-items: center;
}


.tech-card {

    width: min(100%, 390px);

    min-height: 390px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #111c2b,
            #0b1018
        );

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.35);

    transform: rotate(2deg);
}


.tech-card-top {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-secondary);

    font-size: 0.7rem;

    letter-spacing: 0.1em;
}


.status-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #28d17c;

    box-shadow:
        0 0 15px rgba(40, 209, 124, 0.6);
}


.computer-icon {

    min-height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 8rem;
}


.tech-lines {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.tech-lines span {

    height: 5px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);
}


.tech-lines span:nth-child(1) {
    width: 80%;
}


.tech-lines span:nth-child(2) {
    width: 60%;
}


.tech-lines span:nth-child(3) {
    width: 40%;
}


/* ========================================
   SECCIONES
======================================== */

.problems,
.services {

    padding: 110px 0;
}


.problems {
    background: var(--bg-secondary);
}


.section-heading {

    max-width: 650px;

    margin-bottom: 55px;
}


.section-heading h2 {

    margin-top: 12px;

    font-size: clamp(
        2rem,
        5vw,
        3.4rem
    );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.section-heading p {

    margin-top: 18px;

    color: var(--text-secondary);
}


/* ========================================
   PROBLEMAS
======================================== */

.problem-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.problem-card {

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, 0.02);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.problem-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(22, 131, 255, 0.4);
}


.problem-icon {

    display: block;

    margin-bottom: 25px;

    font-size: 2rem;
}


.problem-card h3 {
    font-size: 1.1rem;
}


.problem-card p {

    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 0.9rem;
}


/* ========================================
   SERVICIOS
======================================== */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.service-card {

    position: relative;

    min-height: 270px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--bg-card);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.service-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(22, 131, 255, 0.4);
}


.service-number {

    position: absolute;

    top: 25px;
    right: 25px;

    color: rgba(255, 255, 255, 0.2);

    font-size: 0.75rem;
    font-weight: 700;
}


.service-icon {

    display: block;

    margin-bottom: 30px;

    font-size: 2rem;
}


.service-card h3 {
    font-size: 1.25rem;
}


.service-card p {

    margin-top: 12px;

    color: var(--text-secondary);

    font-size: 0.9rem;
}


/* ========================================
   CTA
======================================== */

.cta {

    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #0b1625,
            #080b12
        );

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.cta-container {

    text-align: center;

    max-width: 700px;
}


.cta h2 {

    margin-top: 15px;

    font-size: clamp(
        2.2rem,
        6vw,
        4rem
    );

    line-height: 1;
}


.cta p {

    margin: 20px auto 30px;

    color: var(--text-secondary);
}


/* ========================================
   FOOTER
======================================== */

.footer {

    padding: 60px 0 25px;

    background: #05070b;
}


.footer-container {

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.footer-logo {
    margin-bottom: 15px;
}


.footer-container p {

    color: var(--text-secondary);

    font-size: 0.85rem;
}


.footer-links {

    display: flex;

    gap: 25px;

    color: var(--text-secondary);

    font-size: 0.85rem;
}


.footer-bottom {

    margin-top: 50px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


/* ========================================
   WHATSAPP FLOTANTE
======================================== */

.whatsapp-floating {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 90;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;

    font-size: 1.5rem;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35);

}

.logo img {
    height: 100px; /* Ajustá este valor si lo querés un poco más grande o chico */
    width: auto;
    display: block;
    object-fit: contain;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 20px;
        right: 20px;

        flex-direction: column;

        align-items: stretch;

        padding: 20px;

        border: 1px solid var(--border);

        border-radius: 15px;

        background: #0d131d;
    }


    .nav.active {
        display: flex;
    }


    .menu-button {
        display: block;
    }


    .hero {

        min-height: auto;

        padding: 90px 0;
    }


    .hero-container {

        grid-template-columns: 1fr;

        gap: 60px;
    }


    .hero-visual {
        display: none;
    }


    .problem-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {

        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }


    .hero {

        padding: 75px 0;
    }


    .hero h1 {

        font-size: 3.2rem;
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .problems,
    .services,
    .cta {

        padding: 80px 0;
    }


    .problem-grid,
    .services-grid {

        grid-template-columns: 1fr;
    }


    .footer-container {

        flex-direction: column;
    }


    .footer-links {

        flex-direction: column;

        gap: 12px;
    }

}