/*!
* Larrañaga Propiedades - Capa de rediseño UI
* Estilos responsive (mobile first) para la home, navbar y footer
*/

:root {
    --lp-primary: #0057CB;
    --lp-primary-dark: #003E92;
    --lp-primary-light: #4DA3FF;
    --lp-navy: #0A2342;
    --lp-navy-soft: #123055;
    --lp-ink: #012E46;
    --lp-muted: #6B7C93;
    --lp-line: #E4EAF2;
    --lp-surface: #FFFFFF;
    --lp-bg: #F6F9FD;
    --lp-danger: #E62238;
    --lp-success: #12A150;
    --lp-radius: 1rem;
    --lp-shadow-sm: 0 2px 8px rgba(10, 35, 66, .08);
    --lp-shadow-md: 0 10px 30px rgba(10, 35, 66, .10);
    --lp-shadow-lg: 0 18px 50px rgba(10, 35, 66, .16);
}

/* Modales compartidos */
.lp-filter-modal__close {
    display: grid !important;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    margin: .2rem 0 0;
    padding: 0 !important;
    place-items: center;
    appearance: none;
    border: 0 !important;
    border-radius: 50% !important;
    background: #eaf2ff !important;
    box-shadow: none !important;
    color: var(--lp-primary-dark) !important;
    cursor: pointer;
}

.lp-filter-modal__close span {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: .8;
}

.lp-filter-modal__close:hover,
.lp-filter-modal__close:focus-visible {
    background: #d9e9ff !important;
    color: var(--lp-navy) !important;
}

.lp-filter-modal__footer .btn-terciary {
    border: 1px solid var(--lp-line) !important;
    background: #fff !important;
    color: var(--lp-navy) !important;
}

.lp-filter-modal__footer .btn-terciary:hover,
.lp-filter-modal__footer .btn-terciary:focus-visible {
    border-color: #c5d9f4 !important;
    background: #edf4ff !important;
    color: var(--lp-primary-dark) !important;
}

.lp-converter-modal .modal-dialog {
    max-width: 620px;
}

.lp-converter-modal .lp-filter-modal__content {
    overflow: hidden;
    border: 1px solid rgba(10, 35, 66, .08);
    border-radius: 1.25rem;
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-lg);
}

.lp-converter-modal .lp-filter-modal__header {
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem 1.15rem;
    border-bottom: 1px solid var(--lp-line);
    background: linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
}

.lp-converter-modal .lp-filter-modal__eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: var(--lp-primary-light);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.lp-converter-modal .modal-title {
    color: var(--lp-navy);
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 700;
}

.lp-converter-modal .lp-filter-modal__header p {
    margin: .3rem 0 0;
    color: var(--lp-muted);
    font-size: .92rem;
}

.lp-converter-modal .lp-filter-modal__body {
    padding: 1.25rem 1.75rem;
}

.lp-converter-modal .lp-filter-modal__body label {
    margin-bottom: .4rem;
    color: var(--lp-navy);
    font-size: .9rem;
}

.lp-converter-modal .lp-filter-modal__body label i {
    color: var(--lp-primary);
}

.lp-converter-modal .lp-filter-modal__body .form-control,
.lp-converter-modal .lp-filter-modal__body .form-select {
    min-height: 46px;
    border: 1px solid #dce6f3;
    border-radius: .75rem;
    background-color: #f8faff;
    color: var(--lp-ink);
    box-shadow: none;
}

.lp-converter-modal .lp-filter-modal__body .form-control:focus,
.lp-converter-modal .lp-filter-modal__body .form-select:focus {
    border-color: var(--lp-primary-light);
    box-shadow: 0 0 0 .2rem rgba(0, 87, 203, .12);
}

.lp-converter-modal #resultado {
    margin: 0;
    padding: .9rem 1rem;
    border-radius: .85rem;
    background: #f3f7fd;
    color: var(--lp-navy);
    font-size: 1.15rem;
}

.lp-converter-modal .lp-filter-modal__footer {
    justify-content: flex-end;
    gap: .65rem;
    padding: .75rem 1.75rem 1.5rem;
    border-top: 1px solid var(--lp-line);
}

.lp-converter-modal .lp-filter-modal__footer .btn {
    min-height: 44px;
    border-radius: .75rem;
    font-weight: 700;
    padding: .65rem 1.15rem;
}

.lp-converter-modal .lp-filter-modal__footer .btn-terciary {
    border: 1px solid var(--lp-line);
    background: #fff;
    color: var(--lp-navy);
}

.lp-converter-modal #convertirBtn {
    border-radius: .75rem;
    background: var(--lp-primary);
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .lp-converter-modal .lp-filter-modal__header,
    .lp-converter-modal .lp-filter-modal__body {
        padding-right: 1.1rem;
        padding-left: 1.1rem;
    }

    .lp-converter-modal .lp-filter-modal__footer {
        padding-right: 1.1rem;
        padding-left: 1.1rem;
    }
}

body {
    background-color: var(--lp-bg);
}

/* ====== NAVBAR ====== */

#header .navbar {
    padding-top: .55rem;
    padding-bottom: .55rem;
    box-shadow: 0 2px 14px rgba(10, 35, 66, .18);
    transition: background-color .25s ease, box-shadow .25s ease;
}

main.side-app[data-page="home"] {
    padding-top: 0 !important;
}

#header .nav-link {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 2rem;
    padding: .35rem .7rem !important;
    transition: background-color .2s ease, color .2s ease;
}

#header .nav-link i {
    margin-right: .4rem;
}

#header li.nav-item {
    margin: .15rem;
}

@media (min-width: 992px) and (max-width: 1299.98px) {

    #header .nav-link {
        font-size: 14px;
        padding: .35rem .5rem !important;
    }
}

#header .nav-link:hover,
#header .nav-link:focus,
#header .nav-link.active {
    background-color: rgba(255, 255, 255, .16);
    color: #ffffff !important;
}

