:root {
  --ink: #1a2428;
  --muted: #666666;
  --green: #76a713;
  --green-dark: #1a2428;
  --lime: #a9c938;
  --gold: #ff7800;
  --soft: #f4f6e8;
  --line: #e5e5e5;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(26, 36, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 220, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  position: relative;
  text-decoration: none;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.header-cta:hover,
.button.primary:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 82px);
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 76px);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(244, 246, 232, 0.98), rgba(244, 246, 232, 0.74)),
    url("../images/hero-bg.png") center / cover no-repeat;
}

.hero-slider {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(244, 246, 232, 0.98), rgba(244, 246, 232, 0.74)),
    url("../images/hero-bg.png") center / cover no-repeat;
}

.hero-track {
  display: flex;
  transition: transform 700ms ease;
}

.hero-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 82px);
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 76px);
}

.hero-slider .hero {
  min-height: auto;
  padding: 0;
  background: transparent;
}

.hero-controls {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.hero-dot.active {
  width: 34px;
  background: var(--green);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -18vw auto;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle, rgba(154, 197, 61, 0.22), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.6vw, 86px);
}

h2 {
  font-size: clamp(32px, 4.2vw, 56px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--white);
}

.button.secondary:hover {
  color: var(--white);
  border-color: var(--gold);
  background: var(--gold);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual .product {
  width: min(720px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 26px 32px rgba(28, 52, 33, 0.22));
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 2%;
  display: grid;
  gap: 2px;
  min-width: 210px;
  padding: 18px;
  color: var(--white);
  background: rgba(26, 36, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--green);
  font-size: 25px;
  line-height: 1.1;
}

.metrics span {
  margin-top: 6px;
  color: var(--muted);
}

.section,
.page-hero,
.split-band,
.dark-band {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 76px);
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(26, 36, 40, 0.92), rgba(118, 167, 19, 0.62)),
    url("../images/factory.jpg") center / cover no-repeat;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

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

.series-section {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.series-row {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.series-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.series-title p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.series-viewport {
  overflow: hidden;
}

.series-track {
  display: flex;
  gap: 18px;
  transition: transform 500ms ease;
  will-change: transform;
}

.series-track .product-card {
  flex: 0 0 calc((100% - 54px) / 4);
}

.row-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.row-arrow:hover {
  background: var(--gold);
}

.row-arrow.prev {
  left: 8px;
}

.row-arrow.next {
  right: 8px;
}

.product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 76px);
  background: var(--soft);
}

.detail-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(26, 36, 40, 0.16));
}

.fade-slider {
  position: relative;
  width: 100%;
  min-height: min(560px, 58vw);
}

.fade-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  transition: opacity 900ms ease;
}

.fade-slider img.active {
  opacity: 1;
}

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

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.catalog-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.catalog-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.catalog-panel p {
  color: var(--muted);
}

.catalog-frame {
  width: 100%;
  height: min(980px, 82vh);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.global-business {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.global-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 32%, rgba(118, 167, 19, 0.24), transparent 18%),
    radial-gradient(circle at 52% 28%, rgba(255, 120, 0, 0.18), transparent 16%),
    radial-gradient(circle at 78% 52%, rgba(118, 167, 19, 0.22), transparent 20%),
    linear-gradient(135deg, #f4f6e8, #ffffff);
  box-shadow: var(--shadow);
}

.world-map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.world-map-card img {
  width: 100%;
  min-height: 360px;
  object-fit: contain;
  padding: 18px;
}

.global-map::before {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px dashed rgba(26, 36, 40, 0.2);
  border-radius: 50%;
}

.global-map::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  border-top: 1px dashed rgba(26, 36, 40, 0.24);
}

.global-node {
  position: absolute;
  width: 150px;
  padding: 14px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(26, 36, 40, 0.12);
  font-weight: 900;
}

.global-node span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.global-node.one { left: 8%; top: 18%; }
.global-node.two { left: 40%; top: 10%; }
.global-node.three { right: 8%; top: 32%; }
.global-node.four { left: 20%; bottom: 12%; }
.global-node.five { right: 24%; bottom: 16%; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.process-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 18px;
}

.product-card,
.case-card,
.spec-card,
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 22px;
  background: var(--soft);
}

.product-card div,
.case-card div,
.spec-card,
.article-card {
  padding: 22px;
}

.product-card p,
.case-card p,
.spec-card p,
.article-card p,
.split-band p,
.dark-band p {
  color: var(--muted);
}

.recommended-products {
  background: var(--soft);
}

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

.recommendation-card h3 {
  margin-top: 8px;
}

.recommendation-card .eyebrow {
  margin-bottom: 0;
  font-size: 12px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 900;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
}

.feedback-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #f4f6e8;
  font-size: 12px;
  font-weight: 900;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--soft);
}

.split-band img,
.split-band video,
.dark-media img,
.dark-media video {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dark-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  color: var(--white);
  background: var(--green-dark);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.75);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-list h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

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

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: var(--green-dark);
  background: var(--soft);
  font-size: 13px;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
}

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

.contact-panel img {
  width: 100%;
  border-radius: 8px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background: #1a2428;
}

.site-footer img {
  width: 165px;
  padding: 8px;
  background: var(--white);
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1060px) {
  .product-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .article-grid,
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    font-weight: 900;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero-slide,
  .split-band,
  .dark-band,
  .detail-hero,
  .contact-panel,
  .global-business,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-slide {
    min-height: auto;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 145px;
  }

  h1 {
    font-size: 38px;
  }

  .product-grid,
  .product-recommendations,
  .metrics,
  .case-grid,
  .article-grid,
  .process-grid,
  .spec-grid,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .series-row {
    padding: 20px 12px;
  }

  .series-title {
    display: block;
    padding-inline: 42px;
  }

  .series-track .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  .product-recommendations {
    grid-template-columns: 1fr 1fr;
  }
}
