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

/* =========================
   BASE
========================= */
body {
    font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    background: #020611;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================
   CABECERA
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

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

    padding: 34px 8%;

    background: rgba(2, 6, 17, 0.06);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);

    transition: all 0.35s ease;
}

/* Estado scroll */
.site-header.scrolled {
    padding: 14px 8%;

    /* más transparente */
    background: rgba(2, 6, 17, 0.38);

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

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

    transition: all 0.35s ease;
}

/* =========================
   LOGO CABECERA
========================= */
.header-logo img {
    height: 84px;
    width: auto;
    display: block;
    transition: all 0.35s ease;
}

/* Logo pequeño al hacer scroll */
.site-header.scrolled .header-logo img {
    height: 46px;
}

/* Hover azul */
.header-logo img:hover {
    filter:
        brightness(0)
        saturate(100%)
        invert(55%)
        sepia(97%)
        saturate(1950%)
        hue-rotate(170deg)
        brightness(103%)
        contrast(104%);
}

/* =========================
   MENÚ
========================= */
.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.7px;
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: #00aeff;
}

/* =========================
   BOTONES
========================= */
.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary {
    background: linear-gradient(135deg, #00aeff, #0089d6);
    color: white;
    box-shadow: 0 0 28px rgba(0, 174, 255, 0.35);
}

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

.secondary {
    border: 1px solid rgba(0, 174, 255, 0.45);
    color: #00aeff;
    background: rgba(0, 174, 255, 0.05);
}

.secondary:hover {
    background: rgba(0, 174, 255, 0.12);
    transform: translateY(-4px);
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 40px;
    text-align: center;
    color: #9aa8bb;
    background: #020611;
    font-size: 14px;
}