/* ============================================================
   Landora Properties — page/section styles
   ============================================================ */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   V3 "Boutique Lifestyle" homepage (matches design1.png)
   ============================================================ */

/* ---------- HERO V3 (full-bleed + benefit strip) ---------- */
.hero3 { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding-bottom: 90px; }
.hero3-bg { position: absolute; inset: 0; z-index: 0; }
.hero3-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero3-bg picture { display: block; width: 100%; height: 100%; }
.hero3-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,12,.92) 0%, rgba(8,10,12,.6) 42%, rgba(8,10,12,.1) 72%),
    linear-gradient(0deg, var(--soft-black) 0%, transparent 34%);
}
.hero3-inner { position: relative; z-index: 2; max-width: 620px; padding-block: 90px 40px; }
.hero3 h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: 1.0; margin: 18px 0 22px; }
.hero3 h1 em { font-style: italic; color: var(--gold); font-family: var(--display); }
.hero3-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--text-soft); max-width: 440px; margin-bottom: 30px; }
.hero3-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.hero-benefits {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(13, 16, 19, .72); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(214,178,76,.16);
}
.hero-benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 22px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 4px 18px; position: relative; }
.benefit + .benefit::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.09); }
.benefit-ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(214,178,76,.24), rgba(214,178,76,.06)); border: 1px solid rgba(214,178,76,.32); color: var(--gold); }
.benefit-ico svg { width: 20px; }
.benefit b { display: block; font-family: var(--sans); font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.benefit p { color: var(--text-soft); font-size: 12.5px; line-height: 1.45; }

/* ---------- Lifestyle gallery ---------- */
.lifestyle-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lifestyle-gallery a { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 1px solid var(--card-border); display: block; }
.lifestyle-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.lifestyle-gallery a:hover img { transform: scale(1.08); }
.lifestyle-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,12,.55), transparent 55%); }
.lifestyle-gallery .cap { position: absolute; left: 12px; bottom: 11px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; }

