:root {
  --ember: #f37021;
  --gold: #c8a46b;
  --ink: #1c1416;
  --ink-2: #2a1f22;
  --ivory: #f8f4ee;
  --line: rgba(28, 20, 22, 0.12);
  --max: 1120px;
  --muted: #6b5c60;
  --radius: 4px;
  --sand: #efe7db;
  --sans: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --shadow: 0 30px 60px -30px rgba(28, 20, 22, 0.35);
  --stone: #d9cebf;
  --white: #fff;
  --wine: #a01e2b;
  --wine-deep: #6e1420;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 80;
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.section { padding: 5.5rem 0; }
.section h2 { font-size: clamp(2rem, 4vw, 3.15rem); max-width: 16ch; }
.lede { color: var(--muted); max-width: 62ch; margin-top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.05rem 1.6rem;
  color: #fff;
}
.site-header.is-solid {
  background: rgba(28, 20, 22, 0.92);
  backdrop-filter: blur(10px);
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 1.55rem; }
.logo-sub { margin-top: 0.28rem; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }
.nav { display: flex; gap: 1.15rem; margin-left: auto; align-items: center; }
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a:hover { color: var(--gold); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: var(--wine);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.btn:hover { background: var(--wine-deep); }
.btn.block { width: 100%; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; padding: 0.4rem 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }

.hero {
  min-height: 100vh;
  background: #1c1416 center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 7.5rem 0 3.2rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 10, 12, 0.55) 0%, rgba(16, 10, 12, 0.18) 34%, rgba(16, 10, 12, 0.78) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); max-width: 12ch; letter-spacing: -0.02em; }
.hero .kicker { margin: 1.1rem 0 0.7rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.hero .intro { max-width: 46ch; color: rgba(255,255,255,.88); font-weight: 300; }
.stats { display: flex; gap: 2.2rem; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.25); }
.stats div { min-width: 7rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; }
.stats span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.55rem; }
.ticks li { padding-left: 1.1rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--wine); }
.frame { position: relative; }
.frame img { width: 100%; height: 420px; object-fit: cover; }
.cap { position: absolute; left: 0.8rem; bottom: 0.8rem; background: rgba(28,20,22,.72); color: #fff; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.5rem; }

.highlights { background: var(--ivory); }
.cards-3, .cards-4 { display: grid; gap: 1rem; margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.photo-card img { width: 100%; height: 220px; object-fit: cover; }
.photo-card p, .fact h3 { margin-top: 0.7rem; }
.photo-card span, .fact p, .price-card p, .dream p, .loc p { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.fact h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }

.pricing { background: var(--sand); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.price-card { background: var(--ivory); padding: 1.6rem 1.3rem 1.3rem; position: relative; min-height: 280px; display: flex; flex-direction: column; }
.price-card .size { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.price-card .unit { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--muted); }
.price-card .amt { font-family: var(--serif); font-size: 1.7rem; margin: 1rem 0 0.4rem; }
.price-card .btn { margin-top: auto; }
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
}
.fine { margin-top: 1rem; color: var(--muted); font-size: 0.82rem; max-width: 80ch; }

.gallery-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0.7rem; margin-top: 1.6rem; }
.gallery-row figure { margin: 0; position: relative; }
.gallery-row img { width: 100%; height: 280px; object-fit: cover; }
.gallery-row figcaption { margin-top: 0.45rem; font-size: 0.9rem; }
.note { margin-top: 0.8rem; color: var(--muted); font-size: 0.82rem; }

.legacy { background: var(--ink); color: #fff; }
.legacy h2, .legacy .lede { color: #fff; }
.legacy .lede { color: rgba(255,255,255,.78); }
.legacy-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.legacy-stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; }
.legacy-stats span { display: block; color: rgba(255,255,255,.7); font-size: 0.88rem; margin-top: 0.25rem; }
.brands { margin-top: 1.6rem; color: var(--gold); letter-spacing: 0.04em; }

.living-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.living-grid h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }

.location { background: var(--sand); }
.loc { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.loc article { background: var(--ivory); padding: 1rem 1.1rem; }
.loc h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 650; }

.corridor { position: relative; color: #fff; background: #243028 center/cover no-repeat; }
.corridor::before { content: ""; position: absolute; inset: 0; background: rgba(18, 16, 14, 0.72); }
.corridor .wrap { position: relative; z-index: 1; }
.corridor h2, .corridor .lede { color: #fff; }
.corridor .lede { color: rgba(255,255,255,.8); }
.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 1.6rem; list-style: none; padding: 0; }
.pills li { border: 1px solid rgba(255,255,255,.25); padding: 0.9rem; }
.pills strong { display: block; font-family: var(--serif); font-size: 1.4rem; }
.table-wrap { overflow-x: auto; margin-top: 1.8rem; background: rgba(255,255,255,.96); color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
caption { text-align: left; padding: 0.8rem 0.9rem 0; font-family: var(--serif); font-size: 1.35rem; }

.dreams { display: grid; grid-template-columns: 0.7fr 1fr 1fr 1fr; gap: 0.8rem; margin-top: 1.8rem; }
.dream { background: var(--sand); padding: 1.2rem; min-height: 220px; }
.dream.feature { background: var(--ink); color: #fff; }
.dream.feature p { color: rgba(255,255,255,.75); }
.dream h3 { font-size: 1.45rem; margin-bottom: 0.45rem; }

.access { background: var(--wine); color: #fff; }
.access h2, .access .lede { color: #fff; }
.access .lede { color: rgba(255,255,255,.86); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; counter-reset: step; }
.steps article { border-top: 1px solid rgba(255,255,255,.35); padding-top: 0.8rem; }
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; }
.steps p { color: rgba(255,255,255,.82); font-size: 0.92rem; margin-top: 0.35rem; }

.editorial h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 650; margin-top: 1.4rem; }
.editorial p { margin-top: 0.4rem; color: #3a3032; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 0.45rem; color: var(--muted); }

.closing { background: var(--ink); color: #fff; }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.sub { color: var(--muted); margin: 0.4rem 0 1rem; font-size: 0.92rem; }
.closing h2 { color: #fff; }
.panel { background: var(--ivory); color: var(--ink); padding: 1.4rem; }
.panel h2 { font-size: 1.8rem; max-width: none; }
.panel .sub { color: var(--muted); margin: 0.4rem 0 1rem; font-size: 0.92rem; }

.field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.85rem; }
.field span, .check { font-size: 0.82rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28,20,22,.28);
  border-radius: 0;
  padding: 0.55rem 0;
  outline: none;
}
input.is-invalid, select.is-invalid { border-bottom-color: var(--wine); }
.err { min-height: 0.9rem; color: var(--wine); font-size: 0.75rem; margin: 0; }
.check { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--muted); }
.check input { margin-top: 0.2rem; }
.quiet { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 0.7rem; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16, 10, 12, 0.62);
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal-card {
  width: min(920px, 100%);
  background: var(--ivory);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-visual {
  background: #1d3a28 center/cover no-repeat;
  color: #fff;
  min-height: 460px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.modal-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.62)); }
.modal-visual > * { position: relative; z-index: 1; }
.modal-visual h2 { font-size: 2.2rem; margin: 0.3rem 0 0.8rem; }
.modal-visual ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; }
.modal-form { padding: 1.5rem 1.4rem 1.2rem; }
.modal-form h2 { font-size: 1.85rem; max-width: none; }
.modal-x {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.72); padding: 2rem 0 2.4rem; font-size: 0.84rem; }
.site-footer a { text-decoration: underline; }
.foot-nav { display: flex; gap: 1rem; margin: 0.8rem 0; }
body.panel-open { overflow: hidden; }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.2rem 1rem;
    gap: 0.7rem;
  }
  .nav.is-open { display: flex; }
  .header-cta { display: none; }
  .split, .cards-3, .cards-4, .facts, .price-grid, .gallery-row, .legacy-stats, .living-grid, .pills, .dreams, .steps, .closing-grid, .modal-card, .row-2 {
    grid-template-columns: 1fr;
  }
  .stats { flex-wrap: wrap; gap: 1rem; }
  .hero { align-items: flex-end; min-height: 92vh; }
  .frame img, .gallery-row img { height: 220px; }
  .modal-visual { min-height: 220px; }
  .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
}

/* REV2: honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* REV2: sticky WhatsApp + Call */
.sticky-contact { position: fixed; z-index: 90; display: flex; }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--white); text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.sc-btn:hover { filter: brightness(1.06); }
.sc-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sc-wa { background: #25d366; }
.sc-call { background: var(--wine); }
@media (max-width: 767px) {
  .sticky-contact { left: 0; right: 0; bottom: 0; box-shadow: 0 -6px 20px rgba(28,20,22,.18); padding-bottom: env(safe-area-inset-bottom); background: var(--wine); }
  .sc-btn { flex: 1 1 50%; min-height: 54px; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .sticky-contact { right: 22px; bottom: 22px; flex-direction: column; gap: 12px; }
  .sc-btn { width: 56px; height: 56px; border-radius: 50%; box-shadow: var(--shadow), 0 6px 16px rgba(28,20,22,.25); }
  .sc-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-btn:hover, .sc-btn:focus-visible { transform: translateY(-2px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .sc-btn { transition: none; } }
body.panel-open .sticky-contact { display: none; }
