/* ==========================================================================
   Opera Estate — Verdi / Cadence  |  Shared stylesheet
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a47;
  --charcoal: #141414;
  --charcoal-2: #1d1d1b;
  --paper: #ffffff;
  --mist: #f3f3f0;
  --line: #dcdcd6;
  --olive: #6c634f;          /* Verdi logo colour */
  --olive-deep: #4d4636;
  --bronze: #8b6f47;         /* inquire CTA */
  --bronze-light: #a67c52;
  --leaf: #3f5a40;           /* tropical accent */
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-ui); font-weight: 500; line-height: 1.2; letter-spacing: .02em; }
p { margin: 0 0 1.2em; }

:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--bronze); color: #fff; padding: 10px 18px; font-family: var(--font-ui); font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 56px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 56px); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #ecebe6; }
.section--olive { background: var(--olive); color: #f2f0e8; }
.section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) - 6px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--olive .eyebrow { color: #cdb894; }

.display {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.8; color: var(--ink-soft); }
.section--dark .lead, .section--olive .lead { color: #d8d6cc; }
.serif-note { font-family: var(--font-serif); font-style: italic; font-size: 1.35em; color: var(--bronze); }

/* ---------- Mask icons (colour follows currentColor) ---------- */
.ico { display: block; flex: none; width: var(--s, 56px); height: var(--s, 56px); background-color: currentColor; color: #5c4218; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding: 15px 30px; border: 1px solid var(--bronze); background: var(--bronze); color: #fff;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  border-radius: 0;
}
.btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--dark { background: var(--charcoal); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--olive); border-color: var(--olive); }
.btn--sm { padding: 11px 22px; font-size: 11.5px; }

.text-link {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--bronze); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .25s;
}
.text-link:hover { color: var(--olive-deep); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 10, .55), rgba(10, 10, 10, 0));
  transition: opacity .4s;
}
.site-header.is-solid { background: rgba(20, 20, 19, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .18); --header-h: 72px; height: 72px; }
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; width: min(1440px, 100% - 48px); margin-inline: auto; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 164px; height: auto; transition: width .4s var(--ease); }
.site-header.is-solid .brand img { width: 140px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav .nav-btn {
  display: inline-block; padding: 10px 0; background: none; border: 0; cursor: pointer; color: inherit;
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  position: relative;
}
.primary-nav > ul > li > a::after, .primary-nav .nav-btn::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--bronze-light); transition: right .35s var(--ease);
}
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a[aria-current="page"]::after, .primary-nav .nav-btn:hover::after { right: 0; }

