.page-listings {
    padding-top: 12px;
}

.listings-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 28px;
}

.listings-toolbar .type-tabs {
    margin: 0;
    justify-content: center;
    flex: 1;
}

.listings-toolbar.is-tabs-only {
    justify-content: center;
}

.listings-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.listings-search input {
    width: 220px;
    border: 1px solid #ececec;
    background: var(--white);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--ink);
}

.listings-search input:focus {
    outline: none;
    border-color: #d8d8d8;
}

.listings-search button {
    border: none;
    background: var(--brand);
    color: var(--ink);
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
}

.listings-search button:hover {
    background: var(--brand-dark);
}

.area-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px;
}

.area-tab {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--white);
    color: #4b4b4b;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

.area-tab:hover,
.area-tab.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

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

.price-suffix {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
}

.offer-detail {
    padding: 36px 0 72px;
}

.offer-detail .container {
    padding-inline: clamp(20px, 4vw, 40px);
}

.detail-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 700;
    margin-bottom: 14px;
}

.detail-media {
    margin-bottom: 56px;
}

.detail-hero {
    border-radius: 22px;
    overflow: hidden;
    height: min(460px, 56vw);
    background: var(--soft);
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-video {
    margin: 28px 0 56px;
}

.detail-video h2 {
    font-size: 1.15rem;
    margin: 0 0 14px;
}

.detail-video video {
    width: 100%;
    height: min(460px, 56vw);
    display: block;
    background: #111;
    border-radius: 22px;
    object-fit: contain;
}

.listing-video-badge {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.detail-thumb {
    padding: 0;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--soft);
    cursor: pointer;
}

.detail-thumb.is-active,
.detail-thumb:hover {
    border-color: var(--brand);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
    gap: 48px 56px;
    align-items: start;
}

.detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: 8px;
}

.detail-head-text {
    min-width: 0;
    flex: 1;
}

.detail-title {
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}

.detail-location {
    color: var(--muted);
    margin: 10px 0 0;
}

.detail-location i {
    color: #e0a800;
    margin-inline-end: 6px;
}

.detail-price {
    color: #e0a800;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    margin: 0;
    flex-shrink: 0;
    text-align: end;
    line-height: 1.2;
}

.detail-price .price-suffix {
    color: inherit;
    font-size: 0.95rem;
}

.detail-main h2,
.detail-panel h2 {
    font-size: 1.15rem;
    margin: 32px 0 14px;
}

.detail-panel h2 {
    margin-top: 0;
}

.detail-description {
    color: #444;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-description.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.detail-read-more {
    background: none;
    border: none;
    color: #c89600;
    font-weight: 800;
    cursor: pointer;
    padding: 8px 0 0;
}

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.detail-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6f6f6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-chips i {
    color: #e0a800;
}

.detail-panel {
    background: var(--white);
    border: 1px solid #f1f1f1;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
}

.detail-spec span {
    display: block;
    color: #9a9a9a;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.detail-spec strong {
    font-size: 0.98rem;
    font-weight: 700;
}

.detail-spec i {
    color: #9a9a9a;
    margin-inline-end: 4px;
}

.detail-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    text-align: center;
    text-decoration: none;
    background: var(--brand);
    color: var(--ink);
    font-weight: 800;
    border-radius: 999px;
    padding: 14px 20px;
}

.detail-cta:hover {
    background: var(--brand-dark);
}

body.page-contact {
    background: #fff;
}

body.page-contact .navbar {
    background: #fbf7f1;
}

body.page-contact .footer {
    background: #fff;
}

.contact-page {
    padding: 0;
}

.contact-top {
    background: #fbf7f1;
    padding: 28px 0 40px;
}

.contact-form-section {
    background: #fff;
    padding: 48px 0 28px;
}

.contact-hero {
    max-width: 620px;
}

.contact-kicker {
    color: #c6a03a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.contact-intro h1 {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 520px;
    margin-bottom: 14px;
}

.contact-lead {
    color: #6a6a6a;
    max-width: 460px;
    margin-bottom: 22px;
    line-height: 1.65;
    font-size: 0.98rem;
}

.contact-reach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 20px;
    align-items: start;
    margin-bottom: 20px;
}

.reach-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reach-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1c1c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.85rem;
}

.reach-icon-mail {
    background: #f3eee6;
    color: #1c1c1c;
    border: 1px solid #e6dfd4;
}

.reach-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 1px;
}

.reach-item p,
.reach-item a {
    color: #6d6d6d;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.4;
}

.reach-item a {
    white-space: normal;
}

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-social a.facebook { background: #1877f2; }
.contact-social a.instagram { background: radial-gradient(circle at 30% 30%, #f9ce34, #ee2a7b 55%, #6228d7); }
.contact-social a.whatsapp { background: #25d366; }
.contact-social a.telegram { background: #229ed9; }
.contact-social a.twitter,
.contact-social a.x { background: #111; }
.contact-social a.linkedin { background: #0a66c2; }

.message-card {
    width: min(640px, 100%);
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 26px;
    padding: 32px 32px 26px;
    box-shadow: 0 18px 50px rgba(60, 45, 20, 0.08);
}

.message-card h2 {
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.message-card > p {
    color: var(--muted);
    margin-bottom: 22px;
}

.message-card .field {
    display: block;
    margin-bottom: 14px;
}

.message-card .field span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.message-card input,
.message-card select,
.message-card textarea {
    width: 100%;
    border: 1px solid #efe8da;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--ink);
}

.message-card textarea {
    resize: vertical;
    min-height: 120px;
}

.message-card input:focus,
.message-card select:focus,
.message-card textarea:focus {
    outline: none;
    border-color: #e0c56a;
    box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.2);
}

.contact-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding-bottom: 8px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #5c5c5c;
    font-size: 0.85rem;
}

.consent input {
    width: auto;
    margin-top: 3px;
    accent-color: #e0b000;
}

.send-message {
    border: none;
    background: var(--brand);
    color: var(--ink);
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.send-message:hover {
    background: var(--brand-dark);
}

@media (max-width: 900px) {
    .listings-toolbar,
    .detail-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .listings-search {
        width: 100%;
    }

    .listings-search input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .detail-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-head {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-price {
        text-align: start;
    }
}

@media (max-width: 640px) {
    .contact-top {
        padding-bottom: 32px;
    }

    .contact-form-section {
        padding-top: 32px;
    }

    .contact-hero,
    .contact-form-footer,
    .contact-names {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-reach {
        grid-template-columns: 1fr;
    }

    .send-message {
        width: 100%;
        justify-content: center;
    }

    .message-card {
        padding: 24px 18px 22px;
    }
}
