/* ============================================================
   Landscapey — profile.css
   Public landscaper profile (/landscaper/<slug>) + /landscapers directory.
   2026-06-10 rebuild: conversion-focused — left-aligned identity hero with
   trust chips, gallery strip, two-column body with a sticky quote rail
   (desktop) and a sticky CTA bar (mobile). Editorial sage/moss identity.
   ============================================================ */

.pf { padding-top: 72px; }
/* Keep [hidden] authoritative over any display we set (form swap, bar, lightbox). */
.pf [hidden] { display: none !important; }
.pf-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.pf-hero {
  padding: clamp(36px, 5.5vw, 64px) 0 clamp(26px, 4vw, 42px);
  background:
    radial-gradient(900px 420px at 18% -180px, rgba(148, 165, 133, 0.2), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.pf-hero-inner { display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; }
.pf-logo {
  width: clamp(72px, 9vw, 108px); height: clamp(72px, 9vw, 108px);
  flex: none;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(28, 31, 26, 0.28);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pf-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pf-logo.is-mono { background: var(--moss-deep); border-color: var(--moss-deep); }
.pf-logo.is-mono span {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 50px);
  color: var(--paper);
  line-height: 1;
}
.pf-hero-id { min-width: 0; }
.pf-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
}

/* Rating row (links to #reviews in the hero; static variant in the section head) */
.pf-rating {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
  margin: 0 0 14px;
  font-size: 15px;
}
.pf-rating strong { font-weight: 600; }
.pf-rating-count { color: var(--ink-soft); }
a.pf-rating:hover .pf-rating-count { text-decoration: underline; text-underline-offset: 3px; }
.pf-stars { display: inline-flex; gap: 1px; font-size: 17px; line-height: 1; }
.pf-stars.is-sm { font-size: 13px; }
.pf-star { color: #d8d2bf; }
.pf-star.is-on { color: #c89b3c; }

.pf-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 20px; }
.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
}
.pf-chip.is-verified { border-color: var(--sage); color: var(--moss-deep); background: rgba(148, 165, 133, 0.14); }

.pf-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* socials row */
.pf-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pf-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.pf-social svg { width: 18px; height: 18px; }
.pf-social:hover {
  transform: translateY(-2px);
  color: var(--paper);
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

@media (max-width: 640px) {
  .pf-hero-inner { flex-direction: column; gap: 14px; }
  .pf-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ── Gallery strip ────────────────────────────────────────── */
.pf-gallery { padding: clamp(18px, 3vw, 28px) 0 6px; }
.pf-gallery-strip {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
}
.pf-shot { flex: none; margin: 0; scroll-snap-align: start; max-width: 86vw; }
.pf-shot button {
  display: block; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; background: var(--paper-deep);
  border: 1px solid var(--line);
}
.pf-shot img {
  display: block;
  height: clamp(170px, 24vw, 260px);
  width: auto; max-width: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.pf-shot button:hover img { transform: scale(1.03); }
.pf-shot figcaption { font-size: 12.5px; color: var(--mist); margin-top: 6px; max-width: 320px; }

/* ── Body grid: content + sticky rail ─────────────────────── */
.pf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.pf-main { min-width: 0; }
.pf-rail { position: sticky; top: 86px; }
.pf-quote-flow { display: none; }

@media (max-width: 1020px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-rail { display: none; }
  .pf-quote-flow { display: block; }
  .pf { padding-bottom: 74px; }   /* room for the sticky CTA bar */
}

/* ── Content blocks ───────────────────────────────────────── */
.pf-block { padding: clamp(24px, 3.6vw, 40px) 0; border-bottom: 1px solid var(--line); }
.pf-block:last-child { border-bottom: 0; }
.pf-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(25px, 3.2vw, 34px);
  margin: 0 0 16px;
}
.pf-h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
}
.pf-text { max-width: 640px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 16px; }
.pf-text-sm { font-size: 13.5px; color: var(--mist); margin: 0; }

/* About facts */
.pf-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px 22px;
  margin: 20px 0 0;
}
.pf-facts > div {
  border-left: 2px solid var(--sage);
  padding: 2px 0 2px 12px;
}
.pf-facts dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); margin-bottom: 3px; }
.pf-facts dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.pf-fact-note { font-weight: 400; color: var(--mist); font-size: 12.5px; }

/* Services cards */
.pf-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 700px) { .pf-svc-grid { grid-template-columns: 1fr; } }
.pf-svc-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.pf-svc-check {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(148, 165, 133, 0.18);
  color: var(--moss-deep);
  font-size: 13px; font-weight: 600;
  display: grid; place-items: center;
  margin-top: 1px;
}
.pf-svc-card h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.pf-svc-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Reviews */
.pf-rv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 4px; }
.pf-rv-head .pf-h2 { margin-bottom: 0; }
.pf-rating.is-static { margin: 0; }
.pf-rv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 700px) { .pf-rv-grid { grid-template-columns: 1fr; } }
.pf-rv {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.pf-rv p { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin: 8px 0 12px; }
.pf-rv footer { font-size: 13px; color: var(--mist); display: flex; flex-direction: column; gap: 1px; }
.pf-rv footer strong { color: var(--ink-soft); font-weight: 600; }
.pf-rv-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--moss-deep);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.pf-rv-toggle:hover { border-color: var(--sage); background: rgba(148, 165, 133, 0.12); }
.pf-rv-toggle svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.pf-rv-toggle.is-open svg { transform: rotate(180deg); }