/* ---------- Services split (left text, right cards) ---------- */
.svc-split { display: grid; grid-template-columns: 0.85fr 2fr; gap: 48px; align-items: center; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc2 { text-align: center; padding: 30px 18px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--raised); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.svc2:hover { transform: translateY(-5px); border-color: rgba(214,178,76,.4); background: var(--raised-2); }
.svc2-ico { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(150deg, #1d2126, #101316); border: 1px solid rgba(214,178,76,.3); color: var(--gold); }
.svc2-ico svg { width: 26px; }
.svc2 h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .02em; margin-bottom: 8px; }
.svc2 p { color: var(--text-soft); font-size: 13px; line-height: 1.5; }

/* ---------- Regions + Mauritius map ---------- */
.regions { background: linear-gradient(180deg, var(--beige), #e7ddc9); color: #1e1f22; }
.regions .eyebrow { color: var(--gold-deep); }
.regions-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.regions h2 { color: #17130a; font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
.regions .lead { color: #55524a; font-size: 16px; max-width: 380px; margin-bottom: 26px; }
.regions-map { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: center; }
.map-mu { width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(120,95,30,.25)); }
.region-list { display: flex; flex-direction: column; gap: 6px; }
.region { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background .25s; cursor: pointer; }
.region:hover { background: rgba(255,255,255,.55); }
.region-thumb { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(214,178,76,.5); }
.region b { display: block; font-family: var(--sans); font-size: 14.5px; color: #17130a; margin-bottom: 2px; }
.region p { font-size: 12.5px; color: #6b6558; line-height: 1.4; }
.btn-dark-solid { background: var(--charcoal); color: #f4f1ea; }
.btn-dark-solid:hover { background: #000; transform: translateY(-2px); }

@media (max-width: 1000px) {
  .hero-benefits .wrap { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .benefit:nth-child(3)::before { display: none; }
  .svc-split { grid-template-columns: 1fr; gap: 28px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .lifestyle-gallery { grid-template-columns: repeat(3, 1fr); }
  .regions-grid { grid-template-columns: 1fr; gap: 32px; }
  .regions-map { grid-template-columns: 0.8fr 1.2fr; }
}
@media (max-width: 560px) {
  .hero3 { display: block; min-height: auto; padding-bottom: 0; }
  .hero3-bg::after { background: linear-gradient(180deg, rgba(8,10,12,.62) 0%, rgba(8,10,12,.7) 60%, var(--soft-black) 100%); }
  /* Top padding raised from 54px: header went sticky -> fixed (task 2), so it now
     floats over this hero instead of sitting above it. At this width .hero3 loses its
     desktop flex-centering (display:block, above), so this is the only thing standing
     between the eyebrow text and the pill. 54px left ~31px of "PREMIUM PROPERTIES.
     PERSONAL TOUCH." hidden behind it; 104px matches the clearance used elsewhere. */
  .hero3-inner { padding-block: 104px 34px; }
  .hero3-actions { flex-direction: column; align-items: stretch; }
  .hero3-actions .btn { width: 100%; justify-content: center; }
  .hero-benefits { position: static; backdrop-filter: none; width: 100%; background: rgba(13, 16, 19, .92); }
  .hero-benefits .wrap { grid-template-columns: 1fr; gap: 4px; }
  .benefit { padding: 10px 4px; }
  .benefit + .benefit::before { display: none; }
  .svc-cards { grid-template-columns: 1fr; }
  .lifestyle-gallery { grid-template-columns: repeat(2, 1fr); }
  .regions-map { grid-template-columns: 1fr; }
  .map-mu { max-width: 240px; margin: 0 auto; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--soft-black) 8%, rgba(11,13,16,.72) 42%, rgba(11,13,16,.15) 70%, rgba(11,13,16,.55) 100%),
    linear-gradient(0deg, var(--soft-black) 2%, transparent 30%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 120px 60px; max-width: 680px; }
.hero h1 {
  font-size: clamp(42px, 6.6vw, 78px); line-height: 1.02; margin: 20px 0 22px;
}
.hero h1 em { font-style: italic; color: var(--gold); font-family: var(--display); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-soft); max-width: 500px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-micro { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--text-soft); letter-spacing: 0.02em; }
.hero-micro b { color: var(--gold); font-weight: 600; }
.hero-micro .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .6; }

/* ---------- Search bar (floating over hero) ---------- */
.searchbar {
  position: relative; z-index: 3; margin-top: -46px;
  background: rgba(17, 19, 22, 0.86); backdrop-filter: blur(16px);
  border: 1px solid rgba(214, 178, 76, 0.22); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px;
}
.searchbar label { display: flex; flex-direction: column; gap: 6px; }
.searchbar label span { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-left: 2px; }
.field, .searchbar select, .filterbar select {
  background: var(--raised-2); border: 1px solid var(--card-border); color: var(--text);
  border-radius: 9px; padding: 12px 14px; font-family: var(--sans); font-size: 14px; font-weight: 500;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23d6b24c' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  transition: border-color .25s;
}
.field:focus, select:focus { outline: none; border-color: var(--gold); }
.searchbar .btn { align-self: end; height: 46px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: var(--raised); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.svc:hover { transform: translateY(-5px); border-color: rgba(214,178,76,.4); background: var(--raised-2); }
.svc-ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: radial-gradient(circle at 30% 25%, rgba(214,178,76,.22), rgba(214,178,76,.06));
  border: 1px solid rgba(214,178,76,.3); color: var(--gold);
}
.svc-ico svg { width: 26px; }
.svc h3 { font-size: 20px; font-family: var(--serif); margin-bottom: 10px; }
.svc p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 16px; }
.svc-link { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s; }
.svc:hover .svc-link { gap: 13px; }
.svc-link svg { width: 15px; }

/* ---------- Section header w/ action ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.head-row h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 12px; }
.link-btn { color: var(--gold-soft); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: gap .3s; }
.link-btn:hover { gap: 14px; }
.link-btn svg { width: 16px; }

/* ---------- Trust / About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 28px; }
.trust-item { display: flex; gap: 14px; }
.trust-item .ti-ico { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(214,178,76,.1); border: 1px solid rgba(214,178,76,.25); color: var(--gold); }
.trust-item .ti-ico svg { width: 19px; }
.trust-item b { display: block; font-family: var(--sans); font-size: 15px; margin-bottom: 3px; }
.trust-item p { color: var(--text-soft); font-size: 13.5px; line-height: 1.5; }
.about-card {
  background: linear-gradient(160deg, var(--raised-2), var(--raised));
  border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 44px;
}
.about-card p.lead { color: var(--text-soft); font-size: 16px; margin: 18px 0 32px; }
.sign { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--gold-soft); margin-top: 30px; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: var(--raised); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 28px 26px; margin: 0;
}
.testimonial blockquote {
  margin: 0 0 18px; padding: 0; border: 0; color: var(--text); font-family: var(--serif);
  font-size: 17px; line-height: 1.6;
}
.testimonial blockquote::before {
  content: "\201C"; display: block; font-family: var(--display); font-style: italic;
  font-size: 42px; line-height: 0.6; color: var(--gold); margin-bottom: 14px;
}
.testimonial figcaption { color: var(--gold-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }

/* Legal placeholder marker — kept, unused. It highlights an unfilled
   [[CLIENT: ...]] in loud yellow so a missing legal detail is impossible to
   miss in review. All of Landora's are now filled, but the next tenant's
   pages start out full of them again. */
.todo-legal { background: #ffe9a8; color: #5a4300; padding: 0 4px; font-weight: 600; }

/* ---------- LEGAL PAGES (privacy / terms) ---------- */
.legal-wrap { padding: 48px 0 90px; max-width: 820px; }
.legal-wrap h2 { font-size: clamp(22px, 3vw, 28px); margin: 40px 0 14px; }
.legal-wrap h2:first-of-type { margin-top: 8px; }
.legal-wrap p, .legal-wrap li { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; }
.legal-wrap ul { padding-left: 22px; margin: 10px 0; }
.legal-wrap li { margin-bottom: 6px; }
.legal-updated { color: var(--text-mute); font-size: 13px; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,16,.94), rgba(11,13,16,.7)); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 64px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); max-width: 560px; }
.cta-band p { color: var(--text-soft); margin-top: 12px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- LISTINGS PAGE ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.06); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 10px; }
.page-hero p { color: var(--text-soft); max-width: 560px; }
.filterbar {
  /* top derives from --header-clear (styles.css :root), the pill's own
     bottom edge in its tallest (unscrolled) state, plus an 8px gap - not a
     hardcoded guess. The old literal (78px) was tuned to a header height
     this site no longer has and sat 8px BEHIND the pill whenever JS hadn't
     run yet (listings.html pre-renders and works with no JS), because
     .is-scrolled - the class that shrinks the pill to the height 78px
     assumed - is only ever added by app.js. */
  position: sticky; top: calc(var(--header-clear) + 8px); z-index: 20;
  background: rgba(11,13,16,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
}
.filterbar .wrap { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: center; }
.filterbar select { width: 100%; }
.f-reset { background: none; border: 0; color: var(--text-soft); font-family: var(--sans); font-size: 13px; cursor: pointer; padding: 10px; white-space: nowrap; transition: color .25s; }
.f-reset:hover { color: var(--gold); }
.result-bar { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 24px; }
.result-bar #result-count { color: var(--text); font-family: var(--serif); font-size: 20px; }
.result-bar .muted { color: var(--text-mute); font-size: 13px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--text-soft); background: var(--raised); border: 1px dashed var(--card-border); border-radius: var(--radius); }
.no-results a { color: var(--gold); font-weight: 600; }

/* Agency has no published listing at all — distinct from .no-results, which is
   the client-side "your filters matched nothing" state and lives INSIDE the
   grid (grid-column: 1 / -1). This one replaces the grid entirely, so it sets
   its own width. Same dashed/raised treatment on purpose: both mean "nothing
   here", and a visitor should not have to learn two visual languages for it. */
.empty-state { text-align: center; max-width: 620px; margin: 32px auto 0; padding: 70px 26px; color: var(--text-soft); background: var(--raised); border: 1px dashed var(--card-border); border-radius: var(--radius); }
.empty-state h2 { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); color: var(--text); margin-bottom: 14px; }
.empty-state p { margin: 0 auto 26px; max-width: 46ch; }
.empty-state-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- DETAIL PAGE ---------- */
.detail-wrap { padding: 40px 0 90px; }
.detail-notfound { text-align: center; padding: 80px 20px; color: var(--text-soft); background: var(--raised); border: 1px dashed var(--card-border); border-radius: var(--radius); }
.detail-notfound h1 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 12px; }
.detail-notfound p { margin-bottom: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14px; font-weight: 500; margin-bottom: 26px; transition: gap .3s, color .25s; }
.back-link:hover { color: var(--gold); gap: 12px; }
.back-link svg { width: 17px; }
.detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.detail-head h1 { font-size: clamp(30px, 4.4vw, 48px); }
.detail-loc { display: flex; align-items: center; gap: 8px; color: var(--text-soft); margin-top: 12px; font-size: 15px; }
.detail-loc svg { width: 17px; color: var(--gold); }
.detail-price { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); color: var(--gold-soft); }
.detail-price small { font-size: 15px; color: var(--text-mute); font-family: var(--sans); }

.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
.gallery-main { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--card-border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; transition: border-color .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--gold); }

.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 46px; align-items: start; }
.spec-row { display: flex; gap: 34px; padding: 24px 28px; background: var(--raised); border: 1px solid var(--card-border); border-radius: var(--radius); margin-bottom: 36px; flex-wrap: wrap; }
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec svg { width: 22px; color: var(--gold); margin-bottom: 8px; }
.spec b { font-family: var(--serif); font-size: 24px; }
.spec span { color: var(--text-mute); font-size: 12.5px; letter-spacing: 0.03em; }
.block-h { font-size: 24px; font-family: var(--serif); margin-bottom: 16px; }
.detail-desc { color: var(--text-soft); font-size: 16px; line-height: 1.75; margin-bottom: 40px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; }
.feature-list svg { width: 18px; color: var(--gold); flex: none; padding: 3px; background: rgba(214,178,76,.12); border-radius: 50%; box-sizing: content-box; }
.detail-disclaimer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--card-border); color: var(--text-mute); font-size: 12.5px; line-height: 1.6; }
.detail-disclaimer a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* top derives from the same --header-clear base as .filterbar above, plus a
   14px gap - the numeric value (100px) is unchanged from before this fix
   (it already cleared the pill in both states), only where it comes from. */
