/* ===============================================================
   HG Landscaping & Property Maintenance — Shared Styles
   Theme: Forest green + crisp white + soft grey
   Font:  Inter (body) / Fraunces (display headings)
   =============================================================== */

:root {
  /* Greens */
  --green-900: #14361f;
  --green-800: #1d4a2c;
  --green-700: #25613a;
  --green-600: #2f7d4a;
  --green-500: #3f9960;
  --green-400: #6cc18a;
  --green-100: #e6f2ea;

  /* Neutrals */
  --ink: #1c2421;
  --grey-700: #45504b;
  --grey-500: #6c7a72;
  --grey-300: #c9d2cc;
  --grey-200: #e3e8e5;
  --grey-100: #f3f6f4;
  --tan-100: #f6f1e7;   /* soft, light warm tan */
  --white: #ffffff;

  /* Accent */
  --gold: #c9a24b;

  --shadow-sm: 0 2px 8px rgba(20, 54, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 54, 31, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 54, 31, 0.18);

  --radius: 14px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--green-900);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 96px 0; }
.section--tint { background: var(--grey-100); }
/* soft light-grey → light-tan wash for the lower part of the page */
.section--warm { background: linear-gradient(180deg, var(--grey-100) 0%, var(--tan-100) 100%); }
.section--tan { background: var(--tan-100); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0; }
.section-head p { color: var(--grey-700); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-primary { background: var(--green-600); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-dark { background: var(--green-900); color: var(--white); }
.btn-dark:hover { background: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--white); color: var(--green-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ===============================================================
   HEADER / NAV
   =============================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
/* Pages with no dark hero behind the header (e.g. Portfolio) need a solid
   header at the top, or the white logo/nav text would be invisible over the
   light content below. Scrolled state still overrides this as normal. */
.page-solid-header .site-header:not(.scrolled) {
  background: linear-gradient(160deg, #18402a 0%, #0f2e1d 100%);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.05; }
/* Hide the logo mark in the top nav — title only in the corner */
.site-header .brand-mark { display: none; }

.brand-text strong {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}
.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.4s var(--ease);
}
/* Header title scales down slightly once the nav is condensed */
.site-header.scrolled .brand-text strong { font-size: 1.4rem; }
.scrolled .brand-text strong { color: var(--green-900); }
.scrolled .brand-text span { color: var(--grey-500); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--white);
  padding: 9px 16px;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.scrolled .nav-links a { color: var(--grey-700); }
.nav-links a:hover { background: rgba(255,255,255,0.14); }
.scrolled .nav-links a:hover { background: var(--green-100); color: var(--green-800); }
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.18); }
.scrolled .nav-links a.active { color: var(--green-800); background: var(--green-100); }
.nav-cta { margin-left: 10px; }
.nav-cta.btn { padding: 11px 22px; font-size: 0.95rem; }

/* Colorful gradient Contact button (top-right) */
.btn-colorful {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  margin-left: 10px;
  overflow: hidden;
  border-radius: 100px;
  background: var(--green-900);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-colorful::before {
  content: "";
  position: absolute;
  inset: 0;
  /* on-brand greens + gold + tan, continuously flowing */
  background: linear-gradient(110deg, #1f7a45, #3f9960, #6cc18a, #c9a24b, #1f7a45);
  background-size: 280% 100%;
  opacity: 0.55;
  filter: blur(8px);
  animation: bcShift 6s linear infinite;
  transition: opacity 0.5s var(--ease);
}
@keyframes bcShift {
  0%   { background-position:   0% 50%; }
  100% { background-position: 280% 50%; }
}
.btn-colorful:hover::before { opacity: 0.92; }
.btn-colorful:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-colorful .bc-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-colorful .bc-content span { color: #fff; font-weight: 600; font-size: 0.95rem; }
.btn-colorful .bc-content svg { width: 14px; height: 14px; color: rgba(255,255,255,0.9); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2.5px; border-radius: 2px;
  background: var(--white);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.scrolled .nav-toggle span { background: var(--green-900); }

/* ===============================================================
   HERO  (homepage)
   =============================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 120% at 75% 10%, rgba(63,153,96,0.35) 0%, rgba(20,54,31,0) 55%),
    linear-gradient(160deg, #18402a 0%, #0f2e1d 45%, #10301e 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 90px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(108,193,138,0.25); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  margin: 26px 0 22px;
}
.hero h1 .accent { color: var(--green-400); font-style: italic; }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: rgba(255,255,255,0.86);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat strong {
  font-family: "Fraunces", serif;
  display: block;
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1;
}
.hero-stats .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.72); letter-spacing: 0.02em; }

/* Hero photo slideshow — 3 slides, 6s each, with a slow Ken Burns drift */
.hero-slideshow {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  animation: heroBreathe 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroBreathe {
  from { transform: scale(1); }
  to   { transform: scale(1.02); }
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
  will-change: opacity;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}
/* Dark overlay so hero text stays readable over photos */
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(13,44,28,0.92) 0%, rgba(13,44,28,0.72) 42%, rgba(13,44,28,0.45) 100%),
    linear-gradient(0deg, rgba(13,44,28,0.55), rgba(13,44,28,0) 40%);
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-scroll .mouse {
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 3px; background: rgba(255,255,255,0.8);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0; top:7px;} 40%{opacity:1;} 80%{opacity:0; top:18px;} 100%{opacity:0;} }

/* ===============================================================
   PAGE HERO (interior pages)
   =============================================================== */
.page-hero {
  position: relative;
  /* Top pad only needs to clear the 67px fixed header, not tower over it */
  padding: 96px 0 40px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(63,153,96,0.35) 0%, rgba(20,54,31,0) 55%),
    linear-gradient(160deg, #18402a 0%, #0f2e1d 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%;
  background: linear-gradient(180deg, #225c39, #1b4a2e);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.55;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(1.95rem, 3.4vw, 2.6rem); margin: 8px 0 8px; }
/* Wider measure keeps the intro to two lines instead of three */
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 760px; }
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 4px; }

/* Interior-page hero with a real photo behind a dark-green scrim.
   Set the image per page via the --hero-img custom property on the section.
   The scrim keeps the white heading/subtext readable over any photo. */
.page-hero.has-photo {
  background-color: #10301e;
  background-image:
    linear-gradient(158deg, rgba(15,40,26,0.86) 0%, rgba(17,46,29,0.58) 45%, rgba(15,40,26,0.82) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-photo::after { display: none; }
.crumbs a:hover { color: var(--white); }

/* ===============================================================
   FEATURE / SERVICE CARDS
   =============================================================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--grey-700); font-size: 0.98rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { font-size: 0.92rem; color: var(--grey-700); padding-left: 22px; position: relative; margin-bottom: 6px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 440px;
  background: linear-gradient(160deg, #357a4c, #1d4a2c);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.split-media .ph-label { position: absolute; left: 22px; bottom: 18px; color: #fff; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.split-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 18px; }
.split-body p { color: var(--grey-700); margin-bottom: 16px; }
.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 14px; color: var(--grey-700); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325613a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ===============================================================
   STATS STRIP
   =============================================================== */
.stat-strip { background: var(--green-900); color: var(--white); padding: 60px 0; }
.stat-strip .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-strip .stat strong { font-family: "Fraunces", serif; font-size: clamp(2.2rem,4vw,3.2rem); display: block; color: var(--green-400); }
.stat-strip .stat span { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* ===============================================================
   RECENT WORK MARQUEE  (infinite photo strip on Home)
   =============================================================== */
.work-marquee { padding: 96px 0; background: var(--white); overflow: hidden; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.m-item {
  position: relative;
  width: 380px;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}
.m-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,54,31,0) 55%, rgba(20,54,31,0.65));
}
.m-item figcaption {
  position: absolute; left: 16px; bottom: 12px; z-index: 2;
  color: #fff; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
/* the track holds two identical sets; sliding half its width (plus half
   a gap) lands set 2 exactly where set 1 started, so the loop is seamless */
@keyframes marqueeScroll {
  to { transform: translateX(calc(-50% - 9px)); }
}
@media (max-width: 560px) {
  .m-item { width: 260px; }
  .work-marquee { padding: 64px 0; }
}

/* ===============================================================
   OWNER BLOCK  (About — Meet Hector)
   =============================================================== */
.owner-media { background: #1d4a2c url("images/hector.jpg") center 30% / cover no-repeat; }
.why-media { background: #1d4a2c url("images/job-08.jpg") center / cover no-repeat; }
.community-media { background: #1d4a2c url("images/community.jpg") center / cover no-repeat; }
.owner-sign { display: flex; align-items: center; gap: 14px; margin: 26px 0 30px; }
.owner-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: #fff; font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 600;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.owner-sign strong { display: block; font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--green-900); }
.owner-sign span { font-size: 0.85rem; color: var(--grey-500); }

/* "Meet the owner" — enlarged, more prominent feature block */
.owner-feature { padding-block: 104px; }
.owner-feature .split { grid-template-columns: 1fr 1.12fr; gap: 76px; }
.owner-feature .owner-media { min-height: 620px; }
.owner-feature .split-body h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin-bottom: 22px; }
.owner-feature .split-body p { font-size: 1.08rem; line-height: 1.72; }
.owner-feature .eyebrow { font-size: 0.92rem; }
.owner-feature .ph-label { font-size: 1.05rem; left: 26px; bottom: 22px; }
.owner-feature .owner-avatar { width: 56px; height: 56px; font-size: 1.35rem; }
.owner-feature .owner-sign strong { font-size: 1.3rem; }
@media (max-width: 760px) {
  .owner-feature { padding-block: 64px; }
  .owner-feature .owner-media { min-height: 380px; }
}

/* ===============================================================
   PORTFOLIO GRID  (full-bleed project tiles, portfolio.html)
   =============================================================== */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  /* top pad clears the fixed (solid) header now that the page-hero is gone */
  padding: 88px 6px 6px;
  background: var(--white);
}
.pf-item {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 56vh, 660px);
  margin: 0;
}
.pf-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease);
}
/* dark wash so the centered label always reads; lifts on hover */
.pf-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 40, 26, 0.42);
  transition: background 0.5s var(--ease);
}
.pf-item:hover .pf-bg { transform: scale(1.06); }
.pf-item:hover::after { background: rgba(15, 40, 26, 0.2); }
.pf-label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  text-align: center; color: #fff; padding: 0 20px;
}
.pf-label strong {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.pf-label span {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 1024px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .pf-grid { grid-template-columns: 1fr; } .pf-item { height: 340px; } }

/* ===============================================================
   TESTIMONIALS
   =============================================================== */
.quote-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.quote-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.quote-card p { font-size: 1.02rem; color: var(--grey-700); font-style: italic; margin-bottom: 20px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green-400), var(--green-700)); display:grid; place-items:center; color:#fff; font-weight:700; font-family:"Fraunces",serif; }
.quote-card .who strong { display: block; font-family: "Inter", sans-serif; font-size: 0.95rem; color: var(--ink); }
.quote-card .who span { font-size: 0.82rem; color: var(--grey-500); }

/* ===============================================================
   CTA BANNER
   =============================================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(160deg, #1d4a2c, #0f2e1d);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; left: -8%; right: -8%; bottom: -50%; height: 90%;
  background: radial-gradient(circle at 50% 0, rgba(63,153,96,0.4), transparent 60%);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 30px; position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; margin: 0; }

/* ===============================================================
   CONTACT
   =============================================================== */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 22px 22px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: "Inter", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-500); margin-bottom: 4px; }
