/* ==========================================================================
   MedClean Janitorial Services Inc. — site styles
   Palette is drawn from the MedClean logo (forest + leaf greens) and the
   teal accent used on the previous site.
   ========================================================================== */

/* Self-hosted fonts (latin subset, variable weight) — no render-blocking trip to Google */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --green-950: #04201a;
  --green-900: #06291f;
  --green-800: #0a3a2b;
  --green-700: #016837; /* primary brand green */
  --green-600: #0b7d43;
  --green-500: #1c9a52;
  --leaf: #7cc142;      /* light logo green */
  --leaf-soft: #e6f4d9;
  --teal: #7ebec5;      /* accent from previous site */
  --teal-soft: #e3f2f3;
  --mint-50: #f3f8f5;
  --mint-100: #e7f1ec;

  /* Neutrals */
  --ink: #0e1d17;
  --ink-2: #2a3a33;
  --muted: #5a6b63;
  --line: #dde7e2;
  --white: #fff;

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 41, 31, .06), 0 2px 8px rgba(6, 41, 31, .05);
  --shadow: 0 10px 30px -12px rgba(6, 41, 31, .18), 0 4px 10px -6px rgba(6, 41, 31, .08);
  --shadow-lg: 0 30px 60px -24px rgba(6, 41, 31, .35);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.3rem, 4.6vw + .6rem, 4rem); }
h2 { font-size: clamp(1.85rem, 2.6vw + .7rem, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1vw + .9rem, 1.6rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
h5 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }
::selection { background: var(--leaf); color: var(--green-950); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.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: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--mint { background: var(--mint-50); }
.section--dark { background: var(--green-900); color: #cfe0d8; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: #b7cdc3; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--green-700));
}
.section--dark .eyebrow, .cta-band .eyebrow { color: var(--leaf); }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--muted); line-height: 1.65; }
.text-accent {
  background: linear-gradient(100deg, var(--green-700) 10%, var(--green-500) 60%, var(--leaf));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-700); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(1, 104, 55, .55); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--green-700); }
.btn--primary:hover { --btn-bg: var(--green-600); }
.btn--leaf { --btn-bg: var(--leaf); --btn-fg: var(--green-950); }
.btn--leaf:hover { --btn-bg: #8fd156; box-shadow: 0 12px 24px -10px rgba(124, 193, 66, .7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-700); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-800); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; box-shadow: none; }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
/* Long button labels wrap on small screens instead of pushing the layout wider than the phone. */
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--green-700);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-950); color: #b9d0c6; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: .5rem; }
.topbar__msg .icon { color: var(--leaf); }
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--leaf); }
.topbar__phone { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__phone span { color: #b9d0c6; font-weight: 400; }
@media (max-width: 860px) { .topbar__msg { display: none; } .topbar__inner { justify-content: center; } }

.socials { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: inherit; transition: background-color .2s, color .2s;
}
.socials a:hover { background: rgba(255, 255, 255, .1); color: var(--leaf); }
.socials .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* Frosted background lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed-position mobile nav panel. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(6, 41, 31, .5); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .94); }
/* Lift the header (and the nav panel inside it) above the backdrop while the menu is open. */
.nav-open .site-header { z-index: 130; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 70px; }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-2);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--green-700); background: var(--mint-50); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--green-700); }
.nav__link[aria-current="page"]::after { content: none; }
.nav__link .icon--chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item { position: relative; }
.nav__item--has-menu:hover .icon--chev, .nav__item--has-menu.is-open .icon--chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 270px; padding: .6rem; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-menu:hover > .dropdown,
.nav__item--has-menu:focus-within > .dropdown,
.nav__item--has-menu.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown--mega { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; min-width: 560px; padding: 1rem; }
.dropdown__label {
  grid-column: 1 / -1; font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .35rem .7rem 0;
}
.dropdown a {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--mint-50); color: var(--green-700); }
.dropdown a .icon {
  width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--mint-100); color: var(--green-700);
}
.dropdown a:hover .icon { background: var(--green-700); color: #fff; }
.dropdown__feature {
  grid-column: 1 / -1; margin-top: .4rem; padding-top: .6rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem;
}

.header-cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 120;
    background: #fff; padding: 5.5rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
    box-shadow: var(--shadow-lg);
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem 1rem; font-size: 1.05rem; }
  .dropdown, .dropdown--mega {
    position: static; translate: none; transform: none; min-width: 0; box-shadow: none; border: 0;
    display: none; opacity: 1; visibility: visible; padding: .25rem 0 .5rem .5rem; grid-template-columns: 1fr;
  }
  .dropdown__feature { grid-template-columns: 1fr; }
  .nav__item--has-menu:hover > .dropdown { display: none; }
  .nav__item--has-menu.is-open > .dropdown { display: grid; }
  .nav__item--has-menu:hover .icon--chev { transform: none; }
  .nav__item--has-menu.is-open .icon--chev { transform: rotate(180deg); }
  .nav__mobile-cta { display: grid !important; gap: .6rem; margin-top: 1.5rem; }
  .nav-close { display: grid !important; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 110; background: rgba(4, 32, 26, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
.nav__mobile-cta, .nav-close { display: none; }
.nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center;
}
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(124, 193, 66, .18), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(126, 190, 197, .25), transparent 60%),
    linear-gradient(180deg, #fbfdfc, var(--mint-50));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(1, 104, 55, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw + .4rem, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero h1 .text-accent { display: block; }
.hero .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; list-style: none; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .6rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-2);
}
.chip .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--leaf-soft); color: var(--green-700); }

