/* En custom.css (que carga primero) */
@import url("icons.css");

.custom-select-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

/* Campos del buscador: misma apariencia que Tipo Inmueble / Precio mínimo */
.custom-select,
.form-select,
.property-type-multiselect__trigger,
.row.with-forms select:not(.chosen-select):not(.chosen-select-no-single),
.row.with-forms .select-input input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    display: block;
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding: 0 44px 0 18px !important;
    margin: 0 0 18px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 50px;
    color: #808080;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%239CA4B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.row.with-forms .select-input input[type="text"] {
    cursor: text;
    background-image: none;
    line-height: normal;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.custom-select:hover,
.form-select:hover,
.property-type-multiselect__trigger:hover,
.row.with-forms select:not(.chosen-select):not(.chosen-select-no-single):hover,
.row.with-forms .select-input input[type="text"]:hover {
    border-color: #d8d8d8;
}

.custom-select:focus,
.form-select:focus,
.property-type-multiselect__trigger:focus,
.row.with-forms select:not(.chosen-select):not(.chosen-select-no-single):focus,
.row.with-forms .select-input input[type="text"]:focus {
    outline: none;
    border-color: #d8d8d8;
    box-shadow: none;
    color: #808080;
}

.custom-select option,
.form-select option,
.row.with-forms select:not(.chosen-select):not(.chosen-select-no-single) option {
    background-color: #fff;
    color: #333;
    padding: 10px 12px;
    font-weight: 500;
}

/* Selects del formulario de testimonios */
.pe-testimonials-form__input:is(select) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: auto;
    line-height: normal;
    color: #808080;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%239CA4B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.pe-testimonials-form__input:is(select):focus {
    border-color: rgba(182, 26, 26, 0.45);
    box-shadow: 0 0 0 4px rgba(182, 26, 26, 0.12);
}

.text-justify {
    text-align: justify;
}

/* Hero: propuesta de valor (equivalente Tailwind text-center / mx-auto) */
.hero-value-proposition {
    max-width: 86rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem; /* ~mt-8 respecto al buscador */
    text-align: center;
    padding: 0 1.5rem;
}

.hero-value-proposition__title {
    margin: 0 0 0.75rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-value-proposition__subtitle {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.55;
    color: #e5e7eb;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .hero-value-proposition__title {
        font-size: 2.25rem;
    }

    .hero-value-proposition__subtitle {
        font-size: 1.25rem;
    }
}

/* Hero — video de fondo (YouTube) */
.parallax.parallax--has-video {
    background-image: none !important;
    overflow: visible;
}

.parallax--has-video .parallax-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.parallax--has-video .parallax-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.parallax--has-video .parallax-overlay {
    z-index: 1;
}

.parallax--has-video .parallax-content {
    position: relative;
    z-index: 2;
}



/* Botones flotantes: WhatsApp arriba, flecha subir debajo (columna, sin solaparse) */
.floating-stack {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1.25rem;
    pointer-events: none;
}

.floating-stack > * {
    pointer-events: auto;
    flex-shrink: 0;
}

.floating-stack #backtotop {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    display: none;
    margin: 0 !important;
    z-index: 1;
}

.floating-stack #backtotop a {
    display: block;
    width: 44px;
    height: 44px;
}

[x-cloak] {
    display: none !important;
}

/* Property detail (maqueta inmueble IA) */
.pe-property-header {
    padding: 0 !important;
    margin: 0 0 20px !important;
    background: transparent !important;
    border: 0 !important;
}

.pe-property-header .property-title {
    margin-left: 0 !important;
}

.pe-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c81517;
    font-weight: 500;
    text-decoration: none;
}

.pe-back-link:hover {
    color: #a91012;
    text-decoration: none;
}

.pe-back-link__arrow {
    font-size: 1em;
    line-height: 1;
}

.pe-property-header__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.pe-property-header__title {
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
}

#titlebar.property-titlebar.pe-property-header h2.pe-property-header__title {
    margin: 0;
}

.pe-property-header__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    background-color: #c81517;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

#titlebar.property-titlebar.pe-property-header span.pe-property-header__badge {
    color: #fff !important;
}

.pe-property-header__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #888;
    text-decoration: none;
}

.pe-property-header__location:hover {
    color: #666;
    text-decoration: none;
}

.pe-property-header__location .fa-map-marker {
    color: #888;
}

.pe-property-layout {
    margin-top: 30px;
}

/* Sidebar sticky (equivalente Tailwind: sticky top-4 h-fit) — solo escritorio */
@media (min-width: 992px) {
    .sp-sidebar.sticky.top-4.h-fit {
        position: sticky;
        top: 1rem;
        height: fit-content;
        align-self: flex-start;
        z-index: 20;
    }
}

@media (max-width: 991px) {
    .sp-sidebar.sticky.top-4.h-fit {
        position: static;
        height: auto;
    }
}

.pe-gallery-block {
    margin-bottom: 25px;
}

.pe-gallery--in-column {
    margin-top: 10px;
}

.pe-gallery--in-column .property-slider.default {
    border-radius: 12px;
    overflow: hidden;
}

.pe-gallery--in-column .property-slider.default .item {
    height: 440px;
    border-radius: 12px;
    background-size: cover;
    background-position: center center;
}

.pe-gallery {
    position: relative;
}

.pe-gallery__counter {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
}

.pe-gallery__fullscreen {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 20;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pe-gallery__fullscreen:hover {
    background: rgba(0, 0, 0, 0.6);
}

.pe-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: background-color 0.2s ease;
}

.pe-gallery__nav:hover {
    background: #f8f8f8;
}

.pe-gallery__nav--prev {
    left: 16px;
}

.pe-gallery__nav--next {
    right: 16px;
}

.pe-gallery-thumbs {
    margin-top: 12px;
    width: 100% !important;
    position: relative;
    left: 0 !important;
}

.property-slider-nav.pe-gallery-thumbs {
    width: 100% !important;
    left: 0 !important;
}

.pe-gallery-thumbs:not(.slick-initialized) {
    opacity: 0;
    height: 74px;
    overflow: hidden;
}

.pe-gallery-thumbs.slick-initialized {
    opacity: 1;
    transition: opacity 0.15s ease;
}

.pe-gallery-thumbs.pe-gallery-thumbs--static {
    display: flex;
    gap: 10px;
    opacity: 1;
}

.pe-gallery-thumbs.pe-gallery-thumbs--static .item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.pe-gallery-thumbs .item:before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
    pointer-events: none;
}

.property-slider-nav.pe-gallery-thumbs .item.pe-thumb-active:before,
.property-slider-nav.pe-gallery-thumbs .item.slick-current.slick-active:before {
    border-color: rgba(200, 21, 23, 0.72);
    box-shadow: inset 0 0 0 1px rgba(200, 21, 23, 0.22);
}

.pe-gallery--in-column .property-slider.default a.item.mfp-gallery {
    cursor: zoom-in;
}

.pe-gallery-thumbs.slick-initialized .slick-slide {
    height: 74px;
}

.pe-gallery-thumbs .slick-list {
    overflow: hidden;
}

.pe-gallery-thumbs .item {
    position: relative;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 8px;
    overflow: hidden;
    outline: none;
    height: 74px;
}

.pe-gallery-thumbs .item img {
    width: 100%;
    height: 74px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 8px;
}

.pe-thumb-more {
    cursor: pointer;
}

.pe-thumb-more__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    pointer-events: none;
}

.pe-thumb-more__count {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
}

.pe-thumb-more__rule {
    width: 30px;
    height: 1px;
    margin: 5px 0;
    background: rgba(0, 0, 0, 0.18);
}

.pe-thumb-more__label {
    font-size: 13px;
    color: #444;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .pe-gallery--in-column .property-slider.default .item {
        height: 280px;
    }

    .pe-gallery-thumbs .item,
    .pe-gallery-thumbs .item img {
        height: 58px;
    }

    .pe-gallery__nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .pe-gallery__nav--prev {
        left: 10px;
    }

    .pe-gallery__nav--next {
        right: 10px;
    }
}

/* Magnific Popup — controles visibles sobre la imagen ampliada */
.mfp-bg {
    z-index: 100020 !important;
}

.mfp-wrap {
    z-index: 100030 !important;
}

.mfp-gallery > button.mfp-close,
.mfp-gallery button.mfp-close.pe-mfp-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    z-index: 100050 !important;
}

.mfp-gallery > button.mfp-close::before,
.mfp-gallery > button.mfp-close::after,
.mfp-gallery button.mfp-close.pe-mfp-close::before,
.mfp-gallery button.mfp-close.pe-mfp-close::after {
    display: none !important;
    content: none !important;
}

.mfp-gallery > button.mfp-close i,
.mfp-gallery button.mfp-close.pe-mfp-close i {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.mfp-gallery .mfp-content .mfp-close {
    display: none !important;
}

.mfp-gallery .mfp-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    opacity: 1 !important;
    z-index: 100050 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border-radius: 50% !important;
}

.mfp-gallery .mfp-arrow::before {
    display: none !important;
    content: none !important;
}

.mfp-gallery .mfp-arrow i {
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.mfp-gallery .mfp-arrow-left {
    left: 16px !important;
}

.mfp-gallery .mfp-arrow-right {
    right: 16px !important;
}

.mfp-gallery .mfp-container {
    padding: 0 70px;
}

@media (max-width: 767px) {
    .mfp-gallery .mfp-container {
        padding: 0 52px;
    }

    .mfp-gallery .mfp-arrow {
        width: 42px !important;
        height: 42px !important;
    }

    .mfp-gallery .mfp-arrow-left {
        left: 8px !important;
    }

    .mfp-gallery .mfp-arrow-right {
        right: 8px !important;
    }
}

.pe-quick-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    margin: 18px 0 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.pe-quick-stats__item {
    flex: 1 1 0;
    min-width: 0;
    padding: 16px 14px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
}

.pe-quick-stats__item:last-child {
    border-right: none;
}

.pe-quick-stats__icon {
    color: #c81517;
    flex: 0 0 auto;
    width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
}

.pe-quick-stats__icon i {
    font-size: 1em;
    line-height: 1;
}

.pe-quick-stats__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pe-quick-stats__value {
    color: #222;
    font-weight: 600;
    line-height: 1.2;
}

.pe-quick-stats__label {
    color: #666;
    margin-top: 2px;
    line-height: 1.2;
}

.pe-admin-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    margin: 0 0 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
    color: #666;
}

.pe-admin-note strong {
    color: #222;
    font-weight: 600;
}

.pe-details-table {
    background: #fff;
    margin: 0 0 18px;
}

.pe-details-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.pe-details-item {
    padding: 12px 14px;
    color: #666;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pe-details-item strong {
    color: #222;
    font-weight: 600;
}

.pe-details-item span {
    color: #666;
}

@media (max-width: 991px) {
    .pe-details-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pe-quick-stats__item {
        flex: 1 1 calc(50% - 0px);
        max-width: 50%;
    }

    .pe-quick-stats__item:nth-child(2n) {
        border-right: none;
    }

    .pe-quick-stats__item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .pe-quick-stats__item:last-child:nth-child(odd) {
        flex: 1 1 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: none;
    }
}

.pe-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 14px;
    background: #f7f7f8;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
}

.pe-details-grid li {
    margin: 0 !important;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
}

.property-features.checkboxes.pe-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 24px;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    columns: unset;
    -webkit-columns: unset;
    -moz-columns: unset;
}

.property-features.checkboxes.pe-check-grid li {
    display: flex;
    align-items: center;
    color: #333;
    padding: 4px 0;
    margin: 0;
}

.property-features.checkboxes.pe-check-grid li:before {
    flex-shrink: 0;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 10px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81517' stroke-width='1.75'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M8 12.2l2.4 2.4L16 9.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border: none;
    border-radius: 0;
    position: static;
    top: auto;
    transition: none;
}

.pe-media-row {
    margin-top: 25px;
}

.pe-media-stack {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
    margin-top: 25px;
}

.pe-media-block {
    width: 100%;
}

.pe-media-block .desc-headline {
    margin-top: 0;
}

.pe-media-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.pe-map-card__frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f5f5f5;
}

.pe-map-card--compact .pe-map-card__frame {
    padding-top: 0;
    height: 220px;
}

.pe-map-card__frame iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pe-map-card__body {
    padding: 14px 14px 16px;
}

.pe-map-card__address {
    color: #666;
    margin-bottom: 10px;
}

.pe-map-btn {
    background: #fff !important;
    color: #222 !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
}


.pe-similar-wrap {
    position: relative;
    overflow: visible;
}

