/* ============================================================
   VORTARA · Garden · Handyman · Landscaping
   Modern, clean, interactive marketing site
   ============================================================ */

:root {
  /* Brand greens */
  --green-900: #1f3326;
  --green-800: #26412e;
  --green-700: #2f5238;
  --green-600: #3c6b3f;
  --green-500: #4f8038;
  --green-400: #6ba14d;
  --green-300: #8fc06b;

  /* Warm neutrals */
  --cream: #f6f3ea;
  --cream-2: #efeadd;
  --sand: #e9e2d0;
  --paper: #ffffff;

  --ink: #1d2a20;
  --ink-2: #3a4a3e;
  --muted: #5f6c5e;
  --line: #e6e1d3;

  --gold: #e3a92b;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(31, 51, 38, .06), 0 4px 14px rgba(31, 51, 38, .05);
  --shadow-md: 0 10px 30px rgba(31, 51, 38, .10);
  --shadow-lg: 0 24px 60px rgba(31, 51, 38, .16);

  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(120% 900px at 80% 0%, #efe7d2 0%, var(--cream) 70%);
  background-repeat: no-repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Visually hidden but available to assistive tech */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Section primitives ---------- */
.section { padding-block: clamp(56px, 8vw, 110px); }

.eyebrow {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--green-600); margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 38px;
  max-width: 18ch;
}
.section-title.center { margin-inline: auto; text-align: center; max-width: 22ch; }
.section-title.light { color: #f3f1e7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; padding-block: 16px; }

.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 22px rgba(47, 82, 56, .28); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47, 82, 56, .34); }
.btn-primary .arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost { background: rgba(255, 255, 255, .65); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); border-color: var(--green-400); box-shadow: var(--shadow-sm); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--green-300); font-size: .92rem; }
.link-arrow.dark { color: var(--green-600); }
.link-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 234, .9);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 4px 24px rgba(31, 51, 38, .08);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green-500); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand.light .brand-name { color: #f3f1e7; }
.brand.light .brand-sub { color: #9fb29c; }
.brand.light .brand-mark { color: var(--green-300); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  background: none; border: none; color: var(--ink-2);
  font-size: .92rem; font-weight: 500; padding: 9px 13px; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--green-700); background: rgba(79, 128, 56, .08); }
.nav-link .chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown a { padding: 9px 12px; border-radius: 9px; font-size: .9rem; color: var(--ink-2); transition: background .15s, color .15s; }
.dropdown a:hover { background: var(--cream); color: var(--green-700); }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .chev,
.has-dropdown.open .chev { transform: rotate(180deg); }

.header-cta { margin-left: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.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 */
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 110; height: 100dvh; width: min(82vw, 340px);
  background: var(--green-900); color: #f3f1e7; padding: 92px 28px 28px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .3);
}
/* Hidden off-canvas state is not focusable (visibility:hidden removes it
   from the tab order); it becomes interactive only when .open. */
.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform .35s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #e9e7da; }
.mobile-menu a:last-child { border: none; margin-top: 16px; justify-content: center; }
.menu-overlay { position: fixed; inset: 0; z-index: 105; background: rgba(15, 25, 18, .5); backdrop-filter: blur(2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 130px; padding-bottom: 40px; background: transparent; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700); box-shadow: var(--shadow-sm);
}
.pill .leaf-ico { width: 16px; height: 16px; fill: none; stroke: var(--green-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 22px 0 0; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--green-500); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em;
  background: var(--green-300); border-radius: 4px; opacity: .5; transform: scaleX(0); transform-origin: left;
  animation: underline 1s var(--ease) .6s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 46ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 0; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.hero-trust .check { width: 19px; height: 19px; fill: none; stroke: var(--green-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hero-visual { position: relative; perspective: 1000px; }
.hero-art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 6 / 6.2;
  border: 6px solid #fff; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.hero-photo-main { width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; display: block; }
.hero-gloss {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, transparent 32%),
              linear-gradient(to top, rgba(15, 25, 18, .18), transparent 36%);
}

/* Floating "Hi, I'm Richard" name card */
.hero-namecard {
  position: absolute; top: 18px; left: -16px; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 10px 18px 10px 12px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-namecard .nc-wave {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(79, 128, 56, .14);
  animation: wave 2.6s ease-in-out infinite; transform-origin: 70% 75%;
}
.hero-namecard strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.15; color: var(--ink); }
.hero-namecard small { color: var(--muted); font-size: .74rem; }
@keyframes wave {
  0%, 55%, 100% { transform: rotate(0); }
  60% { transform: rotate(16deg); } 70% { transform: rotate(-8deg); }
  80% { transform: rotate(14deg); } 90% { transform: rotate(-4deg); }
}

.hero-badge {
  position: absolute; right: -14px; bottom: 108px; z-index: 5;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  align-items: center; gap: 0 10px; animation: floaty 5s ease-in-out infinite reverse;
}
.hero-badge strong { grid-row: 1 / 3; font-family: var(--font-display); font-size: 2rem; color: var(--green-600); line-height: 1; }
.hero-badge .stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.hero-badge small { color: var(--muted); font-size: .76rem; }

/* "Latest build" chip linking down to the real project */
.hero-buildchip {
  position: absolute; left: 22px; bottom: -18px; z-index: 6;
  display: flex; align-items: center; gap: 11px;
  background: var(--green-900); color: #fff; border-radius: 16px;
  padding: 10px 16px 10px 10px; box-shadow: 0 14px 34px rgba(31, 51, 38, .38);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero-buildchip:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(31, 51, 38, .45); }
.hero-buildchip .bc-thumbs { display: flex; }
.hero-buildchip .bc-thumbs img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
  border: 2px solid var(--green-900);
}
.hero-buildchip .bc-thumbs img + img { margin-left: -12px; }
.hero-buildchip strong { display: block; font-size: .84rem; line-height: 1.15; }
.hero-buildchip small { color: #aebfa9; font-size: .72rem; }
.hero-buildchip > svg {
  width: 18px; height: 18px; flex: none; margin-left: 2px;
  fill: none; stroke: var(--green-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  animation: nudge 2s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-namecard, .hero-buildchip > svg, .hero-namecard .nc-wave { animation: none; }
}


/* ============================================================
   SECTION DIVIDERS & LIVING BACKGROUND
   ============================================================ */
.wave { display: block; line-height: 0; margin-top: -1px; }
.wave svg { width: 100%; height: clamp(38px, 5vw, 70px); display: block; }
.wave-hero { background: var(--cream); }
.wave-svcs { background: #fbf9f3; }
.wave-foot { background: var(--cream-2); }

/* Drifting leaves: outer span gets JS scroll-parallax, inner svg sways via CSS */
.pleaf {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--green-400); opacity: .13; will-change: transform;
}
.pleaf svg { width: 100%; height: auto; animation: leafSway 9s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.pleaf.slow svg { animation-duration: 14s; }
@keyframes leafSway {
  from { transform: rotate(-7deg); }
  to { transform: rotate(9deg) translateY(-7px); }
}

/* Soft drifting colour blobs behind the hero */
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.hero-blob.b1 {
  width: 420px; height: 420px; left: -120px; top: 8%;
  background: radial-gradient(circle, rgba(143, 192, 107, .5), transparent 65%);
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.hero-blob.b2 {
  width: 520px; height: 520px; right: -140px; bottom: -18%;
  background: radial-gradient(circle, rgba(227, 169, 43, .26), transparent 65%);
  animation: blobFloat 21s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(42px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .pleaf svg, .hero-blob { animation: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: #fbf9f3; position: relative; overflow: hidden; }
.services .container { position: relative; z-index: 1; }
.services .eyebrow, .services .section-title { text-align: center; margin-inline: auto; }
.services .section-title { max-width: 20ch; }

.cards-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);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 42%; grid-template-areas: "body media";
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(79, 128, 56, .35); }

.card-body { grid-area: body; padding: 26px 20px 26px 24px; }
.card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(79, 128, 56, .12); color: var(--green-600); margin-bottom: 14px; }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin: 0 0 8px; color: var(--ink); }
.card-body p { margin: 0; font-size: .92rem; color: var(--muted); }

.card-media {
  grid-area: media; position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(150deg, var(--green-400), var(--green-700));
}
.service-card[data-accent="lime"]   .card-media { background: linear-gradient(150deg, #8fc06b, #4f8038); }
.service-card[data-accent="green"]  .card-media { background: linear-gradient(150deg, #6ba14d, #2f5238); }
.service-card[data-accent="forest"] .card-media { background: linear-gradient(150deg, #4f8038, #1f3326); }
.service-card[data-accent="amber"]  .card-media { background: linear-gradient(150deg, #cd9a4f, #7a5430); }
.card-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .22), transparent 48%);
}
.card-motif { position: absolute; right: 12px; bottom: 10px; font-size: 2.1rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); z-index: 0; }

.card-arrow {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--green-600);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.card-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* ============================================================
   PROJECTS — real results (compare slider + build timeline)
   ============================================================ */
.projects-section { background: transparent; }
.projects-section .container { background: linear-gradient(160deg, var(--green-800), var(--green-900)); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); max-width: var(--maxw); }
.projects-head { margin-bottom: 26px; }
.projects-head .section-title { margin: 0; max-width: 24ch; }
.eyebrow.light { color: var(--green-300); }
.projects-sub { color: #aebfa9; font-size: .95rem; margin: 12px 0 0; max-width: 56ch; }

/* ---- proof grid: compare slider + facts ---- */
.proof-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(18px, 3vw, 34px); align-items: stretch; margin-bottom: 34px; }

.compare { margin: 0; }
.cmp-frame {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10.5;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.cmp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; z-index: 3; box-shadow: 0 0 14px rgba(0, 0, 0, .4);
}
.cmp-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green-700);
  display: grid; place-items: center; box-shadow: 0 5px 16px rgba(0, 0, 0, .4);
}
.cmp-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmp-tag {
  position: absolute; top: 12px; z-index: 2; font-size: .68rem; font-weight: 800; letter-spacing: .13em;
  padding: 6px 11px; border-radius: 8px; color: #fff; background: rgba(15, 25, 18, .6); backdrop-filter: blur(4px);
}
.cmp-tag-b { left: 12px; }
.cmp-tag-a { right: 12px; background: var(--green-500); }
.cmp-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible { outline: none; }
.cmp-frame:focus-within .cmp-handle { box-shadow: 0 0 0 3px var(--green-300), 0 5px 16px rgba(0, 0, 0, .4); }
.compare figcaption { color: #aebfa9; font-size: .85rem; padding-top: 12px; text-align: center; }

.proof-side {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: clamp(20px, 2.6vw, 30px);
  display: flex; flex-direction: column;
}
.proof-side h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #f3f1e7; margin: 0 0 16px; }
.proof-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.proof-list li { display: flex; gap: 11px; align-items: flex-start; color: #cfdcc9; font-size: .93rem; line-height: 1.45; }
.proof-list .check { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--green-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proof-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.btn-light { background: #f3f1e7; color: var(--green-900); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }

/* ---- build timeline ---- */
.build-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.build-head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: #f3f1e7; margin: 0; }
.btn-play {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green-500); color: #fff; border: none; border-radius: 999px;
  font-weight: 600; font-size: .88rem; padding: 11px 20px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn-play:hover { background: var(--green-400); transform: translateY(-1px); }
.btn-play svg { width: 16px; height: 16px; fill: currentColor; }
/* The global `svg { display:block }` rule would defeat [hidden]; re-assert it here. */
.btn-play svg[hidden] { display: none; }

.show-stage {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 8.5; background: #16241a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.show-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .18s var(--ease); }
.show-img.fading { opacity: 0; }
.show-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 8px; color: #fff;
  background: rgba(15, 25, 18, .6); backdrop-filter: blur(4px);
}
.show-tag.after { background: var(--green-500); }
.show-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 18px 16px;
  background: linear-gradient(transparent, rgba(10, 18, 12, .82));
  color: #fff; display: flex; flex-direction: column; gap: 2px;
}
.show-cap strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.show-cap span { color: #cfdcc9; font-size: .88rem; }
.show-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .92); color: var(--green-800);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: background .2s var(--ease);
}
.show-btn:hover { background: var(--green-500); color: #fff; }
.show-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.show-prev { left: 14px; }
.show-next { right: 14px; }

.build-track { margin-top: 18px; }
.bt-line { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.bt-line span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--green-300)); transition: width .35s var(--ease); }
.bt-ends { display: flex; justify-content: space-between; margin: 8px 2px 10px; font-size: .64rem; font-weight: 800; letter-spacing: .14em; color: #a3bb9d; }

.show-thumbs { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.show-thumbs button {
  position: relative; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  padding: 0; background: none; aspect-ratio: 4 / 3; opacity: .55;
  transition: opacity .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.show-thumbs button:hover { opacity: .85; }
.show-thumbs button.active { opacity: 1; transform: translateY(-2px); }
.show-thumbs button.active[data-tag="BEFORE"] { border-color: var(--gold); }
.show-thumbs button.active[data-tag="AFTER"] { border-color: var(--green-300); }
.show-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-thumbs .th-tag {
  position: absolute; bottom: 3px; left: 3px; min-width: 17px; text-align: center;
  font-size: .58rem; font-weight: 800; color: #fff; border-radius: 5px; padding: 2px 5px;
}
.show-thumbs .th-tag.b { background: rgba(180, 120, 20, .9); }
.show-thumbs .th-tag.a { background: var(--green-500); }

/* header portal link */
.portal-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.portal-link:hover { color: var(--green-700); border-color: var(--green-400); background: #fff; }
.portal-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   HOW IT WORKS + STATS
   ============================================================ */
.how { background: transparent; position: relative; overflow: hidden; }
.how .container { position: relative; z-index: 1; }
.journey {
  position: relative; list-style: none; margin: 8px 0 44px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  counter-reset: jstep;
}
.journey-line {
  position: absolute; top: 37px; left: 12.5%; right: 12.5%; height: 3px;
  background: var(--sand); border-radius: 3px; overflow: hidden;
}
.journey-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-400), var(--green-600)); transition: width 1.6s var(--ease) .3s; }
.js .journey.in .journey-line span { width: 100%; }
html:not(.js) .journey-line span { width: 100%; }

.jstep { position: relative; text-align: center; z-index: 1; }
.jbadge { position: relative; display: inline-grid; place-items: center; margin-bottom: 16px; }
.jico {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--sand); color: var(--green-600);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.jico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.jnum {
  position: absolute; top: -4px; right: -6px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: .78rem;
  border: 2px solid var(--cream); transform: scale(0);
  transition: transform .4s var(--ease);
}
.js .journey .jico { transform: scale(.6); opacity: 0; }
.js .journey .jico { transition: transform .5s var(--ease), opacity .5s var(--ease), border-color .3s var(--ease); }
.js .journey.in .jico { transform: scale(1); opacity: 1; }
.js .journey.in .jnum { transform: scale(1); }
.journey.in li:nth-child(2) .jico, .journey.in li:nth-child(2) .jnum { transition-delay: .35s; }
.journey.in li:nth-child(3) .jico, .journey.in li:nth-child(3) .jnum { transition-delay: .7s; }
.journey.in li:nth-child(4) .jico, .journey.in li:nth-child(4) .jnum { transition-delay: 1.05s; }
.journey.in li:nth-child(5) .jico, .journey.in li:nth-child(5) .jnum { transition-delay: 1.4s; }
.jstep:hover .jico { transform: scale(1.08) !important; border-color: var(--green-400); box-shadow: var(--shadow-md); }
.jstep h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 0 0 6px; }
.jstep p { margin: 0 auto; color: var(--muted); font-size: .92rem; max-width: 24ch; }

.stats-panel {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; color: #fff;
  box-shadow: var(--shadow-md);
}
.stats-panel.wide { grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--green-300); margin-bottom: 6px; }
.stat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat-num, .stat-word { font-family: var(--font-display); font-weight: 600; line-height: 1; }
.stat-num { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.stat-word { font-size: clamp(1.2rem, 3vw, 1.55rem); }
.stat-label { font-size: .82rem; color: #c5d4c0; max-width: 16ch; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews { background: linear-gradient(180deg, #e7edda, #d9e3c8); }
.wave-rev-in { background: var(--cream); }
.wave-rev-out { background: #d9e3c8; }
.carousel { position: relative; max-width: 1000px; margin-inline: auto; }
.car-viewport { overflow: hidden; padding: 12px 4px 4px; }
.car-track { display: flex; list-style: none; margin: 0; padding: 0; gap: 22px; transition: transform .55s var(--ease); }

.review-card {
  position: relative; flex: 0 0 calc((100% - 44px) / 3); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.quote-mark { position: absolute; top: 6px; right: 22px; font-family: var(--font-display); font-size: 4rem; color: rgba(79, 128, 56, .14); line-height: 1; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review-card p { margin: 0; color: var(--ink-2); font-size: .96rem; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 4px; }

/* Featured real-project case card inside the carousel */
.case-card { background: linear-gradient(160deg, #f4f7ef, #fff); border-color: rgba(79, 128, 56, .35); }
.case-tag {
  align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700); background: rgba(79, 128, 56, .13); border-radius: 999px; padding: 5px 11px;
}
.case-imgs { display: flex; align-items: center; gap: 8px; }
.case-imgs img { width: calc(50% - 16px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.case-imgs .case-arrow { font-size: 1.1rem; font-weight: 700; color: var(--green-500); flex: none; }
.case-card p { font-size: .9rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(140deg, var(--a), var(--b)); flex: none; }
.reviewer strong { display: block; font-size: .95rem; }
.reviewer small { color: var(--muted); font-size: .82rem; }

.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  color: var(--green-700); display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { background: var(--green-600); color: #fff; }
.car-prev { left: -8px; }
.car-next { right: -8px; }

.car-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: #bccaa4; transition: background .2s, width .2s; }
.car-dots button.active { background: var(--green-500); width: 26px; border-radius: 6px; }

/* ============================================================
   CTA / QUOTE
   ============================================================ */
.cta-section { background: var(--cream-2); position: relative; overflow: hidden; }
.cta-section .container { position: relative; z-index: 1; }
.cta-grid { display: grid; grid-template-columns: .92fr 1.18fr .9fr; gap: 22px; align-items: stretch; }

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: var(--radius-lg); padding: 38px 32px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .22;
  background: url("/images/projects/banks/after-2.jpg") center / cover no-repeat;
  mix-blend-mode: luminosity;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-plant { font-size: 3rem; position: absolute; right: 18px; top: 16px; opacity: .9; z-index: 1; }
.cta-panel h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.12; margin: 0 0 12px; max-width: 14ch; }
.cta-panel > p { color: #c5d4c0; margin: 0 0 26px; }
.cta-points { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 16px; }
.cta-points li { display: flex; align-items: center; gap: 13px; font-weight: 500; }
.cta-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: var(--green-300); flex: none; }
.cta-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-md); }
.quote-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: 0 0 20px; }
#quoteForm { display: grid; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #646e62; opacity: 1; }
.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(79, 128, 56, .12); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687567' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #cf5b4e; background: #fdf2f0; }

.btn-label { transition: opacity .2s; }
.qf-photo-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 15px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--muted); font-size: .9rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.qf-photo-label:hover { border-color: var(--green-400); background: #fff; color: var(--green-700); }
.qf-photo-field:focus-within .qf-photo-label { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(79, 128, 56, .12); }
.qf-photo-label svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qf-photo-label small { color: #8a948a; }
.status-portal-link { font-weight: 700; text-decoration: underline; color: inherit; }

.form-note { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.form-note .check { width: 17px; height: 17px; fill: none; stroke: var(--green-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-status { margin: 6px 0 0; font-size: .9rem; font-weight: 500; min-height: 0; }
.form-status.show { padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.success { background: rgba(79, 128, 56, .12); color: var(--green-700); }
.form-status.error { background: #fdf2f0; color: #b5453a; }

.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.area-pin { width: 46px; height: 46px; border-radius: 14px; background: rgba(79, 128, 56, .12); color: var(--green-600); display: grid; place-items: center; margin-bottom: 16px; }
.area-pin svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 8px; }
.area-card > p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.area-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; aspect-ratio: 240 / 150; }
.area-map svg { width: 100%; height: 100%; }
.area-card .link-arrow { margin-top: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-900); color: #cdd8c8; padding-top: clamp(46px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-blurb { font-size: .9rem; color: #9fb29c; max-width: 34ch; margin: 18px 0 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #cdd8c8; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials svg[fill="none"] { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { background: var(--green-500); color: #fff; transform: translateY(-3px); }

.footer-col h5 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-col a, .footer-col .hours { display: flex; align-items: center; gap: 9px; color: #a9b8a4; font-size: .92rem; padding: 6px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--green-300); }
.footer-col svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a:first-of-type { font-weight: 600; color: #e3eadd; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #8ba086; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { font-size: .85rem; color: #8ba086; transition: color .2s; }
.footer-bottom a:hover { color: var(--green-300); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--green-600); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--green-700); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
/* Content is visible by default; only hidden once JS has initialised (html.js),
   so a script error or no-JS environment never leaves the page blank. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 em::after { animation: none; transform: scaleX(1); }
}

/* ============================================================
   PHOTOGRAPHY LAYERS
   Real photos sit on top of the illustrated/gradient fallbacks.
   If a photo fails to load, JS adds .img-failed and the fallback shows.
   ============================================================ */
.media-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: opacity .6s var(--ease), transform .5s var(--ease);
}
.media-photo.img-failed { opacity: 0 !important; animation: none !important; }

/* Service cards — subtle zoom on hover */
.card-photo { z-index: 1; }
.service-card:hover .card-photo { transform: scale(1.06); }

/* ============================================================
   FALLING LEAVES CANVAS
   ============================================================ */
.leaf-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
/* Everything stacks above the leaf layer; sections with transparent
   backgrounds (hero, how, projects wrapper) let the leaves show through
   behind their content. */
main > section, .wave, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
.service-card { cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 18px; }
/* display:grid above would defeat the UA's [hidden] rule; re-assert it */
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(15, 25, 18, .55);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s var(--ease);
}
.modal-card {
  position: relative; z-index: 1; width: min(640px, 94vw); max-height: min(86dvh, 720px);
  overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(26px) scale(.96);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.modal-close:hover { background: var(--green-600); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.modal-media { position: relative; height: 210px; background: linear-gradient(150deg, var(--green-400), var(--green-700)); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 25, 18, .35), transparent 55%); }
.modal-motif { position: absolute; left: 22px; bottom: 14px; font-size: 2.2rem; z-index: 1; filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.modal-body { padding: clamp(20px, 3.5vw, 32px); }
.modal-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.65rem; margin: 0 0 10px; }
.modal-body > p { color: var(--ink-2); margin: 0 0 18px; }
.modal-body h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin: 0 0 10px; }
.modal-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.modal-list li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--ink-2); }
.modal-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px;
  border-radius: 50%; background: rgba(79, 128, 56, .15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c6b3f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}
.modal-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .modal-list { grid-template-columns: 1fr; }
  .modal-media { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .area-card { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
  .area-card .area-pin { margin-bottom: 0; }
  .area-card h4 { width: auto; }
  .area-card > p { flex: 1 1 240px; margin: 0; }
  .area-map { flex: 1 1 260px; margin: 0; }
  .area-card .link-arrow { margin: 0; }
}

/* Swap to the hamburger before the desktop nav runs out of room. */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; order: -1; margin-bottom: 26px; }
  .hero { padding-top: 110px; }
  .hero-namecard { left: -8px; }
  .hero-badge { right: -8px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .show-thumbs { grid-template-columns: repeat(5, 1fr); }
  .stats-panel.wide { grid-template-columns: 1fr 1fr; max-width: 640px; margin-inline: auto; }
  .journey { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .journey-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .review-card { flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 640px) {
  /* 16px inputs stop iOS zooming the page when a field is focused */
  .field input, .field select, .field textarea { font-size: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .show-thumbs { grid-template-columns: repeat(3, 1fr); }
  .show-btn, .cmp-handle { width: 38px; height: 38px; }
  .show-stage { aspect-ratio: 4 / 3.1; }
  .cmp-frame { aspect-ratio: 4 / 3.2; }
  .hero-namecard { left: 6px; top: 10px; padding: 8px 13px 8px 9px; }
  .hero-namecard .nc-wave { width: 34px; height: 34px; font-size: 1.05rem; }
  .hero-namecard strong { font-size: .9rem; }
  .hero-badge { right: 6px; bottom: 96px; padding: 9px 12px; }
  .hero-badge strong { font-size: 1.5rem; }
  .hero-buildchip { left: 6px; bottom: -14px; }
  .stats-panel, .stats-panel.wide { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .review-card { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .car-prev { left: -4px; } .car-next { right: -4px; }
  .car-btn { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .stats-panel, .stats-panel.wide { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ============================================================
   Customer dashboard showcase
   ============================================================ */
.showcase { position: relative; }
.showcase-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.showcase-lead { color: var(--muted); font-size: 1.05rem; max-width: 54ch; margin: 0 0 22px; }
.showcase-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.showcase-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.showcase-points .sp-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 1.05rem;
}
.showcase-points strong { color: var(--ink); }
.showcase-note { color: var(--muted); font-size: .88rem; max-width: 22ch; }

.showcase-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(31, 51, 38, .18);
  overflow: hidden; transform: rotate(1.2deg);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: var(--green-900);
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.mock-bar em { margin-left: 10px; color: #cfdcc9; font-style: normal; font-size: .72rem; letter-spacing: .06em; }
.mock-body { padding: 16px; display: grid; gap: 10px; background: linear-gradient(180deg, #fdfcf8, #f6f3ea); }
.mock-hero {
  display: flex; gap: 12px; align-items: center; padding: 14px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  border-radius: 14px; color: #fff;
}
.mh-date {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
}
.mh-date b { font-family: var(--font-display); font-size: 1.1rem; }
.mh-date i, .mc-badge i { font-style: normal; font-size: .56rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.mh-txt { display: grid; line-height: 1.3; }
.mh-txt em { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.mh-txt b { font-family: var(--font-display); font-size: 1.02rem; }
.mh-txt i { font-style: normal; font-size: .74rem; opacity: .85; }
.mock-card {
  display: flex; gap: 12px; align-items: center; padding: 11px 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm);
}
.mc-badge {
  flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--cream-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
}
.mc-badge b { font-family: var(--font-display); font-size: 1rem; }
.mc-badge.alt { background: var(--blue-bg, #e3eef7); border-color: #cadeed; }
.mc-main { display: grid; line-height: 1.35; flex: 1; min-width: 0; }
.mc-main b { font-size: .88rem; }
.mc-main i { font-style: normal; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-chip {
  flex: none; font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: var(--cream-2); color: var(--ink-2);
}
.mock-chip.green { background: rgba(79,128,56,.14); color: #2f5238; }
.mock-chip.amber { background: #fef3c7; color: #b45309; }
.mock-card.quote { border-color: #cfe0c4; background: #f4f8ee; }
.mock-btn {
  flex: none; background: var(--green-600); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
}
.mock-msg {
  background: var(--green-900); color: #e8eee4; font-size: .78rem; padding: 10px 14px;
  border-radius: 13px 13px 13px 4px; width: fit-content; max-width: 100%;
}
.mock-float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-md); font-size: .76rem; font-weight: 700; color: var(--ink-2);
  padding: 9px 14px;
}
.mock-float.m1 { top: 8%; left: -14px; animation: floaty 5.5s ease-in-out infinite; }
.mock-float.m2 { bottom: 10%; right: -10px; animation: floaty 6.5s ease-in-out -2s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } }
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .mock { transform: none; }
  .mock-float.m1 { left: -4px; }
  .mock-float.m2 { right: -4px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: #fbf9f3; }
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; margin-top: 10px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; font-weight: 600; font-size: .98rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green-700); }
.fq-ico { position: relative; flex: none; width: 22px; height: 22px; }
.fq-ico::before, .fq-ico::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--green-600); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.fq-ico::before { width: 14px; height: 2.5px; }
.fq-ico::after { width: 2.5px; height: 14px; }
.faq-list details[open] .fq-ico::after { transform: rotate(90deg); }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: .94rem; line-height: 1.65; }

/* nav dropdown: the "all services" row */
.dropdown .dd-all { border-top: 1px solid var(--line); color: var(--green-700); font-weight: 700; }

/* explicit close control inside the mobile menu (the hamburger sits under it) */
.menu-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px;
  display: grid; place-items: center; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #e9e7da; cursor: pointer;
}
.menu-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.menu-close:hover { background: rgba(255,255,255,.16); }

/* FAQ -> quote lead-in */
.faq-cta { text-align: center; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.faq-cta a { color: var(--green-700); font-weight: 700; }
.faq-cta a:hover { text-decoration: underline; }
