/* =========================================================
   山东卓尔纸塑科技有限公司 · 独立站样式
   Shandong DROER Paper-Plastic Technology Co., Ltd.
   风格：环保 / 自然 / 简洁直观  (Eco · Natural · Clean)
   ========================================================= */

:root {
  /* 主色 —— 自然绿阶 */
  --green-900: #1f4d2e;
  --green-700: #2e6b3e;
  --green-500: #4a8c5d;
  --green-300: #8fb996;
  --leaf:      #6aa84f;

  /* 辅助色 —— 米色 / 大地色 */
  --cream:  #f7f4ec;
  --sand:   #efe9da;
  --sand-2: #e4dcc8;
  --brown:  #6b5436;
  --brown-2:#8b7355;

  /* 文字 */
  --ink:    #2b2b28;
  --muted:  #6b6b63;
  --line:   #ddd6c4;

  /* 功能 */
  --white:  #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(31, 77, 46, 0.08);
  --shadow-md: 0 12px 34px rgba(31, 77, 46, 0.12);
  --container: 1180px;
  --font: "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Georgia", "Times New Roman", "Songti SC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: .2s; }
a:hover { color: var(--green-900); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-img { height: 44px; width: auto; display: block; }
.brand .name { font-weight: 700; font-size: 16px; color: var(--green-900); line-height: 1.2; }
.brand .name small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .5px; }

.nav-links { display: flex; gap: 28px; align-items: center; }

/* 语言切换器 */
.lang-selector { position: relative; display: inline-flex; align-items: center; margin-left: 16px; }
.lang-selector::after {
  content: "▾"; position: absolute; right: 12px; pointer-events: none;
  color: var(--green-700); font-size: 12px;
}
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: var(--white); border: 1px solid var(--line); color: var(--green-900);
  font-size: 13px; font-weight: 600; padding: 8px 32px 8px 14px; border-radius: 999px; cursor: pointer;
  transition: .2s; min-width: 110px;
}
.lang-select:hover { border-color: var(--green-500); }
.lang-select:focus { outline: 2px solid var(--green-300); border-color: var(--green-500); }
.lang-btn { display: none; }
.nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--green-700); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--green-900); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--green-900); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: .2s;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-500); }
.btn-ghost:hover { background: var(--green-500); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Hero（视频背景） ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
  padding: 92px 0 70px; color: #fff;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; background: var(--green-900);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,48,30,.42) 0%, rgba(18,48,30,.28) 42%, rgba(13,38,24,.80) 100%),
    radial-gradient(900px 520px at 82% 8%, rgba(106,168,79,.22), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: 900px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: #d2e6d2; font-weight: 700; margin-bottom: 18px;
  padding: 7px 16px; border: 1px solid rgba(207,224,207,.45); border-radius: 999px;
  background: rgba(20,50,32,.25); backdrop-filter: blur(2px);
}
.hero h1 {
  font-family: var(--serif); font-size: 56px; line-height: 1.1; color: #fff;
  margin-bottom: 22px; font-weight: 700; text-shadow: 0 2px 22px rgba(0,0,0,.28);
}
.hero h1 .accent { color: #8fd6a0; }
.hero-sub {
  font-size: 17px; line-height: 1.6; color: #eef5ea; max-width: 640px;
  margin-bottom: 30px; text-shadow: 0 2px 16px rgba(0,0,0,.30); font-weight: 500;
}
.hero-sub .en { display: block; font-size: 14px; color: #cfe0cf; font-weight: 400; margin-top: 4px; }
.hero-captions { margin-bottom: 32px; max-width: 700px; }
.hero-captions .cap { margin: 0 0 9px; }
.cap-zh { font-size: 17px; color: #f2f7ee; font-weight: 500; }
.cap-en { font-size: 14px; color: #d6e6d6; }
.cap-de { font-size: 14px; color: #c2d6c2; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.65); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.hero-badges { display: flex; gap: 32px; margin-top: 42px; flex-wrap: wrap; }
.hero-badges .b { text-align: center; }
.hero-badges .b strong {
  display: block; font-size: 28px; color: #fff; font-family: var(--serif);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-badges .b span { font-size: 13px; color: #cfe0cf; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.tint { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--leaf); font-weight: 700; margin-bottom: 12px;
}
.section-head h2 { font-family: var(--serif); font-size: 34px; color: var(--green-900); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h3 { font-family: var(--serif); font-size: 26px; color: var(--green-900); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-card {
  background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.about-card .stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.about-card .stat:last-child { border-bottom: 0; }
.about-card .stat b { color: var(--green-700); font-family: var(--serif); font-size: 20px; }
.about-card .stat span { color: var(--muted); font-size: 14px; }

/* ---------- 优势卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: #eaf2e3;
  display: grid; place-items: center; margin-bottom: 16px; color: var(--green-700);
}
.card h4 { font-size: 18px; color: var(--green-900); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* ---------- 出海信念 / Belief ---------- */
.belief { background: linear-gradient(180deg, #f7faf4 0%, var(--cream) 100%); }
.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.belief-item {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s;
}
.belief-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--leaf); }
.belief-item .ico {
  width: 56px; height: 56px; border-radius: 16px; background: #eaf2e3;
  display: grid; place-items: center; margin-bottom: 16px; font-size: 26px;
}
.belief-item h4 { font-size: 19px; color: var(--green-900); margin-bottom: 10px; }
.belief-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 案例预览 ---------- */
.case-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-thumb {
  height: 168px; display: grid; place-items: center; color: #fff; position: relative;
}
.case-thumb .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9);
  color: var(--green-900); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.case-body { padding: 22px; }
.case-body h4 { font-size: 18px; color: var(--green-900); margin-bottom: 6px; }
.case-body .meta { font-size: 13px; color: var(--brown-2); margin-bottom: 10px; }
.case-body p { font-size: 14px; color: var(--muted); }

/* ---------- 定制流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin: 0 auto 14px; font-family: var(--serif);
}
.step h4 { font-size: 16px; color: var(--green-900); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .item .ico {
  width: 44px; height: 44px; border-radius: 12px; background: #eaf2e3; color: var(--green-700);
  display: grid; place-items: center; flex: 0 0 auto;
}
.contact-info .item b { display: block; color: var(--green-900); font-size: 15px; }
.contact-info .item span, .contact-info .item a { color: var(--muted); font-size: 14px; word-break: break-all; }

.form { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form label { display: block; font-size: 14px; color: var(--ink); margin: 0 0 6px; font-weight: 600; }
.form .field { margin-bottom: 16px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fdfcf8;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--green-300); border-color: var(--green-500); }
.form textarea { resize: vertical; min-height: 110px; }
.form .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-900); color: #dfe8df; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: #cfe0cf; }
.site-footer a:hover { color: #fff; }
.site-footer p, .site-footer li { font-size: 14px; color: #cfe0cf; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff;
}
.socials a:hover { background: var(--leaf); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #a9c2a9;
}

/* ---------- 占位提示 ---------- */
.placeholder-note {
  background: #fff8e6; border: 1px dashed #e0c878; color: #8a6d2f;
  font-size: 13px; padding: 8px 14px; border-radius: 10px; display: inline-block; margin-top: 10px;
}

/* ---------- 案例页补充样式 ---------- */
.note-line {
  background: #eaf2e3; border: 1px solid #cfe0cf; color: var(--green-900);
  padding: 10px 16px; border-radius: 12px; font-size: 14px; margin: 14px 0 6px;
}
.note-line span { font-weight: 700; }
.case-body .clients { font-size: 13px; color: var(--green-700); margin-top: 8px; }

/* ---------- 工厂图库 ---------- */
.factory-gallery { margin-top: 28px; }
.factory-gallery h4 { font-size: 16px; color: var(--green-900); margin-bottom: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s;
}
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- 商务条款卡片 ---------- */
.terms-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 34px;
}
.terms-card h4 { font-size: 17px; color: var(--green-900); margin-bottom: 14px; }
.terms-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; list-style: none; }
.terms-list li {
  font-size: 14px; color: var(--muted); padding-left: 22px; position: relative;
}
.terms-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700;
}

/* ---------- WhatsApp 二维码 ---------- */
.qr-card {
  background: var(--white); border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center;
  display: inline-block; margin-top: 14px;
}
.qr-card img { width: 150px; height: 150px; border-radius: 10px; margin-bottom: 8px; }
.qr-card span { display: block; font-size: 13px; color: var(--muted); }
.qr-card a { font-size: 13px; color: var(--green-700); }
.qr-card a:hover { color: var(--green-900); }

/* Formspree 提示 */
.formspree-note {
  display: block; font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .belief-grid { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-list { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .hero h1 { font-size: 42px; }
  .hero-badges { gap: 22px; }
  .lang-selector { margin-left: 0; margin-top: 12px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .cards, .case-row, .steps { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 84px 0 56px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .cap-zh { font-size: 15px; }
  .cap-en, .cap-de { font-size: 13px; }
  .hero-badges { gap: 18px; }
}