.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); margin-left: auto; max-width: 470px;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 32, 26, .35));
}
.hero__ring {
  position: absolute; z-index: -1; width: 115%; aspect-ratio: 1; right: -18%; top: -8%;
  border-radius: 50%; border: 1px dashed rgba(1, 104, 55, .25);
  animation: spin 80s linear infinite;
}
.hero__ring::before {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--leaf); top: 12%; left: 14%; box-shadow: 0 0 0 6px rgba(124, 193, 66, .25);
}
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7);
  font-size: .88rem; line-height: 1.35; color: var(--muted); max-width: 260px;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: .98rem; }
.float-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-700); color: #fff; }
.float-card__icon--leaf { background: var(--leaf); color: var(--green-950); }
.float-card--award { left: -6%; bottom: 14%; }
.float-card--products { right: -4%; top: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { margin: 0 auto; max-width: 420px; }
  .float-card--award { left: 0; }
  .float-card--products { right: 0; }
}
@media (max-width: 520px) { .float-card { position: relative; inset: auto; margin: 1rem auto 0; max-width: none; animation: none; } .hero__ring { display: none; } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--green-700); color: #fff; overflow: hidden; padding: 1.05rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__track li { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; white-space: nowrap; }
.ticker__track li::after { content: "✦"; color: var(--leaf); font-size: .85rem; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(50rem 26rem at 100% 0%, rgba(124, 193, 66, .16), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(126, 190, 197, .22), transparent 60%),
    linear-gradient(180deg, #fbfdfc, var(--mint-50));
}
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; text-align: center; max-width: 860px; margin-inline: auto; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw + .6rem, 3.6rem); letter-spacing: -.03em; }
.page-hero .lead { max-width: 40rem; margin-bottom: 2rem; }
.page-hero__grid > *, .award > * { min-width: 0; }
.page-hero__media { position: relative; }
.page-hero__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.page-hero__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--leaf), var(--teal)); opacity: .35;
}
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { max-width: 560px; } }

.breadcrumbs { margin-bottom: 1.4rem; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.page-hero--center .breadcrumbs ol { justify-content: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #a9b9b1; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-700); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0d7; }
.card h3, .card h4 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: 1rem; }

.feature__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--leaf-soft), var(--teal-soft)); color: var(--green-700);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.feature__icon .icon { width: 28px; height: 28px; }
.card:hover .feature__icon { background: var(--green-700); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature__num {
  position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-weight: 800;
  font-size: 2.6rem; line-height: 1; color: var(--mint-100);
}
.feature { position: relative; }

/* Service cards with photo */
.service-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  text-decoration: none; color: inherit;
}
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
.service-card__body h3, .service-card__body h4 { margin: 0 0 .3rem; }
.service-card__body p { flex: 1; margin-bottom: 1rem; }
.service-card .link-arrow { margin-top: auto; }

