@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --bg: #f5f2ea;
    --bg-soft: #fffaf1;
    --primary: #0d6b5d;
    --primary-dark: #0a4d43;
    --secondary: #f2b55c;
    --text: #12342f;
    --text-soft: #536b67;
    --card: #ffffff;
    --shadow: 0 18px 40px rgba(10, 77, 67, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #f7f4ee 0%, #eef8f6 100%);
    color: var(--text);
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #1f9d67;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(20, 105, 70, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
    background: #177c51;
    color: #fff;
    transform: translate(5px, -5px);
}

.floating-whatsapp span:first-child {
    font-size: 1.25rem;
    line-height: 1;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: .85rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice {
    position: fixed;
    z-index: 119;
    left: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(680px, calc(100vw - 132px));
    padding: 16px 18px;
    border: 1px solid rgba(13, 107, 93, .2);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 12px 32px rgba(10, 77, 67, .2);
    font-size: .9rem;
    line-height: 1.5;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__dismiss {
    min-height: 42px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.cookie-notice__dismiss:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 84px;
        grid-template-columns: 1fr;
        gap: 10px;
        width: auto;
        padding: 14px;
    }

    .cookie-notice__dismiss {
        justify-self: start;
    }
}

.legal-page {
    width: min(100% - 40px, 900px);
    margin: 0 auto;
    padding: 56px 0 80px;
}

.legal-card {
    background: #fff;
    border: 1px solid rgba(13,107,93,.14);
    border-radius: 22px;
    padding: clamp(24px, 5vw, 56px);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    margin: 8px 0;
    color: var(--primary-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-card h2 {
    margin: 28px 0 8px;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.legal-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

.legal-card a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: underline;
}

.legal-updated {
    margin-bottom: 24px;
    font-size: .9rem;
}

.legal-note {
    margin-top: 30px;
    padding: 14px 16px;
    border-left: 4px solid var(--secondary);
    background: #fffaf1;
    font-size: .9rem;
}

.listing-disclaimer {
    margin: 14px 0 24px;
    padding: 12px 14px;
    border-left: 4px solid var(--secondary);
    background: #fffaf1;
    color: #536b67;
    font-size: .85rem;
    line-height: 1.55;
}

.catalog-results { min-width: 0; }
.catalog-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--text-soft);
    font-size: .9rem;
    font-weight: 600;
}
.catalog-sort select {
    min-width: 230px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(13,107,93,.25);
    border-radius: 12px;
    background:
        linear-gradient(45deg, transparent 50%, var(--primary-dark) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
        linear-gradient(135deg, var(--primary-dark) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
        #fff;
    color: var(--primary-dark);
    padding: 12px 42px 12px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10,77,67,.08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-sort select:hover,
.catalog-sort select:focus {
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(10,77,67,.14);
    outline: none;
}

.catalog-sort select:focus-visible {
    outline: 3px solid rgba(31,143,119,.25);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .floating-whatsapp { right: 14px; bottom: 14px; padding: 11px 13px; }
    .catalog-sort { align-items: stretch; flex-direction: column; }
    .catalog-sort select { width: 100%; }
}

@media print {
    .header, .footer, .detail-page__actions, .detail-page__visit,
    .image-lightbox, .floating-whatsapp, .gallery-nav, .detail-page__thumbs {
        display: none !important;
    }
    body { background: #fff; color: #111; }
    .lot-detail-page, .detail-page__content { max-width: none; padding: 0; }
    .lot-detail-page__hero, .detail-page__body, .detail-page__details-card {
        box-shadow: none;
        border: 0;
    }
    .lot-detail-page__hero { break-inside: avoid; }
    a { color: inherit; }
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 107, 93, 0.08);
    box-shadow: 0 8px 24px rgba(10, 77, 67, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text);
}

.header-brand .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(13, 107, 93, 0.2);
}

.header-brand .logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.header nav a {
    color: var(--text-soft);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.2s ease;
}

.header nav a:hover {
    color: var(--primary);
    background: rgba(13, 107, 93, 0.06);
}

.header nav a.active {
    color: var(--primary-dark);
    background: rgba(13, 107, 93, 0.09);
}

.header .link-like,
.header .signout-btn {
    border: 1px solid rgba(13, 107, 93, 0.16);
    background: rgba(255,255,255,0.7);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header .signout-btn:hover {
    background: rgba(13, 107, 93, 0.08);
    border-color: rgba(13, 107, 93, 0.3);
    transform: translateY(-1px);
}

.header-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(13, 107, 93, 0.12);
    border-radius: 12px;
    background: rgba(13, 107, 93, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.header-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.menu-open .header-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.menu-open .header-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .header-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
    .header .inner {
        flex-wrap: wrap;
    }

    .header-brand {
        flex: 1;
    }

    .header-menu-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
        width: 100%;
    }

    .header-nav.is-open {
        display: block;
    }

    .header nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 10px;
    }

    .header nav li {
        width: 100%;
    }

    .header nav a {
        display: block;
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(13, 107, 93, 0.03);
    }

    body:has(.hero-home) .header {
        background: linear-gradient(180deg, rgba(5, 13, 16, 0.96), rgba(5, 13, 16, 0.84));
        border-bottom: 1px solid rgba(218, 193, 137, 0.3);
        backdrop-filter: blur(14px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    }

    body:has(.hero-home) .header-menu-toggle {
        border-color: rgba(224, 197, 132, 0.72);
        border-radius: 50%;
        background: rgba(8, 20, 22, 0.78);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    }

    body:has(.hero-home) .header-menu-toggle span {
        background: #f6edda;
    }

    body:has(.hero-home) .header-nav.is-open {
        margin-top: 10px;
        padding: 10px 12px 14px;
        background: rgba(6, 16, 18, 0.96);
        border: 1px solid rgba(218, 193, 137, 0.34);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(16px);
    }

    body:has(.hero-home) .header-nav.is-open a {
        color: #fff8e8;
        background: rgba(255, 248, 232, 0.06);
        border: 1px solid rgba(255, 248, 232, 0.12);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    }

    body:has(.hero-home) .header-nav.is-open a:hover,
    body:has(.hero-home) .header-nav.is-open a.active {
        color: #f0d28c;
        background: rgba(179, 148, 89, 0.18);
        border-color: rgba(224, 197, 132, 0.42);
    }

}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    padding: 50px 0 30px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.language-switch {
    display: inline-flex;
    width: fit-content;
    background: rgba(13, 107, 93, 0.06);
    border-radius: 999px;
    padding: 8px;
    gap: 6px;
    border: 1px solid rgba(13, 107, 93, 0.12);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(13, 107, 93, 0.22);
}

.eyebrow,
.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.hero h1,
.section-header h2,
.cta-panel h2 {
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero h1 {
    font-size: clamp(2.9rem, 5vw, 5rem);
}

.hero-text {
    font-size: 1.08rem;
    color: var(--text-soft);
    line-height: 1.8;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(13, 107, 93, 0.2);
}

.btn-secondary {
    background: rgba(13, 107, 93, 0.08);
    color: var(--primary);
    border: 1px solid rgba(13, 107, 93, 0.12);
}

.hero-stats {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
}

.hero-stats strong {
    font-size: 1.7rem;
    color: var(--primary-dark);
}

.hero-stats span {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-visual {
    min-height: 520px;
    background: linear-gradient(160deg, rgba(8, 127, 111, 0.18), rgba(242, 181, 92, 0.18)),
        url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    border-radius: 32px;
    position: relative;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 52, 47, 0.08);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.floating-card-top {
    right: 28px;
    top: 28px;
}

.floating-card-bottom {
    left: 26px;
    bottom: 30px;
}

.card-label {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}

.floating-card strong {
    font-size: 1.5rem;
    color: var(--text);
}

.floating-card small {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.featured-section,
.benefits-section {
    padding-top: 80px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.section-header h2,
.cta-panel h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--text);
}

.lot-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lot-type-card {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 22px;
    padding: 22px;
    color: #fff;
    isolation: isolate;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 34px rgba(10, 77, 67, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lot-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 42px rgba(10, 77, 67, 0.2);
}

.lot-type-card--beach {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=85');
}

.lot-type-card--investment {
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=85');
}

.lot-type-card--residential {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=85');
}

.lot-type-card--rural {
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=900&q=85');
}

.lot-type-card__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 27, 24, 0.04) 25%, rgba(5, 27, 24, 0.84) 100%);
}

.lot-type-card > div {
    position: relative;
}

.lot-type-card__eyebrow {
    color: rgba(255,255,255,0.78);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lot-type-card h3 {
    max-width: 190px;
    margin: 7px 0 16px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.08;
}

.lot-type-card__link {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.lot-type-card__link::after {
    content: '  ->';
}

.carousel-shell {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 18px;
}

.lot-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 1fr);
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.lot-carousel::-webkit-scrollbar {
    display: none;
}

.lot-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(240,248,247,0.94));
    border: 1px solid rgba(18,52,47,0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 450px;
    background-image: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(13,107,93,0.04));
}

.catalog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.catalog-hero {
    padding: 30px 0 20px;
}

.catalog-hero__content {
    background: linear-gradient(135deg, rgba(13,107,93,0.06), rgba(242,181,92,0.1));
    border: 1px solid rgba(13,107,93,0.08);
    border-radius: 28px;
    padding: 32px 28px;
}

.catalog-hero__content h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin: 10px 0;
    letter-spacing: -0.05em;
}

.catalog-hero__content p:last-child {
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 760px;
}

.catalog-section {
    padding-top: 10px;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lot-location-map-section {
    margin-top: 28px;
}

.lot-location-map-section .detail-page__details-card {
    padding: 24px;
}

.lot-location-map {
    width: 100%;
    min-height: 320px;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(13,107,93,.14);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(10,77,67,.08);
}

.lot-location-map__message {
    margin: 12px 0 0;
    color: var(--text-soft);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.catalog-toolbar strong {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.catalog-toolbar span {
    margin-left: 8px;
    color: var(--text-soft);
    font-weight: 600;
}

.catalog-filter {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(13,107,93,0.1);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(10,77,67,0.06);
}

.catalog-filter__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(13,107,93,0.1);
}

.catalog-filter__header h2 {
    margin-top: 4px;
    font-size: 1.25rem;
}

.catalog-filter-clear {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.catalog-search {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(13,107,93,0.1);
}

.catalog-search span,
.filter-group legend,
.price-fields span {
    display: block;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.catalog-search input,
.price-fields input {
    width: 100%;
    border: 1px solid rgba(13,107,93,0.18);
    border-radius: 9px;
    padding: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.filter-group {
    border: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(13,107,93,0.1);
}

.filter-group:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-top: 11px;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-fields label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    margin-top: 0;
}

.price-fields label span {
    display: block;
    width: 100%;
}

.price-fields input {
    display: block;
    min-width: 0;
    width: 100%;
}

.catalog-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 1px solid rgba(13,107,93,0.14);
    background: rgba(255,255,255,0.75);
    color: var(--primary-dark);
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}

.lots-map {
    width: 100%;
    height: 380px;
    margin: 0 0 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(13,107,93,0.12);
    box-shadow: 0 12px 30px rgba(10,77,67,0.08);
}

.catalog-filter-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.catalog-filter-toggle__icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

@media (max-width: 760px) {
    .catalog-layout {
        display: block;
    }

    .catalog-filter-toggle {
        display: inline-flex;
        margin-bottom: 12px;
    }

    .catalog-filter {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .catalog-filter.is-open {
        display: block;
    }
}

.lot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Responsive: make cards more square and show as columns on narrow screens */
@media (max-width: 760px) {
    .lot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .lot-card {
        min-height: auto;
        padding: 16px;
        border-radius: 16px;
    }

    .lot-gallery {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .lot-card h3 {
        font-size: 1.2rem;
    }

    .lot-price {
        font-size: 1rem;
    }
}

@media (max-width: 560px) {
    .lot-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 420px) {
    .main-container { padding-left: 10px; padding-right: 10px; }

    .header .inner { padding: 12px 10px; }

    .header-brand .logo-mark { width: 36px; height: 36px; }

    .header nav a { padding: 12px 10px; font-size: 0.95rem; }

    /* When auth UI shows Perfil + Salir ensure nav stays centered and items don't overflow */
    .header-nav ul { display:flex; gap:14px; align-items:center; justify-content:center; }
    .header-nav ul .nav-signout button,
    .header-nav ul .signout-btn { background:transparent;border:1px solid rgba(0,0,0,0.06);padding:6px 10px;border-radius:8px;cursor:pointer; }

    .lot-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .lot-card {
        padding: 12px;
        border-radius: 12px;
    }

    .lot-gallery {
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 10px;
        min-height: 140px;
    }

    .lot-card { min-height: auto; }

    .catalog-hero__content { padding: 20px 16px; }
}

/* Extra tiny screens */
@media (max-width: 360px) {
    .header nav a { font-size: 0.92rem; padding: 10px 8px; }
    .header-brand span { font-size: 0.95rem; }
    .lot-gallery { min-height: 120px; }
    .lot-card { padding: 10px; gap: 12px; }
    .catalog-hero__content h1 { font-size: 1.6rem; }
}

.lot-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lot-card:hover {
    transform: translateY(-4px);
}

.lot-gallery {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: #dfeae8;
}

.lot-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lot-gallery img.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
}

.gallery-button.prev {
    left: 12px;
}

.gallery-button.next {
    right: 12px;
}

.lot-card-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.lot-badge {
    background: rgba(13, 107, 93, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 8px 10px;
    border-radius: 999px;
}

.lot-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.lot-card h3 {
    font-size: 1.7rem;
    color: var(--text);
}

.lot-location {
    color: var(--text-soft);
    font-weight: 600;
}

.lot-copy {
    color: var(--text-soft);
    line-height: 1.7;
    flex: 1;
}

.lot-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lot-meta li {
    background: rgba(242, 181, 92, 0.12);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lot-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lot-discount,
.lot-code {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 700;
}

.lot-discount {
    background: rgba(7, 121, 104, 0.12);
    color: var(--primary-dark);
}

.lot-code {
    background: rgba(118, 131, 129, 0.1);
    color: var(--text-soft);
}

.lot-card-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
}

.lot-previous-price {
    color: #8e9a97;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.lot-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.compare-toggle,
.lot-link {
    border: 1px solid rgba(13, 107, 93, 0.15);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(13,107,93,0.04);
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
}

.compare-toggle.is-selected {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.compare-panel {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 0 20px 40px;
}

.compare-panel__inner {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(13,107,93,0.08);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(13,107,93,0.06);
    padding: 18px 20px;
}

.compare-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.compare-panel__header h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.compare-panel__clear,
.compare-card__remove {
    border: none;
    background: rgba(13,107,93,0.08);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 700;
}

.compare-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(13,107,93,0.12);
    border-radius: 16px;
    background: #f8fbfa;
}

.compare-card__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.compare-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.compare-card h4 {
    font-size: 1rem;
    color: var(--text);
}

.compare-card p,
.compare-card small {
    color: var(--text-soft);
}

.compare-panel__empty {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 24px;
    color: var(--text-soft);
    font-weight: 600;
}

.detail-page__visit {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid rgba(13,107,93,0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.detail-page__visit h3 {
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.visit-request-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visit-request-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
}

.visit-request-form input,
.visit-request-form textarea {
    border: 1px solid rgba(13,107,93,0.14);
    border-radius: 12px;
    padding: 12px 14px;
    background: #f8fbfa;
    font: inherit;
}

.field-grid.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 760px) {
    .field-grid.two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .compare-panel__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 265px) {
    .catalog-page { padding-left: 10px; padding-right: 10px; }

    .catalog-toolbar,
    .catalog-filter,
    .lot-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-filter,
    .filter-chip,
    .lot-badge,
    .lot-price {
        width: 100%;
    }

    .filter-chip,
    .lot-badge {
        text-align: center;
    }
}


.detail-page__content {
    position: relative;
    z-index: 1;
    background: #fff;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.lot-detail-page {
    width: 100%;
    max-width: none;
    max-height: none;
    display: block;
    padding: 0 0 48px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.lot-detail-page__hero {
    background: #edf6f3;
    border-bottom: 1px solid rgba(13, 107, 93, 0.08);
}

.detail-page__gallery {
    position: relative;
    height: clamp(360px, 52vw, 680px);
    background: #eaf3f1;
}

#pageMainImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 40px;
    background: rgba(6, 27, 24, 0.88);
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox img {
    max-width: min(1200px, 94vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.image-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.detail-page__content::-webkit-scrollbar {
    width: 10px;
}

.detail-page__content::-webkit-scrollbar-thumb {
    background: rgba(13, 107, 93, 0.2);
    border-radius: 999px;
}

#modalMainImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 2;
}

.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

.detail-page__thumbs {
    display: flex;
    gap: 10px;
    padding: 14px 18px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.detail-thumb {
    width: 82px;
    height: 62px;
    border: 2px solid transparent;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.7;
}

.detail-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.detail-page__body {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
    padding: 38px 0 0;
}

.lot-detail-page .detail-page__body {
    padding: 38px 0 0;
}

.detail-page__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.detail-page__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 26px;
}

.detail-page__summary-item {
    background: #f8fbfa;
    border: 1px solid rgba(13, 107, 93, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
}

.detail-page__summary-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.detail-page__summary-item strong {
    color: var(--text);
    font-size: 0.98rem;
}

.detail-page__info-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}

.detail-page__description-wrap h3,
.detail-page__aside-card .detail-page__label,
.detail-page__details-card h3 {
    color: var(--text);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.detail-page__aside-card {
    background: rgba(13, 107, 93, 0.03);
    border: 1px solid rgba(13, 107, 93, 0.08);
    border-radius: 20px;
    padding: 18px 18px 16px;
}

.detail-page__label {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.detail-page__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.detail-page__details-card {
    background: #ffffff;
    border: 1px solid rgba(13, 107, 93, 0.08);
    border-radius: 20px;
    padding: 18px 18px 16px;
}

.detail-page__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-page__fact {
    background: #f8fbfa;
    border: 1px solid rgba(13, 107, 93, 0.08);
    border-radius: 12px;
    padding: 12px 12px;
}

.detail-page__fact span {
    display: block;
    color: var(--text-soft);
    font-size: 0.74rem;
    margin-bottom: 5px;
}

.detail-page__fact strong {
    color: var(--text);
    font-size: 0.92rem;
}

.detail-page__similar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.similar-lot-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    background: #f8fbfa;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(13, 107, 93, 0.06);
    cursor: pointer;
}

.similar-lot-card img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.similar-lot-card strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.similar-lot-card p {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.detail-page__empty {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.section-tag.dark {
    color: var(--primary);
}

.price-badge {
    background: rgba(13,107,93,0.1);
    color: var(--primary-dark);
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 16px;
    white-space: nowrap;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.modal-meta-grid div {
    background: #f8fbfa;
    border: 1px solid rgba(13,107,93,0.08);
    border-radius: 14px;
    padding: 12px 14px;
}

.modal-meta-grid span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.modal-meta-grid strong {
    font-size: 0.95rem;
    color: var(--text);
}

.detail-page__description {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 18px;
}

.lot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.lot-features span {
    background: rgba(242,181,92,0.12);
    color: var(--text);
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.lot-detail-page .lot-features {
    margin-bottom: 0;
}

.detail-page__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(13, 107, 93, 0.08);
}

/* Property detail page: editorial real-estate layout. */
body:has(.lot-detail-page) {
    background: #f3f0e8;
    font-family: 'DM Sans', sans-serif;
}

body:has(.lot-detail-page) .header {
    background: #111e1f;
    border-bottom: 1px solid rgba(213, 190, 132, 0.28);
    box-shadow: 0 8px 24px rgba(14, 25, 25, 0.14);
}

body:has(.lot-detail-page) .header-brand {
    color: #f5eddb;
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body:has(.lot-detail-page) .header-brand .logo-mark {
    border-radius: 50%;
    background: transparent;
    border: 1px solid #c6a86a;
    color: #d9c189;
    box-shadow: none;
}

body:has(.lot-detail-page) .header nav a {
    color: #e8e0cf;
    border-radius: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body:has(.lot-detail-page) .header nav a:hover,
body:has(.lot-detail-page) .header nav a.active {
    color: #d9bd7c;
    background: transparent;
}

body:has(.lot-detail-page) .lot-detail-page {
    padding-bottom: 88px;
    background: #f3f0e8;
}

body:has(.lot-detail-page) .lot-detail-page__hero {
    padding-bottom: 18px;
    background: #172526;
    border-bottom: 0;
}

body:has(.lot-detail-page) .detail-page__gallery {
    height: clamp(360px, 57vw, 720px);
    max-width: 1320px;
    margin: 0 auto;
    background: #172526;
}

body:has(.lot-detail-page) #pageMainImage {
    object-fit: contain;
    background: #172526;
}

body:has(.lot-detail-page) .gallery-nav {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: rgba(17, 30, 31, 0.82);
    color: #ecd69b;
    border: 1px solid rgba(236, 214, 155, 0.45);
}

body:has(.lot-detail-page) .detail-page__thumbs {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px 0;
}

body:has(.lot-detail-page) .detail-thumb {
    width: 104px;
    height: 72px;
    border-radius: 0;
    border-color: transparent;
}

body:has(.lot-detail-page) .detail-thumb.active {
    border-color: #d4b96f;
}

body:has(.lot-detail-page) .detail-page__body {
    width: min(1160px, calc(100% - 48px));
    padding-top: 42px;
}

body:has(.lot-detail-page) .detail-page__header {
    align-items: flex-end;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(80, 69, 46, 0.2);
}

body:has(.lot-detail-page) .detail-page__header h2 {
    max-width: 760px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.04;
    color: #1a2b2b;
    letter-spacing: 0;
}

body:has(.lot-detail-page) .section-tag.dark {
    color: #a18144;
}

body:has(.lot-detail-page) .price-badge {
    border-radius: 0;
    padding: 13px 18px;
    background: #0d6b5d;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(10, 77, 67, 0.18);
}

body:has(.lot-detail-page) .detail-page__summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 34px;
    border-bottom: 1px solid rgba(80, 69, 46, 0.2);
}

body:has(.lot-detail-page) .detail-page__summary-item {
    min-height: 88px;
    padding: 17px 14px;
    border: 0;
    border-right: 1px solid rgba(80, 69, 46, 0.16);
    border-radius: 0;
    background: transparent;
}

body:has(.lot-detail-page) .detail-page__summary-item:last-child {
    border-right: 0;
}

body:has(.lot-detail-page) .detail-page__summary-item span {
    color: #8d7447;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:has(.lot-detail-page) .detail-page__summary-item strong {
    color: #263737;
    font-size: 0.86rem;
}

body:has(.lot-detail-page) .detail-page__info-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 48px;
}

body:has(.lot-detail-page) .detail-page__description-wrap h3,
body:has(.lot-detail-page) .detail-page__details-card h3 {
    color: #1a2b2b;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    letter-spacing: 0;
}

body:has(.lot-detail-page) .detail-page__description {
    color: #5c6860;
    font-size: 0.96rem;
    line-height: 1.85;
}

body:has(.lot-detail-page) .detail-page__aside-card,
body:has(.lot-detail-page) .detail-page__details-card {
    border-radius: 0;
    border: 1px solid rgba(80, 69, 46, 0.16);
    background: #fbf8f0;
    box-shadow: 0 14px 28px rgba(44, 44, 32, 0.07);
}

body:has(.lot-detail-page) .detail-page__aside-card {
    border-top: 3px solid #b39459;
}

body:has(.lot-detail-page) .detail-page__label {
    color: #967844;
}

body:has(.lot-detail-page) .lot-features span,
body:has(.lot-detail-page) .detail-page__fact {
    border-radius: 0;
    background: #ebe3d1;
    color: #4f4b3f;
}

body:has(.lot-detail-page) .detail-page__secondary {
    gap: 24px;
    margin-top: 36px;
}

body:has(.lot-detail-page) .similar-lot-card {
    border-radius: 0;
    background: #f5f0e5;
}

body:has(.lot-detail-page) .similar-lot-card img {
    border-radius: 0;
}

body:has(.lot-detail-page) .detail-page__actions {
    margin-top: 36px;
    padding-top: 24px;
    border-top-color: rgba(80, 69, 46, 0.2);
}

body:has(.lot-detail-page) .detail-page__actions .btn {
    border-radius: 0;
}

@media (max-width: 900px) {
    body:has(.lot-detail-page) .detail-page__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body:has(.lot-detail-page) .detail-page__summary-item:nth-child(3) {
        border-right: 0;
    }

    body:has(.lot-detail-page) .detail-page__summary-item:nth-child(-n + 3) {
        border-bottom: 1px solid rgba(80, 69, 46, 0.16);
    }
}

@media (max-width: 620px) {
    body:has(.lot-detail-page) .detail-page__gallery {
        height: 330px;
    }

    body:has(.lot-detail-page) .detail-page__body {
        width: calc(100% - 32px);
        padding-top: 28px;
    }

    body:has(.lot-detail-page) .detail-page__header {
        display: block;
    }

    body:has(.lot-detail-page) .price-badge {
        display: inline-block;
        margin-top: 16px;
    }

    body:has(.lot-detail-page) .detail-page__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:has(.lot-detail-page) .detail-page__summary-item,
    body:has(.lot-detail-page) .detail-page__summary-item:nth-child(3) {
        border-right: 1px solid rgba(80, 69, 46, 0.16);
        border-bottom: 1px solid rgba(80, 69, 46, 0.16);
    }

    body:has(.lot-detail-page) .detail-page__summary-item:nth-child(even) {
        border-right: 0;
    }

    body:has(.lot-detail-page) .detail-page__info-grid,
    body:has(.lot-detail-page) .detail-page__secondary {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    body:has(.lot-detail-page) .detail-page__actions > * {
        width: 100%;
    }
}

@media (max-width: 620px) {
    body:has(.lot-detail-page) .detail-page__actions > * {
        flex: 1 1 100%;
        width: 100%;
    }

    body:has(.lot-detail-page) .detail-page__actions {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        background: rgba(243, 240, 232, 0.98);
    }
}



.carousel-button {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(13, 107, 93, 0.18);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.benefit-item {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(18,52,47,0.08);
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 14px 32px rgba(13, 107, 93, 0.06);

}

.benefit-item:hover {
    box-shadow: 0 18px 38px rgba(13, 107, 93, 0.12);
    transform: scaleY(1.05);
}

.benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(13,107,93,0.08);
    color: var(--primary);
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-soft);
    line-height: 1.7;
}

.seller-section {
    margin-top: 40px;
    padding: 28px 22px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(18,52,47,0.08);
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(13,107,93,0.06);
}

.seller-section h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.seller-section p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

.cta-panel {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(13,107,93,0.95), rgba(12,65,59,0.95));
    border-radius: 28px;
    padding: 32px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-panel .section-tag {
    color: rgba(255,255,255,0.8);
}

.cta-panel h2 {
    color: #fff;
    max-width: 560px;
}

.footer {
    background: #f3efe9;
    border-top: 1px solid rgba(18,52,47,0.08);
    padding: 26px 20px;
    text-align: center;
    color: var(--text-soft);
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 360px;
    }

    .detail-page__summary,
    .detail-page__secondary,
    .detail-page__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-page__info-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .lot-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .lot-type-grid {
        grid-template-columns: 1fr;
    }

    .lot-type-card {
        min-height: 220px;
    }

    .detail-page__content {
        width: 100%;
        max-height: 100vh;
        border-radius: 22px 22px 0 0;
        min-height: 100vh;
    }

    .lot-detail-page {
        width: 100%;
        max-height: none;
    }

    .lot-detail-page__hero {
        border-bottom: none;
    }

    .detail-page__gallery {
        height: 280px;
        min-height: 0;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .detail-page__thumbs {
        padding: 12px 14px 0;
    }

    .lot-detail-page .detail-page__body {
        padding: 18px 16px 16px;
        width: 100%;
    }

    .detail-page__summary,
    .detail-page__secondary,
    .detail-page__facts {
        grid-template-columns: 1fr;
    }

    .detail-page__summary {
        gap: 10px;
        margin-top: 16px;
    }

    .detail-page__header {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .price-badge {
        align-self: flex-start;
        padding: 8px 12px;
    }

    .detail-page__actions {
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        margin: 18px -16px -16px;
        padding: 12px 16px 16px;
        border-top: 1px solid rgba(13, 107, 93, 0.08);
        box-shadow: 0 -12px 26px rgba(10, 26, 22, 0.08);
    }

    .detail-page__actions > * {
        flex: 1 1 calc(50% - 8px);
    }

    .detail-page__actions .btn {
        width: 100%;
        justify-content: center;
    }

    
    .header .inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header nav ul {
        gap: 12px 18px;
    }

    .main-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .carousel-shell {
        grid-template-columns: 1fr;
    }

    .carousel-button {
        display: none;
    }

    .hero-stats {
        gap: 18px;
    }
}

/* Homepage visual direction: natural luxury editorial layout. */
body:has(.hero-home) {
    --bg: #101b1d;
    --bg-soft: #172629;
    --primary: #c6a86a;
    --primary-dark: #8e7441;
    --secondary: #d9c189;
    --text: #f4efe4;
    --text-soft: #c7c7bd;
    background: #101719;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

body:has(.hero-home) .header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(7, 14, 17, 0.88), rgba(7, 14, 17, 0.14));
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.hero-home) .header .inner {
    max-width: 1440px;
    padding: 18px 42px;
}

body:has(.hero-home) .header-brand {
    color: #f8f0dd;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body:has(.hero-home) .header-brand .logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(218, 193, 137, 0.8);
    color: #d9c189;
    box-shadow: none;
    font-family: Georgia, serif;
}

body:has(.hero-home) .header nav ul {
    gap: 4px;
}

body:has(.hero-home) .header nav a {
    color: rgba(255, 250, 239, 0.9);
    border-radius: 0;
    padding: 11px 13px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body:has(.hero-home) .header nav a:hover,
body:has(.hero-home) .header nav a.active {
    color: #e3c988;
    background: transparent;
}

body:has(.hero-home) .header .link-like,
body:has(.hero-home) .header .signout-btn {
    border-color: rgba(218, 193, 137, 0.55);
    border-radius: 0;
    background: transparent;
    color: #f5ead4;
}

body:has(.hero-home) .main-container {
    max-width: none;
    padding: 0;
}

body:has(.hero-home) .hero-home {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(760px, 100vh);
    padding: 160px max(7vw, 36px) 82px;
    overflow: hidden;
    isolation: isolate;
}

body:has(.hero-home) .hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(7, 15, 17, 0.94) 0%, rgba(7, 15, 17, 0.62) 36%, rgba(7, 15, 17, 0.1) 78%), linear-gradient(0deg, rgba(8, 18, 18, 0.78), transparent 52%), url('https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&w=2200&q=88') center/cover;
    transform: scale(1.04) translate3d(0, var(--hero-scroll-shift, 0px), 0);
    will-change: transform;
}

[data-scroll-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes hero-entrance {
    from { opacity: 0; transform: translate3d(0, 16px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

body:has(.hero-home) .hero-content > * {
    animation: hero-entrance 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body:has(.hero-home) .hero-content > :nth-child(1) { animation-delay: 0.08s; }
body:has(.hero-home) .hero-content > :nth-child(2) { animation-delay: 0.16s; }
body:has(.hero-home) .hero-content > :nth-child(3) { animation-delay: 0.24s; }
body:has(.hero-home) .hero-content > :nth-child(4) { animation-delay: 0.32s; }
body:has(.hero-home) .hero-content > :nth-child(5) { animation-delay: 0.4s; }
body:has(.hero-home) .hero-content > :nth-child(6) { animation-delay: 0.48s; }

.lot-type-card[data-scroll-reveal]:nth-child(2),
.benefit-item[data-scroll-reveal]:nth-child(2) {
    transition-delay: 0.08s;
}

.lot-type-card[data-scroll-reveal]:nth-child(3),
.benefit-item[data-scroll-reveal]:nth-child(3) {
    transition-delay: 0.16s;
}

.lot-type-card[data-scroll-reveal]:nth-child(4) {
    transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    [data-scroll-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body:has(.hero-home) .hero-home::before {
        transform: scale(1.04);
        will-change: auto;
    }

    body:has(.hero-home) .hero-content > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

body:has(.hero-home) .hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.24;
    background-image: linear-gradient(115deg, transparent 0 48%, rgba(214, 187, 124, 0.42) 48.2%, transparent 48.5%), linear-gradient(35deg, transparent 0 67%, rgba(255, 255, 255, 0.16) 67.2%, transparent 67.5%);
    pointer-events: none;
}

body:has(.hero-home) .hero-content {
    width: min(510px, 52vw);
    gap: 18px;
}

body:has(.hero-home) .language-switch {
    order: 5;
    background: transparent;
    border: 1px solid rgba(218, 193, 137, 0.45);
    border-radius: 0;
    padding: 3px;
    gap: 0;
    align-self: flex-start;
}

body:has(.hero-home) .lang-btn {
    border-radius: 0;
    color: #e8dfcc;
    padding: 7px 11px;
    font-size: 0.72rem;
}

body:has(.hero-home) .lang-btn.active {
    background: #b39459;
    color: #121918;
    box-shadow: none;
}

body:has(.hero-home) .eyebrow {
    color: #e1c783;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
}

body:has(.hero-home) .hero h1 {
    max-width: 540px;
    color: #fff8e8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 6vw, 6.2rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
}

body:has(.hero-home) .hero-text {
    max-width: 480px;
    color: rgba(255, 249, 235, 0.78);
    font-size: 0.98rem;
    line-height: 1.7;
}

body:has(.hero-home) .hero-actions {
    gap: 10px;
    margin-top: 8px;
}

body:has(.hero-home) .btn {
    min-height: 46px;
    border-radius: 0;
    padding: 0 19px;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body:has(.hero-home) .btn-primary {
    background: #b39459;
    color: #101719;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

body:has(.hero-home) .btn-secondary {
    background: rgba(15, 26, 27, 0.3);
    border: 1px solid rgba(238, 222, 179, 0.55);
    color: #fff8e8;
}

body:has(.hero-home) .hero-stats {
    gap: 0;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(232, 214, 169, 0.35);
}

body:has(.hero-home) .hero-stats li {
    min-width: 130px;
    padding-right: 22px;
    margin-right: 22px;
    border-right: 1px solid rgba(232, 214, 169, 0.3);
}

body:has(.hero-home) .hero-stats li:last-child {
    border-right: 0;
}

body:has(.hero-home) .hero-stats strong {
    color: #e5c982;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 500;
}

body:has(.hero-home) .hero-stats span {
    color: rgba(255, 249, 235, 0.7);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:has(.hero-home) .hero-visual {
    position: absolute;
    inset: 0;
    z-index: -1;
    min-height: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

body:has(.hero-home) .floating-card {
    border: 1px solid rgba(238, 222, 179, 0.5);
    border-radius: 0;
    background: rgba(14, 28, 29, 0.68);
    color: #fff8e8;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

body:has(.hero-home) .floating-card-top {
    top: 34%;
    right: 9%;
}

body:has(.hero-home) .floating-card-bottom {
    left: auto;
    right: 24%;
    bottom: 13%;
}

body:has(.hero-home) .card-label,
body:has(.hero-home) .floating-card small {
    color: #dfc57f;
}

body:has(.hero-home) .floating-card strong {
    color: #fff8e8;
    font-family: 'Playfair Display', Georgia, serif;
}

body:has(.hero-home) .featured-section,
body:has(.hero-home) .benefits-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 92px 28px 0;
}

body:has(.hero-home) .section-header h2,
body:has(.hero-home) .cta-panel h2 {
    color: #f6edda;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0;
}

body:has(.hero-home) .section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

body:has(.hero-home) .section-tag {
    color: #d3b66f;
}

body:has(.hero-home) .lot-type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

body:has(.hero-home) .lot-type-card {
    min-height: 340px;
    border-radius: 0;
    padding: 22px;
    box-shadow: none;
}

body:has(.hero-home) .lot-type-card__veil {
    background: linear-gradient(180deg, rgba(10, 22, 22, 0.02) 25%, rgba(10, 22, 22, 0.88) 100%);
}

body:has(.hero-home) .lot-type-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    letter-spacing: 0;
}

body:has(.hero-home) .benefits-grid {
    gap: 0;
}

body:has(.hero-home) .benefit-item {
    border: 0;
    border-top: 1px solid rgba(213, 190, 132, 0.28);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 25px 25px 25px 0;
}

body:has(.hero-home) .benefit-item h3 {
    color: #f4ead5;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
}

body:has(.hero-home) .benefit-item p,
body:has(.hero-home) .seller-section p {
    color: #b7bcb3;
}

body:has(.hero-home) .benefit-icon {
    border-radius: 50%;
    background: #b39459;
    color: #101719;
}

body:has(.hero-home) .cta-panel,
body:has(.hero-home) .seller-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

body:has(.hero-home) .cta-panel {
    margin-top: 92px;
    background: #1d3030;
    border: 1px solid rgba(213, 190, 132, 0.25);
    box-shadow: none;
}

body:has(.hero-home) .seller-section {
    margin-top: 7px;
    background: #172426;
    border: 0;
    box-shadow: none;
}

body:has(.hero-home) .footer {
    margin-top: 92px;
    background: #0b1214;
    border-top-color: rgba(213, 190, 132, 0.2);
    color: #8f9891;
}

@media (max-width: 760px) {
    body:has(.hero-home) .header .inner {
        padding: 14px 18px;
    }

    body:has(.hero-home) .hero-home {
        min-height: 820px;
        padding: 145px 24px 54px;
        align-items: flex-end;
    }

    body:has(.hero-home) .hero-content {
        width: 100%;
    }

    body:has(.hero-home) .hero-home::before {
        background-position: 65% center;
    }

    body:has(.hero-home) .floating-card {
        transform: scale(0.82);
        transform-origin: right top;
    }

    body:has(.hero-home) .floating-card-top {
        top: 20%;
        right: -4%;
    }

    body:has(.hero-home) .floating-card-bottom {
        right: -3%;
        bottom: 47%;
    }

    body:has(.hero-home) .featured-section,
    body:has(.hero-home) .benefits-section {
        padding: 64px 20px 0;
    }

    body:has(.hero-home) .lot-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:has(.hero-home) .lot-type-card {
        min-height: 260px;
    }

    body:has(.hero-home) .cta-panel,
    body:has(.hero-home) .seller-section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 460px) {
    body:has(.hero-home) .floating-card {
        display: none;
    }

    body:has(.hero-home) .hero h1 {
        font-size: 3.25rem;
    }

    body:has(.hero-home) .hero-actions .btn {
        width: 100%;
    }

    body:has(.hero-home) .hero-stats li {
        min-width: 33%;
        padding-right: 10px;
        margin-right: 10px;
    }

    body:has(.hero-home) .hero-stats strong {
        font-size: 1.45rem;
    }

    body:has(.hero-home) .hero-stats span {
        font-size: 0.62rem;
    }

    body:has(.hero-home) .lot-type-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared visual system for the internal pages. */
body:not(:has(.hero-home)) {
    font-family: 'DM Sans', sans-serif;
    background: #f1ede3;
    color: #182727;
}

body:not(:has(.hero-home)) .header {
    background: rgba(17, 30, 31, 0.97);
    border-bottom: 1px solid rgba(213, 190, 132, 0.28);
    box-shadow: 0 8px 24px rgba(14, 25, 25, 0.14);
}

body:not(:has(.hero-home)) .header-brand {
    color: #f5eddb;
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body:not(:has(.hero-home)) .header-brand .logo-mark {
    border-radius: 50%;
    background: transparent;
    border: 1px solid #c6a86a;
    color: #d9c189;
    box-shadow: none;
}

body:not(:has(.hero-home)) .header nav a {
    color: #e8e0cf;
    border-radius: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body:not(:has(.hero-home)) .header nav a:hover,
body:not(:has(.hero-home)) .header nav a.active {
    color: #d9bd7c;
    background: transparent;
}

body:not(:has(.hero-home)) .main-container,
body:not(:has(.hero-home)) .catalog-page {
    max-width: 1240px;
}

body:not(:has(.hero-home)) .catalog-page {
    padding-top: 58px;
}

body:not(:has(.hero-home)) .catalog-hero__content {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: linear-gradient(90deg, rgba(10, 23, 23, 0.86), rgba(10, 23, 23, 0.14)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=85') center/cover;
}

body:not(:has(.hero-home)) .catalog-hero__content h1 {
    max-width: 720px;
    color: #fff8e8;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0;
}

body:not(:has(.hero-home)) .catalog-hero__content p:last-child {
    max-width: 650px;
    color: rgba(255, 249, 235, 0.78);
}

body:not(:has(.hero-home)) .catalog-section {
    padding-top: 38px;
}

body:not(:has(.hero-home)) .catalog-toolbar strong,
body:not(:has(.hero-home)) .price-badge {
    color: #ffffff;
}

body:not(:has(.hero-home)) .lot-price {
    color: #9c7e43;
}

body:not(:has(.hero-home)) .catalog-filter,
body:not(:has(.hero-home)) .lot-card,
body:not(:has(.hero-home)) .detail-page__details-card,
body:not(:has(.hero-home)) .detail-page__aside-card,
body:not(:has(.hero-home)) .advisor-info,
body:not(:has(.hero-home)) .advisor-card {
    border: 1px solid rgba(80, 69, 46, 0.16);
    border-radius: 0;
    box-shadow: 0 16px 32px rgba(44, 44, 32, 0.08);
}

body:not(:has(.hero-home)) .catalog-filter,
body:not(:has(.hero-home)) .lot-card {
    background: #fbf8f0;
}

body:not(:has(.hero-home)) .lot-card {
    padding: 14px;
    gap: 13px;
}

body:not(:has(.hero-home)) .lot-gallery {
    border-radius: 0;
    height: 230px;
}

body:not(:has(.hero-home)) .lot-badge,
body:not(:has(.hero-home)) .lot-meta li,
body:not(:has(.hero-home)) .lot-features span {
    border-radius: 0;
    background: #e9dfc8;
    color: #665332;
}

body:not(:has(.hero-home)) .lot-card h3,
body:not(:has(.hero-home)) .detail-page__header h2,
body:not(:has(.hero-home)) .advisor-info h1,
body:not(:has(.hero-home)) .advisor-card h2 {
    color: #1b2b2b;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0;
}

body:not(:has(.hero-home)) .lot-card h3 {
    font-size: 1.45rem;
}

body:not(:has(.hero-home)) .detail-page__body {
    max-width: 1240px;
    padding-top: 48px;
}

body:not(:has(.hero-home)) .lot-detail-page {
    background: #f1ede3;
}

body:not(:has(.hero-home)) .lot-detail-page__hero,
body:not(:has(.hero-home)) .detail-page__gallery {
    background: #172627;
}

body:not(:has(.hero-home)) .detail-page__summary-item,
body:not(:has(.hero-home)) .detail-page__fact,
body:not(:has(.hero-home)) .similar-lot-card {
    border-radius: 0;
    background: #fbf8f0;
    border-color: rgba(80, 69, 46, 0.13);
}

body:not(:has(.hero-home)) .advisor-shell {
    padding-top: 58px !important;
}

body:not(:has(.hero-home)) .advisor-info,
body:not(:has(.hero-home)) .advisor-card {
    background: #fbf8f0 !important;
}

body:not(:has(.hero-home)) .advisor-badge {
    border-radius: 0;
    background: #e9dfc8;
    color: #665332;
}

body:not(:has(.hero-home)) .advisor-info h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

body:not(:has(.hero-home)) .lead-form input,
body:not(:has(.hero-home)) .lead-form select,
body:not(:has(.hero-home)) .lead-form textarea {
    border-radius: 0;
    border-color: rgba(80, 69, 46, 0.2);
    background: #f5f0e5;
}

body:not(:has(.hero-home)) .btn {
    border-radius: 0;
}

@media (max-width: 760px) {
    body:not(:has(.hero-home)) .catalog-page {
        padding-top: 30px;
    }

    body:not(:has(.hero-home)) .catalog-hero__content {
        min-height: 340px;
        padding: 24px;
    }

    body:not(:has(.hero-home)) .detail-page__body {
        width: calc(100% - 32px);
    }
}
