/* Katch Maintenance — Modern Stylesheet
   Mobile-first. CSS vars. No framework. */

:root {
  --green-900: #1b3a1f;
  --green-800: #234f29;
  --green-700: #2f6b36;
  --green-600: #3d8a47;
  --green-500: #4caf50;
  --green-400: #6fc174;
  --green-50:  #ecf6ed;

  --slate-950: #0b0f0c;
  --slate-900: #11181c;
  --slate-800: #1f2a30;
  --slate-700: #2f3d44;
  --slate-500: #5a6770;
  --slate-400: #8a949b;
  --slate-300: #b7bfc4;
  --slate-200: #d8dde0;
  --slate-100: #eef1f2;
  --slate-50:  #f7f9f9;

  --white: #ffffff;
  --black: #000000;

  --accent: var(--green-600);
  --accent-strong: var(--green-700);
  --accent-soft: var(--green-50);

  --text: var(--slate-900);
  --text-muted: var(--slate-500);
  --bg: var(--white);
  --bg-alt: var(--slate-50);
  --border: var(--slate-200);

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 15, 12, .06), 0 1px 3px rgba(11, 15, 12, .04);
  --shadow:    0 4px 12px rgba(11, 15, 12, .08), 0 2px 4px rgba(11, 15, 12, .04);
  --shadow-lg: 0 20px 40px rgba(11, 15, 12, .12), 0 8px 16px rgba(11, 15, 12, .06);

  --max-w: 1200px;
  --gutter: clamp(1rem, 2vw + .5rem, 2rem);

  --header-h: 76px;

  --easing: cubic-bezier(.2,.6,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-strong); text-decoration: none; transition: color .15s var(--easing); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--slate-900);
}
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem); }
h2 { font-size: clamp(1.75rem, 2.6vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--slate-700); }

/* Layout helpers */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--slate-900); color: var(--slate-100); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--slate-300); }

.row { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: clamp(1rem, 2vw, 1.75rem); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}

.section-title { max-width: 780px; }
.section-title p { font-size: 1.0625rem; color: var(--text-muted); margin-top: .75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  font-weight: 700; font-size: .95rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; user-select: none;
  transition: transform .15s var(--easing), background .15s var(--easing), color .15s var(--easing), border-color .15s var(--easing), box-shadow .2s var(--easing);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-strong); color: var(--white); box-shadow: 0 8px 24px rgba(61, 138, 71, .35); }
.btn-secondary { background: var(--white); color: var(--slate-900); border-color: var(--slate-200); }
.btn-secondary:hover { border-color: var(--slate-900); color: var(--slate-900); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

/* Top utility bar */
.topbar {
  background: var(--slate-900); color: var(--slate-300);
  font-size: .85rem;
}
.topbar a { color: var(--slate-300); }
.topbar a:hover { color: var(--white); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding-block: .65rem;
}
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contacts svg { width: 14px; height: 14px; color: var(--green-400); }
.topbar-social { display: flex; gap: .5rem; }
.topbar-social a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.topbar-social a:hover { background: var(--accent); color: var(--white); }
.topbar-social svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .topbar { display: none; }
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--slate-900); }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-text small { font-size: .72rem; color: var(--text-muted); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--slate-800); font-weight: 600; font-size: .95rem;
  padding: .5rem .9rem; border-radius: 999px;
}
.nav a:hover { background: var(--slate-100); color: var(--slate-900); }
.nav a.active { color: var(--accent-strong); }
.nav-cta { margin-left: .75rem; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: .5rem;
  border-radius: 8px;
}
.nav-toggle:hover { background: var(--slate-100); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    color: var(--slate-800);
    z-index: 60;
    position: relative;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    width: min(86vw, 360px);
    margin-left: auto;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 1rem var(--gutter) 2rem;
    gap: 0;
    transform: translateX(105%);
    transition: transform .28s var(--easing);
    box-shadow: -12px 0 30px rgba(0, 0, 0, .18);
    overflow-y: auto;
    z-index: 50;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav a {
    padding: 1rem 1.1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--slate-100);
    border-radius: 0;
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav-cta {
    margin: 1rem 0 0;
    border-radius: 999px;
    text-align: center;
    justify-content: center;
  }
  .header-inner { gap: .5rem; }
  .brand img { height: 36px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .12em; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--slate-950);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(11,15,12,.35) 0%, rgba(11,15,12,.65) 60%, rgba(11,15,12,.85) 100%), url('../../images/slide01.jpg');
  background-size: cover; background-position: center;
  z-index: -2;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 30% 50%, rgba(61,138,71,.45), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}
.hero-inner {
  display: grid; gap: 2.5rem;
  padding-block: clamp(4rem, 10vw, 8rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.3fr .9fr; }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw + 1rem, 4.75rem);
}
.hero h1 .accent { color: var(--green-400); }
.hero-lead {
  font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem);
  color: rgba(255,255,255,.85);
  margin-top: 1.25rem; max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-trust {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  color: rgba(255,255,255,.7); font-size: .92rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green-400); }

