:root {
  --ink: #171717;
  --muted: #737373;
  --line: #e9e6df;
  --gold: #c99344;
  --gold-dark: #a8732c;
  --cream: #fbf8f1;
  --white: #fff;
  --shadow: 0 18px 50px rgba(45, 36, 20, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 11px 16px; color: white; background: var(--ink); border-radius: 4px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(201,147,68,.7); outline-offset: 3px; }

.site-header { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; }
.site-header.scrolled { position: fixed; background: rgba(255,255,255,.94); box-shadow: 0 5px 22px rgba(31,25,13,.08); backdrop-filter: blur(14px); animation: headerDrop .28s ease both; }
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; }
.logo-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(201,147,68,.45); transform: rotate(45deg); border-radius: 5px; }
.logo-mark svg { width: 17px; transform: rotate(-45deg); }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 12px; font-weight: 500; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 5px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.btn { min-height: 43px; border: 0; border-radius: 4px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 12px; transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn-dark { color: white; background: var(--ink); }
.btn-gold { color: white; background: linear-gradient(135deg, #d6a351, #bd8331); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.close-icon { display: none; }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 650px; padding: 146px 0 55px; overflow: hidden; background: #f6f9f9; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 26%, rgba(255,255,255,.13) 62%, rgba(255,255,255,.04)),
  url("assets/images/hero-villa.jpg") center right / cover no-repeat;
  transform: scale(1.02); animation: heroZoom 12s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.02); } }
