:root {
  --ink: #111412;
  --muted: #6f746c;
  --deep: #17312b;
  --green: #315d51;
  --mint: #eef1ea;
  --gold: #b9975b;
  --gold-soft: #f4ead8;
  --paper: #f5f2ea;
  --white: #ffffff;
  --line: #ddd6c7;
  --shadow: 0 22px 60px rgba(24, 28, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaf6 0, var(--paper) 520px, #f8f6f0 100%);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(17, 20, 18, 0.94);
  border-bottom: 1px solid rgba(185, 151, 91, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f201c, var(--deep));
  border-radius: 3px;
  font-size: 16px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #f8f3e8;
  font-size: 16px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: rgba(248, 243, 232, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: rgba(248, 243, 232, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--gold);
}

.header-cta,
.primary-button,
.secondary-button,
.inquiry-form button,
.whatsapp-inline,
.wechat-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 3px;
  font-weight: 900;
}

.header-cta,
.primary-button,
.inquiry-form button,
.whatsapp-inline {
  color: #151813;
  background: linear-gradient(135deg, #d3b56f, var(--gold));
  box-shadow: 0 16px 30px rgba(185, 151, 91, 0.24);
}

.secondary-button,
.wechat-inline {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: #141815;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 20, 18, 0.94), rgba(17, 20, 18, 0.78) 45%, rgba(17, 20, 18, 0.16) 76%),
    linear-gradient(180deg, rgba(17, 20, 18, 0.12), rgba(17, 20, 18, 0.82));
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px) 150px;
}

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

.hero h1,
.section-heading h2,
.premium h2,
.formula h2,
.contact h2 {
  margin: 0;
  line-height: 1.04;
  font-weight: 950;
}

.hero h1 {
  color: #f8f3e8;
  max-width: 760px;
  font-size: clamp(44px, 6.3vw, 82px);
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(248, 243, 232, 0.74);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.68;
}

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

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 32px;
  left: clamp(20px, 5vw, 72px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof span {
  min-height: 88px;
  padding: 18px;
  color: rgba(248, 243, 232, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(185, 151, 91, 0.3);
  border-radius: 3px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: #d3b56f;
  font-size: 30px;
  line-height: 1;
}

section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.intro-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-strip p {
  flex: 1 1 430px;
  margin: 0;
  color: #4f574f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}

.intro-strip span {
  padding: 10px 13px;
  color: #2c423b;
  background: #f2eadb;
  border: 1px solid #e0d1b5;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.section-heading.center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.premium h2,
.formula h2,
.contact h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.section-heading p:not(.eyebrow),
.premium p,
.formula p,
.contact p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.solutions {
  background: linear-gradient(180deg, #fbfaf6, #efe9dc);
}

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

.solution-grid article,
.product-card,
.steps article,
.inquiry-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.solution-grid article {
  min-height: 280px;
  padding: 30px;
}

.solution-grid span,
.steps span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  font-size: 23px;
  line-height: 1.16;
}

.solution-grid p,
.product-card p,
.steps p,
.premium-points span,
.formula li {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.products {
  background: #f0eadf;
}

.portfolio-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.portfolio-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.portfolio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.portfolio-copy h3 {
  margin-top: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.portfolio-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: top center;
}

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

.product-card small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card.featured {
  border-color: rgba(201, 148, 66, 0.58);
  background: linear-gradient(180deg, #fff, var(--gold-soft));
}

.catalog {
  display: grid;
  grid-template-columns: minmax(320px, 0.54fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: #fbfaf6;
}

.catalog-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.catalog h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
}

.catalog p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  padding-bottom: 7px;
  color: var(--deep);
  border-bottom: 2px solid var(--gold);
  font-weight: 950;
}

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

.catalog-page {
  margin: 0;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(24, 42, 37, 0.11);
}

.catalog-page.large {
  grid-row: span 2;
}

.catalog-page img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.catalog-page.large img {
  height: 656px;
}

.catalog-page figcaption {
  padding: 14px 16px 16px;
  color: #2c3b36;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.premium {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.86fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: #171d1a;
  color: #f8f3e8;
}

.premium .eyebrow,
.premium h2,
.premium-points strong {
  color: #f8f3e8;
}

.premium p,
.premium-points span {
  color: rgba(248, 243, 232, 0.72);
}

.premium-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.premium-points div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
}

.premium-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--deep);
}

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

.premium-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.premium-gallery .wide {
  grid-column: 1 / -1;
  height: 340px;
}

.formula {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #fbfaf6, #ebe2d2);
}

.formula-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.formula ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.formula li {
  position: relative;
  padding: 16px 16px 16px 42px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.formula li::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.factory {
  background: #fbfaf6;
}

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

.factory-stat,
.factory-photo {
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 16px 38px rgba(28, 57, 50, 0.1);
}

.factory-stat {
  display: grid;
  align-content: center;
  min-height: 160px;
  padding: 24px;
}

.factory-stat strong {
  color: #17312b;
  font-size: 58px;
  line-height: 1;
}

.factory-stat span {
  margin-top: 8px;
  color: #52625c;
  font-weight: 850;
  line-height: 1.42;
}

.factory-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.factory-photo {
  position: relative;
}

.factory-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: #f8f3e8;
  background: rgba(17, 20, 18, 0.72);
  border: 1px solid rgba(185, 151, 91, 0.24);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
}

.factory-photo.large {
  grid-column: span 3;
  grid-row: span 2;
}

.factory-photo.large img {
  height: 516px;
}

.factory-stat,
.factory-photo {
  grid-column: span 2;
}

.process {
  background: #eee6d8;
}

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

.steps article {
  min-height: 220px;
  padding: 26px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(23, 49, 43, 0.08), rgba(185, 151, 91, 0.16)),
    #fbfaf6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.website-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--deep);
  border-bottom: 1px solid var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.whatsapp-inline {
  background: #1fa855;
  box-shadow: 0 12px 26px rgba(31, 168, 85, 0.22);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #374743;
  font-size: 14px;
  font-weight: 850;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfb;
  border: 1px solid #d8e4dd;
  border-radius: 8px;
  font: inherit;
}

.inquiry-form textarea {
  min-height: 124px;
  resize: vertical;
}

.inquiry-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 18px 9px 10px;
  color: #fff;
  background: #1fa855;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(17, 109, 54, 0.34);
}

.whatsapp-float span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #1fa855;
  background: #fff;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 950;
}

.whatsapp-float strong {
  font-size: 15px;
  line-height: 1;
}

.wechat-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  grid-template-columns: 36px auto;
  column-gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 9px 16px 9px 10px;
  color: #fff;
  background: #16a34a;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(17, 109, 54, 0.28);
}