.pe-similar-wrap--wide {
    padding: 0 56px;
    margin-bottom: 10px;
}

.pe-similar-wrap--wide .pe-similar-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: none;
    min-width: 0;
}

.pe-similar-wrap--wide .pe-similar-slide .pe-property-card__media {
    height: 16rem;
    min-height: 16rem;
    max-height: 16rem;
}

.pe-similar-wrap--wide .pe-similar-arrow {
    top: calc(6px + 8rem);
}

@media (max-width: 991px) {
    .pe-similar-wrap--wide {
        padding: 0 48px;
    }

    .pe-similar-wrap--wide .pe-similar-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .pe-similar-wrap--wide .pe-similar-slide .pe-property-card__media {
        height: 14rem;
        min-height: 14rem;
        max-height: 14rem;
    }

    .pe-similar-wrap--wide .pe-similar-arrow {
        top: calc(6px + 7rem);
    }
}

@media (max-width: 575px) {
    .pe-similar-wrap--wide {
        padding: 0 44px;
    }

    .pe-similar-wrap--wide .pe-similar-slide {
        flex: 0 0 100%;
    }

    .pe-similar-wrap--wide .pe-similar-slide .pe-property-card__media {
        height: 12.5rem;
        min-height: 12.5rem;
        max-height: 12.5rem;
    }

    .pe-similar-wrap--wide .pe-similar-arrow {
        top: calc(6px + 6.25rem);
    }
}

.pe-similar-wrap--sidebar {
    padding: 0;
}

.pe-similar-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    min-height: 32px;
}

.widget .pe-similar-widget__head .pe-similar-widget__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
}

.pe-similar-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    height: 32px;
}

.pe-similar-wrap--sidebar .pe-similar-slide {
    flex: 0 0 100%;
    max-width: none;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.pe-similar-wrap--sidebar .pe-similar-slide .pe-property-card__media {
    height: 14rem;
    min-height: 14rem;
    max-height: 14rem;
}

.pe-similar-wrap--sidebar .pe-similar-arrow {
    position: static;
    transform: none;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.pe-similar-wrap--sidebar .pe-similar-arrow i {
    display: block;
    line-height: 1;
}

.pe-similar-wrap--sidebar .pe-similar-track {
    padding-top: 0;
}

@media (max-width: 575px) {
    .pe-similar-wrap--sidebar .pe-similar-slide .pe-property-card__media {
        height: 12.5rem;
        min-height: 12.5rem;
        max-height: 12.5rem;
    }

    .pe-similar-wrap--sidebar .pe-property-card__title {
        font-size: 1.35rem;
    }

    .pe-similar-wrap--sidebar .pe-property-card__location {
        font-size: 1.05rem;
    }

    .pe-similar-wrap--sidebar .pe-property-card__body {
        padding: 1rem;
        gap: 0.875rem;
    }

    .pe-similar-wrap--sidebar .pe-property-card__features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .pe-similar-wrap--sidebar .pe-property-card__features li {
        flex: none;
        font-size: 0.95rem;
        padding: 0.65rem 0.4rem;
        border-left: none;
        border-top: 1px solid #f3f4f6;
    }

    .pe-similar-wrap--sidebar .pe-property-card__features li:nth-child(-n + 2) {
        border-top: none;
    }

    .pe-similar-wrap--sidebar .pe-property-card__features li:nth-child(odd) {
        border-right: 1px solid #f3f4f6;
    }
}

.pe-similar-track {
    display: flex;
    gap: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 0 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
}

.pe-similar-track::-webkit-scrollbar {
    display: none;
}

.pe-similar-slide {
    flex: 0 0 300px;
    max-width: 320px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.pe-similar-slide .pe-property-card {
    height: 100%;
}

.pe-similar-arrow {
    position: absolute;
    top: calc(6px + 100px);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    z-index: 10;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #444;
}

.pe-similar-arrow--prev {
    left: 4px;
}

.pe-similar-arrow--next {
    right: 4px;
}

.pe-similar-arrow:hover {
    background: #f5f5f5;
}

.pe-price-widget {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.pe-price-widget__label {
    padding: 16px 18px 0;
    color: #222;
    font-weight: 700;
}

.pe-price-widget__pricing {
    padding: 8px 18px 30px;
}

.pe-price-widget__pricing.property-pricing {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    text-align: left;
    display: block;
    font-size: 28px;
    line-height: 1.2;
    color: #c81517;
}

.pe-price-widget__pricing .property-price {
    color: #c81517;
    font-weight: 700;
}

.pe-price-widget__period {
    font-size: 0.45em;
    font-weight: 400;
    color: #666;
}

.pe-price-widget__pricing .sub-price {
    font-size: 17px;
    color: #888;
    margin-top: 4px;
}

.pe-price-widget__admin {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

.pe-price-widget__admin .fa-info-circle {
    color: #999;
    font-size: 14px;
    cursor: help;
}

.pe-price-widget__actions {
    padding: 0 18px 18px;
    display: grid;
    gap: 10px;
}

.pe-price-widget__actions .button {
    margin: 0;
}

.pe-btn-primary,
.pe-btn-share {
    background: #c81517 !important;
    border: 1px solid #c81517 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pe-btn-primary:hover,
.pe-btn-share:hover:not(:disabled) {
    background: #a91012 !important;
    border-color: #a91012 !important;
    color: #fff !important;
}

.pe-btn-share.is-copied {
    background: #166534 !important;
    border-color: #166534 !important;
}

.pe-btn-whatsapp {
    background: #fff !important;
    border: 1px solid #16a34a !important;
    color: #166534 !important;
}

.pe-btn-whatsapp:hover {
    background: rgba(22, 163, 74, 0.08) !important;
}

.pe-btn-whatsapp:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
    color: #9ca3af !important;
}

.pe-btn-whatsapp:disabled:hover {
    background: #f3f4f6 !important;
}

.pe-trust-widget {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.pe-trust-widget__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pe-trust-widget__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pe-trust-widget__text strong {
    display: block;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.3;
}

.pe-trust-widget__text span {
    display: block;
    color: #666;
    line-height: 1.45;
}

.pe-similar-cta {
    margin-top: 22px;
    text-align: center;
}

.pe-similar-btn {
    background: #fff !important;
    border: 1px solid #c81517 !important;
    color: #c81517 !important;
}

.pe-similar-btn:hover {
    background: rgba(200, 21, 23, 0.08) !important;
}

@media (max-width: 991px) {
    .pe-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-features.checkboxes.pe-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pe-details-grid {
        grid-template-columns: 1fr;
    }

    .property-features.checkboxes.pe-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }
}

/* Widget WhatsApp — Paseo España */
.pe-wa-widget {
    position: relative;
    right: auto;
    bottom: auto;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
    font-size: 17px;
    line-height: 1.5;
}

.pe-wa-widget__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(420px, calc(100vw - 1.5rem));
    font-size: inherit;
    overflow: hidden;
    border-radius: 1.25rem;
    background-color: #f4f5f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23c81517' fill-opacity='0.04'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
}

.pe-wa-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1.25rem 1.25rem 1.15rem;
    background: #c81517;
    color: #fff;
}

.pe-wa-widget__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.pe-wa-widget__avatar {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: #fff;
    padding: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pe-wa-widget__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.pe-wa-widget__brand-text {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.pe-wa-widget__brand-text strong {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
}

.pe-wa-widget__close {
    flex-shrink: 0;
    align-self: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pe-wa-widget__close:hover {
    opacity: 0.75;
}

.pe-wa-widget__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
    max-height: min(480px, 72vh);
    overflow-y: auto;
}

.pe-wa-widget__body > div {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pe-wa-widget__menu {
    min-height: 17rem;
    justify-content: center;
    gap: 1.1rem;
    padding-block: 0.75rem;
}

.pe-wa-widget__hint {
    margin: 0 0 0.25rem;
    font-size: 17px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.5;
}

.pe-wa-widget__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.15rem;
    padding: 0.4rem 0.55rem;
    border: none;
    background: transparent;
    color: #c81517;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.pe-wa-widget__back svg {
    width: 1.15rem;
    height: 1.15rem;
}

.pe-wa-widget__empty {
    margin: 0;
    padding: 1rem;
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    background: #fff;
    border-radius: 0.75rem;
}

.pe-wa-widget__action--city {
    padding: 1rem 1.15rem;
}

button.pe-wa-widget__action {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

button.pe-wa-widget__action:disabled {
    opacity: 1;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

button.pe-wa-widget__action:disabled .pe-wa-widget__action-icon {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.pe-wa-widget__action {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid #eef0f2;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    color: #111827;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.pe-wa-widget__action:not(:disabled):hover,
a.pe-wa-widget__action:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 21, 23, 0.25);
    box-shadow: 0 8px 20px rgba(200, 21, 23, 0.12);
    color: #c81517;
}

.pe-wa-widget__action--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pe-wa-widget__action-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: rgba(200, 21, 23, 0.1);
    color: #c81517;
}

.pe-wa-widget__action-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.pe-wa-widget__action-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    text-align: left;
}

.pe-wa-widget__action-label {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.25;
    color: #111827;
}

.pe-wa-widget__action-phone {
    font-size: 14px;
    font-weight: 500;
    color: #25d366;
    letter-spacing: 0.02em;
}

.pe-wa-widget__action-wa {
    flex-shrink: 0;
    color: #25d366;
    opacity: 0.9;
}

a.pe-wa-widget__action:hover .pe-wa-widget__action-label {
    color: #c81517;
}

.pe-wa-widget__fab {
    position: relative;
    border: none;
    padding: 0;
    cursor: pointer;
}

.pe-wa-widget .float-btn.whatsapp {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.pe-wa-widget .float-btn.whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

.pe-wa-widget__fab-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #c81517;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    z-index: 2;
    pointer-events: none;
}

.pe-wa-widget__fab-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Transiciones Alpine (duration-300) */
.pe-wa-widget__transition-enter {
    transition: all 0.3s ease-out;
}

.pe-wa-widget__transition-enter-start {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
}

.pe-wa-widget__transition-enter-end {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pe-wa-widget__transition-leave {
    transition: all 0.25s ease-in;
}

.pe-wa-widget__transition-leave-start {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pe-wa-widget__transition-leave-end {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
}

/* Header — barra logo + horario */
#header-container.header-style-2 #header .container.pe-header-bar {
    display: block;
    font-size: 15px;
    line-height: 27px;
}

/* ===========================================================
   Navbar rediseñado — topbar + logo y menú en una fila
   =========================================================== */
#header-container.pe-navbar #top-bar .container.pe-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#header-container.pe-navbar #top-bar .pe-top-bar__left {
    width: auto;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
}

#header-container.pe-navbar #top-bar .top-bar-menu {
    margin: 0;
    padding: 8px 0;
}

#header-container.pe-navbar #top-bar .top-bar-menu li span {
    color: #fff;
}

@media (min-width: 992px) {
    #header-container.pe-navbar .pe-top-bar__hours-text {
        display: inline;
    }

    #header-container.pe-navbar .pe-top-bar__hours-line {
        display: inline;
    }

    #header-container.pe-navbar .pe-top-bar__hours-line--sep::before,
    #header-container.pe-navbar .pe-top-bar__hours-line--sat::before {
        content: " \00a0·\00a0 ";
        font-weight: 400;
        opacity: 0.85;
    }
}

