/* ============================================================
   VIGO INDUSTRIES (PTY) LTD — Main Stylesheet
   Palette sampled directly from the logo artwork: the deep forest
   green of the icon/wordmark, and the olive-lime sweep of its
   highlight. Supports light + dark theme via [data-theme] on
   <html>, toggled by js/script.js.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand greens (sampled from the logo) — used for chrome that
     stays dark in both themes: header, hero, footer, stat bands. */
  --forest-900: #052013;
  --forest-800: #0a3a22;
  --forest-700: #0f5230;
  --forest-600: #167a45;

  /* Accent — the logo's own olive-lime highlight, not a generic bright lime */
  --lime-500: #74a83c;
  --lime-400: #93c25e;
  --lime-050: #f0f6e9;

  /* Secondary brand green — checkmarks, tags, success states */
  --leaf-500: #2f7d46;
  --leaf-050: #e6f3ea;

  /* Muted neutrals used on dark chrome (hero copy, footer text) */
  --mist-400: #8fae9c;
  --mist-200: #cfe3d6;

  /* Base neutrals (light-theme defaults; overridden below for dark) */
  --paper-050: #f4f8f5;
  --paper-000: #ffffff;
  --ink-900: #10201a;
  --ink-600: #48584f;
  --ink-400: #79897f;
  --line-100: #e1e8e3;

  /* Semantic surface/text tokens — these are what components use,
     so a single override block gives us a real dark theme. */
  --surface-page: var(--paper-000);
  --surface-alt: var(--paper-050);
  --surface-card: var(--paper-000);
  --border-subtle: var(--line-100);
  --text-heading: var(--ink-900);
  --text-body: var(--ink-600);
  --text-faint: var(--ink-400);
  --input-bg: var(--paper-050);
  --shadow-rgb: 5, 32, 19;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(var(--shadow-rgb), 0.06);
  --shadow-md: 0 12px 30px rgba(var(--shadow-rgb), 0.12);
  --shadow-lg: 0 24px 60px rgba(var(--shadow-rgb), 0.18);
  --container: 1180px;
  --transition: 0.25s ease;
}

/* ---------- Dark theme overrides ---------- */
[data-theme="dark"] {
  --surface-page: #0c1613;
  --surface-alt: #111e19;
  --surface-card: #16241e;
  --border-subtle: #253830;
  --text-heading: #eef3ef;
  --text-body: #b9c6bd;
  --text-faint: #8a978f;
  --input-bg: #182720;
  --shadow-rgb: 0, 0, 0;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--text-heading); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lime-500);
  display: inline-block;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--text-body); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lime-400), var(--lime-500) 60%, var(--leaf-500));
  color: var(--forest-900);
  box-shadow: 0 10px 24px rgba(116, 168, 60, .35);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 34px rgba(116, 168, 60, .5); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  border-color: var(--text-heading);
  color: var(--text-heading);
}
.btn-outline-dark:hover { background: var(--text-heading); color: var(--surface-page); }
.btn-block { width: 100%; }

/* ---------- Light / dark theme switch ---------- */
.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  flex: none;
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.65);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.theme-btn svg { width: 15px; height: 15px; flex: none; }
.theme-btn:hover { color: #fff; }
.theme-btn.is-active {
  background: var(--lime-500);
  color: var(--forest-900);
}
@media (max-width: 480px) {
  .theme-btn span { display: none; }
  .theme-btn { padding: 8px 10px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.is-scrolled {
  background: rgba(5, 32, 19, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); color: #fff; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.brand-logo { height: 36px; width: auto; display: block; transition: height var(--transition); }
.site-header.is-scrolled .brand-logo { height: 30px; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: #dfe8f2;
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: var(--transition);
}
.nav-toggle::before { transform: translateY(-7px); }
.nav-toggle::after { transform: translateY(5px); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 0 0 0 30%;
    background: var(--forest-900);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 999;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .main-nav a { display: block; width: 100%; padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .main-nav .nav-inline-cta { display: inline-flex; margin-top: 18px; }
}
@media (min-width: 901px) {
  .main-nav .nav-inline-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 15% 20%, rgba(116,168,60,.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(47,125,70,.22), transparent 50%),
    linear-gradient(160deg, var(--forest-900) 0%, var(--forest-800) 55%, var(--forest-700) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: 540px;
  max-width: 52vw;
  height: auto;
  opacity: .08;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-watermark { width: 380px; max-width: 66vw; opacity: .07; right: -8%; }
}
@media (max-width: 560px) {
  .hero-watermark { opacity: .06; }
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--lime-400); }
.hero-lede { font-size: 1.15rem; color: var(--mist-200); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats { display: flex; gap: 28px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--lime-400); }
.hero-stats div span { font-size: .82rem; color: var(--mist-200); text-transform: uppercase; letter-spacing: .06em; }

.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hero-panel-list { display: flex; flex-direction: column; gap: 14px; }
.hero-panel-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(5,32,19,.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform var(--transition), background var(--transition);
}
.hero-panel-item:hover { transform: translateX(4px); background: rgba(5,32,19,.55); }
.hero-panel-item .ic {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-400));
  color: var(--forest-900); font-weight: 700;
}
.hero-panel-item span { color: var(--mist-200); font-size: .92rem; }

/* ---------- Wave divider (transitions dark chrome into page content) ---------- */
.wave-divider {
  position: relative;
  height: 56px;
  margin-top: -1px;
  background-color: var(--surface-page);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%2060%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C32%20C240%2C80%20480%2C0%20720%2C24%20C960%2C48%201200%2C8%201440%2C40%20L1440%2C60%20L0%2C60%20Z%27/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%2060%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C32%20C240%2C80%20480%2C0%20720%2C24%20C960%2C48%201200%2C8%201440%2C40%20L1440%2C60%20L0%2C60%20Z%27/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.wave-divider.on-alt { background-color: var(--surface-alt); }
@media (max-width: 640px) { .wave-divider { height: 34px; } }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--forest-800);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.strip-track { display: flex; gap: 56px; white-space: nowrap; animation: scroll-left 28s linear infinite; width: max-content; }
.strip-track span { color: var(--mist-200); font-family: var(--font-head); font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards / Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  height: 100%;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime-500), var(--leaf-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(var(--shadow-rgb), .16); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--lime-050), var(--leaf-050));
  color: var(--leaf-500);
  margin-bottom: 22px;
  font-size: 1.4rem;
  transition: transform var(--transition);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--text-body); font-size: .96rem; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--text-heading); }