.contact-card a, .contact-card p { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.contact-card a:hover { color: var(--green-600); }
.contact-card small { color: var(--grey-500); font-weight: 400; font-size: 0.86rem; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.form-wrap h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-wrap .sub { color: var(--grey-500); font-size: 0.95rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--grey-700); margin-bottom: 7px; }
.field label .req { color: var(--green-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--grey-300);
  border-radius: 11px;
  font-family: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--grey-100);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(63,153,96,0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.84rem; color: var(--grey-500); margin-top: 6px; }
/* Status banners — hidden until JS reveals one of them */
.form-msg { display: none; padding: 14px 18px; border-radius: 11px; font-size: 0.95rem; margin-bottom: 18px; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-400); }
.form-msg.err { background: #fbe9e7; color: #b03a2e; border: 1px solid #e6a399; }

/* Per-field positive confirmation */
.field-ok {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-600);
}
.field-ok.show { display: flex; }
.field-ok svg { width: 15px; height: 15px; flex-shrink: 0; }
.field.valid input,
.field.valid select,
.field.valid textarea { border-color: var(--green-500); background: var(--white); }
.form-wrap .btn { width: 100%; margin-top: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--green-600); color: #fff;
  display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--grey-700); }

/* ===============================================================
   MAP
   =============================================================== */