.wechat-float span {
  display: grid;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #16a34a;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 950;
}

.wechat-float strong {
  font-size: 14px;
  line-height: 1;
}

.wechat-float small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.86;
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

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

  .section-heading.split,
  .portfolio-panel,
  .catalog,
  .premium,
  .formula,
  .contact {
    grid-template-columns: 1fr;
  }

  .catalog-copy {
    position: static;
  }

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

  .factory-stat,
  .factory-photo,
  .factory-photo.large {
    grid-column: span 1;
  }

  .factory-photo.large img,
  .formula-media img {
    height: 430px;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-overlay {
    padding: 54px 18px 30px;
  }

  .hero-media {
    position: relative;
    height: 300px;
    order: 2;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(245, 242, 234, 0.9));
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    padding: 0 18px 28px;
  }

  section {
    padding: 58px 18px;
  }

  .intro-strip {
    padding: 18px;
  }

  .solution-grid,
  .product-grid,
  .catalog-grid,
  .steps,
  .factory-layout,
  .premium-gallery {
    grid-template-columns: 1fr;
  }

  .portfolio-panel img,
  .catalog-page.large img,
  .catalog-page img,
  .premium-gallery .wide,
  .premium-gallery img,
  .factory-photo.large img,
  .factory-photo img,
  .formula-media img {
    height: 300px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 82px;
    min-height: 50px;
    padding-right: 14px;
  }

  .wechat-float {
    right: 16px;
    bottom: 16px;
  }
}