#header .navbar-toggler {
    border: 0;
    padding: .35rem .5rem;
    border-radius: .85rem;
    background-color: rgba(255, 255, 255, .14);
}

#header .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

/* ====== MENÚ OFF-CANVAS (MÓVIL) ====== */

@media (max-width: 991.98px) {

    .lp-offcanvas.offcanvas-end {
        width: min(360px, 88vw);
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
        color: #fff;
        border: 0;
        box-shadow: -14px 0 40px rgba(4, 25, 51, .35);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    /* Bootstrap JS 5.0.2 genera el backdrop del offcanvas con la clase .modal-backdrop
       (z-index 1050), que quedaría sobre el panel (1045). */
    .modal-backdrop {
        z-index: 1040;
    }

    .lp-offcanvas .offcanvas-header {
        flex: 0 0 auto;
        padding: max(1rem, env(safe-area-inset-top, 0px)) 1.1rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .lp-offcanvas__close {
        border: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #fff;
        background-color: rgba(255, 255, 255, .16);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: background-color .2s ease;
    }

    .lp-offcanvas__close:hover,
    .lp-offcanvas__close:focus {
        background-color: rgba(255, 255, 255, .3);
    }

    .lp-offcanvas .offcanvas-body {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        padding: 1rem .9rem 1.5rem;
    }

    .lp-offcanvas .navbar-nav {
        width: 100%;
        gap: .15rem;
    }

    .lp-offcanvas .nav-item {
        margin: 0 !important;
        width: 100%;
    }

    .lp-offcanvas .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        gap: .6rem;
        text-align: left;
        font-size: 16px;
        font-weight: 500;
        padding: .8rem 1rem !important;
        border-radius: .9rem;
    }

    .lp-offcanvas .nav-link i {
        width: 22px;
        margin-right: 0;
        text-align: center;
        opacity: .9;
    }
}

/* ====== HERO HOME ====== */

.lp-hero {
    position: relative;
    overflow: hidden;
}

.lp-hero__media {
    position: relative;
    height: 520px;
}

.lp-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 25, 51, .92) 0%, rgba(4, 25, 51, .72) 38%, rgba(4, 25, 51, .25) 70%, rgba(4, 25, 51, .35) 100%);
}

.lp-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

@media (min-width: 992px) {

    .lp-hero__content .container {
        padding-left: 3.5rem;
    }
}

