:root {
  --black: #111111;
  --graphite: #20242a;
  --steel: #6e7781;
  --silver: #d8dde2;
  --green: #008d45;
  --green-dark: #006332;
  --safety: #f2b705;
  --orange: #df6c16;
  --paper: #f5f7f6;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 17, 17, .18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--graphite);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(110, 119, 129, .22);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 214px;
  height: 58px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 13px;
  border-radius: 6px;
  font-size: .83rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #33383e;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--graphite);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  width: 100%;
  padding: 0 0 72px;
  background:
    linear-gradient(110deg, rgba(17,17,17,.88), rgba(0,99,50,.45)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
}

.hero-slider {
  position: relative;
  min-height: clamp(520px, 72vh, 720px);
  overflow: hidden;
  background: var(--black);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .85s ease, transform 1.2s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.88), rgba(17,17,17,.36) 52%, rgba(0,0,0,.18));
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-copy {
  position: absolute;
  z-index: 2;
  left: max(28px, calc((100vw - 1180px) / 2));
  bottom: 96px;
  width: min(680px, calc(100% - 64px));
  color: var(--white);
}

.slide-copy span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--safety);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slide-copy h1,
.slide-copy h2,
.section-heading h2,
.hero-panel h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  line-height: .96;
  letter-spacing: 0;
}

.slide-copy h1,
.slide-copy h2 {
  font-size: clamp(3.8rem, 12vw, 8.5rem);
}

.slide-copy p {
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.slider-btn {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(17,17,17,.42);
  color: var(--white);
  font-size: 2.3rem;
  cursor: pointer;
}

.slider-btn:hover { background: var(--green); }
.prev { left: 22px; }
.next { right: 22px; }

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.slider-dots button.active { background: var(--safety); }

.hero-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -58px auto 0;
  position: relative;
  z-index: 5;
  padding: 34px;
  background: var(--white);
  border-left: 8px solid var(--green);
  box-shadow: var(--shadow);
}

.hero-panel h2,
.section-heading h2 {
  max-width: 850px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.hero-panel p:not(.eyebrow),
.section-heading + p {
  max-width: 780px;
  line-height: 1.75;
}

.hero-actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.btn.secondary {
  color: var(--graphite);
  background: linear-gradient(135deg, var(--safety), var(--orange));
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
}

.plant-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.plant-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
}

.plant-photo img,
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(0, 99, 50, .9);
  border-left: 5px solid var(--safety);
}

.metric-badge strong { display: block; font-size: 2rem; }

.capacity,
.contact-info,
.contact-form {
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17,17,17,.08);
}

.capacity-list,
.machine-grid,
.service-grid,
.project-gallery,
.badge-grid {
  display: grid;
  gap: 18px;
}

.capacity-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capacity-list div,
.machine-grid article,
.service-card,
.project-gallery article {
  border: 1px solid rgba(110,119,129,.18);
  border-radius: 8px;
  background: var(--white);
}

.capacity-list div {
  padding: 18px;
  border-left: 5px solid var(--green);
}

.capacity-list strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green-dark);
}

.machine-grid {
  margin-top: 28px;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.machine-grid article,
.service-card {
  padding: 22px;
}

.services,
.standards {
  width: 100%;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: var(--graphite);
  color: var(--white);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  color: var(--graphite);
  min-height: 292px;
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  font-size: 1.4rem;
}

.project-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery article {
  overflow: hidden;
}

.project-gallery img {
  aspect-ratio: 4 / 3;
}

.project-gallery h3 {
  padding: 18px;
  margin: 0;
  font-size: 1rem;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.project-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #e7ece9;
  font-weight: 700;
}

.badge-grid {
  grid-template-columns: repeat(7, minmax(90px, 1fr));
}

.badge-grid span,
.client-track span {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.clients {
  overflow: hidden;
}

.client-marquee {
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.client-track span {
  width: 180px;
  color: var(--graphite);
  background: var(--white);
  border-color: rgba(110,119,129,.2);
  font-size: 1.45rem;
}

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

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(110,119,129,.28);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

.footer {
  padding: 56px max(16px, calc((100vw - 1180px) / 2)) 26px;
  color: var(--white);
  background: #0f1114;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .7fr;
  gap: 30px;
}

.footer-logo {
  width: 220px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: 6px;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: var(--silver);
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.copyright {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: var(--silver);
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--white);
  background: #19b65b;
  box-shadow: 0 16px 34px rgba(0, 99, 50, .35);
  font-size: 1.75rem;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

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

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border-bottom: 1px solid rgba(110,119,129,.2);
  }
  .nav-menu.open { display: flex; }
  .nav-link { text-align: center; }
  .plant-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .machine-grid,
  .service-grid,
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .brand img { width: 178px; }
  .section { padding: 68px 0; }
  .hero-slider { min-height: 590px; }
  .slide-copy {
    bottom: 86px;
    width: calc(100% - 40px);
  }
  .slider-btn {
    top: auto;
    bottom: 28px;
    width: 42px;
    height: 44px;
  }
  .prev { left: 16px; }
  .next { right: 16px; }
  .hero-panel { padding: 24px; }
  .capacity-list,
  .machine-grid,
  .service-grid,
  .project-gallery,
  .badge-grid { grid-template-columns: 1fr; }
  .plant-photo { min-height: 300px; }
  .whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}