#header-container.pe-navbar #header.pe-main-navbar {
    position: relative;
    z-index: 1100;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: visible;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    margin: 0;
    padding: 0;
    background-color: #c81517;
    border-bottom: none;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .pe-main-navbar__inner {
    align-items: stretch;
    min-height: 58px;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .pe-main-navbar__brand.left-side {
    align-items: center;
    padding: 8px 0;
}

#header-container.pe-navbar .pe-navbar-spacer {
    display: block;
    width: 100%;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .pe-main-navbar__container {
    width: 100%;
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #logo > a:first-child:not(.sticky-logo) {
    display: none;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .sticky-logo {
    display: inline-block;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .sticky-logo img {
    max-height: 44px;
    width: auto;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2.pe-main-navbar__nav {
    background: transparent !important;
    align-self: stretch;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive {
    align-items: stretch;
    gap: 0;
    height: 100%;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li {
    display: flex;
    align-items: stretch;
    margin: 0;
    transition: background-color 0.3s ease;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    color: #fff;
    border-radius: 0;
    font-size: 15px;
    line-height: 32px;
    padding: 0 16px;
    transition: color 0.3s ease;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li:hover,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li:has(> a.current) {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li:hover > a,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li > a.current {
    color: #fff;
    background: transparent !important;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li > a.current {
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: inset 0 -3px 0 #fff;
}

/* Sticky: solo colores del botón menú (misma forma que el tema: cuadrado 50px) */
#header-container.pe-navbar #header.pe-main-navbar.is-sticky .mmenu-trigger {
    background-color: #fff;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky .hamburger-inner,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky .hamburger-inner::before,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky .hamburger-inner::after {
    background-color: #c81517;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky {
    z-index: 1200;
}

/* Evita que la pestaña gris "Arriendo" del buscador quede bajo el header al hacer scroll */
@media (max-width: 991px) {
    body.pe-navbar-is-sticky .main-search-form .search-type {
        visibility: hidden;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        pointer-events: none;
    }

    body.pe-navbar-is-sticky .main-search-form .search-type-arrow {
        display: none;
    }
}

/* Menú lateral móvil (mmenu) — fondo gris oscuro y texto blanco (tema original) */
.mm-menu {
    background: #262626;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mm-menu .mm-navbar {
    background: #c81517 !important;
    border-color: #a81214 !important;
}

.mm-menu .mm-navbar a,
.mm-menu .mm-navbar .mm-title,
.mm-menu .mm-navbar > * {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 13px;
}

.mm-menu .mm-btn::before,
.mm-menu .mm-btn::after {
    border-color: rgba(255, 255, 255, 0.85) !important;
}

.mm-menu .mm-listview {
    border-color: #262626;
}

.mm-menu .mm-listview > li {
    border-bottom-color: #404040 !important;
}

.mm-menu .mm-listview > li > a:not(.mm-next),
.mm-menu .mm-listview > li > span {
    color: #fff !important;
    font-weight: 500;
}

.mm-menu .mm-listview > li .mm-next::after {
    border-color: rgba(255, 255, 255, 0.85) !important;
}

.mm-menu .mm-listview > li:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu .mm-listview > li.mm-selected > span {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.mm-menu .mm-listview > li.mm-opened.mm-vertical > .mm-panel,
.mm-menu .mm-listview > li.mm-opened.mm-vertical > a.mm-next {
    background: rgba(0, 0, 0, 0.12) !important;
}

.mm-menu .mm-panel.mm-hasnavbar .mm-navbar {
    background-color: #1f1f1f !important;
}

/* Desactiva el clone legacy del tema (solo barra de nav suelta) */
#header-container.pe-navbar #navigation.style-2.cloned {
    display: none !important;
}

#header-container.pe-navbar .pe-main-navbar__container {
    width: 100%;
    max-width: 1170px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

#header-container.pe-navbar .pe-main-navbar__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    min-height: 72px;
}

#header-container.pe-navbar .pe-main-navbar__brand.left-side {
    width: auto;
    float: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 10px 0;
}

#header-container.pe-navbar #logo {
    float: none;
    margin-right: 0;
}

#header-container.pe-navbar #logo img {
    max-height: 52px;
    width: auto;
}

#header-container.pe-navbar #navigation.style-2.pe-main-navbar__nav {
    width: auto;
    margin-top: 0;
    background: transparent !important;
    float: none;
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    align-self: stretch;
    justify-content: flex-end;
    min-width: 0;
}

#header-container.pe-navbar #navigation.style-2 .container {
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li {
    position: relative;
    display: flex;
    align-items: stretch;
    float: none;
    margin: 0;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li > a {
    display: inline-flex;
    align-items: center;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    padding: 0 14px;
    min-height: 72px;
    border-radius: 0;
    transition: color 0.2s ease, background-color 0.2s ease;
}

#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li:hover,
#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li > a:hover {
    background: transparent !important;
}

#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li:hover > a,
#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li > a.current {
    color: #c81517;
    background: transparent !important;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li > a.current {
    font-weight: 700;
}

/* Dropdown Requisitos — integrado al borde inferior de la barra principal */
#header-container.pe-navbar #navigation.style-2.pe-main-navbar__nav,
#header-container.pe-navbar #navigation.style-2 .container {
    overflow: visible;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown:hover > .pe-nav-dropdown__trigger,
#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown:focus-within > .pe-nav-dropdown__trigger {
    color: #c81517;
}

#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li.pe-nav-dropdown:hover,
#header-container.pe-navbar #header.pe-main-navbar:not(.is-sticky) #navigation.style-2 ul#responsive > li.pe-nav-dropdown:focus-within {
    background: #fef2f2;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li.pe-nav-dropdown:hover,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li.pe-nav-dropdown:focus-within {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li.pe-nav-dropdown:hover > .pe-nav-dropdown__trigger,
#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li.pe-nav-dropdown:focus-within > .pe-nav-dropdown__trigger {
    color: #fff !important;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    float: none;
    width: 240px;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #b61a1a;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1115;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown:hover > ul.pe-nav-dropdown__menu,
#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown:focus-within > ul.pe-nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu::before,
#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu::after {
    display: none;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li {
    float: none;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li + li {
    border-top: 1px solid #f0f1f3;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li > a {
    padding: 0.65rem 1rem !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #4b5563 !important;
    background: transparent !important;
    border-radius: 0;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li > a::after {
    content: none !important;
    padding: 0 !important;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li:hover {
    background: #f9fafb !important;
}

#header-container.pe-navbar #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li:hover > a {
    color: #b61a1a !important;
}

#header-container.pe-navbar #header.pe-main-navbar.is-sticky #navigation.style-2 ul#responsive > li.pe-nav-dropdown > ul.pe-nav-dropdown__menu > li > a {
    color: #4b5563 !important;
}

@media (max-width: 1199px) {
    #header-container.pe-navbar #navigation.style-2 ul#responsive > li > a {
        padding: 8px 9px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    #header-container.pe-navbar .pe-main-navbar__inner {
        gap: 0.75rem;
    }

    #header-container.pe-navbar #navigation.style-2.pe-main-navbar__nav {
        display: none;
    }

    #header-container.pe-navbar .mmenu-trigger {
        display: block;
    }
}

@media (min-width: 992px) {
    #header-container.pe-navbar .mmenu-trigger {
        display: none;
    }
}

/* Top bar + navbar — móvil y tablet */
@media (max-width: 991px) {
    #header-container.pe-navbar #top-bar .container.pe-top-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-right: 15px;
        padding-left: 15px;
    }

    #header-container.pe-navbar #top-bar .pe-top-bar__left,
    #header-container.pe-navbar #top-bar .pe-top-bar__right {
        width: 100%;
        float: none;
    }

    #header-container.pe-navbar #top-bar .pe-top-bar__left {
        padding: 10px 0 8px;
    }

    #header-container.pe-navbar #top-bar .pe-top-bar__right {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    #header-container.pe-navbar #top-bar .top-bar-menu {
        padding: 0;
    }

    #header-container.pe-navbar #top-bar .top-bar-menu li.pe-top-bar__hours {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        width: 100%;
    }

    #header-container.pe-navbar #top-bar .top-bar-menu li.pe-top-bar__hours > i {
        flex-shrink: 0;
        margin: 2px 0 0;
        font-size: 16px;
    }

    #header-container.pe-navbar .pe-top-bar__hours-text {
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
    }

    #header-container.pe-navbar .pe-top-bar__hours-line {
        display: block;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        color: #fff;
    }

    #header-container.pe-navbar .pe-top-bar__hours-line--sat {
        font-weight: 600;
        opacity: 0.95;
    }

    #header-container.header-style-2 .right-side-top {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }

    #header-container.header-style-2 #top-bar .right-side-top .pe-pay-btn {
        order: 0;
        flex-shrink: 0;
    }

    #header-container.header-style-2 #top-bar .right-side-top .social-icons {
        flex-shrink: 0;
        margin-left: auto;
    }

    .pe-pay-btn {
        height: 34px;
        padding: 0 14px;
        font-size: 12px;
    }

    #header-container.pe-navbar #header.pe-main-navbar {
        padding-top: 0;
    }

    #header-container.pe-navbar .pe-main-navbar__inner {
        min-height: 58px;
        align-items: center;
    }

    #header-container.pe-navbar .pe-main-navbar__brand.left-side {
        width: 100%;
        justify-content: space-between;
        padding: 8px 0;
    }

    #header-container.pe-navbar .mmenu-trigger {
        order: 1;
        flex-shrink: 0;
        margin: 0;
        top: 0;
    }

    #header-container.pe-navbar #logo {
        position: static;
        left: auto;
        right: auto;
        order: 2;
        width: auto;
        max-width: calc(100% - 56px);
        margin: 0 0 0 auto;
        text-align: right;
    }

    #header-container.pe-navbar #logo img {
        max-height: 46px;
        width: auto;
    }

    #header-container.pe-navbar #header.pe-main-navbar.is-sticky #logo {
        padding-right: 12px;
    }

    #header-container.pe-navbar #header.pe-main-navbar.is-sticky #logo img,
    #header-container.pe-navbar #header.pe-main-navbar.is-sticky .sticky-logo img {
        max-height: 40px;
    }

    #header-container.pe-navbar #header.pe-main-navbar.is-sticky .mmenu-trigger {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    #header-container.pe-navbar .pe-top-bar__hours-line {
        font-size: 12px;
    }

    #header-container.pe-navbar #logo img {
        max-height: 40px;
    }

    .pe-pay-btn span {
        font-size: 11px;
    }

    .pe-pay-btn {
        padding: 0 12px;
    }
}

.pe-header-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

#header-container.header-style-2 .pe-header-bar__brand.left-side {
    width: auto;
    float: none;
    flex: 0 1 auto;
    min-width: 0;
}

.pe-header-hours {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 68%;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    color: #707070;
    text-align: right;
}

.pe-header-hours__icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    color: #707070;
}

.pe-header-hours__text {
    white-space: nowrap;
    font-size: inherit;
}

@media (min-width: 768px) {
    .pe-header-hours {
        display: flex;
    }
}

/* Menú principal — tamaño y espaciado original del tema */
#navigation.style-2 ul#responsive > li > a {
    font-size: 15px;
    line-height: 32px;
    padding: 13px 20px;
}

/* Tarjetas de inmuebles — diseño premium */
.pe-property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pe-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.18);
}

.pe-property-card__media {
    position: relative;
    display: block;
    flex-shrink: 0;
    height: 20rem;
    overflow: hidden;
    text-decoration: none;
}

/* Carrusel — fotos con la misma altura en todas las tarjetas */
.pe-similar-wrap .pe-similar-slide .pe-property-card__media {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
}

.pe-similar-wrap .pe-similar-slide .pe-property-card__image,
.pe-similar-wrap .pe-similar-slide .pe-property-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.pe-property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pe-property-card__image.is-hidden {
    display: none;
}

.pe-property-card:hover .pe-property-card__image:not(.is-hidden) {
    transform: scale(1.05);
}

.pe-property-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
}

.pe-property-card__placeholder.is-hidden {
    display: none;
}

.pe-property-card__placeholder--fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pe-property-card__placeholder-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: #9ca3af;
}

.pe-property-card__placeholder-logo {
    width: auto;
    max-width: 120px;
    max-height: 36px;
    object-fit: contain;
    opacity: 0.85;
}

.pe-property-card__badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    pointer-events: none;
}

.pe-property-card__badges-start,
.pe-property-card__badges-end {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
}

.pe-property-card__badges-end {
    justify-content: flex-end;
    margin-left: auto;
}

.pe-property-card__badges-start {
    justify-content: flex-start;
    align-self: flex-start;
    max-width: calc(100% - 8.5rem);
}

.pe-property-card__badge {
    display: inline-block;
    font-size: 1.2rem;
    /*font-weight: 600;*/
    line-height: 1.25;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.pe-property-card__badge--code {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    backdrop-filter: blur(4px);
}

.pe-property-card__badge--new {
    background: #c81517;
    color: #fff;
    font-weight: 600;
}

.pe-property-card__badge--oportunidad {
    background: #1a7f37;
    color: #fff;
    font-weight: 600;
}

.pe-property-card__badge--negociable {
    background: #1d4ed8;
    color: #fff;
    font-weight: 600;
}

.pe-property-card__badge--bajo-precio {
    background: #ea580c;
    color: #fff;
    font-weight: 600;
}

.pe-property-card__badge--estrenar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1f2937;
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    animation: pe-badge-estrenar-pulse 2.4s ease-in-out infinite;
}

.pe-property-card__badge--estrenar .fa {
    font-size: 1rem;
    color: #b45309;
}

