:root {
  --green-900: #103c1d;
  --green-700: #1f6a33;
  --green-500: #2f8f46;
  --green-100: #dcefdc;
  --red-500: #e14635;
  --red-700: #a52b21;
  --earth-100: #f8f5ef;
  --ink-900: #1f2937;
  --ink-700: #374151;
  --line: #e5e7eb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Poppins, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--earth-100);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 88px 0;
}

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

.eyebrow {
  margin: 0;
  color: var(--green-700);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
}

.eyebrow-light {
  color: #b9ddc2;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 14px;
  color: var(--ink-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--red-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-700);
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.menu {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.menu a:hover {
  color: var(--green-700);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
}

.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 60, 29, 0.84) 0%, rgba(31, 106, 51, 0.72) 40%, rgba(225, 70, 53, 0.5) 100%);
}

.hero-grid {
  position: relative;
  min-height: calc(90vh - 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
}

.hero-copy {
  color: var(--white);
}

.hero-copy p {
  color: #f3f4f6;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero-logo {
  justify-self: end;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 16px 35px -18px rgba(16, 60, 29, 0.55);
}

.hero-logo img {
  width: min(320px, 70vw);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.5);
  margin: 0 auto 12px;
}

.hero-logo p {
  color: var(--white);
  font-weight: 700;
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px -20px rgba(16, 60, 29, 0.35);
}

.card h3 {
  color: var(--green-700);
}

.card-wide {
  grid-column: 1 / -1;
}

.vm-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.values-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  font-weight: 600;
}

.products-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px -20px rgba(16, 60, 29, 0.4);
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-wide {
  grid-column: span 2;
}

.section-dark {
  background: var(--green-900);
  color: var(--white);
}

.section-dark p,
.section-dark h2,
.section-dark li {
  color: #dbe7df;
}

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

.feature-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
}

.quality-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.quality-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.section-center {
  text-align: center;
}

.cert-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cert {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  background: var(--earth-100);
}

.cert img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 12px;
}

.cert-dark {
  background: var(--green-900);
}

.cert-dark h3,
.cert-dark p {
  color: var(--white);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.infra-card {
  border-radius: 18px;
  padding: 24px;
  color: var(--white);
}

.infra-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.infra-card span {
  color: rgba(255, 255, 255, 0.85);
}

.infra-green {
  background: var(--green-700);
}

.infra-red {
  background: var(--red-500);
}

.infra-dark {
  background: var(--green-900);
}

.gallery-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-item {
  cursor: zoom-in;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 15, 12, 0.88);
}

.media-modal.open {
  display: flex;
}

.media-modal-content {
  width: min(980px, 94vw);
  max-height: 82vh;
}

.media-modal-content img,
.media-modal-content video {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}

.media-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.media-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.24);
}

.media-modal-prev {
  left: 16px;
}

.media-modal-next {
  right: 16px;
}

.media-modal-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  margin: 0;
  color: #f3f4f6;
  text-align: center;
}

.jobs-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jobs-grid .btn {
  margin-top: 10px;
}

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

.contact-info {
  background: var(--green-900);
  color: var(--white);
  border-radius: 18px;
  padding: 24px;
}

.contact-info h2,
.contact-info p,
.contact-info a {
  color: #eaf5ed;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

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

.form-alert {
  display: none;
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background: #e8f7ec;
  color: #136330;
  border: 1px solid #a7dbb6;
}

.form-alert.error {
  background: #fdeceb;
  color: #8c1e14;
  border: 1px solid #f3b6b1;
}

.captcha-wrap {
  margin-top: 8px;
  margin-bottom: 6px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #9bcfa8;
  border-color: #9bcfa8;
}

.map-wrap {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.footer {
  background: var(--green-900);
  padding: 24px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer p {
  color: #dbebdf;
  margin: 0;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .infra-grid,
  .cert-grid,
  .quality-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .gallery-grid,
  .values-grid,
  .vm-grid,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-wide,
  .gallery-grid .wide,
  .card-wide {
    grid-column: auto;
  }

  .hero-logo {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hide-mobile {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    padding: 12px 4%;
  }

  .menu.open {
    display: flex;
  }

  .products-grid,
  .gallery-grid,
  .values-grid,
  .vm-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 44px 0;
  }

  .footer-wrap,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .media-modal-prev {
    left: 10px;
  }

  .media-modal-next {
    right: 10px;
  }
}
