:root {
  --green-900: #0f4127;
  --green-700: #1d6b3f;
  --green-500: #2c9a57;
  --green-100: #eaf8ef;
  --earth: #d9a445;
  --text: #173022;
  --muted: #4d6658;
  --white: #ffffff;
  --bg: #f6fbf7;
  --card: #ffffff;
  --border: #d3e7d8;
  --radius: 16px;
  --shadow: 0 14px 32px rgba(17, 62, 37, 0.12);
  --ease: 0.28s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #fafffb 0%, var(--bg) 48%, #eef8f2 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

.section {
  padding: 92px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f9fdf9 0%, #eef8f1 100%);
}

.section-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 13px;
  border: 1px solid #c7e3cf;
  border-radius: 999px;
  background: #f1fbf3;
  color: var(--green-700);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  margin-bottom: 14px;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 700;
  border: 0;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

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

.btn-solid {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.nav {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(17, 62, 37, 0.1);
  backdrop-filter: blur(8px);
}

.brand {
  color: var(--green-900);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background var(--ease), color var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--green-100);
  color: var(--green-700);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--green-900);
}

.hero {
  min-height: 100vh;
  padding-top: 82px;
  position: relative;
  display: grid;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1605000797499-95a51c5269ae?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(9, 34, 18, 0.84) 8%, rgba(30, 96, 54, 0.55) 54%, rgba(30, 96, 54, 0.2) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

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

.hero-content h1 {
  color: var(--white);
  margin: 13px 0 16px;
}

.hero-text {
  color: #edfff2;
  max-width: 670px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.17);
  color: #f2fff3;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 10px;
}

.hero-metrics strong {
  color: #f5fff7;
  display: block;
  font-size: 1.05rem;
}

.hero-metrics span {
  color: #ddf6e5;
  font-size: 0.82rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d8eadf;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.hero-card ul {
  margin-top: 16px;
  list-style: none;
}

.hero-card li {
  margin-bottom: 10px;
  color: #2f4f3b;
  font-weight: 600;
}

.hero-card i {
  color: var(--green-500);
  margin-right: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 360px;
  object-fit: cover;
}

.about-content p + p {
  margin-top: 12px;
}

.link-arrow {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-weight: 700;
}

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

.product-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.product-card img {
  height: 220px;
  object-fit: cover;
}

.product-card .content {
  padding: 16px;
}

.product-card h3 {
  margin-bottom: 7px;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-700);
  font-weight: 700;
}

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

.service-card {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 14px;
  padding: 21px 17px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card i {
  color: var(--green-500);
  font-size: 1.6rem;
  margin-bottom: 11px;
  animation: pulse 2.7s ease-in-out infinite;
}

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

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.09);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-box,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-box p {
  margin-bottom: 9px;
}

.contact-box i {
  color: var(--green-500);
  width: 20px;
}

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

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

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #c7ddce;
  margin-bottom: 14px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(44, 154, 87, 0.16);
}

.footer {
  background: #102d1c;
  color: #d4e9da;
  padding-top: 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.footer h3,
.footer h4 {
  color: #f4fff7;
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer li + li {
  margin-top: 8px;
}

.footer a:hover {
  color: #a6efbe;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform var(--ease), background var(--ease);
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.copy {
  text-align: center;
  margin-top: 25px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  background: #f6fff8;
  z-index: 2000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ring {
  width: 62px;
  height: 62px;
  border: 4px solid #c6e9d3;
  border-top-color: var(--green-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader p {
  color: var(--green-700);
  font-weight: 700;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--green-500);
}

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

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

@media (max-width: 991px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .nav {
    border-radius: 14px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 92vh;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
