header {
    text-align: center;
    padding: 60px 20px 80px;
    margin-top: 60px;
}

header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* .hero {
    margin-top: 10px;
    text-align: center;
    padding: 10px 20px 100px;
    background: linear-gradient(to bottom, #285da3, #f7f7f7);
}
 */
.hero {
    min-height: 80vh;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;    
    padding: 10px 20px 1px;
    background: linear-gradient(to bottom, #285da3, #f7f7f7);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .subtext {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 15px;
}

.hero .trust {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 30px;
}

.hero h1,
.hero .subtext,
.hero .trust,
.hero .actions {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}

.hero .subtext {
    animation-delay: 0.1s;
}

.hero .trust {
    animation-delay: 0.2s;
}

.hero .actions {
    animation-delay: 0.3s;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    width: 32px;
    height: 50px;

    border: 2px solid #999;
    border-radius: 20px;

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

    padding-top: 10px;

    text-decoration: none;

    opacity: 0.8;

    transition: all 0.2s ease;
}

.scroll-down span {
    width: 6px;
    height: 6px;

    background: #666;
    border-radius: 50%;

    animation: scrollAnim 1.5s infinite;
}

.scroll-down:hover {
    border-color: #0A66C2;
}

@keyframes scrollAnim {

    0% {
        opacity: 0;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 0;
    }
}



@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logo span {
    color: #0A66C2;
}

.logo:hover {
    transform: scale(1.03);
}

/* NAVBAR BASE */
.navbar {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;

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

/* LINKS */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.nav-phone {
    text-decoration: none;
    color: #0A66C2;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-phone:hover {
    opacity: 0.8;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Animación de las rayitas del botón */
.menu-toggle.active {
    transform: rotate(90deg);
    /* El botón gira */
    color: red;
    /* O cambia de color para notar el cambio */
    transition: 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Ajuste vital para móviles */
@media (max-width: 768px) {
    .hero {
        /* En móviles, menos es más: 40px arriba y 30px abajo */
        padding: 10px 15px 30px;
        margin-top: 50px;
        /* Si el menú móvil es más pequeño */
    }
}

@media (max-width: 768px) {
    .nav-phone {
        display: none;
    }
}