/* Homepage discovery: location, personalized picks and touch-friendly carousels. */
.lp-home-discovery[hidden],
.lp-location-modal[hidden] { display: none !important; }
.lp-home-discovery__city-select { width: 100%; min-height: 48px; margin-top: 1rem; border-radius: .8rem; }
.lp-home-discovery__status { min-height: 1.25rem; margin: .75rem 0 0; color: var(--lp-muted); font-size: 13px; }
.lp-home-discovery__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.lp-home-discovery__controls { display: flex; flex: 0 0 auto; align-items: center; gap: .45rem; }
.lp-home-discovery__arrow { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid var(--lp-line); border-radius: 50%; background: #fff; color: var(--lp-primary); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.lp-home-discovery__arrow:hover { border-color: var(--lp-primary); background: var(--lp-primary); color: #fff; }
.lp-home-discovery__arrow:focus-visible { outline: 3px solid rgb(0 87 203 / 25%); outline-offset: 2px; }
.lp-home-discovery__arrow:disabled { opacity: .4; cursor: not-allowed; }
.lp-home-discovery__clear { border: 0; padding: .35rem .4rem; background: transparent; color: var(--lp-muted); font-size: 12px; text-decoration: underline; }
.lp-home-discovery__group { margin-top: 1.25rem; }
.lp-home-discovery__group-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.lp-home-discovery__group-title,
#home-recommendations-title { margin: 0 0 .1rem; color: var(--lp-ink); font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; line-height: 1.15; }
.lp-home-discovery__group-head p { margin: 0; color: var(--lp-muted); font-size: 13px; }
.lp-home-discovery__track { display: flex; align-items: stretch; gap: .85rem; overflow-x: auto; padding: .15rem .1rem .35rem; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.lp-home-discovery__track::-webkit-scrollbar { display: none; }
.lp-home-discovery__card { flex: 0 0 clamp(250px, 28vw, 305px); min-width: 0; scroll-snap-align: start; }
.lp-home-discovery__card > .card-outstanding-link { display: block; height: 100%; text-decoration: none; }
.lp-home-discovery__card .card.card-outstanding { height: 100%; }
.lp-home-discovery__card .card-body { padding: .8rem .85rem; }
.lp-home-discovery__card .card-title { font-size: 15px !important; line-height: 1.25; }
.lp-home-discovery__card .card-address { font-size: 12px !important; line-height: 1.3; }
.lp-home-discovery__card .card-price { font-size: clamp(17px, 1.4vw, 19px) !important; line-height: 1.15; overflow-wrap: anywhere; }
.lp-home-discovery__card .card-price-secondary { font-size: clamp(13px, 1.05vw, 15px) !important; line-height: 1.15; overflow-wrap: anywhere; }
.lp-home-discovery__search-count { margin: .25rem 0 0; color: var(--lp-muted); font-size: .76rem; font-weight: 600; line-height: 1.25; }
.lp-home-discovery__search-count i { margin-right: .2rem; color: var(--lp-primary); }
.lp-home-discovery__card .card-detail { padding-top: .45rem; margin-top: .45rem; font-size: 13px !important; }
.lp-home-discovery__card img.card-img-top { height: 175px; object-fit: cover; }
.lp-home-discovery__card--view-all { display: flex; }
.lp-home-discovery__view-all { display: flex; width: 100%; min-height: 310px; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1.25rem; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; box-shadow: var(--lp-shadow-sm); color: var(--lp-ink); text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.lp-home-discovery__view-all:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-md); color: var(--lp-primary); }
.lp-home-discovery__view-all-icon { display: grid; width: 48px; height: 48px; margin-bottom: .35rem; place-items: center; border-radius: 50%; background: #eaf2ff; color: var(--lp-primary); font-size: 18px; }
.lp-home-discovery__view-all strong { font-size: 1.2rem; }
.lp-home-discovery__view-all > span:last-child { max-width: 20ch; color: var(--lp-muted); font-size: 13px; }
.lp-home-discovery__pagination { display: flex; min-height: 22px; align-items: center; justify-content: center; gap: .45rem; padding-top: .35rem; }
.lp-home-discovery__pagination[hidden] { display: none !important; }
.lp-home-discovery__dot { display: block; width: 8px; height: 8px; flex: 0 0 8px; padding: 0; border: 0; border-radius: 50%; background: #c8d2df; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.lp-home-discovery__dot.is-active { background: var(--lp-primary); transform: scale(1.25); }

.lp-empty-properties-wrap { padding-top: 2rem; padding-bottom: 2rem; }
.lp-empty-properties { display: flex; max-width: 620px; min-height: 280px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 2.5rem); flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; box-shadow: var(--lp-shadow-sm); text-align: center; }
.lp-empty-properties__icon { display: grid; width: 58px; height: 58px; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: #eaf2ff; color: var(--lp-primary); font-size: 23px; }
.lp-empty-properties h2 { margin: 0 0 .55rem; color: var(--lp-ink); font-size: clamp(1.3rem, 4vw, 1.65rem); font-weight: 700; }
.lp-empty-properties p { max-width: 48ch; margin: 0 0 1.25rem; color: var(--lp-muted); line-height: 1.55; }
.lp-empty-properties .btn { min-height: 44px; padding: .65rem 1.1rem; border-radius: .7rem; }

.lp-location-modal { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 1rem; }
.lp-location-modal__backdrop { position: absolute; inset: 0; background: rgb(8 24 42 / 58%); backdrop-filter: blur(3px); }
.lp-location-modal__dialog { position: relative; z-index: 1; width: min(100%, 490px); max-height: min(90vh, 720px); overflow-y: auto; padding: clamp(1.35rem, 5vw, 2.2rem); border: 1px solid var(--lp-line); border-radius: 1.25rem; background: #fff; box-shadow: 0 24px 80px rgb(0 25 55 / 25%); }
.lp-location-modal__close { position: absolute; top: .85rem; right: .85rem; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: #f1f5fa; color: var(--lp-ink); }
.lp-location-modal__icon { display: grid; width: 48px; height: 48px; margin-bottom: 1rem; place-items: center; border-radius: 15px; background: #eaf2ff; color: var(--lp-primary); font-size: 20px; }
.lp-location-modal__dialog h2 { margin: 0 2rem .65rem 0; color: var(--lp-ink); font-size: clamp(1.4rem, 5vw, 1.8rem); font-weight: 750; line-height: 1.15; }
.lp-location-modal__dialog > p:not(.lp-eyebrow):not(.lp-home-discovery__status) { color: var(--lp-muted); line-height: 1.5; }
.lp-location-modal__actions { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; margin-top: 1.25rem; }
.lp-location-modal__actions > .btn { min-height: 48px; border-radius: .8rem; }
.lp-location-modal__actions--city { margin-top: 1rem; }
.lp-location-modal__skip { min-height: 42px; border: 0; background: transparent; color: var(--lp-muted); font-weight: 600; }
.lp-location-modal-open { overflow: hidden; }
.lp-location-reminder-wrap { padding-top: .75rem; }
.lp-location-reminder[hidden],
.lp-location-reminder-wrap[hidden] { display: none !important; }
.lp-location-reminder { display: flex; width: 100%; min-height: 76px; align-items: center; gap: .85rem; padding: .8rem 1rem; border: 1px solid var(--lp-line); border-radius: 1rem; background: linear-gradient(105deg, #fff 0%, #f5f9ff 100%); box-shadow: var(--lp-shadow-sm); color: var(--lp-ink); text-align: left; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lp-location-reminder:hover,
.lp-location-reminder:focus-visible { transform: translateY(-1px); border-color: #b9d3f8; box-shadow: var(--lp-shadow-md); }
.lp-location-reminder:focus-visible { outline: 3px solid rgb(0 87 203 / 20%); outline-offset: 2px; }
.lp-location-reminder__icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: .85rem; background: #eaf2ff; color: var(--lp-primary); font-size: 18px; }
.lp-location-reminder__copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: .15rem; }
.lp-location-reminder__copy strong { color: var(--lp-ink); font-size: .95rem; font-weight: 700; line-height: 1.2; }
.lp-location-reminder__copy small { color: var(--lp-muted); font-size: .78rem; line-height: 1.3; }
.lp-location-reminder__action { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .4rem; color: var(--lp-primary); font-size: .85rem; font-weight: 700; }
@media (max-width: 575.98px) {
    .lp-home-discovery__group-head { align-items: center; gap: .5rem; }
    .lp-home-discovery__group-title,
    #home-recommendations-title { font-size: clamp(1.25rem, 5.5vw, 1.5rem); }
    .lp-home-discovery__arrow { width: 34px; height: 34px; flex-basis: 34px; }
    .lp-home-discovery__card { flex-basis: min(82vw, 310px); }
    .lp-home-discovery__card img.card-img-top { height: 205px; }
    .lp-home-discovery__view-all { min-height: 340px; }
    .lp-home-discovery__pagination { padding-top: .25rem; }
    .lp-home-discovery__actions { justify-content: flex-start; }
    .lp-location-modal { padding: .65rem; }
    .lp-location-modal__dialog { border-radius: 1rem; }
    .lp-location-reminder-wrap { padding-top: .55rem; }
    .lp-location-reminder { min-height: 68px; gap: .65rem; padding: .7rem; border-radius: .9rem; }
    .lp-location-reminder__icon { width: 40px; height: 40px; flex-basis: 40px; }
    .lp-location-reminder__copy strong { font-size: .86rem; }
    .lp-location-reminder__copy small { font-size: .7rem; }
    .lp-location-reminder__action { font-size: .78rem; }
}

.lp-hero__eyebrow {
    color: #9FC6FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.lp-hero__title {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: .9rem;
    max-width: 16ch;
}

.lp-hero__title span {
    color: var(--lp-primary-light);
}

.lp-hero__text {
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    line-height: 1.45;
    max-width: 46ch;
    margin-bottom: 0;
}

/* Buscador */

.lp-search {
    position: relative;
    z-index: 3;
    margin-top: -92px;
}

.lp-search__tabs {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.lp-search__tab {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, .78);
    color: var(--lp-ink);
    font-size: 15px;
    font-weight: 600;
    padding: .7rem 1.4rem;
    border-radius: .9rem .9rem 0 0;
    transition: background-color .2s ease, color .2s ease;
}

.lp-search__tab:hover {
    background-color: #ffffff;
    color: var(--lp-primary);
}

.lp-search__tab.is-active {
    background-color: var(--lp-primary);
    color: #ffffff;
}

.lp-search__panel {
    background-color: #ffffff;
    border-radius: 0 1rem 1rem 1rem;
    box-shadow: var(--lp-shadow-lg);
    padding: 1rem;
}

.lp-field .btn.lp-field__toggle {
    width: 100%;
    text-align: left;
    background-color: #ffffff !important;
    border: 1px solid var(--lp-line);
    border-radius: .75rem;
    color: var(--lp-ink);
    font-size: 15px;
    font-weight: 500;
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-field .btn.lp-field__toggle:hover,
.lp-field .btn.lp-field__toggle:focus,
.lp-field .btn.lp-field__toggle.show {
    background-color: #F4F8FF !important;
    border-color: var(--lp-primary-light);
    color: var(--lp-ink) !important;
}

.lp-field .btn.lp-field__toggle::after {
    margin-left: auto;
}

.lp-field__toggle i {
    color: var(--lp-primary);
}

.lp-field .dropdown-menu {
    border: 1px solid var(--lp-line);
    border-radius: .75rem;
    box-shadow: var(--lp-shadow-md);
    max-height: 18rem;
    overflow-y: auto;
}

.lp-field .dropdown-item {
    cursor: pointer;
    white-space: normal;
}

.lp-search__submit.btn {
    width: 100%;
    border-radius: .75rem;
    font-size: 16px;
    font-weight: 600;
    padding: .7rem 1rem;
}

/* Sellos de confianza */

.lp-trust {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.lp-trust__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #E8F1FF;
    color: var(--lp-primary);
    font-size: 18px;
}

.lp-trust__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: .1rem;
    line-height: 1.2;
}

.lp-trust__text {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.3;
    margin-bottom: 0;
}

/* ====== ENCABEZADOS DE SECCIÓN ====== */

.lp-section {
    padding: 2.5rem 0;
}

.lp-section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.lp-eyebrow {
    color: var(--lp-primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.lp-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .25rem;
}

.lp-section-text {
    color: var(--lp-muted);
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 0;
}

.btn.lp-link-btn {
    border: 1px solid #BBD4F7;
    background-color: #ffffff !important;
    color: var(--lp-primary) !important;
    border-radius: 2rem;
    font-size: 14px;
    font-weight: 600;
    padding: .45rem 1.1rem;
    white-space: nowrap;
}

.btn.lp-link-btn:hover {
    background-color: var(--lp-primary) !important;
    color: #ffffff !important;
    border-color: var(--lp-primary);
}

/* ====== TARJETAS DE PROPIEDAD ====== */

.card.card-outstanding {
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    overflow: hidden;
}

.card.card-outstanding:hover {
    background-color: #ffffff !important;
    box-shadow: var(--lp-shadow-md);
    transform: translateY(-3px);
}

.lp-card-media {
    position: relative;
}

.lp-card-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    padding: .3rem .7rem;
    border-radius: 2rem;
    box-shadow: var(--lp-shadow-sm);
}

.lp-card-badge--venta {
    background-color: var(--lp-primary);
}

.lp-card-badge--arriendo {
    background-color: var(--lp-success);
}

.card.card-outstanding .card-body .card-address {
    color: var(--lp-muted);
}

.card.card-outstanding .card-body .card-detail {
    border-top: 1px solid var(--lp-line);
    padding-top: .6rem;
    margin-top: .6rem;
    font-weight: 600;
    color: var(--lp-ink);
}

/* ====== BANNER CTA ====== */

.lp-cta {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background-color: var(--lp-navy);
    color: #ffffff;
    box-shadow: var(--lp-shadow-md);
}

.lp-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}

.lp-cta__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 35, 66, .97) 0%, rgba(10, 35, 66, .88) 45%, rgba(10, 35, 66, .55) 100%);
}

.lp-cta__content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
}

.lp-cta__title {
    font-size: clamp(1.5rem, 3.4vw, 2.3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: .75rem;
}

.lp-cta__title span {
    color: var(--lp-primary-light);
}

.lp-cta__text {
    color: rgba(255, 255, 255, .85);
    line-height: 1.4;
    margin-bottom: 1.25rem;
    max-width: 48ch;
}

.lp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.btn.lp-btn-light {
    background-color: #ffffff !important;
    color: var(--lp-primary) !important;
    border: 0;
    border-radius: 2rem;
    font-weight: 600;
    padding: .6rem 1.3rem;
}

.btn.lp-btn-light:hover {
    background-color: #E8F1FF !important;
}

.btn.lp-btn-ghost {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 2rem;
    font-weight: 600;
    padding: .6rem 1.3rem;
}

.btn.lp-btn-ghost:hover {
    background-color: rgba(255, 255, 255, .14) !important;
    border-color: #ffffff;
}

.lp-cta__facts {
    background-color: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lp-fact {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.lp-fact+.lp-fact {
    margin-top: .9rem;
}

.lp-fact__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .18);
    color: #ffffff;
    font-size: 15px;
}

.lp-fact__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
}

.lp-fact__text {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.2;
    margin-bottom: 0;
}

/* Tarjeta Rent a Car */

.lp-rentcar-wrap {
    padding: 1.25rem 0 0;
}

.lp-rentcar {
    position: relative;
    overflow: hidden;
    min-height: 215px;
    border-radius: 1.25rem;
    background: #9F003D;
    color: #ffffff;
    box-shadow: var(--lp-shadow-md);
}

.lp-rentcar__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

.lp-rentcar__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(155, 0, 58, .98) 0%, rgba(213, 0, 80, .94) 48%, rgba(155, 0, 58, .38) 72%, rgba(10, 35, 66, .16) 100%);
}

.lp-rentcar__content {
    position: relative;
    z-index: 2;
    width: min(68%, 760px);
    padding: 1.4rem 2rem;
}

.lp-rentcar__eyebrow {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.lp-rentcar__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: .65rem;
}

.lp-rentcar__text {
    max-width: 48ch;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: .65rem;
}

.lp-rentcar__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.2rem;
    margin-bottom: .9rem;
}