.pe-property-card__badge--comercial-slot {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    max-width: calc(100% - 1.5rem);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.pe-property-card__badge--comercial-slot.pe-property-card__badge--estrenar {
    padding: 0.45rem 0.9rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.pe-property-card--estrenar {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 10px 28px rgba(245, 158, 11, 0.18);
}

.pe-destacados-section .pe-property-card--estrenar,
.pe-listings-modern .pe-property-card--estrenar {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 12px 32px rgba(245, 158, 11, 0.22);
}

.pe-property-card.pe-property-card--estrenar:hover,
.pe-destacados-section .pe-property-card.pe-property-card--estrenar :hover,
.pe-listings-modern .pe-property-card.pe-property-card--estrenar:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.42), 0 20px 40px -8px rgba(245, 158, 11, 0.3);
}

@keyframes pe-badge-estrenar-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
    }
}

.pe-property-card__badge--disponibilidad {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    margin: 0;
    max-width: calc(100% - 1.5rem);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.pe-property-card__price {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.5rem 1rem;
    background: #b30006;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(179, 0, 6, 0.4);
}

.pe-property-card__price-alt {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.95;
}

.pe-property-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.125rem;
    padding: 1.375rem;
}

.pe-property-card__title {
    margin: 0 0 0.45rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
}

.pe-property-card__title a {
    display: block;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pe-property-card__title a:hover {
    color: #c81517;
}

.pe-property-card__location {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #4b5563;
}

.pe-property-card__location .fa {
    flex-shrink: 0;
    color: #c81517;
    font-size: 1.5rem;
    line-height: 1;
}

.pe-property-card__features {
    display: flex;
    align-items: stretch;
    margin: 0.5rem 0;
    padding: 0;
    list-style: none;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.pe-property-card__features li {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
}

.pe-property-card__features li + li {
    border-left: 1px solid #f3f4f6;
}

.pe-property-card__features i {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    color: #9ca3af;
}

.pe-property-card__features .sl {
    font-family: "simple-line-icons";
    font-size: 1.25rem;
}

.pe-property-card__features span {
    line-height: 1.3;
}

.pe-property-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    font-size: 1.5rem;
    font-weight: 400;
    color: #c81517;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.pe-property-card__cta:hover {
    color: #8f1012;
    gap: 0.55rem;
}

.pe-property-card__asesor {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    font-size: 1.25rem;
    color: #6b7280;
}

.pe-property-card__asesor .fa {
    margin-right: 0.25rem;
    color: #9ca3af;
}

/* Carrusel home — destacados */
.pe-destacados-section {
    position: relative;
}

.pe-destacados-section__block {
    position: relative;
}

.pe-destacados-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
}

.pe-destacados-section__header .headline {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-right: 0;
}

.pe-destacados-section__nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pe-destacados-section .carousel {
    position: relative;
    left: 0;
    width: 100%;
}

.pe-destacados-section .carousel .carousel-item {
    width: 100% !important;
    display: block !important;
    margin: 0;
}

.pe-destacados-section .carousel .carousel-item,
.pe-destacados-section .carousel .slick-slide > div {
    height: 100%;
}

.pe-destacados-section .carousel .slick-slide {
    display: flex !important;
    height: auto;
    padding: 0 12px;
    box-sizing: border-box;
}

.pe-destacados-section .carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.pe-destacados-section .carousel .pe-property-card {
    margin-bottom: 0;
    width: 100%;
}

/* Destacados: mismas etiquetas comerciales arriba a la izquierda (como listados) */
.pe-destacados-section .pe-property-card__badge--disponibilidad,
.pe-destacados-section .pe-property-card__badge--comercial-slot {
    left: 0.75rem;
    right: auto;
}

/* Flechas junto al título */
.pe-destacados-section__nav .slick-prev,
.pe-destacados-section__nav .slick-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 44px;
    height: 44px;
    margin: 0;
}

@media (max-width: 767px) {
    .pe-destacados-section__header {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 1.25rem;
    }

    .pe-destacados-section__header .headline {
        font-size: 1.35rem;
        line-height: 1.3;
        padding-top: 0.35rem;
    }

    .pe-destacados-section__nav {
        gap: 8px;
        padding-top: 0;
    }

    .pe-destacados-section__nav .slick-prev,
    .pe-destacados-section__nav .slick-next {
        width: 40px;
        height: 40px;
    }
}

/* Listados — rejilla y lista */
.listings-container.pe-listings-modern {
    margin-bottom: 10px;
}

.listings-container.pe-listings-modern > .pe-property-card {
    margin-bottom: 30px;
}

/* Página de búsqueda — mismas tarjetas que Destacados */
.pe-inmuebles-results {
    padding: 2rem 0 2.5rem;
}

/* Sin resultados — mensaje centrado y sugerencias debajo */
.pe-empty-results {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

.pe-empty-results__message {
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1rem 2rem;
    text-align: center;
    color: #374151;
}

.pe-empty-results__message .ico-big {
    display: block;
    margin: 0 auto 4rem;
    color: #9ca3af;
}

.pe-empty-results__message h1 {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.pe-empty-results__message p {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #6b7280;
}

.pe-empty-results__suggestions {
    width: 100%;
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid #f3f4f6;
}

.pe-empty-results__suggestions-title {
    margin: 0 0 4rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
}

.pe-empty-results__suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.pe-empty-results__suggestions-grid > .pe-property-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-bottom: 0;
}

.listings-container.list-layout > .pe-empty-results .pe-empty-results__suggestions-grid > .pe-property-card {
    flex-direction: column;
}

@media (max-width: 991px) {
    .pe-empty-results__suggestions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pe-empty-results__message {
        padding: 2rem 0.75rem 1.5rem;
    }

    .pe-empty-results__message h1 {
        font-size: 1.5rem;
    }

    .pe-empty-results__suggestions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.pe-inmuebles-results__toolbar {
    align-items: center;
}

.pe-inmuebles-results__sort label {
    margin-right: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.pe-inmuebles-results__sort-form {
    display: inline-block;
}

.pe-inmuebles-results__layout {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
}

.pe-inmuebles-results .listings-container.grid-layout > .pe-property-card,
.pe-inmuebles-results .listings-container.grid-layout-three > .pe-property-card {
    margin-bottom: 0;
}

.pe-inmuebles-results .listings-container.list-layout > .pe-property-card {
    margin-bottom: 24px;
}

.pe-inmuebles-results .listings-container.list-layout > .pe-property-card:last-child {
    margin-bottom: 0;
}

.pe-inmuebles-results .listings-container.grid-layout,
.pe-inmuebles-results .listings-container.grid-layout-three {
    gap: 24px;
}

.pe-inmuebles-results .pe-property-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pe-inmuebles-results .pe-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.18);
}

.pe-inmuebles-results .pe-property-card.pe-property-card--estrenar {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 12px 32px rgba(245, 158, 11, 0.22);
}

.pe-inmuebles-results .pe-property-card.pe-property-card--estrenar:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.42), 0 20px 40px -8px rgba(245, 158, 11, 0.3);
}

.pe-inmuebles-results .pe-property-card__media {
    height: 16rem;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.pe-inmuebles-results .pe-property-card__image,
.pe-inmuebles-results .pe-property-card__placeholder {
    border-radius: 1rem 1rem 0 0;
}

.pe-inmuebles-results .pe-property-card__badges {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
}

.pe-inmuebles-results .pe-property-card__badge--disponibilidad,
.pe-inmuebles-results .pe-property-card__badge--comercial-slot {
    top: 0.75rem;
    left: 0.75rem;
}

.pe-inmuebles-results .pe-property-card__price {
    left: 0.75rem;
    bottom: 0.75rem;
    border-radius: 0.5rem;
}

.pe-inmuebles-results .pe-property-card__body {
    padding: 1.25rem 1.375rem 1.375rem;
}

.pe-inmuebles-results .pe-property-card__title {
    font-size: 1.5rem;
}

.pe-inmuebles-results .pe-property-card__features {
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.pe-inmuebles-results .pe-property-card__features li {
    background: #fafafa;
}

.pe-inmuebles-results .pe-property-card__cta {
    font-weight: 600;
}

@media (min-width: 992px) {
    .pe-inmuebles-results .listings-container.list-layout > .pe-property-card {
        border-radius: 1rem;
        overflow: hidden;
    }

    .pe-inmuebles-results .listings-container.list-layout > .pe-property-card .pe-property-card__media {
        border-radius: 1rem 0 0 1rem;
        min-height: 220px;
        height: 100%;
    }

    .pe-inmuebles-results .listings-container.list-layout > .pe-property-card .pe-property-card__image,
    .pe-inmuebles-results .listings-container.list-layout > .pe-property-card .pe-property-card__placeholder {
        border-radius: 1rem 0 0 1rem;
    }
}

@media (max-width: 767px) {
    .pe-inmuebles-results__layout {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }

    .pe-inmuebles-results .pe-property-card__media {
        height: 14rem;
    }

    .pe-inmuebles-results .pe-property-card__title {
        font-size: 1.25rem;
    }
}

/* Grilla con número de columnas fijo según la vista elegida (2 o 3),
   repartiendo el 100% del ancho disponible en columnas iguales (1fr).
   Se neutralizan los hacks de style.css (.grid-layout { width:103%; left:-1.5% })
   que ensanchaban/desplazaban el contenedor y descuadraban las tarjetas. */
.listings-container.grid-layout,
.listings-container.grid-layout-three {
    display: grid;
    gap: 30px;
    align-items: stretch;
    grid-auto-rows: 1fr;   /* todas las filas con la misma altura → sin huecos */
    width: 100%;
    left: 0;
    margin: 0;
    position: static;
}

/* Vista 2 columnas */
.listings-container.grid-layout {
    grid-template-columns: repeat(2, 1fr);
}

/* Vista 3 columnas */
.listings-container.grid-layout-three {
    grid-template-columns: repeat(3, 1fr);
}

/* El JS (custom.js → gridClear) inyecta <div class="clearfix"> entre las tarjetas
   para el layout viejo basado en float. En CSS Grid esos divs ocupan celdas y dejan
   huecos vacíos, así que los anulamos dentro de la grilla. */
.listings-container.grid-layout > .clearfix,
.listings-container.grid-layout-three > .clearfix {
    display: none;
}

/* Cada tarjeta ocupa el 100% de su celda. min-width: 0 evita que el contenido
   (imágenes/textos largos) impida que las columnas 1fr se repartan por igual.
   Se anula cualquier width/max-width/float heredado de la versión anterior. */
.listings-container.grid-layout > .pe-property-card,
.listings-container.grid-layout-three > .pe-property-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    float: none;
    height: 100%;
}

@media (min-width: 992px) {
    .listings-container.list-layout > .pe-property-card {
        flex-direction: row;
        align-items: stretch;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__media {
        flex: 0 0 300px;
        width: 300px;
        max-width: 38%;
        height: auto;
        min-height: 220px;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__body {
        flex: 1;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__title {
        font-size: 2rem;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__location {
        font-size: 1.5rem;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__cta {
        font-size: 1.5rem;
    }

    .listings-container.list-layout > .pe-property-card .pe-property-card__features li {
        font-size: 1.25rem;
        padding: 0.875rem 0.625rem;
    }
}

@media (max-width: 480px) {
    .pe-property-card__badge {
        font-size: 0.875rem;
        padding: 0.3rem 0.65rem;
    }

    .pe-property-card__badge--disponibilidad,
    .pe-property-card__badge--comercial-slot {
        left: 0.5rem;
        top: 0.5rem;
        padding: 0.3rem 0.65rem;
    }

    .pe-property-card__title {
        font-size: 1.25rem;
    }

    .pe-property-card__location {
        font-size: inherit;
    }

    .pe-property-card__cta {
        font-size: 1.0625rem;
    }

    .pe-property-card__price {
        font-size: 1.25rem;
        padding: 0.45rem 0.85rem;
    }

    .pe-property-card__features li {
        font-size: 0.875rem;
        padding: 0.65rem 0.35rem;
    }
}

/* Tablet: la vista de 3 columnas baja a 2 para que las tarjetas no queden estrechas. */
@media (max-width: 991px) {
    .listings-container.grid-layout-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil: ambas vistas colapsan a 1 columna a todo el ancho. */
@media (max-width: 575px) {
    .listings-container.grid-layout,
    .listings-container.grid-layout-three {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Ficha inmueble — características principales (100% ancho, columnas iguales) */
/* !important: style.css carga después de custom.css y redefine inline-block */
.property-description ul.property-main-features {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    list-style: none !important;
}

.property-description ul.property-main-features > li {
    display: flex !important;
    flex: 1 1 0% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 1.35rem 0.5rem !important;
    text-align: center !important;
    line-height: 1.35 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    float: none !important;
}

.property-description ul.property-main-features > li:last-child {
    margin-right: 0 !important;
    border-right: none !important;
}

.property-description ul.property-main-features > li span {
    display: block !important;
    margin-top: 0.25rem !important;
    word-break: break-word !important;
}

@media (max-width: 768px) {
    .property-description ul.property-main-features {
        flex-wrap: wrap !important;
    }

    .property-description ul.property-main-features > li {
        flex: 1 1 50% !important;
        min-width: 50% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

/* Compartir — ficha de inmueble */
.pe-property-share {
    margin-top: 14px;
}

.pe-property-share--sidebar {
    margin-top: 0;
    margin-bottom: 20px;
}

.pe-property-share--sidebar .pe-share-btn {
    width: 100%;
    max-width: none;
}

.pe-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem;
    background: rgba(200, 21, 23, 0.06);
    border: 1px solid rgba(200, 21, 23, 0.35);
    border-radius: 0.5rem;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #c81517;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(200, 21, 23, 0.08);
}

.pe-share-btn:hover:not(:disabled) {
    background: #c81517;
    border-color: #c81517;
    color: #fff;
    box-shadow: 0 4px 14px rgba(200, 21, 23, 0.22);
}

.pe-share-btn:focus-visible {
    outline: 2px solid #c81517;
    outline-offset: 2px;
}

.pe-share-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.pe-share-btn.is-copied {
    border-color: #c81517;
    color: #fff;
    background: #a81214;
    box-shadow: 0 4px 14px rgba(200, 21, 23, 0.25);
}

.pe-share-btn__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pe-share-btn {
        width: 100%;
        max-width: 100%;
    }
}

#footer .pe-footer-container {
    max-width: 1320px;
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

#footer .pe-footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem 0;
    margin-left: 0;
    margin-right: 0;
}

#footer .pe-footer-main::before,
#footer .pe-footer-main::after {
    display: none;
}

#footer .pe-footer-main > .pe-footer-col {
    float: none;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    padding-left: clamp(0.75rem, 2vw, 2rem);
    padding-right: clamp(0.75rem, 2vw, 2rem);
}

@media (min-width: 768px) {
    #footer .pe-footer-main > .pe-footer-col {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    #footer .pe-footer-main > .pe-footer-col {
        flex: 0 0 30%;
        max-width: 30%;
    }

    #footer .pe-footer-col--brand {
        padding-left: 0;
    }

    #footer .pe-footer-col--offices {
        padding-right: 0;
    }
}

.pe-footer-col {
    margin-bottom: 28px;
}

/* Footer: links en 2 columnas */
ul.footer-links.pe-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 1.25rem;
    width: 100%;
    float: none;
    margin: 0 0 10px;
    padding: 0;
}

ul.footer-links.pe-footer-links-grid li a {
    padding-bottom: 6px;
}

/* Hover sin reflujo: desplaza con transform en vez de padding-left */
ul.footer-links.pe-footer-links-grid li a:hover {
    padding-left: 16px;
    transform: translateX(6px);
}

/* Footer: marca y redes sociales */
.pe-footer-brand-text {
    margin-top: 18px;
}

.pe-footer-careers {
    margin-top: 1.25rem;
}

.pe-footer-careers__title {
    margin: 0 0 0.85rem !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #333;
}

.pe-footer-careers__text {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #707070;
}

.pe-footer-careers__email {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #c81517;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.pe-footer-careers__email:hover {
    color: #a91012;
}

.pe-footer-careers__tagline {
    margin: 0.85rem 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #888;
    font-style: italic;
}

/* Página 404 */
.pe-error-404 {
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
    text-align: center;
}

.pe-error-404__inner {
    max-width: 640px;
    margin: 0 auto;
}

.pe-error-404__code {
    margin: 0 0 0.5rem;
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(200, 21, 23, 0.12);
    letter-spacing: -0.04em;
    user-select: none;
}

.pe-error-404__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    color: #333;
    line-height: 1.25;
}

.pe-error-404__text {
    margin: 0 auto 2rem;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.65;
    color: #707070;
}

.pe-error-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
}