.hero-content { position: relative; z-index: 1; }
.eyebrow, .section-kicker { color: var(--gold-dark); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.eyebrow span { width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: inset 0 0 0 2px white; background: var(--gold); }
h1 { max-width: 650px; margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.18; text-transform: uppercase; letter-spacing: -.045em; }
h1 em { color: var(--gold-dark); font-style: normal; font-weight: 600; }
.hero-copy { color: #5e5e5e; line-height: 1.8; margin: 22px 0 18px; }
.trust-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.trust-row strong { font-size: 12px; }
.trust-row span { color: var(--muted); }
.avatars { display: flex; margin-right: 4px; }
.avatars img { width: 30px; height: 30px; object-fit: cover; border: 2px solid white; border-radius: 50%; margin-left: -7px; }
.avatars img:first-child { margin-left: 0; }

.search-panel { width: min(1040px, 100%); display: grid; grid-template-columns: 1.15fr 1fr 1fr 180px; gap: 0; margin-top: 40px; padding: 15px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.8); border-radius: 10px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.search-field { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 0 25px; border-right: 1px solid var(--line); }
.search-field > span:first-child { color: #999; font-size: 10px; }
.select-row { display: flex; align-items: center; gap: 10px; }
.select-row svg { color: var(--gold-dark); flex: 0 0 auto; }
.select-row select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 600; cursor: pointer; }
.search-panel .btn { min-height: 58px; margin-left: 15px; }

.stats-section { position: relative; z-index: 2; margin-top: -15px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 42px; background: white; border: 1px solid #f0ede7; border-radius: 10px; box-shadow: 0 12px 35px rgba(40,30,10,.06); }
.stat { display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat > svg { width: 31px; height: 31px; color: var(--gold); }
.stat div { display: flex; flex-direction: column; gap: 5px; }
.stat strong { font-size: 15px; }
.stat span { color: var(--muted); font-size: 10px; }

.section { padding: 52px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 9px 0 22px; }
h2 { margin: 0; font-size: clamp(23px, 2.3vw, 34px); letter-spacing: -.04em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font-size: 11px; cursor: pointer; }
.text-link svg { color: var(--gold); transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; transition: transform .35s, box-shadow .35s; }
.property-card:hover { transform: translateY(-8px); box-shadow: 0 18px 35px rgba(31,25,13,.13); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1.48; }
.card-image img { height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.property-card:hover .card-image img { transform: scale(1.08); }
.tag { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 3px; background: rgba(255,255,255,.92); font-size: 8px; font-weight: 600; }
.heart { position: absolute; top: 10px; right: 10px; width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; opacity: 0; transform: translateY(-6px); transition: .25s; }
.property-card:hover .heart, .heart.saved { opacity: 1; transform: none; }
.heart.saved { color: #b94444; }
.heart.saved svg { fill: currentColor; }
.card-body { padding: 15px; }
.card-body small { color: #999; font-size: 8px; }
.card-body h3 { margin: 7px 0 11px; font-size: 12px; }
.card-meta { display: flex; gap: 12px; color: #999; font-size: 8px; margin-bottom: 14px; }
.price { font-size: 12px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

.services { padding-top: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 22px; }
.service { display: flex; gap: 15px; padding: 18px 10px; }
.service > span { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold-dark); border: 1px solid rgba(201,147,68,.35); border-radius: 50% 50% 8px 50%; transition: background .3s, color .3s, transform .3s; }
.service:hover > span { color: white; background: var(--gold); transform: rotate(-6deg); }
.service h3 { margin: 2px 0 7px; font-size: 12px; }
.service p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }

.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 55px; }
.story-image { overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); }
.story-image img { aspect-ratio: 1.7; object-fit: cover; transition: transform .8s; }
.story-image:hover img { transform: scale(1.04); }
.story-content h2 { margin: 12px 0 16px; }
.story-content p { color: var(--muted); line-height: 1.8; margin: 0 0 25px; }
.story-content .btn svg { width: 16px; }

footer { padding: 35px 0 90px; background: #171717; color: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { color: #aaa; font-size: 11px; }
.footer-inner > a:last-child { color: var(--gold); font-weight: 600; }
.mobile-bottom { display: none; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; padding: 12px 18px; color: white; background: #222; border-radius: 5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--delay, 0s), transform .7s var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.delay-1 { --delay: .08s; }
.delay-2 { --delay: .16s; }
.delay-3 { --delay: .24s; }
.delay-4 { --delay: .3s; }

.news { border-top: 1px solid var(--line); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: white; transition: transform .3s, box-shadow .3s, border-color .3s; }
.news-card:hover { transform: translateY(-5px); border-color: rgba(201,147,68,.5); box-shadow: 0 15px 35px rgba(31,25,13,.08); }
.news-card h3 { margin: 10px 0 12px; font-size: 16px; line-height: 1.5; }
.news-card > p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.news-meta { margin: 0; color: var(--gold-dark); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 950px) {
  .container { width: min(100% - 36px, 760px); }
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { display: grid; }
  .site-header.open { position: fixed; background: white; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
  .site-header.open .menu-icon { display: none; }
  .site-header.open .close-icon { display: block; }
  .mobile-menu { position: fixed; top: 84px; left: 0; right: 0; height: calc(100dvh - 84px); display: flex; flex-direction: column; padding: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); visibility: hidden; transform: translateX(100%); transition: transform .35s ease, visibility .35s; overflow-y: auto; overscroll-behavior: contain; }
  .site-header.open .mobile-menu { visibility: visible; transform: none; }
  .mobile-menu a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
  .hero { min-height: 725px; padding-top: 130px; }
  .hero-bg { background-position: 60% center; }
  .hero-content { padding-bottom: 0; }
  h1 { max-width: 530px; font-size: 40px; }
  .search-panel { grid-template-columns: 1fr 1fr; margin-top: 35px; padding: 16px; }
  .search-field { min-height: 65px; padding: 8px 18px; }
  .search-field:nth-child(2) { border-right: 0; }
  .search-field:nth-child(3) { border-top: 1px solid var(--line); }
  .search-panel .btn { margin: 8px 0 0 15px; }
  .stats-section { margin-top: 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 25px 15px; }
  .stat { gap: 8px; }
  .stat > svg { width: 24px; }
  .property-grid { grid-template-columns: repeat(3, 1fr); }
  .property-card:nth-child(4) { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 12px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 28px); }
  .nav-wrap { height: 68px; gap: 12px; }
  .logo { font-size: 15px; }
  .logo-mark { width: 27px; height: 27px; }
  .mobile-menu { top: 68px; height: calc(100dvh - 68px); padding: 15px 22px calc(85px + env(safe-area-inset-bottom)); }
  .mobile-menu a { display: flex; align-items: center; min-height: 56px; padding: 12px 2px; font-size: 15px; }
  .hero { min-height: 0; padding: 96px 0 28px; overflow: hidden; }
  .hero-bg { height: 440px; bottom: auto; background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 48%, rgba(255,255,255,.08) 92%),
    url("assets/images/hero-villa.jpg") 63% center / cover;
  }
  .eyebrow { margin-bottom: 13px; font-size: 8px; }
  h1 { max-width: 350px; font-size: clamp(25px, 7.4vw, 29px); line-height: 1.25; }
  .hero-copy { max-width: 260px; margin: 15px 0 13px; font-size: 10px; }
  .trust-row { flex-wrap: wrap; gap: 6px; font-size: 8px; }
  .avatars img { width: 25px; height: 25px; }
  .search-panel { max-width: 100%; grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding: 9px 13px 13px; border: 1px solid rgba(222,215,201,.75); border-radius: 9px; box-shadow: 0 15px 38px rgba(45,36,20,.13); overflow: hidden; }
  .search-field { min-width: 0; min-height: 60px; padding: 8px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .select-row { min-width: 0; }
  .select-row select { min-width: 0; height: 28px; font-size: 11px; }
  .search-field:nth-child(3) { border-top: 0; }
  .search-panel .btn { min-height: 48px; margin: 11px 0 0; }
  .stats-section { margin-top: 0; padding-top: 14px; background: white; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 8px 0; box-shadow: 0 9px 28px rgba(40,30,10,.05); overflow: hidden; }
  .stat { min-width: 0; justify-content: flex-start; padding: 14px; border-bottom: 1px solid var(--line); }
  .stat > svg { width: 25px; height: 25px; flex: 0 0 auto; }
  .stat div { min-width: 0; }
  .stat span { line-height: 1.35; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat strong { font-size: 12px; }
  .section { padding: 38px 0; }
  .section-heading { align-items: center; margin-bottom: 16px; }
  h2 { font-size: 21px; }
  .text-link { flex: 0 0 auto; min-height: 44px; padding: 0; }
  .property-grid { display: flex; gap: 14px; overflow-x: auto; margin-right: -14px; padding: 0 14px 18px 1px; scroll-padding-left: 1px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .property-grid::-webkit-scrollbar { display: none; }
  .property-card { flex: 0 0 min(86%, 330px); scroll-snap-align: start; }
  .property-card:nth-child(4) { display: block; }
  .heart { opacity: 1; transform: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .service { min-width: 0; flex-direction: column; gap: 11px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
  .service h3 { line-height: 1.35; }
  .news-card { padding: 20px; }
  .story-grid { grid-template-columns: 1fr; gap: 25px; }
  .story-content { padding-bottom: 5px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  footer { padding-bottom: 35px; }
  .mobile-bottom { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; width: 100%; min-height: calc(66px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; padding: 7px 8px max(6px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -5px 20px rgba(0,0,0,.06); backdrop-filter: blur(14px); overflow: visible; }
  .mobile-bottom a, .mobile-bottom button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #888; font-size: 8px; cursor: pointer; }
  .mobile-bottom a, .mobile-bottom button { min-width: 0; padding-inline: 2px; white-space: nowrap; }
  .mobile-bottom a:not(.call), .mobile-bottom button { min-height: 48px; justify-content: center; }
  .mobile-bottom svg { width: 20px; height: 20px; }
  .mobile-bottom .active { color: var(--ink); }
  .mobile-bottom .call { width: 52px; height: 52px; justify-self: center; justify-content: center; margin-top: -27px; color: white; background: var(--gold); border: 4px solid white; border-radius: 50%; box-shadow: 0 6px 17px rgba(176,117,37,.38); }
  .mobile-bottom .call svg { width: 22px; height: 22px; }
  .toast { right: 14px; bottom: 82px; left: 14px; text-align: center; }
}

@media (max-width: 365px) {
  .container { width: calc(100% - 24px); }
  h1 { font-size: 24px; }
  .hero-copy br { display: none; }
  .section-heading { gap: 10px; }
  h2 { font-size: 19px; }
  .stat { padding-inline: 10px; }
  .stat > svg { width: 22px; }
  .service { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
