/* =========================================================
   Hobson Landscape Services
   Brand: Leaf Green #2E8B3C · Fresh Lime #A7C957 · Charcoal #1F2937
          Pale Sage #E9F2EA · White · Manrope / Source Sans 3
   ========================================================= */

:root {
  /* Brand */
  --leaf: #2e8b3c;
  --leaf-600: #267a33;      /* AA contrast with white text */
  --leaf-700: #1f6329;
  --lime: #a7c957;
  --lime-300: #c6dc8f;
  --charcoal: #1f2937;
  --charcoal-900: #141c27;
  --sage: #e9f2ea;
  --sage-200: #d6e7d8;
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-soft: #f6faf6;
  --text: #1f2937;
  --text-muted: #4b5563;
  --line: #e2ebe3;
  --focus: #2e8b3c;
  --error: #b42318;

  /* Type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

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

  --shadow-sm: 0 1px 2px rgba(20, 28, 39, .06), 0 2px 8px rgba(20, 28, 39, .05);
  --shadow: 0 6px 24px rgba(20, 28, 39, .08), 0 2px 6px rgba(20, 28, 39, .05);
  --shadow-lg: 0 24px 60px rgba(20, 28, 39, .16);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 700ms;

  --header-h: 68px;
  --bar-h: 64px;
  --container: 1200px;
  --gutter: 20px;

  color-scheme: light;
}

@media (min-width: 900px) {
  :root { --header-h: 78px; --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* room for the mobile action bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

html:has(dialog[open]), html.menu-open, html.sheet-open { overflow: hidden; }

/* Phone sheets open as normal fixed layers (not the modal top layer), so they need
   their own stacking order and backdrop */
dialog.sheet { z-index: 1000; }
dialog.sheet:focus { outline: none; }
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(20, 28, 39, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fade-in var(--dur) ease;
  touch-action: none;
}
.sheet-backdrop[hidden] { display: none; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a, button, [role="button"], summary) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 8px;
  transform: translateY(-150%); transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--leaf-600);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--lime);
}
.eyebrow--light { color: var(--lime-300); }

.section { padding-block: var(--s-8); }
@media (min-width: 900px) { .section { padding-block: var(--s-9); } }

.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 720px; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
.section-head p { color: var(--text-muted); font-size: 18px; }
@media (min-width: 900px) {
  .section-head--split {
    max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: var(--s-8);
  }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--leaf-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover { background: var(--leaf-700); box-shadow: 0 8px 20px rgba(38, 122, 51, .25); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--charcoal); }
.btn--lime:hover { background: #b8d66e; box-shadow: 0 8px 20px rgba(167, 201, 87, .3); }

.btn--ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--charcoal); box-shadow: none; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--leaf-600); border-color: var(--leaf-600); }
.btn--outline:hover { background: var(--leaf-600); color: #fff; }

.btn--whatsapp { --btn-bg: #1f8f4e; }
.btn--whatsapp:hover { background: #18773f; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--leaf-600);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 28, 39, .06); }

.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-4); }

.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
@media (min-width: 900px) { .brand img { height: 46px; } }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .main-nav a {
    position: relative; display: block; padding: 10px 14px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--charcoal);
    text-decoration: none; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
  }
  .main-nav a:hover { background: var(--sage); }
  .main-nav a[aria-current="true"], .main-nav a[aria-current="page"] { color: var(--leaf-600); background: var(--sage); }
}

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-phone {
  display: none; align-items: center; gap: 8px; padding: 8px 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--charcoal); text-decoration: none;
  border-radius: 999px;
}
.header-phone .icon { color: var(--leaf); }
.header-phone:hover { color: var(--leaf-600); }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #fff;
  padding: var(--s-5) var(--gutter) calc(var(--bar-h) + var(--s-6) + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; text-decoration: none; color: var(--charcoal);
}
.mobile-menu a.mm-link .icon { color: var(--leaf); }
.mobile-menu .mm-actions { display: grid; gap: var(--s-3); }
.mobile-menu .mm-contact { margin-top: var(--s-5); color: var(--text-muted); font-size: 15px; display: grid; gap: 4px; }
.mobile-menu .mm-contact a { color: var(--charcoal); font-weight: 600; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(640px, calc(88svh - var(--header-h)));
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--charcoal);
}
@media (min-width: 900px) {
  .hero {
    min-height: min(660px, calc(84svh - var(--header-h))); align-items: center;
    margin: 8px clamp(12px, 1.6vw, 24px) 0; border-radius: 28px;
  }
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.06);
  animation: hero-settle 1.8s var(--ease-out) .05s forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 28, 39, .45) 0%, rgba(20, 28, 39, .55) 35%, rgba(20, 28, 39, .85) 100%);
}
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(20, 28, 39, .82) 0%, rgba(20, 28, 39, .55) 42%, rgba(20, 28, 39, .05) 75%),
      linear-gradient(0deg, rgba(20, 28, 39, .35) 0%, rgba(20, 28, 39, 0) 40%);
  }
}

