[v-cloak] {
    display: none;
}

:root {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--lp-font, var(--font-main));
    background: var(--lp-bg, var(--color-bg));
    color: var(--lp-text, var(--color-text));
}

a {
    color: inherit;
    text-decoration: none;
}

.loading,
.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    text-align: center;
}

.error-page {
    color: #991b1b;
}

.lp-page {
    min-height: 100vh;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
}

.lp-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 56px;
    z-index: 10;
    color: #fff;
}

.lp-navbar-transparente .lp-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
}

.lp-navbar-blanca .lp-navbar {
    position: relative;
    background: #fff;
    color: var(--lp-text);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
}

.lp-navbar-oscura .lp-navbar {
    position: relative;
    background: #07111f;
    color: #fff;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--lp-secondary);
    color: #fff;
    font-weight: 900;
}

.lp-logo strong {
    display: block;
    font-size: 20px;
}

.lp-logo small {
    display: block;
    font-size: 12px;
    opacity: .85;
}

.lp-menu {
    display: flex;
    gap: 24px;
    font-weight: 700;
}

.lp-hero {
    position: relative;
    min-height: 640px;
    padding: 160px 56px 110px;
    background-size: cover;
    background-position: center;
    color: var(--lp-text-light);
    overflow: hidden;
}

.lp-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .18));
}

.lp-hero-content {
    position: relative;
    max-width: 760px;
    z-index: 2;
}

.lp-eyebrow {
    color: var(--lp-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

.lp-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    margin: 10px 0 20px;
    color: #fff;
}

.lp-hero p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
}

.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.lp-btn {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-btn.main {
    background: var(--lp-secondary);
    color: #fff;
}

.lp-btn.outline {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}

/* HERO: imagen */
.lp-hero-imagen .lp-hero-content:before {
    content: "";
    display: block;
    width: 5px;
    height: 52px;
    background: var(--lp-secondary);
    border-radius: 4px;
    margin-bottom: 22px;
}

/* HERO: split */
.lp-hero-split .lp-hero {
    background-image: none !important;
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 560px;
    padding: 90px 56px;
}

.lp-hero-split .lp-hero:before {
    display: none;
}

.lp-hero-split .lp-hero h1 {
    color: var(--lp-text);
}

.lp-hero-split .lp-hero p {
    color: #64748b;
}

.lp-hero-split .lp-btn.outline {
    color: var(--lp-text);
    border-color: #cbd5e1;
    background: #fff;
}

.lp-hero-split .lp-hero-img {
    display: block;
    height: 400px;
    border-radius: 28px;
    background: var(--hero-img);
    background-size: cover;
    background-position: center;
    box-shadow: 0 32px 80px rgba(15,23,42,.18);
}

/* HERO: corporativo */
.lp-hero-corporativo .lp-hero {
    background-image: none !important;
    background: linear-gradient(145deg, var(--lp-primary) 0%, #061827 100%);
}

.lp-hero-corporativo .lp-hero:before {
    background: none;
}

.lp-hero-corporativo .lp-hero-deco {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}

.lp-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.lp-hero-stats strong {
    display: block;
    font-size: 28px;
    color: #fff;
}

.lp-hero-stats span {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
}

.lp-hero-img {
    display: none;
}

.lp-search {
    position: relative;
    z-index: 5;
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 14px;
    align-items: end;
    max-width: 1120px;
    width: calc(100% - 40px);
}

.lp-search-flotante .lp-search {
    margin: -48px auto 40px;
}

.lp-search-normal .lp-search {
    margin: 34px auto 40px;
}

.lp-search-oculto .lp-search {
    display: none;
}

.lp-search small {
    display: block;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 6px;
    color: #64748b;
}

.lp-search select {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    color: var(--lp-text);
    font-weight: 700;
}

.lp-section {
    padding: 70px 56px;
}

.lp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}

.lp-section h2,
.lp-contact h2 {
    font-size: 38px;
    margin: 0;
}

.lp-property-grid,
.lp-service-grid,
.lp-team-grid {
    display: grid;
    gap: 24px;
}

.lp-service-grid,
.lp-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card,
.lp-service,
.lp-team-card {
    background: var(--lp-card);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow);
}

.lp-card {
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(15,23,42,.16);
}

.lp-card-img {
    height: 230px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    position: relative;
}

.lp-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--lp-primary);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.lp-card-body {
    padding: 22px;
}

.lp-card-body small {
    color: var(--lp-primary);
    font-weight: 800;
}

.lp-card h3 {
    margin: 8px 0;
    font-size: 21px;
    color: var(--lp-text);
}

.lp-muted {
    color: #64748b;
}

.lp-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #475569;
    font-size: 13px;
    margin: 14px 0;
}

.lp-features span {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 999px;
}

.lp-price {
    display: block;
    color: var(--lp-primary);
    font-size: 23px;
    font-weight: 900;
}

.lp-card-price-over {
    display: none;
}

.lp-agent {
    color: #64748b;
    font-size: 13px;
    margin: 10px 0;
}

/* TARJETA PREMIUM */
.lp-card-style-premium .lp-card-img {
    height: 270px;
}

.lp-card-style-premium .lp-card-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}

.lp-card-style-premium .lp-card-price-over {
    display: block;
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    z-index: 2;
}

.lp-card-style-premium .lp-price {
    display: none;
}

.lp-card-style-premium .lp-badge {
    background: var(--lp-secondary);
}

/* TARJETA MINIMAL */
.lp-card-style-minimal .lp-card {
    box-shadow: none;
    border: 1.5px solid #e5e7eb;
}