#footer .pe-footer-col .social-icons.pe-social-footer {
    left: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 20px;
}

#footer .pe-footer-col .social-icons.pe-social-footer li {
    float: none;
}

/* Footer: contacto */
.pe-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pe-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #707070;
    line-height: 21px;
}

.pe-footer-contact li:last-child {
    margin-bottom: 0;
}

.pe-footer-contact li i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 2px;
    color: #ccc;
    font-size: 15px;
    text-align: center;
}

.pe-footer-contact li a,
.pe-footer-contact li span {
    color: #707070;
}

.pe-footer-contact li a:hover {
    color: #66676b;
}

/* Footer: barra inferior */
.pe-footer-copyright-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    padding: 40px 0;
}

.pe-footer-credits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    min-width: 140px;
}

.pe-footer-credits__label {
    color: #9ca3af;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.pe-footer-credits__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.25rem 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.pe-footer-credits__link:hover {
    opacity: 1;
}

.pe-footer-credits__logo {
    display: block;
    width: auto;
    max-width: 120px;
    max-height: 36px;
    object-fit: contain;
}

.pe-footer-copyright-text.copyrights {
    width: auto;
    margin: 0;
    padding: 0;
    border-top: none;
    text-align: left;
    display: block;
}

.pe-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #707070;
}

.pe-footer-legal a {
    color: #707070;
}

.pe-footer-legal a:hover {
    color: #66676b;
}

.pe-footer-legal span {
    color: #ccc;
}

@media (max-width: 767px) {
    .pe-footer-copyright-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pe-footer-legal {
        justify-content: flex-start;
    }

    .pe-footer-credits {
        align-items: flex-start;
    }
}

/* Footer: oficinas compactas + tooltip */
.pe-offices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

#footer .pe-offices {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.5rem;
}

.pe-office-item {
    position: relative;
}

.pe-office-city {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.pe-office-city:hover,
.pe-office-item:focus-within .pe-office-city {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}

.pe-office-tooltip {
    position: absolute;
    z-index: 50;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    max-width: 280px;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    text-align: left;
}

.pe-office-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
}

.pe-office-tooltip__name {
    margin: 0 0 0.35rem;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    line-height: 1.3;
}

.pe-office-tooltip__name:not(:first-child) {
    margin-top: 0.15rem;
}

.pe-office-tooltip__row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
}

.pe-office-tooltip__row + .pe-office-tooltip__row,
.pe-office-tooltip__name + .pe-office-tooltip__row {
    margin-top: 0.4rem;
}

.pe-office-tooltip__row .bi {
    display: inline-block;
    flex-shrink: 0;
    width: 15px;
    margin-top: 1px;
    color: #c81517;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal !important;
}

.pe-office-tooltip__divider {
    height: 1px;
    margin: 0.65rem 0;
    background: #f3f4f6;
}