.hero__content { padding-block: var(--s-7) var(--s-6); max-width: 680px; }
@media (min-width: 900px) { .hero__content { padding-block: var(--s-8); } }

.hero h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(36px, 7.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
  margin-top: var(--s-4);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero h1 .accent { color: #fff; }
.hero__lead { margin-top: var(--s-4); font-size: clamp(17px, 2vw, 19px); color: rgba(255, 255, 255, .9); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  list-style: none; margin: var(--s-5) 0 0; padding: 0;
  font-size: 15px; color: rgba(255, 255, 255, .92);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--lime); stroke-width: 2.4; }

/* Years badge (desktop) */
.hero__badge { display: none; }
@media (min-width: 900px) {
  .hero__badge {
    position: absolute; right: clamp(24px, 3vw, 48px); bottom: clamp(24px, 3vw, 48px);
    display: flex; align-items: center; gap: var(--s-4);
    padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4);
    max-width: 340px;
    background: rgba(20, 28, 39, .5);
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px;
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
  }
  .hero__badge-num {
    flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 16px;
    background: var(--lime); color: var(--charcoal);
    font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -0.03em;
  }
  .hero__badge-text { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
  .hero__badge-text strong { display: block; font-family: var(--font-head); font-size: 17px; color: #fff; margin-bottom: 2px; }
}

/* Hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Services ---------- */
.services { background: var(--bg); }

.services-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

/* Featured service: Landscape Maintenance, details visible without clicking */
.svc-feature { grid-column: 1 / -1; }
.feature-card {
  display: grid; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.feature-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sage); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .feature-card:hover .feature-card__media img { transform: scale(1.03); } }
.feature-card__tag {
  position: absolute; left: var(--s-4); top: var(--s-4);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--lime); color: var(--charcoal);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  box-shadow: 0 6px 16px rgba(20, 28, 39, .18);
}
.feature-card__tag .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.feature-card__body { padding: var(--s-5); display: grid; gap: var(--s-4); align-content: center; }
.feature-card h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.feature-card__lead { color: var(--text-muted); font-size: 17px; }
.feature-card .ticks { font-size: 16px; gap: 8px; }
.feature-card__amp {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) var(--s-4); border-radius: 12px; background: var(--sage);
}
.feature-card__amp-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--leaf-600); }
.feature-card__amp-icon .icon { width: 19px; height: 19px; }
.feature-card__amp p { font-size: 15.5px; color: var(--charcoal); line-height: 1.45; }
.feature-card__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 479px) {
  .feature-card__ctas .btn { flex: 1 1 100%; }
  .feature-card__media { aspect-ratio: 16 / 8; }
  .feature-card__body { gap: var(--s-3); padding: var(--s-4); }
  .feature-card__lead { font-size: 16px; }
  .feature-card .ticks { grid-template-columns: 1fr 1fr; column-gap: var(--s-3); font-size: 14.5px; line-height: 1.35; gap: 8px var(--s-3); }
  .feature-card .ticks li::before { width: 18px; height: 18px; margin-top: 0; background-size: 11px; }
}
@media (min-width: 640px) { .feature-card__body { padding: var(--s-6); } }
@media (min-width: 900px) {
  .feature-card { grid-template-columns: 1.05fr 1fr; }
  .feature-card__media { aspect-ratio: auto; min-height: 100%; }
  .feature-card__body { padding: var(--s-6) var(--s-7) var(--s-6) var(--s-6); }
}

