body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: #172033;
    background: #f7f4ee;
}

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

img {
    max-width: 100%;
    display: block;
}

.site-main {
    overflow: hidden;
}

.site-section {
    padding: 88px 0;
}

.site-section--soft {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.02) 0%, rgba(207, 178, 107, 0.08) 100%);
}

.site-section--tight {
    padding-top: 48px;
}

.site-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--site-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-button:hover {
    transform: translateY(-2px);
}

.site-button--primary {
    background: linear-gradient(135deg, var(--site-accent), #f0dcc0);
    color: #17130d;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
}

.site-button--ghost {
    border-color: rgba(23, 32, 51, 0.16);
    background: transparent;
    color: inherit;
}

.hero-section .site-button--ghost,
.page-hero .site-button--ghost,
.cta-panel .site-button--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(16, 18, 24, 0.84);
    backdrop-filter: blur(18px);
    color: var(--site-header-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar {
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
}

.site-topbar__inner,
.site-topbar__item,
.site-topbar__item--links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-topbar__inner {
    justify-content: space-between;
    min-height: 42px;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-brand img {
    width: 120px;
    max-width: 120px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav__link,
.site-nav__cta,
.site-nav__link--button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 600;
}

.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__item.is-active > .site-nav__link--button {
    background: rgba(255, 255, 255, 0.08);
}

.site-nav__cta {
    background: rgba(255, 255, 255, 0.1);
}

.site-nav__item {
    position: relative;
}

.site-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    padding: 14px;
    border-radius: 18px;
    background: #fffdf7;
    color: #172033;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    gap: 6px;
}

.site-submenu a {
    padding: 10px 12px;
    border-radius: 12px;
}

.site-submenu a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.site-nav__item:hover .site-submenu,
.site-nav__item.is-open .site-submenu {
    display: flex;
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    justify-content: center;
    align-items: center;
}

.site-nav-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 126px);
    display: flex;
    align-items: center;
    color: #f8f5ef;
}

.hero-section__media {
    position: absolute;
    inset: 0;
}

.hero-section__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(207, 178, 107, 0.4), transparent 32%),
        linear-gradient(120deg, rgba(9, 11, 16, 0.92), rgba(11, 16, 27, 0.62));
}

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

.hero-section__content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding: 96px 0;
}

.hero-section__copy h1,
.page-hero h1,
.section-heading h2,
.about-layout__copy h2,
.detail-section h2,
.cta-panel h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-section__copy h1 {
    margin-top: 18px;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.95;
}

.hero-section__copy p {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 245, 239, 0.82);
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.hero-section__search {
    align-self: center;
}

.site-search {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(14, 19, 31, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.25);
}

.site-search--panel {
    background: #ffffff;
    color: #172033;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 22px 50px rgba(20, 28, 38, 0.08);
}

.site-search__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.site-search__grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-search__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-search label,
.site-search__field label,
.contact-form label span,
.detail-form label span {
    font-size: 0.9rem;
    font-weight: 700;
}

.site-search input,
.site-search select,
.contact-form input,
.contact-form textarea,
.detail-form input,
.detail-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(23, 32, 51, 0.12);
    background: #fff;
    color: #172033;
}

.site-search textarea,
.contact-form textarea,
.detail-form textarea {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
}

.page-hero {
    position: relative;
    padding: 92px 0 52px;
    color: #f8f5ef;
    background:
        radial-gradient(circle at top right, rgba(207, 178, 107, 0.22), transparent 28%),
        linear-gradient(135deg, #111111, #182237);
}

.page-hero p,
.detail-hero p {
    margin-top: 16px;
    max-width: 760px;
    color: rgba(248, 245, 239, 0.8);
}

.page-hero--detail {
    padding-bottom: 40px;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(248, 245, 239, 0.72);
    font-size: 0.95rem;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.section-heading--inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.section-heading--left {
    margin-bottom: 22px;
}

.section-heading h2,
.page-hero h1,
.about-layout__copy h2,
.detail-section h2,
.cta-panel h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.section-heading p {
    max-width: 680px;
    margin: 0;
    color: #5d6675;
    line-height: 1.8;
}

.section-heading__link {
    font-weight: 800;
    color: var(--site-primary);
}

.feature-grid,
.property-grid,
.category-grid,
.detail-prices-grid {
    display: grid;
    gap: 24px;
}

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

.feature-card,
.empty-state,
.contact-info-card {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(20, 28, 38, 0.06);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p,
.empty-state p,
.contact-info-card p {
    margin: 0;
    color: #607086;
    line-height: 1.7;
}

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

.property-card {
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 42px rgba(20, 28, 38, 0.08);
}

.property-card__media {
    position: relative;
    aspect-ratio: 1 / 0.82;
    overflow: hidden;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-card__media img {
    transform: scale(1.04);
}

.property-card__badges {
    position: absolute;
    inset: 18px 18px auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.property-card__badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.property-card__badge--dark {
    background: rgba(12, 15, 22, 0.7);
    color: #fff;
}

.property-card__badge--accent {
    background: var(--site-accent);
    color: #17130d;
}

.property-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.property-card__meta,
.property-card__metrics,
.listing-switches,
.listing-switches__group,
.detail-summary,
.detail-tags,
.site-footer__socials,
.contact-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.property-card__meta span,
.listing-switches__chip,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f3efe7;
    color: #5d6675;
    font-size: 0.86rem;
    font-weight: 700;
}

.listing-switches {
    justify-content: space-between;
    margin-bottom: 24px;
}

.listing-switches__chip.is-active {
    background: #172033;
    color: #fff;
}

.property-card__title h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
}

.property-card__location,
.property-card__excerpt {
    margin: 0;
    color: #607086;
}

.property-card__price {
    margin: 0;
    color: var(--site-primary);
    font-size: 1.08rem;
    font-weight: 800;
}

.property-card__metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #4e5e74;
    font-size: 0.94rem;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(20, 28, 38, 0.06);
}

.category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(207, 178, 107, 0.2), rgba(17, 17, 17, 0.08));
    color: var(--site-primary);
    font-size: 1.4rem;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    border-radius: 34px;
    background: linear-gradient(135deg, #121823, #1e2c42);
    color: #f8f5ef;
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.listing-summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 26px 0;
    font-size: 1.05rem;
}

.listing-summary strong {
    font-size: 2rem;
    color: var(--site-primary);
}

.empty-state {
    text-align: center;
    margin-top: 24px;
}

.site-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.site-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 28, 38, 0.06);
}