/* Transiciones Alpine (tooltip) */
.pe-office-tooltip-enter {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pe-office-tooltip-enter-start {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
}

.pe-office-tooltip-enter-end {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pe-office-tooltip-leave {
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.pe-office-tooltip-leave-start {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pe-office-tooltip-leave-end {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
}

@media (max-width: 768px) {
    .pe-offices {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 0.75rem;
    }

    #footer .pe-offices {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .pe-office-city {
        width: 100%;
        justify-content: center;
    }

    #footer .pe-office-city {
        width: auto;
        justify-content: flex-start;
    }

    .pe-office-tooltip {
        left: 0;
        transform: none;
        min-width: min(280px, calc(100vw - 2.5rem));
    }

    .pe-office-tooltip-enter-start,
    .pe-office-tooltip-enter-end,
    .pe-office-tooltip-leave-start,
    .pe-office-tooltip-leave-end {
        transform: translateY(4px);
    }

    .pe-office-tooltip-enter-end,
    .pe-office-tooltip-leave-start {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .floating-stack {
        right: 15px;
        bottom: 18px;
        gap: 1.125rem;
    }

    .pe-wa-widget {
        font-size: 16px;
    }

    .pe-wa-widget__panel {
        width: min(400px, calc(100vw - 1.25rem));
    }

    .pe-wa-widget__brand-text strong {
        font-size: 18px;
    }

    .pe-wa-widget__hint,
    .pe-wa-widget__action {
        font-size: 16px;
    }

    .pe-wa-widget .float-btn.whatsapp {
        width: 55px;
        height: 55px;
    }

    .pe-wa-widget__fab-icon {
        width: 28px;
        height: 28px;
    }
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp { background-color: #25d366; }
.whatsapp:hover { background-color: #128c7e; transform: scale(1.05); }

@media (max-width: 768px) {
    .float-btn { width: 55px; height: 55px; font-size: 26px; }
}

/* Multi-select: tipo de inmueble */
.property-type-multiselect {
    position: relative;
    width: 100%;
}

/* Misma altura y margen que los <select class="custom-select"> del formulario */
.row.with-forms .property-type-multiselect {
    margin-bottom: 18px;
}

.property-type-multiselect__trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.property-type-multiselect__trigger.is-placeholder .property-type-multiselect__label {
    color: #808080;
}

.property-type-multiselect__trigger:not(.is-placeholder) .property-type-multiselect__label {
    color: #333;
}

.property-type-multiselect__label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    line-height: 1.4;
}

.property-type-multiselect__dropdown {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-type-multiselect__actions {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.property-type-multiselect__clear {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    line-height: 1.2;
}

.property-type-multiselect__clear:hover {
    text-decoration: underline;
}

/* Evita que estilos globales del formulario rompan los checkboxes */
.row.with-forms .property-type-multiselect input,
.property-type-multiselect input {
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.property-type-multiselect__option {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    column-gap: 12px;
    padding: 11px 16px;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #333;
    transition: background-color 0.15s ease;
}

.property-type-multiselect__option:hover {
    background: #f8f9fa;
}

.property-type-multiselect__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.property-type-multiselect__check {
    grid-column: 1;
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.property-type-multiselect__checkbox:checked + .property-type-multiselect__check {
    background-color: #ef4444;
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.property-type-multiselect__option-text {
    grid-column: 2;
    display: block;
    line-height: 1.35;
}

[x-cloak] {
    display: none !important;
}

/* Estado (Arriendo/Venta) obligatorio cuando se filtra por precio */
.pe-status-error {
    display: none;
    margin-top: 6px;
    color: #c81517;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.pe-status-field.is-required-error .pe-status-error {
    display: block;
}

.pe-status-field.is-required-error .custom-select,
.pe-status-field.is-required-error .chosen-container .chosen-single {
    border-color: #c81517 !important;
    box-shadow: 0 0 0 2px rgba(200, 21, 23, 0.18);
}

/* Resaltado del selector de estado (radios) en el buscador del Index */
.search-type.is-required-error {
    box-shadow: 0 0 0 2px rgba(200, 21, 23, 0.45);
    border-radius: 4px;
}

/* Hero search — paneles por pestaña */
.pe-search-panel--filters,
.main-search-form .main-search-box {
    overflow: visible;
}

.pe-search-panel--filters .more-search-options.relative {
    position: relative;
    left: auto;
    width: 100%;
    margin-top: 0;
    transform: none;
    z-index: 1;
}

.pe-search-panel[hidden] {
    display: none !important;
}

.pe-search-panel--code .main-search-input {
    margin-bottom: 0;
}

.pe-search-panel--filters .pe-search-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.pe-search-panel--filters .pe-search-filters-actions {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0 10px;
}

.pe-search-panel--filters .pe-search-filters-actions .button {
    width: 100%;
    min-width: 0;
    height: 50px;
    margin: 0 0 18px;
    padding: 0 16px;
    line-height: 50px;
}

.pe-search-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.pe-search-submit-btn i {
    font-size: 0.95em;
    line-height: 1;
}

/* Hero search — Arriendo/Venta: campos a ancho completo en móvil */
@media (max-width: 991px) {
    .pe-search-panel--filters .pe-search-filters-row {
        margin-left: 0;
        margin-right: 0;
    }

    .pe-search-panel--filters .pe-search-filters-row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        float: none;
    }

    .pe-search-panel--filters .pe-search-filters-actions {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .pe-search-panel--filters .pe-search-filters-actions .button.pe-search-submit-btn {
        width: 100%;
        max-width: 100%;
    }

    .pe-search-panel--filters .custom-select,
    .pe-search-panel--filters .property-type-multiselect,
    .pe-search-panel--filters .property-type-multiselect__trigger {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pe-search-panel--filters .row.with-forms .property-type-multiselect {
        margin-bottom: 14px;
    }
}

@media (max-width: 767px) {
    .main-search-box {
        padding: 20px 16px 16px;
    }

    .pe-search-panel--filters .pe-search-filters-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .pe-search-panel--filters .pe-search-filters-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .pe-search-panel--filters .pe-search-filters-actions .button {
        margin-bottom: 12px;
    }

    .pe-search-panel--filters .more-search-options-trigger {
        margin-left: 0;
    }

    .pe-search-panel--filters .more-search-options-container .col-md-6,
    .pe-search-panel--filters .more-search-options-container [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .pe-search-panel--filters .more-search-options-container .select-input input,
    .pe-search-panel--filters .more-search-options-container .custom-select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ===========================================================
   Administración bajo el precio (tarjetas de resultados)
   =========================================================== */
.pe-property-card__price-admin {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.92;
}

/* Administración en la página de detalle */
.property-pricing .admin-price {
    margin-top: 0px;
    font-size: 1.3rem;
    color: #666;
}

/* ===========================================================
   Topbar: botón "Paga fácil" + redes sociales
   =========================================================== */
#header-container.header-style-2 .right-side-top {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

#header-container.header-style-2 #top-bar .right-side-top .social-icons {
    float: none !important;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#header-container.header-style-2 #top-bar .right-side-top .social-icons li {
    float: none !important;
    display: inline-flex;
    align-items: center;
}

#header-container.header-style-2 #top-bar .right-side-top .pe-pay-btn {
    flex: 0 0 auto;
    order: -1;
}

.pe-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 16px;
    background-color: #fff;
    color: #c81517 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.pe-pay-btn:hover,
.pe-pay-btn:focus {
    background-color: #c81517;
    color: #fff !important;
    transform: translateY(-1px);
}

.pe-pay-btn i {
    font-size: 14px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #header-container.pe-navbar .pe-top-bar__hours-line {
        font-size: 12px;
    }
}

/* Contacto: copiar correo al hacer clic */
.copy-email {
    position: relative;
    display: inline-block;
}

.copy-email__trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #c81517;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.copy-email__trigger:hover {
    color: #a01113;
}

.copy-email__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: #333;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 20;
}

.copy-email__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

/* ===========================================================
   Nuestra oferta — grid simétrico de ciudades
   =========================================================== */
.pe-city-offer {
    padding: 60px 0 20px;
}

.pe-city-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pe-city-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pe-city-card:hover,
.pe-city-card:focus-visible {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
    transform: translateY(-2px);
    outline: none;
}

.pe-city-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pe-city-card:hover .pe-city-card__image,
.pe-city-card:focus-visible .pe-city-card__image {
    transform: scale(1.05);
}

.pe-city-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pe-city-card:hover .pe-city-card__overlay,
.pe-city-card:focus-visible .pe-city-card__overlay {
    opacity: 1.08;
}

.pe-city-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.25rem 1.35rem;
    text-align: left;
}

.pe-city-card__title {
    margin: 0 0 0.35rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.25;
    color: #fff;
}

.pe-city-card__cta {
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #e5e7eb;
    transition: color 0.3s ease, transform 0.3s ease;
}

.pe-city-card:hover .pe-city-card__cta,
.pe-city-card:focus-visible .pe-city-card__cta {
    color: #fff;
    transform: translateX(2px);
}

@media (min-width: 576px) {
    .pe-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pe-city-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* About — Intro (texto + video) */
.pe-about-intro {
    /*padding: 4rem 0;*/
    padding-bottom: 4rem;
    background: #fff;
}

.pe-about-intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
}

.pe-about-intro__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pe-about-intro__label {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 14px;
    font-weight: 700;
    /*letter-spacing: 0.1em;*/
    text-transform: uppercase;
    color: #b61a1a;
}

.pe-about-intro__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #333;
}

.pe-about-intro__accent {
    color: #b61a1a;
}

.pe-about-intro__text {
    margin: 1.5rem 0 0;
    font-size: 16px;
    line-height: 28px;
    color: #666;
}

.pe-about-intro__text strong {
    font-weight: 700;
    color: #333;
}

.pe-about-intro__video {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.pe-about-intro__video-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.pe-about-intro__video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* About — Nuestra historia (banner rojo + video) */
.pe-about-history {
    position: relative;
    margin: 3rem 0;
    padding: 3.25rem 0;
    overflow: hidden;
    background-color: #8f1414;
    background-image:
        linear-gradient(135deg, rgba(182, 26, 26, 0.92) 0%, rgba(143, 20, 20, 0.94) 45%, rgba(122, 18, 18, 0.96) 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.7) 0,
            rgba(255, 255, 255, 0.7) 1px,
            transparent 1px,
            transparent 22px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.5) 0,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 1px,
            transparent 22px
        );
    background-size: 100% 100%, auto, auto;
}

.pe-about-history .container {
    position: relative;
    z-index: 1;
}

.pe-about-history__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
}

.pe-about-history__label {
    display: block;
    margin-bottom: 1.125rem;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.pe-about-history__title {
    margin: 0 0 1.125rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.pe-about-history__text {
    margin: 0 0 1.75rem;
    max-width: 34rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
}

.pe-about-history__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pe-about-history__btn:hover,
.pe-about-history__btn:focus {
    color: #b61a1a;
    text-decoration: none;
    background: #fff;
}

.pe-about-history__btn .fa {
    font-size: 1.25rem;
}

.pe-about-history__video {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    background: #111;
    aspect-ratio: 16 / 9;
}

.pe-about-history__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 992px) {
    .pe-about-history {
        margin: 4rem 0;
        padding: 4.5rem 0;
    }

    .pe-about-history__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 2.75rem;
    }

    .pe-about-history__label {
        margin-bottom: 1.25rem;
        font-size: 16px;
    }

    .pe-about-history__title {
        margin-bottom: 1.25rem;
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .pe-about-history__text {
        margin-bottom: 2rem;
        font-size: 1.2rem;
        line-height: 1.75;
    }

    .pe-about-history__btn {
        padding: 0.85rem 1.5rem;
        font-size: 1.1rem;
    }

    .pe-about-history__video {
        border-radius: 1.25rem;
    }
}

@media (min-width: 992px) {
    .pe-about-intro__grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        align-items: center;
        gap: 2.5rem;
    }

    .pe-about-intro__content {
        align-self: center;
        min-width: 0;
        padding-right: 0.25rem;
    }

    .pe-about-intro__label {
        font-size: 1.5rem;
        margin-bottom: 1.125rem;
    }

    .pe-about-intro__title {
        font-size: 34px;
        line-height: 42px;
    }

    .pe-about-intro__text {
        margin-top: 1.5rem;
        font-size: 17px;
        line-height: 30px;
    }

    .pe-about-intro__video {
        min-width: 0;
        border-radius: 1.5rem;
    }
}

/* About — ¿Por qué elegirnos? */
.pe-why-choose {
    /*margin: 3rem 0;*/
    padding: 4rem 0;
    background: #fff;
}

.titulo-negro-secciones {
    margin: 3rem 0;
    font-size: 2rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    color: #333;
}

.pe-why-choose__line {
    display: block;
    width: 3rem;
    height: 4px;
    margin: 0.5rem auto 3rem;
    background: #b61a1a;
    border-radius: 2px;
}

.pe-why-choose__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pe-why-choose__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pe-why-choose__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    margin: 0 auto 1rem;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 50%;
    color: #b61a1a;
    font-size: 4rem;
    line-height: 1;
}

.pe-why-choose__icon-wrap .pe-why-choose__svg {
    width: 4rem;
    height: 2.5rem;
}

.sub-texto-iconos {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    font-family: inherit;
}

.sub-texto-iconos_titulo{
    margin: 0;
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    font-family: inherit;
}

.sub-texto-iconos-xs {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2rem;
    font-family: inherit;
}

@media (min-width: 768px) {
    .pe-why-choose {
        padding: 4rem 0;
    }

    .titulo-negro-secciones {
        font-size: 2.5rem;
    }

    .pe-why-choose__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .pe-why-choose__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .sub-texto-iconos-circulo br {
        display: inline;
    }
}

@media (max-width: 575px) {
    .pe-why-choose__grid {
        gap: 1.75rem 1rem;
    }
}

/* About — Misión y Visión */
.pe-mv-row {
    margin-top: 2.5rem;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
}

.pe-mv-row::before,
.pe-mv-row::after {
    display: none;
}

.pe-mv-row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
    float: none;
}

.pe-mv-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.pe-mv-card__icon {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    font-size: 4rem;
    line-height: 1;
}

.pe-mv-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.titulo-negro-acordeon{
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: #333;
    font-family: inherit;
    padding-bottom: 2rem;
}

.pe-mv-card__body p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: #707070;
    text-align: left;
}

@media (max-width: 767px) {
    .pe-mv-row {
        display: block;
    }

    .pe-mv-row > [class*="col-"] {
        display: block;
    }

    .pe-mv-card {
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }

    .pe-mv-card__icon {
        width: 64px;
        height: 64px;
        font-size: 1.65rem;
    }
}

/* About — Políticas (acordeones) */
.pe-about-policies {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.pe-policy-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.5rem;
}

.pe-policy-card__trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.35rem;
    text-align: left;
    background: #fff;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pe-policy-card__trigger:hover,
.pe-policy-card__trigger:focus {
    background: #fafafa;
    outline: none;
}

.pe-policy-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 1.5rem;
    line-height: 1;
}

.pe-policy-card__head {
    flex: 1 1 auto;
    min-width: 0;
}


.pe-policy-card__summary {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #888;
}

.pe-policy-card__chevron {
    flex: 0 0 auto;
    color: #b61a1a;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.pe-policy-card.is-open .pe-policy-card__chevron {
    transform: rotate(180deg);
}

.pe-policy-card__panel {
    border-top: 1px solid #f0f1f3;
}

.pe-policy-card__body {
    padding: 1.5rem 1.35rem 1.35rem 4.85rem;
    font-size: 15px;
    line-height: 26px;
    color: #666;
}

.pe-policy-card__body p {
    margin: 0 0 1rem;
}

.pe-policy-card__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pe-policy-card__trigger {
        align-items: flex-start;
        padding: 1.1rem 1.15rem;
    }

    .pe-policy-card__body {
        padding: 0 1.15rem 1.15rem;
    }
}

/* About — CTA banner */
.banner-rojo {
    position: relative;
    margin-bottom: 0;
    padding: 4.5rem 0;
    background-color: #7a1212;
    background-image:
        linear-gradient(135deg, rgba(182, 26, 26, 0.92) 0%, rgba(120, 18, 18, 0.9) 100%),
        var(--banner-rojo-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner-rojo__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    text-align: center;
}

.banner-rojo__title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
    color: #fff;
    font-family: inherit;
}

.banner-rojo__subtitle {
    margin: 0;
    padding-top: 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.banner-rojo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.5rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    background: #b61a1a;
    border: 1px solid #b61a1a;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-rojo__btn:hover,
.banner-rojo__btn:focus {
    color: #fff;
    text-decoration: none;
    background: #9d1616;
    border-color: #9d1616;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.banner-rojo__btn .fa {
    font-size: 2rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .banner-rojo {
        padding: 5rem 0;
    }

    .banner-rojo__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        text-align: left;
    }

    .banner-rojo__copy {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 48rem;
    }

    .banner-rojo__title {
        font-size: 2.5rem;
    }

    .banner-rojo__subtitle {
        font-size: 1.5rem;
    }

    .banner-rojo__actions {
        flex: 0 0 auto;
    }
}

/* Services page */
.pe-services-accent {
    color: #b61a1a;
}

.pe-services-hero--about .pe-services-hero__label {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b61a1a;
}

.pe-services-hero--about .pe-services-hero__title {
    font-size: 28px;
    line-height: 36px;
    color: #333;
}

.pe-services-hero--about .pe-services-hero__text {
    margin-top: 1.5rem;
    font-size: 16px;
    line-height: 28px;
    color: #666;
}

.pe-services-hero--about .pe-services-hero__text strong {
    font-weight: 700;
    color: #333;
}

.pe-services-hero--about.pe-services-hero.fullwidth-layout {
    margin-bottom: 2.5rem;
}