.map-section { padding: 0; }
.map-wrap { position: relative; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(0.1) contrast(1.02); }
.map-card {
  /* centred with auto margins (NOT transform) so the .reveal animation's
     transform can't override the positioning and drop the card down */
  position: absolute; top: 0; bottom: 0; left: 6%;
  height: -moz-fit-content; height: fit-content; margin-block: auto;
  z-index: 2;
  background: var(--white); border-radius: var(--radius);
  padding: 28px 30px; max-width: 340px; box-shadow: var(--shadow-lg);
}
.map-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.map-card p { color: var(--grey-700); font-size: 0.96rem; margin-bottom: 6px; }
.map-card .btn { margin-top: 14px; }

/* ===============================================================
   PLAN INCLUDES BAND  (TruGreen-inspired)
   =============================================================== */
.plan-band { padding: 90px 0; background: var(--white); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.plan-item { text-align: center; }
.plan-ico {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border-radius: 22px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.plan-ico svg { width: 42px; height: 42px; }
.plan-item:hover .plan-ico { transform: translateY(-5px); background: var(--green-400); color: #fff; }
.plan-item h4 { font-size: 1.22rem; margin-bottom: 8px; }
.plan-item p { color: var(--grey-700); font-size: 0.95rem; max-width: 230px; margin: 0 auto; }

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .plan-band { padding: 64px 0; }
}

/* ===============================================================
   SCROLL SHOWCASE — 3D card reveal (vanilla port of Container Scroll)
   =============================================================== */
.scroll-showcase { background: var(--grey-100); }
.ss-stage {
  min-height: 62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  perspective: 1000px;
}
.ss-inner { width: 100%; }
.ss-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
}
.ss-header h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 14px 0 16px; }
.ss-sub { color: var(--grey-700); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }

