:root {
  --bg: #f5f0e7;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #173532;
  --muted: #4d6662;
  --brand: #0e6761;
  --brand-deep: #0a4f4b;
  --accent: #c96f14;
  --bio-red: #ea3840;
  --bio-red-deep: #d12e35;
  --line: #d8d0c2;
  --line-strong: #b9aea0;
  --ok: #0d7a4a;
  --shadow-soft: 0 16px 38px rgba(17, 43, 40, 0.14);
  --shadow-strong: 0 24px 52px rgba(9, 34, 32, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    repeating-radial-gradient(circle at 0 0,
      rgba(23, 53, 50, 0.11) 0 0.75px,
      transparent 0.75px 8px),
    repeating-radial-gradient(circle at 100% 100%,
      rgba(255, 255, 255, 0.2) 0 0.8px,
      transparent 0.8px 10px),
    repeating-linear-gradient(35deg,
      rgba(18, 44, 41, 0.07) 0,
      rgba(18, 44, 41, 0.07) 1px,
      transparent 1px,
      transparent 7px),
    repeating-linear-gradient(-35deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 1px,
      transparent 1px,
      transparent 9px),
    radial-gradient(circle at 10% -25%, #fddfae 0%, transparent 42%),
    radial-gradient(circle at 95% 7%, #bfefe8 0%, transparent 36%),
    linear-gradient(180deg, #f8f4ec 0%, #f5f0e7 42%, #f3ede2 100%);
  background-blend-mode: normal, normal, multiply, screen, normal, normal, normal;
  background-attachment: fixed;
}

h1,
h2,
h3,
summary,
th,
caption {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.16;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.18rem, 2.2vw, 1.44rem);
}

p,
ul,
ol {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #2c9a93;
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  z-index: 100;
  background: #ffffff;
  border: 2px solid var(--brand-deep);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.5rem;
}

.topbar {
  background: linear-gradient(120deg, #0b4742, #093935);
  color: #e7f4f2;
  font-size: 0.91rem;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.topbar a {
  color: #ffffff;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 240, 231, 0.94);
  border-bottom: 1px solid rgba(23, 53, 50, 0.12);
}

.nav-wrap {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.top-nav-sticky {
  padding: 0.25rem 0;
  min-height: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  height: clamp(70px, 10vw, 90px);
  width: auto;
  object-fit: contain;
  display: block;
}

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

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 150ms ease;
}

.main-nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.header-login {
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.header-login:hover {
  color: var(--brand);
}

.header-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.header-microcopy {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.nav-toggle:hover {
  border-color: var(--brand);
  background: var(--surface);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  min-height: 38px;
  border-radius: 10px;
}

.hero {
  position: relative;
  padding: clamp(2.2rem, 5.2vw, 4.4rem) 0 clamp(3.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 1.3rem;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 53, 50, 0.1);
  border-radius: 24px;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.hero-logo {
  position: absolute;
  bottom: -8px;
  right: -8px;
  height: clamp(160px, 24vw, 240px);
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bio-red);
  margin-bottom: 0.7rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 68ch;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 42px;
  padding: 0.66rem 1rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(132deg, var(--brand), #00a89d);
  box-shadow: 0 12px 24px rgba(0, 168, 157, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(0, 168, 157, 0.5);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  animation: bounce 2s infinite ease-in-out;
  z-index: 10;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

.btn-outline {
  color: var(--brand-deep);
  border-color: rgba(10, 79, 75, 0.55);
  background: #ffffffc9;
}

.hero-points {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 0.4rem;
}

.trust-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #eef7f6;
  border: 1px solid rgba(10, 79, 75, 0.2);
  padding: 0.1rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card {
  background: linear-gradient(170deg, #ffffff, #f8f4ec);
  border: 1px solid rgba(23, 53, 50, 0.14);
  border-radius: 24px;
  padding: clamp(1.1rem, 2.3vw, 1.5rem);
  box-shadow: var(--shadow-strong);
}

.metric-row {
  border-bottom: 1px dashed #d5ccb9;
  padding: 0.85rem 0;
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric {
  display: block;
  color: var(--bio-red);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.metric-row p {
  color: var(--muted);
}

.cred-strip {
  padding-bottom: clamp(1.6rem, 3.7vw, 2.4rem);
}

.near-hero .container {
  max-width: 100%;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

.trust-strip-items {
  border: 1px solid rgba(23, 53, 50, 0.13);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(241, 250, 247, 0.78));
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 39, 37, 0.08);
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem 2.5rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--brand);
}

.section {
  padding: clamp(2.4rem, 6vw, 4.4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(248, 243, 234, 0.72));
  border-top: 1px solid rgba(23, 53, 50, 0.08);
  border-bottom: 1px solid rgba(23, 53, 50, 0.08);
}

.section-accent {
  background:
    radial-gradient(circle at 90% 15%, rgba(252, 220, 174, 0.45) 0%, transparent 42%),
    linear-gradient(130deg, #edf6f4, #f6efe2 70%);
}

.section-contact {
  padding-bottom: 5.2rem;
}

.section-head {
  max-width: 78ch;
  display: grid;
  gap: 0.5rem;
}

.section-head p {
  color: var(--muted);
}

.cards {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 10px 22px rgba(21, 42, 39, 0.08);
}

.card p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf3f2;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

/* Waste Types */
.waste-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.waste-tile {
  background: var(--surface-strong);
  border: 1px solid rgba(23, 53, 50, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(17, 43, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.waste-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 43, 40, 0.08);
  border-color: rgba(14, 103, 97, 0.4);
}

.waste-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf3f2;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.waste-tile-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

[data-theme="dark"] .waste-tile-icon {
  background: #243640;
}

.waste-tile h3 {
  margin-bottom: 0.6rem;
  color: var(--brand-deep);
}

.waste-tile p {
  color: var(--muted);
  font-size: 0.95rem;
}

.waste-note {
  text-align: center;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.5rem;
}

.industry-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.industry-card {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 16px rgba(18, 41, 38, 0.08);
  padding: 0.9rem;
}

.industry-card p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.industry-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf3f2;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.industry-card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.comparison-table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fffefb;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table caption {
  text-align: left;
  color: var(--text);
  font-size: 0.96rem;
  padding: 0 0 0.45rem;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #dfd6c8;
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: #ecf7f5;
  color: var(--text);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody td {
  color: var(--text);
}

.estimate-card {
  border: 1px solid rgba(23, 53, 50, 0.14);
  background: #fffefb;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(16, 41, 38, 0.1);
  display: grid;
  gap: 0.55rem;
}

.estimate-card p {
  color: var(--muted);
}

.estimate-note {
  font-size: 0.92rem;
  color: var(--text);
}

.zig-image-placeholder {
  width: min(520px, 100%);
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.zig-image-placeholder.zig-left {
  margin-right: auto;
  transform: rotate(-0.6deg);
}

.zig-image-placeholder.zig-right {
  margin-left: auto;
  transform: rotate(0.6deg);
}

.zig-image-frame {
  min-height: 210px;
  border-radius: 16px;
  border: 1px dashed rgba(14, 74, 69, 0.48);
  background:
    repeating-linear-gradient(-45deg,
      rgba(12, 78, 72, 0.08) 0,
      rgba(12, 78, 72, 0.08) 9px,
      rgba(255, 255, 255, 0.65) 9px,
      rgba(255, 255, 255, 0.65) 18px),
    #f6fbfa;
  box-shadow: 0 10px 20px rgba(12, 44, 41, 0.1);
  padding: 0.9rem;
  display: grid;
  align-content: center;
  gap: 0.4rem;
}

.zig-image-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text);
}

.zig-image-frame p {
  font-weight: 600;
  color: var(--text);
}

.zig-image-spec {
  font-size: 0.86rem;
  color: var(--text);
}

.media-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.media-placeholder {
  margin: 0;
  border: 1px dashed rgba(17, 73, 68, 0.45);
  border-radius: 16px;
  background:
    repeating-linear-gradient(-45deg,
      rgba(16, 68, 64, 0.06) 0,
      rgba(16, 68, 64, 0.06) 10px,
      rgba(255, 255, 255, 0.45) 10px,
      rgba(255, 255, 255, 0.45) 20px),
    #f8fbfa;
  padding: 0.75rem;
}

.media-placeholder-inner {
  min-height: 210px;
  border: 1px solid rgba(17, 73, 68, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.85rem;
  display: grid;
  align-content: center;
  gap: 0.42rem;
}

.media-placeholder-wide {
  grid-column: 1 / -1;
}

.media-placeholder-video .media-placeholder-inner {
  min-height: 260px;
  position: relative;
}

.media-placeholder-video .media-placeholder-inner::before {
  content: "PLAY";
  position: absolute;
  right: 0.85rem;
  top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--text);
  border: 1px solid rgba(17, 73, 68, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  background: rgba(255, 255, 255, 0.9);
}

.media-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text);
}

.media-placeholder p {
  color: var(--text);
  font-weight: 600;
}

.media-spec {
  color: var(--text);
  font-size: 0.87rem;
}

.media-placeholder figcaption {
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 0.86rem;
}

.process-grid {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.process-grid li {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  box-shadow: 0 8px 18px rgba(18, 41, 38, 0.08);
}

.process-grid p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.coverage-note {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.location-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.location-links a {
  border: 1px solid rgba(10, 79, 75, 0.3);
  background: #f0faf8;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.22rem 0.68rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.coverage-panel {
  display: grid;
  gap: 0.8rem;
}

.county {
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: 0 11px 20px rgba(21, 45, 41, 0.08);
}

.county h3 {
  margin-bottom: 0.35rem;
}

.county p {
  color: var(--text);
}

.county-a {
  background: #e8f5f3;
  border: 1px solid rgba(13, 103, 97, 0.29);
}

.county-b {
  background: #fcf1e4;
  border: 1px solid rgba(201, 111, 20, 0.34);
}

.testimonial-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.testimonial-grid blockquote {
  margin: 0;
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 8px 18px rgba(15, 40, 37, 0.08);
}

.testimonial-grid p {
  color: var(--text);
  font-weight: 500;
}

.testimonial-grid cite {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 0.89rem;
  font-style: normal;
}

.faq-wrap {
  display: grid;
  gap: 0.75rem;
}

.faq-wrap details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.7rem 0.85rem;
}

.faq-wrap summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-wrap details p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.small-note {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form {
  background: var(--surface-strong);
  border: 1px solid rgba(23, 53, 50, 0.14);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.52rem;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  border-radius: 10px;
  border: 1px solid #c8beaf;
  background: #fffcf8;
  color: var(--text);
  padding: 0.62rem 0.68rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--text);
  outline: 2px solid rgba(15, 122, 115, 0.32);
}

.inline-estimate {
  margin-top: -0.2rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.inline-estimate.good {
  color: var(--text);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.form-status.error {
  color: var(--text);
}

.form-status.success {
  color: var(--ok);
}

.form-followup {
  margin-top: 0.1rem;
}

/* Hero reassurance */
.hero-reassurance {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

/* Switching list */
.switching-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 1rem;
}

.switching-list li {
  padding: 0.9rem 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 14px rgba(18, 41, 38, 0.06);
  line-height: 1.55;
}

.switching-list li strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
}

/* 2-Step Form */
.step-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.2rem;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: #eaf3f2;
  color: var(--muted);
  border: 2px solid var(--line);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.step-dot.active {
  background: var(--bio-red);
  color: #ffffff;
  border-color: var(--bio-red);
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--line);
}

/* Custom Checkboxes Layout */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0.25rem 0 1rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
  font-weight: 500;
  color: var(--text);
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: all 0.2s;
}

.custom-checkbox:hover input~.checkmark {
  border-color: var(--brand);
}

.custom-checkbox input:checked~.checkmark {
  background-color: var(--bio-red);
  border-color: var(--bio-red);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.waste-types-group {
  border: none;
  padding: 0;
  margin: 0;
}

.waste-types-group legend {
  font-weight: 700;
  color: var(--text);
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.form-step {
  display: none;
}

.form-step-active {
  display: grid;
  gap: 0.52rem;
}

.form-reassurance {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-top: 0.25rem;
}

.btn-back {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  justify-self: start;
  margin-bottom: 0.5rem;
  transition: color 200ms ease, border-color 200ms ease;
}

.btn-back:hover {
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

.step2-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.optional-tag {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88em;
}

/* Final CTA section */
.final-cta-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.final-cta-section h2 {
  margin-bottom: 0.5rem;
}

.final-cta-section p {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* Testimonial stack (replaces grid for stacked layout) */
.testimonial-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.testimonial-stack blockquote {
  margin: 0;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 40, 37, 0.08);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.testimonial-stack blockquote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.testimonial-stack p {
  color: var(--text);
  font-weight: 500;
}

.testimonial-stack cite {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.89rem;
  font-style: normal;
  font-weight: 600;
}

/* FAQ list (non-wrap variant) */
.faq-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.7rem 0.85rem;
  transition: box-shadow 250ms ease;
}

.faq-list details[open] {
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-list details p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(23, 53, 50, 0.11);
  background: #f8fcfb;
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(23, 53, 50, 0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 25ch;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--brand-deep);
}

.footer-contact {
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
}

.footer-contact svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 24;
  padding: 0.65rem 0.8rem;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  background: linear-gradient(120deg, rgba(8, 48, 45, 0.95), rgba(16, 68, 64, 0.95));
}

.mobile-cta a {
  min-height: 40px;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  color: #ffffff;
  border: 1px solid rgba(245, 252, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {

  .hero-grid,
  .contact-wrap,
  .split,
  .process-grid,
  .savings-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cards,
  .industry-grid,
  .testimonial-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .zig-image-placeholder,
  .zig-image-placeholder.zig-left,
  .zig-image-placeholder.zig-right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.35rem 0;
  }

  .topbar-inner p:last-child {
    font-size: 0.82rem;
  }

  .brand-logo {
    height: 56px;
  }

  .main-nav {
    position: absolute;
    top: calc(var(--header-h) - 4px);
    right: 4%;
    width: min(260px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.7rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fffdf9;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 8px;
    padding: 0.55rem 0.6rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-phone,
  .header-login,
  .header-microcopy {
    display: none;
  }

  .header-actions {
    gap: 0.7rem;
  }

  .brand-text {
    font-size: 1rem;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, 94%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .hero-copy,
  .hero-card,
  .contact-form,
  .estimate-card {
    padding: 0.95rem;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 5.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  [data-reveal] {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ===== Dark Mode Toggle Button ===== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--brand);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 350ms ease;
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --bg: #111a1f;
  --surface: #17232a;
  --surface-strong: #1c2b33;
  --text: #ffffff;
  --muted: #c8d8d5;
  --brand: #2cb5aa;
  --brand-deep: #22998f;
  --accent: #e89640;
  --bio-red: #ea3840;
  --bio-red-deep: #d12e35;
  --line: #2a3d44;
  --line-strong: #3a5059;
  --ok: #33c47d;
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 24px 52px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] body {
  background:
    repeating-radial-gradient(circle at 0 0,
      rgba(44, 181, 170, 0.06) 0 0.75px,
      transparent 0.75px 8px),
    repeating-radial-gradient(circle at 100% 100%,
      rgba(255, 255, 255, 0.03) 0 0.8px,
      transparent 0.8px 10px),
    repeating-linear-gradient(35deg,
      rgba(44, 181, 170, 0.04) 0,
      rgba(44, 181, 170, 0.04) 1px,
      transparent 1px,
      transparent 7px),
    repeating-linear-gradient(-35deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 9px),
    radial-gradient(circle at 10% -25%, #1a2e2b 0%, transparent 42%),
    radial-gradient(circle at 95% 7%, #152d33 0%, transparent 36%),
    linear-gradient(180deg, #111a1f 0%, #0f171c 42%, #0d1419 100%);
  color: var(--text);
}

[data-theme="dark"] .topbar {
  background: linear-gradient(120deg, #0d1e22, #0a171c);
}

[data-theme="dark"] .site-header {
  background: rgba(17, 26, 31, 0.94);
  border-bottom-color: rgba(44, 181, 170, 0.12);
}

[data-theme="dark"] .nav-toggle {
  background: #1c2b33;
  color: var(--text);
  border-color: var(--line-strong);
}

[data-theme="dark"] .nav-toggle:hover {
  border-color: var(--brand);
  background: #243640;
}

[data-theme="dark"] .main-nav a {
  color: var(--text);
}

[data-theme="dark"] .main-nav a:hover {
  color: var(--brand);
}

[data-theme="dark"] .site-footer {
  background: #17232a;
  border-top-color: var(--line);
}

[data-theme="dark"] .footer-grid {
  border-bottom-color: var(--line);
}

[data-theme="dark"] .nav-cta {
  border-color: var(--brand);
}

[data-theme="dark"] .brand-mark {
  background: linear-gradient(135deg, var(--brand), #1a7a72);
  box-shadow: 0 10px 20px rgba(44, 181, 170, 0.2);
}

[data-theme="dark"] .hero-copy {
  background: rgba(28, 43, 51, 0.95);
  border-color: rgba(44, 181, 170, 0.25);
}

[data-theme="dark"] .eyebrow {
  color: var(--bio-red);
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(170deg, #1c2b33, #17232a);
  border-color: rgba(44, 181, 170, 0.15);
}

[data-theme="dark"] .hero-points {
  color: var(--muted);
}

[data-theme="dark"] .metric {
  color: var(--bio-red);
}

[data-theme="dark"] .metric-row {
  border-bottom-color: var(--text);
}

[data-theme="dark"] .trust-row span {
  background: rgba(44, 181, 170, 0.1);
  border-color: rgba(44, 181, 170, 0.2);
  color: var(--text);
}

[data-theme="dark"] .trust-strip-items {
  background: linear-gradient(120deg, rgba(28, 43, 51, 0.96), rgba(23, 35, 42, 0.96));
  border-color: rgba(44, 181, 170, 0.25);
}

[data-theme="dark"] .cred-pills span {
  background: rgba(44, 181, 170, 0.08);
  border-color: rgba(44, 181, 170, 0.18);
  color: var(--text);
}

[data-theme="dark"] .card {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .industry-card {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .industry-card-icon {
  background: #243640;
}

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, rgba(28, 43, 51, 0.9), rgba(23, 35, 42, 0.95));
  border-top-color: rgba(44, 181, 170, 0.25);
  border-bottom-color: rgba(44, 181, 170, 0.08);
}

[data-theme="dark"] .section-accent {
  background:
    radial-gradient(circle at 90% 15%, rgba(232, 150, 64, 0.12) 0%, transparent 42%),
    linear-gradient(130deg, #14242c, #1a2520 70%);
}

[data-theme="dark"] .comparison-table {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .comparison-table thead th {
  background: rgba(44, 181, 170, 0.1);
  color: var(--text);
}

[data-theme="dark"] .comparison-table th,
[data-theme="dark"] .comparison-table td {
  border-bottom-color: var(--text);
}

[data-theme="dark"] .comparison-table tbody td {
  color: var(--muted);
}

[data-theme="dark"] .estimate-card {
  background: #1c2b33;
  border-color: rgba(44, 181, 170, 0.15);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(132deg, var(--brand), #1a7a72);
  box-shadow: 0 10px 21px rgba(44, 181, 170, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 14px 28px rgba(44, 181, 170, 0.3);
}

[data-theme="dark"] .btn-outline {
  color: var(--brand);
  border-color: rgba(44, 181, 170, 0.4);
  background: rgba(44, 181, 170, 0.06);
}

[data-theme="dark"] .skip-link {
  background: #1c2b33;
  border-color: var(--brand);
  color: var(--text);
}

[data-theme="dark"] .zig-image-frame {
  border-color: rgba(44, 181, 170, 0.3);
  background:
    repeating-linear-gradient(-45deg,
      rgba(44, 181, 170, 0.06) 0,
      rgba(44, 181, 170, 0.06) 9px,
      rgba(28, 43, 51, 0.9) 9px,
      rgba(28, 43, 51, 0.9) 18px),
    #17232a;
}

[data-theme="dark"] .media-placeholder {
  border-color: rgba(44, 181, 170, 0.3);
  background:
    repeating-linear-gradient(-45deg,
      rgba(44, 181, 170, 0.05) 0,
      rgba(44, 181, 170, 0.05) 10px,
      rgba(28, 43, 51, 0.85) 10px,
      rgba(28, 43, 51, 0.85) 20px),
    #17232a;
}

[data-theme="dark"] .media-placeholder-inner {
  border-color: rgba(44, 181, 170, 0.25);
  background: rgba(28, 43, 51, 0.95);
}

[data-theme="dark"] .media-placeholder-video .media-placeholder-inner::before {
  color: var(--brand);
  border-color: rgba(44, 181, 170, 0.35);
  background: rgba(28, 43, 51, 0.9);
}

[data-theme="dark"] .process-grid li {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .county-a {
  background: rgba(44, 181, 170, 0.1);
  border-color: rgba(44, 181, 170, 0.25);
}

[data-theme="dark"] .county-b {
  background: rgba(232, 150, 64, 0.1);
  border-color: rgba(232, 150, 64, 0.25);
}

[data-theme="dark"] .location-links a {
  background: rgba(44, 181, 170, 0.08);
  border-color: rgba(44, 181, 170, 0.25);
  color: var(--text);
}

[data-theme="dark"] .testimonial-grid blockquote {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .faq-wrap details {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .switching-list li {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .step-dot {
  background: #243640;
  border-color: var(--line-strong);
}

[data-theme="dark"] .step-dot.active {
  background: var(--bio-red);
  border-color: var(--bio-red);
}

[data-theme="dark"] .btn-back {
  border-color: var(--line-strong);
  color: var(--muted);
}

[data-theme="dark"] .btn-back:hover {
  border-color: var(--brand);
  color: var(--brand);
}

[data-theme="dark"] .testimonial-stack blockquote {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .faq-list details {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .contact-form {
  background: #1c2b33;
  border-color: rgba(44, 181, 170, 0.14);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
  background: #17232a;
  border-color: var(--text);
  color: var(--text);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
  color: var(--text);
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form select:focus,
[data-theme="dark"] .contact-form textarea:focus {
  border-color: var(--brand);
  outline-color: rgba(44, 181, 170, 0.3);
}

[data-theme="dark"] .site-footer {
  background: rgba(17, 26, 31, 0.6);
  border-top-color: rgba(44, 181, 170, 0.1);
}

[data-theme="dark"] .mobile-cta {
  background: linear-gradient(120deg, rgba(13, 21, 26, 0.96), rgba(17, 26, 31, 0.96));
}

[data-theme="dark"] .mobile-cta a {
  border-color: rgba(44, 181, 170, 0.3);
}

[data-theme="dark"] :focus-visible {
  outline-color: var(--brand);
}

/* Dark mode mobile nav */
@media (max-width: 820px) {
  [data-theme="dark"] .main-nav {
    background: #1c2b33;
    border-color: var(--line);
  }
}

/* ===== Enhanced Hover & Interaction Effects ===== */
.card,
.industry-card,
.process-grid li,
.testimonial-grid blockquote,
.estimate-card {
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.card:hover,
.industry-card:hover,
.process-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.testimonial-grid blockquote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.faq-wrap details {
  transition: box-shadow 250ms ease;
}

.faq-wrap details[open] {
  box-shadow: var(--shadow-soft);
}

.location-links a {
  transition: background-color 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.location-links a:hover {
  transform: translateY(-1px);
  background: var(--brand);
  color: var(--text);
  border-color: var(--brand);
}

.trust-row span,
.cred-pills span {
  transition: transform 200ms ease, background-color 200ms ease;
}

.trust-row span:hover,
.cred-pills span:hover {
  transform: translateY(-1px);
}

.county {
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.county:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* Smooth color transitions for dark mode switch */
body,
.site-header,
.topbar,
.card,
.industry-card,
.hero-copy,
.hero-card,
.cred-strip-inner,
.contact-form,
.contact-form input,
.contact-form select,
.contact-form textarea,
.faq-wrap details,
.testimonial-grid blockquote,
.process-grid li,
.estimate-card,
.site-footer,
.comparison-table,
.comparison-table thead th,
.county,
.btn-primary,
.btn-outline,
.location-links a,
.trust-row span,
.cred-pills span,
.mobile-cta,
.skip-link,
.nav-toggle,
.theme-toggle {
  transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

/* ===== Section Background Image Overlays ===== */
.section-bg {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-bg>* {
  position: relative;
  z-index: 1;
}

/* Light mode overlays */
.section-bg-icp {
  background-image: url("https://images.unsplash.com/photo-1530299297082-0846efbd2cdd?w=1920&q=80");
}

.section-bg-icp::before {
  background: linear-gradient(175deg, rgba(245, 240, 231, 0.91) 0%, rgba(245, 240, 231, 0.85) 50%, rgba(237, 246, 244, 0.92) 100%);
}

.section-bg-industries {
  background-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?w=1920&q=80");
}

.section-bg-industries::before {
  background: linear-gradient(175deg, rgba(245, 240, 231, 0.88) 0%, rgba(241, 250, 247, 0.86) 50%, rgba(245, 240, 231, 0.92) 100%);
}

.section-bg-process {
  background-image: url("https://images.unsplash.com/photo-1576765608250-c466ee3327af?w=1920&q=80");
}

.section-bg-process::before {
  background: linear-gradient(175deg, rgba(245, 240, 231, 0.90) 0%, rgba(248, 244, 236, 0.87) 50%, rgba(245, 240, 231, 0.93) 100%);
}

.section-bg-testimonials {
  background-image: url("https://images.unsplash.com/photo-1504813184591-01572f98c85f?w=1920&q=80");
}

.section-bg-testimonials::before {
  background: linear-gradient(175deg, rgba(245, 240, 231, 0.90) 0%, rgba(245, 240, 231, 0.86) 50%, rgba(237, 246, 244, 0.92) 100%);
}

.section-bg-contact {
  background-image: url("https://images.unsplash.com/photo-1682146239598-3b2aca6989ea?w=1920&q=80");
}

.section-bg-contact::before {
  background: linear-gradient(175deg, rgba(245, 240, 231, 0.89) 0%, rgba(241, 250, 247, 0.87) 50%, rgba(245, 240, 231, 0.93) 100%);
}

/* Dark mode overlays — reduced opacity so bg image shows subtly */
[data-theme="dark"] .section-bg-icp::before {
  background: linear-gradient(175deg, rgba(14, 22, 28, 0.78) 0%, rgba(14, 22, 28, 0.72) 50%, rgba(18, 32, 40, 0.80) 100%);
}

[data-theme="dark"] .section-bg-industries::before {
  background: linear-gradient(175deg, rgba(14, 22, 28, 0.76) 0%, rgba(18, 32, 40, 0.72) 50%, rgba(14, 22, 28, 0.78) 100%);
}

[data-theme="dark"] .section-bg-process::before {
  background: linear-gradient(175deg, rgba(14, 22, 28, 0.77) 0%, rgba(14, 22, 28, 0.72) 50%, rgba(18, 32, 40, 0.80) 100%);
}

[data-theme="dark"] .section-bg-testimonials::before {
  background: linear-gradient(175deg, rgba(14, 22, 28, 0.77) 0%, rgba(14, 22, 28, 0.72) 50%, rgba(18, 32, 40, 0.78) 100%);
}

[data-theme="dark"] .section-bg-contact::before {
  background: linear-gradient(175deg, rgba(14, 22, 28, 0.76) 0%, rgba(18, 32, 40, 0.72) 50%, rgba(14, 22, 28, 0.80) 100%);
}

/* Mobile: scroll attachment instead of fixed for performance */
@media (max-width: 820px) {
  .section-bg {
    background-attachment: scroll;
  }
}

/* ===== Real Images in Placeholders ===== */
.zig-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(12, 44, 41, 0.1);
}

.media-placeholder img,
.media-placeholder iframe {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.media-placeholder img {
  height: auto;
}

.media-placeholder iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.media-placeholder figcaption {
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 0.86rem;
}

[data-theme="dark"] .zig-image-placeholder img {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .media-placeholder figcaption {
  color: var(--muted);
}

/* ============================================================
   LAYOUT OVERHAUL — clean professional split sections
   ============================================================ */

/* ---- Hero right column: card stacked above image ---- */
.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.hero-img {
  margin: 0;
  flex: 1;
  min-height: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  display: block;
  min-height: 220px;
}

/* ---- Cred strip: text + image side by side ---- */
.cred-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.cred-strip-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cred-strip-img {
  margin: 0;
  flex-shrink: 0;
}

.cred-strip-img img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* ---- Universal sec-split: 50/50 columns ---- */
.sec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.sec-split-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sec-split-body .section-head {
  margin-bottom: 0;
}

.sec-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  display: block;
  aspect-ratio: 4 / 3;
}

/* Image order helpers */
.sec-split-img--right {
  order: 1;
}

.sec-split-body+.sec-split-img--left {
  order: 2;
}

/* ---- Cards inside sec-split ---- */
.cards--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cards--2col .card {
  margin: 0;
}

/* ---- Industries: card grid + tall image ---- */
.industry-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-top: 2rem;
}

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

.industry-img {
  margin: 0;
}

.industry-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  display: block;
}

/* ---- Savings: right column stacks card + image ---- */
.savings-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.savings-img {
  margin: 0;
}

.savings-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* ---- Media gallery: 1 wide + 3 side ---- */
.media-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  align-items: start;
}

.media-gallery-main {
  margin: 0;
  grid-row: 1 / 2;
}

.media-gallery-main img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  display: block;
}

.media-gallery-main figcaption,
.media-gallery-side figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.media-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-gallery-side figure {
  margin: 0;
}

.media-gallery-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* ---- Steps grid: full-width 4-col layout ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 8px 20px rgba(17, 43, 40, 0.07);
  text-align: center;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.step-card .step-num {
  margin: 0 auto 1rem;
}

.step-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

[data-theme="dark"] .step-card {
  background: #1c2b33;
  border-color: var(--line);
}

@media (max-width: 1020px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Process steps: numbered list ---- */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 109, 103, 0.3);
  margin-top: 2px;
}

.process-steps h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

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

/* ---- Coverage counties inside sec-split ---- */
.coverage-counties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ---- Testimonials: stacked quotes beside image ---- */
.testimonial-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-stack blockquote {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 0;
  box-shadow: var(--shadow-soft);
}

.testimonial-stack blockquote p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.testimonial-stack cite {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  font-style: normal;
}

/* ---- FAQ: list inside sec-split ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.faq-list details {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 1.1rem 0.9rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---- Contact: text+image left, form right ---- */

.contact-img {
  margin: 1.5rem 0 0;
}

.contact-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* ---- Remove old zig styles ---- */
.zig-image-placeholder,
.zig-image-placeholder.zig-left,
.zig-image-placeholder.zig-right {
  display: none !important;
}

/* ---- Dark mode overrides for new components ---- */
[data-theme="dark"] .hero-img img,
[data-theme="dark"] .sec-split-img img,
[data-theme="dark"] .industry-img img,
[data-theme="dark"] .media-gallery-main img,
[data-theme="dark"] .media-gallery-side img,
[data-theme="dark"] .savings-img img,
[data-theme="dark"] .contact-img img,
[data-theme="dark"] .cred-strip-img img {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .step-num {
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(44, 181, 170, 0.25);
}

[data-theme="dark"] .testimonial-stack blockquote {
  background: #1c2b33;
  border-color: var(--line);
  border-left-color: var(--brand);
}

[data-theme="dark"] .faq-list details {
  background: #1c2b33;
  border-color: var(--line);
}

[data-theme="dark"] .faq-list details p {
  border-top-color: var(--text);
}

[data-theme="dark"] .media-gallery-main figcaption,
[data-theme="dark"] .media-gallery-side figcaption {
  color: var(--muted);
}

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-img {
    flex: 1;
  }

  .hero-img img {
    min-height: 180px;
  }

  .sec-split {
    grid-template-columns: 1fr;
  }

  .sec-split-img--right {
    order: -1;
  }

  .sec-split-img--left {
    order: 2;
  }

  .sec-split-img img {
    aspect-ratio: 16 / 9;
    height: 280px;
  }

  .industry-split {
    grid-template-columns: 1fr;
  }

  .industry-img img {
    aspect-ratio: 16 / 7;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .cred-strip-inner {
    grid-template-columns: 1fr;
  }

  .cred-strip-img {
    display: none;
  }

  .coverage-counties {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cards--2col {
    grid-template-columns: 1fr;
  }

  .hero-right {
    flex-direction: column;
  }

  .sec-split-img img {
    height: 220px;
  }
}

/* ---- Image loading states ---- */
.sec-split-img,
.industry-img,
.hero-img,
.savings-img,
.contact-img,
.cred-strip-img,
.media-gallery-main,
.media-gallery-side figure {
  background: var(--surface-strong);
  border-radius: 20px;
}

.sec-split-img img,
.industry-img img,
.hero-img img,
.savings-img img,
.contact-img img,
.cred-strip-img img,
.media-gallery-main img,
.media-gallery-side img {
  background: var(--surface-strong);
}

/* sec-split--reverse: swap column order on desktop */
.sec-split--reverse .sec-split-body {
  order: 1;
}

.sec-split--reverse .sec-split-img {
  order: 2;
}

@media (max-width: 1020px) {

  /* On mobile always show image first, then body */
  .sec-split--reverse .sec-split-body {
    order: 2;
  }

  .sec-split--reverse .sec-split-img {
    order: 1;
  }
}