:root {
  --forest: #1f3b2d;
  --forest-2: #2d5541;
  --forest-3: #3f6d55;
  --cream: #f4eee2;
  --paper: #fbf8f1;
  --wood: #b5824c;
  --wood-dark: #8f6234;
  --ink: #1b221d;
  --muted: #5a665e;
  --line: #e2dccd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 35, 27, 0.10);
  --head: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--forest-2); }
a:hover { color: var(--wood-dark); }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-dark);
  margin-bottom: 0.8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
}
.brand img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.brand-text { font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.05; }
.brand-text small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover { background: var(--cream); color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--wood); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  color: var(--forest);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-2); color: var(--white); }
.btn-wood { background: var(--wood); color: var(--white); }
.btn-wood:hover { background: var(--wood-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.8); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.nav .btn { padding: 10px 18px; font-size: 0.95rem; color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--forest);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 19, 0.15) 0%, rgba(14, 26, 19, 0.25) 40%, rgba(14, 26, 19, 0.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 0 72px; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #f0d3ad; }
.hero p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.92); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero.small { min-height: 420px; }
.hero.small .hero-content { padding: 110px 0 56px; }

/* Sections */
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.cream { background: var(--cream); }
.section.forest { background: var(--forest); color: rgba(255, 255, 255, 0.9); }
.section.forest h2,
.section.forest h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Features strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature svg { width: 34px; height: 34px; color: var(--wood); margin-bottom: 10px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.features-band { margin-top: -64px; position: relative; z-index: 2; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest);
}
.card-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.price { font-family: var(--head); font-weight: 700; color: var(--wood-dark); font-size: 1.05rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--forest); }
.link-arrow::after { content: " →"; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--forest-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.4 4.6 10l-1.2 1.2L8 15.8l9-9-1.2-1.2z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section.forest .checklist li::before { background-color: var(--wood); }

/* Specs */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin: 0 0 28px;
}
.specs div { padding: 18px 20px; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; }
.specs dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.specs dd { margin: 4px 0 0; font-family: var(--head); font-size: 1.35rem; font-weight: 700; color: var(--forest); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--cream); }
.gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery.plans img { object-fit: contain; background: var(--white); padding: 10px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); padding: 8px 2px 0; }

/* Lots */
.lots { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; }
.lots li {
  min-width: 46px;
  text-align: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff7c7;
  border: 1px solid #e8d77a;
  font-weight: 700;
  color: #5a4a00;
}
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.92rem; color: var(--muted); }
.legend span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -2px;
}
.legend .yes::before { background: #f5e94a; }
.legend .no::before { background: #f26a1b; }
.legend .park::before { background: #1fae3a; }
.note {
  font-size: 0.93rem;
  color: var(--muted);
  border-left: 3px solid var(--wood);
  padding: 4px 0 4px 14px;
  margin: 16px 0;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-family: var(--head);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.96rem; color: var(--muted); margin: 0; }

/* Info tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section.forest .tile { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section.forest .tile p { color: rgba(255, 255, 255, 0.82); }

.distances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.distances div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
.distances strong { display: block; font-family: var(--head); font-size: 2rem; color: var(--forest); }
.distances span { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--forest); color: var(--white); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Model page */
.model-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.model-nav a { text-decoration: none; }
.price-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
}
.price-box .price { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.price-box p { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.contact-card h2,
.contact-card h3 { color: var(--white); }
.contact-card a { color: #f0d3ad; }
.contact-line { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-line svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #f0d3ad; }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-field { margin-bottom: 20px; }
.form-field > label,
.form-field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); padding: 0; }
.form-field fieldset { border: 0; padding: 0; margin: 0; }
.req { color: #b4442a; }
.help { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #cfc8b8;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(63, 109, 85, 0.18); background: var(--white); }
.form-field [aria-invalid="true"] { border-color: #b4442a; }
.choice { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-weight: 400; }
.choice input { width: 18px; height: 18px; accent-color: var(--forest-2); flex: none; }
.choices-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field-error { color: #b4442a; font-size: 0.9rem; margin: 6px 0 0; min-height: 0; }
.form-error { background: #fbeae5; color: #8b2f1a; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success svg { width: 56px; height: 56px; color: var(--forest-3); margin: 0 auto 12px; }
.skeleton { display: grid; gap: 16px; }
.skeleton div { height: 48px; border-radius: 10px; background: linear-gradient(90deg, #efe9dc, #f7f3ea, #efe9dc); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Footer */
.site-footer { background: #142a1f; color: rgba(255, 255, 255, 0.78); padding: 64px 0 30px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #f0d3ad; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 10px; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(10, 18, 13, 0.88); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 8px; margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px 0; color: var(--white); }
.lightbox button {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }

/* Responsive */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(2) { border-right: 0; }
  .specs div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: none; background: var(--cream); border-radius: 8px; }
  .nav .btn { margin: 8px 0 0; }
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .cards,
  .tiles,
  .distances { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-card { position: static; }
  .section { padding: 68px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features,
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .choices-inline { grid-template-columns: 1fr; }
  .form-wrap { padding: 22px; }
  .hero-content { padding: 100px 0 48px; }
  .features-band { margin-top: -40px; }
}/* Fixes */
.nav .btn[aria-current="page"] { color: var(--white); box-shadow: none; border-radius: 999px; background: var(--forest-2); }
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #b4442a; background: #fffaf8; }
/* Lots table */
[id] { scroll-margin-top: 96px; }
.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; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02); }
.lots-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.lots-table thead th { text-align: left; background: var(--forest); color: var(--white); padding: 14px 20px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lots-table td,
.lots-table tbody th { padding: 12px 20px; border-top: 1px solid var(--line); text-align: left; }
.lots-table tbody tr:nth-child(even) { background: #faf7f0; }
.lots-table .num { font-family: var(--head); font-weight: 700; color: var(--forest); font-size: 1.15rem; width: 110px; }
.lots-table .lot-price { white-space: nowrap; font-weight: 600; color: var(--wood-dark); }
.lots-table small { color: var(--muted); font-weight: 400; }
@media (max-width: 560px) {
  .lots-table td,
  .lots-table tbody th,
  .lots-table thead th { padding: 10px 12px; }
  .lots-table small { display: block; }
}

/* Hero labels */
.hero .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  background: rgba(14, 26, 19, 0.6);
  padding: 7px 16px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero h1, .hero p { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }

/* Language switch */
.nav .lang-switch {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 4px 11px;
  line-height: 1.2;
}
.nav .lang-switch:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
