/* Public owner landing page.
   Mobile-first: this traffic arrives from Meta ads, so most visitors are on a phone. */

:root {
  --ink: #14181d;
  --ink-soft: #5b6673;
  --line: #e2e6ea;
  --paper: #ffffff;
  --wash: #f5f7f9;
  --brand: #12694a;
  --brand-dark: #0d5439;
  --brand-wash: #e8f4ee;
  --gold: #b5822a;
  --danger: #c0392b;
  --danger-wash: #fdecea;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }
a { color: var(--brand); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */

/* Hidden on phones -- this is Meta-ad traffic landing straight on the offer, and the
   brand bar was pushing the actual form below the fold on small screens. Reclaimed
   space goes to showing more of the hero + form without scrolling, not to shrinking
   any of the existing copy. Brought back once there's room, at the 860px breakpoint. */
.site-head {
  display: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
.head-note { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero { background: var(--wash); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.hero-grid { display: grid; gap: 28px; }

.eyebrow {
  display: inline-block;
  background: var(--brand-wash);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
}

h1 {
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 0 0 12px;
  font-weight: 750;
}
.lede { font-size: 17px; color: var(--ink-soft); margin: 0 0 22px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; }
.tick {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ticks strong { display: block; font-size: 15px; }
.ticks span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Form card ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(16, 24, 40, .07);
  overflow: hidden;
}
.referred-by {
  background: var(--brand-wash);
  color: var(--brand-dark);
  padding: 10px 22px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}

.form-card header {
  padding: 18px 22px 0;
}
.form-card h2 { margin: 0 0 3px; font-size: 19px; letter-spacing: -.02em; }
.form-card .sub { color: var(--ink-soft); font-size: 14px; margin: 0; }
.form-card form { padding: 18px 22px 22px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.field .opt { color: var(--ink-soft); font-weight: 400; }
.req { color: var(--danger); }

input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number],
select, textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;              /* 16px stops iOS zooming on focus */
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c9d0d7;
  border-radius: 8px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 105, 74, .13);
}
input.bad, select.bad { border-color: var(--danger); background: #fffafa; }
textarea { min-height: 70px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b7684 50%), linear-gradient(135deg, #6b7684 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* --- searchable area dropdown (one control: closed looks like every select,
       open shows a search box on top of the grouped list) --- */
.area-picker { position: relative; }
.area-picker [hidden] { display: none !important; }
.area-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-size: 16px;              /* same as every other select on the form */
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c9d0d7;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  appearance: none;
}
.area-toggle .placeholder { color: #6b7684; }
.area-toggle .caret {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b7684;
  flex: 0 0 auto;
}
.area-toggle.bad { border-color: var(--danger); background: #fffafa; }
.area-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--paper);
  border: 1px solid #c9d0d7;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 30, 40, .18);
  overflow: hidden;
}
.area-panel input[type=text] {
  border: none;
  border-bottom: 1px solid #e3e8ec;
  border-radius: 0;
}
.area-panel input[type=text]:focus { box-shadow: none; }
.area-list { max-height: 240px; overflow-y: auto; padding: 4px 0; }
.area-zone {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 8px 12px 3px;
}
.area-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}
.area-option:hover { background: #eef4f0; }
.area-option.selected { background: #e3efe8; font-weight: 600; }
.area-empty { padding: 12px; font-size: 14px; color: var(--ink-soft); }

.err { color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 500; }

.field .hint { color: var(--ink-soft); font-size: 13px; margin-top: 6px; }
#media { padding: 9px; font-size: 14px; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  margin: 18px 0 6px;
}
.consent input { width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--brand); }
.consent label { font-size: 13.5px; line-height: 1.45; font-weight: 400; margin: 0; color: var(--ink-soft); }

.btn-submit {
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  font-size: 16.5px;
  font-weight: 650;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.btn-submit:hover { background: var(--brand-dark); }
.btn-submit:active { transform: translateY(1px); }

.form-foot { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; }

.alert-bad {
  background: var(--danger-wash);
  border: 1px solid #f3c8c2;
  color: #8d2b1f;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- Sections ---------- */

section.band { padding: 44px 0; border-bottom: 1px solid var(--line); }
section.band.alt { background: var(--wash); }
section.band h2 { font-size: 23px; letter-spacing: -.02em; margin: 0 0 26px; text-align: center; }

.steps { display: grid; gap: 22px; counter-reset: step; }
.step { text-align: center; }
.step .num {
  counter-increment: step;
  width: 38px; height: 38px;
  margin: 0 auto 11px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step .num::before { content: counter(step); }
.step h3 { margin: 0 0 5px; font-size: 16.5px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.privacy {
  background: var(--brand-wash);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--brand-dark);
  text-align: center;
}

/* ---------- Footer ---------- */

.site-foot { padding: 26px 0 34px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

/* ---------- Thank you ---------- */

.thanks { max-width: 560px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.thanks .mark {
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 31px;
  display: flex; align-items: center; justify-content: center;
}
.thanks h1 { font-size: 26px; }
.thanks p { color: var(--ink-soft); font-size: 16.5px; }
.thanks .next {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-top: 26px;
}
.thanks .next h2 { font-size: 15px; margin: 0 0 10px; }
.thanks .next ol { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14.5px; }
.thanks .next li { margin-bottom: 6px; }

/* ---------- Larger screens ---------- */

@media (min-width: 860px) {
  .site-head { display: block; }
  h1 { font-size: 40px; }
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  section.band { padding: 56px 0; }
  section.band h2 { font-size: 27px; }
}

/* ---------- Flat photo gallery (/gallery/<token>) ----------
   Seen on a phone, inside WhatsApp's in-app browser, by someone deciding whether to
   rent. Same variables and type scale as the rest of the public pages. */

.gallery { max-width: 860px; margin: 0 auto; padding: 34px 20px 50px; }

.g-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 6px;
}
.gallery h1 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.02em; }
.g-sub { color: var(--ink-soft); margin: 0 0 8px; font-size: 15px; }
.g-note { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 24px; }

.g-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 700px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
.g-photo { display: block; border-radius: var(--radius); overflow: hidden; }
.g-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash);
}

.g-empty {
  background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; color: var(--ink-soft); font-size: 15px;
  margin-top: 18px;
}
.g-empty p { margin: 0 0 6px; }
.g-empty p:last-child { margin-bottom: 0; }
.g-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand-wash);
  color: var(--brand); font-size: 22px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 12px;
}
.g-empty h1 { font-size: 21px; color: var(--ink); margin: 0 0 8px; }

.g-next {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 14.5px;
}
.g-next h2 { font-size: 16.5px; color: var(--ink); margin: 0 0 5px; }
.g-next p { margin: 0; }
