/* ==========================================================================
   ONYX UNION LIMITED — eco general trading landing
   Palette: deep forest, fresh leaf green, mint, clean-water accents
   ========================================================================== */

:root {
  --forest:       #0b3d2e;
  --forest-2:     #0e5c40;
  --forest-3:     #0a3225;
  --green:        #16a34a;
  --leaf:         #22c55e;
  --leaf-bright:  #4ade80;
  --mint:         #dcfce7;
  --mint-2:       #eef9f1;
  --aqua:         #0ea5e9;
  --aqua-soft:    #7dd3fc;
  --ink:          #12261e;
  --muted:        #51675d;
  --paper:        #f7fbf8;
  --white:        #ffffff;
  --line:         #dcebe2;

  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 2px 10px rgba(11, 61, 46, .06);
  --shadow-md: 0 12px 32px -8px rgba(11, 61, 46, .18);
  --shadow-lg: 0 24px 64px -16px rgba(11, 61, 46, .28);

  --font: 'Manrope', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }

.btn-solid {
  background: linear-gradient(135deg, var(--leaf) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(22, 163, 74, .65);
}
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(22, 163, 74, .7); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.header.scrolled {
  background: rgba(247, 251, 248, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -12px rgba(11, 61, 46, .25);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 2rem; }

.brand { flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.header.scrolled .brand-logo { height: 32px; }

.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: #eaf6ef;
  position: relative;
  padding: .25rem 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: .55rem 1.35rem;
  font-size: .88rem;
  color: #fff;
}
.nav-cta::after { display: none; }

.header.scrolled .nav-link { color: var(--forest); }
.header.scrolled .nav-link:hover { color: var(--green); }

.header-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav + .header-right { margin-left: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}
.header.scrolled .lang-switch { background: var(--mint-2); border-color: var(--line); }
.lang-sep { color: rgba(255,255,255,.6); font-size: .8rem; }
.header.scrolled .lang-sep { color: var(--muted); }
.lang-btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  padding: .18rem .35rem;
  border-radius: 6px;
  transition: color .2s ease;
}
.lang-btn.is-active { color: #7cf3a8; }
.header.scrolled .lang-btn { color: var(--muted); }
.header.scrolled .lang-btn.is-active { color: var(--green); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.header.scrolled .burger span { background: var(--forest); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 62%; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(4, 26, 18, .66) 0%,
      rgba(6, 32, 22, .28) 42%,
      rgba(5, 30, 20, .62) 78%,
      rgba(6, 38, 26, .88) 100%),
    radial-gradient(80% 60% at 20% 30%, rgba(14, 165, 74, .18), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 120px;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--leaf-bright);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .25);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 222, 128, .08); }
}

.hero-title { margin: 1.6rem 0 1.3rem; font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.hero-title .line { display: block; }
.line-1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
.line-2 {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  background: linear-gradient(92deg, #a7f3d0 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .88);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
  margin-top: 3.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-stats li { display: flex; flex-direction: column; gap: .1rem; }
.hero-stats strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #c9f7dd;
}
.hero-stats .unit { font-size: 1.1rem; }
.hero-stats span:not(.unit) { font-size: .88rem; color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--forest);
  color: #bfead1;
  padding: .95rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  animation: marquee 36s linear infinite;
}
.marquee-track span { font-weight: 700; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; }
.marquee-track i { color: var(--leaf); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Sections (generic)
   -------------------------------------------------------------------------- */
.section { padding: 108px 0; }

.eyebrow {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  margin-right: .7rem;
  vertical-align: middle;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--aqua));
}
.eyebrow-light { color: var(--leaf-bright); }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.18;
  color: var(--forest);
  max-width: 640px;
}
.title-light { color: #fff; }

.section-sub { margin-top: 1.1rem; color: var(--muted); max-width: 620px; }
.sub-light { color: rgba(255, 255, 255, .78); }

.section-head { margin-bottom: 3.2rem; }
.section-head .section-title, .section-head .section-sub { max-width: 720px; }

.lead { font-size: 1.12rem; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-media { position: relative; }
.about-media > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-card {
  position: absolute;
  left: -26px;
  bottom: 34px;
  width: min(320px, 88%);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-md);
}
.about-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .48rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9rem;
}
.about-card-row:last-child { border-bottom: 0; }
.about-card-row span { color: var(--muted); }
.about-card-row strong { color: var(--forest); font-weight: 700; text-align: right; }

.about-card-row.addr { display: flex; }
.about-card-row.addr strong { display: block; text-align: right; line-height: 1.45; max-width: 200px; }
.footer-col li.addr { display: flex; justify-content: space-between; align-items: baseline; gap: 1.4rem; }
.footer-col li.addr strong { text-align: right; line-height: 1.45; max-width: 230px; }

.about-body .lead { margin: 1.3rem 0 1rem; }

