:root {
  --bg: #062414;
  --bg-2: #0d5c2a;
  --panel: #f4fbf5;
  --ink: #062315;
  --muted: #4f715b;
  --brand: #31a04d;
  --brand-2: #49ba66;
  --line: rgba(49, 160, 77, 0.2);
  --topbar-h: 104px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Noto Sans SC", "Manrope", sans-serif;
  font-size: 19px;
  background: linear-gradient(180deg, #0b4a23 0%, #062414 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.topbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.topbar {
  width: 100%;
  min-height: var(--topbar-h);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 35, 20, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(2, 22, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  width: auto;
  height: 64px;
  display: block;
}

.nav {
  display: inline-flex;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: #d9f1df;
  padding: 13px 20px;
  font: 700 1.08rem/1 "Manrope", sans-serif;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: background-color 260ms ease, color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.nav-link.active {
  background: linear-gradient(145deg, #49ba66 0%, #228a3e 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(105, 204, 127, 0.45),
    0 8px 18px rgba(24, 119, 52, 0.38);
  transform: translateY(-1px);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.actions {
  display: inline-flex;
  align-items: center;
}

.switch {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.switch button {
  border: 0;
  background: transparent;
  color: #d2ecd8;
  padding: 11px 16px;
  font: 700 0.94rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.switch button.active {
  color: #fff;
  background: linear-gradient(150deg, var(--brand), var(--brand-2));
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--topbar-h);
  padding-bottom: 0;
}

.page-inner {
  width: 100%;
  margin: 0;
  background: var(--panel);
  border: 0;
  overflow: hidden;
}

.section {
  padding: clamp(18px, 2.6vw, 34px);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: min(82vh, 980px);
}

.hero-copy {
  background: linear-gradient(145deg, #31a04d 0%, #247d3d 45%, #15542b 100%);
  color: #fff;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 12px;
  font: 800 0.9rem/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  max-width: 16ch;
}

.lead {
  margin: 16px 0 14px;
  color: #e1f4e5;
  line-height: 1.72;
  font-size: 1.16rem;
  max-width: 56ch;
}

.lead-small {
  margin: 0 0 16px;
  color: #d7efdd;
  line-height: 1.68;
  font-size: 1.03rem;
  max-width: 64ch;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill-row span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  font: 700 0.84rem/1.2 "Manrope", sans-serif;
}

.home-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: #d9f0df;
  font-size: 1rem;
  line-height: 1.62;
  max-width: 70ch;
}

.hero-media {
  padding: 12px;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.module-head {
  padding: clamp(16px, 2.8vw, 28px) clamp(18px, 3vw, 30px) 0;
}

.module-head h1 {
  margin: 0 0 8px;
  color: #062315;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.2;
}

.module-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.64;
  max-width: 72ch;
}

.service-grid,
.workflow {
  padding: clamp(16px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.warehouse-wrap {
  padding: clamp(16px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.service,
.step,
.warehouse-card {
  border-radius: 14px;
  border: 0;
  background: #fff;
  overflow: hidden;
  min-height: clamp(320px, 38vh, 460px);
}

.service .txt,
.step .txt,
.warehouse-txt {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #eaf8ed;
}

.service .txt::before,
.step .txt::before,
.warehouse-txt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--txt-bg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.93) saturate(1.06) blur(0px);
  transform: scale(1);
  transition: filter 1300ms ease, transform 1300ms ease;
}

.service .txt::after,
.step .txt::after,
.warehouse-txt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(118deg, rgba(5, 36, 18, 0.22) 0%, rgba(5, 36, 18, 0.1) 48%, rgba(5, 36, 18, 0.24) 100%);
  opacity: 0;
  transition: opacity 1100ms ease;
}

.service h3,
.step h3,
.warehouse-txt h3 {
  margin: 0;
  font-size: clamp(1.62rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: #f3fbf5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.step h3 {
  margin-top: 4px;
}

.service ul,
.step ul,
.warehouse-txt ul {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  font-size: clamp(1.16rem, 1.35vw, 1.3rem);
  line-height: 1.56;
  color: #edf9ef;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.idx {
  color: #9ad8a8;
  font: 800 1.02rem/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
}

.reveal-card .txt > *,
.reveal-card .warehouse-txt > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 980ms ease, transform 980ms ease;
}

.reveal-card .txt > *:nth-child(1),
.reveal-card .warehouse-txt > *:nth-child(1) { transition-delay: 160ms; }
.reveal-card .txt > *:nth-child(2),
.reveal-card .warehouse-txt > *:nth-child(2) { transition-delay: 320ms; }
.reveal-card .txt > *:nth-child(3),
.reveal-card .warehouse-txt > *:nth-child(3) { transition-delay: 460ms; }
.reveal-card .txt > *:nth-child(4),
.reveal-card .warehouse-txt > *:nth-child(4) { transition-delay: 580ms; }

.reveal-card.is-inview .txt::before,
.reveal-card.is-inview .warehouse-txt::before {
  filter: brightness(0.62) saturate(0.92) blur(3px);
  transform: scale(1.03);
}

.reveal-card.is-inview .txt::after,
.reveal-card.is-inview .warehouse-txt::after {
  opacity: 1;
}

.reveal-card.is-inview .txt > *,
.reveal-card.is-inview .warehouse-txt > * {
  opacity: 1;
  transform: translateY(0);
}

.contact-wrap {
  padding: clamp(16px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
}

.cert-section {
  padding: clamp(16px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.cert-media {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  background: #eaf7ed;
}

.cert-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-copy {
  border-radius: 14px;
  background: linear-gradient(145deg, #31a04d 0%, #287f40 52%, #15542b 100%);
  color: #effaf2;
  padding: clamp(16px, 2.4vw, 24px);
  display: grid;
  gap: 12px;
}

.cert-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.86rem);
  line-height: 1.3;
}

.cert-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.64;
  color: #dff3e4;
}

.cert-copy ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 1.02rem;
  line-height: 1.56;
}

.contact-card {
  border-radius: 14px;
  border: 1px solid rgba(49, 160, 77, 0.2);
  background: linear-gradient(145deg, #31a04d 0%, #287f40 52%, #15542b 100%);
  color: #fff;
  padding: clamp(16px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.46rem, 2.3vw, 2rem);
  line-height: 1.22;
}

.contact-card p {
  margin: 0 0 14px;
  color: #dff3e4;
  line-height: 1.68;
  font-size: 1.03rem;
}

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

.contact-item {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
}

.contact-item .k {
  margin: 0 0 6px;
  font: 800 0.8rem/1 "Manrope", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contact-item .v {
  margin: 0;
  color: #edf9ef;
  font-size: 0.97rem;
  line-height: 1.58;
  word-break: break-word;
}

.contact-media {
  border-radius: 14px;
  border: 1px solid rgba(49, 160, 77, 0.18);
  overflow: hidden;
  background: #0b3f21;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.footer {
  border-top: 1px solid rgba(49, 160, 77, 0.16);
  background: #fff;
  padding: 16px clamp(18px, 2.8vw, 28px);
  color: #55705d;
  font-size: 0.9rem;
  line-height: 1.6;
  display: grid;
  gap: 8px;
}

.footer-phone {
  margin: 0;
  color: #228a3e;
  font: 800 1rem/1.2 "Manrope", sans-serif;
}

.footer-main {
  margin: 0;
  white-space: pre-line;
}

@media (max-width: 1220px) {
  .topbar {
    padding: 14px 16px;
  }

  .nav-link {
    padding: 11px 15px;
    font-size: 0.96rem;
  }
}

@media (max-width: 1100px) {
  .topbar-wrap {
    position: sticky;
    top: 0;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .page {
    padding-top: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .service-grid,
  .workflow,
  .warehouse-wrap,
  .contact-wrap,
  .cert-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html,
  body {
    font-size: 16px;
  }

  .topbar {
    min-height: auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .nav {
    padding: 6px;
    border-radius: 10px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .logo-img {
    height: 52px;
  }

  .actions {
    width: auto;
    justify-content: flex-start;
  }

  .page {
    padding-top: 0;
  }

  .section,
  .service-grid,
  .workflow,
  .warehouse-wrap,
  .contact-wrap,
  .cert-section,
  .footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .service,
  .step,
  .warehouse-card {
    min-height: clamp(260px, 68vw, 340px);
  }

  .service h3,
  .step h3,
  .warehouse-txt h3 {
    font-size: 1.32rem;
  }

  .service ul,
  .step ul,
  .warehouse-txt ul {
    font-size: 1.02rem;
    line-height: 1.48;
    padding-left: 20px;
  }

  .service .txt,
  .step .txt,
  .warehouse-txt {
    padding: 14px 14px 16px;
    gap: 8px;
  }

  .module-head h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.25rem);
  }

  .module-head p {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .split {
    min-height: auto;
  }

  .hero-copy {
    padding: 18px 14px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .lead-small {
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .home-list {
    font-size: 0.93rem;
    line-height: 1.5;
    padding-left: 18px;
  }

  .hero-media {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    padding: 8px;
    gap: 8px;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #e8f6eb;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-media {
    grid-template-rows: none;
    grid-auto-rows: 180px;
  }

  .cert-copy h2 {
    font-size: 1.32rem;
  }

  .cert-copy p,
  .cert-copy ul {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .cert-media {
    min-height: 250px;
  }

  .footer {
    position: relative;
    z-index: 1;
    background: #fff;
  }
}

@media (max-width: 420px) {
  .logo-img {
    height: 44px;
  }

  .switch button {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .service .txt::before,
  .step .txt::before,
  .warehouse-txt::before,
  .service .txt::after,
  .step .txt::after,
  .warehouse-txt::after,
  .reveal-card .txt > *,
  .reveal-card .warehouse-txt > * {
    transition: none !important;
  }
}