/* 7 photo cards: 3 larger on the first row, 4 on the second */
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(12, 1fr); }
  .services-grid > li:not(.svc-feature) { grid-column: span 3; }
  .services-grid > li:nth-child(2), .services-grid > li:nth-child(3), .services-grid > li:nth-child(4) { grid-column: span 4; }
  .services-grid .svc-card h3 { font-size: 18px; }
  .services-grid .svc-card p { font-size: 15px; }
  .services-grid .svc-card__body { padding: var(--s-3) 6px 0; }
  .services-grid > li:nth-child(-n+4) .svc-card h3 { font-size: 20px; }
  .services-grid > li:nth-child(-n+4) .svc-card p { font-size: 16px; }
}
/* Tablet (2 columns): the odd 7th card spans the full width, laid out side by side */
@media (min-width: 640px) and (max-width: 1099px) {
  .services-grid > li:last-child { grid-column: 1 / -1; }
  .services-grid > li:last-child .svc-card { grid-template-columns: 1fr 1fr; align-items: center; padding-bottom: 10px; }
  .services-grid > li:last-child .svc-card__body { padding: var(--s-4) var(--s-5); }
}

/* Full-width service rows below the grid (Pest Control, cleaning link) */
.svc-row { position: relative; cursor: pointer; }
.svc-row .svc-card__btn { border-radius: var(--radius); }
.svc-row + .crosslink { margin-top: var(--s-3); }
@media (min-width: 640px) { .svc-row + .crosslink { margin-top: var(--s-4); } }

.svc-card {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: var(--s-4);
  padding: 10px; padding-right: var(--s-4);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: left; width: 100%;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) ease;
}
.svc-card__media {
  position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; background: var(--sage);
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.svc-card__media--icon { display: grid; place-items: center; background: linear-gradient(140deg, var(--sage) 0%, var(--sage-200) 100%); }
.svc-card__media--icon .icon { width: 40px; height: 40px; color: var(--leaf-600); stroke-width: 1.5; }

.svc-card__body { display: grid; gap: 4px; min-width: 0; }
.svc-card h3 { font-size: 18px; font-weight: 800; }
.svc-card p { font-size: 15px; color: var(--text-muted); line-height: 1.45; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--leaf-600);
}
.svc-card__more .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }

/* stretched button covers the card */
.svc-card__btn { all: unset; position: absolute; inset: 0; border-radius: var(--radius); cursor: pointer; z-index: 1; }
.svc-card__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (min-width: 640px) {
  .svc-card { grid-template-columns: 1fr; align-items: stretch; padding: 10px 10px var(--s-5); gap: 0; }
  .svc-card__media { aspect-ratio: 16 / 10; border-radius: 10px; }
  .svc-card__media--icon .icon { width: 64px; height: 64px; }
  .svc-card__body { padding: var(--s-4) 10px 0; gap: 6px; }
  .svc-card h3 { font-size: 20px; }
  .svc-card p { font-size: 16px; }
  .svc-card__more { margin-top: var(--s-2); }
}

@media (hover: hover) {
  .svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-200); }
  .svc-card:hover .svc-card__media img { transform: scale(1.05); }
  .svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
}
.svc-card:active { transform: scale(.985); }

.svc-detail { display: none; }

/* Cleaning cross-link */
.crosslink {
  margin-top: var(--s-5);
  display: grid; gap: var(--s-4); align-items: center;
  padding: var(--s-5); border-radius: var(--radius);
  background: var(--sage);
  text-decoration: none;
  transition: background-color var(--dur) ease;
}
.crosslink:hover { background: var(--sage-200); }
.crosslink__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--leaf-600); }
.crosslink__icon .icon { width: 26px; height: 26px; }
.crosslink h3 { font-size: 19px; font-weight: 800; }
.crosslink p { color: var(--text-muted); font-size: 16px; }
@media (max-width: 719px) {
  .crosslink { grid-template-columns: auto 1fr; align-items: start; gap: 6px var(--s-4); padding: var(--s-4); }
  .crosslink__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; }
  .crosslink__icon .icon { width: 22px; height: 22px; }
  .crosslink h3 { font-size: 18px; }
  .crosslink p { font-size: 15px; }
  .crosslink .link-arrow { grid-column: 2; }
}
@media (min-width: 720px) {
  .crosslink { grid-template-columns: auto 1fr auto; padding: var(--s-5) var(--s-6); }
}