/* Bento (home services) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1.25rem; }
.bento__item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 2.5vw, 2rem);
  isolation: isolate; min-height: 280px; box-shadow: var(--shadow-sm);
}
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 32, 26, .15) 0%, rgba(4, 32, 26, .55) 35%, rgba(4, 32, 26, .92) 100%);
  transition: background .4s;
}
.bento__item h2, .bento__item h3, .bento__item p { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.bento__item:hover img { transform: scale(1.06); }
.bento__item h2, .bento__item h3 { color: #fff; font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem); margin-bottom: .45rem; }
.bento__item p { color: rgba(255, 255, 255, .86); font-size: .98rem; max-width: 36rem; margin-bottom: .9rem; }
.bento__item .link-arrow { color: var(--leaf); }
.bento__tag {
  position: absolute; top: 1.2rem; left: 1.2rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.bento__item--a { grid-column: span 4; grid-row: span 2; }
.bento__item--b { grid-column: span 2; }
.bento__item--c { grid-column: span 2; }
.bento__item--d { grid-column: span 2; }
.bento__item--e { grid-column: span 2; }
.bento__item--f { grid-column: span 2; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--a { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .bento__item--b, .bento__item--c, .bento__item--d, .bento__item--e, .bento__item--f { grid-column: span 1; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__item { grid-column: auto !important; } }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.5rem; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }
.check-list li { position: relative; padding-left: 2.1rem; line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016837' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(124, 193, 66, .18); }
.check-list strong { color: var(--ink); }

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.offer-grid li {
  display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--ink);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.offer-grid li:hover { border-color: var(--leaf); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.offer-grid h3 { font-size: 1rem; margin: 0; letter-spacing: -.005em; font-weight: 600; line-height: 1.35; }
.offer-grid .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--mint-100); color: var(--green-700); }
@media (max-width: 640px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall img { aspect-ratio: 4 / 5; }
.media-frame--wide img { aspect-ratio: 16 / 10; }
.media-frame--square img { aspect-ratio: 1; }
.media-stack { position: relative; padding: 0 0 12% 12%; }
.media-stack .media-frame:last-child {
  position: absolute; width: 48%; right: -4%; bottom: 0; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-950); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 8; background: var(--mint-100); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- Award band ---------- */
.award {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #d6e7df; padding: clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.award::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(124, 193, 66, .35), transparent 65%);
}
.award h2 { color: #fff; }
.award img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(-2.5deg); transition: transform .5s var(--ease); }
.award:hover img { transform: rotate(0) scale(1.02); }
.award__badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
  background: rgba(124, 193, 66, .16); color: var(--leaf); font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
}
@media (max-width: 860px) { .award { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem;
  background: var(--green-700); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  box-shadow: 0 10px 20px -8px rgba(1, 104, 55, .6);
}
.step__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; } .step:nth-child(even) .step__media { order: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: #bfd8cb; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2, .faq summary h3, .faq summary h5 { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016837' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--leaf-soft); }
.faq__body { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq__body .check-list { margin-top: .9rem; color: var(--ink-2); }

/* ---------- Testimonials ---------- */
.quote {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem; height: 100%;
}
.quote__stars { display: flex; gap: 2px; color: #f5b301; }
.quote__stars .icon { width: 18px; height: 18px; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: 1.02rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.quote__avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--leaf)); color: #fff; font-size: .95rem;
}
.quote::before {
  content: "\201C"; position: absolute; top: -1.4rem; right: .5rem; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--mint-100);
}
.reviews-widget { min-height: 220px; }