.has-sub .sub {
  position: absolute; top: 100%; left: -18px; min-width: 260px; padding: 14px 0; background: rgba(20, 20, 19, .97);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  display: block;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub .sub a { display: block; padding: 10px 24px; letter-spacing: .12em; }
.has-sub .sub a:hover { color: var(--bronze-light); }

.header-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; fill: currentColor; }
.header-phone:hover { color: var(--bronze-light); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; padding: 0; margin-left: auto; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .header-inner { gap: 10px; }
  .header-phone { margin-left: auto; }
  .header-phone span { display: inline; }
  .nav-toggle { margin-left: 0; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: var(--charcoal); padding: calc(var(--header-h) + 20px) 32px 40px;
    transform: translateX(100%); transition: transform .45s var(--ease); margin: 0; overflow-y: auto; z-index: -1;
    visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .primary-nav a, .primary-nav .nav-btn { display: block; width: 100%; text-align: left; padding: 18px 0; font-size: 13px; }
  .primary-nav > ul > li > a::after { display: none; }
  .has-sub .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; padding: 0 0 10px 14px; min-width: 0; }
  .has-sub .sub a { padding: 10px 0; color: #cfcdc3; font-size: 12px; }
  .header-inquire { display: none; }
}
@media (max-width: 520px) {
  .header-phone span { display: none; }
  .brand img { width: 132px; }
}

body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 620px; background: var(--charcoal); color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, .25) 45%, rgba(10, 10, 10, .45) 100%);
}
.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(84px, 13vh, 150px);
}
.hero-content .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 78px); font-weight: 300; letter-spacing: .05em; line-height: 1.08; text-transform: uppercase;
}
.hero h1 strong { font-weight: 600; display: block; }
.hero-copy { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: #ebe9e2; max-width: 460px; border-left: 1px solid rgba(255, 255, 255, .4); padding-left: 28px; }
.hero-copy p { margin: 0 0 24px; }

.hero-anim { opacity: 0; transform: translateY(26px); animation: heroIn 1.2s var(--ease) forwards; }
.hero-anim.d2 { animation-delay: .25s; }
.hero-anim.d3 { animation-delay: .5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 34px; }
.hero-controls .wrap { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 12px; }
.hero-dots button { width: 38px; height: 22px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.hero-dots button::after { content: ""; position: absolute; left: 0; top: 10px; height: 2px; width: 0; background: #fff; }
.hero-dots button.is-active::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .15); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; backdrop-filter: blur(4px);
}
.hero-arrows button:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.hero-arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

@media (max-width: 900px) {
  .hero-content .wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding-left: 20px; }
  .hero-arrows button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { transition: none; }
  .hero-anim { animation: none; opacity: 1; transform: none; }
  .hero-dots button.is-active::after { animation: none; width: 100%; }
}

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { position: relative; min-height: clamp(380px, 56vh, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--charcoal); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .82), rgba(10, 10, 10, .35) 60%, rgba(10, 10, 10, .5)); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(44px, 7vw, 84px); padding-top: calc(var(--header-h) + 40px); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 62px); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.page-hero .crumbs { font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: #cdc9bc; margin-bottom: 18px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { color: #fff; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
.no-js .reveal, .no-js .reveal-img img { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img img { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Home sections
   ========================================================================== */
/* 1. Mission */
.mission { text-align: left; }
.mission-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.mission .lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.6; font-weight: 300; color: var(--ink); }
.mission .lead strong { font-weight: 500; }

/* 2. Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.split--flip .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; object-fit: cover; }
.split-media--offset::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--bronze); z-index: 0; }
.split-media--offset .reveal-img { position: relative; z-index: 1; }
.split-media--tall img { aspect-ratio: 4 / 5; }

/* 3. Design philosophy (parallax band) */
.philosophy { padding: 0; min-height: 720px; display: flex; align-items: center; background: url("../assets/images/parallax.jpg") center / cover fixed no-repeat; color: var(--ink); }
.philosophy .wrap { display: flex; justify-content: flex-end; padding-block: 90px; }
.philosophy-panel { width: min(560px, 100%); background: #fff; padding: clamp(36px, 4.4vw, 68px); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.philosophy-mark { width: 190px; margin-bottom: 30px; }
.philosophy-panel h2 { margin-bottom: 22px; }
.philosophy-panel p:last-child { margin-bottom: 0; }
.philosophy-panel .flow { font-family: var(--font-serif); font-size: 32px; font-style: italic; color: var(--bronze); display: block; margin-bottom: 8px; line-height: 1.1; }
@media (max-width: 900px) { .philosophy { background-attachment: scroll; min-height: 0; } .philosophy .wrap { justify-content: center; } }

/* 4. Composed for living */
.composed-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 72px); }
.points { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.point { padding: 44px 32px 44px 0; border-right: 1px solid var(--line); margin-right: 32px; }
.point:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.point .ico { --s: 62px; margin-bottom: 28px; }
.point h3 { font-size: 15.5px; font-weight: 500; line-height: 1.55; letter-spacing: .06em; }
@media (max-width: 960px) {
  .points { grid-template-columns: repeat(2, 1fr); }
  .point:nth-child(2) { border-right: 0; margin-right: 0; }
  .point:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .points { grid-template-columns: 1fr; }
  .point { border-right: 0; margin-right: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .point:first-child { border-top: 0; }
}

/* 5. Cadence collection */
.collection { position: relative; color: #fff; padding: 0; }
.collection-media { position: relative; height: clamp(360px, 52vw, 640px); overflow: hidden; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; }
.collection-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .75), rgba(10, 10, 10, .1) 70%); }
.collection-body { position: relative; margin-top: -170px; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.collection-panel { background: var(--olive); padding: clamp(34px, 5vw, 76px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(26px, 5vw, 76px); align-items: center; max-width: 1100px; }
.collection-num { font-family: var(--font-serif); font-size: clamp(110px, 15vw, 220px); line-height: .8; font-weight: 300; color: #e9e1cd; }
.collection-num small { display: block; font-family: var(--font-ui); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: #d4cbb5; margin-top: 42px; line-height: 1; }
.collection-panel p { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; color: #f1eee4; }
@media (max-width: 760px) { .collection-panel { grid-template-columns: 1fr; } .collection-body { margin-top: -90px; } }

/* 6. Investment */
.invest-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); }
.invest-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.invest-cols p { color: #d8d6cc; margin: 0; }
@media (max-width: 960px) { .invest-grid, .invest-cols { grid-template-columns: 1fr; } .invest-cols { gap: 0; } .invest-cols p + p { margin-top: 1.2em; } }

/* 7. Cadence villa specs */
.villa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.floorplan { background: #fff; border: 1px solid var(--line); padding: 20px; }
.floorplan figcaption, .caption { font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.specs { border-top: 1px solid var(--ink); margin: 36px 0 0; }
.specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-ui); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.specs dd { margin: 0; font-family: var(--font-ui); font-size: clamp(18px, 1.8vw, 24px); font-weight: 300; letter-spacing: .04em; }
.specs dd span { font-size: .6em; letter-spacing: .15em; margin-left: 6px; color: var(--ink-soft); }
.villa-photos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: clamp(48px, 6vw, 90px); }
.villa-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.villa-photos .tall img { aspect-ratio: auto; max-height: 560px; }
@media (max-width: 960px) { .villa-grid, .villa-photos { grid-template-columns: 1fr; } }

/* 8. Key features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); border-left: 1px solid rgba(255, 255, 255, .16); }
.feature { padding: clamp(32px, 4vw, 56px); border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); display: flex; align-items: center; gap: 26px; transition: background .4s; }
.feature:hover { background: rgba(255, 255, 255, .05); }
.feature .ico { --s: 58px; color: #cdb894; }
.feature p { margin: 0; font-family: var(--font-ui); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; font-weight: 500; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* 9. Location */
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.location-map { background: #c7c7c4; }
.location-map img { width: 100%; max-height: 780px; object-fit: contain; margin-inline: auto; }
.loc-list li { display: grid; grid-template-columns: 9em 1fr; align-items: baseline; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.loc-list li:first-child { border-top: 1px solid var(--ink); }
.loc-list b { font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--bronze); text-transform: uppercase; }
.loc-list li.loc-note { display: block; }
.map-embed { margin-top: 40px; border: 0; width: 100%; height: 380px; filter: grayscale(.4) contrast(1.02); }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }

/* 10. Contact strip */
.strip { background: var(--olive); color: #fff; padding: clamp(48px, 6vw, 84px) 0; }
.strip-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; }
.strip h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; }
.strip ul li { padding: 4px 0; font-family: var(--font-ui); font-size: 15px; letter-spacing: .06em; }
.strip ul a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.strip-badge { font-family: var(--font-serif); text-align: center; border-left: 1px solid rgba(255, 255, 255, .35); padding-left: 40px; }
.strip-badge b { display: block; font-size: 76px; font-weight: 300; line-height: .9; }
.strip-badge span { font-family: var(--font-ui); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 860px) { .strip-inner { grid-template-columns: 1fr; gap: 24px; } .strip-badge { border-left: 0; padding-left: 0; text-align: left; } }

/* 11. Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 72px); }
.benefit { padding: 40px 36px 44px 0; margin-right: 36px; border-top: 1px solid var(--line); }
.benefit:nth-child(3n) { margin-right: 0; padding-right: 0; }
.benefit .ico { --s: 56px; margin-bottom: 26px; }
.benefit h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.benefit p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } .benefit:nth-child(3n) { margin-right: 36px; padding-right: 36px; } .benefit:nth-child(2n) { margin-right: 0; padding-right: 0; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } .benefit, .benefit:nth-child(n) { margin-right: 0; padding-right: 0; } }

/* 12. Register */
.register { background: linear-gradient(rgba(14, 14, 13, .86), rgba(14, 14, 13, .9)), url("../assets/images/paralax-faq.jpg") center / cover fixed; color: #fff; }
.register-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.register-contact { margin-top: 36px; }
.register-contact li { margin-bottom: 8px; font-family: var(--font-ui); letter-spacing: .06em; font-size: 15px; }
.register-contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 900px) { .register-grid { grid-template-columns: 1fr; } .register { background-attachment: scroll; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: #cfcbbf; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 10px 0 12px;
  font-family: var(--font-body); font-size: 17px; border-radius: 0; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bronze-light); }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 6px; }
.radio-row label { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .08em; font-size: 14px; text-transform: none; color: #fff; cursor: pointer; font-family: var(--font-body); }
.radio-row input { appearance: none; width: 20px; height: 20px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; display: grid; place-items: center; margin: 0; cursor: pointer; }
.radio-row input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze-light); transform: scale(0); transition: transform .2s; }
.radio-row input:checked::before { transform: scale(1); }
.form .btn { justify-self: start; }
.form-note { font-size: 13px; color: #a9a597; margin: 0; align-self: center; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* 13. FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 7vw, 110px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 26px 0; font-family: var(--font-ui); font-size: clamp(14.5px, 1.2vw, 16.5px); font-weight: 500; letter-spacing: .04em; color: inherit; line-height: 1.5;
}
.faq-q:hover { color: var(--bronze); }
.faq-ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq-ico::after { transform: rotate(90deg); }
.faq-item.is-open .faq-ico::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 48px 28px 0; margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* 14. Articles */
.articles-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.article-card { display: flex; flex-direction: column; text-decoration: none; }
.article-card .thumb { overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-meta { font-family: var(--font-ui); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin: 22px 0 10px; }
.article-card h3 { font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: .02em; margin-bottom: 12px; transition: color .3s; }
.article-card:hover h3 { color: var(--bronze); }
.article-card p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.7; }
.article-card .more { margin-top: auto; font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--bronze); }
.loading, .empty-msg { padding: 40px 0; color: var(--ink-soft); font-family: var(--font-ui); letter-spacing: .08em; font-size: 14px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   About / villa / contact inner pages
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); }
.checklist li { display: flex; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: 16px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.checklist li:first-child { border-top: 1px solid var(--ink); }
.checklist .ico { --s: 40px; }

.sales-proc { counter-reset: step; border-top: 1px solid rgba(255, 255, 255, .5); }
.sales-proc li { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); counter-increment: step; }
.sales-proc li::before { content: "0" counter(step); font-family: var(--font-serif); font-size: 34px; color: #cdb894; line-height: 1; }
.sales-proc .what { font-family: var(--font-ui); font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .08em; text-transform: uppercase; }
.sales-proc .what small { display: block; text-transform: none; letter-spacing: .02em; font-family: var(--font-body); color: #bdb9a9; font-size: 14px; margin-top: 4px; }
.sales-proc .amt { font-family: var(--font-ui); font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; }
@media (max-width: 560px) { .sales-proc li { grid-template-columns: 44px 1fr; } .sales-proc .amt { grid-column: 2; } }

.villa-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); }
.villa-intro h2 { margin-bottom: 0; }
.unit-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 5vw, 80px); }
.unit h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 300; letter-spacing: .14em; margin-bottom: 26px; }
.unit .specs { margin-top: 0; }
.unit-specs--single { grid-template-columns: minmax(0, 560px); }
.kf-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; margin-top: 40px; }
.kf-list li { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); display: flex; gap: 18px; align-items: center; font-family: var(--font-ui); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.kf-list .ico { --s: 38px; color: #cdb894; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .tall img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .villa-intro, .unit-specs, .kf-list { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } .about-intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.other-villa { display: grid; grid-template-columns: 1fr 1fr; }
.other-villa a { position: relative; min-height: 340px; display: flex; align-items: flex-end; padding: 40px; color: #fff; text-decoration: none; overflow: hidden; }
.other-villa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.other-villa a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .8), rgba(10, 10, 10, .15)); }
.other-villa a:hover img { transform: scale(1.05); }
.other-villa span { position: relative; z-index: 2; font-family: var(--font-ui); letter-spacing: .14em; text-transform: uppercase; font-size: 18px; }
.other-villa small { display: block; font-size: 11px; letter-spacing: .28em; color: #cfc8b4; margin-bottom: 8px; }
@media (max-width: 700px) { .other-villa { grid-template-columns: 1fr; } }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); margin-top: 40px; }
.contact-cards > div { padding: 32px 30px 32px 0; }
.contact-cards h3 { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.contact-cards a { text-decoration: none; }
.contact-cards a:hover { color: var(--bronze); }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.blog-list .article-card h3 { font-size: clamp(19px, 1.7vw, 23px); }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }

.post-header > * { max-width: 900px; }
.post-header .article-meta { margin-top: 0; color: #d6c8a8; }
.prose { font-size: 18px; line-height: 1.85; }
.prose h2, .prose h3, .prose h4 { margin: 2em 0 .7em; font-weight: 500; line-height: 1.35; letter-spacing: .02em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 31px); }
.prose h3 { font-size: clamp(20px, 2vw, 25px); }
.prose h4 { font-size: 18px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li > p { margin: 0; }
.prose a { color: var(--bronze); text-underline-offset: 3px; }
.prose img { margin: 2.2em auto; width: 100%; }
.prose figure { margin: 2.2em 0; }
.prose figure img { margin: 0; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--bronze); font-family: var(--font-serif); font-size: 1.5em; font-style: italic; line-height: 1.5; }
.prose table { border-collapse: collapse; width: 100%; margin: 2em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { background: var(--mist); font-family: var(--font-ui); font-size: 13px; letter-spacing: .06em; }
.post-foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: #cbc8bd; font-size: 15.5px; }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(60px, 7vw, 100px) 0 60px; }
.footer-logo { width: 190px; margin-bottom: 26px; }
.site-footer h4 { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #fff; margin-bottom: 22px; font-weight: 600; }
.site-footer p { line-height: 1.8; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: none; stroke: var(--bronze-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 26px; }
.social a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s; }
.social a:hover { background: var(--bronze); border-color: var(--bronze); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { text-decoration: none; font-family: var(--font-ui); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; font-size: 13px; color: #8f8c80; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating contact widget + modal + toast
   ========================================================================== */
.chaty { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.chaty a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease), box-shadow .3s; position: relative;
}
.chaty a:hover { transform: translateY(-3px) scale(1.06); }
.chaty svg { width: 26px; height: 26px; fill: currentColor; }
.chaty .c-wa { background: #1ea956; }
.chaty .c-tel { background: var(--bronze); }
.chaty a::before {
  content: attr(data-tip); position: absolute; right: 66px; white-space: nowrap; background: var(--charcoal); color: #fff; padding: 7px 12px; font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none;
}
.chaty a:hover::before { opacity: 1; transform: none; }

dialog.inquire-modal { border: 0; padding: 0; width: min(720px, 100% - 28px); max-height: calc(100vh - 28px); background: #181817; color: #fff; overflow: auto; }
dialog.inquire-modal::backdrop { background: rgba(5, 5, 5, .72); backdrop-filter: blur(3px); }
.inquire-inner { padding: clamp(28px, 4vw, 52px); position: relative; }
.inquire-inner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.inquire-inner > p { color: #b8b4a6; margin-bottom: 30px; font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; background: none; border: 0; color: #fff; cursor: pointer; font-size: 30px; line-height: 1; }
.modal-close:hover { color: var(--bronze-light); }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 400; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--charcoal); color: #fff; padding: 16px 28px; border-left: 3px solid var(--bronze-light); font-family: var(--font-ui); font-size: 13.5px; letter-spacing: .04em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transition: opacity .4s, transform .4s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