.pe-services-hero.fullwidth-layout {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.pe-services-hero__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.pe-services-hero__content {
    flex: 0 0 auto;
    width: 100%;
    padding: 2.5rem 15px;
    background: #fff;
}

.pe-services-hero__content-inner {
    width: 100%;
    max-width: 560px;
}

.pe-services-hero__breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.pe-services-hero__breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.pe-services-hero__breadcrumb a:hover {
    color: #b61a1a;
}

.pe-services-hero__breadcrumb span[aria-hidden="true"] {
    margin: 0 0.35rem;
}

.pe-services-hero__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.pe-services-hero__text {
    margin: 1rem 0 1.5rem;
    font-size: 1.8rem;
    line-height: 1.65;
    color: #6b7280;
}

.pe-services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pe-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pe-services-btn--primary {
    color: #fff;
    background: #b61a1a;
    border: 1px solid #b61a1a;
}

.pe-services-btn--primary:hover,
.pe-services-btn--primary:focus {
    color: #fff;
    background: #9d1616;
    border-color: #9d1616;
    text-decoration: none;
}

.pe-services-btn--outline {
    color: #b61a1a;
    background: #fff;
    border: 1px solid #b61a1a;
}

.pe-services-btn--outline:hover,
.pe-services-btn--outline:focus {
    color: #b61a1a;
    background: #fef2f2;
    text-decoration: none;
}

.pe-services-hero__media {
    position: relative;
    flex: 1 1 auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 300px;
}

@media (max-width: 991px) {
    .pe-services-hero__media:has(.pe-services-hero__video) {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
}

.pe-services-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pe-services-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.pe-services-hero__video-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pe-services-hero__video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pe-services-hero--video .pe-services-hero__video {
    border-radius: 0;
}

.pe-services-hero--about.pe-services-hero--video .pe-services-hero__media {
    background: #111;
}

@media (min-width: 992px) {
    .pe-services-hero--video .pe-services-hero__video {
        border-radius: 0 0 0 1rem;
    }
}

.pe-services-hero__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    max-width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.pe-services-hero__badge-icon {
    position: relative;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    color: #b61a1a;
    font-size: 1.35rem;
    line-height: 2.25rem;
    text-align: center;
}

.pe-services-hero__badge-check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    font-size: 0.7rem;
    line-height: 1;
    color: #b61a1a;
    background: #fff;
    border-radius: 50%;
}

.pe-services-hero__badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
}

.pe-services-offer {
    padding: 3rem 0;
    background: #f9fafb;
}

.titulo-rojo-secciones {
    margin: 3rem 0;
    font-size: 2.8rem;
    font-weight: 500;
    /*letter-spacing: 0.08em;*/
    text-align: center;
    text-transform: uppercase;
    color: #b61a1a;
}

.pe-services-offer__title {
    margin: 0 0 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #888888;
}

.pe-services-offer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pe-services-offer__grid.pe-services-offer__grid--two {
    grid-template-columns: 1fr;
}

/* TARJETAS  */
.pe-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.pe-card__head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.pe-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 2.5rem;
}

.pe-card__title {
    margin: 0 0 0.25rem;
    font-size: 2rem;
    font-weight: 500;
    color: #111827;
}

.pe-card_red__title {
    margin: 1.25rem 0 0 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    color: #b61a1a;
}

.pe-card__subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: #888888;
}

.p-card__list {
    flex: 1 1 auto;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.pe-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 1.5rem;
    color: #888888;
}

.pe-card__list li:last-child {
    margin-bottom: 0;
}

.pe-card__check {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 0.8rem;
}

.pe-card__cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.55rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.pe-card__cta:hover,
.pe-card__cta:focus {
    color: #b61a1a;
    border-color: #b61a1a;
    background: #fef2f2;
    text-decoration: none;
}

.pe-card__downloads {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #eef0f2;
}

.pe-card__downloads-label {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    color: #6b7280;
}

.pe-card__downloads-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pe-card__downloads-actions .pe-requirements__btn {
    width: 100%;
    font-size: 1.2rem;
}

/* Testimonials (Clientes) */
.pe-testimonials {
    padding: 3.5rem 0 4rem;
    background: #fff;
}

.pe-testimonials__title {
    margin: 0;
}

.pe-testimonials__grid {
    margin-top: 2.25rem;
}

.pe-testimonials-card {
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.pe-testimonials-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pe-testimonials-card__stars {
    display: inline-flex;
    gap: 0.2rem;
    font-size: 1.15rem;
    color: #b61a1a;
}

.pe-testimonials-card__quote {
    font-size: 2rem;
    line-height: 1;
    color: rgba(182, 26, 26, 0.18);
}

.pe-testimonials-card__message {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    line-height: 1.65;
    color: #4b5563;
}

.pe-testimonials-card__author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.pe-testimonials-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}

.pe-testimonials-card__author-meta {
    min-width: 0;
}

.pe-testimonials-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b61a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pe-testimonials-card__desc {
    font-size: 1.2rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pe-testimonials-form {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    background: rgba(182, 26, 26, 0.04);
}

.pe-testimonials-form__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b61a1a;
}

.pe-testimonials-form__subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #4b5563;
}

.pe-testimonials-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.pe-testimonials-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pe-testimonials-form__label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #374151;
}

.pe-testimonials-form__label-inline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #374151;
}

.pe-testimonials-form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pe-testimonials-form__input:focus {
    border-color: rgba(182, 26, 26, 0.45);
    box-shadow: 0 0 0 4px rgba(182, 26, 26, 0.12);
}

.pe-testimonials-form__rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Rating stars (form) */
.pe-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.pe-rating__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pe-rating__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s ease, transform 0.15s ease;
}

.pe-rating__star:hover {
    transform: translateY(-1px);
}

.pe-rating__input:focus-visible + .pe-rating__star {
    outline: 3px solid rgba(182, 26, 26, 0.18);
    outline-offset: 2px;
    border-radius: 10px;
}

.pe-rating__star:hover,
.pe-rating__star:hover ~ .pe-rating__star {
    color: #b61a1a;
}

.pe-rating__input:checked + .pe-rating__star,
.pe-rating__input:checked + .pe-rating__star ~ .pe-rating__star {
    color: #b61a1a;
}

.pe-testimonials-form__stars {
    display: inline-flex;
    gap: 0.2rem;
    font-size: 1.25rem;
    color: #b61a1a;
}

.pe-testimonials-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #b61a1a;
    border: 1px solid #b61a1a;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pe-testimonials-form__submit:hover,
.pe-testimonials-form__submit:focus {
    background: #9d1616;
    border-color: #9d1616;
}

.pe-testimonials-form__success {
    padding: 1rem 1.1rem;
    font-size: 1.2rem;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
}

/* Toast (success) */
.pe-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(560px, calc(100% - 2rem));
    padding: 0;
}

.pe-toast__inner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.pe-toast__icon {
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5;
    color: #065f46;
    font-size: 1.1rem;
}

.pe-toast__content {
    flex: 1 1 auto;
    min-width: 0;
}

.pe-toast__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #065f46;
    line-height: 1.3;
}

.pe-toast__text {
    margin-top: 0.15rem;
    font-size: 1.2rem;
    color: #065f46;
    line-height: 1.45;
}

.pe-toast__close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #065f46;
    padding: 0.25rem 0.35rem;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.pe-toast__close:hover,
.pe-toast__close:focus {
    opacity: 1;
}

.pe-toast--hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pe-testimonials-form__right {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.pe-testimonials-form__right-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pe-testimonials-form__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: rgba(182, 26, 26, 0.12);
    color: #b61a1a;
    font-size: 2.2rem;
}

.pe-testimonials-form__right-title {
    margin: 1rem 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.pe-testimonials-form__right-text {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #4b5563;
    max-width: 34rem;
}

.pe-testimonials-form__right-note {
    margin: 1.25rem 0 0;
    font-size: 1.2rem;
    color: #111827;
}

.pe-testimonials-form__right-note .fa {
    color: #b61a1a;
}

@media (min-width: 768px) {
    .pe-testimonials-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pe-testimonials-form {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 2.25rem;
        padding: 2.25rem;
    }

    .pe-testimonials-form__right {
        border-top: 0;
        border-left: 1px solid #e5e7eb;
        padding-top: 0;
        padding-left: 2.25rem;
    }
}

.pe-services-process {
    padding: 3rem 0 3.5rem;
    background: #fff;
}

.pe-services-process__title {
    margin: 0 0 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    color: #b61a1a;
}

.pe-services-process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pe-services-process__step {
    position: relative;
}

.pe-services-process__step-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pe-services-process__number {
    position: absolute;
    top: 0;
    left: calc(50% - 3.2rem);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: #b61a1a;
    border-radius: 50%;
}

.pe-services-process__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    margin-bottom: 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #b61a1a;
    font-size: 3rem;
}

.pe-services-process__step-title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.pe-services-faq {
    padding: 3rem 0 4rem;
    background: #f9fafb;
}

.pe-services-faq__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    color: #111827;
}

.pe-services-faq__line {
    display: block;
    width: 3rem;
    height: 4px;
    margin: 0.5rem auto 2rem;
    background: #b61a1a;
    border-radius: 2px;
}

.pe-services-faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.pe-services-faq__item {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.pe-services-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #1f2937;
    text-align: left;
    background: #fff;
    border: 0;
    cursor: pointer;
}

.pe-services-faq__trigger:hover,
.pe-services-faq__trigger:focus {
    background: #fafafa;
    outline: none;
}

.pe-services-faq__chevron {
    flex: 0 0 auto;
    color: #b61a1a;
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.pe-services-faq__item.is-open .pe-services-faq__chevron {
    transform: rotate(180deg);
}

.pe-services-faq__panel {
    border-top: 1px solid #f0f1f3;
}

.pe-services-faq__panel p {
    margin: 0;
    padding:1rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6b7280;
}

@media (min-width: 768px) {
    .pe-services-hero__title {
        font-size: 2.6rem;
    }

    .pe-services-hero--about .pe-services-hero__title {
        font-size: 28px;
        line-height: 36px;
    }

    .pe-services-offer__title {
        font-size: 1.75rem;
    }

    .pe-services-offer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-services-offer__grid.pe-services-offer__grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-services-faq__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-services-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pe-services-hero__layout {
        flex-direction: row;
        align-items: stretch;
        min-height: 440px;
    }

    .pe-services-hero__content {
        flex: 0 0 62%;
        display: flex;
        align-items: center;
        width: 42%;
        max-width: 52%;
        padding: 3rem 2.5rem 3rem max(15px, calc((100vw - 1170px) / 2 + 15px));
    }

    .pe-services-hero__content-inner {
        max-width: 520px;
    }

    .pe-services-hero__title {
        font-size: 3.2rem;
    }

    .pe-services-hero--about .pe-services-hero__title {
        font-size: 28px;
        line-height: 36px;
    }

    .pe-services-hero__media {
        flex: 1 1 58%;
        width: auto;
        max-width: none;
        margin-left: 0;
        min-height: 440px;
    }

    .pe-services-hero__image {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 14%, #000 30%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 14%, #000 30%);
    }

    .pe-services-offer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pe-services-offer__grid.pe-services-offer__grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-services-process__steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .pe-services-process__step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.25rem;
        left: calc(50% + 2.5rem);
        width: calc(100% - 2.5rem);
        height: 0;
        border-top: 2px dashed #d1d5db;
        pointer-events: none;
    }
}

/* Requirements pages (tenant / property) */
.pe-requirements {
    padding: 3rem 0;
    background: #fff;
}

.pe-requirements--alt {
    background: #f9fafb;
}

.pe-requirements__section-title {
    margin: 0 0 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #888;
}

.pe-requirements__blocks {
    display: grid;
    gap: 1.25rem;
}

.pe-requirements__block {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.pe-requirements__block-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pe-requirements__block-head .pe-requirements__block-title {
    margin: 0;
}

.pe-requirements__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    color: #6b7280;
    text-decoration: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pe-requirements__btn:hover,
.pe-requirements__btn:focus {
    color: #374151;
    background: #f9fafb;
    border-color: #9ca3af;
    text-decoration: none;
}

.pe-requirements--alt .pe-requirements__block {
    background: #fff;
}

.pe-requirements__block--single {
    max-width: 720px;
    margin: 0 auto;
}

.pe-requirements__block-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #b61a1a;
}

.pe-requirements__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pe-requirements__list li {
    position: relative;
    margin-bottom: 0.65rem;
    padding-left: 1.35rem;
    line-height: 1.55;
    color: #374151;
}

.pe-requirements__list li::before {
    content: '\f00c';
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-family: FontAwesome;
    font-size: 0.8rem;
    color: #b61a1a;
}

.pe-alerta__note {
    margin: 2rem 0 0;
    padding: 1rem 1.15rem;
    font-size: 1.5rem;
    line-height: 1.55;
    color: #374151;
    background: #fef2f2;
    border-left: 4px solid #b61a1a;
    border-radius: 0 8px 8px 0;
}

