:root {
  --red-950: #640c12;
  --red-800: #95131b;
  --red-600: #c71927;
  --red-500: #ee2330;
  --charcoal: #141716;
  --graphite: #242827;
  --steel: #707771;
  --silver: #d7d9d4;
  --mist: #f5f6f2;
  --white: #ffffff;
  --eco: #4f9d66;
  --copper: #ba6f39;
  --shadow: 0 18px 50px rgba(10, 12, 11, 0.22);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--mist);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--red-600);
}

.container {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--white);
  background: var(--red-600);
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(20, 23, 22, 0.86);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 44px;
  align-items: center;
  gap: 16px;
  min-height: var(--header-height);
  width: min(100% - 28px, 1180px);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  padding: 0;
}

.brand img,
.site-footer img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: var(--header-height);
  right: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 23, 22, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.site-nav a {
  padding: 12px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-action {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94svh;
  padding: calc(var(--header-height) + 58px) 0 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero__media,
.hero__angle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(12, 15, 14, 0.95) 0%, rgba(12, 15, 14, 0.72) 48%, rgba(12, 15, 14, 0.38) 100%),
    linear-gradient(0deg, rgba(12, 15, 14, 0.72), rgba(12, 15, 14, 0.12)),
    url("assets/hero-recycling-operation.webp") center / cover no-repeat;
  transform: scale(1.03);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__angle {
  background:
    linear-gradient(112deg, transparent 0 58%, rgba(199, 25, 39, 0.88) 58% 67%, transparent 67%),
    linear-gradient(112deg, transparent 0 72%, rgba(255, 255, 255, 0.12) 72% 72.4%, transparent 72.4%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  position: relative;
  margin: 0 0 14px;
  padding-left: 44px;
  color: var(--red-500);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translateY(-50%);
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: 3.35rem;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-500), var(--red-800));
  box-shadow: 0 14px 34px rgba(199, 25, 39, 0.34);
}

.button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button--clear {
  box-shadow: none;
}

.hero__proof {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-top: 32px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero__proof div {
  display: grid;
  gap: 2px;
  padding: 6px 4px;
}

.hero__proof strong {
  color: var(--white);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.hero__ticker {
  position: absolute;
  right: -40px;
  bottom: 18px;
  left: -40px;
  display: flex;
  gap: 24px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(100, 12, 18, 0.86), rgba(36, 40, 39, 0.88));
  transform: rotate(-2deg);
  white-space: nowrap;
}

.hero__ticker span {
  animation: ticker 12s linear infinite;
}

.section,
.contact-section {
  padding: 72px 0;
}

.section--light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(215, 217, 212, 0.4)),
    var(--mist);
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20, 23, 22, 0.95), rgba(36, 40, 39, 0.96)),
    url("assets/metal-diagonal.webp") right center / 420px auto no-repeat;
}

.section--dark::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  content: "";
  background: linear-gradient(110deg, transparent 0 46%, rgba(199, 25, 39, 0.3) 46% 56%, transparent 56%);
  pointer-events: none;
}

.section--split {
  background: var(--white);
}

.section-copy,
.section-heading,
.contact-copy {
  position: relative;
  z-index: 1;
}

.section h2,
.contact-section h2 {
  font-size: 2.35rem;
}

.section-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: #4e5550;
  font-size: 1rem;
}

.section--dark .section-heading {
  max-width: 760px;
}

.section--dark .eyebrow,
.section--dark h2 {
  color: var(--white);
}

.about-layout,
.sustainability-layout,
.contact-layout {
  display: grid;
  gap: 32px;
}

.about-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.about-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(199, 25, 39, 0.78) 0 22%, transparent 22% 54%, rgba(20, 23, 22, 0.72) 54%),
    linear-gradient(0deg, rgba(20, 23, 22, 0.42), transparent 50%);
  mix-blend-mode: multiply;
}

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

.about-visual__plate {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 23, 22, 0.64);
  backdrop-filter: blur(12px);
}

.about-visual__plate span {
  display: block;
  color: var(--eco);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-visual__plate strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.service-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover {
  border-color: rgba(238, 35, 48, 0.56);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.service-card__index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--red-500);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.service-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.25;
}

.service-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.image-stack {
  position: relative;
  min-height: 420px;
}

.image-stack img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack__main {
  width: 86%;
  min-height: 270px;
}

.image-stack__secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  min-height: 220px;
  border: 5px solid var(--white);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #343b36;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid var(--eco);
  border-radius: 50%;
  background: var(--white);
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(20, 23, 22, 0.96), rgba(20, 23, 22, 0.86)),
    url("assets/metal-diagonal.webp") center / cover no-repeat;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
}

.contact-list a {
  color: var(--white);
  font-weight: 800;
}

.contact-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-actions {
  display: grid;
  gap: 12px;
}

.form-actions .button {
  width: 100%;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 23, 22, 0.72);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 13px;
}

.field textarea {
  resize: vertical;
  min-height: 128px;
  padding: 12px 13px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(238, 35, 48, 0.8);
  background: rgba(20, 23, 22, 0.88);
  box-shadow: 0 0 0 4px rgba(238, 35, 48, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #ffd9dc;
  font-size: 0.9rem;
}

.success-message {
  display: grid;
  gap: 12px;
  min-height: 360px;
  place-content: center;
  text-align: center;
}

.success-message span {
  color: var(--eco);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.success-message strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.success-message p {
  max-width: 420px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.success-message__action {
  justify-self: center;
  margin-top: 6px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #101211;
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.site-footer img {
  width: 154px;
  filter: brightness(1.18);
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-16px, -8px, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-120px);
  }
}

@media (min-width: 560px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__proof {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .field--full {
    grid-column: 1 / -1;
  }

  .form-actions {
    grid-template-columns: minmax(150px, 0.55fr) 1fr;
  }
}

@media (min-width: 760px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    width: 170px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  .header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .section,
  .contact-section {
    padding: 92px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: 3.1rem;
  }

  .about-layout,
  .sustainability-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

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

@media (min-width: 1040px) {
  .hero {
    min-height: 92svh;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 5.5rem;
  }

  .hero__lead {
    font-size: 1.12rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
