﻿:root {
    --naranja: #ff9100;
    --azul1: #7adcf8;
    --azul2: #1cb7e9;
    --azul3: #2bc1ef;
    --azul4: #082f5b;
    --azul5: #043465;
    --gris1: #5d7280;
    --gris2: #3b4951;
    --gris3: #2c353b;
    --gris4: #d7daff;
    --gris5: #888abf;
    --blanco: #ffffff;
    --negro: #000000;
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Geometos Neue", sans-serif;
    --font-accent: "Playfair Display", serif;
    --shadow: 0 10px 20px rgba(0,0,0,.4);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--azul5);
    color: var(--gris3);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-secondary);
    color: var(--blanco);
    line-height: 1.2;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--naranja);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--gris4);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--naranja);
    color: var(--blanco);
    padding: 0.8rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 145, 0, 0.4);
}

/* header */
header {
    background: radial-gradient(circle at 20% 20%, rgba(32, 224, 255, 0.25) 0%, rgba(4, 42, 85, 1) 40%, rgba(2, 28, 58, 1) 100%);
    border-bottom: 4px solid rgba(32, 224, 255, 0.3);
    backdrop-filter: blur(4px);
    color: var(--blanco);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 199, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.logo img {
    width: 150px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav a:hover,
.nav a.active {
    color: var(--naranja);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    z-index: 10001;
}


/* FOOTER */

footer {
    background: var(--negro);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content p {
    margin-top: 1.5rem;
    font-size: .9rem;
}

.social {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .social li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.8em;
        height: 2.8em;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
        will-change: transform, box-shadow;
        text-decoration: none;
    }

    .social a:hover {
        color: var(--naranja);
        background: rgba(255, 165, 0, 0.08);
        border-color: var(--naranja);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.15), 0 10px 25px rgba(255, 165, 0, 0.35);
    }

/* RESPONSIVE */

@media (max-width: 1024px) {
    .services-grid,
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    @media (max-width: 768px) {

        header {
            justify-content: space-between;
        }

        .nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100dvh; /* mejor que 100vh en mobile */
            background: var(--azul5);
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateX(100%);
            transition: transform 0.4s ease;
            z-index: 9999;
        }

            .nav.is-open {
                transform: translateX(0);
            }

            .nav ul {
                flex-direction: column;
                gap: 2rem;
            }

            .nav a {
                font-size: 2rem;
            }

        .menu-toggle {
            display: block;
            position: relative;
            z-index: 10001;
        }

        .logo img {
            display: none;
        }
    }

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

    .hero {
        padding-top: 7rem;
    }

    .hero-content {
        padding: 2.2rem 2rem;
        border-radius: 1.2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        max-width: 100%;
    }
}