:root {
  --bg: #f5f8f8;
  --text: #14313b;
  --muted: #617782;
  --primary: #0aa79d;
  --primary-dark: #08756f;
  --accent: #f1b447;
  --line: #dbe8e7;
  --white: #fff;
  --shadow: 0 18px 54px rgba(16, 61, 73, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

img {
  display: block;
}

.topbar {
  min-height: 38px;
  padding: 9px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #073b3a;
  color: #e8fffb;
  font-size: 13px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
}

.brand-logo {
  width: clamp(150px, 17vw, 220px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.nav a:hover::after {
  width: 100%;
}

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

select {
  max-width: 150px;
  border: 1px solid #cde7e5;
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--text);
}

.menu-btn {
  display: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  background: #e6f6f5;
  color: var(--primary-dark);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(10, 167, 157, .25);
  transition: transform .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .48);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 130px 6vw 90px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  overflow: hidden;
  background: #0d373b;
}

.hero-slider,
.hero-slide,
.hero-overlay,
.hero-right-mask {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.075);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 25, 32, .9) 0%, rgba(4, 30, 34, .63) 42%, rgba(4, 30, 34, .16) 68%, rgba(4, 30, 34, 0) 100%);
}

.hero-right-mask {
  left: auto;
  z-index: 2;
  width: 43%;
  background: linear-gradient(90deg, rgba(7, 59, 58, 0) 0%, rgba(7, 59, 58, .38) 28%, rgba(7, 59, 58, .92) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9efff5;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: 64px;
  line-height: 1.04;
}

.hero-subtitle {
  max-width: 740px;
  color: #e0f6f4;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-thumbs {
  position: absolute;
  z-index: 4;
  right: 42px;
  top: 50%;
  width: 150px;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  opacity: .68;
  cursor: pointer;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  border-color: #fff;
  transform: translateX(-4px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 96px 6vw;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2,
.quality h2,
.contact h2 {
  margin: 10px 0;
  font-size: 42px;
  line-height: 1.15;
}

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

.about-copy p,
.quality p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stat {
  min-height: 118px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat strong {
  color: var(--primary);
  font-size: 30px;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

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

.image-stack img,
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, #dff7f4, #fff);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  height: 420px;
}

.image-stack img:last-child {
  height: 320px;
  margin-top: 70px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.tab.active,
.tab:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

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

.product-card,
.showcase-card {
  overflow: hidden;
  border: 1px solid rgba(219, 232, 231, .78);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover,
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(16, 61, 73, .18);
}

.product-image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #f7fbfb;
  border-bottom: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card h3 {
  min-height: 72px;
  margin: 0;
  padding: 20px 20px 22px;
  display: flex;
  align-items: center;
  color: #16313a;
  font-size: 20px;
  line-height: 1.32;
}

.quality-card,
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  padding: 56px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #073b3a, #0aa79d 68%, #42b5a5);
  box-shadow: var(--shadow);
}

.quality-card .eyebrow,
.contact-panel .eyebrow {
  color: #a7fff7;
}

.quality-card p,
.contact-panel p {
  color: #e3fffb;
}

.quality-card li {
  margin: 14px 0;
  font-weight: 800;
}

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

.showcase-card img {
  height: 250px;
  border-radius: 0;
  box-shadow: none;
}

.showcase-card h3 {
  margin: 0;
  padding: 22px 24px 24px;
  font-size: 20px;
}

.contact-details {
  display: flex;
  align-items: center;
  min-height: 120px;
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, .14);
}

.float-ws {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 44px rgba(37, 211, 102, .34);
  transition: transform .25s ease, box-shadow .25s ease;
}

.float-ws:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(37, 211, 102, .42);
}

.float-ws svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-tg {
  position: fixed;
  right: 94px;
  bottom: 24px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
  box-shadow: 0 18px 44px rgba(34, 158, 217, .34);
  transition: transform .25s ease, box-shadow .25s ease;
}

.float-tg:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(34, 158, 217, .42);
}

.float-tg svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.footer {
  padding: 34px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #062f2f;
  color: #c9fffb;
}

.footer-logo {
  width: 190px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 1080px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 114px;
    display: none;
    flex-direction: column;
    padding: 26px 6vw;
    background: #fff;
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    min-height: 680px;
    grid-template-columns: 1fr;
    padding-right: 220px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .about-grid,
  .quality-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .topbar {
    padding: 9px 18px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-logo {
    width: 142px;
    height: 46px;
  }

  .hero {
    min-height: 680px;
    padding: 98px 18px 138px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-right-mask {
    top: auto;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, rgba(7, 59, 58, 0) 0%, rgba(7, 59, 58, .9) 100%);
  }

  .hero-thumbs {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 28px;
    width: auto;
    grid-template-columns: repeat(3, 1fr);
    transform: none;
  }

  .thumb:hover,
  .thumb.active {
    transform: translateY(-3px);
  }

  .section {
    padding: 70px 18px;
  }

  .section-head h2,
  .quality h2,
  .contact h2 {
    font-size: 32px;
  }

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

  .image-stack img:last-child {
    margin-top: 0;
  }

  .quality-card,
  .contact-panel {
    padding: 32px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-logo {
    width: 164px;
    height: 52px;
  }
}