.check-list { margin-top: 1.6rem; display: grid; gap: .8rem; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 600;
  color: var(--forest);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: .1rem;
  width: 1.4rem; height: 1.4rem;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Catalog
   -------------------------------------------------------------------------- */
.section-alt { background: linear-gradient(180deg, #fff 0%, var(--mint-2) 55%, #fff 100%); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-media img { transform: scale(1.07); }

.product-num {
  position: absolute;
  top: 14px; right: 16px;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  background: rgba(11, 61, 46, .55);
  backdrop-filter: blur(6px);
  padding: .25rem .65rem;
  border-radius: 999px;
  letter-spacing: .08em;
}

.product-body { padding: 1.45rem 1.55rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-tag {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.product-body h3 { font-size: 1.22rem; font-weight: 800; color: var(--forest); letter-spacing: -.01em; }
.product-desc { font-size: .93rem; color: var(--muted); flex: 1; }

.product-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.product-chips span {
  font-size: .74rem;
  font-weight: 700;
  color: var(--forest-2);
  background: var(--mint);
  padding: .28rem .7rem;
  border-radius: 999px;
}

.product-cta {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(14, 165, 233, .16), transparent 55%),
    linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
  border: 0;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}
.product-cta .product-body { justify-content: center; padding: 2.2rem; }
.product-cta h3 { color: #fff; font-size: 1.5rem; }
.product-cta .product-desc { color: rgba(255, 255, 255, .8); }
.cta-plus {
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--leaf-bright);
  line-height: 1;
  margin-bottom: .6rem;
}
.product-cta .btn { margin-top: 1rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Banner (HK day)
   -------------------------------------------------------------------------- */
.banner { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; }
.banner-bg, .banner-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-bg img { object-fit: cover; object-position: center 55%; }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 32, 22, .55), rgba(6, 32, 22, .65)),
              radial-gradient(70% 90% at 50% 50%, transparent, rgba(4, 26, 18, .5));
}
.banner-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 80px 0; }
.banner-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.015em;
  max-width: 760px;
  margin-inline: auto;
}
.banner-content p { margin-top: 1rem; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Sustainability
   -------------------------------------------------------------------------- */
.sustainability {
  position: relative;
  background:
    radial-gradient(90% 90% at 85% 10%, rgba(14, 165, 233, .14), transparent 55%),
    radial-gradient(80% 100% at 10% 90%, rgba(34, 197, 94, .16), transparent 60%),
    var(--forest-3);
  color: #fff;
  overflow: hidden;
}
.sustainability::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/eco-water-1.jpg") center 30% / cover no-repeat;
  opacity: .1;
}
.sustainability .container { position: relative; z-index: 2; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.pillar {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(125, 211, 252, .45);
}
.pillar-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(74, 222, 128, .22), rgba(14, 165, 233, .22));
  border: 1px solid rgba(125, 211, 252, .3);
  color: #9ff0c4;
  margin-bottom: 1.15rem;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: .5rem; }
.pillar p { font-size: .94rem; color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}
.contact-body .lead { margin: 1.2rem 0 2rem; }

.contact-cards { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.contact-card {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--leaf); }
.contact-img { height: 44px; width: auto; }

.contact-media { position: relative; }
.contact-media img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(34, 197, 94, .14), transparent 45%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--forest-3); color: rgba(255, 255, 255, .78); padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr .7fr;
  gap: 3rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand p { margin: 1.1rem 0 1.4rem; font-size: .93rem; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; }
.footer-badges img { height: 30px; width: auto; opacity: .95; }

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .55rem; font-size: .9rem; }
.footer-col li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-col li span { color: rgba(255, 255, 255, .55); }
.footer-col li strong { color: #d7f5e3; font-weight: 700; }

.footer-nav a { color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.footer-nav a:hover { color: var(--leaf-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-top: 1.6rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom .credits { max-width: 640px; text-align: right; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-media > img { height: 440px; }
  .contact-media img { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 96px 2rem 2rem;
    background: var(--forest-3);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 90;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
  }
  .nav.open { transform: none; }
  .nav-link { color: #eaf6ef !important; font-size: 1.15rem; }
  .nav-cta { color: #fff; }
  .burger { display: flex; z-index: 95; }
  .header.scrolled .burger span { background: var(--forest); }
  .burger.open span { background: #fff !important; }

  .section { padding: 78px 0; }
  .pillars { grid-template-columns: 1fr; }
  .hero-content { padding: 120px 0 90px; }
  .hero-stats { gap: 1.6rem; }
}

@media (max-width: 620px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .credits { text-align: left; }
  .about-card { position: static; width: 100%; margin-top: -30px; margin-left: 12px; width: calc(100% - 24px); }
  .about-media > img { height: 340px; }
  .contact-media img { height: 300px; }
  .contact-img { height: auto; max-width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* Print: hide decorative elements */
@media print {
  .header, .marquee, .banner, .footer-badges { display: none; }
  .hero { min-height: auto; color: var(--ink); }
}
