.factotum-propiedades-listado {
    --factotum-navy: #001f5f;
    --factotum-border: #dce2ea;
    --factotum-text: #171f2f;
    --factotum-muted: #646b78;
    --factotum-soft: #f3f5f8;
    display: grid;
    gap: 34px;
    width: min(100%, 1200px);
    margin: 34px auto;
}

.factotum-property-card {
    display: grid;
    grid-template-columns: minmax(360px, 41.5%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--factotum-border);
    border-radius: 0;
    background: #fff;
    color: var(--factotum-text);
    box-shadow: 0 22px 48px rgba(19, 34, 59, 0.08);
}

.property-image {
    position: relative;
    min-height: 520px;
    background: #dfe7ef;
}

.property-image__img,
.property-image__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.property-image__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8edf3;
    color: var(--factotum-navy);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.property-image__badge {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 26px;
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    padding: 0 20px;
    background: #fff;
    color: var(--factotum-navy);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.factotum-property-card.is-historic .property-image__img {
    filter: grayscale(100%) blur(1px);
    opacity: 0.72;
}

.property-media {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 26px;
    left: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-media__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 14px;
    background: var(--factotum-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
}

.property-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 56px 50px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.property-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    background: var(--factotum-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.factotum-property-card--reservado .property-status,
.factotum-property-card--proximamente .property-status {
    background: #9b6a23;
}

.factotum-property-card--vendido .property-status,
.factotum-property-card--alquilado .property-status {
    background: #343844;
}

.property-location {
    margin: 0 0 -4px;
    color: #b89586;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.28em;
    line-height: 1.5;
    text-transform: uppercase;
}

.property-location i {
    display: none;
}

.property-title {
    margin: 0;
    color: var(--factotum-navy);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
}

.property-price {
    margin: -12px 0 2px;
    color: #050505;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 16px;
    margin: 2px 0 12px;
    padding: 0;
    list-style: none;
    color: #302a28;
}

.property-features li {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--factotum-border);
    background: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.property-features i {
    color: var(--factotum-navy);
    font-size: 22px;
}

.property-description {
    max-width: 780px;
    color: #5f6571;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.72;
}

.property-description p {
    margin: 0;
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.property-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    background: var(--factotum-soft);
    color: var(--factotum-navy);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.property-historic-message {
    margin: 0;
    border-left: 4px solid var(--factotum-navy);
    padding: 8px 0 8px 14px;
    color: #343844;
    font-size: 17px;
    font-weight: 800;
}

.property-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}

.property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 72px;
    border-radius: 0;
    padding: 0 30px;
    color: var(--factotum-navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.property-button:hover,
.property-button:focus {
    text-decoration: none;
}

.property-button--primary {
    min-width: 330px;
    border: 1px solid var(--factotum-navy);
    background: var(--factotum-navy);
    color: #fff;
}

.property-button--secondary {
    min-width: 225px;
    border: 1px solid var(--factotum-navy);
    background: #fff;
    color: var(--factotum-navy);
}

.property-button--primary:hover,
.property-button--primary:focus {
    background: #062a79;
    color: #fff;
}

.property-button--secondary:hover,
.property-button--secondary:focus {
    background: #f5f7fb;
    color: var(--factotum-navy);
}

.factotum-propiedades-empty {
    margin: 24px 0;
    color: var(--factotum-muted);
}

.factotum-featured-properties {
    --factotum-featured-navy: #001f5f;
    --factotum-featured-border: #dce2ea;
    --factotum-featured-muted: #6b7280;
    max-width: 1200px;
    margin: 0 auto;
    color: #161b27;
}

.factotum-featured-properties__title {
    margin: 0 0 48px;
    color: #101522;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.28em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.factotum-featured-properties__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.factotum-featured-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--factotum-featured-border);
    background: #fff;
}

.factotum-featured-card__image {
    position: relative;
    display: block;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    background: #e8edf3;
    text-decoration: none;
}

.factotum-featured-card__img,
.factotum-featured-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
}

.factotum-featured-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--factotum-featured-navy);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.factotum-featured-card__price {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    padding: 0 18px;
    background: #fff;
    color: var(--factotum-featured-navy);
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.factotum-featured-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    padding: 34px 30px 30px;
}

.factotum-featured-card__location {
    margin: 0;
    color: #b89586;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1.5;
    text-transform: uppercase;
}

.factotum-featured-card__title {
    margin: 0;
    color: var(--factotum-featured-navy);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
}

.factotum-featured-card__title a {
    color: inherit;
    text-decoration: none;
}

.factotum-featured-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    color: var(--factotum-featured-muted);
    font-size: 15px;
    line-height: 1.4;
}

.factotum-featured-card__features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.factotum-featured-card__features i {
    color: var(--factotum-featured-navy);
}

.factotum-featured-card__description {
    color: #596170;
    font-size: 16px;
    line-height: 1.7;
}

.factotum-featured-card__description p {
    margin: 0;
}

.factotum-featured-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    color: var(--factotum-featured-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.factotum-featured-properties__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.factotum-featured-properties__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 34px;
    background: var(--factotum-featured-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.factotum-featured-properties__button:hover,
.factotum-featured-properties__button:focus {
    background: #062a79;
    color: #fff;
    text-decoration: none;
}

.factotum-single-property {
    --factotum-single-navy: #001f5f;
    --factotum-single-border: #dce2ea;
    --factotum-single-muted: #626a78;
    background: #fff;
    color: #151b28;
}

.factotum-single-property__hero {
    display: grid;
    grid-template-columns: minmax(420px, 56%) minmax(0, 1fr);
    width: min(100%, 1200px);
    min-height: 620px;
    margin: 58px auto 0;
    border: 1px solid var(--factotum-single-border);
}

.factotum-single-property__media {
    position: relative;
    min-height: 620px;
    background: #e8edf3;
}

.factotum-single-property__hero-img,
.factotum-single-property__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.factotum-single-property__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--factotum-single-navy);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.factotum-single-property.is-historic .factotum-single-property__hero-img {
    filter: grayscale(100%) blur(2px);
    opacity: 0.68;
    transform: scale(1.01);
}

.factotum-single-property__operation {
    position: absolute;
    top: 34px;
    left: 34px;
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    padding: 0 20px;
    background: #fff;
    color: var(--factotum-single-navy);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.factotum-single-property__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 58px;
    border-bottom: 0;
}

.factotum-single-property__location {
    margin: 0;
    color: #b89586;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.26em;
    line-height: 1.5;
    text-transform: uppercase;
}

.factotum-single-property__title {
    margin: 0;
    color: var(--factotum-single-navy);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.06;
}

.factotum-single-property__price {
    margin: -8px 0 0;
    color: #050505;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.factotum-single-property__status {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.factotum-single-property__status span,
.factotum-single-property__status strong {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    background: var(--factotum-single-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.factotum-single-property__status strong {
    background: #eef1f5;
    color: #343844;
}

.factotum-single-property__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.factotum-single-property__features li {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--factotum-single-border);
    padding: 0 18px;
    color: #343844;
    font-size: 16px;
}

.factotum-single-property__features i {
    color: var(--factotum-single-navy);
    font-size: 20px;
}

.factotum-single-property__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 68px 24px;
}

.factotum-single-property__content {
    min-width: 0;
}

.factotum-single-property__block {
    margin: 0 0 46px;
}

.factotum-single-property__block h2 {
    margin: 0 0 20px;
    color: var(--factotum-single-navy);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
}

.factotum-single-property__description {
    color: #4f5665;
    font-size: 20px;
    line-height: 1.8;
}

.factotum-single-property__description p:first-child {
    margin-top: 0;
}

.factotum-single-property__description p:last-child {
    margin-bottom: 0;
}

.factotum-single-property__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.factotum-single-property__tags span {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 0 16px;
    background: #f3f5f8;
    color: var(--factotum-single-navy);
    font-size: 15px;
    font-weight: 600;
}

.factotum-single-property__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.factotum-single-property__gallery figure {
    margin: 0;
    background: #e8edf3;
}

.factotum-single-property__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.factotum-single-property__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.factotum-single-property__details div {
    min-width: 0;
    border: 1px solid var(--factotum-single-border);
    padding: 18px 20px;
    background: #fff;
}

.factotum-single-property__details dt {
    margin: 0 0 8px;
    color: #9b7b6f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.factotum-single-property__details dd {
    margin: 0;
    color: #202634;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

.factotum-single-property__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.factotum-single-property__highlights article {
    border-left: 4px solid var(--factotum-single-navy);
    padding: 4px 0 4px 18px;
}

.factotum-single-property__highlights h3,
.factotum-single-property__plans h3 {
    margin: 0 0 8px;
    color: var(--factotum-single-navy);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.factotum-single-property__highlights p {
    margin: 0;
    color: #596170;
    font-size: 16px;
    line-height: 1.65;
}

.factotum-single-property__media-blocks {
    display: grid;
    gap: 16px;
}

.factotum-single-property__media-blocks > a,
.factotum-single-property__documents a,
.factotum-single-property__map-link {
    display: inline-flex;
    width: fit-content;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--factotum-single-navy);
    padding: 0 18px;
    background: var(--factotum-single-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.factotum-single-property__media-blocks video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #101522;
}

.factotum-single-property__embed {
    overflow: hidden;
    border: 1px solid var(--factotum-single-border);
    background: #e8edf3;
}

.factotum-single-property__embed iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.factotum-single-property__plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.factotum-single-property__plans article {
    border: 1px solid var(--factotum-single-border);
    padding: 18px;
    background: #fff;
}

.factotum-single-property__plans img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 16px;
    object-fit: cover;
    background: #e8edf3;
}

.factotum-single-property__plans a {
    color: var(--factotum-single-navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.factotum-single-property__documents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.factotum-single-property__contact {
    align-self: start;
    border: 1px solid var(--factotum-single-border);
    padding: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(19, 34, 59, 0.08);
}

.factotum-single-property__contact h2 {
    margin: 0 0 16px;
    color: var(--factotum-single-navy);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.factotum-single-property__contact p,
.factotum-single-property__contact-text {
    color: var(--factotum-single-muted);
    font-size: 16px;
    line-height: 1.65;
}

.factotum-single-property__form {
    margin-top: 22px;
}

.factotum-single-property__contact-links {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.factotum-single-property__contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--factotum-single-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

@media (max-width: 1180px) {
    .factotum-property-card {
        grid-template-columns: minmax(320px, 40%) minmax(0, 1fr);
    }

    .property-content {
        padding: 38px 34px;
    }

    .property-title {
        font-size: 34px;
    }

    .property-price {
        font-size: 36px;
    }

    .property-features {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .factotum-featured-properties {
        max-width: 940px;
    }

    .factotum-featured-properties__track {
        gap: 22px;
    }

    .factotum-featured-card__content {
        padding: 28px 24px;
    }

    .factotum-featured-card__title {
        font-size: 24px;
    }

    .factotum-single-property__hero {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__summary {
        padding: 42px 34px;
    }

    .factotum-single-property__title {
        font-size: 42px;
    }

    .factotum-single-property__body {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__details,
    .factotum-single-property__highlights,
    .factotum-single-property__plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .factotum-propiedades-listado {
        gap: 24px;
    }

    .factotum-property-card {
        grid-template-columns: 1fr;
    }

    .property-image,
    .property-image__img,
    .property-image__placeholder {
        min-height: 330px;
    }

    .property-image__badge {
        top: 18px;
        left: 18px;
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    .property-media {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .property-media__item {
        min-height: 42px;
        padding: 0 11px;
        font-size: 13px;
    }

    .property-content {
        gap: 16px;
        padding: 28px 22px;
    }

    .property-location {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .property-title {
        font-size: 30px;
    }

    .property-price {
        margin-top: -8px;
        font-size: 34px;
    }

    .property-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .property-features li {
        min-height: 86px;
        gap: 10px;
        font-size: 14px;
    }

    .property-description {
        font-size: 17px;
        line-height: 1.6;
    }

    .property-tags span {
        min-height: 42px;
        font-size: 14px;
    }

    .property-actions,
    .property-button,
    .property-button--primary,
    .property-button--secondary {
        width: 100%;
        min-width: 0;
    }

    .factotum-featured-properties {
        max-width: none;
    }

    .factotum-featured-properties__title {
        margin-bottom: 28px;
        font-size: 22px;
        letter-spacing: 0.2em;
    }

    .factotum-featured-properties__track {
        display: flex;
        gap: 18px;
        margin-right: -18px;
        margin-left: -18px;
        overflow-x: auto;
        padding: 0 18px 12px;
        scroll-padding: 18px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .factotum-featured-card {
        flex: 0 0 calc(100vw - 36px);
        scroll-snap-align: start;
    }

.factotum-featured-card__image,
.factotum-featured-card__img,
.factotum-featured-card__placeholder {
    height: 250px;
    min-height: 250px;
}

    .factotum-featured-card__price {
        left: 18px;
        bottom: 18px;
        min-height: 46px;
        font-size: 23px;
    }

    .factotum-featured-card__content {
        gap: 17px;
        padding: 26px 24px 28px;
    }

    .factotum-featured-card__title {
        font-size: 26px;
    }

    .factotum-featured-properties__button {
        width: 100%;
        min-height: 54px;
        padding: 0 18px;
        font-size: 13px;
    }

    .factotum-single-property__hero,
    .factotum-single-property__media,
    .factotum-single-property__hero-img,
    .factotum-single-property__placeholder {
        min-height: 380px;
    }

    .factotum-single-property__operation {
        top: 18px;
        left: 18px;
        min-height: 48px;
        font-size: 14px;
    }

    .factotum-single-property__summary {
        gap: 16px;
        padding: 30px 22px;
    }

    .factotum-single-property__location {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .factotum-single-property__title {
        font-size: 32px;
    }

    .factotum-single-property__price {
        font-size: 34px;
    }

    .factotum-single-property__features {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__body {
        gap: 28px;
        padding: 38px 18px;
    }

    .factotum-single-property__description {
        font-size: 17px;
        line-height: 1.7;
    }

    .factotum-single-property__gallery {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__block {
        margin-bottom: 34px;
    }

    .factotum-single-property__block h2 {
        font-size: 24px;
    }

    .factotum-single-property__details div {
        padding: 16px;
    }

    .factotum-single-property__media-blocks > a,
    .factotum-single-property__documents a,
    .factotum-single-property__map-link {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 14px;
        font-size: 12px;
    }

    .factotum-single-property__embed iframe {
        min-height: 320px;
    }

    .factotum-single-property__contact {
        padding: 22px;
    }
}

/* Overrides finales v1.1.2: salida compacta y carrusel de ficha. */
.factotum-property-card {
    grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
    box-shadow: none;
}

.property-image {
    min-height: 420px;
    overflow: hidden;
}

.property-image__img {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
}

.property-image__placeholder {
    min-height: 420px;
}

.property-image__badge {
    min-height: 48px;
    font-size: 13px;
}

.property-media__item {
    min-height: 42px;
    font-size: 13px;
}

.property-content {
    gap: 15px;
    padding: 38px 42px;
}

.property-location,
.factotum-single-property__location {
    font-size: 12px;
    letter-spacing: 0.22em;
}

.property-title {
    font-size: 34px;
}

.property-price {
    font-size: 36px;
}

.property-features {
    gap: 12px;
    margin-bottom: 6px;
}

.property-features li {
    min-height: 78px;
    gap: 10px;
    font-size: 14px;
}

.property-description,
.factotum-single-property__description {
    font-size: 17px;
    line-height: 1.65;
}

.property-tags span {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.property-button {
    min-height: 56px;
    padding: 0 22px;
    font-size: 13px;
}

.factotum-single-property__hero {
    min-height: 540px;
    margin-top: 42px;
}

.factotum-single-property__media,
.factotum-single-property__hero-img,
.factotum-single-property__placeholder {
    min-height: 540px;
}

.factotum-single-property__summary {
    gap: 16px;
    padding: 42px 48px;
}

.factotum-single-property__title {
    font-size: 40px;
}

.factotum-single-property__price {
    font-size: 38px;
}

.factotum-single-property__features {
    gap: 12px;
}

.factotum-single-property__features li {
    min-height: 62px;
    font-size: 14px;
}

.factotum-single-property__carousel {
    width: min(100%, 1200px);
    margin: 18px auto 0;
}

.factotum-single-property__carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.factotum-single-property__carousel-head h2 {
    margin: 0;
    color: var(--factotum-single-navy);
    font-size: 22px;
    font-weight: 800;
}

.factotum-single-property__carousel-actions {
    display: flex;
    gap: 8px;
}

.factotum-carousel-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--factotum-single-navy);
    border-radius: 0;
    background: #fff;
    color: var(--factotum-single-navy);
    cursor: pointer;
}

.factotum-carousel-button:hover,
.factotum-carousel-button:focus {
    background: var(--factotum-single-navy);
    color: #fff;
}

.factotum-single-property__carousel-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.factotum-single-property__carousel-slide {
    flex: 0 0 calc((100% - 28px) / 3);
    margin: 0;
    background: #e8edf3;
    scroll-snap-align: start;
}

.factotum-single-property__carousel-slide a,
.factotum-single-property__carousel-slide img {
    display: block;
    width: 100%;
}

.factotum-single-property__carousel-slide img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.factotum-single-property__body {
    gap: 36px;
    padding-top: 42px;
    padding-bottom: 52px;
}

.factotum-single-property__block {
    margin-bottom: 32px;
}

.factotum-single-property__block h2 {
    margin-bottom: 16px;
    font-size: 23px;
}

.factotum-single-property__details {
    gap: 10px;
}

.factotum-single-property__details div {
    padding: 14px 16px;
}

.factotum-single-property__details dd {
    font-size: 16px;
}

.factotum-single-property__plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.factotum-single-property__plans article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
}

.factotum-single-property__plans h3 {
    margin: 0;
    font-size: 16px;
}

.factotum-single-property__plans a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: var(--factotum-single-navy);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .factotum-single-property__carousel {
        padding-inline: 18px;
    }
}

@media (max-width: 760px) {
    .factotum-propiedades-listado {
        width: 100%;
        padding-inline: 14px;
    }

    .factotum-property-card {
        grid-template-columns: 1fr;
    }

    .property-image,
    .property-image__placeholder {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .property-image__img {
        min-height: 0;
    }

    .property-content {
        padding: 24px 20px;
    }

    .property-title {
        font-size: 26px;
    }

    .property-price {
        font-size: 30px;
    }

    .property-features li {
        min-height: 70px;
        font-size: 13px;
    }

    .factotum-single-property__hero {
        margin-top: 24px;
        border-right: 0;
        border-left: 0;
    }

    .factotum-single-property__media,
    .factotum-single-property__hero-img,
    .factotum-single-property__placeholder {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .factotum-single-property__summary {
        padding: 26px 20px;
    }

    .factotum-single-property__title {
        font-size: 29px;
    }

    .factotum-single-property__price {
        font-size: 31px;
    }

    .factotum-single-property__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .factotum-single-property__features li {
        min-height: 58px;
        padding: 0 12px;
        font-size: 13px;
    }

    .factotum-single-property__carousel {
        margin-top: 16px;
        padding-inline: 14px;
    }

    .factotum-single-property__carousel-slide {
        flex-basis: 82vw;
    }

    .factotum-single-property__carousel-head h2 {
        font-size: 20px;
    }

    .factotum-single-property__body {
        padding: 30px 18px 42px;
    }

    .factotum-single-property__plans {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__plans article {
        align-items: flex-start;
        flex-direction: column;
    }

    .factotum-single-property__plans a {
        width: 100%;
        justify-content: center;
    }
}

/* Refinamiento premium v1.1.4: imágenes a sangre, galería compacta y sidebar útil. */
.factotum-property-card {
    align-items: stretch;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    min-height: 0;
    box-shadow: none;
}

.factotum-property-card .property-image {
    position: relative;
    align-self: stretch;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.factotum-property-card .property-image__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.factotum-property-card .property-image__placeholder {
    height: 100%;
    min-height: 420px;
}

.property-actions {
    align-items: center;
}

.property-button i.fa-arrow-right {
    transform: translateY(1px);
}

.factotum-single-property__gallery-panel {
    width: min(100%, 1200px);
    margin: 18px auto 0;
}

.factotum-single-property__gallery-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.factotum-single-property__gallery-head h2 {
    margin: 0;
    color: var(--factotum-single-navy);
    font-size: 22px;
    font-weight: 800;
}

.factotum-single-property__gallery-head span {
    color: #9b7b6f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.factotum-single-property__gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.factotum-single-property__gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--factotum-single-border);
    background: #f3f6f9;
}

.factotum-single-property__gallery-grid a,
.factotum-single-property__gallery-grid img {
    display: block;
    width: 100%;
}

.factotum-single-property__gallery-grid img {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.factotum-single-property__gallery-grid a:hover img,
.factotum-single-property__gallery-grid a:focus img {
    opacity: 0.92;
    transform: scale(1.025);
}

.factotum-single-property__body {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
}

.factotum-single-property__contact {
    position: sticky;
    top: 28px;
    box-shadow: 0 18px 42px rgba(0, 31, 95, 0.06);
}

.factotum-single-property__side-section {
    margin-top: 28px;
    border-top: 1px solid var(--factotum-single-border);
    padding-top: 24px;
}

.factotum-single-property__side-section h3 {
    margin: 0 0 14px;
    color: var(--factotum-single-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.factotum-single-property__side-details {
    display: grid;
    margin: 0;
}

.factotum-single-property__side-details div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: baseline;
    border-bottom: 1px solid #eef1f5;
    padding: 10px 0;
}

.factotum-single-property__side-details dt {
    margin: 0;
    color: #9b7b6f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
}

.factotum-single-property__side-details dd {
    margin: 0;
    color: #202634;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    text-align: right;
}

@media (max-width: 1180px) {
    .factotum-single-property__gallery-panel {
        padding-inline: 18px;
    }

    .factotum-single-property__gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .factotum-single-property__contact {
        position: static;
    }
}

@media (max-width: 760px) {
    .factotum-property-card {
        grid-template-columns: 1fr;
    }

    .factotum-property-card .property-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .factotum-property-card .property-image__img {
        height: 100%;
    }

    .factotum-single-property__gallery-panel {
        padding-inline: 14px;
    }

    .factotum-single-property__gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .factotum-single-property__gallery-grid img {
        aspect-ratio: 4 / 3;
    }

    .factotum-single-property__side-details div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .factotum-single-property__side-details dd {
        text-align: left;
    }
}

/* Lightbox y ajuste de cabecera v1.1.4. */
.factotum-single-property {
    background: #fff;
    padding-top: 42px;
}

.factotum-single-property__hero {
    margin-top: 0;
}

.factotum-lightbox-open {
    overflow: hidden;
}

.factotum-lightbox {
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(54px, 9vw) minmax(0, 1fr) minmax(54px, 9vw);
    align-items: center;
    gap: 0;
    padding: 34px 0;
    background: rgba(16, 18, 22, 0.92);
}

.factotum-lightbox__figure {
    display: grid;
    min-width: 0;
    max-height: calc(100vh - 68px);
    justify-items: center;
    margin: 0;
}

.factotum-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 104px);
    object-fit: contain;
    background: #fff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.factotum-lightbox__counter {
    margin-top: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.factotum-lightbox__close,
.factotum-lightbox__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.factotum-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
}

.factotum-lightbox__nav {
    width: 54px;
    height: 72px;
    justify-self: center;
}

.factotum-lightbox__close:hover,
.factotum-lightbox__close:focus,
.factotum-lightbox__nav:hover,
.factotum-lightbox__nav:focus {
    background: #fff;
    color: var(--factotum-single-navy, #001f5f);
}

@media (max-width: 760px) {
    .factotum-single-property {
        padding-top: 24px;
    }

    .factotum-lightbox {
        grid-template-columns: 54px minmax(0, 1fr) 54px;
        padding: 74px 0 28px;
    }

    .factotum-lightbox__close {
        top: 18px;
        right: 18px;
    }

    .factotum-lightbox__nav {
        width: 42px;
        height: 58px;
    }

    .factotum-lightbox__image {
        max-height: calc(100vh - 140px);
    }
}

/* Responsive final: el lateral pasa a bloque normal en tablet y movil. */
@media (max-width: 980px) {
    .factotum-single-property__body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .factotum-single-property__contact {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        box-shadow: 0 12px 30px rgba(0, 31, 95, 0.05);
    }

    .factotum-single-property__side-section {
        margin-top: 22px;
        padding-top: 20px;
    }

    .factotum-single-property__side-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }
}

@media (max-width: 560px) {
    .factotum-single-property__body {
        gap: 24px;
        padding-inline: 16px;
    }

    .factotum-single-property__contact {
        padding: 20px;
    }

    .factotum-single-property__side-section h3 {
        font-size: 17px;
    }

    .factotum-single-property__side-details {
        grid-template-columns: 1fr;
    }

    .factotum-single-property__side-details div {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .factotum-single-property__side-details dd {
        text-align: right;
    }
}

.factotum-single-property__gallery-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.factotum-single-property__gallery-grid figure {
    flex: 0 0 calc((100% - 42px) / 4);
    scroll-snap-align: start;
}

.factotum-single-property__gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 760px) {
    .factotum-single-property__gallery-grid figure {
        flex-basis: 82vw;
    }
}

/* Tipos de propiedad y estados destacados v1.1.6. */
.factotum-propiedades-browser {
    --factotum-navy: #001f5f;
    --factotum-border: #dce2ea;
    width: min(100%, 1200px);
    margin: 34px auto;
}

.factotum-propiedades-browser .factotum-propiedades-listado {
    width: 100%;
    margin: 0;
}

.factotum-property-type-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 28px;
}

.factotum-property-type-tabs__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--factotum-navy);
    border-radius: 0;
    padding: 0 22px;
    background: #fff;
    color: var(--factotum-navy);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.factotum-property-type-tabs__button.is-active,
.factotum-property-type-tabs__button:hover,
.factotum-property-type-tabs__button:focus {
    background: var(--factotum-navy);
    color: #fff;
}

.factotum-property-type-tabs + .factotum-propiedades-listado .factotum-property-card:not(.is-active-type),
.factotum-property-card[hidden] {
    display: none;
}

.factotum-featured-card__status {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    background: #a87519;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.factotum-featured-card__status--vendido,
.factotum-featured-card__status--alquilado {
    background: #343844;
}

.factotum-featured-card__status--proximamente {
    background: var(--factotum-featured-navy, #001f5f);
}

@media (max-width: 760px) {
    .factotum-propiedades-browser {
        width: 100%;
        margin: 24px auto;
        padding-inline: 14px;
    }

    .factotum-propiedades-browser .factotum-propiedades-listado {
        padding-inline: 0;
    }

    .factotum-property-type-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }

    .factotum-property-type-tabs__button {
        min-height: 42px;
        padding: 0 14px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }
}