.lp-rentcar__benefits span {
    font-size: 13px;
    font-weight: 600;
}

.lp-rentcar__benefits i {
    margin-right: .25rem;
    color: #FFD76A;
}

.btn.lp-rentcar__button {
    border: 0;
    border-radius: 2rem;
    background: #ffffff !important;
    color: #C9004D !important;
    font-weight: 700;
    padding: .6rem 1.2rem;
}

.btn.lp-rentcar__button:hover {
    background: #FFF0F5 !important;
    color: #A3003E !important;
}

/* ====== MAPA ====== */

#map-propiedades #map {
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow-sm);
}

/* ====== BLOG EN HOME ====== */

.lp-post-card {
    display: block;
    height: 100%;
    background-color: #ffffff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    overflow: hidden;
    color: inherit;
    transition: box-shadow .2s ease, transform .2s ease;
}

.lp-post-card:hover {
    box-shadow: var(--lp-shadow-md);
    transform: translateY(-3px);
}

.lp-post-card__img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.lp-post-card__body {
    padding: 1rem;
}

.lp-post-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: .4rem;
}

.lp-post-card__date {
    font-size: 13px;
    color: var(--lp-muted);
    margin-bottom: 0;
}

/* ====== FOOTER ====== */

.footer {
    background-color: var(--lp-navy);
    color: rgba(255, 255, 255, .82);
}