/* ---------- Value strip ---------- */
.values { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.values::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: url("../img/leaf.png") no-repeat center / contain; opacity: .06; pointer-events: none;
}
.values .section-head h2 { color: #fff; }
.values .section-head p { color: rgba(255, 255, 255, .78); }
.values-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value {
  padding: var(--s-5); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color var(--dur) ease, border-color var(--dur) ease, transform var(--dur) var(--ease-out);
}
@media (hover: hover) { .value:hover { background: rgba(255, 255, 255, .07); border-color: rgba(167, 201, 87, .4); transform: translateY(-3px); } }
.value__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(167, 201, 87, .14); color: var(--lime); margin-bottom: var(--s-4); }
.value__icon .icon { width: 24px; height: 24px; }
.value h3 { color: #fff; font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.value p { color: rgba(255, 255, 255, .76); font-size: 16px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.05fr; gap: var(--s-8); } }

.about-media { position: relative; }
.about-media__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.about-media__main img { width: 100%; height: 100%; object-fit: cover; }
.about-media__badge {
  position: absolute; left: var(--s-4); bottom: calc(var(--s-4) * -1);
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  max-width: calc(100% - var(--s-6));
}
.about-media__badge img { width: 40px; height: auto; }
.about-media__badge strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.25; }
.about-media__badge div > span { font-size: 14px; color: var(--text-muted); line-height: 1.3; display: block; }
@media (min-width: 960px) { .about-media__badge { left: auto; right: calc(var(--s-6) * -1); bottom: var(--s-6); } }

.about-copy { display: grid; gap: var(--s-4); }
.about-copy h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
.about-copy p { color: var(--text-muted); font-size: 17.5px; }
.about-copy .lead { color: var(--charcoal); font-size: 19px; }

.pillars { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.pillar { padding: var(--s-5); border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--leaf-600); box-shadow: var(--shadow-sm); margin-bottom: var(--s-4); }
.pillar h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.pillar p { color: var(--text-muted); font-size: 16px; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; gap: var(--s-4); list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: var(--s-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block; margin-bottom: var(--s-4);
  font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--leaf);
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 16px; }
@media (max-width: 719px) {
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-4) var(--s-3); }
  .step::before { grid-row: 1 / span 2; margin: 2px 0 0; font-size: 30px; text-align: center; }
  .step h3 { font-size: 18px; margin-bottom: 4px; }
  .value { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s-4); padding: var(--s-4); }
  .value__icon { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  .value h3 { font-size: 18px; margin-bottom: 2px; }
  .pillar { padding: var(--s-4); }
}
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 44px; right: -18px; width: 20px; height: 2px; background: var(--lime);
  }
}