/* Service area */
.pf-area { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pf-area-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pf-area-city { font-weight: 600; font-size: 14.5px; color: var(--ink); min-width: 130px; }
.pf-area-zips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-zips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pf-zip {
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.pf-area-note { margin-top: 4px; }

/* FAQ */
.pf-faq { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.pf-faq dt { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.pf-faq dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }

/* ── Quote card (rail + mobile flow) ──────────────────────── */
.pf-quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 28px 64px -32px rgba(28, 31, 26, 0.2);
}
.pf-quote-card.is-rail { border-top: 3px solid var(--moss); }
.pf-quote-copy { margin-bottom: 18px; }
.pf-quote-copy .pf-text-sm { font-size: 14px; color: var(--ink-soft); }
.pf-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.pf-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.pf-field > span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.pf-field input,
.pf-field select,
.pf-field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(63, 82, 53, 0.12);
}
.pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .pf-field-row { grid-template-columns: 1fr; } }

/* Honeypot — visually gone, still in the DOM for bots. */
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pf-submit { width: 100%; margin-top: 2px; }
.pf-form-note { font-size: 12.5px; color: var(--mist); margin: 0; text-align: center; }
.pf-form-error { color: var(--terracotta); font-size: 14px; margin: 0; text-align: center; }
.pf-form-success { text-align: center; padding: 12px 0; }
.pf-form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--moss-deep);
}
.pf-form-success p { color: var(--ink-soft); margin: 0; }

/* ── Mobile sticky CTA bar ────────────────────────────────── */
.pf-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 1020px) { .pf-bar { display: flex; } }
.pf-bar-id { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pf-bar-id strong { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-bar-id span { font-size: 12px; color: var(--ink-soft); }
.pf-bar-call {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--moss-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.pf-bar-call svg { width: 19px; height: 19px; }
.pf-bar-btn { flex: none; padding: 12px 18px; font-size: 14.5px; }

/* ── Lightbox ─────────────────────────────────────────────── */
.pf-lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18, 21, 15, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 48px);
}
.pf-lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.pf-lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.7);
}
.pf-lightbox figcaption { color: var(--sage-soft); font-size: 13.5px; margin-top: 12px; }
.pf-lb-close,
.pf-lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px; line-height: 1;
  transition: background-color 0.25s var(--ease);
}
.pf-lb-close:hover, .pf-lb-nav:hover { background: rgba(255, 255, 255, 0.22); }
.pf-lb-close { top: 18px; right: 18px; width: 42px; height: 42px; }
.pf-lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.pf-lb-nav.is-prev { left: 14px; }
.pf-lb-nav.is-next { right: 14px; }
.pf-lb-nav:disabled { opacity: 0.3; cursor: default; }

/* ── Powered-by band ──────────────────────────────────────── */
.pf-powered {
  border-top: 1px solid var(--line);
  padding: 28px 0 64px;
  font-size: 14.5px;
  color: var(--mist);
}
.pf-powered a { color: var(--moss-deep); }
.pf-powered p { margin: 0 0 6px; }
.pf-powered-cta a { font-weight: 500; text-decoration: none; }
.pf-powered-cta a:hover { text-decoration: underline; }

/* ── Not found ────────────────────────────────────────────── */
.pf-notfound { padding: clamp(60px, 10vw, 120px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
.pf-notfound .pf-bio { color: var(--ink-soft); margin: 10px 0 0; }
.pf-notfound .btn { margin-top: 22px; }

/* ── Directory (/landscapers) ─────────────────────────────── */
.dir-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(20px, 3vw, 36px); }
.dir-sub { max-width: 620px; color: var(--ink-soft); font-size: clamp(16px, 1.8vw, 18px); }
.dir-group { padding: clamp(18px, 3vw, 30px) 0; border-top: 1px solid var(--line); }
.dir-city {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
}
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dir-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.dir-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  box-shadow: 0 18px 40px -22px rgba(28, 31, 26, 0.25);
}
.dir-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dir-card-logo {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dir-card-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.dir-card-logo.is-mono { background: var(--moss-deep); border-color: var(--moss-deep); }
.dir-card-logo.is-mono span { font-family: var(--font-display); font-size: 22px; color: var(--paper); }
.dir-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}
.dir-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; min-height: 0; }
.dir-card .dir-loc { font-size: 13px; color: var(--mist); }
.dir-empty { padding: clamp(30px, 5vw, 60px) 0 80px; color: var(--ink-soft); }
.dir-join {
  margin: clamp(30px, 5vw, 56px) 0 70px;
  background: var(--moss-deep);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4.5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.dir-join h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0;
}
.dir-join p { margin: 6px 0 0; color: var(--sage-soft); }
