/*
Theme Name: Plant Chain
Theme URI: https://gzplantchain.com
Author: Plant Chain
Description: Custom B2B hair care OEM/ODM theme for GZ Plant Chain.
Version: 1.0.0
Text Domain: plant-chain
*/

:root {
  --green: #11883e;
  --green-dark: #075a2c;
  --green-soft: #eaf5ed;
  --ink: #14231a;
  --muted: #637168;
  --cream: #f7f5ef;
  --white: #fff;
  --line: #dfe7e1;
  --shadow: 0 18px 60px rgba(14, 48, 27, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--cream); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4.5vw, 62px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
.lead { max-width: 700px; font-size: 19px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}
.section-head h2 { max-width: 760px; margin-bottom: 0; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 800;
  transition: .25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--green-dark); border-color: var(--green-dark); }
.btn-light { background: white; border-color: white; color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green); }
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
  transition: .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(12,43,23,.08);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; height: 88px; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: white; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 18px; letter-spacing: .05em; }
.brand-text small { font-size: 9px; letter-spacing: .14em; opacity: .72; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-size: 13px; font-weight: 750; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; font-size: 28px; }
.hero {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #0a2f1c;
}
.hero-media, .hero-media:after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media:after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4,32,17,.9) 0%, rgba(4,32,17,.62) 46%, rgba(4,32,17,.12) 78%),
    linear-gradient(0deg, rgba(4,24,14,.65), transparent 55%);
}
.hero-content { position: relative; z-index: 2; padding: 190px 0 92px; }
.hero-content h1 { max-width: 950px; margin-bottom: 24px; }
.hero-content .lead { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.22);
}
.hero-stat { padding: 20px; background: rgba(5,41,23,.48); backdrop-filter: blur(12px); }
.hero-stat strong { display: block; font-size: 27px; }
.hero-stat span { color: rgba(255,255,255,.7); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 3px; font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-soft);
}
.product-card:first-child { grid-column: span 2; }
.product-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card:after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(4,30,16,.82), transparent 60%); }
.product-copy { position: absolute; z-index: 2; right: 28px; bottom: 24px; left: 28px; color: white; }
.product-copy h3 { margin-bottom: 6px; }
.product-copy p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.image-stack { position: relative; padding: 0 40px 50px 0; }
.image-stack .main-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.image-stack .float-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 8px solid var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.check-list { display: grid; gap: 16px; margin: 30px 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.check-list b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.check-list strong { display: block; }
.check-list span { color: var(--muted); font-size: 14px; }
.vr-section { background: #082d1a; color: white; }
.vr-section p { color: rgba(255,255,255,.68); }
.vr-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; }
.vr-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: #02180c;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.vr-frame iframe { width: 100%; height: 100%; border: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.step { min-height: 245px; padding: 32px; background: white; }
.step-number { display: block; margin-bottom: 45px; color: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.step p { font-size: 14px; }
.gallery { display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: 280px 280px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery img:first-child { grid-row: span 2; }
.gallery img:last-child { grid-column: span 2; }
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-card { padding: 34px; border-radius: var(--radius); background: var(--green); color: white; }
.contact-card p, .contact-card a { color: rgba(255,255,255,.78); }
.contact-card dl { margin: 35px 0 0; }
.contact-card dt { margin-top: 20px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.contact-card dd { margin: 5px 0 0; font-size: 17px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #ccd8cf;
  border-radius: 10px;
  outline: none;
  background: white;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(17,136,62,.1); }
.form-notice { grid-column: 1/-1; padding: 12px 15px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); }
.site-footer { padding: 60px 0 24px; background: #061c10; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 60px; padding-bottom: 50px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.62); }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 8px; }
.copyright { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 12px; }
.reveal { opacity: 0; transform: translateY(20px); transition: .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .nav-menu {
    position: absolute;
    top: 88px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 25px;
    border-radius: 14px;
    background: white;
    color: var(--ink);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: grid; }
  .nav-menu .btn { width: 100%; }
  .menu-toggle { display: block; }
  .hero { min-height: 780px; }
  .hero-stats, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .split, .vr-wrap, .contact-grid { grid-template-columns: 1fr; }
  .product-card:first-child { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .site-header .btn { display: none; }
  .brand-text small { display: none; }
  .hero-content { padding-bottom: 50px; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 45px; }
  .hero-stat { padding: 14px; }
  .hero-stat strong { font-size: 21px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { display: block; }
  .product-card { min-height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 230px); }
  .gallery img:first-child { grid-row: auto; }
  .inquiry-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}