/* AMP band */
.amp {
  margin-top: var(--s-6);
  display: grid; gap: var(--s-4); align-items: center;
  padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--leaf-700) 0%, var(--leaf-600) 60%, #3c9a46 100%);
  color: #fff; position: relative; overflow: hidden;
}
.amp::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px;
  background: url("../img/leaf.png") no-repeat center / contain; opacity: .12; pointer-events: none;
}
.amp h3 { color: #fff; font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.amp p { color: rgba(255, 255, 255, .88); max-width: 620px; }
.amp .btn { justify-self: start; position: relative; z-index: 1; }
@media (min-width: 900px) { .amp { grid-template-columns: 1fr auto; padding: var(--s-6) var(--s-7); } }

/* ---------- Sectors ---------- */
.sectors-wrap { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .sectors-wrap { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 15.5px; font-weight: 600; color: var(--charcoal);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.chip .icon { width: 17px; height: 17px; color: var(--leaf); }
@media (hover: hover) { .chip:hover { border-color: var(--lime); background: var(--sage); } }

.clients { border-radius: var(--radius-lg); background: var(--sage); padding: var(--s-6) var(--s-5); }
@media (min-width: 640px) { .clients { padding: var(--s-6); } }
.clients h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.clients > p { color: var(--text-muted); font-size: 16px; margin-bottom: var(--s-5); }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 340px) { .client-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); } }
@media (max-width: 479px) { .clients .client-list li { font-size: 14px; padding: 9px 0; line-height: 1.3; align-items: flex-start; } .clients .client-list li::before { margin-top: 6px; } }
.client-list li {
  display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(31, 41, 55, .1);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--charcoal);
}
.client-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); flex: none; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sage); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff;
  padding: 6px 10px; border-radius: 8px; background: rgba(20, 28, 39, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  width: fit-content; max-width: calc(100% - 20px);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--s-4); }
  .gallery figure { aspect-ratio: auto; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
  .gallery figcaption { font-size: 14px; left: 14px; bottom: 14px; }
}
@media (hover: hover) { .gallery figure:hover img { transform: scale(1.05); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: var(--s-8); align-items: start; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list { display: grid; gap: var(--s-3); }
.faq {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.faq[open] { border-color: var(--sage-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 60px; padding: var(--s-4) var(--s-5);
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--leaf-600); }
.faq__toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: var(--leaf-600); transition: transform var(--dur) var(--ease-out), background-color var(--dur) ease;
}
.faq__toggle .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.faq[open] .faq__toggle { transform: rotate(45deg); background: var(--leaf-600); color: #fff; }
.faq__a { padding: 0 var(--s-5) var(--s-5); color: var(--text-muted); }
.faq[open] .faq__a { animation: rise .4s var(--ease-out); }
.faq__a a { color: var(--leaf-600); font-weight: 600; }

/* ---------- Careers ---------- */
.careers {
  display: grid; gap: var(--s-5); align-items: center;
  padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff;
}
.careers h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 8px 0; }
.careers p { color: var(--text-muted); max-width: 640px; }
@media (min-width: 900px) { .careers { grid-template-columns: 1fr auto; padding: var(--s-6) var(--s-7); } }

/* ---------- Contact ---------- */
.contact { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -160px; bottom: -120px; width: 520px; height: 520px;
  background: url("../img/leaf.png") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.contact-grid { display: grid; gap: var(--s-7); position: relative; }
/* Desktop: heading spans both columns; the form lines up with the contact cards + map */
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; column-gap: var(--s-7); row-gap: 0; align-items: stretch; }
  .contact-intro { display: contents; }
  .contact-intro > .eyebrow, .contact-intro > h2, .contact-intro > p { grid-column: 1 / -1; justify-self: start; }
  .contact-intro > p { max-width: 640px; margin-bottom: var(--s-6); }
  .contact .contact-list { grid-column: 1; grid-row: 4; margin-top: 0; }
  .contact .map-embed { grid-column: 1; grid-row: 5; aspect-ratio: auto; min-height: 240px; height: auto; }
  .contact .form-card { grid-column: 2; grid-row: 4 / 6; display: flex; flex-direction: column; }
  .contact .form-card .enquiry-form { flex: 1; display: flex; flex-direction: column; }
  .contact .form-card .field--grow { flex: 1; display: flex; flex-direction: column; }
  .contact .form-card .field--grow textarea { flex: 1; min-height: 96px; }
}
.contact h2 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; margin: var(--s-3) 0 var(--s-4); }
.contact-intro > p { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 480px; }

.contact-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.contact-item {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4); border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  text-decoration: none; color: #fff;
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
}
a.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(167, 201, 87, .45); }
.contact-item__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(167, 201, 87, .14); color: var(--lime); }
.contact-item__label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); font-weight: 600; }
.contact-item__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.35; overflow-wrap: break-word; }
.contact-item__value.addr { font-size: 16px; }

/* Embedded office map */
.map-embed {
  position: relative; margin-top: var(--s-3);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #2a3441;
  aspect-ratio: 4 / 3;
}
@media (min-width: 560px) { .map-embed { aspect-ratio: 16 / 10; } }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .form-card { padding: var(--s-6); } }
.form-card__title { font-size: 22px; font-weight: 800; }
.form-card__sub { color: var(--text-muted); font-size: 16px; margin-top: 4px; }

.enquiry-form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--charcoal); }
.field label .req { color: var(--leaf-600); }
.field label .opt { color: var(--text-muted); font-weight: 500; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-size: 16px; /* prevents iOS zoom */
  background: #fff; border: 1.5px solid #cfdcd1; border-radius: 12px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23267a33' stroke-width='2.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;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a95a3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9c2ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(46, 139, 60, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field-error { display: none; align-items: flex-start; gap: 6px; font-size: 14.5px; line-height: 1.4; color: var(--error); font-weight: 600; }
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; }
.field.has-error .field-error { display: flex; }

