/* =========================================================
   G1 SERVICES — Stylesheet
   -----------------------------------------------------------
   Design DNA — clean, premium, professional landscaping
     • Warm serif headlines (Lora)
     • Clean sans body (Inter)
     • Green / black / white palette
     • Generous white space, photo-led
     • Sharp confident buttons, subtle borders
     • Custom SVG icons throughout (no emojis, ever)
   ========================================================= */

/* ---- Brand tokens ---- */
:root {
  --paper:      #faf8f1;     /* warm off-white — body background (reads as "white" but has paper warmth) */
  --white:      #faf8f1;     /* alias; everything that said pure white now lands here */
  --cream:      #efeadb;     /* warmer, more visible cream for alternating sections */
  --cream-2:    #e5dec9;     /* deeper cream for callouts / contrast bands */
  --line:       #d9d3c2;     /* hairline borders, a touch warmer */
  --ink:        #0a0e0a;     /* near-black w/ green undertone */
  --ink-soft:   #2a332a;
  --muted:      #5a6a55;
  --green:      #1f4d2e;     /* deep forest (primary) */
  --green-2:    #16321e;     /* darker hover */
  --green-3:    #2d7a45;     /* mid-green accent */
  --sage:       #84a86a;     /* soft highlight */
  --gold:       #a17a3a;     /* subtle premium accent (used very sparingly) */
  --shadow-sm:  0 2px 8px rgba(15, 30, 20, 0.06);
  --shadow-md:  0 12px 32px -8px rgba(15, 30, 20, 0.12);
  --shadow-lg:  0 30px 60px -20px rgba(15, 30, 20, 0.20);
  --maxw:       1240px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* Super-faint paper-grain texture across the whole site — adds warmth and
   keeps "white" areas from looking sterile. Inline SVG noise so no extra request. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.42  0 0 0 0 0.30  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
main, header, footer, section { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green-2); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Lora', 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; display: block;
  width: 24px; height: 1.5px; background: var(--green);
}

.script {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ---- Layout helpers ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; position: relative; }
.section-tight { padding: 5rem 0; }
.text-center { text-align: center; }
.grid { display: grid; gap: 1.5rem; }

/* ---- Custom SVG Icons ---- */
.ico, .ico-sm, .ico-md, .ico-lg, .ico-xl {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: currentColor;
}
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 18px; height: 18px; }
.ico    { width: 24px; height: 24px; }
.ico-md { width: 36px; height: 36px; }
.ico-lg { width: 56px; height: 56px; }
.ico-xl { width: 72px; height: 72px; }

/* ---- Header ---- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.5rem 0;
  background: transparent;
}
.site-header.scrolled, .site-header.solid {
  position: fixed; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  animation: slideDown .25s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.site-header.scrolled .logo, .site-header.solid .logo,
.site-header.scrolled .nav-links > a:not(.btn),
.site-header.solid .nav-links > a:not(.btn) { color: var(--ink); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Logo = the real PNG (icon + "G1 SERVICES" wordmark baked in). No separate text element. */
.logo {
  display: inline-flex; align-items: center;
  line-height: 0;
  transition: opacity .2s;
}
.logo:hover { opacity: .85; }
.logo-img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}
/* Two variants: cream/light shown over the dark hero, dark shown over cream header */
.logo-img-light { display: block; }
.logo-img-dark  { display: none; }
.site-header.scrolled .logo-img-light,
.site-header.solid .logo-img-light { display: none; }
.site-header.scrolled .logo-img-dark,
.site-header.solid .logo-img-dark { display: block; }

/* Slight size reduction when the header collapses to its scrolled state */
.site-header.scrolled .logo-img,
.site-header.solid .logo-img { height: 58px; }

/* Sage gradient accent strip sealing the bottom of the solid/scrolled header */
.site-header.scrolled, .site-header.solid { overflow: visible; }
.site-header.scrolled::after,
.site-header.solid::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--sage) 50%, var(--green) 100%);
  opacity: .9;
  pointer-events: none;
}

