:root {
  --bar: 74px;
  --green: #1e522e;
  --green-2: #174426;
  --paper: #f7f8f6;
  --ink: #1c241e;
  --muted: #4d5850;
  --line: #e3e7e2;
  --sans: "Manrope Variable", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.skip { position: absolute; left: 12px; top: -40px; background: var(--green); color: white; padding: 8px 12px; }
.skip:focus { top: 12px; z-index: 50; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  height: var(--bar); padding: 0 22px;
  background: var(--green); color: white;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: white; text-decoration: none; font-size: 15px; }
.nav a[aria-current="page"] { font-weight: 700; }
.top-phone { color: white; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-phone { display: none; }
.nav-toggle { display: none; margin-left: auto; background: transparent; color: white; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 6px 12px; }
.pill, .btn, .btn-line, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 650;
}
.pill, .btn { background: var(--green); color: white; }
.pill-line { background: transparent; color: white; border: 1px solid rgba(255,255,255,.85); min-height: 38px; padding: 0 14px; }
.pill-ghost, .btn-line, .btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,.8); }
.page-hero .btn-ghost, .note .btn-ghost { color: var(--green); border-color: var(--green); }

.hero {
  position: relative;
  height: calc(100svh - var(--bar));
  min-height: 520px;
  display: grid; place-items: center;
  color: white; text-align: center; overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 32, 18, .28), rgba(12, 32, 18, .62)); }