.detail-cta { position: sticky; top: calc(var(--header-clear) + 14px); }
.cta-card { background: linear-gradient(165deg, var(--raised-2), var(--raised)); border: 1px solid rgba(214,178,76,.25); border-radius: var(--radius-lg); padding: 30px; }
.cta-eyebrow { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; }
.cta-sub { color: var(--text-soft); font-size: 14px; margin-bottom: 22px; }
.cta-ref { text-align: center; color: var(--text-mute); font-size: 12px; letter-spacing: 0.1em; margin-top: 18px; }

/* ---------- CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info .ci { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.contact-info .ci-ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(214,178,76,.1); border: 1px solid rgba(214,178,76,.25); color: var(--gold); }
.contact-info .ci-ico svg { width: 20px; }
.contact-info .ci b { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.contact-info .ci a, .contact-info .ci span { font-size: 17px; color: var(--text); }
.form-card { background: linear-gradient(165deg, var(--raised-2), var(--raised)); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 38px; }
.form-card h3 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--text-soft); margin-bottom: 26px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--soft-black); border: 1px solid var(--card-border); color: var(--text);
  border-radius: 10px; padding: 13px 15px; font-family: var(--sans); font-size: 15px; transition: border-color .25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }
.form-note { color: var(--text-mute); font-size: 12.5px; text-align: center; margin-top: 14px; }
.form-consent { color: var(--text-mute); font-size: 11.5px; text-align: center; margin-top: 10px; line-height: 1.5; }
.form-consent a { color: var(--text-mute); text-decoration: underline; }

/* Contact form: honeypot positioned off-screen rather than display:none,
   because some bots skip fields hidden that way. tabindex="-1" on the input
   itself (see contact.html) keeps it out of the keyboard tab order so it
   never becomes a focus trap. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; min-height: 1.4em; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: #c0392b; }

/* Property-page enquiry form. This had NO rules at all: the .cta-card around
   it was styled while the form inside fell back to browser defaults, so the
   labels sat inline with white system inputs inside a dark panel. It only
   became visible when the first property was published, since the page does
   not exist for an agency with no listings.

   Matches .form-field above on purpose — this is the same enquiry the /lead/
   page takes, one click away, and the two should not look like different
   products. Styled by element instead of adding .form-field wrappers so each
   label keeps WRAPPING its input: that implicit association is what makes the
   label clickable without an id/for pair, and rewriting the markup would have
   thrown it away for no gain.

   Scoped to `label input` rather than bare `input`, which is what keeps the
   honeypot hidden: .hp-field is a direct child of the form and the only field
   NOT inside a label, and a bare `.enquiry-form input` selector would outrank
   .hp-field's (0,1,0) and override its width/padding. */