.ss-card {
  max-width: 1040px;
  height: 30rem;
  width: 100%;
  margin: 2.5rem auto 0;
  border: 4px solid #6c6c6c;
  background: #222222;
  padding: 8px;
  border-radius: 30px;
  box-shadow:
    0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042,
    0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
  transform-style: preserve-3d;
  will-change: transform;
}
.ss-screen {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #10301e url("images/hero-2.jpg") center / cover no-repeat;
}
.ss-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,48,30,0.1) 0%, rgba(16,48,30,0.25) 45%, rgba(16,48,30,0.88) 100%);
}
.ss-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 32px 34px;
  color: #fff;
  max-width: 560px;
}
.ss-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 14px;
}
.ss-overlay h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.ss-overlay p { color: rgba(255,255,255,0.85); font-size: 0.98rem; margin-bottom: 18px; max-width: 460px; }
.ss-stats {
  position: absolute; top: 26px; left: 30px; z-index: 3;
  display: flex; gap: 26px;
}
.ss-stats strong { font-family: "Fraunces", serif; display: block; font-size: 1.7rem; color: #fff; line-height: 1; }
.ss-stats span { font-size: 0.74rem; color: rgba(255,255,255,0.78); }

@media (min-width: 768px) {
  .ss-stage { min-height: 80rem; padding: 80px 20px; }
  .ss-card { height: 40rem; padding: 24px; margin-top: 3rem; }
  .ss-screen { border-radius: 16px; }
}
@media (max-width: 560px) {
  .ss-stage { min-height: 46rem; }
  .ss-card { height: 24rem; border-radius: 22px; }
  .ss-stats { display: none; }
  .ss-overlay { padding: 22px; }
}

/* ===============================================================
   YELP REVIEW BAND  (grey)
   =============================================================== */
.review-band {
  background: var(--grey-200);
  border-top: 1px solid var(--grey-300);
  border-bottom: 1px solid var(--grey-300);
  padding: 36px 0;
}
.review-band .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}
.yelp-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 100px;
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.yelp-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.yelp-logo { color: #d32323; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.yelp-stars { display: inline-flex; gap: 4px; }
.yelp-stars i { width: 26px; height: 26px; background: #d32323; border-radius: 6px; display: inline-grid; place-items: center; }
.yelp-stars i::before { content: "★"; color: #fff; font-size: 15px; line-height: 1; }
.yelp-score { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.review-band-text { color: var(--grey-700); font-size: 1rem; max-width: 440px; }
.review-band-text strong { color: var(--green-700); }
@media (max-width: 560px) {
  .review-band .inner { gap: 16px; }
  .yelp-badge { padding: 10px 16px; gap: 10px; }
  .yelp-stars i { width: 22px; height: 22px; }
}

/* ===============================================================
   FOOTER
   =============================================================== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.72); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: rgba(255,255,255,0.6); }
.footer-about { margin-top: 18px; max-width: 300px; font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-bottom: 11px; transition: color 0.25s; }
.footer-col a:hover { color: var(--green-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; }
.footer-bottom a:hover { color: #fff; }

/* ===============================================================
   REVEAL ANIMATION
   =============================================================== */
/* Content is visible by default and fades up once on page load — the reveal
   is a transient enhancement, never a scroll gate, so no section is ever left
   blank waiting to be scrolled into view (and it still shows if animations
   don't run). `both` fill holds the hidden start during any stagger delay so
   delayed items don't flash. */
.reveal { opacity: 1; transform: none; animation: revealUp 0.8s var(--ease) both; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
.reveal.d4 { animation-delay: 0.32s; }
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 1024px) {
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(80vw, 320px);
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 90px 24px 30px; gap: 6px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--grey-700); padding: 14px 16px; }
  .nav-links a:hover { background: var(--green-100); }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; z-index: 95; }
  .nav-toggle.open span { background: var(--green-900); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .grid-3, .stat-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: unset; }
  .split-media { min-height: 320px; }
  .contact-layout { grid-template-columns: 1fr; }
  .map-card { position: static; transform: none; max-width: none; margin: -60px 24px 0; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-3, .stat-strip .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .hero-stats { gap: 26px; }
}

/* ===============================================================
   REDUCED MOTION
   =============================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slideshow, .hero-slide, .marquee-track,
  .btn-colorful::before, .hero-scroll .mouse::after { animation: none; }
  .hero-slide:first-child { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; animation: none; }
}

/* ===============================================================
   PORTFOLIO — Before/After sliders + 50-photo showcase gallery
   =============================================================== */
.pf-intro { background: var(--white); padding: 72px 0 8px; text-align: center; }
.pf-intro .eyebrow { justify-content: center; }
.pf-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 12px 0 12px; }
.pf-intro p { color: var(--grey-700); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }

/* --- Before / After section --- */
.ba-section { background: var(--white); padding: 8px 0 0; }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ba-card { background: none; border: 0; border-radius: 0; overflow: hidden; box-shadow: none; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  --pos: 50%; overflow: hidden; touch-action: pan-y; user-select: none; background: #10301e;
}
.ba-slider .ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; -webkit-user-drag: none; pointer-events: none;
}
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba-slider .ba-after  { z-index: 1; }
.ba-tag {
  position: absolute; top: 12px; z-index: 4; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  background: rgba(15,40,26,0.72); padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(2px);
}
.ba-tag-before { left: 12px; }
.ba-tag-after  { right: 12px; background: rgba(47,125,74,0.85); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 3px; background: #fff; transform: translateX(-1.5px); pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  display: grid; place-items: center;
}
.ba-handle span::before {
  content: "‹ ›"; font-size: 1rem; font-weight: 700; color: var(--green-700); letter-spacing: 1px;
}
.ba-range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; opacity: 0;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 44px; height: 999px; border: 0; background: transparent; cursor: ew-resize; }
.ba-caption { padding: 16px 20px 18px; }
.ba-caption strong { display: block; font-family: "Fraunces", serif; font-size: 1.18rem; color: var(--green-800); }
.ba-caption span { display: block; font-size: 0.9rem; color: var(--grey-500); margin-top: 3px; }

