/* ===================================================================
   Leafy's Landscaping — FINAL (polished)
   Modern Organic editorial shell + conversion grafts.
   =================================================================== */

:root {
  --pine: #14532d;
  --pine-deep: #0e3a20;
  --leaf: #4f9d45;
  --leaf-bright: #5ba130;
  /* AA-safe green for small text on cream/white (>=4.5:1) */
  --leaf-text: #2f6b22;
  --mulch: #5c4033;
  --maple: #c8341f;
  --gold: #e8a317;
  --gold-deep: #c8870a;
  /* lighter gold that reaches AA on the pine background */
  --gold-on-pine: #f3b948;
  --cream: #faf8f2;
  --cream-2: #f1ede2;
  --charcoal: #1c2620;
  --ink-soft: #44524a;
  --line: rgba(28, 38, 32, 0.10);
  --white: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(20, 83, 45, 0.07);
  --shadow-md: 0 16px 40px -14px rgba(20, 83, 45, 0.26);
  --shadow-lg: 0 32px 72px -22px rgba(14, 58, 32, 0.45);

  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.012em; margin: 0; color: var(--charcoal); }
h1 em, h2 em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }

.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;
}

.eyebrow {
  display: inline-block; font-family: var(--sans); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 700;
  color: var(--leaf-text); margin: 0 0 13px;
}
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 58px); text-align: center; }
.section-head h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); color: var(--pine); }
.section-lede { color: var(--ink-soft); font-size: 1.07rem; margin: 16px 0 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--pine); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Visible focus — dark ring with a light halo so it reads >=3:1 on any background */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
}
/* On dark sections keep the ring light for contrast against pine */
.hero a:focus-visible, .hero button:focus-visible,
.area a:focus-visible, .area button:focus-visible,
.cta-strip a:focus-visible, .cta-strip button:focus-visible,
.site-footer a:focus-visible, .site-footer button:focus-visible,
.lightbox button:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(14, 58, 32, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; min-height: 48px; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform .25s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; min-height: 56px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; min-height: 44px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }

/* gold — primary high-contrast conversion CTA */
.btn-gold { background: var(--gold); color: #3a2a04; box-shadow: 0 10px 24px -8px rgba(232,163,23,.7); }
.btn-gold:hover { background: #f4b22b; box-shadow: 0 14px 30px -8px rgba(232,163,23,.8); }

/* green — secondary on light backgrounds */
.btn-primary { background: var(--leaf-bright); color: #fff; box-shadow: 0 10px 24px -10px rgba(91,161,48,.9); }
.btn-primary:hover { background: var(--pine); box-shadow: var(--shadow-md); }

.btn-ghost { background: rgba(20,83,45,.08); color: var(--pine); }
.btn-ghost:hover { background: rgba(20,83,45,.15); }
.btn-ghost-dark { background: rgba(20,83,45,.07); color: var(--pine); }
.btn-ghost-dark:hover { background: rgba(20,83,45,.14); }

/* soft — in-card service CTA (stronger than a bare text link) */
.btn-soft { background: rgba(20,83,45,.08); color: var(--pine); }
.btn-soft:hover { background: var(--pine); color: #fff; }

.btn-outline-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn-outline-light svg { color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 242, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(250,248,242,.96); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-emblem { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); animation: sway 6s var(--ease) infinite; transform-origin: 50% 90%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--pine); }
.brand-tag { font-family: var(--serif); font-style: italic; font-size: 0.82rem; color: var(--mulch); }

@keyframes sway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-3px); }
}

.primary-nav { display: flex; gap: 4px; }
.primary-nav a {
  font-size: 0.96rem; font-weight: 600; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--pine); background: rgba(20,83,45,.06); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-call svg { color: var(--leaf-text); }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 48px; height: 48px; background: rgba(20,83,45,.08); border: none; border-radius: 14px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2.4px; background: var(--pine); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--cream); padding: 8px clamp(18px,5vw,40px) 20px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 6px; font-size: 1.1rem; font-weight: 600; color: var(--pine); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(580px, 90vh, 840px);
  display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--pine-deep);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(102deg, rgba(14,58,32,.95) 0%, rgba(20,83,45,.80) 42%, rgba(20,83,45,.40) 72%, rgba(20,83,45,.16) 100%),
    linear-gradient(to top, rgba(14,58,32,.55), transparent 45%);
}
.hero-content { position: relative; z-index: 3; max-width: 760px; padding-block: 72px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600;
  color: #eafbe4; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  padding: 7px 16px; border-radius: var(--r-pill); margin: 0 0 22px; backdrop-filter: blur(4px);
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232,163,23,.3); flex: none; }

