/* ============================================
   RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2b3a8f;           /* Azul del header / título */
    --text: #1a1a1a;
    --white: #ffffff;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    background: var(--white);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--blue);
    width: 100%;
}

.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 70px;
}

.header__logo img {
    height: 54px;
    width: auto;
    display: block;
    transition: opacity .2s;
}

.header__logo:hover img {
    opacity: 0.85;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: opacity .2s;
}

.header__nav a:hover {
    opacity: 0.8;
}

.header__divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
}

.header__user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header__user svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
}

/* ============================================
   HERO (contenido principal)
   ============================================ */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero__inner {
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero__text p {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 400;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .header__inner {
        padding: 8px 24px;
        min-height: 64px;
    }
    .header__nav {
        gap: 20px;
    }
    .header__nav a {
        font-size: 14px;
    }
    .header__logo img {
        height: 48px;
    }
    .hero__inner {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    /* Ocultamos menú y divisor en móvil */
    .header__nav a:not(.header__user),
    .header__divider {
        display: none;
    }

    .header__logo img {
        height: 42px;
    }

    .hero {
        padding: 40px 24px;
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero__text h1 {
        margin-bottom: 20px;
    }

    .hero__image {
        order: -1;
    }

    .hero__image img {
        max-height: 320px;
    }
}