.hero-copy { position: relative; z-index: 1; width: min(860px, calc(100% - 40px)); display: grid; justify-items: center; gap: 14px; }
.eyebrow { margin: 0; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.hero .eyebrow { color: rgba(255,255,255,.86); }
.hero h1, .page-hero h1, .welcome h2, .section-head h2, .pair h2, .faq h2, .cta h2, .note h2, .houses h2 {
  font-family: var(--sans); font-weight: 650; letter-spacing: -.02em; line-height: 1.08; margin: 0;
}
.hero h1 { font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; max-width: 14ch; }
.hero .lede { color: white; font-size: 18px; max-width: 46ch; }
.lede { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 0; }

.welcome, .features, .houses, .pair, .offers, .cards, .faq, .note, .calendar-block, .section-head, .more, .wide, .house-grid {
  width: min(1100px, calc(100% - 40px));
  margin-left: auto; margin-right: auto;
}
.welcome { text-align: center; padding: 56px 0 10px; }
.welcome .eyebrow { color: var(--green); }
.welcome h2 { font-size: clamp(30px, 4vw, 42px); color: var(--green); margin: 8px 0 14px; }
.welcome p { margin: 0 auto; max-width: 68ch; color: var(--ink); }
section { padding: 18px 0; }
.section-head, .houses .section-head { text-align: center; margin-bottom: 16px; }
.section-head h2, .pair h2, .faq h2, .note h2 { font-size: 32px; color: var(--green); }
.section-head p, .hint { color: var(--muted); margin: 8px 0 0; }

.features, .offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offers.stack, .offers.compact { grid-template-columns: 1fr; }
.offer, .feature {
  background: white; border-radius: 18px; padding: 18px 16px 14px;
  box-shadow: 0 10px 28px rgba(20, 40, 24, .06);
}
.offer h3, .house h3 { margin: 6px 0; font-size: 20px; }
.offer p, .house p { margin: 0 0 8px; color: var(--muted); }
.price-label, .cap, .house-price { color: var(--green); font-weight: 700; margin: 0; font-size: 14px; }
.house-price { font-size: 22px; }
.house-price small, .price small, .price span { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.gallery {
  width: min(1100px, calc(100% - 40px));
  margin: 8px auto 12px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px;
}
.shot { padding: 0; border: 0; background: transparent; cursor: zoom-in; height: 240px; overflow: hidden; border-radius: 18px; }
.shot img, .pair img, .wide img { width: 100%; height: 100%; object-fit: cover; }

.house-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.house { background: white; border-radius: 18px; padding: 18px 16px; box-shadow: 0 10px 28px rgba(20, 40, 24, .06); display: flex; flex-direction: column; }
.house a { margin-top: auto; color: var(--green); font-weight: 700; }
.more { padding: 14px 0; text-align: center; }
.more a { font-weight: 700; color: var(--green); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; padding: 20px 0; }
.pair img { border-radius: 18px; min-height: 320px; object-fit: cover; }
.wide { height: 380px; overflow: hidden; border-radius: 18px; margin-bottom: 16px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { background: white; border-radius: 18px; padding: 18px; box-shadow: 0 10px 28px rgba(20, 40, 24, .06); }
.card h3 { margin: 4px 0; font-size: 24px; }
.price { margin: 0 0 8px; }
.price strong { font-size: 28px; color: var(--green); }
.ticks { margin: 8px 0 0; padding-left: 18px; }
.ticks li { margin: 3px 0; }

.page-hero {
  width: auto; margin: 0 0 18px; padding: 54px 8vw 40px;
  background: var(--green); color: white; text-align: center;
}
.page-hero .kicker { margin: 0 0 10px; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.8); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); text-transform: uppercase; color: white; }
.page-hero .lede { color: rgba(255,255,255,.9); margin: 12px auto 0; max-width: 46ch; }
.page-hero .actions { margin-top: 16px; }
.page-hero .btn { background: white; color: var(--green); }

.cta {
  width: auto; margin: 24px 0 0; padding: 36px 8vw;
  background: var(--green); color: white;
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.cta h2 { color: white; font-size: 32px; }
.cta p { color: rgba(255,255,255,.9); margin: 8px 0 0; max-width: 52ch; }
.cta .btn { background: white; color: var(--green); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.note { background: white; border-radius: 18px; padding: 8px 22px 18px; }

.footer {
  width: auto; margin: 0; padding: 32px 8vw 28px;
  background: var(--green-2); color: white;
  display: grid; gap: 6px;
}
.footer p { margin: 0; }
.footer a { color: white; font-weight: 700; }
.footer-name { font-size: 20px; font-weight: 700; }
.fine { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 8px; }

.callbar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  min-height: 50px; border-radius: 999px; background: var(--green); color: white; text-decoration: none;
  align-items: center; justify-content: center; font-weight: 700; z-index: 25;
}
.cal-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-tools button, .cal-grid button { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.cal-scroll { overflow-x: auto; border-radius: 16px; background: white; }
.cal-table { border-collapse: collapse; min-width: 760px; width: 100%; }
.cal-table th, .cal-table td { border-bottom: 1px solid var(--line); padding: 6px; text-align: center; font-size: 13px; }
.cal-table th:first-child, .cal-table td:first-child { text-align: left; position: sticky; left: 0; background: white; min-width: 150px; }
.day { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; }
.day.free { background: #e5f2ea; color: #1d5a32; }
.day.busy { background: #f6e4d6; color: #8a4518; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 20, 12, .88); display: grid; place-items: center; z-index: 40; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 8px 12px; }
html.is-webapp .topbar { height: calc(var(--bar) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }

@media (max-width: 980px) {
  .features, .offers, .house-grid { grid-template-columns: 1fr 1fr; }
  .gallery, .pair, .cards { grid-template-columns: 1fr; }
  .shot { height: 220px; }
  .cta { display: grid; }
}
@media (max-width: 720px) {
  .topbar { padding: 0 12px; }
  .brand img { height: 38px; }
  .top-phone, .pill-line { display: none; }
  .nav {
    display: none; position: absolute; top: var(--bar); left: 0; right: 0;
    background: var(--green); padding: 12px 16px 16px; flex-direction: column; align-items: flex-start;
  }
  .nav.open { display: flex; }
  .nav-phone { display: inline; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: 0; height: calc(100svh - var(--bar) - 70px); }
  .hero h1 { font-size: 32px; }
  .features, .offers, .house-grid, .cards { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .welcome, .features, .houses, .pair, .offers, .cards, .faq, .note, .calendar-block, .section-head, .more, .wide, .house-grid {
    width: min(100% - 28px, 1100px);
  }
  .wide { height: 220px; }
  .footer { padding-bottom: 88px; }
}