.footer a {
    color: rgba(255, 255, 255, .82);
}

.footer a:hover {
    color: #ffffff;
}

.footer-color {
    background-color: #071A30;
}

.lp-footer-brand {
    height: 46px;
}

.lp-footer-about {
    font-size: 14px;
    line-height: 1.45;
    max-width: 34ch;
}

.lp-footer-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .75rem;
}

.lp-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-list li {
    margin-bottom: .4rem;
    font-size: 14px;
}

.lp-footer-info {
    display: flex;
    gap: .6rem;
    margin-bottom: .9rem;
    font-size: 14px;
    line-height: 1.35;
}

.lp-footer-info i {
    color: var(--lp-primary-light);
    margin-top: .2rem;
}

.lp-footer-info strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
}

.lp-social {
    display: flex;
    gap: .5rem;
}

.lp-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 17px;
    transition: background-color .2s ease;
}

.lp-social a:hover {
    background-color: var(--lp-primary);
}

.footer-color .autor-page {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

/* Home: navegación clara, acceso a publicación y búsqueda compacta. */
#header .navbar {
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 2px 16px rgba(10, 35, 66, .08);
    backdrop-filter: blur(12px);
}

#header .navbar .navbar-nav .nav-link {
    color: var(--lp-navy) !important;
}

#header .navbar .navbar-nav .nav-link:hover,
#header .navbar .navbar-nav .nav-link:focus,
#header .navbar .navbar-nav .nav-link.active {
    background: #eaf2ff;
    color: var(--lp-primary) !important;
}

#header .navbar .navbar-toggler {
    background: #edf4ff;
}

#header .navbar .navbar-toggler-icon {
    filter: brightness(0) saturate(100%) invert(16%) sepia(45%) saturate(1202%) hue-rotate(176deg) brightness(94%) contrast(92%);
}

.lp-navbar-publish {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .55rem 1rem;
    border: 1px solid var(--lp-primary);
    border-radius: .8rem;
    background: #fff;
    color: var(--lp-primary) !important;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.lp-navbar-publish:hover,
.lp-navbar-publish:focus-visible {
    background: var(--lp-primary);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 87, 203, .18);
}

.lp-search--home {
    margin: 0;
    padding: 6.25rem 0 1.1rem;
}

.lp-search--home .container {
    max-width: 1240px;
}

.lp-search--home .lp-search__panel {
    padding: .55rem;
    border: 1px solid rgba(220, 230, 243, .9);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 32px rgba(10, 35, 66, .12);
}

.lp-search--home .lp-search__panel > form > .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: .5rem;
}

.lp-search--home .lp-search__cell {
    padding: .2rem .4rem;
    border-right: 1px solid var(--lp-line);
}

.lp-search--home .lp-search__cell--action {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 0;
}

.lp-search__mode {
    display: flex;
    gap: .2rem;
    min-height: 52px;
    align-items: center;
    padding: .2rem;
    border-radius: .8rem;
    background: #f2f7fd;
}

.lp-search__mode-button {
    display: inline-flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-width: 0;
    min-height: 42px;
    padding: .45rem .3rem;
    border: 0;
    border-radius: .65rem;
    background: transparent;
    color: var(--lp-navy);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.lp-search--home .lp-search__mode-button {
    padding-right: .7rem;
    padding-left: .7rem;
}

.lp-search__mode-button i {
    color: var(--lp-primary);
}

.lp-search__mode-button.is-active {
    background: #fff;
    color: var(--lp-primary);
    box-shadow: 0 2px 7px rgba(10, 35, 66, .1);
}

.lp-search--home .lp-field .btn.lp-field__toggle {
    min-height: 52px;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .8rem;
    background: transparent !important;
    font-size: .88rem;
}

.lp-search--home .lp-field .btn.lp-field__toggle:hover,
.lp-search--home .lp-field .btn.lp-field__toggle:focus,
.lp-search--home .lp-field .btn.lp-field__toggle.show {
    background: #f5f8fd !important;
    border-color: transparent;
}

.lp-search--home .lp-search__submit.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--lp-primary);
    box-shadow: 0 6px 14px rgba(0, 87, 203, .2);
    font-size: 1.15rem;
}