.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
}
.hero-card h3 { color: var(--white); margin-bottom: 1rem; }
.hero-card ul { list-style: none; padding: 0; }
.hero-card li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding-block: .55rem; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-card li:first-child { border-top: 0; padding-top: 0; }
.hero-card li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--green-400); margin-top: 2px; }

/* Page header (non-home) */
.page-hero {
  position: relative;
  background: var(--slate-900) url('../../images/slide02.jpg') center / cover no-repeat;
  color: var(--white);
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,12,.55), rgba(11,15,12,.75));
  z-index: -1;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.8); margin-top: .75rem; max-width: 60ch; }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--white); }

/* Service cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), border-color .2s var(--easing);
  height: 100%;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.service-card p { color: var(--text-muted); font-size: .97rem; }
.service-card .more {
  margin-top: 1.25rem; font-weight: 700; font-size: .9rem; color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: .35rem;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform .15s var(--easing); }
.service-card:hover .more svg { transform: translateX(3px); }

/* About split */
.about-split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: 1.1fr 1fr; } }
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .9rem;
}
.about-badge strong { font-size: 1.6rem; color: var(--accent-strong); line-height: 1; }
.about-badge span { font-size: .85rem; color: var(--text-muted); }

.feature-list { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; padding: 0; list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .97rem;
}
.feature-list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .5rem; }
.cta-band .btn-primary { background: var(--white); color: var(--green-800); }
.cta-band .btn-primary:hover { background: var(--slate-100); color: var(--green-900); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
@media (min-width: 800px) { .cta-actions { justify-content: flex-end; } }

/* Gallery */
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.ba-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--easing), box-shadow .2s var(--easing);
}
.ba-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ba-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s var(--easing);
}
.ba-card .after { opacity: 0; }
.ba-card:hover .after, .ba-card:focus-within .after { opacity: 1; }
.ba-card::after {
  content: attr(data-label);
  position: absolute; bottom: .65rem; left: .65rem;
  background: rgba(11,15,12,.7);
  color: var(--white);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .6rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ba-card:hover::after,
.ba-card:focus-within::after,
.ba-card[data-state="after"]::after { content: attr(data-label-after); background: var(--accent); }
.ba-card[data-state="after"] .after { opacity: 1; }

/* Testimonials */
.t-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex; flex-direction: column;
}
.t-stars { display: flex; gap: 2px; color: #f5b800; margin-bottom: .75rem; }
.t-stars svg { width: 18px; height: 18px; }
.t-text { color: var(--slate-800); flex: 1; }
.t-meta { display: flex; align-items: center; gap: .8rem; margin-top: 1.25rem; }
.t-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-meta strong { display: block; font-size: .95rem; color: var(--slate-900); }
.t-meta span { font-size: .82rem; color: var(--text-muted); }

/* Stats strip */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-size: clamp(2rem, 3vw + 1rem, 3rem); color: var(--accent); font-weight: 800; line-height: 1; }
.stat span { font-size: .9rem; color: var(--text-muted); margin-top: .35rem; display: block; }

/* Forms */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--slate-800); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .15s var(--easing), box-shadow .15s var(--easing);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(76,175,80,.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-status { font-weight: 600; }
.form-status.success { color: var(--accent-strong); }
.form-status.error { color: #b6212f; }

/* Contact two-col */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-info {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-info-item {
  display: flex; gap: .9rem; padding-block: .9rem;
  border-top: 1px solid var(--border);
}
.contact-info-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-info-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-strong);
  box-shadow: var(--shadow-sm);
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-item strong { display: block; font-size: .82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-info-item a, .contact-info-item span { color: var(--slate-900); font-weight: 600; font-size: 1.02rem; }
.contact-info-item a:hover { color: var(--accent); }

/* Footer */
.footer { background: var(--slate-950); color: var(--slate-300); padding-block: clamp(3rem, 5vw, 4.5rem) 0; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer a { color: var(--slate-300); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text small { color: var(--slate-400); }
.footer-blurb { margin-top: 1rem; font-size: .92rem; color: var(--slate-400); max-width: 38ch; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--slate-400);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .7rem var(--gutter);
  gap: .5rem;
  box-shadow: 0 -8px 24px rgba(11,15,12,.08);
}
.sticky-cta .btn { flex: 1; padding: .85rem .8rem; font-size: .9rem; }
.sticky-cta .btn-secondary { flex: 0 0 auto; padding: .85rem 1rem; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(11,15,12,.92);
  padding: 1rem;
}
.lb.is-open { display: flex; }
.lb-figure {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .lb-figure { grid-template-columns: 1fr; } }
.lb-figure figure { margin: 0; text-align: center; }
.lb-figure img { width: 100%; border-radius: var(--radius); max-height: 78vh; object-fit: cover; }
.lb-figure figcaption {
  margin-top: .5rem; color: var(--white); font-weight: 700;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.lb-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.12); color: var(--white);
  border: 0; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-close svg { width: 22px; height: 22px; margin: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--easing), transform .6s var(--easing); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Contrast hardening — buttons sitting on green/dark backgrounds */
.hero .btn-primary {
  background: var(--green-500);
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.hero .btn-primary:hover {
  background: var(--green-400);
  color: var(--green-900);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.hero .btn-ghost {
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
}
.cta-band .btn-ghost {
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
}
.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
}