/* ---------- Gallery / lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mint-100); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery a::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: rgba(4, 32, 26, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.gallery a:hover img { transform: scale(1.07); }
.gallery a:hover::after { opacity: 1; }
@media (max-width: 860px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }

.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry a { display: block; margin-bottom: 1rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; }
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4rem 1rem;
  background: rgba(4, 20, 16, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; width: auto; max-width: min(1200px, 100%); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; color: #cfe0d8; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 70%, var(--green-600));
  color: #d6e7df; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem 3rem; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(28rem 18rem at 100% 0%, rgba(124, 193, 66, .35), transparent 60%),
    radial-gradient(22rem 16rem at 0% 120%, rgba(126, 190, 197, .35), transparent 60%);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .14; mix-blend-mode: luminosity; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { max-width: 44rem; color: #cfe2d9; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }
.cta-section { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--green-900); color: #cfe0d8; border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 193, 66, .3), transparent 65%); }
.contact-card h2, .contact-card h3, .contact-card h4 { color: #fff; }
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--leaf); }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--leaf); }
.contact-list small { display: block; color: #9fbcaf; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--green-600); }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mint-50);
  transition: border-color .2s, background-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #93a49c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 4px rgba(1, 104, 55, .12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2412d; }
.hp { position: absolute !important; left: -9999px !important; }
.form__status { margin: 0; font-size: .95rem; font-weight: 600; min-height: 1.5em; }
.form__status.is-success { color: var(--green-700); }
.form__status.is-error { color: #b4321f; }
.form .btn { justify-self: start; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #a9c2b7; font-size: .97rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 104, 55, .45), transparent 65%);
}
.site-footer a { color: #dbe9e2; text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.footer-main { position: relative; display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: clamp(2rem, 4vw, 3rem); padding: clamp(3.5rem, 6vw, 5rem) 0 3rem; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: .75rem 1rem; margin-bottom: 1.25rem; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1.1rem; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-contact { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; }
.footer-contact .icon { color: var(--leaf); }
.footer-sponsor {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; color: #dbe9e2;
}
.footer-sponsor .icon { color: var(--leaf); }
.site-footer .socials { margin-top: 1.25rem; gap: .5rem; }
.site-footer .socials a { width: 38px; height: 38px; background: rgba(255, 255, 255, .06); }
.site-footer .socials a:hover { background: var(--leaf); color: var(--green-950); }
.footer-form .field input, .footer-form .field textarea {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff;
}
.footer-form .field textarea { min-height: 96px; }
.footer-form .field input:focus, .footer-form .field textarea:focus { background: rgba(255, 255, 255, .08); border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(124, 193, 66, .15); }
.footer-form .field label { color: #dbe9e2; }
.footer-form .form { gap: .8rem; }
.footer-form .form__status.is-success { color: var(--leaf); }
.footer-form .form__status.is-error { color: #ffb4a6; }
.footer-bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: #87a598;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* Mobile call bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(6, 41, 31, .25);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; padding: .8rem 1rem; }
@media (max-width: 720px) { .mobile-cta { display: flex; } .site-footer { padding-bottom: 76px; } }

/* ---------- Misc ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green-700); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.pill-list li { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.callout {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--leaf-soft); color: var(--green-800); font-weight: 500;
}
.callout .icon { color: var(--green-700); width: 26px; height: 26px; margin-top: 2px; }
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); }
.promo-tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border-radius: 999px;
  background: var(--leaf); color: var(--green-950); font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.divider-wave { display: block; width: 100%; height: 60px; color: var(--mint-50); }
.placeholder-card { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem); border: 2px dashed #c7dbd0; border-radius: var(--radius-lg); background: #fff; }
.placeholder-card .feature__icon { margin-inline: auto; }

/* ---------- Reveal animations ---------- */
/* Only elements that start below the fold are hidden (main.js adds .is-pending to them),
   so nothing visible on first paint waits for JavaScript — keeps LCP fast. */
.reveal.is-pending { opacity: 0; transform: translateY(26px); }
.reveal.is-pending.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .site-footer, .cta-section { display: none !important; }
}

/* Top bar on small screens */
.topbar__phone { white-space: nowrap; }
@media (max-width: 520px) { .topbar__phone span { display: none; } .topbar__right { gap: .75rem; } }