.form-actions { display: grid; gap: var(--s-3); margin-top: var(--s-2); }
@media (min-width: 560px) { .form-actions { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 14px; color: var(--text-muted); }

.form-success {
  display: none; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius);
  background: var(--sage); border: 1px solid var(--sage-200); margin-top: var(--s-5);
}
.form-success.is-visible { display: grid; animation: rise .45s var(--ease-out); }
.form-success__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-600); color: #fff; }
.form-success__icon .icon { stroke-width: 2.6; }
.form-success h4 { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--charcoal); }
.form-success p { color: var(--text-muted); font-size: 16px; }
.form-success button { justify-self: start; background: none; border: 0; padding: 8px 0; color: var(--leaf-600); font-family: var(--font-head); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ---------- Footer ---------- */
/* Pale Sage from the brand board: lets the logo keep its original leaf greens + charcoal wordmark */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--sage); color: var(--text-muted);
  border-top: 4px solid var(--lime);
  padding-block: var(--s-8) var(--s-5); font-size: 15.5px;
}
.site-footer::after {
  content: ""; position: absolute; right: -90px; bottom: -110px; width: 380px; height: 380px;
  background: url("../img/leaf.png") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin-top: var(--s-4); max-width: 340px; color: var(--text-muted); }
.site-footer h4 { font-family: var(--font-head); color: var(--charcoal); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--charcoal); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; transition: color var(--dur-fast) ease; }
.site-footer a:hover { color: var(--leaf-600); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 8px; width: 18px; height: 18px; color: var(--leaf); }
.footer-contact address { font-style: normal; padding-top: 6px; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(31, 41, 55, .12);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: 14px; color: var(--text-muted);
}

/* ---------- Persistent enquiry: mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(20, 28, 39, .08);
  transition: transform var(--dur) var(--ease-out);
}
.action-bar a, .action-bar button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--charcoal); text-decoration: none;
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.action-bar a:active, .action-bar button:active { transform: scale(.96); }
.action-bar .icon { width: 19px; height: 19px; }
.action-bar .ab-call .icon { color: var(--leaf-600); }
.action-bar .ab-wa .icon { color: #1f8f4e; }
.action-bar .ab-quote { background: var(--leaf-600); border-color: var(--leaf-600); color: #fff; }
body.is-typing .action-bar, html.menu-open .action-bar { transform: translateY(110%); }
@media (max-width: 359px) {
  .action-bar { gap: 6px; padding-inline: 8px; }
  .action-bar a, .action-bar button { font-size: 13.5px; gap: 5px; }
  .action-bar .icon { width: 17px; height: 17px; }
}
@media (min-width: 900px) { .action-bar { display: none; } }

/* Desktop floating buttons */
.fab-stack {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: none; flex-direction: column; align-items: flex-end; gap: 12px;
}
@media (min-width: 900px) { .fab-stack { display: flex; } }
.fab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px; border: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(20, 28, 39, .22);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, opacity var(--dur) ease;
}
.fab .icon { width: 22px; height: 22px; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 28, 39, .28); }
.fab:active { transform: scale(.96); }
.fab--wa { background: #1f8f4e; }
.fab--quote { background: var(--charcoal); }
.fab--quote .icon { color: var(--lime); }
.fab-stack .fab--quote { opacity: 0; transform: translateY(10px); pointer-events: none; }
body.show-fab .fab-stack .fab--quote { opacity: 1; transform: none; pointer-events: auto; }
.fab-stack { transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out); }
body.contact-in-view .fab-stack { opacity: 0; transform: translateY(16px); pointer-events: none; }
body.contact-in-view .fab-stack .fab { pointer-events: none; }

/* ---------- Dialogs (quote drawer + service sheet) ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: 0; color: var(--text); background: #fff;
  width: 100%; max-width: 100%; max-height: 92svh;
  inset: auto 0 0 0; position: fixed;
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none; flex-direction: column;
}
dialog.sheet[open] { display: flex; animation: sheet-up var(--dur-slow) var(--ease-out); }
dialog.sheet.is-closing { animation: sheet-down 220ms var(--ease-in) forwards; }
dialog.sheet::backdrop { background: rgba(20, 28, 39, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade-in var(--dur) ease; }
dialog.sheet.is-closing::backdrop { animation: fade-out 220ms ease forwards; }

/* Rise a short distance (not from fully off-screen) so the sheet is never outside the
   visible area when the browser moves focus into it */
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