.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; line-height: 1.04; text-shadow: 0 2px 26px rgba(0,0,0,.32); }
.hero h1 em { color: var(--gold-on-pine); font-style: italic; font-weight: 500; }
.hero-slogan { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2.4rem); color: var(--gold-on-pine); margin: 6px 0 0; text-shadow: 0 2px 14px rgba(0,0,0,.34); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 580px; margin: 16px 0 0; color: #f3f8f0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.9rem; font-weight: 600; padding: 9px 16px; border-radius: var(--r-pill); color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(4px);
}
.chip-leaf { font-size: 0.85em; line-height: 1; }

.scroll-cue {
  position: absolute; bottom: 20px; left: 50%; z-index: 4; transform: translateX(-50%);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  animation: cue 2.4s var(--ease) infinite;
}
.scroll-cue:hover { background: rgba(255,255,255,.30); }
@keyframes cue { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* falling leaves */
.leaves { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.leaf-particle {
  position: absolute; top: -8%; will-change: transform, opacity;
  font-size: var(--lf-size, 20px); opacity: .85;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.15));
  animation: fall var(--lf-dur, 12s) linear var(--lf-delay, 0s) infinite;
}
@keyframes fall {
  0%   { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .95; }
  90%  { opacity: .85; }
  100% { transform: translate3d(var(--lf-drift, 40px), 110vh, 0) rotate(540deg); opacity: 0; }
}

/* ---------- Services ---------- */
.services { background: radial-gradient(120% 80% at 82% -10%, rgba(91,161,48,.08), transparent 58%), var(--cream); }
.service-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; text-align: center; align-items: center;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--leaf-bright), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-media {
  width: 132px; height: 132px; margin: 4px auto 20px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #ffffff, #eef6e7);
  border: 4px solid #fff; box-shadow: 0 10px 24px -12px rgba(20,83,45,.5);
  display: grid; place-items: center;
}
/* contain: the work-0x mascots are cartoons on white — contain frames them cleanly */
.service-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.service-card h3 { font-size: 1.32rem; margin-bottom: 8px; color: var(--pine); }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 0 18px; flex: 1; }
.service-link { gap: 6px; }
.service-link span { transition: transform .25s var(--ease); }
.service-link:hover span { transform: translateX(4px); }

/* ---------- Our Work ---------- */
.work { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }

/* Asymmetric gallery: each composite keeps its NATURAL aspect ratio so neither
   the before nor the after half is ever cropped. */
.gallery {
  list-style: none; padding: 0; margin: 0 0 clamp(34px, 5vw, 52px);
  display: grid; gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
}
.gallery-cell { display: block; }
.gallery-wide { grid-column: span 4; }
.gallery-square { grid-column: span 2; }
.gallery-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: auto; display: block; object-fit: contain; transition: transform .5s var(--ease); }
.gallery-wide .gallery-item img { aspect-ratio: 1168 / 784; }
.gallery-square .gallery-item img { aspect-ratio: 1 / 1; }
.gallery-item:hover img { transform: scale(1.04); }

/* Visible Before -> After label on every transformation tile */
.gallery-ba {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold); color: #3a2a04; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.35);
}
.gallery-badge {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(14,58,32,.88); color: #fff; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.gallery-item::after {
  content: "⤢"; position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--pine); border-radius: 50%; font-size: 1rem;
  opacity: 0; transform: scale(.7); transition: .3s var(--ease);
}
.gallery-item:hover::after { opacity: 1; transform: scale(1); }
.work-cta { text-align: center; margin: 0; }

