:root {
  --forest: #143d18;
  --forest-deep: #0c2a10;
  --leaf: #3f8f2e;
  --lime: #b8d44a;
  --lime-soft: #d4e87a;
  --meadow: #eef6d8;
  --cream: #f7faf0;
  --sun: #f0c419;
  --ember: #e07a2f;
  --ink: #142018;
  --muted: #4a5c4e;
  --line: rgba(20, 61, 24, 0.12);
  --white: #ffffff;
  --bin-yellow: #f2c94c;
  --bin-blue: #3b82c4;
  --bin-red: #d94b4b;
  --bin-green: #3f8f2e;
  --radius: 1.25rem;
  --shadow: 0 18px 50px rgba(12, 42, 16, 0.12);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Sora", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#root {
  min-height: 100vh;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site main {
  flex: 1;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--forest);
  max-width: 18ch;
}

.section-lead {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ember);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(224, 122, 47, 0.28);
}

.btn-primary:hover {
  background: #c96824;
}

.btn-secondary {
  background: var(--forest);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--forest-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 250, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 42, 16, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--forest);
  background: rgba(184, 212, 74, 0.25);
}

.nav-cta {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--forest);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer */
.footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  max-width: 28ch;
}

.footer h4 {
  color: var(--lime);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--lime-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.slogan {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(184, 212, 74, 0.35), transparent 55%),
    linear-gradient(145deg, var(--forest-deep) 0%, var(--leaf) 55%, #5aa83a 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(240, 196, 25, 0.18), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 14ch;
}

.page-hero p {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.home-hero-media {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 42, 16, 0.35) 0%, rgba(12, 42, 16, 0.55) 42%, rgba(12, 42, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 42, 16, 0.55) 0%, transparent 55%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(3rem, 8vw, 5.5rem);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  animation: riseIn 0.9s ease both;
}

.home-hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.home-hero-brand em {
  display: block;
  font-style: normal;
  color: var(--lime);
}

.home-hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  max-width: 28ch;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
}

.home-hero .lead {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-soft);
}

.rrr-strip {
  background: var(--meadow);
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
}

.rrr-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--forest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rrr-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.rrr-track i {
  color: var(--leaf);
  font-style: normal;
}

/* Feature / service grids */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.why-item {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(63, 143, 46, 0.35);
}

.why-item .mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--meadow);
  color: var(--leaf);
  font-weight: 800;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.why-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.services-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service-tile {
  position: relative;
  min-height: 280px;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  background: var(--forest);
  isolation: isolate;
  transition: transform 0.35s ease;
}

.service-tile:hover {
  transform: translateY(-5px);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.95;
}

.service-tile.collect::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(240, 196, 25, 0.35), transparent 40%),
    linear-gradient(160deg, #1a5c24, #0c2a10);
}

.service-tile.segregate::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 196, 0.35), transparent 40%),
    linear-gradient(160deg, #246b34, #102e14);
}

.service-tile.compost::before {
  background:
    radial-gradient(circle at 70% 70%, rgba(184, 212, 74, 0.4), transparent 45%),
    linear-gradient(160deg, #3f8f2e, #143d18);
}

.service-tile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.service-tile p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin: 0;
}

