﻿/*.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
}*/

.hero-text {
    max-width: 520px;
}

.h1-large {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
}

.text-highlight {
    color: #93c5fd;
}

.p-large {
    font-size: 1.05rem;
    color: #dbeafe;
    margin-top: 18px;
    line-height: 1.6;
}

.btn-hero-primary {
    background: #ffffff;
    color: #1e3a8a;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    gap: 8px;
}

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        background: #f8fafc;
        color: #1e40af;
        text-decoration:none;
    }

.hero-actions {
    margin-top: 28px;
}


.hero-trust {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #dbeafe;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

    .hero-trust i {
        color: #22c55e;
        margin-right: 5px;
    }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Permite que el scale sobresalga */
    position: relative;
}

    .hero-image img {
        display: block;
        max-width: 100%; /* responsivo */
        height: auto;
        border-radius: 18px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.3, 1), box-shadow 0.5s ease, filter 0.5s ease;
        transform: scale(1);
        transform-origin: center center;
        filter: brightness(0.98) saturate(1.05);
        will-change: transform, box-shadow, filter;
    }

    /* Hover moderno: imagen crece y resalta */
    .hero-image:hover img {
        transform: scale(1.08); /* crece 8% */
        box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
        filter: brightness(1.08) saturate(1.1);
    }

    /* Entrada suave */
    .hero-image img {
        opacity: 0;
        animation: heroFadeIn 0.9s ease forwards;
    }

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Media queries */
@media (max-width: 991px) {
    .hero-image img {
        max-width: 100%;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        transform: scale(1); /* sin hover para móviles */
    }
}


@media (max-width: 991px) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

        .hero-image img {
            max-width: 100%;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        }
}