/* --- Showcase gallery — Lakeshore-style photo mosaic --- */
.sc-section { background: var(--white); padding: 6px 0 96px; }
/* Full-bleed edge-to-edge mosaic — the grid deliberately sits outside .container */
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 0; }
.sc-item {
  position: relative; overflow: hidden; margin: 0;
  aspect-ratio: 4 / 3; background: #14361f; cursor: zoom-in;
}
.sc-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  /* Job photos are shot on phones; honour their EXIF rotation flag */
  image-orientation: from-image;
  transition: transform 0.7s var(--ease);
}
.sc-item:hover img { transform: scale(1.05); }
/* Clean, uncaptioned tiles (Lakeshore look); label kept for screen readers only */
.sc-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1024px) {
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sc-grid { grid-template-columns: 1fr; }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(8,22,14,0.92); cursor: zoom-out;
}
.lightbox.open { display: flex; }
/* Scale up to fill the viewport (object-fit keeps aspect ratio for both
   portrait and landscape shots; small source photos are enlarged to fit). */
.lightbox img { width: min(92vw, 1000px); height: min(88vh, 1000px); object-fit: contain; border-radius: 10px; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; border: 0; font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,0.28); }

@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* --- Footer social profiles --- */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.72);
  margin: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social svg { width: 19px; height: 19px; display: block; }