.bins {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bins i {
  width: 14px;
  height: 22px;
  border-radius: 3px 3px 2px 2px;
}

.bins .y { background: var(--bin-yellow); }
.bins .b { background: var(--bin-blue); }
.bins .r { background: var(--bin-red); }
.bins .g { background: var(--bin-green); }

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, var(--forest-deep), var(--leaf) 70%, #6bb83a);
  color: var(--white);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 16ch;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 36ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.process-step:nth-child(2) {
  background: var(--leaf);
}

.process-step:nth-child(3) {
  background: #2f6f28;
}

.process-step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.mission-panel {
  background: var(--forest-deep);
  color: var(--white);
  border-radius: calc(var(--radius) + 0.4rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-panel h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  max-width: 12ch;
}

.check-list {
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.88);
}

.check-list .tick {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.practices {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.practice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.practice:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}

.practice .icon {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.practice h3 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.practice p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Services page */
.service-blocks {
  display: grid;
  gap: 2rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 280px;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-block.reverse .service-copy {
  order: 2;
}

.service-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
}

.service-visual.collect {
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 196, 25, 0.35), transparent 45%),
    linear-gradient(145deg, #1f6b2c, #0f3014);
}

.service-visual.segregate {
  background:
    radial-gradient(circle at 70% 40%, rgba(59, 130, 196, 0.4), transparent 45%),
    linear-gradient(145deg, #245f8a, #12324a);
}

.service-visual.compost {
  background:
    radial-gradient(circle at 50% 70%, rgba(184, 212, 74, 0.45), transparent 50%),
    linear-gradient(145deg, #4a9a35, #1a4d1a);
}

.service-visual.scrap {
  background:
    radial-gradient(circle at 40% 40%, rgba(224, 122, 47, 0.35), transparent 45%),
    linear-gradient(145deg, #8a5a2b, #3d2814);
}

.service-visual.garden {
  background:
    radial-gradient(circle at 60% 30%, rgba(212, 232, 122, 0.4), transparent 45%),
    linear-gradient(145deg, #2f7a3a, #163d1c);
}

.service-visual.train {
  background:
    radial-gradient(circle at 35% 65%, rgba(184, 212, 74, 0.3), transparent 45%),
    linear-gradient(145deg, #1b4d1b, #0c2a10);
}

.visual-mark {
  width: min(70%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  animation: pulseSoft 4s ease-in-out infinite;
}

.service-copy {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-copy h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  color: var(--forest);
}

.service-copy p {
  color: var(--muted);
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.workflow span {
  background: var(--meadow);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

/* Sustainability */
.rs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.r-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.r-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.r-card .glyph {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--meadow);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.r-card h3 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.r-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.zero-banner {
  margin-top: 3rem;
  border-radius: calc(var(--radius) + 0.4rem);
  padding: clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 85% 50%, rgba(184, 212, 74, 0.25), transparent 40%),
    linear-gradient(135deg, var(--forest-deep), #1f5c28);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.zero-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 12ch;
}

.zero-orb {
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--lime-soft), var(--leaf) 45%, var(--forest) 85%);
  box-shadow: 0 0 0 12px rgba(184, 212, 74, 0.15), 0 0 0 24px rgba(184, 212, 74, 0.08);
  animation: spinSlow 24s linear infinite;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  padding: 1rem;
}

.segregation-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.bin-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.bin-card {
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem;
  text-align: center;
  color: var(--white);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.bin-card strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1.2;
}

.bin-card span {
  font-size: 0.72rem;
  opacity: 0.85;
}

.bin-card.general { background: #4a6fa5; }
.bin-card.food { background: var(--bin-green); }
.bin-card.hazard { background: var(--bin-red); }
.bin-card.recycle { background: #d4a017; color: var(--ink); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}

.contact-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.45rem;
}

.contact-card a,
.contact-card p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--forest);
  margin: 0;
}

.contact-card p.note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(63, 143, 46, 0.15);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  background: var(--meadow);
  border: 1px solid rgba(63, 143, 46, 0.3);
  color: var(--forest);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Reveal animation helpers */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.8s ease forwards;
}

.reveal.d1 { animation-delay: 0.1s; }
.reveal.d2 { animation-delay: 0.2s; }
.reveal.d3 { animation-delay: 0.3s; }
.reveal.d4 { animation-delay: 0.4s; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 960px) {
  .why-grid,
  .services-preview,
  .process-flow,
  .practices,
  .rs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro,
  .mission-panel,
  .service-block,
  .service-block.reverse .service-copy,
  .zero-banner,
  .segregation-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-copy {
    order: 0;
  }

  .practices,
  .rs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practices .practice:last-child,
  .rs-grid .r-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(247, 250, 240, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .why-grid,
  .services-preview,
  .process-flow,
  .bin-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .practices,
  .rs-grid {
    grid-template-columns: 1fr;
  }

  .practices .practice:last-child,
  .rs-grid .r-card:last-child {
    grid-column: auto;
  }

  .home-hero {
    min-height: min(88vh, 720px);
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--forest-deep);
  display: block;
}

.gallery-card--video video {
  aspect-ratio: 16 / 10;
}

.gallery-card figcaption {
  padding: 0.9rem 1rem 1.1rem;
  display: grid;
  gap: 0.25rem;
}

.gallery-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.gallery-card figcaption span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.photo-panel {
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  min-height: 280px;
  background: var(--forest-deep) center / cover no-repeat;
  position: relative;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 42, 16, 0.45));
  pointer-events: none;
}

.media-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.media-strip a,
.media-strip .media-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
}

.media-strip img,
.media-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  display: block;
  transition: transform 0.45s ease;
}

.media-strip a:hover img {
  transform: scale(1.04);
}

.media-strip .media-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.media-strip a::after,
.media-strip .media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(12, 42, 16, 0.72));
}

.service-visual.has-photo {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.service-visual.has-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-visual.has-photo .visual-mark {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  font-size: 1.1rem;
  background: rgba(12, 42, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: none;
}

.about-photo {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  min-height: 320px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

@media (max-width: 960px) {
  .gallery-grid,
  .media-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .gallery-grid,
  .media-strip {
    grid-template-columns: 1fr;
  }
}