@media (max-width: 900px) {
  .logo-img { height: 52px; }
  .site-header.scrolled .logo-img,
  .site-header.solid .logo-img { height: 46px; }
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links > a:not(.btn) {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  color: var(--white); opacity: 0.92;
  letter-spacing: 0.01em;
  padding: .5rem 0; position: relative;
  transition: color .2s, opacity .2s;
}
.nav-links > a:not(.btn):hover, .nav-links > a.active { opacity: 1; }
.nav-links > a.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px;
  background: currentColor;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: background .2s; }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span { background: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 1.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn .ico, .btn .ico-sm { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-ghost { background: var(--cream); color: var(--green); border-color: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 0.95rem; }
.btn-sm { padding: .65rem 1.25rem; font-size: 0.82rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 9rem 1rem 6rem;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #1a3a23 0%, #0e2014 50%, #050a06 100%);
}
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(31, 77, 46, 0.4), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 10, 0.25) 0%, rgba(10, 14, 10, 0.6) 100%);
}
.hero-inner { max-width: 980px; text-align: center; position: relative; }
.hero .eyebrow { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.hero .eyebrow::before { background: rgba(255,255,255,0.5); }
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  margin: 0 0 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.05;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  color: var(--sage);
}
.hero .tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 2.5rem;
  max-width: 640px;
  line-height: 1.6;
}
.hero .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-rating {
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin-top: 2.75rem; padding: 0.7rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}
.hero-rating .stars { display: inline-flex; gap: 2px; color: var(--sage); }
.hero-rating .stars .ico-sm { width: 16px; height: 16px; }
.hero-rating .lbl { font-size: 0.88rem; color: rgba(255, 255, 255, 0.92); }
.hero-rating strong { color: var(--white); font-weight: 600; }

/* ---- Intro / section heading ---- */
.intro {
  max-width: 760px;
  margin: 0 auto 4rem;
}
.intro h2 { margin: 0; }
.intro p { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; }

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  align-items: center; text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.trust-item .ico-md { color: var(--green); }
.trust-item .lbl {
  font-family: 'Inter', sans-serif; font-weight: 700;
  letter-spacing: 0.04em; color: var(--ink); font-size: 0.95rem;
}
.trust-item .sub { color: var(--muted); font-size: 0.85rem; }

/* ---- Service cards ---- */
.services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
/* If the card count leaves one orphan in the last row (e.g., 10 cards over 3 cols),
   center it instead of letting it hang to the left. */
.services-grid > .service-card:last-child:nth-child(3n+1) { grid-column: 2 / 3; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color .2s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.service-card .card-ico {
  width: 52px; height: 52px;
  background: var(--cream); color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  transition: background .2s, color .2s;
  border-radius: 2px;
}
.service-card:hover .card-ico { background: var(--green); color: var(--white); }
.service-card h3 { color: var(--ink); margin-bottom: .5rem; }
.service-card p { color: var(--muted); flex: 1; font-size: 0.97rem; }
.service-card .learn {
  color: var(--green);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: .4rem;
  align-self: flex-start;
  transition: gap .2s;
}
.service-card .learn:hover { gap: 0.65rem; color: var(--green-2); }
.service-card .learn .ico-sm { width: 14px; height: 14px; }

/* ---- Process steps ---- */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.process-step { text-align: center; }
.process-step .step-num {
  width: 56px; height: 56px;
  background: var(--white); color: var(--green);
  border: 1.5px solid var(--green);
  display: grid; place-items: center; margin: 0 auto 1.5rem;
  font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 600;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.process-step:hover .step-num { background: var(--green); color: var(--white); }
.process-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---- Stats ---- */
.stats {
  background: var(--ink); color: var(--white);
  padding: 4.5rem 0;
}
.stats .grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat .num {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--sage); line-height: 1; font-weight: 500;
}
.stat .lbl {
  color: rgba(255,255,255,0.75); font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: .75rem;
}

/* ---- Gabriel section ---- */
.gabriel {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: center;
}
.gabriel-art {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gabriel-art svg { width: 100%; height: 100%; display: block; }
.gabriel-art .overline {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  font-family: 'Lora', serif; font-style: italic;
  color: var(--white); font-size: 1.15rem;
  background: var(--green); padding: .35rem .8rem;
}
.gabriel-text h2 em { color: var(--green); font-style: italic; font-weight: 400; }
.signature {
  font-family: 'Lora', serif; font-style: italic;
  color: var(--green); font-weight: 500;
  font-size: 1.9rem; line-height: 1; margin-top: 1.75rem;
}
.signature-sub {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--muted);
  margin-top: 0.5rem; text-transform: uppercase;
}

/* ---- Guarantee card ---- */
.guarantee {
  border: 1.5px solid var(--green);
  padding: 3rem 2.5rem;
  background: var(--white);
  position: relative;
  text-align: center;
}
.guarantee .seal {
  width: 72px; height: 72px;
  border: 1.5px solid var(--green); border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
  margin: 0 auto 1.25rem;
}
.guarantee h3 {
  color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
}
.guarantee p { margin: 0 auto; color: var(--ink-soft); max-width: 580px; }

/* ---- Reviews ---- */
.reviews-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
  margin-bottom: 3.5rem;
}
.rating-summary {
  display: flex; align-items: center; gap: 1.25rem;
  border: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  width: max-content;
}
.rating-summary .big {
  font-family: 'Lora', serif;
  font-size: 3rem; font-weight: 500;
  color: var(--green); line-height: 1;
}
.rating-summary .stars-row { display: inline-flex; gap: 2px; color: var(--green); margin-bottom: .25rem; }
.rating-summary .lbl { color: var(--muted); font-size: .88rem; letter-spacing: 0.02em; }

.testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 2rem;
  display: flex; flex-direction: column; gap: .9rem;
  position: relative;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.testimonial:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark { color: var(--cream); position: absolute; top: 1rem; right: 1.25rem; }
.testimonial .quote-mark .ico-md { width: 36px; height: 36px; }
.testimonial .stars { color: var(--green); display: inline-flex; gap: 2px; }
.testimonial .stars .ico-sm { width: 15px; height: 15px; }
.testimonial blockquote {
  margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6;
}
.testimonial .author {
  display: flex; align-items: center; gap: .85rem;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 42px; height: 42px;
  background: var(--green); color: var(--white);
  display: grid; place-items: center;
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 600;
  border-radius: 50%;
}
.testimonial .author-name { font-weight: 600; color: var(--ink); font-size: 0.96rem; }
.testimonial .author-meta { color: var(--muted); font-size: .82rem; margin-top: 0.1rem; }

.reviews-embed {
  border: 1px dashed var(--line);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
}
.reviews-embed .lbl {
  font-family: 'Inter', sans-serif; font-weight: 700;
  letter-spacing: 0.18em; color: var(--green);
  font-size: 0.8rem; margin-bottom: .5rem; display: block;
  text-transform: uppercase;
}

/* ---- Service detail (services.html) ---- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:nth-child(even) .detail-art { order: -1; }
.service-detail .detail-art {
  aspect-ratio: 4/3; position: relative;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail .detail-art svg { width: 100%; height: 100%; display: block; }
.service-detail h2 em { color: var(--green); font-style: italic; font-weight: 400; }
.service-detail ul { list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
.service-detail li {
  padding: .65rem 0; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: .85rem;
}
.service-detail li:last-child { border-bottom: 0; }
.service-detail li .ico-sm { color: var(--green); flex-shrink: 0; margin-top: 4px; }
.service-detail .quote-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Inter', sans-serif; font-weight: 600;
  color: var(--green); font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: .5rem 0; margin-bottom: 1.5rem;
}

/* ---- Gallery ---- */
.gallery-filters {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  padding: .6rem 1.15rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--white);
  font-family: 'Inter', sans-serif; font-weight: 500;
  letter-spacing: 0.04em; font-size: 0.85rem;
  cursor: pointer; transition: all .2s;
  border-radius: 2px;
  text-transform: uppercase;
}
.gallery-filter:hover { border-color: var(--green); color: var(--green); }
.gallery-filter.active { background: var(--green); border-color: var(--green); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 2px;
  position: relative; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.03em;
  color: var(--white);
  background: linear-gradient(to top, rgba(10, 14, 10, 0.9), transparent);
}
.gallery-item .badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: .3rem .7rem; background: var(--white); color: var(--green);
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.gallery-item.hidden { display: none; }

