:root {
  --bg: #070b0f;
  --panel: #101821;
  --gold: #c7a15a;
  --gold-strong: #d8ac56;
  --text: #f6f3ec;
  --ink: #142027;
  --muted: #aeb7bd;
  --line: rgba(255, 255, 255, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f6f3ec;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  background: linear-gradient(180deg, rgba(7, 11, 15, .9), rgba(7, 11, 15, .54), transparent);
  color: white;
}

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

.mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 800;
  flex: 0 0 auto;
}

.brand b {
  letter-spacing: .14em;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: #cfd6d9;
  font-size: 12px;
  margin-top: 3px;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: #e8ecee;
}

nav a,
.nav-call,
.lang,
.menu-toggle,
.btn,
.product-link,
.floating-contact a {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

nav a:hover,
.nav-call:hover,
.btn:hover,
.product-link:hover,
.floating-contact a:hover {
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-call,
.lang {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: white;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.nav-call { padding: 9px 14px; font-size: 13px; }
.lang { padding: 9px 14px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: white;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 8vw;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 15, .84), rgba(7, 11, 15, .52), rgba(7, 11, 15, .18)),
    url('images/acb34682fe1f3507d32df4f398123310.jpg') center / cover;
  transform: scale(1.02);
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: .98;
  margin: 18px 0;
  font-weight: 750;
}

.lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
  color: #e3e7e9;
  max-width: 760px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font-weight: 700;
}

.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.btn.primary:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
}

.hero-card {
  position: absolute;
  right: 6vw;
  bottom: 12vh;
  z-index: 1;
  border: 1px solid var(--line);
  background: rgba(10, 18, 24, .62);
  backdrop-filter: blur(16px);
  padding: 22px 28px;
  min-width: 270px;
  max-width: min(380px, 36vw);
}

.hero-card b {
  display: block;
  font-size: 22px;
  color: var(--gold);
}

.hero-card span { color: #e8ecee; }

.band {
  background: var(--bg);
  color: white;
}

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

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

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

.metrics strong {
  font-size: 42px;
  color: var(--gold);
  display: block;
}

.section { padding: 110px 7vw; }

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

.copy h2,
.section-head h2,
.contact h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
  margin: 12px 0 24px;
}

.copy p {
  font-size: 17px;
  line-height: 2;
  color: #4a555b;
}

.values {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.values span {
  border: 1px solid #d6c8aa;
  padding: 10px 18px;
  border-radius: 999px;
  color: #8a6a30;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.image-stack img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
}

.image-stack img:first-child { margin-top: 70px; }

.dark {
  background: var(--bg);
  color: white;
}

.section-head {
  max-width: 850px;
  margin-bottom: 45px;
}

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

.product {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #13202a, #0a1118);
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 100%;
}

.product img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(.92);
}

.product h3 {
  font-size: 21px;
  margin: 20px 4px 8px;
}

.product p {
  color: #b8c1c6;
  line-height: 1.8;
  margin: 0 4px 16px;
}

.product-link {
  margin: auto 4px 4px;
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 800;
}

.product-link:after {
  content: ">";
  margin-left: 8px;
}

.process { background: #f7f4ed; }

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 35px 0;
}

.timeline span {
  background: white;
  border: 1px solid #e2d8c5;
  padding: 22px 12px;
  text-align: center;
  color: #5b4a2a;
  font-weight: 700;
}

.wide-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .16);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 310px;
  gap: 18px;
}

.case-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.case-grid img:first-child { grid-row: span 2; }

.contact {
  background: linear-gradient(120deg, #f6f3ec, #e8e0d0);
}

.contact-card {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 40px;
  align-items: center;
  background: #071019;
  color: white;
  padding: 70px;
  border: 1px solid rgba(199, 161, 90, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.contact-card p {
  color: #d6dcdf;
  font-size: 18px;
}

.contact-card a { color: inherit; }

.contact-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  padding: 28px;
}

.contact-panel span {
  display: block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-panel ul {
  margin: 0;
  padding-left: 20px;
  color: #d6dcdf;
  line-height: 1.9;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(7, 11, 15, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.floating-contact a {
  min-width: 64px;
  padding: 11px 14px;
  border-radius: 999px;
  color: white;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}

.floating-contact a:first-child {
  background: var(--gold);
  color: #111;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  color: #8e989e;
  padding: 26px 7vw 82px;
  font-size: 13px;
}

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

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  nav { gap: 18px; }
  .nav-call { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    padding: 16px 24px;
    gap: 10px;
    background: linear-gradient(180deg, rgba(7, 11, 15, .94), rgba(7, 11, 15, .72));
  }

  .brand { min-width: 0; }

  nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(7, 13, 19, .96);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .24s ease;
  }

  body.menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  nav a:last-child { border-bottom: 0; }

  .menu-toggle { display: block; }

  .hero {
    display: block;
    min-height: 100svh;
    padding: 132px 30px 72px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-content {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: .12em;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 58px);
    line-height: 1.05;
    max-width: 6.2em;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 16px;
    line-height: 1.85;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-width: 0;
    padding: 13px 20px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 330px);
    max-width: 330px;
    min-width: 0;
    margin-top: 28px;
    padding: 18px 20px;
  }

  .hero-card b {
    font-size: 18px;
  }

  .metrics,
  .split,
  .product-grid,
  .case-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .metrics {
    padding: 18px 6vw;
  }

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

  .image-stack { grid-template-columns: 1fr; }
  .image-stack img:first-child { margin-top: 0; }
  .image-stack img,
  .product img { height: 260px; }

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

  .case-grid {
    grid-auto-rows: 240px;
  }

  .case-grid img:first-child { grid-row: auto; }

  .section {
    padding: 72px 6vw;
  }

  .contact-card {
    padding: 38px;
    gap: 28px;
  }

  .contact-panel {
    padding: 22px;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }

  .floating-contact a {
    flex: 1;
  }

  footer {
    flex-direction: column;
    padding-bottom: 92px;
  }
}

@media (max-width: 420px) {
  .nav {
    padding-inline: 16px;
  }

  .brand b {
    font-size: 14px;
    letter-spacing: .08em;
  }

  .brand small {
    font-size: 10px;
  }

  .lang {
    display: none;
  }

  .hero {
    padding-inline: 30px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 52px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .copy h2,
  .section-head h2,
  .contact h2 {
    font-size: clamp(30px, 10vw, 42px);
  }
}