.enquiry-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.enquiry-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
}
.enquiry-form label input, .enquiry-form label textarea {
  width: 100%; background: var(--soft-black); border: 1px solid var(--card-border);
  color: var(--text); border-radius: 10px; padding: 13px 15px;
  font-family: var(--sans); font-size: 15px; transition: border-color .25s;
  /* The label sets uppercase/tracking/600 for its own text; without these
     resets the control inherits all three and the visitor types in spaced-out
     uppercase. */
  text-transform: none; letter-spacing: normal; font-weight: 400;
}
.enquiry-form label textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.enquiry-form label input:focus, .enquiry-form label textarea:focus { outline: none; border-color: var(--gold); }
/* Full-width to match the three stacked CTAs in the card above it. */
.enquiry-form .btn { width: 100%; justify-content: center; margin-top: 2px; }
.enquiry-form .form-status { margin-top: 0; }

/* ---------- /lead quick capture ---------- */
.lead-page-intro { max-width: 560px; margin-bottom: 26px; }

.lead-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.lead-toggle-opt {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 10px 14px; text-align: center;
  border: 1px solid var(--card-border); border-radius: 12px;
  background: rgba(255, 255, 255, .02); cursor: pointer;
  font-size: 14px; line-height: 1.3; transition: border-color .2s, background .2s;
}
.lead-toggle-opt input { position: absolute; opacity: 0; pointer-events: none; }
/* --gold-rgb does not exist in styles.css (checked: only --gold/--gold-soft/
   --gold-deep hex vars are defined) - 214, 178, 76 is #d6b24c (--gold)
   spelled out as literal RGB components, the same literal already used
   elsewhere in this file for .btn-wa/.icon-btn's gold-tinted surfaces. */
.lead-toggle-opt:has(input:checked) {
  border-color: var(--gold); background: rgba(214, 178, 76, .1); color: var(--text);
}
.lead-toggle-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.lead-branch { border: 0; padding: 0; margin: 0 0 4px; }
.lead-branch[hidden] { display: none; }
.lead-branch legend {
  padding: 0; margin-bottom: 12px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
}

.field-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--text-soft); }
.opt { color: var(--text-soft); font-weight: 400; }

.lead-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.lead-thumbs li {
  font-size: 12.5px; color: var(--text-soft);
  padding: 7px 10px; border: 1px solid var(--card-border); border-radius: 8px;
}

/* A file input's own control is browser-drawn and often under 44px; give the
   whole field a comfortable target rather than trying to restyle the widget. */
#q-photos { min-height: 44px; width: 100%; }

@media (max-width: 700px) {
  .lead-toggle { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-cta { position: static; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .btn { grid-column: 1 / -1; }
  .filterbar .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr; margin-top: -20px; }
  .filterbar { position: static; }
  .filterbar .wrap { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 40px; }
  body { padding-bottom: 72px; }
}