/* ---------- Why ---------- */
.why { background: var(--cream); }
.why-grid { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: repeat(3, 1fr); }
.why-card {
  text-align: center; padding: 36px 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 24px;
  background: linear-gradient(135deg, var(--leaf-bright), var(--pine)); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(20,83,45,.7); transform: rotate(-6deg); transition: transform .35s var(--ease);
}
.why-card:hover .why-icon { transform: rotate(0deg) scale(1.05); }
.why-card h3 { color: var(--pine); font-size: 1.34rem; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.about-inner { display: grid; gap: clamp(32px, 5vw, 70px); align-items: center; grid-template-columns: 1fr 1.05fr; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: #3a2a04; font-family: var(--sans); font-weight: 700;
  font-size: 0.9rem; padding: 9px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-md);
}
.about-copy h2 { font-size: clamp(1.95rem, 4vw, 2.9rem); color: var(--pine); margin-bottom: 8px; }
.about-copy p { color: var(--ink-soft); margin: 16px 0 0; font-size: 1.05rem; }
.about-slogan { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--maple); margin-top: 20px !important; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Service Area ---------- */
.area { background: var(--pine); color: #eafbe4; overflow: hidden; }
.area .eyebrow { color: var(--gold-on-pine); }
.area-inner { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.area-copy h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.area-copy p { color: #dff0d7; font-size: 1.06rem; margin: 0 0 22px; }
.area-copy strong { color: #fff; }
.area-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.area-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; font-size: 1.04rem; }
.area .btn-primary { background: var(--gold); color: #3a2a04; }
.area .btn-primary:hover { background: #fff; color: var(--pine); }
.area-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 48px 30px; text-align: center; backdrop-filter: blur(4px);
}
.area-pin {
  width: 96px; height: 96px; margin: 0 auto 18px; display: grid; place-items: center; position: relative;
  border-radius: 50%; color: var(--gold-on-pine); background: rgba(232,163,23,.14); animation: bob 3s var(--ease) infinite;
}
.area-pin::before, .area-pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(243,185,72,.45); animation: ripple 3.4s ease-out infinite;
}
.area-pin::after { animation-delay: 1.7s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ripple { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.area-card-town { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1.7rem; margin: 0; }
.area-card-sub { color: var(--gold-on-pine); font-style: italic; font-family: var(--serif); margin: 6px 0 0; }

/* ---------- Trust band (real credibility) ---------- */
.trust-band { background: var(--cream); }
.trust-band-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: repeat(4, 1fr);
}
.trust-band-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 24px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-band-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trust-band-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(20,83,45,.08); color: var(--pine);
}
.trust-band-card h3 { color: var(--pine); font-size: 1.12rem; margin-bottom: 8px; line-height: 1.25; }
.trust-band-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--leaf) 0%, var(--pine) 100%);
  color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center;
}
.cta-strip-inner { max-width: 820px; margin-inline: auto; }
.cta-strip h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,.95); font-size: 1.12rem; margin: 0 0 1.8rem; }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.contact-inner { display: grid; gap: clamp(34px, 5vw, 64px); grid-template-columns: 1fr 1.05fr; align-items: start; }
.contact-copy h2 { font-size: clamp(1.95rem, 4vw, 2.9rem); color: var(--pine); margin-bottom: 10px; }
.contact-copy > p { color: var(--ink-soft); font-size: 1.06rem; margin: 16px 0 26px; }
.contact-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-methods li {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); min-height: 64px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-methods li:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.contact-methods a { font-weight: 600; color: var(--pine); word-break: break-word; }
.contact-methods a:hover { color: var(--leaf-text); }
.cm-icon { width: 48px; height: 48px; border-radius: 16px; background: rgba(20,83,45,.10); color: var(--pine); display: grid; place-items: center; flex: none; }

.estimate-form {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; color: var(--pine); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--charcoal);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--cream); min-height: 48px; transition: border .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--leaf-bright); box-shadow: 0 0 0 4px rgba(91,161,48,.18); outline: none; background: #fff;
}
.field input.invalid, .field textarea.invalid { border-color: var(--maple); box-shadow: 0 0 0 4px rgba(200,52,31,.12); }
.field-help { display: block; color: var(--ink-soft); font-size: 0.84rem; margin-top: 6px; }
.form-fineprint { text-align: center; color: var(--ink-soft); font-size: 0.84rem; margin: 14px 0 0; }

