:root {
  --ers-primary: #006837;
  --ers-primary-dark: #004f2a;
  --ers-accent: #8cc63f;
  --ers-accent-soft: #dff2c8;
  --ers-text: #172126;
  --ers-muted: #667085;
  --ers-light: #f5f8f6;
  --ers-light-2: #eef5ef;
  --ers-border: #d8e2da;
  --ers-dark: #101828;
  --ers-dark-2: #0b1220;
  --shadow-soft: 0 15px 40px rgba(16, 24, 40, 0.08);
  --shadow-card: 0 20px 50px rgba(16, 24, 40, 0.1);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ers-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #ffffff;
}

a {
  color: var(--ers-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ers-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  border-radius: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
}

.btn-lg {
  padding: 1rem 1.5rem;
}

.btn-primary {
  background-color: var(--ers-primary);
  border-color: var(--ers-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ers-primary-dark);
  border-color: var(--ers-primary-dark);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--ers-primary);
  border-color: var(--ers-primary);
  color: #ffffff;
}

.section-padding {
  padding: 5rem 0;
}

.eyebrow {
  display: inline-block;
  color: var(--ers-primary);
  background: var(--ers-accent-soft);
  border: 1px solid #c9e7a6;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--ers-muted);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Top bar */
.topbar {
  background: var(--ers-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.95);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Navbar */
.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ers-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
}

.nav-link {
  color: var(--ers-text);
  font-weight: 700;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ers-primary);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(140, 198, 63, 0.18),
      transparent 22%
    ),
    linear-gradient(135deg, #ffffff 0%, var(--ers-light) 100%);
  padding: 6rem 0 5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.hero-lead,
.page-hero p {
  color: var(--ers-muted);
  font-size: 1.18rem;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -35px;
  right: -35px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(140, 198, 63, 0.35),
    transparent 70%
  );
}

.hero-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-card li + li {
  margin-top: 0.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

.hero-point i {
  color: var(--ers-primary);
}

/* Trust strip */
.trust-strip {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.trust-grid {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.trust-item {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  height: 100%;
}

.trust-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--ers-muted);
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--ers-primary);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

/* Service cards */
.service-card {
  display: block;
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--ers-text);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ers-primary), var(--ers-accent));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: #b8c8bb;
  color: var(--ers-text);
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ers-light-2);
  color: var(--ers-primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--ers-muted);
  margin-bottom: 0.8rem;
}

.service-link {
  font-weight: 700;
  color: var(--ers-primary);
}

/* Process */
.process-section {
  background: var(--ers-light);
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ers-primary);
  color: #ffffff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.process-step p {
  color: var(--ers-muted);
  margin-bottom: 0;
}

/* Industry / chips */
.industry-card {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  height: 100%;
}

.industry-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--ers-muted);
  margin-bottom: 0;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--ers-primary) 0%, #0d7d46 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-card);
}

.cta-box .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-box h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(140, 198, 63, 0.12),
      transparent 20%
    ),
    var(--ers-light);
  padding: 4.5rem 0;
}

.narrow-content {
  max-width: 820px;
}

/* Contact */
.contact-form,
.contact-card {
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
  border-color: var(--ers-border);
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ers-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 104, 55, 0.15);
}

.form-note {
  background: var(--ers-light);
  border: 1px solid var(--ers-border);
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: linear-gradient(
    180deg,
    var(--ers-dark) 0%,
    var(--ers-dark-2) 100%
  );
  color: #ffffff;
  margin-top: 4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-logo {
  max-height: 62px;
  width: auto;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .site-navbar {
    position: static;
  }

  .navbar-nav {
    padding-top: 1rem;
    gap: 0.4rem;
  }

  .trust-strip {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .topbar-inner,
  .topbar-left,
  .topbar-right {
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero-section,
  .page-hero,
  .section-padding,
  .cta-section {
    padding: 3rem 0;
  }

  .cta-box {
    display: block;
  }

  .cta-box .btn {
    margin-top: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Service page additions */
.content-panel {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.content-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.service-aside {
  background:
    radial-gradient(
      circle at top right,
      rgba(140, 198, 63, 0.18),
      transparent 34%
    ),
    #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 8rem;
}

.service-aside h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
  color: var(--ers-text);
}

.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--ers-primary);
  font-weight: normal;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-grid span {
  display: inline-flex;
  align-items: center;
  background: var(--ers-light);
  border: 1px solid var(--ers-border);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  font-size: 0.92rem;
}

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

.feature-grid > div {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.feature-grid i {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ers-light-2);
  color: var(--ers-primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-grid h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.feature-grid p {
  color: var(--ers-muted);
  margin-bottom: 0;
}

.warning-panel {
  border-color: #f3d08a;
  background: #fffaf0;
}

.warning-panel h3 {
  color: #8a5a00;
}

.brand-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--ers-dark) 0%, #13261d 100%);
  color: #ffffff;
}

.brand-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.brand-band .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.brand-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .service-aside {
    position: static;
  }

  .brand-band-inner {
    grid-template-columns: 1fr;
  }
}

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

  .content-panel,
  .service-aside {
    padding: 1.4rem;
  }
}

/* Footer trust logos */
.footer-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.footer-trust-heading {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.footer-trust-heading h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.footer-trust-heading p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.footer-trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.footer-trust-logos img {
  display: block;
  max-height: 58px;
  max-width: 150px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-logo-link {
  display: inline-flex;
}

.aside-logo-card {
  background: #ffffff;
  border: 1px solid var(--ers-border);
  border-radius: 1rem;
  padding: 1rem;
  margin-top: 1.25rem;
  text-align: center;
}

.aside-logo-card img {
  max-height: 56px;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .footer-trust-logos img {
    max-height: 52px;
    max-width: 130px;
  }
}

/* Illustration performance / transparent image update */
.page-hero.page-hero-with-art {
  padding: 4.5rem 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.page-hero-copy p {
  max-width: 640px;
}

.page-hero-visual {
  display: flex;
  justify-content: center;
}

.page-hero-visual-card {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.page-hero-visual-card img,
.contact-visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-side-stack {
  display: grid;
  gap: 1.5rem;
}

.contact-visual-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    order: 2;
  }

  .page-hero-copy {
    order: 1;
  }
}