.lp-card-style-minimal .lp-card:hover {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(16,116,185,.1);
    transform: none;
}

/* TARJETA COMPACTA */
.lp-card-style-compacta .lp-card-img {
    height: 148px;
}

.lp-card-style-compacta .lp-card-body {
    padding: 14px;
}

.lp-card-style-compacta .lp-card h3 {
    font-size: 16px;
}

/* Compatibilidad por si llega "compact" antiguo */
.lp-card-style-compact .lp-card,
.lp-card-style-horizontal .lp-card {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.lp-card-style-compact .lp-card-img,
.lp-card-style-horizontal .lp-card-img {
    height: 100%;
    min-height: 185px;
}

/* TARJETA LUJO */
.lp-card-style-lujo .lp-card {
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(15,23,42,.06);
    border: 1px solid #f0ece6;
}

.lp-card-style-lujo .lp-card-img {
    height: 270px;
}

.lp-card-style-lujo .lp-badge {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.75);
    backdrop-filter: blur(4px);
}

.lp-card-style-lujo .lp-price {
    color: var(--lp-secondary);
    font-size: 24px;
}

.lp-service {
    padding: 28px;
}

.lp-service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--lp-primary);
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
}

.lp-service p,
.lp-team-card p {
    color: #64748b;
}

.lp-team-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.lp-team-card img {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    object-fit: cover;
}

.lp-contact {
    margin: 40px 56px 60px;
    border-radius: 32px;
    padding: 52px;
    background: linear-gradient(135deg, var(--lp-primary), #061827);
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
}

.lp-contact ul {
    padding: 0;
    list-style: none;
    line-height: 1.9;
}

.lp-footer {
    padding: 34px 56px;
    background: #07111f;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.lp-footer a {
    display: inline-block;
    margin-right: 16px;
    color: #cbd5e1;
}

.lp-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    background: var(--lp-green);
    color: #fff;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 900;
    box-shadow: var(--lp-shadow);
}

/* Compatibilidad con nombres antiguos del template */
.site-header { display: none; }
.property-card.card-style-premium {}
.property-card.card-style-minimal {}
.property-card.card-style-compact {}

@media(max-width: 980px) {
    .lp-navbar {
        position: absolute;
        padding: 20px;
    }

    .lp-menu {
        display: none;
    }

    .lp-hero {
        padding: 140px 22px 90px;
    }

    .lp-hero-split .lp-hero {
        grid-template-columns: 1fr;
        padding: 120px 22px 60px;
    }

    .lp-search {
        grid-template-columns: 1fr;
    }

    .lp-section {
        padding: 54px 22px;
    }

    .lp-property-grid,
    .lp-service-grid,
    .lp-team-grid {
        grid-template-columns: 1fr !important;
    }

    .lp-contact {
        margin: 30px 22px;
        padding: 34px;
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-footer {
        padding: 30px 22px;
    }

    .lp-card-style-compact .lp-card,
    .lp-card-style-horizontal .lp-card {
        display: block;
    }

    .lp-card-style-compact .lp-card-img,
    .lp-card-style-horizontal .lp-card-img {
        height: 230px;
    }
}


[v-cloak] {
    display: none;
}

.lp-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lp-detail-button {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 900;
    color: var(--lp-primary);
}

.lp-detail-page {
    background: var(--lp-bg);
}

.lp-detail-page .lp-navbar {
    position: relative;
    background: #07111f;
    color: #fff;
}

.lp-detail-hero {
    min-height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 46px 70px;
    color: #fff;
}

.lp-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.25));
}

.lp-detail-hero > div {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.lp-detail-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 14px;
    color: #fff;
}

.lp-detail-hero p {
    font-size: 18px;
    color: rgba(255,255,255,.88);
}

.lp-detail-type {
    color: var(--lp-accent);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.lp-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 46px;
}

.lp-detail-main,
.lp-detail-sidebar {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 28px;
}

.lp-detail-gallery {
    border-radius: var(--lp-radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: #e5e7eb;
}

.lp-detail-gallery img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.lp-detail-price {
    font-size: 34px;
    font-weight: 900;
    color: var(--lp-primary);
    margin-bottom: 28px;
}

.lp-detail-block {
    margin-top: 34px;
}

.lp-detail-block h2 {
    margin: 0 0 16px;
    font-size: 26px;
    color: var(--lp-text);
}

.lp-detail-block p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.lp-detail-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.lp-detail-features span {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    font-weight: 800;
    color: #334155;
}

.lp-map-placeholder {
    height: 260px;
    border-radius: 22px;
    background: #e5e7eb;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 900;
}

.lp-detail-sidebar {
    height: max-content;
    position: sticky;
    top: 24px;
}

.lp-detail-sidebar h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--lp-text);
}

.lp-detail-sidebar p {
    color: #64748b;
    line-height: 1.6;
}

.lp-detail-sidebar .lp-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    margin-top: 14px;
    text-align: center;
    text-decoration: none;
}

.lp-btn.outline.dark {
    color: var(--lp-text);
    border: 1px solid #cbd5e1;
    background: #fff;
}

.lp-detail-agent {
    display: grid;
    gap: 6px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 18px;
    margin: 18px 0;
}

.lp-detail-agent strong {
    color: var(--lp-text);
}

.lp-detail-agent span {
    color: #64748b;
    font-size: 14px;
}

@media(max-width: 960px) {
    .lp-detail-content {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .lp-detail-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-detail-gallery img {
        height: 280px;
    }

    .lp-detail-hero h1 {
        font-size: 34px;
    }
}