.lp-search--home .lp-search__submit.btn:hover,
.lp-search--home .lp-search__submit.btn:focus-visible {
    background: var(--lp-primary-dark);
    box-shadow: 0 8px 18px rgba(0, 87, 203, .25);
}

.lp-search__submit-label {
    display: none;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 991.98px) {

    #header .navbar .lp-offcanvas .navbar-nav .nav-link {
        color: #fff !important;
    }

    #header .navbar .lp-offcanvas .navbar-nav .nav-link:hover,
    #header .navbar .lp-offcanvas .navbar-nav .nav-link:focus,
    #header .navbar .lp-offcanvas .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, .16);
        color: #fff !important;
    }

    .lp-navbar-publish--mobile {
        display: flex;
        margin: .85rem .25rem .25rem;
        border-color: rgba(255, 255, 255, .8);
        background: #fff;
        color: var(--lp-primary) !important;
    }

    .lp-search--home {
        padding-top: 6rem;
    }

    .lp-search--home .lp-search__cell {
        border-right: 0;
    }

    .lp-search--home .lp-field .btn.lp-field__toggle {
        min-height: 46px;
        padding: .55rem .8rem;
        border: 1px solid var(--lp-line);
        background: #fff !important;
    }

    .lp-search--home .lp-search__submit.btn {
        width: 100%;
        height: 46px;
        gap: .5rem;
        border-radius: .75rem;
        font-size: .95rem;
    }

    .lp-search--home .lp-search__submit-label {
        display: inline;
    }

    .lp-hero__media {
        height: 440px;
    }

    /* Compensa la navbar fija y la zona que cubre el buscador
       para que el texto quede centrado en el área visible. */
    .lp-hero__content {
        padding-top: 63px;
        padding-bottom: 70px;
    }

    .lp-search:not(.lp-search--home) {
        margin-top: -70px;
    }

    .lp-cta__content {
        padding: 1.75rem 1.25rem;
    }

    .lp-rentcar__content {
        width: 76%;
    }
}

/* Promoción compacta para Rent a Car en la portada. */
.lp-rentcar-wrap .lp-rentcar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 180px;
    border: 1px solid #e1e7ec;
    background: #fff;
    color: #202832;
    box-shadow: 0 14px 34px rgba(10, 35, 66, .1);
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.lp-rentcar-wrap .lp-rentcar:hover,
.lp-rentcar-wrap .lp-rentcar:focus-visible {
    color: #202832;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(10, 35, 66, .14);
    transform: translateY(-2px);
}

.lp-rentcar-wrap .lp-rentcar:focus-visible {
    outline: 3px solid rgba(0, 87, 203, .45);
    outline-offset: 3px;
}

.lp-rentcar-wrap .lp-rentcar__bg {
    left: auto;
    width: 62%;
    object-position: 78% center;
}

.lp-rentcar-wrap .lp-rentcar__veil {
    background: linear-gradient(90deg, #fff 0%, #fff 39%, rgba(255, 255, 255, .9) 48%, rgba(255, 255, 255, .2) 61%, rgba(255, 255, 255, 0) 72%);
}

.lp-rentcar-wrap .lp-rentcar__content {
    width: min(62%, 760px);
    padding: 1rem 1.75rem;
}

.lp-rentcar-wrap .lp-rentcar__accent {
    display: block;
    width: 48px;
    height: 6px;
    margin-bottom: .7rem;
    border-radius: 10px;
    background: #d9004f;
}

.lp-rentcar-wrap .lp-rentcar__title {
    margin-bottom: .2rem;
    color: #202832;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    line-height: 1.08;
}

.lp-rentcar-wrap .lp-rentcar__text {
    max-width: 44ch;
    margin-bottom: .5rem;
    color: #4b5563;
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    line-height: 1.35;
}

.lp-rentcar-wrap .lp-rentcar__button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .15rem 0;
    border: 0;
    background: transparent !important;
    color: #d9004f !important;
    font-size: 1rem;
    font-weight: 700;
}

.lp-rentcar-wrap .lp-rentcar:hover .lp-rentcar__button,
.lp-rentcar-wrap .lp-rentcar:focus-visible .lp-rentcar__button {
    background: transparent !important;
    color: #a8003d !important;
}

.lp-rentcar__mobile-open { display: none !important; }

@media (max-width: 767.98px) {
    .lp-rentcar-wrap .lp-rentcar {
        display: none !important;
    }

    .lp-rentcar-wrap .lp-rentcar__mobile-open {
        display: inline-flex !important;
        background: linear-gradient(110deg, #e20a54 0%, #c9004d 58%, #a8003d 100%);
        box-shadow: 0 10px 24px rgba(190, 0, 66, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

    .lp-rentcar-wrap .lp-rentcar__mobile-open:hover,
    .lp-rentcar-wrap .lp-rentcar__mobile-open:focus-visible {
        background: linear-gradient(110deg, #cf084b 0%, #b50045 58%, #930038 100%);
        box-shadow: 0 13px 28px rgba(190, 0, 66, .3), inset 0 1px 0 rgba(255, 255, 255, .2);
    }

    .lp-rentcar-wrap .lp-search__mobile-icon {
        background: rgba(255, 255, 255, .16);
    }

    .lp-rentcar-wrap .lp-rentcar__text {
        max-width: 25ch;
        margin-bottom: .45rem;
        font-size: .95rem;
    }

    .lp-rentcar-wrap .lp-rentcar__button {
        width: auto;
        font-size: .95rem;
    }
}

/* Más propiedades visibles en cada fila, con tipografía ajustada al nuevo ancho. */
#home-outstanding #cards-outstanding .outstanding > .row {
    --bs-gutter-x: .75rem;
}

#home-outstanding .card.card-outstanding .card-body {
    padding: .8rem .85rem;
}

#home-outstanding .card.card-outstanding .card-title {
    font-size: 15px !important;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

#home-outstanding .card.card-outstanding .card-address {
    font-size: 12px !important;
    line-height: 1.3;
}

#home-outstanding .card.card-outstanding .card-price {
    font-size: 20px !important;
    line-height: 1.2;
}