.form-success {
  position: absolute; inset: 0; background: var(--white); border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px; animation: pop .4s var(--ease);
}
.form-success:focus { outline: none; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.success-mark {
  width: 70px; height: 70px; border-radius: 50%; margin-bottom: 16px; font-size: 2rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--leaf-bright), var(--pine)); animation: bob 2.5s var(--ease) infinite;
}
.form-success h3 { font-size: 1.6rem; color: var(--pine); }
.form-success p { color: var(--ink-soft); margin: 10px 0 0; max-width: 360px; }
.form-success strong { color: var(--maple); font-family: var(--serif); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.86); }
.footer-inner { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1.5fr 1fr 1.3fr; padding-top: clamp(48px,6vw,72px); padding-bottom: clamp(40px,5vw,56px); }
.footer-emblem { width: 88px; height: 88px; object-fit: contain; animation: sway 6s var(--ease) infinite; transform-origin: 50% 90%; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-on-pine); margin: 12px 0 8px; }
.footer-blurb { font-size: 0.95rem; color: rgba(255,255,255,.74); margin: 0; max-width: 320px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav h4, .footer-contact h4 {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem;
  color: var(--gold-on-pine); margin: 0 0 6px; font-weight: 700;
}
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.86); font-size: 0.95rem; width: fit-content; transition: color .2s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact .btn { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: 0.86rem; color: rgba(255,255,255,.66); text-align: center; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250,248,242,.97); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px -12px rgba(20,83,45,.3);
}
.mobile-bar .btn { flex: 1; min-height: 52px; }
.btn-call-bar { background: rgba(20,83,45,.1); color: var(--pine); }
.btn-call-bar:hover { background: rgba(20,83,45,.16); }
.btn-call-bar svg { color: var(--leaf-text); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,18,12,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px; animation: pop .25s var(--ease);
}
.lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 92vw; max-height: 78vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); background: #fff; }
.lb-figure figcaption { color: #f1ece0; font-family: var(--serif); font-style: italic; margin-top: 14px; font-size: 1.05rem; text-align: center; max-width: 640px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.32);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease), transform .2s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.30); transform: scale(1.08); }
.lb-close { top: 20px; right: 20px; font-size: 1.9rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.30); transform: translateY(-50%) scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .primary-nav { display: none; }
  .header-actions .btn-call span { display: none; }
  .header-actions .btn-call { padding: 12px; }
  .nav-toggle { display: flex; }
  .about-inner, .area-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; }
  .area-card { max-width: 420px; margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  /* gallery to 2-col: wide spans both, squares split the row */
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .gallery-square { grid-column: span 1; }
}
@media (max-width: 760px) {
  .header-actions .btn-gold { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
  .brand-emblem { width: 48px; height: 48px; }
  .brand-name { font-size: 1.1rem; }
  .service-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .trust-band-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .hero-content { padding-block: 54px; }
  .hero-cta .btn { flex: 1; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-emblem { margin-inline: auto; }
  .footer-blurb { margin-inline: auto; }
  .footer-nav, .footer-contact { align-items: center; }
  .footer-contact .btn { align-self: center; min-height: 48px; }
  /* mobile-friendly footer link hit areas */
  .footer-nav a, .footer-contact a { min-height: 44px; display: inline-flex; align-items: center; }
  /* lightbox nav moved off the image, sized to 44px tap target */
  .lb-prev, .lb-next { width: 44px; height: 44px; top: auto; bottom: 16px; }
  .lb-prev { left: 50%; transform: translateX(-58px); }
  .lb-next { right: 50%; left: auto; transform: translateX(58px); }
  .lb-prev:hover { transform: translateX(-58px) scale(1.08); }
  .lb-next:hover { transform: translateX(58px) scale(1.08); }
  .scroll-cue { display: none; }
}
@media (max-width: 440px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide, .gallery-square { grid-column: span 1; }
  .hero h1 { font-size: 2.2rem; }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; }
  .trust-chips li { font-size: 0.82rem; padding: 8px 13px; }
  .about-badge { font-size: 0.82rem; padding: 8px 14px; }
  .brand-tag { display: none; }
}

/* ---------- America's Hometown (Plymouth heritage) ---------- */
.hometown { background: linear-gradient(180deg, #f7f1e4, #efe9da); position: relative; }
.hometown::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, #b22234 0 33.34%, #ffffff 33.34% 66.67%, #3c3b6e 66.67% 100%);
}
.hometown-inner {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hometown-art { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.hometown-medallion {
  position: relative; width: clamp(160px, 22vw, 208px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #ffffff, #f4eede);
  border: 2px solid rgba(20, 83, 45, 0.14); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.mayflower { width: 70%; height: auto; }
.medallion-year { font-family: var(--serif); font-weight: 600; color: var(--pine); letter-spacing: 0.14em; font-size: 0.82rem; }
.us-flag {
  width: clamp(78px, 9vw, 104px); height: auto; border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-sm); transform: rotate(-3deg); transform-origin: center;
  animation: flag-sway 6s var(--ease) infinite alternate;
}
@keyframes flag-sway { from { transform: rotate(-3deg); } to { transform: rotate(1.5deg); } }
.hometown-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--pine); }
.hometown-copy p { color: var(--ink-soft); margin: 14px 0 0; }
.hometown-tag { font-family: var(--serif); color: var(--pine); font-size: 1.08rem; margin-top: 18px; }
.eyebrow-flag { display: inline-flex; align-items: center; gap: 9px; }
.mini-flag { width: 24px; height: auto; border: 0.5px solid rgba(0, 0, 0, 0.18); border-radius: 1px; flex: none; }
@media (max-width: 820px) {
  .hometown-inner { grid-template-columns: 1fr; text-align: center; }
  .hometown-art { order: -1; }
  .eyebrow-flag { justify-content: center; }
  .hometown-tag { margin-inline: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .leaves { display: none; }
  .scroll-cue { animation: none; }
}
