/*de aqui para abajo es test*/

/*seccion hero mobile-first*/
.hero-section {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: none;
}

/*contenedor para el banner*/
.hero-banner-content {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.05);
    /* Escalado sutil para ocultar esquinas o bordes */
    object-fit: cover;
    z-index: 1;
}

/* Capa semitransparente sobre el video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    /* Capa oscura al 45% */
    z-index: 2;
}

/*etiqueta picture para el bg*/
.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hace la magia de rellenar el espacio sin deformar */
    overflow: hidden;
    z-index: -1;
}

/*contenedor de las etiquetas h1 y p descriptivas*/
.hero-content {
    width: 85%;
    height: 85%;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(163, 83, 186, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    z-index: 3;
    margin: 1rem auto;
}

/*propiedades del titulo*/
.hero-title {
    text-align: center;
    font-size: 2rem;
    color: var(--white-text);
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.7);
    padding-bottom: 3rem;
}

/*propiedades para la descripcion*/
.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: #F2F2F2;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-description span {
    color: var(--white-text);
    font-weight: 700;
}

/*contenedor article para la etiqueta address*/
.hero-address-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--black-primary);
    color: var(--white-primary);
    padding: 1rem;
}

.location-link-hero a,
.link-phone-hero {
    color: var(--orange-primary);
    display: flex;
    gap: 10px;
}

/*hero media desktop*/
@media (min-width: 768px) {

    /*contenedor del hero*/
    .hero-banner-content {
        min-height: 500px;
        height: 550px;
        padding: 1rem;
    }

    .hero-content {
        padding: 2rem;
        width: 900px;
        height: 350px;
    }

    /*titulo h1 del banner*/
    .hero-title {
        font-size: 3rem;
    }

    /*descripcion del banner*/
    .hero-description {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .hero-address-container {
        flex-direction: row;
        gap: 1.5rem;

    }

}