#home-outstanding .card.card-outstanding .card-body .ft-14,
#home-outstanding .card.card-outstanding .card-body .ft-16 {
    font-size: 12px !important;
}

#home-outstanding .card.card-outstanding .card-detail {
    padding-top: .45rem;
    margin-top: .45rem;
    font-size: 13px !important;
}

#home-outstanding .card-outstanding img.card-img-top {
    height: 175px;
}

@media (min-width: 1400px) {
    #home-outstanding .card-outstanding img.card-img-top {
        height: 155px;
    }

    #home-outstanding .card.card-outstanding .card-body {
        padding: .7rem .75rem;
    }

    #home-outstanding .card.card-outstanding .card-title {
        font-size: 14px !important;
    }

    #home-outstanding .card.card-outstanding .card-price {
        font-size: 18px !important;
    }
}

@media (max-width: 575.98px) {
    #home-outstanding .card-outstanding img.card-img-top {
        height: 205px;
    }
}

@media (max-width: 767.98px) {

    #header .navbar .container {
        min-height: 48px;
    }

    #header .navbar-brand .logo-navbar {
        width: auto;
        height: 38px;
    }

    .lp-search--home {
        margin-top: 0;
        padding-top: 6.5rem;
    }

    .lp-search--home .lp-search__panel {
        padding: .7rem;
        border-radius: 1rem;
    }

    .lp-search--home .lp-search__cell {
        border-right: 0;
    }

    .lp-search--home .lp-search__panel > form > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .35rem;
        margin: 0;
    }

    .lp-search--home .lp-search__cell {
        width: 100%;
        min-width: 0;
        padding: .1rem 0;
    }

    .lp-search--home .lp-search__mode,
    .lp-search--home .lp-field,
    .lp-search--home .lp-search__cell--action {
        width: 100%;
    }

    .lp-search--home .dropdown-menu {
        max-width: calc(100vw - 2.5rem);
        max-height: 42vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .lp-search__mode {
        min-height: 46px;
    }

    .lp-search__mode-button {
        min-height: 38px;
        font-size: .9rem;
    }

    .lp-search--home .lp-field .btn.lp-field__toggle {
        min-height: 46px;
        padding: .55rem .8rem;
        border: 1px solid var(--lp-line);
        background: #fff !important;
    }

    .lp-search--home .lp-search__submit.btn {
        width: 100%;
        height: 46px;
        gap: .5rem;
        border-radius: .75rem;
        font-size: .95rem;
    }

    .lp-search__submit-label {
        display: inline;
    }

    .lp-hero__media {
        height: 420px;
    }

    .lp-hero__content {
        padding-bottom: 56px;
    }

    .lp-hero__title {
        max-width: 100%;
    }

    .lp-hero__text {
        font-size: 15px;
    }

    .lp-search:not(.lp-search--home) {
        margin-top: -56px;
    }

    .lp-search__tabs {
        gap: .2rem;
    }

    .lp-search__tab {
        flex: 1 1 0;
        justify-content: center;
        font-size: 14px;
        padding: .6rem .5rem;
        border-radius: .75rem .75rem 0 0;
    }

    .lp-search__panel {
        border-radius: 1rem;
        padding: .85rem;
    }

    .lp-section {
        padding: 1.75rem 0;
    }

    .lp-section-head {
        align-items: flex-start;
    }

    .btn.lp-link-btn {
        width: 100%;
        text-align: center;
    }

    .lp-cta__actions .btn {
        width: 100%;
        text-align: center;
    }

    .lp-rentcar-wrap {
        padding-top: .75rem;
    }

    .lp-rentcar__content {
        width: 100%;
        padding: 1.3rem 1.25rem;
    }

    .lp-rentcar__veil {
        background: linear-gradient(90deg, rgba(164, 0, 61, .98) 0%, rgba(216, 0, 81, .93) 100%);
    }

    .lp-rentcar__bg {
        opacity: .2;
    }

    .lp-rentcar__text {
        font-size: 14px;
    }

    .lp-rentcar__benefits {
        display: grid;
        gap: .35rem;
        margin-bottom: 1rem;
    }

    .lp-rentcar__button {
        width: 100%;
    }

    .lp-post-card__img {
        height: 170px;
    }

    .lp-footer-about {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .lp-social {
        justify-content: center;
    }

    .footer .lp-footer-heading,
    .footer .lp-footer-list {
        text-align: center;
    }

    .footer .lp-footer-info {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        gap: .3rem;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .footer .lp-footer-info > div {
        text-align: center !important;
    }

    .footer .lp-footer-info > i {
        margin: 0;
        font-size: 1.05rem;
    }
}

@media (max-width: 575.98px) {

    .lp-search__tab span {
        display: inline;
    }

    .lp-hero__media {
        height: 400px;
    }
}

/* ====== BARRA SOCIAL FLOTANTE ====== */

.social {
    z-index: 1020;
}

.social ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
}

.social ul li {
    display: block;
}

.social ul li a.link-social {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 46px;
    height: 46px;
    padding: 0 0 0 11px;
    border-radius: 0 999px 999px 0;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(4, 25, 51, .25);
    backdrop-filter: blur(2px);
    transition: width .28s ease, box-shadow .28s ease, transform .28s ease;
}

.social ul li a.link-social .social-icon {
    flex: 0 0 24px;
    width: 24px;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social ul li a.link-social .social-label {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .18s ease, transform .25s ease;
}

.social ul li a.link-social:hover,
.social ul li a.link-social:focus-visible {
    width: 160px;
    padding-right: 1rem;
    box-shadow: 0 14px 30px rgba(4, 25, 51, .35);
    transform: translateX(2px);
}

.social ul li a.link-social:hover .social-label,
.social ul li a.link-social:focus-visible .social-label {
    opacity: 1;
    transform: translateX(0);
}

.social ul li a.icon-converter,
.social ul li a.icon-converter:hover {
    background: linear-gradient(135deg, #0A6BE0 0%, #003E92 100%) !important;
}

.social ul li a.icon-facebook,
.social ul li a.icon-facebook:hover {
    background: linear-gradient(135deg, #2D8CFF 0%, #0C5BD1 100%) !important;
}

.social ul li a.icon-instagram,
.social ul li a.icon-instagram:hover {
    background: linear-gradient(135deg, #F9A03F 0%, #DD2A7B 55%, #8134AF 100%) !important;
}

@media (max-width: 767.98px) {

    .social ul {
        gap: .4rem;
    }

    .social ul li a.link-social {
        width: 42px;
        height: 42px;
        padding-left: 9px;
    }

    .social ul li a.link-social:hover,
    .social ul li a.link-social:focus-visible {
        width: 42px;
        padding-right: 0;
        transform: none;
    }

    .social ul li a.link-social .social-label {
        display: none;
    }
}

/* Mobile home search: keep one entry point and show the existing filters in a modal. */
.lp-search__mobile-open {
    display: none;
}

.lp-home-search-modal.lp-search--home {
    margin: 0;
    padding: 0;
}

.lp-home-search-modal .modal-header {
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem .9rem;
    border-bottom: 1px solid var(--lp-line);
    background: #f5f8fd;
}

.lp-home-search-modal__eyebrow {
    margin: 0 0 .25rem;
    color: var(--lp-primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lp-home-search-modal .modal-title {
    margin: 0;
    color: var(--lp-navy);
    font-size: 1.35rem;
    font-weight: 700;
}

.lp-home-search-modal__close {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--lp-primary);
    font-size: 1.1rem;
    cursor: pointer;
}

.lp-home-search-modal__close:hover,
.lp-home-search-modal__close:focus-visible {
    background: var(--lp-primary);
    color: #fff;
}

.lp-home-search-modal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

.lp-home-search-modal .lp-search__panel {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    #header .navbar .container {
        position: relative;
        justify-content: space-between;
    }

    #header .navbar .navbar-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        margin: 0;
        transform: translate(-50%, -50%);
    }

    #header .navbar .navbar-toggler {
        position: relative;
        z-index: 2;
        margin-left: auto;
    }

    .lp-search__mobile-open {
        display: inline-flex;
        position: relative;
        align-items: center;
        justify-content: flex-start;
        gap: .85rem;
        width: 100%;
        min-height: 68px;
        padding: .7rem .9rem;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 1.1rem;
        background: linear-gradient(110deg, #0868df 0%, #0053c7 58%, #0648ad 100%);
        color: #fff;
        box-shadow: 0 10px 24px rgba(0, 76, 180, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
        text-align: left;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .lp-search__mobile-open:hover,
    .lp-search__mobile-open:focus-visible {
        background: linear-gradient(110deg, #075dce 0%, #004bb7 58%, #043f9d 100%);
        color: #fff;
        box-shadow: 0 13px 28px rgba(0, 76, 180, .3), inset 0 1px 0 rgba(255, 255, 255, .2);
        transform: translateY(-1px);
    }

    .lp-search__mobile-open:focus-visible {
        outline: 3px solid rgba(0, 87, 203, .24);
        outline-offset: 3px;
    }

    .lp-search__mobile-icon,
    .lp-search__mobile-arrow {
        display: grid;
        flex: 0 0 auto;
        place-items: center;
    }

    .lp-search__mobile-icon {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: .85rem;
        background: rgba(255, 255, 255, .15);
        font-size: 18px;
    }

    .lp-search__mobile-copy {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        flex-direction: column;
        gap: .15rem;
    }

    .lp-search__mobile-copy strong {
        font-size: 1rem;
        font-weight: 750;
        line-height: 1.15;
    }

    .lp-search__mobile-copy small {
        color: rgba(255, 255, 255, .82);
        font-size: .72rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .lp-search__mobile-arrow {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
        font-size: 14px;
    }

    .lp-home-search-modal .modal-dialog {
        width: calc(100% - 1.5rem);
        max-width: 560px;
        margin: .75rem auto;
    }

    .lp-home-search-modal .modal-content {
        overflow: hidden;
        border: 1px solid rgba(220, 230, 243, .95);
        border-radius: 1.2rem;
        background: #fff;
        box-shadow: 0 20px 55px rgba(10, 35, 66, .24);
    }

    .lp-home-search-modal .modal-body {
        max-height: calc(100dvh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 992px) {
    /* Bootstrap modal styling is disabled on desktop so the same form remains inline. */
    .lp-home-search-modal.modal {
        position: static;
        display: block !important;
        width: auto;
        height: auto;
        overflow: visible;
        padding: 0 !important;
        opacity: 1;
        background: transparent;
        transition: none;
    }

    .lp-home-search-modal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 0;
        transform: none !important;
        pointer-events: auto;
        transition: none;
    }

    .lp-home-search-modal .modal-content {
        display: block;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .lp-home-search-modal .modal-header {
        display: none;
    }

    .lp-home-search-modal .modal-body {
        overflow: visible;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .lp-search--home > .container {
        max-width: 1120px;
    }

    .lp-home-search-modal.lp-search--home .lp-search__panel {
        padding: .55rem;
        border: 1px solid rgba(220, 230, 243, .9);
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 12px 32px rgba(10, 35, 66, .12);
    }
}
