/* ============ SLIDER HOME — panel de texto sobre imagen ============ */
.wp-image-slider
{
    z-index: 1;
    position: relative;
}

.cover-slider .slider-inicio .wp-block-cover__inner-container
{
    display: flex;
    width: 100%;
    max-width: 100% !important;
    min-height: inherit;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

/* Mismo .container que el buscador: ancho BS estándar (no fluid), mismos gutters */
.cover-slider .slider-inicio .pmc-home-slider-shell.container,
.cover-slider .slider-inicio .wp-bootstrap-blocks-container.container.pmc-home-slider-shell,
.buscador-home.container,
.buscador-home.wp-bootstrap-blocks-container.container
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

@media (min-width: 992px)
{
    :root
    {
        --pmc-home-slider-panel-max: min(24rem, 32vw);
        --pmc-home-slider-top-gap: 0.75rem;
    }

    .cover-slider > .wp-block-cover.slider-inicio,
    .cover-slider .slider-inicio.wp-block-cover,
    .cover-slider .slider-inicio.is-position-bottom-center,
    .cover-slider .slider-inicio.is-position-top-left,
    .cover-slider .slider-inicio.is-position-top-right
    {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: var(--pmc-home-slider-top-gap) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 1rem !important;
    }

    .cover-slider .slider-inicio .wp-block-cover__inner-container
    {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .cover-slider .slider-inicio .pmc-home-slider-shell.container,
    .cover-slider .slider-inicio .wp-bootstrap-blocks-container.container.pmc-home-slider-shell
    {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        flex: 1 1 auto !important;
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    .cover-slider .slider-inicio .pmc-home-slider-panel
    {
        width: 100%;
        max-width: var(--pmc-home-slider-panel-max);
        margin-left: auto;
        margin-right: 0;
        padding: clamp(0.7rem, 1.4vw, 1rem) clamp(0.9rem, 1.8vw, 1.2rem);
    }

    .slider-inicio .texto-2-banner
    {
        max-width: 100%;
    }

    /* Sin animación vertical: evita salto al medir el header con JS */
    .cover-slider .slider-inicio .pmc-fx-scroll-in
    {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }
}

/* Caja oscura dentro del container — texto a la izquierda; el panel se coloca a la derecha del grid BS */
.cover-slider .slider-inicio .pmc-home-slider-panel
{
    position: relative;
    z-index: 5;
    text-align: left;
}

.slider-inicio .texto-1-banner,
.slider-inicio .texto-2-banner
{
    text-shadow: none !important;
    color: #ffffff !important;
}

.slider-inicio .texto-1-banner
{
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(1.25rem, 4.8vw, 1.7rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.15rem;
}

.slider-inicio .texto-1-banner::after
{
    content: "";
    display: block;
    width: 3.25rem;
    height: 3px;
    margin-top: 0.65rem;
    margin-bottom: 0.65rem;
    margin-left: 0;
    margin-right: auto;
    background-color: #8E2C3B;
    border-radius: 2px;
}

.slider-inicio .texto-2-banner
{
    font-family: 'Open Sans', sans-serif !important;
    font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
    line-height: 1.45 !important;
    margin: 0;
    max-width: 36rem;
}

.slider-inicio .texto-2-banner strong
{
    font-weight: 700;
    color: #ffffff;
}

@media (min-width: 992px)
{
    .slider-inicio .texto-1-banner
    {
        font-size: clamp(1.35rem, 1.95vw, 1.72rem) !important;
        line-height: 1.1 !important;
    }

    .slider-inicio .texto-1-banner::after
    {
        width: 2.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .slider-inicio .texto-2-banner
    {
        font-size: 0.92rem !important;
        line-height: 1.42 !important;
    }
}

@media (max-width: 991px)
{
    :root
    {
        --pmc-home-slider-top-gap-mobile: 0.5rem;
    }

    /* Zoom más suave solo en móvil (plugin usa 1 → 1.15 en desktop) */
    .cover-slider.is-zoom .cover-slider__image img
    {
        transform: scale(1.04);
    }

    .cover-slider.is-zoom .cover-slider__image.is-active img
    {
        transform: scale(1);
        animation: pmc-cover-zoom-mobile var(--slide-duration, 5s) linear forwards;
    }

    /* Gutenberg fuerza align-items:center en .wp-block-cover — anular en portada */
    .cover-slider > .wp-block-cover.slider-inicio,
    .cover-slider .slider-inicio.wp-block-cover,
    .cover-slider .slider-inicio.is-position-bottom-center,
    .cover-slider .slider-inicio.is-position-top-left,
    .cover-slider .slider-inicio.is-position-top-right
    {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: var(--pmc-home-slider-top-gap-mobile) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0.25rem !important;
    }

    .cover-slider .slider-inicio .wp-block-cover__inner-container
    {
        align-self: flex-start !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.25rem 0 0.15rem !important;
    }

    .cover-slider .slider-inicio .pmc-fx-scroll-in
    {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    .cover-slider .slider-inicio .pmc-home-slider-shell.container,
    .cover-slider .slider-inicio .wp-bootstrap-blocks-container.container.pmc-home-slider-shell
    {
        display: block !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .cover-slider .slider-inicio .pmc-home-slider-shell.pb-5,
    .cover-slider .slider-inicio .wp-bootstrap-blocks-container.pb-5
    {
        padding-bottom: 0 !important;
    }

    .cover-slider .slider-inicio .pmc-home-slider-panel
    {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0.55rem 0.7rem;
        border-radius: 10px;
    }

    .slider-inicio .texto-1-banner
    {
        font-size: clamp(0.84rem, 3.4vw, 1rem) !important;
        line-height: 1.12 !important;
        letter-spacing: 0.01em;
    }

    .slider-inicio .texto-1-banner::after
    {
        width: 1.75rem;
        height: 2px;
        margin-top: 0.35rem;
        margin-bottom: 0.35rem;
    }

    .slider-inicio .texto-2-banner
    {
        font-size: clamp(0.78rem, 2.8vw, 0.9rem) !important;
        line-height: 1.35 !important;
        max-width: 100%;
    }
}

@media (max-width: 500px)
{
    .cover-slider .slider-inicio .wp-block-cover__inner-container
    {
        padding-top: 0.2rem !important;
    }

    .cover-slider .slider-inicio .pmc-home-slider-panel
    {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0.45rem 0.6rem;
        border-radius: 8px;
    }

    .slider-inicio .texto-1-banner
    {
        font-size: clamp(0.82rem, 3.8vw, 0.94rem) !important;
    }

    .slider-inicio .texto-1-banner::after
    {
        margin-top: 0.28rem;
        margin-bottom: 0.28rem;
    }

    .slider-inicio .texto-2-banner
    {
        font-size: clamp(0.76rem, 3.1vw, 0.86rem) !important;
        line-height: 1.32 !important;
    }
}

.texto-1-banner,
.texto-2-banner
{
    text-shadow: none !important;
}

.vendemos-inmueble-home
{
    background-color: #E8E8E8;
}
.boton-1-home a
{
    background-color: #8E2C3B;
    color: #fff;
    border-radius: 50px;
    padding: 5px 20px;
    text-decoration: none;
}
.boton-2-home a
{
    background-color: #8E2C3B;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.5s ease;
    border: 1px solid #8E2C3B;
}
.boton-2-home a:hover
{
    background-color: #000;
    color: #FFF;
}
.boton-3-home a
{
    background-color: #FFF;
    color: #8E2C3B;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.5s ease;
    border: 1px solid #555;
}
.boton-3-home a:hover
{
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.testimonio-granate
{
    background-color: rgba(111, 21, 38, 0.9);
    color: #FFF;
    border: 2px solid #CCC;
    border-radius: 10px;
    padding: clamp(0.85rem, 1.6vw, 1.25rem);
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 10px;
    width: min(50%, 22rem);
    margin-left: auto;
    margin-right: 4rem;
}
.testimonio-granate em
{
    color: #FFF!important;
}
.testimonio-granate figure
{
    width: 60%;
    margin-right: -10px;
    margin-left: auto;
    opacity: 0.7;
}
.testimonio-granate figure img
{
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px)
{
    .vendemos-inmueble-home .col-lg-6 .wp-block-cover.h-100
    {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 5 / 4;
        max-height: 18rem;
    }

    .vendemos-inmueble-home .wp-block-cover.p-3
    {
        padding: 0.65rem !important;
    }

    .vendemos-inmueble-home .wp-block-cover .wp-block-cover__inner-container
    {
        padding: 0.25rem;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        width: 100%;
        min-height: 0;
    }

    .testimonio-granate
    {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        padding: 0.75rem 0.8rem 0.65rem;
        font-size: 0.92rem;
        line-height: 1.45;
        border-width: 1px;
    }

    .testimonio-granate .wp-block-group__inner-container
    {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .testimonio-granate .wp-block-paragraph
    {
        margin-top: 0;
        margin-bottom: 0.4rem;
    }

    .testimonio-granate .wp-block-paragraph:last-child
    {
        margin-bottom: 0;
    }

    .testimonio-granate figure
    {
        width: min(40%, 6.5rem);
        margin: 0.1rem 0 0 auto;
        opacity: 0.65;
    }
}

@media (max-width: 575.98px)
{
    .vendemos-inmueble-home .col-lg-6 .wp-block-cover.h-100
    {
        aspect-ratio: 4 / 3;
        max-height: 15rem;
    }

    .vendemos-inmueble-home .wp-block-cover.p-3
    {
        padding: 0.4rem !important;
    }

    .vendemos-inmueble-home .wp-block-cover .wp-block-cover__inner-container
    {
        padding: 0.15rem;
    }

    .testimonio-granate
    {
        padding: 0.6rem 0.65rem 0.55rem;
        font-size: 0.84rem;
        border-radius: 8px;
    }

    .testimonio-granate figure
    {
        width: min(36%, 5.25rem);
    }

    .testimonio-granate .comillas-invertidas
    {
        font-size: clamp(3rem, 18vw, 4.5rem);
        line-height: 0.85;
    }
}
.comillas-invertidas
{
    font-family: 'Great Vibes', cursive!important;
    font-size: clamp(3.5rem, 12vw, 10rem);
    line-height: 0.9;
    color: #FFF!important;
}
/* .imagenes-promocat figure img
{
    max-height: 250px;
} */

/*Slider home*/
@keyframes pmc-cover-zoom-mobile
{
    0%
    {
        transform: scale(1);
    }
    100%
    {
        transform: scale(1.04);
    }
}

/*Fin Slider Home*/

/* ============ SCROLL CARET ============ */
.scroll-caret
{
    position: absolute;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.25px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    animation: scroll-caret-bounce 2s ease-in-out infinite;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0);
}

.scroll-caret:hover,
.scroll-caret:focus
{
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
}
@keyframes scroll-caret-bounce
{
    0%, 100%
    {
        transform: translateX(-50%) translateY(0);
        opacity: 0.8;
    }
    50%
    {
        transform: translateX(-50%) translateY(6px);
        opacity: 1;
    }
}

@media (max-width: 782px)
{
    .scroll-caret
    {
        bottom: max(4rem, calc(env(safe-area-inset-bottom, 0px) + 3rem));
        animation-name: scroll-caret-bounce-mobile;
    }
}

@keyframes scroll-caret-bounce-mobile
{
    0%,
    100%
    {
        transform: translateX(-50%) translateY(0);
        opacity: 0.8;
    }
    50%
    {
        transform: translateX(-50%) translateY(4px);
        opacity: 1;
    }
}
/* ============ FIN SCROLL CARET ============ */

/* ============ GUÍA PARA VENDEDORES ============ */
.pmc-seller-guide
{
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background-color: #faf7f0;
    overflow: hidden;
}

.pmc-seller-guide__header
{
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    position: relative;
    z-index: 2;
}

.pmc-seller-guide__eyebrow
{
    display: inline-block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8E2C3B;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(111, 21, 38, 0.25);
    border-radius: 999px;
    background: rgba(111, 21, 38, 0.04);
}

.pmc-seller-guide__title
{
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #24272c;
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.pmc-seller-guide__title span
{
    color: #8E2C3B;
}

.pmc-seller-guide__subtitle
{
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.pmc-seller-guide__grid
{
    position: relative;
    z-index: 2;
}

.pmc-seller-step
{
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 2.5rem 1.75rem 1.75rem;
    height: 100%;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.pmc-seller-step::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #8E2C3B;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.pmc-seller-step:hover
{
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(111, 21, 38, 0.14);
    border-color: rgba(111, 21, 38, 0.2);
}

.pmc-seller-step:hover::before
{
    transform: scaleX(1);
}

.pmc-seller-step__number
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #8E2C3B;
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 24px rgba(111, 21, 38, 0.28);
    line-height: 1;
}

.pmc-seller-step__title
{
    font-size: 1.2rem;
    line-height: 1.3;
    color: #24272c;
    margin: 0 0 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pmc-seller-step__text
{
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 991px)
{
    .pmc-seller-step
    {
        padding: 2rem 1.35rem 1.5rem;
    }

    .pmc-seller-step__number
    {
        width: 56px;
        height: 56px;
        font-size: 1.45rem;
    }
}

@media (max-width: 781px)
{
    .pmc-seller-guide
    {
        padding: 2.5rem 0;
    }

    .pmc-seller-step::before
    {
        transform: scaleX(1);
    }
}
/* ============ FIN GUÍA PARA VENDEDORES ============ */

@media (min-width: 992px)
{
    .texto-vender-inmueble 
    {
        font-size: 3rem;
        margin-top: 3rem;
    }
}
@media (max-width: 991px)
{
    .texto-vender-inmueble
    {
        font-size: 3rem;
    }
}