/* =========================================================
   Yards4Let — styles.css
   Design tokens (two-tier: primitives -> semantic)
   ========================================================= */
:root {
  /* primitives */
  --ink-900: #0e1215;
  --ink-800: #161b1f;
  --ink-700: #222a30;
  --ink-500: #4a555d;
  --ink-300: #8a949b;
  --paper:   #ffffff;
  --paper-2: #f6f5f1;   /* warm off-white */
  --paper-3: #eceae3;
  --accent:  #d81f2a;   /* brand red */
  --accent-dark: #b3161f;
  --accent-soft: #fdeaea;
  --line: #e6e4dd;

  /* semantic */
  --bg: var(--paper);
  --bg-alt: var(--paper-2);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --border: var(--line);

  /* ui */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14,18,21,.06), 0 4px 14px rgba(14,18,21,.05);
  --shadow-md: 0 10px 30px rgba(14,18,21,.10);
  --container: 1180px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn-outline:hover { background: var(--ink-900); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
@media (max-width: 640px) { .header-inner { height: 72px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-grid; place-items: center; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.03em; }
.brand-name span { color: var(--accent-dark); }
.brand-name.light { color: #fff; }
.brand-name.light span { color: var(--accent); }
.brand-logo { height: 80px; width: auto; display: block; }
.brand-logo-footer { height: 62px; }
@media (max-width: 640px) { .brand-logo { height: 56px; } .brand-logo-footer { height: 52px; } }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 500; font-size: .96rem; color: var(--ink-700); transition: color .2s; }
.main-nav a:hover { color: var(--ink-900); }
.nav-cta { color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
.accent-text { color: var(--accent-dark); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); margin: 22px 0 28px; max-width: 34ch; }

.search-bar {
  position: relative;
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 7px 7px 18px;
  box-shadow: var(--shadow-sm); max-width: 480px;
}
.search-icon { font-size: 1.1rem; }
.search-bar input { flex: 1; border: 0; outline: 0; font-family: var(--font-body); font-size: 1rem; background: transparent; min-width: 0; }
.search-bar .btn { border-radius: 999px; }

/* ---------- Search autocomplete ---------- */
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); max-height: 340px; overflow-y: auto; display: none;
  text-align: left;
}
.search-suggest.open { display: block; }
.search-suggest li[role="option"] {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border-radius: 10px; cursor: pointer; color: var(--ink-900); font-size: .96rem; line-height: 1.2;
}
.search-suggest li[role="option"] .s-name { font-family: var(--font-body); }
.search-suggest li[role="option"] .s-meta { margin-left: auto; color: var(--text-muted); font-size: .8rem; }
.search-suggest li[role="option"]:hover,
.search-suggest li[role="option"].active { background: var(--paper-2); }
.search-suggest mark { background: transparent; color: var(--accent-dark); font-weight: 700; }
.search-suggest .s-empty { padding: 12px 14px; color: var(--text-muted); font-size: .9rem; }
.search-suggest .s-empty a { color: var(--accent-dark); font-weight: 600; }

