/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #1f6f54;
  --green-dark: #16463a;
  --green-soft: #3f7d63;
  --amber: #e8a33d;
  --amber-dark: #caa436;
  --cream: #f8f7f3;
  --ink: #1a2b25;
  --muted: #5e6f68;
  --line: #e4e7e3;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(22,70,58,.10);
  --radius: 14px;
  --maxw: 1180px;
  --header-h: 70px;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 40px; font-weight: 700; font-size: 14px;
  letter-spacing: .3px; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: #2a1d05; box-shadow: 0 6px 18px rgba(232,163,61,.35); }
.btn--primary:hover { background: var(--amber-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--quote { background: var(--green); color: #fff; padding: 9px 20px; margin-left: 8px; }
.btn--quote:hover { background: var(--green-dark); }

/* ============ TOP BAR ============ */
.topbar { background: var(--green-dark); color: #cfe6da; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__social { color: #cfe6da; margin-right: 12px; opacity: .85; transition: opacity .2s, color .2s; }
.topbar__social:hover { opacity: 1; color: var(--amber); }
.topbar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.2); margin: 0 12px; display: inline-block; }
.topbar__link { color: var(--amber); }
.topbar__link:hover { text-decoration: underline; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark--img { width: 40px; height: 40px; border-radius: 9px; background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.logo__mark--img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo__mark--footer { width: 36px; height: 36px; background: #fff; }
.logo__text { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--green); }
.logo__text span { color: var(--amber); }
.nav { display: flex; align-items: center; }
.nav__link { font-size: 14px; font-weight: 600; color: var(--ink); padding: 10px 14px; position: relative; transition: color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--green); }
.nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--amber); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero__slides { position: relative; }
.hero__slide {
  display: none; background: var(--slide-bg, var(--green-dark));
  color: #fff; padding: 70px 0 80px; min-height: 460px;
}
.hero__slide.is-active { display: block; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; }
.hero__eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--amber); margin-bottom: 14px; }
.hero__title { font-size: clamp(30px, 4.5vw, 50px); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.hero__sub { font-size: 16px; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { display: flex; justify-content: center; align-items: center; }
.hero__bag { animation: float 4s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.hero__slide--image { background-size: cover; background-position: center center; background-repeat: no-repeat; min-height: 780px; padding: 0; }
.hero__slide--overlay { position: relative; }
.hero__slide--overlay .hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 50%, transparent 80%); z-index: 1; }
.hero__slide--overlay-dark .hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.08) 80%); }
.hero__slide--overlay .hero__inner { position: relative; z-index: 2; }
.hero__slide--full { background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 780px; }
.hero__bag--2 { animation-delay: .5s; }
.hero__bag--3 { animation-delay: 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.18); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; transition: background .2s; z-index: 3; }
.hero__arrow:hover { background: var(--amber); color: #2a1d05; }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s; }
.hero__dots button.is-active { background: var(--amber); width: 26px; border-radius: 6px; }

/* ============ STATS ============ */
.stats { background: var(--green); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat__num { font-size: 42px; font-weight: 800; color: var(--amber); line-height: 1; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 6px; }

/* ============ SECTION ============ */
.section { padding: 80px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section__head--light { color: #fff; }
.section__eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--amber); margin-bottom: 12px; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--green-dark); }
.section__head--light .section__title { color: #fff; }
.section__title--left { text-align: left; }
.section__lead { color: var(--muted); margin-top: 14px; font-size: 16px; }
.section__head--light .section__lead { color: rgba(255,255,255,.8); }
.section__cta { text-align: center; margin-top: 44px; }

/* ============ PRODUCTS ============ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media { background: var(--cream); height: 260px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-card__media--img { background: #fff; }
.product-card__media--img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .35s ease; }
.product-card:hover .product-card__media--img img { transform: scale(1.05); }
.product-grid .product-card:nth-last-child(-n+2) .product-card__media--img img { object-fit: cover; padding: 0; }
.product-card__body { padding: 18px 18px 22px; }
.product-card__title { font-size: 17px; font-weight: 700; color: var(--green-dark); }
.product-card__desc { font-size: 14px; color: var(--muted); margin: 8px 0 14px; min-height: 42px; }
.product-card__link { color: var(--green); font-weight: 700; font-size: 14px; transition: color .2s; }
.product-card__link:hover { color: var(--amber); }

/* ============ CERTS ============ */
.certs { background: var(--cream); padding: 60px 0; }
.certs__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 10px; text-align: center; transition: transform .2s, box-shadow .2s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert__badge { display: block; font-size: 18px; font-weight: 800; color: var(--green); letter-spacing: .5px; }
.cert__name { font-size: 12px; color: var(--muted); }

/* ============ ABOUT ============ */
.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about__media { position: relative; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about__badge { position: absolute; right: -14px; bottom: -14px; background: var(--amber); color: #2a1d05; width: 110px; height: 110px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.about__badge span { font-size: 30px; font-weight: 800; line-height: 1; }
.about__badge small { font-size: 11px; text-align: center; margin-top: 4px; }
.about__copy p { color: var(--muted); margin: 14px 0; }
.about__quote { border-left: 4px solid var(--amber); padding: 12px 18px; background: var(--cream); border-radius: 0 10px 10px 0; font-style: italic; color: var(--ink); margin: 22px 0; }

/* ============ WHY ============ */
.why { background: var(--cream); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.why__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why__icon { font-size: 34px; margin-bottom: 14px; }
.why__item h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.why__item p { font-size: 14px; color: var(--muted); }

/* ============ CAPABILITIES ============ */
.capabilities { background: var(--green-dark); }
.cap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 22px; text-align: center; color: #fff; transition: transform .25s, background .25s; }
.cap__card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.cap__art { margin-bottom: 16px; display: flex; justify-content: center; }
.cap__card h3 { font-size: 18px; margin-bottom: 8px; }
.cap__card p { font-size: 14px; color: rgba(255,255,255,.78); }

/* ============ NEWS ============ */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news__card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.news__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news__media { height: 170px; background: var(--n, var(--green)); position: relative; }
.news__media::after { content: "FENGYUAN BAG"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-weight: 800; letter-spacing: 2px; font-size: 14px; }
.news__body { padding: 20px; }
.news__date { font-size: 12px; color: var(--amber); font-weight: 700; }
.news__body h3 { font-size: 17px; color: var(--green-dark); margin: 8px 0; line-height: 1.35; }
.news__body p { font-size: 14px; color: var(--muted); }
.news__link { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 700; font-size: 14px; }

/* ============ NEWSLETTER ============ */
.newsletter { background: var(--green); color: #fff; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 50px 0; }
.newsletter__copy h2 { font-size: 28px; margin-bottom: 8px; }
.newsletter__copy p { color: rgba(255,255,255,.85); }
.newsletter__form { display: flex; gap: 12px; }
.newsletter__form input { flex: 1; padding: 14px 18px; border-radius: 40px; border: none; font-size: 15px; }
.newsletter__msg, .contact__msg { color: var(--amber); font-weight: 700; margin-top: 12px; grid-column: 1/-1; }

/* ============ CONTACT ============ */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact__info p { color: var(--muted); margin: 16px 0 22px; }
.contact__list { list-style: none; }
.contact__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact__form input, .contact__form textarea { width: 100%; padding: 13px 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--green); }
.contact__form .field { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============ FOOTER ============ */
.footer { background: var(--green-dark); color: #cfe6da; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text span { color: var(--amber); }
.footer__col--brand p { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 14px; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: rgba(255,255,255,.72); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--amber); }
.footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.footer__socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.footer__socials a:hover { background: var(--amber); color: #2a1d05; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; color: rgba(255,255,255,.6); }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ============ FLOATING ============ */
.floating { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.floating__btn { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.2); transition: transform .2s; }
.floating__btn:hover { transform: scale(1.08); }
.floating__wa { background: #25d366; color: #fff; }
.floating__mail { background: var(--amber); color: #2a1d05; }
.floating__tel { background: var(--green); color: #fff; }
.floating__top { background: #fff; color: var(--green); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.floating__top.is-show { opacity: 1; pointer-events: auto; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .product-grid, .certs__row, .cap__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .news__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { display: none; }
  .hero__slide--image, .hero__slide--full { min-height: 600px; }
  .hero__slide--overlay .hero__overlay { background: rgba(0,0,0,.48); }
  .hero__slide--overlay-dark .hero__overlay { background: rgba(0,0,0,.58); }
  .about__grid, .contact__grid, .newsletter__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar__welcome { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__link.is-active::after { display: none; }
  .nav__quote { margin: 12px 0 0; text-align: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 560px) {
  .hero__slide--image, .hero__slide--full { min-height: 480px; }
  .product-grid, .certs__row, .cap__grid, .why__grid, .news__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact__form .field { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
}

/* ============ CUSTOMIZATION ============ */
.custom { background: #fff; }
.custom__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: stretch; }
.custom__col { display: grid; gap: 18px; }
.custom__col:first-child { grid-template-columns: 1fr 1fr; align-content: start; }
.opt-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.opt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.opt-card__icon { font-size: 30px; margin-bottom: 10px; }
.opt-card h3 { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.opt-card p { font-size: 14px; color: var(--muted); }
.custom__specs { background: var(--green); border-radius: var(--radius); padding: 28px; grid-template-columns: 1fr 1fr; align-content: center; }
.custom__specs .spec:nth-child(3) { grid-column: 1 / -1; border-right: none; }
.spec { text-align: center; padding: 16px 10px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.spec:nth-child(2n) { border-right: none; }
.spec:nth-child(n+3) { border-bottom: none; }
.spec__num { display: block; font-size: 30px; font-weight: 800; color: var(--amber); line-height: 1; }
.spec__label { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 6px; display: block; }

.platforms { margin-top: 44px; text-align: center; }
.platforms__label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.platforms__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.platforms__logos span { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 8px 22px; font-weight: 700; color: var(--green); font-size: 14px; }

/* ============ ORDER PROCESS ============ */
.process { background: var(--green-dark); color: #fff; }
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 20px; transition: transform .25s, background .25s; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.step__num { width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: #2a1d05; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(255,255,255,.78); }

/* ============ CASES ============ */
.cases { background: var(--cream); }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card__media { height: 150px; background: var(--c, #ccc); display: flex; align-items: flex-end; justify-content: center; }
.case-card__body { padding: 18px; }
.case-card__tag { font-size: 11px; font-weight: 700; color: var(--amber); letter-spacing: .5px; }
.case-card__body h3 { font-size: 16px; color: var(--green-dark); margin: 8px 0; line-height: 1.35; }
.case-card__body p { font-size: 14px; color: var(--muted); }

/* ============ RESPONSIVE ADD-ONS ============ */
@media (max-width: 980px) {
  .custom__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .custom__col:first-child { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .custom__specs { grid-template-columns: 1fr 1fr; }
}