@media (min-width: 900px) {
  dialog.sheet--drawer {
    inset: 0 0 0 auto; width: min(520px, 100vw); height: 100dvh; max-height: 100dvh; border-radius: 0;
  }
  dialog.sheet--drawer[open] { animation: drawer-in var(--dur-slow) var(--ease-out); }
  dialog.sheet--drawer.is-closing { animation: drawer-out 220ms var(--ease-in) forwards; }

  dialog.sheet--modal {
    inset: 0; margin: auto; width: min(880px, calc(100vw - 64px)); max-height: min(86vh, 820px);
    border-radius: var(--radius-lg);
  }
  dialog.sheet--modal[open] { animation: modal-in 420ms var(--ease-out); }
  dialog.sheet--modal.is-closing { animation: modal-out 180ms var(--ease-in) forwards; }
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

.sheet__grip { width: 40px; height: 5px; border-radius: 3px; background: #d5ddd6; margin: 10px auto 0; flex: none; }
@media (min-width: 900px) { .sheet--drawer .sheet__grip, .sheet--modal .sheet__grip { display: none; } }

.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-3) var(--s-5) var(--s-3); border-bottom: 1px solid var(--line); flex: none;
}
.sheet__head h2 { font-size: 20px; font-weight: 800; }
.sheet__close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; flex: none; transition: background-color var(--dur-fast) ease;
}
.sheet__close:hover { background: var(--sage); }
.sheet__body { padding: var(--s-5); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; flex: 1; }
.sheet__body .enquiry-form { margin-top: 0; }
.sheet__quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-bottom: var(--s-5); }
.sheet__quick a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.sheet__quick a:hover { border-color: var(--leaf); background: var(--sage); }
.sheet__quick .icon { color: var(--leaf-600); }
.sheet__divider { display: flex; align-items: center; gap: var(--s-3); color: var(--text-muted); font-size: 14px; margin-bottom: var(--s-4); }
.sheet__divider::before, .sheet__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Service detail content */
.svc-sheet__media { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-5); aspect-ratio: 16 / 8; overflow: hidden; background: var(--sage); }
.svc-sheet__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .svc-sheet__media { aspect-ratio: 21 / 8; } .svc-sheet__media--icon { aspect-ratio: 21 / 5; } }
.svc-sheet__media--icon { display: grid; place-items: center; aspect-ratio: 16 / 5; }
.svc-sheet__media--icon .icon { width: 64px; height: 64px; color: var(--leaf-600); stroke-width: 1.4; }
.svc-sheet .tagline { font-family: var(--font-head); font-weight: 700; color: var(--leaf-600); font-size: 17px; margin-bottom: var(--s-3); }
.svc-sheet p { color: var(--text-muted); margin-bottom: var(--s-4); }
.svc-sheet h3 { font-size: 17px; font-weight: 800; margin: var(--s-5) 0 var(--s-3); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 560px) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); } }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--charcoal); }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23267a33' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}
.svc-sheet__foot {
  flex: none; display: grid; grid-template-columns: 1fr; gap: var(--s-3);
  padding: var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff;
}
@media (min-width: 560px) { .svc-sheet__foot { grid-template-columns: 1fr 1fr; } }
.sheet__body--form { padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); }

/* ---------- Cleaning page ---------- */
.page-hero { background: var(--sage); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 360px; height: 360px;
  background: url("../img/leaf.png") no-repeat center / contain; opacity: .1; pointer-events: none;
}
@media (max-width: 719px) { .page-hero::after { width: 200px; height: 200px; right: -50px; top: 70px; transform: none; opacity: .08; } }
.page-hero__inner { padding-block: var(--s-7) var(--s-7); max-width: 760px; position: relative; z-index: 1; }
@media (min-width: 900px) { .page-hero__inner { padding-block: var(--s-8); } }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--text-muted); margin-bottom: var(--s-4); flex-wrap: wrap; }
.breadcrumb a { color: var(--leaf-600); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(34px, 5.6vw, 54px); font-weight: 800; margin: var(--s-3) 0 var(--s-4); }
.page-hero p { font-size: 18.5px; color: var(--text-muted); }
.page-hero .hero__ctas { margin-top: var(--s-5); }

.clean-groups { display: grid; gap: var(--s-7); }
.clean-group__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.clean-group__head .pillar__icon { margin: 0; }
.clean-group__head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.clean-list { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .clean-list { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } }
@media (min-width: 1100px) { .clean-list { grid-template-columns: repeat(3, 1fr); } }
.clean-item {
  height: 100%; padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
@media (hover: hover) { .clean-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-200); } }
.clean-item h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.clean-item p { color: var(--text-muted); font-size: 16px; }
.clean-item .ticks { margin-top: var(--s-3); font-size: 15.5px; gap: 6px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
/* Phones: no sideways slide (Safari counts the offset as page width) */
@media (max-width: 899px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(22px); } }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
