﻿/* =========================================================
   GU WEI TIAN 谷味天 — landing page
   Brand: yellow #FFE100 + black #111 + red #E5192C
   ========================================================= */

:root{
  --yellow:#FFE100;
  --yellow-soft:#FFF3A6;
  --ink:#111111;
  --ink-2:#2b2b2b;
  --red:#E5192C;
  --cream:#FFFDF2;
  --paper:#ffffff;
  --muted:#5c5c5c;
  --line:#e9e5d6;
  --radius:16px;
  --shadow:0 10px 30px rgba(17,17,17,.08);
  --shadow-lg:0 24px 60px rgba(17,17,17,.18);
  --maxw:1140px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.center{text-align:center;margin-top:2.4rem}
.container{width:min(var(--maxw),92%);margin:0 auto}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.8rem 1.3rem;border-radius:999px;font-weight:700;font-size:.95rem;
  border:2px solid transparent;cursor:pointer;transition:.2s ease;white-space:nowrap}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000;transform:translateY(-1px)}
.btn--yellow{background:var(--yellow);color:var(--ink)}
.btn--yellow:hover{background:var(--yellow-soft);transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--ink);border-color:rgba(17,17,17,.25)}
.btn--ghost:hover{border-color:var(--ink);background:rgba(17,17,17,.04)}
.btn--outline{background:#fff;color:var(--ink);border-color:var(--ink);width:100%}
.btn--outline:hover{background:var(--yellow);border-color:var(--yellow)}
.btn--sm{padding:.55rem 1rem;font-size:.85rem}
.btn--lg{padding:1rem 1.6rem;font-size:1.02rem}
.ico{width:1.15em;height:1.15em;fill:currentColor}

/* ---------- top bar ---------- */
.topbar{background:var(--ink);color:var(--yellow);font-size:.82rem}
.topbar__inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem 0;flex-wrap:wrap}
.topbar__cta{color:#fff;font-weight:700;border-bottom:1px solid rgba(255,255,255,.4)}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid transparent;transition:.25s}
.nav.is-scrolled{border-bottom-color:var(--line);box-shadow:0 6px 20px rgba(17,17,17,.06)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:.7rem}
.brand__logo{width:46px;height:46px;border-radius:10px;object-fit:cover;box-shadow:0 2px 8px rgba(17,17,17,.15)}
.brand__text{display:flex;flex-direction:column;line-height:1.1}
.brand__text strong{font-size:1rem;letter-spacing:.06em}
.brand__text small{font-size:.72rem;color:var(--muted);letter-spacing:.3em}
.nav__links{display:flex;align-items:center;gap:1.5rem}
.nav__links a{font-size:.95rem;font-weight:600;color:var(--ink-2)}
.nav__links a:hover{color:var(--red)}
.nav__links .btn{color:#fff}
.nav__toggle{display:none;background:none;border:0;font-size:1.5rem;cursor:pointer}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(900px 500px at 90% -20%, #fff9c4 0%, transparent 60%),
  var(--yellow);
  padding:3.4rem 0 3.8rem;
}
.hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}
.pill{display:inline-block;background:rgba(17,17,17,.08);color:var(--ink);font-size:.78rem;font-weight:800;padding:.42rem .85rem;border-radius:999px;margin-bottom:1rem}
.hero h1{font-size:clamp(2rem,3.8vw,3.3rem);line-height:1.08;letter-spacing:-.03em;margin-bottom:1rem}
.hl{background:var(--ink);color:var(--yellow);padding:0 .12em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.lead{font-size:1.06rem;color:#3a3a3a;max-width:34rem;margin-bottom:1.6rem}
.lead strong{color:var(--ink)}
.hero__actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:1.8rem}
.hero__stats{display:flex;gap:2.2rem;flex-wrap:wrap}
.hero__stats strong{display:block;font-size:1.35rem}
.hero__stats span{font-size:.85rem;color:#4a4a4a}
.hero__visual{position:relative}
.hero__catalog{width:100%;border-radius:var(--radius);box-shadow:var(--shadow-lg);border:6px solid #fff;transform:rotate(-1.2deg)}
.hero__tag{position:absolute;bottom:-14px;left:24px;background:var(--ink);color:var(--yellow);font-size:.8rem;font-weight:700;padding:.5rem .9rem;border-radius:999px;box-shadow:var(--shadow)}

/* ---------- trust ---------- */
.trust{padding:1.8rem 0;border-bottom:1px solid var(--line);background:#fff}
.trust__row{display:flex;justify-content:center;gap:1.6rem;flex-wrap:wrap;font-weight:800;font-size:.98rem}

/* ---------- about ---------- */
.about{padding:4rem 0;background:#fff;border-bottom:1px solid var(--line)}
.about__inner{display:grid;grid-template-columns:1.15fr .85fr;gap:3rem;align-items:center}
.about__copy h2{font-size:clamp(1.5rem,2.6vw,2.1rem);letter-spacing:-.02em;margin:.35rem 0 .9rem}
.about__copy p{color:var(--muted);margin-bottom:.85rem}
.about__copy strong{color:var(--ink)}
.certs{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.certs span{background:#F4F0E2;border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;font-size:.8rem;font-weight:700}
.about__facts{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.fact{background:var(--yellow);border-radius:14px;padding:1.1rem;display:flex;flex-direction:column;justify-content:center;min-height:96px}
.fact strong{font-size:1.45rem;line-height:1.1}
.fact span{font-size:.78rem;color:#4a4a4a}
@media(max-width:960px){.about__inner{grid-template-columns:1fr}}

/* ---------- sections ---------- */
.section{padding:4.4rem 0}
.section--yellow{background:var(--cream)}
.section__head{text-align:center;max-width:660px;margin:0 auto 2.6rem}
.kicker{display:inline-block;color:var(--red);font-weight:800;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.55rem}
.section__head h2{font-size:clamp(1.6rem,2.8vw,2.3rem);letter-spacing:-.02em;margin-bottom:.7rem}
.section__head p{color:var(--muted)}

/* ---------- grids ---------- */
.grid{display:grid;gap:1.4rem}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}

/* ---------- product card ---------- */
.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product__media{height:132px;display:flex;align-items:center;justify-content:center;font-size:3rem;
  background:linear-gradient(135deg,#fffbe0,#ffe873)}
.pm--rice{background:linear-gradient(135deg,#f3efe2,#e6dcc0)}
.pm--purple{background:linear-gradient(135deg,#efe3f7,#d9c2ea)}
.pm--red{background:linear-gradient(135deg,#fbe3e3,#f0b9b9)}
.pm--soy{background:linear-gradient(135deg,#f5efd9,#e8d9a8)}
.pm--sesame{background:linear-gradient(135deg,#e8e8e8,#c9c9c9)}
.pm--oat{background:linear-gradient(135deg,#f7f0df,#e9d9b0)}
.product__body{padding:1.2rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1;gap:.6rem}
.product__body h3{font-size:1.08rem}
.product__body p{color:var(--muted);font-size:.88rem;flex:1}
.tag{align-self:flex-start;background:var(--yellow);font-size:.72rem;font-weight:800;padding:.22rem .6rem;border-radius:999px}
.product__body .cn{color:var(--muted);font-size:.85rem;flex:1}
.product__body .spec{align-self:flex-start;font-size:.76rem;font-weight:800;background:#F4F0E2;padding:.28rem .6rem;border-radius:8px}

/* ---------- catalog figure ---------- */
.catalog-figure{margin:0 auto 1rem;max-width:1000px;background:#fff;border-radius:var(--radius);padding:12px;box-shadow:var(--shadow)}
.catalog-figure img{width:100%;border-radius:8px}
.catalog-figure figcaption{text-align:center;color:var(--muted);font-size:.82rem;padding-top:.6rem}

/* ---------- features ---------- */
.feature{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;transition:.25s}
.feature:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.feature__ico{font-size:1.8rem;margin-bottom:.7rem}
.feature h3{font-size:1.02rem;margin-bottom:.4rem}
.feature p{color:var(--muted);font-size:.88rem}

/* ---------- cta ---------- */
.cta{background:var(--ink);color:#fff;padding:4rem 0;text-align:center}
.cta h2{font-size:clamp(1.6rem,2.8vw,2.2rem);margin-bottom:.7rem;letter-spacing:-.02em}
.cta p{color:#cfcfcf;margin-bottom:1.6rem}

/* ---------- footer ---------- */
.footer{background:#0a0a0a;color:#cfcfcf;padding:3rem 0 1.4rem;font-size:.9rem}
.footer__inner{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer__logo{width:64px;height:64px;border-radius:12px;object-fit:cover;margin-bottom:.8rem}
.footer__brand p{color:#9a9a9a;font-size:.85rem;max-width:22rem}
.footer__col h4{color:#fff;font-size:.9rem;margin-bottom:.8rem}
.footer__col a,.footer__col span{display:block;color:#a9a9a9;font-size:.86rem;margin-bottom:.45rem}
.footer__col a:hover{color:var(--yellow)}
.footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:1.2rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#7c7c7c;font-size:.8rem}

/* ---------- floating whatsapp ---------- */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:80;display:flex;align-items:center;gap:.5rem;
  background:#25d366;color:#fff;border-radius:999px;padding:.8rem 1.1rem;font-weight:800;box-shadow:0 12px 30px rgba(37,211,102,.4);transition:.2s}
.wa-float svg{width:22px;height:22px;fill:#fff}
.wa-float:hover{transform:translateY(-2px)}
.wa-float span{font-size:.9rem}

/* ---------- responsive ---------- */
@media(max-width:960px){
  .hero__inner{grid-template-columns:1fr;gap:2.4rem}
  .hero__visual{max-width:560px}
  .grid--3{grid-template-columns:1fr 1fr}
  .grid--4{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .nav__links{position:fixed;inset:72px 0 auto 0;background:#fff;flex-direction:column;gap:0;padding:1rem 6%;
    border-bottom:1px solid var(--line);box-shadow:0 20px 30px rgba(0,0,0,.1);transform:translateY(-160%);transition:.3s;align-items:stretch}
  .nav__links.is-open{transform:translateY(0)}
  .nav__links a{padding:.85rem 0;border-bottom:1px solid var(--line)}
  .nav__links .btn{margin-top:.8rem;justify-content:center}
  .nav__toggle{display:block}
  .grid--3,.grid--4{grid-template-columns:1fr}
  .hero__stats{gap:1.4rem}
  .topbar__inner{justify-content:center;text-align:center}
  .footer__inner{grid-template-columns:1fr 1fr}
  .wa-float span{display:none}
  .wa-float{padding:.9rem}
}

.reveal{opacity:0;transform:translateY(18px);transition:.6s cubic-bezier(.2,.7,.3,1)}
.reveal.is-visible{opacity:1;transform:none}


/* ===== photo hero (home) ===== */
.hero--photo{background:#111;color:#fff;position:relative}
.hero--photo::before{content:"";position:absolute;inset:0;background:url('farm.jpg') center/cover no-repeat;opacity:.5}
.hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.08))}
.hero--photo .hero__inner{position:relative}
.hero--photo .pill{background:rgba(255,255,255,.12);color:#ffe873}
.hero--photo .lead{color:#e5e5e5}
.hero--photo .lead strong{color:#fff}
.hero--photo .hero__stats strong{color:#ffe873}
.hero--photo .hero__stats span{color:#cfcfcf}
.hero--photo .btn--ghost{color:#fff;border-color:rgba(255,255,255,.4)}
.hero--photo .btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}

/* ===== product line cards (home) ===== */
.pl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.pl-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s}
.pl-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.pl-thumb{height:200px;overflow:hidden;background:var(--cream)}
.pl-thumb img{width:100%;height:100%;object-fit:cover}
.pl-fb{display:flex;align-items:center;justify-content:center;font-size:4rem;background:linear-gradient(135deg,#fffbe0,#ffe873)}
.pl-fb--green{background:linear-gradient(135deg,#e8f5ea,#c9e6cf)}
.pl-body{padding:1.1rem 1.2rem 1.2rem;display:flex;flex-direction:column;gap:.3rem;flex:1}
.pl-body h3{font-size:1.02rem}
.pl-cn{color:var(--muted);font-size:.8rem}
.pl-meta{color:var(--muted);font-size:.85rem;flex:1}
.pl-more{color:var(--red);font-weight:700;font-size:.85rem}

/* ===== about gallery (home) ===== */
.about-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.8rem}
.about-card{border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.about-card img{width:100%;height:150px;object-fit:cover;display:block}
.about-card span{display:block;text-align:center;padding:.55rem .4rem;font-size:.8rem;font-weight:700}
.about-copy{max-width:760px;margin:0 auto;text-align:center;color:var(--muted)}
.about-copy p{margin-bottom:.8rem}
.about-copy strong{color:var(--ink)}
.about-copy .certs{justify-content:center}

/* ===== brands ===== */
.brands{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;max-width:920px;margin:0 auto}
.brands span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.55rem 1.1rem;font-weight:700;font-size:.9rem}

/* ===== contact ===== */
.contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-bottom:1.4rem}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem}
.contact-card h3{font-size:.95rem;margin-bottom:.6rem}
.contact-card p{font-size:.88rem;line-height:1.7}
.contact-card .muted{color:var(--muted);font-size:.8rem}
.contact-card .cn-addr{font-size:.78rem}

/* ===== product pages ===== */
.pp-top{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.pp-top__in{display:flex;align-items:center;justify-content:space-between;height:64px}
.pp-top__nav{display:flex;align-items:center;gap:1.2rem}
.back{font-weight:700;font-size:.9rem}
.back:hover{color:var(--red)}
.pp-hero{background:var(--ink);color:#fff;padding:2.8rem 0}
.pp-hero__in{display:grid;grid-template-columns:1fr 260px;gap:2rem;align-items:center}
.pp-hero .pill{background:rgba(255,255,255,.1);color:#ffe873}
.pp-hero h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:.6rem 0;letter-spacing:-.02em}
.pp-tagline{color:#ffe873;font-weight:700;margin-bottom:.6rem}
.pp-desc{color:#d5d5d5;max-width:52rem}
.pp-hero__img{background:#fff;border-radius:16px;overflow:hidden;height:220px;display:flex;align-items:center;justify-content:center}
.pp-hero__img img{width:100%;height:100%;object-fit:cover}
.pp-hero__fb{font-size:5rem}
.pp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.pp-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s}
.pp-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.pp-thumb{aspect-ratio:1/1;background:var(--cream);overflow:hidden}
.pp-thumb img{width:100%;height:100%;object-fit:cover}
.pp-fb{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:linear-gradient(135deg,#fffbe0,#ffe873)}
.pp-fb__emoji{font-size:2.6rem}
.pp-fb__brand{font-size:.8rem;font-weight:800;letter-spacing:.2em;color:var(--red);margin-top:.3rem}
.pp-body{padding:.9rem 1rem 1rem}
.pp-body h3{font-size:.95rem;line-height:1.3}
.pp-cn{color:var(--muted);font-size:.78rem;margin:.2rem 0 .4rem}
.pp-meta{font-size:.76rem;color:var(--muted);border-top:1px dashed var(--line);padding-top:.4rem}
.pp-note{text-align:center;color:var(--muted);font-size:.85rem;max-width:720px;margin:1.6rem auto 0}

@media(max-width:1100px){.pp-grid{grid-template-columns:repeat(3,1fr)}.contact-grid{grid-template-columns:1fr 1fr}}
@media(max-width:960px){.pl-grid{grid-template-columns:1fr 1fr}.about-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.pp-grid{grid-template-columns:1fr 1fr}.pl-grid{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}.pp-hero__in{grid-template-columns:1fr}.pp-hero__img{height:160px}.pp-top__nav .back{display:none}}

