:root {
  --ink: #18221b;
  --muted: #627066;
  --line: #dfe7df;
  --surface: #ffffff;
  --soft: #f3f7f0;
  --green: #1f6b3a;
  --green-dark: #124529;
  --gold: #d7a931;
  --red: #a83d32;
  --shadow: 0 18px 50px rgba(24, 34, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(24, 34, 27, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 226px);
  height: auto;
}

.brand-logo-dark {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark {
  opacity: 1;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.82;
}

.main-nav a:hover {
  opacity: 1;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  background: var(--gold);
  color: #1d1a0e;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    image-set(
      url("https://images.unsplash.com/photo-1495107334309-fcf20504a5ab?auto=format&fit=crop&w=2200&q=80") 1x
    )
    center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 28, 17, 0.88) 0%, rgba(13, 28, 17, 0.54) 48%, rgba(13, 28, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 28, 17, 0.36) 0%, rgba(13, 28, 17, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 80px;
  padding-bottom: 170px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 9.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--gold);
  color: #1d1a0e;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 28px;
  left: clamp(18px, 4vw, 56px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 25, 15, 0.62);
  backdrop-filter: blur(14px);
}

.hero-strip div {
  min-width: 0;
  padding: 22px;
}

.hero-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-band {
  background: var(--soft);
}

.intro,
.products,
.services,
.about,
.contact {
  padding: clamp(72px, 9vw, 118px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p:last-child,
.about-content p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 34, 27, 0.06);
}

.product-card img {
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.product-card div {
  padding: 20px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.product-card p,
.service-item p,
.stats dd,
.contact-note {
  margin: 0;
  color: var(--muted);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: #fff;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #e5efe5;
  color: var(--green);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image img {
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

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

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

.stats div {
  padding: 18px 16px;
  border-top: 3px solid var(--red);
  background: var(--soft);
}

.stats dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.contact-grid p {
  margin-top: 22px;
  max-width: 650px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 34, 27, 0.08);
}

.contact-panel a {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: 6px;
  background: var(--soft);
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel strong {
  overflow-wrap: anywhere;
}

.contact-note {
  padding: 8px 4px 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 28px 0;
  background: var(--green-dark);
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    margin-left: 18px;
    padding-bottom: 260px;
  }

  .hero-strip,
  .intro-grid,
  .services-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

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

  .contact-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: 142px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 92px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.1rem);
  }

  .button {
    width: 100%;
  }

  .hero-strip div {
    padding: 16px;
  }

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

  .service-item {
    grid-template-columns: 44px 1fr;
    padding: 18px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .footer-inner {
    display: grid;
  }
}