/* ---- About / value cards ---- */
.values-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.value-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.value-card .ico-md { color: var(--green); margin-bottom: 1.25rem; }
.value-card h3 { color: var(--ink); margin-bottom: .5rem; }
.value-card p { margin: 0; color: var(--muted); }

/* ---- Service area chips & map ---- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.chip {
  padding: .55rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif; font-weight: 500;
  letter-spacing: 0.04em; font-size: 0.85rem;
  background: var(--white);
  transition: all .2s;
}
.chip:hover { border-color: var(--green); color: var(--green); }

.area-map {
  position: relative;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 3rem;
  border-radius: 4px;
}
.area-map svg { width: 100%; max-width: 720px; margin: 0 auto; display: block; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: 'Lora', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--ink);
  position: relative; transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--green), var(--green)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 1.5px 14px no-repeat;
  transform: translateY(-50%);
  transition: transform .25s;
}
.faq-item[open] summary { color: var(--green); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--green); }
.faq-item .faq-body { padding: 0 0 1.75rem; color: var(--ink-soft); }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--ink); color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(31, 77, 46, 0.4), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(132, 168, 106, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-banner > .container { position: relative; text-align: center; }
.cta-banner .eyebrow { color: var(--sage); }
.cta-banner .eyebrow::before { background: var(--sage); }
.cta-banner h2 { color: var(--white); max-width: 900px; margin: 0 auto 2rem; }
.cta-banner h2 em { color: var(--sage); font-style: italic; font-weight: 400; }
.cta-banner .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-banner .btn-primary:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }

/* ---- Sticky call (mobile) ---- */
.sticky-call {
  display: none;
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 90;
  background: var(--green); color: var(--white);
  padding: 1rem 1.25rem;
  font-family: 'Inter', sans-serif; font-weight: 600;
  letter-spacing: 0.04em; font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--green);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(15, 30, 20, 0.25);
  align-items: center; justify-content: center; gap: .65rem;
}
.sticky-call:hover { background: var(--green-2); border-color: var(--green-2); color: var(--white); }

