/* ── Reset & base ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
      background: #0a1f17;
      color: #f0f4f2;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }

    :root {
      --green:   #0b3d2e;
      --green-d: #072a1f;
      --gold:    #c8a96e;
      --gold-l:  #d4bc8a;
      --bg:      #0a1f17;
      --card:    #0f2e22;
      --text:    #f0f4f2;
      --muted:   rgba(240,244,242,.58);
      --line:    rgba(255,255,255,.08);
      --w:       72rem;
    }

    /* ── Layout helpers ── */
    .wrap { max-width: var(--w); margin: 0 auto; padding: 0 1.25rem; }
    .section { padding: 5.5rem 0; }
    .tag {
      display: inline-block;
      font-size: .68rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    h1 {
      font-size: clamp(2.1rem, 5vw, 3.4rem);
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -.02em;
    }
    h2 {
      font-size: clamp(1.65rem, 3.2vw, 2.2rem);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: -.015em;
    }
    .sub {
      font-size: 1.1rem;
      font-weight: 300;
      color: rgba(240,244,242,.88);
      margin-top: .6rem;
    }
    .body-text {
      font-size: .95rem;
      font-weight: 300;
      color: var(--muted);
      margin-top: 1.25rem;
    }
    .body-text + .body-text { margin-top: 1rem; }

    /* ── Buttons ── */
    .btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .8rem 1.6rem;
      border-radius: 999px;
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      transition: background .2s, color .2s, border-color .2s;
    }
    .btn-gold { background: var(--gold); color: var(--bg); }
    .btn-gold:hover { background: var(--gold-l); }
    .btn-line {
      border: 1px solid rgba(200,169,110,.45);
      color: var(--gold);
    }
    .btn-line:hover { background: rgba(200,169,110,.1); }
    .btn svg { width: 14px; height: 14px; }

    /* ── Header ── */
    header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      background: rgba(10,31,23,.97);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(10px);
    }
    .header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      height: 4rem;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: .7rem;
      min-width: 0;
    }
    .logo-box {
      flex-shrink: 0;
      width: 2.1rem;
      height: 2.1rem;
      border: 1px solid rgba(200,169,110,.5);
      border-radius: 5px;
      display: grid;
      place-items: center;
      overflow: hidden;
      background: rgba(200,169,110,.07);
    }
    .logo-box img { width: 100%; height: 100%; object-fit: contain; }
    .logo-fallback {
      font-size: .8rem;
      font-weight: 700;
      color: var(--gold);
    }
    .logo-name {
      font-size: .62rem;
      font-weight: 600;
      letter-spacing: .13em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    nav.main-nav { display: none; gap: 1.6rem; }
    nav.main-nav a {
      font-size: .68rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255,255,255,.62);
      transition: color .2s;
    }
    nav.main-nav a:hover { color: var(--gold); }
    .header-tel {
      display: none;
      font-size: .78rem;
      color: var(--gold);
      font-weight: 500;
    }
    .burger {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      padding: .2rem;
      line-height: 0;
    }
    .burger svg { width: 22px; height: 22px; }

    @media (min-width: 768px) { .header-tel { display: block; } }
    @media (min-width: 1024px) {
      nav.main-nav { display: flex; }
      .burger { display: none; }
    }

    /* Mobile drawer */
    .drawer {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--bg);
      flex-direction: column;
    }
    .drawer.on { display: flex; }
    .drawer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--line);
    }
    .drawer-links {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
    }
    .drawer-links a {
      font-size: 1.2rem;
      font-weight: 300;
      color: rgba(255,255,255,.78);
    }
    .drawer-links a:hover { color: var(--gold); }

    /* ── Hero ── */
    #home {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 5.5rem 0 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        linear-gradient(100deg, rgba(10,31,23,.98) 35%, rgba(11,61,46,.55) 100%),
        repeating-linear-gradient(-45deg, transparent, transparent 36px, rgba(200,169,110,.025) 36px, rgba(200,169,110,.025) 37px),
        radial-gradient(ellipse 60% 55% at 100% 0%, rgba(26,122,90,.18), transparent),
        url("../images/hero.jpg") center/cover no-repeat,
        var(--bg);
    }
    .hero-inner { position: relative; z-index: 1; max-width: 38rem; }
    .hero-lead {
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(200,169,110,.82);
      margin-bottom: .75rem;
    }

    /* ── Stats ── */
    #stats {
      background: var(--green);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 2.5rem 0;
    }
    .stats-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(2, 1fr);
    }
    @media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
    .stat {
      text-align: center;
      padding: 1rem .5rem;
    }
    .stat-num {
      font-size: clamp(1.6rem, 3vw, 2rem);
      font-weight: 600;
      color: var(--gold);
      line-height: 1.1;
    }
    .stat-label {
      font-size: .62rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255,255,255,.48);
      margin-top: .45rem;
    }

    /* ── About ── */
    #about { background: var(--green-d); }
    .about-grid {
      display: grid;
      gap: 2.75rem;
      align-items: center;
    }
    @media (min-width: 960px) {
      .about-grid { grid-template-columns: 1fr 1fr; }
    }
    .about-pic {
      height: 17rem;
      border-radius: .85rem;
      border: 1px solid var(--line);
      background: url("../images/about.jpg") center/cover no-repeat;
    }
    .about-sub {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(200,169,110,.92);
      margin: .85rem 0 1.25rem;
    }
    .about-feats {
      display: grid;
      gap: .85rem;
      margin-top: 1.75rem;
    }
    @media (min-width: 640px) { .about-feats { grid-template-columns: repeat(3, 1fr); } }
    .feat {
      padding: 1.1rem;
      background: rgba(255,255,255,.03);
      border: 1px solid var(--line);
      border-radius: .75rem;
    }
    .feat h3 {
      font-size: .82rem;
      font-weight: 500;
      color: var(--gold);
      margin-bottom: .35rem;
    }
    .feat p {
      font-size: .78rem;
      font-weight: 300;
      color: var(--muted);
      line-height: 1.5;
    }

    /* ── Products ── */
    .prod-head { max-width: 44rem; margin-bottom: 3rem; }
    .prod-head .sub { margin-bottom: 1rem; }
    .cards {
      display: grid;
      gap: 1.1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 540px)  { .cards { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 960px)  { .cards { grid-template-columns: repeat(4,1fr); } }
    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: .85rem;
      padding: 2rem 1.25rem;
      text-align: center;
      transition: transform .28s, border-color .28s, box-shadow .28s;
    }
    .card:hover {
      transform: translateY(-5px);
      border-color: rgba(200,169,110,.32);
      box-shadow: 0 14px 36px rgba(0,0,0,.28);
    }
    .card-ico {
      width: 3.4rem;
      height: 3.4rem;
      margin: 0 auto 1.1rem;
      border-radius: .65rem;
      border: 1px solid rgba(200,169,110,.22);
      background: rgba(200,169,110,.07);
      display: grid;
      place-items: center;
    }
    .card-ico svg { width: 26px; height: 26px; color: var(--gold); }
    .card h3 { font-size: .95rem; font-weight: 500; }
    .card-desc {
      font-size: .78rem;
      font-weight: 300;
      color: var(--muted);
      margin-top: .55rem;
      line-height: 1.5;
    }
    .prod-block { margin-bottom: 3rem; }
    .prod-block:last-child { margin-bottom: 0; }
    .prod-block-title {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.25rem;
    }

    /* ── 产品工具栏（筛选 + 搜索） ── */
    .prod-toolbar {
      display: flex; flex-wrap: wrap; gap: 1rem;
      align-items: center; justify-content: space-between;
      margin-bottom: 2rem;
    }
    .pf-row { display: flex; flex-wrap: wrap; gap: .5rem; }
    .pf-btn {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.12);
      color: rgba(240,244,242,.72);
      font-size: .72rem; font-weight: 600;
      letter-spacing: .06em;
      padding: .5rem .95rem; border-radius: 999px;
      cursor: pointer; font-family: inherit;
      transition: background .18s, border-color .18s, color .18s;
    }
    .pf-btn:hover { border-color: rgba(200,169,110,.5); color: var(--gold); }
    .pf-btn.is-active {
      background: rgba(200,169,110,.14);
      border-color: rgba(200,169,110,.6);
      color: var(--gold);
    }
    .ps-wrap {
      position: relative; display: flex; align-items: center;
      min-width: 230px;
    }
    .ps-wrap svg {
      position: absolute; left: .8rem;
      width: 16px; height: 16px; color: rgba(240,244,242,.4);
      pointer-events: none;
    }
    #prodSearch {
      width: 100%;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.12);
      color: var(--text);
      border-radius: 999px;
      padding: .62rem .95rem .62rem 2.3rem;
      font-size: .82rem; font-family: inherit;
    }
    #prodSearch::placeholder { color: rgba(240,244,242,.36); }
    #prodSearch:focus { outline: none; border-color: rgba(200,169,110,.55); }

    /* ── 产品网格 + 卡片 ── */
    .prod-grid {
      display: grid; gap: 1.1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 540px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 960px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }

    .pcard {
      display: flex; flex-direction: column;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: .85rem;
      overflow: hidden;
      transition: transform .28s, border-color .28s, box-shadow .28s;
    }
    .pcard:hover {
      transform: translateY(-5px);
      border-color: rgba(200,169,110,.32);
      box-shadow: 0 14px 36px rgba(0,0,0,.28);
    }
    .pcard-media { position: relative; aspect-ratio: 4 / 3; background: #0b3d2e; }
    .pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .pcard-cat {
      position: absolute; top: .7rem; left: .7rem;
      background: rgba(10,31,23,.85);
      border: 1px solid rgba(200,169,110,.4);
      color: var(--gold);
      font-size: .62rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      padding: .28rem .6rem; border-radius: 999px;
    }
    .pcard-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
    .pcard-body h3 { font-size: .98rem; font-weight: 500; margin-bottom: .4rem; }
    .pcard-body p { font-size: .78rem; font-weight: 300; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; }
    .pcard-more {
      margin-top: auto; font-size: .72rem; font-weight: 600;
      letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
    }
    .prod-empty {
      text-align: center; color: rgba(240,244,242,.5);
      font-size: .88rem; padding: 2.5rem 0;
    }

    /* ── 产品详情页 ── */
    .pd-wrap { max-width: 72rem; margin: 0 auto; padding: 7rem 1.25rem 4rem; }
    .pd-crumb { font-size: .74rem; color: rgba(255,255,255,.42); margin-bottom: 2rem; letter-spacing: .04em; }
    .pd-crumb a { color: rgba(255,255,255,.62); }
    .pd-crumb a:hover { color: var(--gold); }
    .pd-crumb span { color: var(--gold); }

    .pd-grid { display: grid; gap: 2.75rem; align-items: start; }
    @media (min-width: 900px) { .pd-grid { grid-template-columns: 1fr 1fr; } }

    .pd-main {
      border-radius: .85rem; overflow: hidden;
      border: 1px solid var(--line); background: var(--card);
      aspect-ratio: 4 / 3;
    }
    .pd-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .pd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
    .pd-thumbs img {
      width: 74px; height: 74px; object-fit: cover;
      border-radius: .5rem; cursor: pointer;
      border: 2px solid transparent; opacity: .6;
      transition: opacity .18s, border-color .18s;
    }
    .pd-thumbs img:hover { opacity: 1; }
    .pd-thumbs img.is-active { border-color: var(--gold); opacity: 1; }

    .pd-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; margin: .5rem 0 .7rem; }
    .pd-summary { font-size: 1rem; color: rgba(200,169,110,.92); margin-bottom: 1.1rem; }
    .pd-desc { font-size: .92rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
    .pd-feats { margin: 1.4rem 0 0; padding: 0; list-style: none; }
    .pd-feats li {
      position: relative; padding-left: 1.5rem;
      font-size: .86rem; color: rgba(240,244,242,.78);
      margin-bottom: .55rem;
    }
    .pd-feats li::before {
      content: ""; position: absolute; left: 0; top: .42em;
      width: .9em; height: .5em;
      border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
      transform: rotate(-45deg);
    }
    .pd-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

    .pd-specs {
      margin-top: 3.5rem; padding-top: 2.5rem;
      border-top: 1px solid var(--line);
    }
    .pd-specs h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 1.25rem; }
    .pd-specs table { width: 100%; border-collapse: collapse; }
    .pd-specs th, .pd-specs td {
      text-align: left; padding: .85rem 1rem;
      border-bottom: 1px solid var(--line);
      font-size: .86rem;
    }
    .pd-specs th {
      width: 34%; color: rgba(255,255,255,.5);
      font-weight: 500; letter-spacing: .02em;
    }
    .pd-specs td { color: rgba(240,244,242,.85); }
    .pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: none; }

    .pd-back { margin-top: 3rem; }
    .pd-back a { font-size: .82rem; color: var(--gold); letter-spacing: .04em; }
    .pd-back a:hover { color: var(--gold-l); }
    .pd-missing { text-align: center; padding: 4rem 0; }
    .pd-missing h1 { font-size: 1.8rem; margin-bottom: .8rem; }

    /* ── Product Gallery（实拍图区） ── */
    .gallery-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(2, 1fr);
    }
    @media (min-width: 768px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
    .g-item {
      position: relative;
      margin: 0;
      border-radius: .85rem;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.09);
      background: #0f2e22;
      aspect-ratio: 4 / 3;
    }
    .g-item img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
      transition: transform .4s ease;
    }
    .g-item:hover img { transform: scale(1.04); }
    .g-item figcaption {
      position: absolute; left: 0; right: 0; bottom: 0;
      padding: 1.6rem .9rem .75rem;
      font-size: .78rem; font-weight: 500;
      color: #f0f4f2;
      background: linear-gradient(to top, rgba(7,42,31,.92), transparent);
    }
    /* 图片缺失时的占位样式 */
    .g-item.is-empty {
      display: grid; place-items: center;
      background:
        repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(200,169,110,.05) 18px, rgba(200,169,110,.05) 19px),
        #0f2e22;
    }
    .g-item.is-empty img { display: none; }
    .g-item.is-empty::before {
      content: "Add photo → images/";
      font-size: .72rem; letter-spacing: .06em;
      color: rgba(200,169,110,.6);
    }
    .g-item.is-empty figcaption {
      background: none;
      position: absolute; top: .75rem; left: .9rem; right: .9rem; bottom: auto;
      padding: 0;
    }

    /* ── News ── */    #news {
      background: var(--green-d);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 4rem 0;
      text-align: center;
    }
    #news p { font-size: .88rem; color: rgba(255,255,255,.42); margin-top: .6rem; }

    /* ── Contact ── */
    .contact-head { margin-bottom: 2.75rem; }
    .contact-row {
      display: grid;
      gap: 1rem;
    }
    @media (min-width: 640px) { .contact-row { grid-template-columns: repeat(2,1fr); } }
    @media (min-width: 1024px) { .contact-row { grid-template-columns: repeat(3,1fr); } }
    .c-item-block { cursor: default; }
    .c-item-block .c-val { color: rgba(240,244,242,.78); font-weight: 400; font-size: .82rem; line-height: 1.45; }
    .c-item {
      display: flex;
      gap: 1rem;
      padding: 1.4rem;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: .85rem;
      transition: border-color .2s;
    }
    .c-item:hover { border-color: rgba(200,169,110,.3); }
    .c-ico {
      flex-shrink: 0;
      width: 2.8rem;
      height: 2.8rem;
      border-radius: .6rem;
      border: 1px solid rgba(200,169,110,.2);
      background: rgba(200,169,110,.07);
      display: grid;
      place-items: center;
    }
    .c-ico svg { width: 20px; height: 20px; color: var(--gold); }
    .c-label {
      font-size: .62rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255,255,255,.38);
      margin-bottom: .2rem;
    }
    .c-val { font-size: .88rem; font-weight: 500; color: var(--gold); }
    .c-item:hover .c-val { color: var(--gold-l); }

    /* ── Footer ── */
    footer {
      background: var(--green-d);
      border-top: 1px solid var(--line);
      padding: 2.25rem 0;
    }
    .foot-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      text-align: center;
    }
    @media (min-width: 640px) {
      .foot-row {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
      }
    }
    .copy { font-size: .73rem; color: rgba(255,255,255,.24); }
    .foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
    .foot-nav a {
      font-size: .73rem;
      color: rgba(255,255,255,.34);
      transition: color .2s;
    }
    .foot-nav a:hover { color: var(--gold); }
    .foot-social {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .65rem;
      margin-top: .5rem;
    }
    @media (min-width: 640px) { .foot-social { margin-top: 0; } }
    .foot-social a {
      font-size: .68rem;
      color: rgba(255,255,255,.34);
      padding: .35rem .65rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      transition: color .2s, border-color .2s;
    }
    .foot-social a:hover { color: var(--gold); border-color: rgba(200,169,110,.35); }