:root {
  --ink: #12263a;
  --muted: #526475;
  --line: #d9e2ea;
  --soft: #f4f8fb;
  --mist: #e8f6fb;
  --deep: #00354f;
  --blue: #42b6d7;
  --blue-dark: #006d92;
  --gold: #b0935f;
  --white: #fff;
  --shadow: 0 16px 38px rgba(18, 38, 58, .12);
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(217,226,234,.9); background: rgba(255,255,255,.98); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: flex-end; gap: 10px; min-width: 214px; }
.brand img { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; }
.brand > span { height: 56px; display: flex; flex-direction: column; justify-content: flex-end; }
.brand-name { display: block; color: var(--gold); font-size: 22px; line-height: 1.05; font-weight: 800; white-space: nowrap; }
.brand-sub { display: block; color: var(--deep); font-size: 12px; line-height: 1; font-weight: 900; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; min-height: 76px; padding: 0 9px; border-bottom: 3px solid transparent; color: var(--blue-dark); font-size: 14px; font-weight: 800; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue-dark); border-bottom-color: var(--blue); }
.nav-item.has-sub > .nav-link::after { content: ""; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 12px 0; border: 1px solid var(--line); border-radius: 0 0 6px 6px; background: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.submenu a { display: block; padding: 10px 18px; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.submenu a:hover { color: var(--deep); background: var(--mist); }
.language { height: 38px; min-width: 104px; margin-left: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--deep); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--deep); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { min-height: 468px; display: flex; align-items: center; color: #fff; background-image: linear-gradient(90deg, rgba(104,78,42,.92), rgba(176,147,95,.62) 50%, rgba(176,147,95,.10)), url("upload/20240626112524548_53570.jpg"); background-size: cover; background-position: center; }
.hero-copy { max-width: 760px; padding: 46px 0 118px; }
.kicker { display: inline-flex; align-items: center; gap: 0; color: var(--blue); font-size: 14px; font-weight: 900; }
.kicker::before { display: none; content: ""; }
.hero h1 { margin: 14px 0 14px; font-size: 48px; line-height: 1.1; font-weight: 900; }
.hero h1 em { color: #e0c58f; font-style: normal; }
html[lang="en"] .hero-copy, html[lang="es"] .hero-copy { max-width: 900px; }
html[lang="en"] .hero h1 em, html[lang="es"] .hero h1 em { display: inline-block; white-space: nowrap; }
.hero p { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 900; cursor: pointer; }
.button.primary { color: var(--deep); background: var(--blue); }
.button.line { color: var(--deep); border-color: var(--line); background: #fff; }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.quick-panel { position: relative; z-index: 3; margin-top: -112px; }
.quick-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.quick-grid div { display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-right: 1px solid var(--line); }
.quick-grid div:last-child { border-right: 0; }
.quick-grid strong { display: block; font-size: 21px; }
.quick-grid span { color: var(--muted); }
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section h2, .page-card h2, .cta h2 { margin: 8px 0 14px; font-size: 34px; line-height: 1.25; }
.lead, .page-card p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.06fr .94fr; gap: 42px; align-items: center; }
.feature-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.product-card, .page-card, .news-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 10px 28px rgba(18,38,58,.06); }
.product-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-card div { padding: 18px; }
.product-card h3 { margin: 0 0 8px; font-size: 18px; word-break: keep-all; }
.product-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-link { color: var(--blue-dark); font-weight: 900; }
.cta { padding: 52px 0; color: #fff; background: var(--deep); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { margin: 0; color: rgba(255,255,255,.78); }

.page-hero { min-height: 244px; display: flex; align-items: center; box-sizing: border-box; padding: 32px 0; color: #fff; background-image: linear-gradient(90deg, rgba(104,78,42,.92), rgba(176,147,95,.68)), url("upload/img/20240730161130.jpg"); background-size: cover; background-position: center; }
.page-hero h1 { margin: 6px 0 8px; font-size: 38px; line-height: 1.16; }
.page-hero p { max-width: 900px; margin: 0; color: rgba(255,255,255,.78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.side-nav { position: sticky; top: 98px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.side-nav a { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 900; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a.active, .side-nav a:hover { color: var(--deep); background: var(--mist); }
.page-card { padding: 32px; overflow: visible; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.value-grid div, .contact-list div { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.highlight { margin-top: 24px; padding: 24px; border-left: 5px solid var(--gold); background: var(--soft); }
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.product-detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: var(--soft); }
.warehouse-detail { grid-template-columns: 1fr; }
.warehouse-detail > img { aspect-ratio: 16/7; }
.article-body p { color: var(--ink); font-size: 17px; }
.article-body img { max-width: 100%; height: auto; margin: 20px auto; border-radius: 8px; }
.warehouse-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.warehouse-stats div, .warehouse-scope div { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.warehouse-stats strong { display: block; color: var(--gold); font-size: 28px; line-height: 1.1; }
.warehouse-stats span, .warehouse-scope span { display: block; margin-top: 5px; color: var(--muted); }
.warehouse-scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.warehouse-scope strong { display: block; color: var(--deep); font-size: 17px; }
.warehouse-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.article-body .warehouse-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0; }
.article-body .warehouse-partners { width: min(720px, 100%); margin: 18px 0 0; }
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 18px; }
.news-date { display: grid; place-items: center; align-content: center; border-radius: 6px; color: var(--deep); background: var(--mist); font-weight: 900; }
.news-date strong { font-size: 28px; }
.news-item h3 { margin: 0 0 6px; font-size: 20px; }
.news-item p { margin: 0; color: var(--muted); }
.article-meta { margin: -4px 0 24px; color: var(--muted); font-weight: 900; }
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); outline: 0; }
.form-grid textarea { min-height: 150px; padding: 14px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-section { padding: 42px 0 50px; }
.contact-grid .page-card { padding: 28px 40px; }
.contact-grid .page-card h2 { margin: 4px 0 18px; font-size: 28px; line-height: 1.18; }
.contact-list { gap: 12px; }
.contact-list div { padding: 12px 18px; }
.contact-list strong { display: block; margin-bottom: 8px; font-size: 16px; line-height: 1.35; }
.contact-list p { margin: 0; font-size: 16px; line-height: 1.5; }
.contact-grid .form-grid { gap: 10px; }
.contact-grid .form-grid input,
.contact-grid .form-grid textarea { min-height: 42px; padding: 0 12px; }
.contact-grid .form-grid textarea { min-height: 112px; padding: 12px; }
.contact-grid .button { min-height: 42px; padding: 0 18px; }
.site-footer { color: rgba(255,255,255,.78); background: #4f3b20; }
.footer-main { display: flex; justify-content: center; padding: 38px 0 30px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 4px; }
.footer-brand strong { display: block; color: var(--gold); font-size: 22px; }
.footer-brand span { color: #bfeefd; font-size: 12px; }
.footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 5px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { min-width: 0; margin-bottom: 0; font-size: 14px; line-height: 1.4; }
.footer-contact li:last-child { grid-column: 1 / -1; }
.footer-links { width: min(860px, 100%); display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 72px; align-items: start; justify-content: center; padding-top: 2px; }
.footer-links strong, .footer-links a { display: block; }
.footer-links strong { margin-bottom: 10px; color: #fff; }
.footer-links a { margin-bottom: 6px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.45; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; display: flex; justify-content: center; gap: 18px; color: rgba(255,255,255,.58); font-size: 14px; text-align: center; }
.mobile-bar { display: none; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-top: 1px solid var(--line); background: #fff; }
  .site-header.open .primary-nav { display: flex; }
  .nav-item { display: block; }
  .nav-link { min-height: 42px; padding: 0; }
  .submenu { position: static; min-width: 0; padding: 0 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; background: transparent; }
  .submenu a { padding: 7px 0; }
  .language { margin: 8px 0 0; }
  .split, .page-layout, .product-detail, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .side-nav { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .warehouse-detail > img { aspect-ratio: 16/9; }
  .warehouse-stats, .warehouse-scope { grid-template-columns: repeat(2, 1fr); }
  .warehouse-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 56px; }
  .container { width: min(100% - 28px, 1240px); }
  .brand { min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand > span { height: 46px; }
  .brand-name { font-size: 21px; }
  .brand-sub { display: none; }
  .hero { min-height: 480px; background-image: linear-gradient(90deg, rgba(104,78,42,.94), rgba(176,147,95,.78)), url("upload/20240626112524548_53570.jpg"); }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 18px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid div { padding: 16px 10px; }
  .quick-grid strong { font-size: 16px; }
  .quick-grid span, .feature-img, .product-card p { display: none; }
  .section { padding: 50px 0; }
  .section h2, .page-card h2, .cta h2 { font-size: 28px; }
  .section-head, .cta-inner, .footer-copy { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 206px; padding: 28px 0; }
  .page-hero h1 { font-size: 30px; }
  .page-card { padding: 22px; }
  .contact-section { padding: 34px 0 42px; }
  .contact-grid .page-card { padding: 22px; }
  .contact-grid .page-card h2 { font-size: 26px; }
  .side-nav, .value-grid { grid-template-columns: 1fr; }
  .warehouse-stats, .warehouse-scope { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .footer-main { padding: 34px 0; }
  .footer-links { width: 100%; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact li:last-child { grid-column: auto; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: #fff; }
  .mobile-bar a { display: grid; place-items: center; min-height: 56px; color: var(--deep); font-size: 13px; font-weight: 900; }
}