.card-link .arrow { transition: transform var(--transition); }
.card:hover .card-link .arrow { transform: translateX(4px); }

.tone-green .card-icon { background: var(--leaf-050); color: var(--leaf-500); }
[data-theme="dark"] .card-icon { background: rgba(116,168,60,.14); color: var(--lime-400); }
[data-theme="dark"] .tone-green .card-icon { background: rgba(47,125,70,.22); color: var(--lime-400); }

/* ---------- Section variants ---------- */
.section-alt { background: var(--surface-alt); transition: background var(--transition); }
.section-dark {
  background: linear-gradient(160deg, var(--forest-900), var(--forest-700));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: var(--mist-200); }
.section-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section-dark .card p { color: var(--mist-200); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background: linear-gradient(150deg, var(--forest-800), var(--forest-600));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media .glyph { font-size: 5rem; opacity: .9; color: var(--lime-400); }
.split ul.check-list { margin-top: 22px; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border-subtle); }
.check-list li:last-child { border-bottom: none; }
.check-list .dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--leaf-050); color: var(--leaf-500);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
  margin-top: 2px;
}
[data-theme="dark"] .check-list .dot { background: rgba(47,125,70,.22); color: var(--lime-400); }

/* ---------- Values grid ---------- */
.value-card { text-align: center; padding: 30px 20px; }
.value-card .card-icon { margin: 0 auto 18px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--border-subtle); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -41px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime-500); border: 4px solid var(--surface-page);
  box-shadow: 0 0 0 2px var(--lime-500);
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { color: var(--text-body); margin: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--forest-900); color: #fff; }
.stats-band .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stats-band .grid-4 { grid-template-columns: repeat(2,1fr); } }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--lime-400); }
.stat span { color: var(--mist-200); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Sector tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: .88rem; font-weight: 600; color: var(--text-heading);
}

/* ---------- Project cards ---------- */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-media {
  height: 190px;
  background: linear-gradient(135deg, var(--forest-800), var(--forest-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: var(--lime-400);
}
.project-body { padding: 24px 26px; }
.project-tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf-500); background: var(--leaf-050); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
[data-theme="dark"] .project-tag { background: rgba(47,125,70,.22); color: var(--lime-400); }

/* ---------- Testimonials / quote ---------- */
.quote-block {
  background: var(--surface-alt);
  border-left: 4px solid var(--lime-500);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  font-size: 1.05rem;
  color: var(--text-heading);
  font-family: var(--font-head);
  font-weight: 500;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--forest-900), var(--forest-700) 60%, var(--leaf-500));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: var(--mist-200); margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-heading); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--input-bg);
  color: var(--text-heading);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime-500); background: var(--surface-card);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--text-faint); margin-top: 8px; }
#formStatus { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); font-size: .92rem; display: none; }
#formStatus.success { display: block; background: var(--leaf-050); color: var(--leaf-500); }
#formStatus.error { display: block; background: #fdeceb; color: #c0392b; }
[data-theme="dark"] #formStatus.success { background: rgba(47,125,70,.2); color: var(--lime-400); }
[data-theme="dark"] #formStatus.error { background: rgba(192,57,43,.2); color: #ff8a80; }

/* ---------- Contact info cards ---------- */
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
}
.info-card .ic {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: var(--forest-900); color: var(--lime-400);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-card h4 { margin-bottom: 4px; font-size: 1rem; }
.info-card p { margin: 0; color: var(--text-body); font-size: .92rem; }
.info-card a { color: var(--text-heading); font-weight: 600; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map-embed iframe { filter: invert(0.92) hue-rotate(140deg) brightness(0.95) contrast(0.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--mist-200); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--lime-400); }
.footer-about p { color: var(--mist-200); font-size: .92rem; max-width: 320px; }
.footer-group-tag {
  color: var(--lime-400) !important;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-top: 10px;
  max-width: 320px;
}
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  font-size: .85rem;
}
.social-row a:hover { background: var(--lime-500); border-color: var(--lime-500); color: var(--forest-900); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--mist-400);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 168px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(116,168,60,.16), transparent 45%),
    linear-gradient(160deg, var(--forest-900), var(--forest-700));
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--mist-200); font-size: .88rem; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--lime-400); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
  border: none; font-size: 1.1rem;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.whatsapp-float {
  position: fixed; left: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: #1fb356; transform: translateY(-3px); color: #fff; }
@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
