/* -------------------------
   HERO CAMPOSANTO MOBILE FIRST
-------------------------- */
#hero-camposanto {
    position: relative; /* necesario para el overlay */
    color: var(--color-blanco);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.85);
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

/* Overlay negro */
#hero-camposanto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-negro);
    opacity: 0.35;
    z-index: 1;
}

/* Contenedor interno de Elementor */
#hero-camposanto > .e-con-inner {
    position: relative;
    z-index: 2;
    
    display: flex;
    flex-direction: column; /* mobile first */
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

/* Título */
#hero-camposanto h1 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--color-piel);
    line-height: 1.2;
}

/* Texto */
#hero-camposanto p {
    font-size: var(--texto-large);
    font-weight: 500;
    max-width: 550px;
}

/* Contenedor del texto */
#hero-camposanto .cont-text {
    width: 100%;
}

/* El formulario se oculta en mobile */
#hero-camposanto .fluentform {
    display: none;
}

/*--------------------------
      TABLET (768px - 1024px)
--------------------------*/

/* -------------------------
   DESKTOP (1024px+)
-------------------------- */
@media (min-width: 1200px) {
    #hero-camposanto {
        height: 80vh;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #hero-camposanto > .e-con-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        text-align: left;
    }

    #hero-camposanto .cont-text {
        width: 60%;
    }
    
    /* Mostrar formulario */
    #hero-camposanto .fluentform {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        backdrop-filter: blur(8px);
        background-color: rgba(255, 255, 255, 0.5);
        padding: 1.5rem;
        width: 350px;
        border-radius: 1rem;
    }

    /* Labels y botones del form */
    .fluentform label {
        font-family: 'Poppins', sans-serif;
        font-size: var(--texto);
    }

    .fluentform button {
        background-color: var(--color-verde-oscuro);
        color: var(--color-blanco);
        font-family: 'Nunito', sans-serif;
        transition: transform 0.3s ease;
    }

    .fluentform button:hover {
        transform: scale(1.05);
        background-color: var(--color-piel);
        color: var(--color-texto);
    }
}

/*-------------------------------
        CARDS CAMPOSANTOS
---------------------------------*/
.card-camposanto {
    background-color: var(--color-blanco);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column !important;
}

.card-camposanto h3, .card-camposanto h4 {
    color: var(--color-verde-opaco);
}

.card-camposanto ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-camposanto img {
    width: 100%;
    border-radius: 0.5rem;
}

.card-camposanto-text {
    width: 100%;
    display: flex;
    flex-direction: column !important;
    justify-content: center;
}

.cont-buttons {
    padding: 0;
}

.cont-buttons {
    display: flex;
    flex-direction: column !important;
}

@media (min-width: 1024px) {
    .card-camposanto {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
    }
    
    .card-camposanto-text {
        width: 60%;
    }

}