/* Kimrey Land Services — site styles
   Palette: deep forest green, off-black, paper white, with a fresh-cut leaf accent.
   Type: Archivo (display, variable width) + Public Sans (body). */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 500 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-italic-var.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0c110e;
  --ink-2: #161d18;
  --forest-950: #08180f;
  --forest-900: #0f2a1c;
  --forest-800: #143823;
  --forest-700: #1b4a2f;
  --forest-600: #23603d;
  --forest-500: #2f7a4e;
  --leaf: #a3c76a;
  --leaf-soft: #d9e8c3;
  --paper: #f5f4ee;
  --paper-2: #ebe9df;
  --white: #ffffff;
  --muted: #4c5a50;
  --muted-light: #b9c4bb;
  --line: rgba(12, 17, 14, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --error: #b3261e;
  --error-bg: #fbeceb;
  --ok: #1f6b3e;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(8, 24, 15, 0.06), 0 12px 32px -12px rgba(8, 24, 15, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(8, 24, 15, 0.5);

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--forest-800); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 100%; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
address { font-style: normal; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display); font-weight: 700; font-stretch: 112%;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--forest-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--leaf); }

.h-display {
  font-weight: 850; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 0.95; letter-spacing: -0.005em;
}
.h-display--xl { font-size: clamp(2.6rem, 7.5vw, 5.2rem); }
.h-display--sm { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1; }
.lead { font-size: 1.2rem; color: var(--muted); }
.fine { font-size: 0.9rem; color: var(--muted); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head .h-display { margin-bottom: 0; }

/* Mowing-stripe texture: the site's signature pattern */
.stripes {
  background-color: var(--forest-900);
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.035) 0 64px, transparent 64px 128px),
    radial-gradient(120% 80% at 100% 0%, rgba(163,199,106,0.12), transparent 60%);
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest-700); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.8rem 1.35rem;
  border-radius: var(--pill); border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-stretch: 105%; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); color: var(--fg); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn .i-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { --bg: var(--forest-700); }