/* ---- Contact ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 em { color: var(--green); font-style: italic; font-weight: 400; }
.info-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .info-ico {
  width: 44px; height: 44px;
  background: var(--cream); color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0; border-radius: 2px;
}
.info-row .info-ico .ico { width: 20px; height: 20px; }
.info-row .label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.info-row .value { font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.info-row .value a { color: var(--ink); border-bottom: 1px solid transparent; }
.info-row .value a:hover { color: var(--green); border-bottom-color: var(--green); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.75rem;
  border-radius: 4px;
}
.form-card h3 {
  color: var(--ink); font-size: 1.6rem; margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: 'Inter', sans-serif; font-weight: 600;
  letter-spacing: 0.08em; color: var(--muted);
  font-size: 0.78rem; margin-bottom: .5rem; text-transform: uppercase;
}
.form-group label .req { color: var(--green); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .85rem 1rem; font-size: 1rem;
  font-family: 'Inter', sans-serif; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .15s, background .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 77, 46, 0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--sage); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand {
  font-family: 'Lora', serif; font-weight: 600;
  color: var(--white); font-size: 1.5rem;
  margin-bottom: .5rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.footer-brand-icon { width: 32px; height: 32px; object-fit: contain; display: block; }
.footer-tagline { color: rgba(255,255,255,0.6); max-width: 340px; font-size: .95rem; }
.footer h4 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  letter-spacing: 0.14em; color: var(--white);
  font-size: 0.82rem; margin-bottom: 1.25rem; text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: .3rem 0; font-size: .94rem; }
.footer .socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer .socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all .2s; color: rgba(255,255,255,0.75);
  border-radius: 2px;
}
.footer .socials a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.footer .socials .ico { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: rgba(255,255,255,0.55); font-size: .85rem;
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stats .grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail, .gabriel { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail:nth-child(even) .detail-art { order: 0; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .reviews-header { grid-template-columns: 1fr; gap: 1.5rem; }
}
/* ============================================================
   MOBILE NAVIGATION (≤ 900px) — slide-out drawer, backdrop, scroll lock
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 120; }

  /* Hamburger → X transform */
  .nav-toggle span { transition: transform .25s ease, opacity .2s ease, background .2s; transform-origin: center; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* While the menu is open, force the hamburger bars dark even on the transparent hero header */
  body.menu-open .nav-toggle span { background: var(--ink); }

  /* The slide-out drawer */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    z-index: 110;
    flex-direction: column;
    background: var(--paper);
    padding: 7rem 1.75rem 2rem;
    gap: 0;
    width: min(88%, 360px);
    transform: translateX(105%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    border-left: 1px solid var(--line);
    align-items: stretch;
    box-shadow: -18px 0 40px -10px rgba(15, 30, 20, 0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  /* Instant-close (no transition) when navigating to a new page — eliminates the half-slid flash */
  .nav-links.no-transition { transition: none !important; }

  .nav-links > a:not(.btn) {
    color: var(--ink) !important;
    opacity: 1 !important;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .nav-links > a:not(.btn):last-of-type { border-bottom: 0; }
  .nav-links > a.active { color: var(--green) !important; font-weight: 600; }
  .nav-links > a.active::after { display: none; }

  /* CTA button: full-width, anchored visually at the bottom of the drawer */
  .nav-links > .btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Backdrop scrim — JS injects a .nav-backdrop element next to .nav-links */
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(10, 14, 10, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 100;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav-backdrop.no-transition { transition: none !important; }

  /* Lock body scroll while the drawer is open */
  body.menu-open { overflow: hidden; }

  /* When the menu is open over the home hero (transparent header), force the
     header into its solid look so the dark logo + dark hamburger bars contrast
     against the cream drawer + scrim. The z-index bump puts the header (with
     its X button) ABOVE the drawer (110) and backdrop (100) so the X is
     always tappable — without it the drawer covers the close button. */
  body.menu-open .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(250, 248, 241, 0.98);
    z-index: 130;
    border-bottom: 1px solid var(--line);
  }
  body.menu-open .site-header .logo-img-light { display: none; }
  body.menu-open .site-header .logo-img-dark  { display: block; }
  body.menu-open .nav-toggle { z-index: 131; }
  /* Hide the sage accent strip while the menu is open so the strip doesn't
     overlap the top of the drawer panel. */
  body.menu-open .site-header.scrolled::after,
  body.menu-open .site-header.solid::after,
  body.menu-open .site-header::after { display: none; }

  /* Other mobile layout adjustments (kept from the previous breakpoint) */
  .container { padding: 0 1.25rem; }
  .section { padding: 4.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid, .values-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.75rem; }
  .process { grid-template-columns: 1fr; }
  .sticky-call { display: flex; }
  body { padding-bottom: 4.5rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DYNAMIC MOTION LAYER
   - Staggered reveals via .delay-1 … .delay-6
   - Marquee strip (auto-scrolling phrase ribbon)
   - Hero parallax + cursor-tracked accent
   - Animated h2 underline
   - Service card icon micro-rotation
   - Button sheen on primary CTAs (.btn-sheen)
   - Testimonial carousel (auto-rotate + dot nav)
   All animations are disabled under prefers-reduced-motion (see end of file).
   ========================================================= */

/* ---- Staggered reveals ---- */
.reveal.delay-1.in { transition-delay: .08s; }
.reveal.delay-2.in { transition-delay: .16s; }
.reveal.delay-3.in { transition-delay: .24s; }
.reveal.delay-4.in { transition-delay: .32s; }
.reveal.delay-5.in { transition-delay: .40s; }
.reveal.delay-6.in { transition-delay: .48s; }

/* ---- Marquee strip ---- */
.marquee {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.marquee-item em { font-style: italic; color: var(--white); }
.marquee-dot {
  display: inline-flex;
  align-items: center;
  color: var(--sage);
  opacity: 0.85;
}
.marquee-dot .ico-xs { width: 14px; height: 14px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Hero parallax + cursor-tracked accent ---- */
.hero { position: relative; overflow: hidden; }
.hero-bg { will-change: transform; transition: transform .05s linear; }
.hero-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--ax, 50%) var(--ay, 50%),
    rgba(132, 168, 106, 0.18),
    rgba(132, 168, 106, 0) 60%
  );
  transition: background .25s ease-out;
  z-index: 1;
}
.hero .hero-inner { position: relative; z-index: 2; }

/* ---- Animated h2 underline accent ---- */
.intro h2,
.reviews-header h2,
.cta-banner h2 { position: relative; }
/* (Removed) Animated gradient underline below h2 — was too decorative. */

/* ---- Service card icon micro-rotation on hover ---- */
.service-card .card-ico {
  transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover .card-ico { transform: rotate(-6deg) scale(1.06); }
.service-card .card-ico .ico-md { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .card-ico .ico-md { transform: rotate(6deg); }

/* ---- Button sheen ---- */
.btn-sheen { position: relative; overflow: hidden; }
.btn-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0) 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: btn-sheen 3.6s ease-in-out 1.2s infinite;
}
@keyframes btn-sheen {
  0%   { left: -120%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

/* ---- Testimonial carousel ---- */
.testimonial-carousel {
  position: relative;
  margin-top: 2.5rem;
}
.testimonial-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.testimonial-track .testimonial {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
  pointer-events: none;
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
}
.testimonial-track .testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .55s ease, transform .55s ease, visibility 0s;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.75rem;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, width .25s ease;
}
.testimonial-dot:hover { background: var(--sage); }
.testimonial-dot.active {
  background: var(--green);
  width: 26px;
  border-radius: 999px;
}

/* ---- Decorated section (super-light botanical background) ---- */
.section-decorated {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(132, 168, 106, 0.05), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(31, 77, 46, 0.04), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
}
.section-decorated > .container { position: relative; z-index: 1; }

.section-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.section-decor .decor {
  position: absolute;
  color: var(--green);
  opacity: 0.06;            /* super super super light */
  will-change: opacity;
}
.section-decor .decor-tl {
  top: -60px;
  left: -80px;
  width: 320px;
  transform: rotate(-18deg);
}
.section-decor .decor-br {
  bottom: -60px;
  right: -80px;
  width: 320px;
  transform: rotate(160deg);
  opacity: 0.05;
}
.section-decor .decor-tr {
  top: 80px;
  right: 6%;
  width: 130px;
  opacity: 0.05;
  transform: rotate(22deg);
}
.section-decor .decor-bl {
  bottom: 80px;
  left: 6%;
  width: 130px;
  opacity: 0.05;
  transform: rotate(-22deg);
}

/* Variant: flip — switches rotation direction so adjacent decorated sections feel distinct */
.section-decorated.decor-flip .decor-tl { transform: rotate(165deg); top: auto; bottom: -60px; left: auto; right: -80px; }
.section-decorated.decor-flip .decor-br { transform: rotate(-18deg); bottom: auto; top: -60px; right: auto; left: -80px; }

/* Variant: soft — smaller corner accents, no large ferns */
.section-decorated.decor-soft .decor-tl,
.section-decorated.decor-soft .decor-br { display: none; }

@media (max-width: 900px) {
  .section-decor .decor-tl { width: 220px; top: -40px; left: -60px; }
  .section-decor .decor-br { width: 220px; bottom: -40px; right: -60px; }
  .section-decor .decor-tr,
  .section-decor .decor-bl { display: none; } /* keep it clean on small screens */
}

/* =========================================================
   DESIGN UPLIFT — premium editorial refinements
   Layered on top of the base styles. Each block targets a
   specific component and sharpens typography, hover states,
   composition, and detail work. Keep clean and intentional.
   ========================================================= */

/* --- Type refinement: hero italic accent gets an animated underline --- */
.hero h1 em {
  position: relative;
  display: inline-block;
  font-weight: 500;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: 0.08em;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--sage) 20%, var(--sage) 80%, transparent 100%);
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: center;
  animation: hero-em-underline 1.4s cubic-bezier(.2,.7,.2,1) 1.1s forwards;
}
@keyframes hero-em-underline {
  to { transform: scaleX(1); }
}

/* (Removed) Section intro giant italic numeral behind heading — was too decorative. */
.intro { position: relative; }

/* --- Button refinement: subtle hover lift + icon translate --- */
.btn .ico, .btn .ico-sm { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn:hover .ico, .btn:hover .ico-sm { transform: translateX(3px); }
.btn-primary,
.btn-outline,
.btn-light,
.btn-ghost { transition: background .2s, color .2s, border-color .2s, transform .25s, box-shadow .25s; }
.btn-primary:hover,
.btn-outline:hover,
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(10, 14, 10, 0.45); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }

/* --- Service card uplift: top accent line, number badge, deeper hover --- */
.service-card {
  padding: 2.25rem 1.75rem 1.85rem;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--sage) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card[data-num]::after {
  content: attr(data-num);
  position: absolute;
  top: 1.1rem; right: 1.4rem;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0.7;
  pointer-events: none;
}
.service-card .card-ico {
  width: 60px; height: 60px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -22px rgba(15, 30, 20, 0.22);
  border-color: var(--green);
}
.service-card:hover[data-num]::after { color: var(--green); opacity: 0.85; }

/* --- Process: numbers connected by a hairline rail --- */
.process { position: relative; }
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .step-num {
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--paper); /* mask the rail behind the number */
  transition: background .25s, color .25s, transform .3s cubic-bezier(.2,.7,.2,1);
}
.process-step:hover .step-num { transform: translateY(-3px); }

/* --- Stats: vertical dividers, bigger numerals, refined ink gradient --- */
.stats {
  background:
    radial-gradient(ellipse at 50% -40%, rgba(132,168,106,0.18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #050a06 100%);
  padding: 5rem 0;
}
.stats .grid { position: relative; }
.stat { position: relative; padding: 0 1rem; }
.stat + .stat::before {
  content: "";
  position: absolute;
  top: 18%; bottom: 18%; left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}
.stat .num {
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.stat .lbl {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: .75rem;
}

/* --- Trust strip: vertical hairline dividers between items --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  position: relative;
  padding: 1.5rem 1.5rem;
  text-align: center;
}
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  top: 22%; bottom: 22%; left: 0;
  width: 1px;
  background: var(--line);
}
.trust-item .lbl {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: .65rem;
}

/* --- Testimonial uplift: oversized quote mark, editorial blockquote --- */
.testimonial-carousel .testimonial {
  padding: 3.5rem 2.75rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 24px 48px -28px rgba(15, 30, 20, 0.14);
}
.testimonial-carousel .testimonial .quote-mark {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  right: auto;
  color: var(--green);
  opacity: 0.10;
}
.testimonial-carousel .testimonial .quote-mark .ico-md { width: 72px; height: 72px; }
.testimonial-carousel .testimonial blockquote {
  font-family: 'Lora', serif;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  margin: 1.25rem 0 1.75rem;
}

/* --- CTA banner uplift: layered gradient + accent circle --- */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse at 18% 85%, rgba(132, 168, 106, 0.20), transparent 55%),
    radial-gradient(ellipse at 82% 15%, rgba(31, 77, 46, 0.45), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, #0d1a12 100%);
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  bottom: -120px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(132, 168, 106, 0.14), transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: -120px; left: -80px;
  width: 300px; height: 300px;
  border: 1px solid rgba(132, 168, 106, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Guarantee: refined editorial card with gradient top accent --- */
.guarantee {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 24px 48px -28px rgba(15, 30, 20, 0.16);
}
/* (Removed) Guarantee top gradient accent bar — was too decorative. */
.guarantee .seal {
  width: 72px; height: 72px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
}
.guarantee .seal .ico-md { width: 32px; height: 32px; }

/* --- Drop cap on Meet Gabriel + About story first paragraph --- */
.gabriel-text p:first-of-type::first-letter {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 3.4em;
  font-weight: 500;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  padding-top: 0.05em;
  color: var(--green);
}

/* --- Marquee: refined kerning and gentler hover slowdown --- */
.marquee-track { animation-duration: 44s; }

/* --- Section transitions: faint hairline at top of sections sitting on cream --- */
.section + .section { position: relative; }

/* (Removed) h2::after underline refinement — original rule was deleted above. */

/* --- Form card refined shadows + accent --- */
.form-card {
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(15, 30, 20, 0.18);
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 2.5rem; right: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--sage));
}

/* --- Eyebrow refinement: longer line, more confident treatment --- */
.eyebrow::before { width: 32px; height: 1px; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}

/* --- Header refinement on scroll --- */
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}

/* --- Responsive: collapse process rail on smaller screens --- */
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3)::before { display: none; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stat:nth-child(3)::before { display: none; }
  .intro[data-num]::before { font-size: clamp(4rem, 18vw, 7rem); top: -1.5rem; opacity: 0.04; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item::before { display: none; }
  .stats .grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
}

/* =========================================================
   DARK SECTION VARIANT — deep-green band for breaking up
   the light flow of the page. Currently used on How It Works.
   ========================================================= */
.section-dark {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(132, 168, 106, 0.10), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(45, 122, 69, 0.12), transparent 55%),
    linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.section-dark::after {
  /* hairline highlight along the top edge */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-dark .eyebrow { color: rgba(255,255,255,0.85); }
.section-dark .eyebrow::before { background: rgba(255,255,255,0.55); }
.section-dark em { color: var(--sage); }

/* Process step adjustments inside the dark band */
.section-dark .process::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 10%, rgba(255,255,255,0.18) 90%, transparent);
}
.section-dark .process-step .step-num {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 4px var(--green); /* matches band so the rail looks dotted by the numbers */
}
.section-dark .process-step:hover .step-num {
  background: var(--sage);
  color: var(--green-2);
  border-color: var(--sage);
}
.section-dark .process-step h3 { color: var(--white); }
.section-dark .process-step p { color: rgba(255,255,255,0.78); }

/* If the section-dark sits right above the stats (which is also dark), seam them together */
.section-dark + .stats { border-top: 1px solid rgba(255,255,255,0.06); }

/* On small screens, the box-shadow rail-mask should match a flat dark color */
@media (max-width: 900px) {
  .section-dark .process-step .step-num { box-shadow: none; }
}

/* ---- Strengthened reduced-motion guard ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; transform: none !important; }
  .btn-sheen::after { display: none !important; }
  .hero-bg { transform: none !important; }
  .hero-accent { display: none !important; }
  .testimonial-track .testimonial { opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; }
  .testimonial-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
  .testimonial-dots { display: none; }
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ============================================================
   Before / After Slider
   ============================================================ */
.ba-slider {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  user-select: none;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  touch-action: none;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-slider .ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 56px;
  margin-left: -28px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: ew-resize;
  z-index: 3;
  color: var(--white);
  touch-action: none;
}
.ba-handle-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 16px rgba(0,0,0,.45);
}
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.ba-handle:hover .ba-handle-knob,
.ba-handle:focus-visible .ba-handle-knob { transform: translate(-50%, -50%) scale(1.06); }
.ba-handle-knob svg { width: 24px; height: 14px; }
.ba-label {
  position: absolute;
  top: 1rem;
  padding: .35rem .85rem;
  background: rgba(10,14,10,.78);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.ba-label-before { left: 1rem; }
.ba-label-after  { right: 1rem; }

@media (max-width: 640px) {
  .ba-slider { aspect-ratio: 3 / 4; max-width: 100%; }
  .ba-handle-knob { width: 44px; height: 44px; }
  .ba-label { font-size: .7rem; padding: .25rem .6rem; }
}