.site-pagination a.is-active {
    background: #172033;
    color: #fff;
}

.detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.detail-hero__prices {
    display: grid;
    gap: 16px;
}

.detail-price {
    min-width: 230px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.detail-price span {
    display: block;
    color: rgba(248, 245, 239, 0.72);
    margin-bottom: 6px;
}

.detail-price strong {
    font-size: 1.15rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.detail-gallery__item {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    aspect-ratio: 1 / 0.85;
}

.detail-gallery__item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 460px;
}

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

.detail-summary {
    margin: 26px 0 10px;
}

.detail-summary__card,
.detail-specs__item,
.detail-prices-grid__item,
.contact-card,
.detail-form {
    background: #fff;
    box-shadow: 0 18px 38px rgba(20, 28, 38, 0.06);
}

.detail-summary__card {
    flex: 1 1 160px;
    padding: 18px 20px;
    border-radius: 22px;
}

.detail-summary__card span {
    display: block;
    margin-top: 10px;
    color: #607086;
}

.detail-summary__card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.12rem;
}

.detail-section {
    margin-top: 34px;
}

.detail-copy {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    color: #5d6675;
    line-height: 1.85;
    box-shadow: 0 18px 38px rgba(20, 28, 38, 0.06);
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.detail-specs__item,
.detail-prices-grid__item {
    padding: 18px 20px;
    border-radius: 22px;
}

.detail-specs__item span,
.detail-prices-grid__item span {
    display: block;
    color: #607086;
    margin-bottom: 8px;
}

.detail-video iframe,
.detail-map {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(20, 28, 38, 0.06);
}

.contact-card,
.detail-form {
    padding: 24px;
    border-radius: 28px;
}

.detail-layout__aside {
    position: sticky;
    top: 120px;
    align-self: start;
    display: grid;
    gap: 18px;
}

.contact-card__agent {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-card__agent img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 22px;
}

.contact-card__agent span,
.detail-form h3 {
    color: #607086;
}

.detail-form {
    display: grid;
    gap: 16px;
}

.detail-form form,
.contact-form {
    display: grid;
    gap: 16px;
}

.detail-form label,
.contact-form label {
    display: grid;
    gap: 8px;
}

.detail-form__captcha,
.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
}

.about-layout__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 32px;
}

.about-layout__copy,
.contact-layout__form {
    padding: 34px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(20, 28, 38, 0.06);
}

.about-layout__copy p {
    color: #5d6675;
    line-height: 1.85;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-info-card {
    height: 100%;
}

.contact-info-card h2 {
    margin-bottom: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
}

.contact-info-card a,
.contact-info-card p {
    display: block;
    margin-bottom: 12px;
}

.site-footer {
    position: relative;
    margin-top: 60px;
    padding: 74px 0 26px;
    color: var(--site-footer-text);
    background:
        radial-gradient(circle at top left, rgba(207, 178, 107, 0.18), transparent 24%),
        linear-gradient(135deg, #0f1218, #182237);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer__brand img {
    width: 160px;
    margin-bottom: 18px;
}

.site-footer__block h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.site-footer__block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer__socials a {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(248, 245, 239, 0.7);
    font-size: 0.95rem;
}

.site-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 18px 32px rgba(34, 197, 94, 0.34);
}

@media (max-width: 1199px) {
    .hero-section__content,
    .detail-layout,
    .contact-layout,
    .about-layout,
    .site-footer__grid,
    .feature-grid,
    .property-grid,
    .category-grid,
    .detail-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout__aside {
        position: static;
    }
}

@media (max-width: 991px) {
    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        background: #101827;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-submenu {
        position: static;
        margin-top: 8px;
        box-shadow: none;
    }

    .hero-section__content,
    .site-search__grid,
    .site-search__grid--hero,
    .feature-grid,
    .property-grid,
    .category-grid,
    .contact-form__grid,
    .detail-specs,
    .detail-gallery,
    .detail-layout,
    .contact-layout,
    .about-layout,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .detail-gallery__item.is-featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 320px;
    }

    .detail-hero,
    .listing-switches,
    .section-heading--inline,
    .cta-panel,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .site-topbar {
        display: none;
    }

    .site-header__bar {
        min-height: 74px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-section__content {
        padding: 70px 0;
    }

    .site-section {
        padding: 70px 0;
    }

    .site-search,
    .feature-card,
    .property-card,
    .category-card,
    .detail-copy,
    .detail-summary__card,
    .detail-specs__item,
    .detail-prices-grid__item,
    .about-layout__copy,
    .contact-layout__form,
    .contact-info-card,
    .contact-card,
    .detail-form,
    .cta-panel {
        border-radius: 22px;
    }
}