.btn-primary:hover { --bg: var(--forest-600); box-shadow: 0 10px 24px -12px rgba(15, 42, 28, 0.7); }
.stripes .btn-primary, .hero .btn-primary, .cta-card--quote .btn-primary, .site-footer .btn-primary, .panel--dark .btn-primary {
  --bg: var(--leaf); --fg: var(--forest-950);
}
.stripes .btn-primary:hover, .hero .btn-primary:hover, .cta-card--quote .btn-primary:hover, .site-footer .btn-primary:hover, .panel--dark .btn-primary:hover { --bg: #b6d683; }
.btn-dark { --bg: var(--ink); }
.btn-dark:hover { --bg: var(--forest-900); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: var(--white); }
.btn-ghost-light { --bg: rgba(255,255,255,0.08); --fg: var(--white); --bd: rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-display); font-weight: 700; color: var(--forest-700); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Solid background on purpose: backdrop-filter would become the containing
     block for the fixed mobile menu and collapse it. */
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand__word { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 1.45rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__sub { font-family: var(--font-display); font-weight: 600; font-stretch: 112%; font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--leaf); margin-top: 0.3rem; }
.brand__logo { height: 48px; width: auto; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--pill); border: 1px solid var(--line-light); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ink); padding: 1.5rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
.site-nav__links { list-style: none; margin: 0; padding: 0; display: grid; }
.site-nav__links a {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line-light);
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-stretch: 85%; font-size: 1.9rem; text-transform: uppercase;
}
.site-nav__links a[aria-current="page"] { color: var(--leaf); }
.site-nav__actions { display: grid; gap: 0.75rem; }
.site-nav__actions .btn-outline { --fg: var(--white); --bd: rgba(255,255,255,0.5); }
.site-nav__actions .btn-outline:hover { --bg: var(--white); --fg: var(--ink); }
.site-nav__actions .btn-primary { --bg: var(--leaf); --fg: var(--forest-950); }
.site-nav__phone { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted-light); text-decoration: none; font-weight: 600; }
.site-nav__phone:hover { color: var(--white); }
body.nav-open { overflow: hidden; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; visibility: visible; opacity: 1; transform: none; background: none; padding: 0;
    flex-direction: row; align-items: center; gap: 1.75rem; overflow: visible;
  }
  .site-nav__links { display: flex; gap: 1.6rem; }
  .site-nav__links a {
    border: 0; padding: 0.4rem 0; font-family: var(--font-body); font-weight: 600; font-size: 0.97rem; text-transform: none; color: rgba(255,255,255,0.82);
    position: relative;
  }
  .site-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .site-nav__links a:hover { color: var(--white); }
  .site-nav__links a:hover::after, .site-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__links a[aria-current="page"] { color: var(--white); }
  .site-nav__actions { display: flex; gap: 0.6rem; }
  .site-nav__actions .btn { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.92rem; }
  .site-nav__phone { display: none; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.6rem;
  padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(12,17,14,0.96); border-top: 1px solid var(--line-light);
}
.action-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.action-bar__call { color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.action-bar__quote { background: var(--leaf); color: var(--forest-950); }
.action-bar a:hover { color: inherit; }
@media (min-width: 900px) { .action-bar { display: none; } }
.page-plain { padding-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88svh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--forest-950); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: heroZoom 14s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,24,15,0.35) 0%, rgba(8,24,15,0.15) 35%, rgba(8,24,15,0.92) 100%),
    linear-gradient(90deg, rgba(8,24,15,0.85) 0%, rgba(8,24,15,0.2) 70%);
}
.hero__inner { padding-block: 7rem 6.5rem; }
.hero__title { font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: clamp(3.4rem, 13vw, 8.4rem); line-height: 0.86; letter-spacing: -0.01em; margin-bottom: 1.4rem; }
.hero__title span { color: var(--leaf); }
.hero__lede { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 34rem; color: rgba(255,255,255,0.88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.hero__login {
  position: absolute; right: var(--gutter); bottom: 2rem;
  display: none; flex-direction: column; gap: 0.15rem; padding: 1rem 1.3rem; border-radius: var(--radius);
  background: rgba(245,244,238,0.96); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.hero__login:hover { transform: translateY(-3px); color: var(--ink); }
.hero__login-k { font-size: 0.82rem; color: var(--muted); }
.hero__login-v { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
@media (min-width: 900px) { .hero__login { display: flex; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.reveal { animation: rise 0.8s var(--ease) both; }
.hero__inner .reveal:nth-child(2) { animation-delay: 0.08s; }
.hero__inner .reveal:nth-child(3) { animation-delay: 0.18s; }
.hero__inner .reveal:nth-child(4) { animation-delay: 0.28s; }
.hero__inner .reveal:nth-child(5) { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (added by JS) */
.js .in-view { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .in-view.is-visible { opacity: 1; transform: none; }

/* ---------- Services (home) ---------- */
.services-home__grid { display: grid; gap: 2.5rem; }
.services-home__intro p { color: var(--muted); max-width: 30rem; }
@media (min-width: 1000px) {
  .services-home__grid { grid-template-columns: 0.85fr 2fr; gap: 4rem; }
  .services-home__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-card--feature { grid-column: span 2; } }
.svc-card a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.6rem; border-radius: var(--radius); background: var(--white); color: var(--ink);
  text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.svc-card a:hover { transform: translateY(-4px); border-color: var(--forest-600); box-shadow: 0 24px 40px -24px rgba(8,24,15,0.45); }
.svc-card h3 { font-weight: 800; font-stretch: 90%; font-size: 1.45rem; text-transform: uppercase; margin-top: 1.1rem; }
.svc-card p { color: var(--muted); margin-bottom: 1.4rem; }
.svc-num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.1em; }
.svc-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--forest-900); color: var(--leaf); font-size: 30px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 700; color: var(--forest-700); }
.svc-more svg { transition: transform 0.2s var(--ease); }
.svc-card a:hover .svc-more svg { transform: translateX(4px); }
.svc-card--feature a { background: var(--forest-900); color: var(--white); border-color: transparent; background-image: repeating-linear-gradient(100deg, rgba(255,255,255,0.04) 0 48px, transparent 48px 96px); }
.svc-card--feature p { color: rgba(255,255,255,0.78); max-width: 34rem; }
.svc-card--feature .svc-icon { background: var(--leaf); color: var(--forest-950); }
.svc-card--feature .svc-num { color: rgba(255,255,255,0.6); }
.svc-card--feature .svc-more { color: var(--leaf); }
.svc-card--feature h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
@media (min-width: 640px) { .svc-card--feature a { min-height: 280px; justify-content: flex-end; } }
.svc-card--cta a { background: transparent; border: 2px dashed rgba(12,17,14,0.25); box-shadow: none; }
.svc-card--cta a:hover { border-color: var(--forest-700); border-style: solid; }
.svc-card--cta h3 { margin-top: 0; }

/* ---------- Service area ---------- */
.area__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .area__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.area__copy { color: rgba(255,255,255,0.82); max-width: 32rem; }
.area__copy a { color: var(--leaf); }
.area__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.area__list li {
  font-family: var(--font-display); font-weight: 850; font-stretch: 78%; text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; padding: 0.4rem 0; border-bottom: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.area__list li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--leaf); flex-shrink: 0; }
.area__list li:last-child { font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-stretch: 100%; color: var(--leaf); border-bottom: 0; padding-top: 0.8rem; }
.area__list li:last-child::after { display: none; }
.area__list--dark li { font-size: clamp(1.4rem, 3.5vw, 2rem); border-color: var(--line); }
.area__list--dark li::after { border-color: var(--forest-600); }
.area__list--dark li:last-child { color: var(--forest-600); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.steps li { position: relative; padding: 1.8rem 1.6rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 820px) {
  .steps li { border-radius: 0; border-right-width: 0; }
  .steps li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .steps li:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-right-width: 1px; }
  .steps li:nth-child(2) { transform: translateY(1.5rem); background: var(--paper-2); }
}
.steps__n { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: 4.2rem; line-height: 1; color: var(--forest-700); margin-bottom: 0.75rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.g-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.g-grid--preview { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .g-grid--preview { grid-template-columns: repeat(3, 1fr); }
  .g-grid--preview .g-item:first-child { grid-column: span 2; grid-row: span 2; }
}
.g-item figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.g-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); transition: transform 0.4s var(--ease), filter 0.3s; }
.g-item a, .g-open { display: block; overflow: hidden; border-radius: var(--radius-sm); flex: 1; }
.g-open { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.g-item a:hover img, .g-open:hover img { transform: scale(1.04); }
.g-item figcaption { padding: 0.6rem 0.2rem 0; font-size: 0.92rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; }
.g-item[hidden] { display: none; }
.tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--pill); background: var(--leaf-soft); color: var(--forest-800); font-size: 0.78rem; font-weight: 700; }
.g-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chip { min-height: 44px; padding: 0.5rem 1.1rem; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--forest-700); }
.chip[aria-pressed="true"] { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }

.g-empty {
  position: relative; overflow: hidden; text-align: left;
  display: grid; gap: 0.5rem; justify-items: start;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.g-empty h2, .g-empty h3 { font-weight: 850; font-stretch: 85%; text-transform: uppercase; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0.5rem 0 0; }
.g-empty p { max-width: 36rem; color: var(--muted); }
.g-empty__frames { display: flex; gap: 0.6rem; margin-bottom: 0.5rem; }
.g-empty__frames span { width: 64px; height: 48px; border-radius: 10px; border: 2px dashed rgba(12,17,14,0.22); background: repeating-linear-gradient(100deg, rgba(35,96,61,0.08) 0 8px, transparent 8px 16px); }
.g-empty__frames span:nth-child(2) { transform: rotate(-4deg) translateY(4px); }
.g-empty__frames span:nth-child(3) { transform: rotate(3deg); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(8, 12, 10, 0.92); }
.lightbox__inner { display: grid; gap: 0.75rem; justify-items: center; }
.lightbox img { max-height: 76vh; width: auto; border-radius: var(--radius-sm); }
.lightbox p { color: var(--white); margin: 0; text-align: center; }
.lightbox__controls { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }

/* ---------- CTA split ---------- */
.cta-split { padding-top: 0; }
.cta-split__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cta-split__grid { grid-template-columns: 1.6fr 1fr; } }
.cta-card { border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; isolation: isolate; }
.cta-card--quote { background: var(--forest-900); color: var(--white); min-height: 380px; display: flex; align-items: flex-end; }
.cta-card__media { position: absolute; inset: 0; z-index: -2; }
.cta-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-card--quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,24,15,0.2), rgba(8,24,15,0.9) 70%); }
.cta-card__body p { color: rgba(255,255,255,0.85); max-width: 28rem; }
.cta-card--login { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-card--login p { color: var(--muted); }
.cta-card--login .btn { margin: 0.5rem 0 1rem; }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.page-hero--compact { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .h-display { max-width: 14ch; margin-bottom: 1rem; }
.page-hero__lede { font-size: 1.15rem; max-width: 40rem; color: rgba(255,255,255,0.82); margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a { padding: 0.5rem 1rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--pill); border: 1px solid rgba(255,255,255,0.35); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.94rem; transition: background 0.2s, color 0.2s; }
.jump a:hover { background: var(--white); color: var(--ink); }

/* ---------- Service details ---------- */
.svc-details { display: grid; gap: 1.25rem; }
.svc-detail { display: grid; gap: 1.5rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); position: relative; scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 0.9fr 1.4fr; gap: 3rem; } }
.svc-detail__head { position: relative; }
.svc-detail__head .svc-num { position: static; display: block; margin-bottom: 1rem; }
.svc-detail__head h2 { font-weight: 850; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 1.2rem; }
.svc-detail__body p { color: var(--muted); }
.svc-detail__body .lead { color: var(--ink); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.checklist li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.15rem; border-radius: 50%; background: var(--forest-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.banner { display: grid; gap: 1.5rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); }
@media (min-width: 900px) { .banner { grid-template-columns: 1.4fr auto; align-items: center; } }
.banner p { color: var(--muted); margin: 0; max-width: 38rem; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.contact-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.8rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.25s var(--ease), border-color 0.25s; min-width: 0; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--forest-600); color: var(--ink); }
.contact-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--forest-900); color: var(--leaf); font-size: 22px; margin-bottom: 1rem; }
.contact-card__k { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card__v { font-family: var(--font-display); font-weight: 850; font-stretch: 82%; font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-transform: uppercase; line-height: 1.05; }
.contact-card__v--email { font-size: clamp(1rem, 2.2vw, 1.2rem); text-transform: none; font-stretch: 100%; overflow-wrap: anywhere; }
.contact-card__note { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
.contact-card--primary { background: var(--forest-900); color: var(--white); border-color: transparent; }
.contact-card--primary:hover { color: var(--white); }
.contact-card--primary .contact-card__icon { background: var(--leaf); color: var(--forest-950); }
.contact-card--primary .contact-card__k, .contact-card--primary .contact-card__note { color: rgba(255,255,255,0.75); }
.contact-more { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .contact-more { grid-template-columns: 1.5fr 1fr; } }

.panel { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.panel p { color: var(--muted); }
.panel--dark { background: var(--forest-900); color: var(--white); border-color: transparent; }
.panel--dark p { color: rgba(255,255,255,0.8); }

/* ---------- Quote form ---------- */
.section--form { padding-top: clamp(2rem, 5vw, 3.5rem); }
.quote-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; } .quote-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.quote-aside { display: grid; gap: 1rem; }
.mini-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; color: rgba(255,255,255,0.88); }
.mini-steps li::marker { color: var(--leaf); font-family: var(--font-display); font-weight: 800; }

.quote-form { display: grid; gap: 1.25rem; }
.fs { margin: 0; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.fs__legend { display: flex; align-items: center; gap: 0.7rem; padding: 0; float: left; width: 100%; margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 800; font-stretch: 95%; font-size: 1.25rem; text-transform: uppercase; }
.fs__legend + * { clear: both; }
.fs__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--forest-900); color: var(--leaf); font-size: 0.95rem; }
.optional { font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; text-transform: none; color: var(--muted); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; font-size: 0.97rem; }
.req { color: var(--error); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid rgba(12,17,14,0.2); border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%230c110e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.6rem; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(12,17,14,0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); background: var(--white); box-shadow: 0 0 0 4px rgba(47,122,78,0.18); }
.field [aria-invalid="true"] { border-color: var(--error) !important; background: var(--error-bg); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179,38,30,0.15); }
.field__hint { margin: 0; font-size: 0.88rem; color: var(--muted); }
.field__error { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field__error::before { content: "! "; font-weight: 800; }

.sr-only-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop {
  display: grid; justify-items: center; gap: 0.3rem; text-align: center; cursor: pointer;
  padding: 1.8rem 1rem; border: 2px dashed rgba(12,17,14,0.25); border-radius: var(--radius);
  background: repeating-linear-gradient(100deg, rgba(35,96,61,0.04) 0 24px, transparent 24px 48px), var(--paper);
  transition: border-color 0.2s, background-color 0.2s;
}
.drop svg { width: 40px; height: 40px; color: var(--forest-600); margin-bottom: 0.3rem; }
.drop:hover, .drop.is-dragging { border-color: var(--forest-600); background-color: var(--leaf-soft); }
.sr-only-input:focus-visible + .thumbs, .drop:focus-within { outline: none; }
#f-photos:focus-visible ~ .thumbs { outline: none; }
.drop__title { font-weight: 700; color: var(--ink); }
.drop__hint { font-size: 0.88rem; color: var(--muted); }
.drop.has-focus { outline: 3px solid var(--leaf); outline-offset: 3px; }
.thumbs { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.6rem; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .thumb__name { position: absolute; inset: auto 0 0 0; padding: 0.25rem 0.4rem; font-size: 0.7rem; background: rgba(12,17,14,0.7); color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs .thumb__fallback { display: grid; place-items: center; height: 100%; padding: 0.5rem; font-size: 0.75rem; text-align: center; color: var(--muted); }
.thumb__remove { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(12,17,14,0.82); color: var(--white); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.thumb__remove:hover { background: var(--error); }

.fs--consent { background: var(--paper-2); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; margin-bottom: 0.75rem; }
.consent input { width: 26px; height: 26px; margin: 0.1rem 0 0; accent-color: var(--forest-700); cursor: pointer; }
.consent label { font-size: 0.95rem; line-height: 1.55; cursor: pointer; }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.quote-submit { display: grid; gap: 0.75rem; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { padding: 1rem 1.2rem; border-radius: 12px; border: 1.5px solid; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert--error { background: var(--error-bg); border-color: var(--error); color: #5c1410; }
.alert--error a { color: #5c1410; font-weight: 700; }
.alert ul { margin: 0.4rem 0 0; }
.alert:focus { outline: 3px solid var(--error); outline-offset: 2px; }

.quote-success { padding: clamp(2rem, 5vw, 3rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); animation: rise 0.5s var(--ease) both; }
.quote-success:focus { outline: none; }
.quote-success__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-700); color: var(--white); margin-bottom: 1.25rem; }
.quote-success__badge svg { width: 34px; height: 34px; stroke-width: 2.6; }
.quote-success__ref { font-size: 1.1rem; padding: 0.9rem 1.1rem; background: var(--paper); border-radius: 12px; border: 1px dashed rgba(12,17,14,0.25); }
.quote-success__ref strong { font-family: var(--font-display); letter-spacing: 0.05em; }

/* ---------- Legal ---------- */
.legal { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .legal { grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; } .legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } .review-flag { grid-column: 1 / -1; } .legal__summary { grid-column: 1 / -1; } }
.legal__toc { padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.legal__toc h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.legal__toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-weight: 800; font-stretch: 90%; font-size: 1.6rem; text-transform: uppercase; margin-top: 2.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal__body li { margin-bottom: 0.35rem; }
.callout { padding: 1rem 1.2rem; border-left: 4px solid var(--forest-600); background: var(--leaf-soft); border-radius: 0 12px 12px 0; color: var(--forest-950); }
.review-flag { margin: 0; padding: 0.9rem 1.1rem; border-radius: 12px; background: #fff6dc; border: 1.5px solid #d7b14a; color: #4d3b05; font-size: 0.95rem; }
.legal__summary { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--forest-900); color: var(--white); }
.legal__summary h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf); }
.legal__summary dl { margin: 0; display: grid; gap: 0.75rem 2rem; }
@media (min-width: 700px) { .legal__summary dl { grid-template-columns: repeat(3, 1fr); } }
.legal__summary dt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); }
.legal__summary dd { margin: 0.15rem 0 0; font-weight: 600; }

/* ---------- Notice page ---------- */
.notice-page { padding-block: clamp(4rem, 10vw, 8rem); }
.notice-page h1 { font-weight: 850; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 0.98; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-top: clamp(3.5rem, 7vw, 5rem); }
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.6fr 1.2fr 0.8fr 0.9fr; gap: 3rem; } }
.site-footer__brand p { max-width: 26rem; margin: 1.2rem 0 1.5rem; }
.site-footer__brand .btn { color: var(--forest-950); }
.site-footer__brand .btn:hover { color: var(--forest-950); text-decoration: none; }
.brand--light .brand__word { color: var(--white); }
.site-footer__h { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer__list a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 28px; overflow-wrap: anywhere; }
.site-footer__base { border-top: 1px solid var(--line-light); padding-block: 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.site-footer__base p { margin: 0; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .in-view { opacity: 1; transform: none; }
}