/* ---------- Blog ---------- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin: 0 0 .6rem; font-size: .85rem; color: var(--muted); }
.post-meta__cat { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.post-meta--hero { font-size: .95rem; margin-top: .25rem; }
.post-meta--hero span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta--hero span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #a9b9b1; margin-right: .5rem; }
.post-meta--hero .icon { width: 16px; height: 16px; color: var(--green-700); }
.page-hero--center .post-meta--hero { justify-content: center; }
.post-hero__title { font-size: clamp(1.9rem, 2.6vw + .8rem, 3rem); }
.post-hero .eyebrow a { color: inherit; text-decoration: none; }
.post-hero__media img { aspect-ratio: 3 / 2; }

.post-grid { align-items: stretch; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--leaf-soft), var(--teal-soft)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--green-700); }
.post-card__placeholder .icon { width: 44px; height: 44px; opacity: .6; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.post-card__title { font-size: 1.18rem; line-height: 1.35; margin: 0 0 .55rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--green-700); }
.post-card__body > p:not(.post-meta) { flex: 1; font-size: .96rem; margin-bottom: 1rem; }
.post-card .link-arrow { margin-top: auto; }
.post-lead { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.post-card--lead { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card--lead .post-card__media { aspect-ratio: auto; min-height: 100%; }
.post-card--lead .post-card__body { padding: clamp(1.6rem, 3.5vw, 3rem); justify-content: center; }
.post-card--lead .post-card__title { font-size: clamp(1.5rem, 1.6vw + .8rem, 2.1rem); }
.post-card--lead .post-card__body > p:not(.post-meta) { flex: 0; font-size: 1.05rem; }
@media (max-width: 1000px) { .post-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .post-card--lead { grid-template-columns: 1fr; } .post-card--lead .post-card__media { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .post-grid.grid-3 { grid-template-columns: 1fr; } }

.blog-hero__page { display: block; margin-top: .4rem; font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.topic-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.topic-nav a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.topic-nav a:hover { border-color: var(--green-700); color: var(--green-700); }
.topic-nav a[aria-current="page"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.blog-list { padding-top: clamp(2rem, 4vw, 3rem); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pagination ol { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.pagination ol a, .pagination ol span { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.pagination ol a:hover { border-color: var(--green-700); color: var(--green-700); }
.pagination ol span[aria-current] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pagination .pagination__gap { display: grid; place-items: center; min-width: 1.5rem; color: var(--muted); }
.pagination__step { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; text-decoration: none; }
.pagination__step .icon { width: 18px; height: 18px; }
.pagination__step.is-disabled { color: #a9b9b1; }
@media (max-width: 520px) { .pagination ol li:not(:has([aria-current])):not(:first-child):not(:last-child) { display: none; } }

.post-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.post-aside__card { display: grid; gap: .75rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--mint-50); border: 1px solid var(--line); }
.post-aside__card .feature__icon { margin-bottom: .25rem; }
.post-aside__card h2 { font-size: 1.3rem; margin: 0; }
.post-aside__card p { font-size: .95rem; color: var(--muted); margin: 0 0 .5rem; }
.post-aside__card .btn { justify-content: center; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; max-width: 760px; } }

.post-body { max-width: 720px; font-size: 1.08rem; line-height: 1.8; overflow-wrap: break-word; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body li { color: var(--ink-2); }
.post-body p { margin: 0 0 1.25em; }
.post-body h2 { font-size: clamp(1.45rem, 1.2vw + 1rem, 1.9rem); margin: 2.2em 0 .7em; }
.post-body h3 { font-size: clamp(1.2rem, .6vw + 1rem, 1.4rem); margin: 1.9em 0 .6em; }
.post-body h4 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.post-body li { margin: .35em 0; padding-left: .2em; }
.post-body li::marker { color: var(--green-700); }
.post-body li > p { margin: 0; }
.post-body a { font-weight: 500; text-decoration: underline; }
.post-body strong, .post-body b { color: var(--ink); font-weight: 600; }
.post-body img { border-radius: var(--radius); margin: 1.75em 0; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.post-body blockquote { margin: 1.75em 0; padding: 1.1em 1.4em; border-left: 4px solid var(--leaf); background: var(--mint-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body pre { white-space: pre-wrap; background: var(--mint-50); padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: .92rem; }
.post-body .table-wrap { margin: 1.75em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.post-body th, .post-body td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body th, .post-body thead td { background: var(--mint-50); font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.post-body tr:last-child td { border-bottom: 0; }
.post-body caption { padding: .75rem 1rem; text-align: left; font-weight: 600; color: var(--muted); }
.related-posts__all { margin: 2rem 0 0; text-align: center; }
@media (max-width: 520px) { .post-meta--hero span + span::before { display: none; } .post-meta--hero { gap: .25rem 1rem; } }