.hero-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 26px 0 0; }
.hero-steps li { font-size: .95rem; color: var(--ink-700); }
.hero-steps strong { color: var(--accent-dark); font-family: var(--font-head); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--ink-900); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.1;
}
.hero-badge-num { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--accent); }
.hero-badge-label { font-size: .82rem; color: #c7cdd2; margin-top: 2px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--ink-900); color: #aeb6bc; overflow: hidden; }
/* Scrolling ticker / marquee */
.ticker {
  overflow: hidden; padding: 15px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track {
  display: inline-flex; align-items: center; white-space: nowrap; will-change: transform;
  animation: ticker-scroll 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  color: #dfe3e6; letter-spacing: .02em;
}
.ticker-item::after {
  content: "\25C6"; color: var(--accent); font-size: .62rem; margin: 0 30px; vertical-align: middle;
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; transform: none; } }
/* legacy static trust row (kept for any other page still using it) */
.trust-inner { display: flex; align-items: center; gap: 32px; padding: 18px 24px; flex-wrap: wrap; }
.trust-inner > span { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.trust-logos span { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: #dfe3e6; opacity: .85; }

/* Location gallery + lightbox */
.gallery-video-wrap { margin-bottom: 16px; }
.gallery-video { width: 100%; max-height: 540px; border-radius: 12px; background: #000; display: block; box-shadow: var(--shadow-sm); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.07); }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(10,12,14,.93); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 12px 44px rgba(0,0,0,.55); }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.30); }
.lb-close { top: 20px; right: 20px; font-size: 1.25rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cfd5da; font-size: .9rem; letter-spacing: .04em; }
@media (max-width: 560px) { .lb-btn { width: 44px; height: 44px; font-size: 1.4rem; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.section-head h2, .why-copy h2, .contact-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 12px 0 0; }
.section-sub { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--accent); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 18px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Yards ---------- */
.yard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.yard-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.yard-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.yard-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.yard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yard-card:hover .yard-media img { transform: scale(1.05); }
.yard-tag { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink-900); font-size: .72rem; font-weight: 600; font-family: var(--font-head); padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.yard-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.yard-body h3 { font-size: 1.15rem; }
.yard-meta { color: var(--text-muted); font-size: .9rem; }
.yard-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 14px; }
.yard-price .price { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.yard-price .per { color: var(--text-muted); font-size: .9rem; }
.yard-body .btn { margin-top: auto; }
.center-link { text-align: center; margin-top: 40px; }
.center-link a { font-weight: 600; color: var(--accent-dark); }
.center-link a:hover { text-decoration: underline; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why-media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.why-copy .section-sub { margin-bottom: 30px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.feature-ico { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.feature h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--text-muted); font-size: .92rem; }

/* ---------- CTA banner ---------- */
.cta-banner { background-size: cover; background-position: center; color: #fff; text-align: center; }
.cta-inner { padding: clamp(60px, 8vw, 110px) 0; max-width: 640px; }
.cta-banner h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-banner p { color: #d6dbdf; margin: 16px 0 28px; font-size: 1.1rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 0; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--accent); letter-spacing: 2px; }
.review-card p { color: var(--ink-700); font-size: 1rem; }
.review-card footer { margin-top: auto; }
.review-card footer strong { display: block; font-family: var(--font-head); }
.review-card footer span { color: var(--text-muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq-item summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding: 0 0 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy .section-sub { margin-bottom: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.contact-list a:hover { color: var(--accent-dark); }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink-700); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--paper-2); color: var(--text); transition: border .2s, background .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--accent); background: #fff; }
.contact-form textarea { resize: vertical; }
.form-note { background: var(--accent-soft); color: var(--ink-800); padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #aeb6bc; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 16px 0 18px; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2a323a; border-radius: 10px; color: #cfd5da; font-weight: 600; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.socials a svg { width: 19px; height: 19px; fill: currentColor; }
/* socials on light backgrounds (e.g. contact page) */
.contact-copy .socials a { border-color: var(--border); color: var(--ink-500); }
.contact-copy .socials a:hover { color: #fff; border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid #222a30; font-size: .86rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .lead { max-width: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .yard-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-media { max-width: 460px; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; height: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-cta { margin-top: 12px; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps-grid { grid-template-columns: 1fr; }
  .yard-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { gap: 14px; }
  .hero-badge { left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   MULTI-PAGE COMPONENTS
   ========================================================= */

/* active nav link */
.main-nav a.active { color: var(--ink-900); font-weight: 600; }
.main-nav a:not(.nav-cta).active { position: relative; }
.main-nav a:not(.nav-cta).active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--accent);
}
@media (max-width: 640px) {
  .main-nav a:not(.nav-cta).active::after { display: none; }
  .main-nav a.active { color: var(--accent-dark); }
}

/* ---------- Sub-page hero ---------- */
.page-hero { background: var(--ink-900); color: #fff; padding: clamp(52px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(245,165,36,.22), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: #c7cdd2; font-size: 1.12rem; margin-top: 16px; max-width: 52ch; }
.breadcrumb { font-size: .85rem; color: #9aa2a8; margin-bottom: 18px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* page-hero with photo (location pages) */
.page-hero.has-image { background-size: cover; background-position: center; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,21,.92) 30%, rgba(14,18,21,.6)); }
.page-hero.has-image .container { position: relative; z-index: 2; }
.page-hero .hero-price { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 12px 20px; border-radius: 999px; }
.page-hero .hero-price .price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--accent); }
.page-hero .hero-price .per { color: #c7cdd2; font-size: .95rem; }

/* ---------- Stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink-900); }
.stat-num span { color: var(--accent-dark); }
.stat-label { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }

/* ---------- Prose / split ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-700); font-size: 1.06rem; margin-bottom: 18px; }
.prose h3 { font-size: 1.4rem; margin: 32px 0 12px; }
.prose ul { color: var(--ink-700); padding-left: 20px; margin: 0 0 18px; }
.prose ul li { margin-bottom: 8px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-grid.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- Values grid (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.value-card .feature-ico { font-size: 1.8rem; }
.value-card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.value-card p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Location detail layout ---------- */
.loc-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.loc-main img.loc-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 28px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec-list .spec-ico { font-size: 1.2rem; }
.spec-list strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.spec-list span.spec-sub { color: var(--text-muted); font-size: .85rem; }
.loc-sidebar { position: sticky; top: 92px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); }
.loc-sidebar .price-big { font-family: var(--font-head); font-weight: 700; font-size: 2rem; }
.loc-sidebar .price-big span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.loc-sidebar .avail { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .8rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.loc-sidebar hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.loc-sidebar ul { list-style: none; padding: 0; margin: 0 0 20px; }
.loc-sidebar ul li { padding: 6px 0 6px 24px; position: relative; font-size: .95rem; }
.loc-sidebar ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

/* ---------- Small CTA strip ---------- */
.cta-strip { background: var(--accent-soft); }
.cta-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-strip p { color: var(--ink-700); margin-top: 6px; }

/* ---------- Map placeholder ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-height: 320px; background: var(--paper-3) url('images/cta.jpg') center/cover; position: relative; }
.map-embed::after { content: "📍 Map location — embed Google Maps here"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,18,21,.55); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; padding: 20px; }

/* ---------- Multi-page responsive ---------- */
@media (max-width: 960px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.reverse .split-media { order: -1; }
  .values-grid { grid-template-columns: 1fr; }
  .loc-layout { grid-template-columns: 1fr; gap: 32px; }
  .loc-sidebar { position: static; }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .cta-strip .container { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   YARD LOCATOR (list + map)
   ========================================================= */
.locator { display: grid; grid-template-columns: 400px 1fr; height: calc(100vh - 68px); }

/* --- left: scrollable list --- */
.locator-list { display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--border); min-height: 0; }
.locator-head { padding: 22px 26px 18px; border-bottom: 1px solid var(--border); }
.locator-head h1 { font-size: 1.6rem; }
.locator-count { color: var(--text-muted); font-size: .88rem; margin-top: 4px; }
.locator-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 16px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 16px; }
.locator-search .search-icon { font-size: 1rem; }
.locator-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--font-body); font-size: .95rem; min-width: 0; }
.locator-search .geo-btn { background: none; border: 0; cursor: pointer; font-size: 1.05rem; padding: 6px; color: var(--ink-500); border-radius: 50%; }
.locator-search .geo-btn:hover { color: var(--accent-dark); background: var(--paper-2); }
.locator-search .btn { border-radius: 999px; padding: 9px 18px; }

.yard-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.yli { display: flex; gap: 12px; padding: 15px 26px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; align-items: flex-start; }
.yli:hover, .yli.active { background: var(--paper-2); }
.yli-ico { color: var(--accent-dark); font-size: 1.05rem; line-height: 1.4; flex-shrink: 0; }
.yli-body { min-width: 0; }
.yli-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.yli-addr { color: var(--text-muted); font-size: .85rem; margin-top: 2px; }
.yli-size { color: var(--ink-700); font-size: .85rem; font-weight: 500; margin-top: 3px; }
.yli-size.req { color: var(--text-muted); font-weight: 400; }
.yli-badge { display: inline-block; background: var(--paper-3); color: var(--ink-500); font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.yli.coming { cursor: default; }
.yli.coming .yli-ico { color: var(--ink-300); }
.yli.coming:hover { background: transparent; }
.yli-empty { padding: 30px 26px; color: var(--text-muted); font-size: .92rem; text-align: center; }
.yli-empty a { color: var(--accent-dark); font-weight: 600; }

.locator-foot { border-top: 1px solid var(--border); padding: 16px 26px; background: var(--paper-2); }
.locator-foot strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.locator-foot a { color: var(--accent-dark); font-weight: 600; font-size: .9rem; }

/* --- right: map --- */
.locator-map { position: relative; background: #e8ecec; }
#yardMap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-request { position: absolute; top: 16px; right: 16px; z-index: 500; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink-900); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 7px; }
.map-request:hover { background: var(--paper-2); }

/* branded map pin */
.y4l-pin { background: none !important; border: 0 !important; }
.y4l-pin span { display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: var(--ink-900); font-family: var(--font-head); font-weight: 700; font-size: .9rem; border-radius: 9px 9px 9px 2px; box-shadow: 0 3px 8px rgba(14,18,21,.35); border: 2px solid #fff; transform: rotate(-2deg); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-body); }
.map-pop-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.map-pop-addr { color: var(--text-muted); font-size: .82rem; margin: 3px 0 6px; }
.map-pop-size { font-size: .85rem; margin-bottom: 10px; }
.map-pop a.btn { padding: 8px 14px; font-size: .85rem; }

@media (max-width: 900px) {
  .locator { grid-template-columns: minmax(0, 1fr); height: auto; }
  .locator-map { order: -1; height: 340px; }
  .locator-map .leaflet-container { width: 100% !important; }
  #yardMap { position: relative; }
  .locator-list { border-right: 0; }
  .yard-list { overflow: visible; }
}

/* =========================================================
   RESPONSIVE HARDENING — no horizontal overflow on any device
   ========================================================= */
body { overflow-x: clip; }                 /* safety net; does NOT break the sticky header */
h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Let grid & flex children shrink below their content/image size
   (fixes images forcing tracks wider than the screen) */
.hero-grid > *, .why-grid > *, .split-grid > *, .contact-grid > *,
.loc-layout > *, .steps-grid > *, .yard-grid > *, .review-grid > *,
.feature-grid > *, .footer-grid > *, .stats-row > *, .values-grid > *,
.trust-inner > *, .cta-strip .container > *, .search-bar > *,
.locator > *, .locator-search > * { min-width: 0; }

/* Media scales, never overflows */
.hero-media img, .why-media img, .split-media img, .loc-photo { width: 100%; }

/* Small phones: tighter gutters + fluid hero type */
@media (max-width: 400px) {
  .container { padding-inline: 18px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-badge { left: 10px; padding: 12px 15px; }
  .hero-badge-num { font-size: 1.4rem; }
  .btn-lg { padding: 13px 22px; font-size: 1rem; }
  .section-head h2, .why-copy h2, .contact-copy h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
}

/* =========================================================
   Content-rebuild additions (2026)
   ========================================================= */

/* WhatsApp button variants */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb257; color: #fff; }
.btn-wa svg { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; fill: currentColor; }

/* Floating WhatsApp button (all pages) */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25d366; color: #fff; font-weight: 600; font-size: .95rem;
  padding: 13px 18px; border-radius: 999px; box-shadow: 0 8px 26px rgba(14,18,21,.28);
  transition: transform .18s ease, background .18s ease;
}
.wa-float:hover { background: #1eb257; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 560px) { .wa-float .wa-label { display: none; } .wa-float { padding: 14px; } }

/* Button group (multiple CTAs in a row) */
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group.center { justify-content: center; }

/* "What our yards can be used for" chips (legacy) */
.use-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.use-chips li {
  list-style: none; background: var(--paper-2); border: 1px solid var(--border);
  color: var(--ink-700); padding: 9px 15px; border-radius: 999px; font-size: .93rem; font-weight: 500;
}

/* "What our yards can be used for" — icon tiles */
.use-grid {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px;
}
.use-tile {
  display: flex; align-items: center; gap: 13px;
  background: var(--paper); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; font-size: .95rem; font-weight: 500; color: var(--ink-800);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.use-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(216,31,42,.30); }
.use-tile .u-ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(216,31,42,.12);
}
/* Keep the uses heading on a single line (wraps only on small screens) */
#uses .section-head { max-width: none; }
#uses .section-head h2 { white-space: nowrap; }
#uses .section-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { #uses .section-head h2 { white-space: normal; } }

/* Selling-point / feature cards reused via .value-card + .feature-ico (existing) */

/* Two-column prose lists on selling points */
.sell-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 34px; margin-top: 10px; }
.sell-grid .sell {
  display: flex; gap: 13px; align-items: flex-start;
}
.sell-grid .sell .tick {
  flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .9rem;
}
.sell-grid .sell h4 { font-family: var(--font-head); font-size: 1.02rem; margin: 2px 0 3px; }
.sell-grid .sell p { color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
@media (max-width: 680px) { .sell-grid { grid-template-columns: 1fr; } }

/* "Why businesses choose us" — icon card grid */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
@media (max-width: 900px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reason-grid { grid-template-columns: 1fr; } }
.reason-card {
  position: relative; background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.reason-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .22s ease;
}
.reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(216,31,42,.28); }
.reason-card:hover::before { transform: scaleY(1); }
.reason-ico {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 15px;
  background: var(--accent-soft); font-size: 1.7rem; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(216,31,42,.14);
}
.reason-card h3 { font-family: var(--font-head); font-size: 1.16rem; letter-spacing: -.01em; margin-bottom: 8px; }
.reason-card p { color: var(--text-muted); font-size: .96rem; line-height: 1.55; }

/* Landowner band */
.owner-band {
  background: var(--ink-900); color: #cfd6db; border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.4fr auto;
  gap: 28px; align-items: center;
}
.owner-band h2 { color: #fff; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.owner-band p { max-width: 60ch; }
@media (max-width: 760px) { .owner-band { grid-template-columns: 1fr; } }

/* Contact quick-actions row */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 6px; }

/* Placeholder note pill (marks TODO details) */
.placeholder-note {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  border: 1px dashed var(--accent); border-radius: 8px; padding: 2px 8px; font-size: .8rem; font-weight: 600;
}
