/* =========================================================
   LCD Bâtiment — Design system
   Style: Trust & Authority · Palette: vert herbe + blanc
   Fonts: Poppins (titres) / Open Sans (texte)
   ========================================================= */

:root {
  /* Brand greens (grass) */
  --green-50:  #f0f9f1;
  --green-100: #dcf1de;
  --green-200: #bce3c1;
  --green-300: #8fce98;
  --green-400: #59b266;
  --green-500: #36983f;   /* grass green */
  --green-600: #2a7d33;
  --green-700: #256e2e;   /* primary */
  --green-800: #1c5524;
  --green-900: #103a18;   /* deep */
  --lime-400:  #a3e635;
  --lime-500:  #84cc16;

  --primary: var(--green-700);
  --primary-hover: var(--green-800);
  --accent: var(--lime-500);

  --ink: #11201a;
  --body: #3c4a43;
  --muted: #6b7a72;
  --line: #e3ebe5;
  --bg: #ffffff;
  --bg-soft: #f5f9f5;
  --white: #ffffff;

  --ring: rgba(37,110,46,.45);

  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(16,58,24,.06), 0 2px 6px rgba(16,58,24,.05);
  --shadow-md: 0 6px 18px rgba(16,58,24,.08), 0 2px 6px rgba(16,58,24,.05);
  --shadow-lg: 0 24px 48px -12px rgba(16,58,24,.22), 0 8px 20px rgba(16,58,24,.10);
  --shadow-glow: 0 18px 40px -10px rgba(54,152,63,.45);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease);
  --t: .3s var(--ease);

  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: "Poppins", system-ui, sans-serif; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top var(--t-fast); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  cursor: pointer; white-space: nowrap; line-height: 1;
}
.btn svg { transition: transform var(--t-fast); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: var(--shadow-glow); flex: none;
}
.brand-emblem { width: 26px; height: 26px; object-fit: contain; display: block; }
.brand-text { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.05; display: flex; flex-direction: column; }
.brand-text strong { color: var(--green-700); font-weight: 800; }
.brand-text small { font-family: "Open Sans", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-block; padding: 9px 15px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--ink);
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a:hover { color: var(--green-700); background: var(--green-50); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green-700); font-size: 15px; }
.nav-phone:hover { color: var(--green-800); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 11px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (drawer) */
.mobile-nav { position: fixed; inset: 0; z-index: 200; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-backdrop {
  position: absolute; inset: 0; background: rgba(8,30,16,.5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(370px, 86vw);
  background: linear-gradient(165deg, var(--green-900), #0a2e16);
  color: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.35);
  display: flex; flex-direction: column; padding: 20px clamp(20px, 6vw, 28px) max(24px, env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .34s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 10px; }
.mobile-nav-head .brand-mark { background: linear-gradient(135deg, var(--green-400), var(--green-600)); box-shadow: none; }
.mobile-nav-close {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.mobile-nav-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }

.mobile-nav-links { flex: 1; padding: 8px 0; }
.mobile-nav-links ul { display: flex; flex-direction: column; }
.mobile-nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 16px; padding: 18px 6px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.3rem; color: #fff;
  transition: color var(--t-fast), padding var(--t-fast);
}
.mobile-nav-links a:hover, .mobile-nav-links a:focus-visible { color: var(--lime-400); padding-left: 14px; }
.mn-num { font-size: .82rem; font-weight: 700; color: var(--green-300); min-width: 26px; opacity: .8; font-variant-numeric: tabular-nums; }
/* staggered entrance */
.mobile-nav.open .mobile-nav-links li { animation: navItem .4s var(--ease) backwards; }
.mobile-nav.open .mobile-nav-links li:nth-child(1) { animation-delay: .08s; }
.mobile-nav.open .mobile-nav-links li:nth-child(2) { animation-delay: .13s; }
.mobile-nav.open .mobile-nav-links li:nth-child(3) { animation-delay: .18s; }
.mobile-nav.open .mobile-nav-links li:nth-child(4) { animation-delay: .23s; }
.mobile-nav.open .mobile-nav-links li:nth-child(5) { animation-delay: .28s; }
.mobile-nav.open .mobile-nav-links li:nth-child(6) { animation-delay: .33s; }
@keyframes navItem { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.mobile-nav-foot { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 16px; }
.mobile-nav-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--lime-400); }
.mobile-nav-phone:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(48px, 8vw, 90px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(11,46,24,.94) 0%, rgba(16,58,24,.82) 42%, rgba(16,58,24,.35) 100%),
    linear-gradient(0deg, rgba(11,46,24,.55), rgba(11,46,24,0) 45%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(132,204,22,.55), transparent 70%); top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(54,152,63,.6), transparent 70%); bottom: -140px; left: -60px; }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-content { color: #fff; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; letter-spacing: .03em; color: #d8f3d8; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 999px; backdrop-filter: blur(4px); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-400); box-shadow: 0 0 0 4px rgba(163,230,53,.25); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--lime-400); }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.hero-badges svg { color: var(--lime-400); flex: none; }

.hero-card { padding: 26px; border-radius: var(--radius-lg); }
.glass {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.hero-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card-row + .hero-card-row { margin-top: 14px; }
.stat { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 18px 16px; text-align: center; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat strong { display: block; font-family: "Poppins", sans-serif; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; color: var(--green-700); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-card-cta { display: block; text-align: center; margin-top: 18px; font-weight: 700; color: var(--green-700); }
.hero-card-cta:hover { color: var(--green-800); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--green-900); color: #fff; padding: 22px 0; }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust-logos li { font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.92); letter-spacing: .02em; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.kicker { display: inline-block; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); background: var(--green-50); padding: 6px 15px; border-radius: 999px; margin-bottom: 16px; }
.kicker-light { color: var(--lime-400); background: rgba(163,230,53,.12); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 14px; }
.section-sub { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); }
.section-sub-light { color: rgba(255,255,255,.75); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--lime-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 20px;
  color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100);
  transition: transform var(--t), background var(--t), color var(--t);
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 16px; font-size: .98rem; }
.service-link { font-weight: 700; color: var(--green-700); font-size: 14px; transition: color var(--t-fast); }
.service-link:hover { color: var(--green-800); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.about-media-badge { position: absolute; right: -14px; bottom: -18px; padding: 18px 24px; border-radius: var(--radius); text-align: center; }
.about-media-badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--green-700); line-height: 1; }
.about-media-badge span { font-size: 13px; font-weight: 600; color: var(--muted); }
.about-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.about-content > p { color: var(--body); margin-bottom: 14px; }
.about-points { display: grid; gap: 16px; margin: 26px 0 30px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points .ap-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-100); color: var(--green-700); }
.about-points strong { color: var(--ink); font-family: "Poppins", sans-serif; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; margin-bottom: clamp(48px, 7vw, 80px); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 18px 16px; color: #fff;
  background: linear-gradient(0deg, rgba(11,46,24,.9), rgba(11,46,24,0));
  transform: translateY(8px); opacity: .92; transition: transform var(--t), opacity var(--t);
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery-item figcaption strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.02rem; }
.gallery-item .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--lime-500); color: var(--green-900); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- Before / After ---------- */
.ba-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-md); }
.ba-head { text-align: center; margin-bottom: 22px; }
.ba-head h3 { font-size: 1.6rem; margin-bottom: 6px; }
.ba-head p { color: var(--muted); }
.ba-slider { position: relative; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; user-select: none; box-shadow: var(--shadow-md); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-label { position: absolute; top: 14px; z-index: 4; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(11,46,24,.7); padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba-range:focus-visible + .ba-handle { outline: 3px solid #fff; outline-offset: 3px; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos, 50%); z-index: 4; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--green-700);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); pointer-events: none;
}
.ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 3px; height: 130vh; background: #fff; transform: translate(-50%,-50%); z-index: -1; }

/* ---------- Process (dark) ---------- */
.section-dark { background: linear-gradient(160deg, var(--green-900), #0a2e16); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(132,204,22,.18), transparent 70%); top: -150px; right: -100px; }
.section-dark .section-head h2 { color: #fff; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 30px 24px; transition: transform var(--t), background var(--t), border-color var(--t); }
.process-step:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(163,230,53,.4); }
.process-num { font-family: "Poppins", sans-serif; font-size: 2.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--lime-400); display: block; margin-bottom: 14px; line-height: 1; }
.process-step h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,.72); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.rating-summary { margin-top: 16px; font-weight: 600; color: var(--body); }
.rating-summary .stars { color: #f5b50a; font-size: 1.2rem; letter-spacing: 2px; }
.rating-summary strong { color: var(--ink); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial .stars { color: #f5b50a; font-size: 1.05rem; letter-spacing: 2px; }
.testimonial p { color: var(--body); margin: 14px 0 22px; font-size: 1rem; }
.testimonial footer { display: flex; align-items: center; gap: 13px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px; flex: none; }
.testimonial footer strong { display: block; font-family: "Poppins", sans-serif; color: var(--ink); }
.testimonial footer small { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; padding: clamp(60px, 9vw, 100px) 0; text-align: center; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg span { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(16,58,24,.93), rgba(28,85,36,.82)); }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-list li { display: flex; gap: 15px; align-items: center; }
.ci-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.contact-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.contact-list a:hover { color: var(--green-700); }

.contact-form { padding: clamp(24px, 4vw, 38px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--green-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(54,152,63,.14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d14343; }
.field .error { color: #d14343; font-size: 13px; font-weight: 600; margin-top: 6px; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d14343; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-success { margin-top: 16px; padding: 14px 16px; background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-800); border-radius: var(--radius-sm); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding-top: clamp(48px, 7vw, 76px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.brand-light .brand-text, .brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.55); }
.footer-brand p { margin-top: 16px; font-size: .95rem; max-width: 320px; }
.footer-legal { font-size: 13px !important; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: .95rem; color: rgba(255,255,255,.72); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--lime-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-bottom a:hover { color: var(--lime-400); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), opacity var(--t), background var(--t-fast); opacity: 0; transform: translateY(14px);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--green-800); transform: translateY(-3px); }

/* ---------- Active nav link (scrollspy) ---------- */
.main-nav a.is-active { color: var(--green-700); background: var(--green-50); }

/* ---------- Sticky mobile contact bar ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(16,58,24,.1);
  }
  .mobile-cta-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: 12px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px;
  }
  .mcb-call { color: var(--green-700); background: var(--green-50); border: 1.5px solid var(--green-200); }
  .mcb-quote { color: #fff; background: var(--primary); box-shadow: var(--shadow-glow); }
  /* keep content clear of the bar */
  body { padding-bottom: 72px; }
  .back-to-top { bottom: 84px; right: 16px; width: 46px; height: 46px; }
}

/* ---------- Legal / sub-page ---------- */
.subheader { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.subheader .nav-inner { gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px; color: var(--green-700); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--green-200); background: var(--green-50); transition: background var(--t-fast), transform var(--t-fast); }
.back-link:hover { background: var(--green-100); transform: translateX(-2px); }

.legal-hero { background: linear-gradient(160deg, var(--green-900), #0a2e16); color: #fff; padding: clamp(48px, 8vw, 80px) 0; position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(132,204,22,.18), transparent 70%); top: -160px; right: -80px; }
.legal-hero .kicker { color: var(--lime-400); background: rgba(163,230,53,.12); }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.legal-hero p { color: rgba(255,255,255,.78); margin-top: 10px; }

.legal-body { padding: clamp(48px, 7vw, 80px) 0; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.legal-block + .legal-block { margin-top: 22px; }
.legal-block h2 { font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.legal-block h2 .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font-size: .95rem; font-weight: 700; flex: none; }
.legal-block h3 { font-size: 1.05rem; margin: 18px 0 6px; color: var(--ink); }
.legal-block p { color: var(--body); margin-bottom: 12px; }
.legal-block a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-block a:hover { color: var(--green-800); }
.legal-block ul.dotted { margin: 6px 0 12px; padding-left: 0; display: grid; gap: 7px; }
.legal-block ul.dotted li { display: flex; gap: 10px; color: var(--body); }
.legal-block ul.dotted li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--green-500); }
.legal-data { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin-top: 6px; }
.legal-data dt { font-weight: 700; color: var(--ink); }
.legal-data dd { color: var(--body); margin: 0; }
.legal-updated { text-align: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .legal-data { grid-template-columns: 1fr; gap: 2px; } .legal-data dd { margin-bottom: 10px; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(2) { transition-delay: .06s; }
.services-grid .reveal:nth-child(3) { transition-delay: .12s; }
.services-grid .reveal:nth-child(4) { transition-delay: .06s; }
.services-grid .reveal:nth-child(5) { transition-delay: .12s; }
.services-grid .reveal:nth-child(6) { transition-delay: .18s; }
.testimonials .reveal:nth-child(2), .process .reveal:nth-child(2) { transition-delay: .08s; }
.testimonials .reveal:nth-child(3), .process .reveal:nth-child(3) { transition-delay: .16s; }
.process .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .testimonials { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-card-row { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { justify-content: center; text-align: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-wide, .gallery-tall { grid-column: auto; grid-row: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .about-media-badge { right: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .back-to-top, .cta-band, .hero-actions { display: none; }
  .hero-overlay { background: none; }
}