.pe-juridica-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.pe-juridica-card__requirements {
    padding: 1.75rem 1.5rem;
}

.pe-juridica-card__title {
    margin: 0;
    align-self: center;
}

.pe-form-downloads {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.pe-form-downloads--standalone {
    margin-top: 2.5rem;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.pe-form-downloads__icon {
    margin: 0 auto;
}

.pe-form-downloads__title {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
}

.pe-form-downloads__text {
    margin: 0 0 1.5rem;
    max-width: 32rem;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #6b7280;
}

.pe-form-downloads__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    max-width: 30rem;
}

.pe-form-downloads__actions .pe-requirements__btn {
    width: 100%;
    font-size: 1.5rem;
}

.pe-juridica-card__downloads {
    padding: 0 1.5rem 1.75rem;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 992px) {
    .pe-juridica-card {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .pe-juridica-card__requirements {
        padding: 2rem 2.25rem;
        border-right: 1px solid #e5e7eb;
    }

    .pe-juridica-card .pe-juridica-card__downloads {
        justify-content: center;
        padding: 2rem;
        border-top: 0;
        background: #fff;
    }
}

/* Instructivos y manuales */
.pe-doc-downloads {
    padding: 0 0 3.5rem;
    background: #fff;
}

.pe-doc-downloads--alt {
    background: #f9fafb;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.pe-doc-downloads__grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pe-doc-downloads__grid--two {
    grid-template-columns: 1fr;
}

.pe-doc-downloads__grid--single {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.pe-doc-download-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.pe-doc-downloads--alt .pe-doc-download-card {
    background: #fff;
}

.pe-doc-download-card:hover,
.pe-doc-download-card:focus {
    text-decoration: none;
    background: #fff;
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.pe-doc-download-card__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    color: #b61a1a;
    background: #fef2f2;
    border-radius: 10px;
}

.pe-doc-download-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.pe-doc-download-card__title {
    /*font-size: 1.5rem;*/
    font-weight: 600;
    line-height: 1.35;
    color: #374151;
}

.pe-doc-download-card__text {
    /*font-size: 1.2rem;*/
    line-height: 1.5;
    color: #6b7280;
}

.pe-doc-download-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    /*font-size: 1.2rem;*/
    font-weight: 600;
    color: #b61a1a;
}

.pe-doc-download-card:hover .pe-doc-download-card__action,
.pe-doc-download-card:focus .pe-doc-download-card__action {
    color: #991b1b;
}

@media (min-width: 768px) {
    .pe-doc-downloads__grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* Guías y manuales (tenant) */
.pe-guias {
    padding: 0 0 3.5rem;
    background: #fff;
}

.pe-guias--alt {
    padding-top: 3rem;
    background: #f9fafb;
}

.pe-guias .titulo-negro-secciones {
    font-weight: 700;
}

.pe-guias__subtitle {
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.pe-guias__grid--single {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.pe-guias__grid--full {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
}

.pe-guias__grid.pe-guias__grid--single ~ .pe-guias-alert {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .pe-services-offer__grid.pe-guias__grid--single,
    .pe-services-offer__grid.pe-guias__grid--full {
        grid-template-columns: 1fr;
    }
}

.pe-guias-card {
    padding: 1.75rem 1.5rem;
}

.pe-guias-card--split {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
}

.pe-guias-card__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fef2f2;
}

.pe-guias-card__content {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
}

.pe-guias-card--split .pe-guias-card__title {
    margin: 0;
}

.pe-guias-card--split .pe-guias-card__description {
    margin: 0;
    max-width: 18rem;
}

.pe-guias-card--split .pe-guias-card__list {
    margin-bottom: 1.5rem;
}

.pe-guias-card__icon--lg {
    width: 6rem;
    height: 6rem;
    margin-bottom: 0.25rem;
    font-size: 3rem;
}

@media (min-width: 768px) {
    .pe-guias-card--split {
        grid-template-columns: minmax(16rem, 1fr) minmax(0, 2fr);
    }
}

.pe-guias-card__head {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

.pe-guias-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 12px;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 2rem;
}

.pe-guias-card__intro {
    min-width: 0;
}

.pe-guias-card__title {
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.pe-guias-card__description {
    margin: 0;
}

.pe-guias-card__list {
    flex: 1 1 auto;
    margin: 0 0 1.5rem;
}

.pe-guias-card__check {
    background: #fff;
    border: 1px solid #fecaca;
}

.pe-guias-card__btn {
    width: auto;
    max-width: 100%;
    align-self: center;
    margin-top: auto;
    padding: 0.85rem 1.75rem;
}

.pe-guias-card--split .pe-guias-card__btn {
    align-self: flex-start;
}

.pe-guias-card__btn .fa {
    font-size: 1.5rem;
    padding: 0;
}

.pe-guias-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: #fef2f2;
    border-radius: 12px;
}

.pe-guias-alert__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.75rem;
    color: #b61a1a;
}

.pe-guias-alert__body {
    min-width: 0;
}

.pe-guias-alert__title {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #374151;
}

.pe-guias-alert__text {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #6b7280;
}

@media (min-width: 768px) {
    .pe-requirements__blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-requirements__blocks:has(.pe-requirements__block:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Contact / Centro de Ayuda */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pe-contact-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: #1f2937 url('../images/home-parallax.jpg') center / cover no-repeat;
    color: #fff;
}

.pe-contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.55) 55%, rgba(17, 24, 39, 0.35) 100%);
}

.pe-contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.pe-contact-hero__breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.pe-contact-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.pe-contact-hero__breadcrumb a:hover {
    color: #fff;
}

.pe-contact-hero__breadcrumb span[aria-hidden="true"] {
    margin: 0 0.35rem;
}

.pe-contact-hero__title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
}

.pe-contact-hero__text {
    margin: 0.85rem 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.pe-contact-channels {
    margin-top: -2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.pe-contact-channels__grid {
    display: grid;
    gap: 1rem;
}

.pe-contact-channel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid #f3f4f6;
}

.pe-contact-channel-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 1.35rem;
}

.pe-contact-channel-card__icon--wa {
    background: #ecfdf5;
    color: #16a34a;
}

.pe-contact-channel-card__title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}

.pe-contact-channel-card__label {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.pe-contact-channel-card__value {
    margin: 0.5rem 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.pe-contact-channel-card__value--muted {
    font-size: 0.9rem;
    font-weight: 500;
    word-break: break-word;
}

.pe-contact-channel-card__btn {
    width: 100%;
    max-width: 260px;
}

.pe-contact-offices {
    padding: 2.5rem 0 3rem;
    background: #f9fafb;
}

.pe-contact-offices__title {
    margin: 0 0 1.75rem;
    font-size: 1.75rem;
    font-weight: 500;
    text-align: center;
    color: #6b7280;
}

.pe-contact-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.pe-contact-tabs__btn {
    padding: 0.55rem 1.15rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pe-contact-tabs__btn:hover,
.pe-contact-tabs__btn.is-active {
    color: #fff;
    background: #b61a1a;
    border-color: #b61a1a;
}

.pe-contact-sedes-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pe-contact-sede-block {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.pe-contact-sede-block__head {
    margin-bottom: 1rem;
}

.pe-contact-sede-block__title {
    margin: 0 0 0.75rem;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.pe-contact-sede-block__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #4b5563;
}

.pe-contact-sede-block__meta li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.pe-contact-sede-block__meta i {
    flex: 0 0 auto;
    width: 1rem;
    margin-top: 0.15rem;
    color: #b61a1a;
}

.pe-contact-sede-block__meta a {
    color: #374151;
    word-break: break-word;
}

.pe-contact-sede-block__meta a:hover {
    color: #b61a1a;
}

.pe-contact-sede-block__deps {
    margin-top: 0.25rem;
}

.pe-contact-dept-grid {
    display: grid;
    gap: 1rem;
}

.pe-contact-dept-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.pe-contact-dept-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.pe-contact-dept-card__icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fef2f2;
    color: #b61a1a;
    font-size: 1.5rem;
}

.pe-contact-dept-card__title {
    margin:  0.2rem 0 0 0;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
}

.pe-contact-dept-card__meta {
    flex: 1;
    margin: 0 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #4b5563;
}

.pe-contact-dept-card__meta li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.pe-contact-dept-card__meta i {
    flex: 0 0 auto;
    width: 1rem;
    margin-top: 0.15rem;
    margin-right: 1.25rem;
    color: #b61a1a;
}

.pe-contact-dept-card__meta a {
    color: #374151;
    word-break: break-word;
}

.pe-contact-dept-card__meta a:hover {
    color: #b61a1a;
}

.pe-contact-dept-card__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #16a34a;
    background: #ecfdf5;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-left: 3rem;
}

.pe-contact-dept-card__wa:hover {
    background: #d1fae5;
    color: #15803d;
    text-decoration: none;
}

.pe-contact-offices__empty {
    text-align: center;
    color: #6b7280;
}

.pe-contact-main {
    padding: 3rem 0;
    background: #fff;
}

.pe-contact-main__grid {
    display: grid;
    gap: 2.5rem;
}

.pe-contact-main__title {
    margin: 0 0 1.35rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.pe-contact-main__subtitle {
    margin: 0 0 1.25rem;
    color: #6b7280;
}

.pe-contact-info-list {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.pe-contact-info-list li {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.pe-contact-info-list__icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fef2f2;
    color: #b61a1a;
}

.pe-contact-info-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #111827;
}

.pe-contact-info-list p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #4b5563;
}

.pe-contact-info-list a {
    color: #b61a1a;
}

.pe-contact-map {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.pe-contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pe-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pe-contact-form__row {
    display: grid;
    gap: 0.85rem;
}

.pe-contact-form__field input,
.pe-contact-form__field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    line-height: 3.4;
    color: #111827;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pe-contact-form__field input:focus,
.pe-contact-form__field textarea:focus {
    outline: none;
    border-color: #b61a1a;
    box-shadow: 0 0 0 3px rgba(182, 26, 26, 0.12);
}

.pe-contact-form__field textarea {
    resize: vertical;
    min-height: 140px;
}

.pe-contact-form__submit {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.pe-contact-form-message {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.pe-contact-form-message.is-success {
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.pe-contact-form-message.is-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pe-contact-cta {
    padding: 2.5rem 0 3.5rem;
    background: #f3f4f6;
}

.pe-contact-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.pe-contact-cta__copy h2 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.pe-contact-cta__copy p {
    margin: 0;
    color: #6b7280;
}

.pe-contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .pe-contact-hero__title {
        font-size: 2.75rem;
    }

    .pe-contact-channels__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pe-contact-dept-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-contact-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-contact-cta__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .pe-contact-hero {
        min-height: 320px;
    }

    .pe-contact-dept-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pe-contact-main__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Home — banner publicitario (lightbox Magnific Popup) */
.pe-home-ad-banner.mfp-hide {
    display: none;
}

.pe-home-ad-banner-mfp.mfp-wrap {
    overflow: hidden;
}

.pe-home-ad-banner-mfp .mfp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5vh 2vw;
    text-align: center;
}

.pe-home-ad-banner-mfp .mfp-container::before {
    display: none;
}

.pe-home-ad-banner-mfp .mfp-content {
    position: relative;
    max-width: 96vw;
    width: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    vertical-align: middle;
    text-align: center;
}

.pe-home-ad-banner-mfp .mfp-inline-holder .mfp-content {
    width: auto;
}

.pe-home-ad-banner__dialog {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 96vw;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    line-height: 0;
    text-align: center;
}

.pe-home-ad-banner__image-link {
    display: block;
    line-height: 0;
}

.pe-home-ad-banner__image {
    display: block;
    width: auto;
    max-width: 96vw;
    height: auto;
    max-height: 85vh;
    margin: 0 auto;
    object-fit: contain;
    background: #f5f5f5;
}

.pe-home-ad-banner__actions {
    padding: 1rem 1.25rem 1.35rem;
    text-align: center;
    background: #fff;
    line-height: normal;
}

.pe-home-ad-banner__cta.button {
    margin: 0;
}

.pe-home-ad-banner-mfp button.mfp-close.pe-home-ad-banner__close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 12px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    z-index: 100050 !important;
}

.pe-home-ad-banner-mfp button.mfp-close.pe-home-ad-banner__close::before,
.pe-home-ad-banner-mfp button.mfp-close.pe-home-ad-banner__close::after {
    display: none !important;
    content: none !important;
}

.pe-home-ad-banner-mfp button.mfp-close.pe-home-ad-banner__close i {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}
