/* ============ English site for Dalian Yifengli Blade ============ */
:root {
  --navy: #1e2b3a;
  --navy-2: #2a3b4d;
  --amber: #f5b301;
  --amber-dark: #d99a00;
  --text: #2c3a48;
  --muted: #64748b;
  --bg: #f6f8fa;
  --card: #ffffff;
  --line: #e3e8ee;
  --green: #2f7d32;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section-alt { background: #eef2f6; }
.section-title { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 36px; font-size: 16px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  box-shadow: 0 2px 10px rgba(20,30,40,.25);
}
.header-inner { display: flex; align-items: center; gap: 26px; padding: 14px 22px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 1.5px; font-size: 17px; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; background: var(--amber); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 900; border-radius: 6px; font-size: 15px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a { padding: 8px 14px; border-radius: 6px; font-size: 15px; font-weight: 600; color: #cfd9e4; transition: .15s; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--navy-2); }
.btn-quote { background: var(--amber); color: #241d00 !important; border-radius: 6px; padding: 9px 18px !important; font-weight: 800 !important; }
.btn-quote:hover { background: #ffc41f; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 8px; font-weight: 800; font-size: 16px; letter-spacing: .3px; transition: .15s; }
.btn-primary { background: var(--amber); color: #241d00; }
.btn-primary:hover { background: #ffc41f; }
.btn-outline { border: 2px solid rgba(255,255,255,.65); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #1e2b3a 0%, #2c405a 55%, #3d5a7a 100%);
  color: #fff; padding: 84px 0 0; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; }
.hero h1 { font-size: 46px; line-height: 1.12; font-weight: 900; letter-spacing: .5px; }
.hero h1 span { color: var(--amber); }
.hero p.lead { margin: 22px 0 30px; font-size: 18px; color: #c9d6e2; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 84px; }
.hero-img { border-radius: 14px 14px 0 0; box-shadow: 0 -14px 40px rgba(0,0,0,.35); }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding-bottom: 6px; }
.hero-badge { font-size: 14px; color: #dfe8f0; }
.hero-badge b { color: var(--amber); margin-right: 6px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: .18s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,43,58,.13); }
.card-img { aspect-ratio: 8/11; overflow: hidden; background: #dfe4ea; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; color: var(--navy); font-weight: 800; }
.card-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.card-link { font-weight: 800; color: var(--navy); font-size: 14.5px; }
.card-link:hover { color: var(--amber-dark); }

/* ---------- feature blocks ---------- */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; }
.feature .ico { font-size: 26px; width: 52px; height: 52px; border-radius: 12px; background: #fdf3d3; color: var(--amber-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-weight: 900; }
.feature h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 12px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f2f6fa; }
td.mono { font-family: Consolas, monospace; white-space: nowrap; }

/* ---------- product page ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb a:hover { color: var(--amber-dark); }
.product-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; margin-top: 28px; }
.product-hero .poster { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(30,43,58,.12); }
.product-hero h1 { font-size: 34px; color: var(--navy); font-weight: 900; line-height: 1.15; margin-bottom: 14px; }
.product-hero .desc { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 26px; }
.check-list li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.spec-h { font-size: 21px; color: var(--navy); font-weight: 800; margin: 44px 0 16px; }
.note { background: #fdf3d3; border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: #5b4a00; margin: 18px 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), #35506e); color: #fff; padding: 56px 0; }
.cta-band h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.cta-band p { color: #c9d6e2; margin-bottom: 26px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.contact-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.contact-card .val { font-size: 17px; font-weight: 700; color: var(--text); }
.contact-card .hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.form-card label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin: 16px 0 6px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fbfcfe;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--amber); }

/* ---------- footer ---------- */
.site-footer { background: #16202c; color: #9fb0c0; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.site-footer a:hover { color: var(--amber); }
.site-footer li { list-style: none; padding: 4px 0; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid #2a3a4c; padding: 18px 0; font-size: 13.5px; text-align: center; color: #7488 9c; }
.footer-bottom { color: #74889c; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-img { margin-top: 34px; }
  .hero-actions { padding-bottom: 56px; }
  .product-hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { margin-left: 0; width: 100%; }
  .main-nav a { padding: 7px 10px; font-size: 13.5px; }
}

/* ---------- brand & customisation blocks ---------- */
.brand-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 10px; }
.brand-nav a, .chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--navy); transition: .15s; }
.brand-nav a:hover { border-color: var(--amber); background: #fffaf0; transform: translateY(-1px); }
.chip { background: #eef2f6; font-weight: 600; cursor: default; }
.brand-sec { margin-top: 42px; padding-top: 4px; border-top: 1px solid var(--line); }
.brand-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 30px 0 2px; }
.brand-head h2 { font-size: 23px; color: var(--navy); font-weight: 900; }
.brand-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #7a5b00; background: #fdf3d3; border-radius: 999px; padding: 3px 11px; }
.brand-p { color: var(--muted); font-size: 15.5px; max-width: 860px; margin: 8px 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.inline-link { font-weight: 800; color: var(--navy); font-size: 14.5px; white-space: nowrap; }
.inline-link:hover { color: var(--amber-dark); }
.custom-head { font-size: 15px; color: var(--navy); font-weight: 800; margin: 20px 0 8px; }
@media (max-width: 620px) { .brand-head h2 { font-size: 20px; } .brand-p { font-size: 15px; } }

/* ---------- drawing-required bar ---------- */
.drawing-bar { background: linear-gradient(90deg, #f5b301 0%, #ffc93c 55%, #ffd977 100%); border-bottom: 1px solid #e0a300; }
.drawing-bar .container { display: flex; align-items: center; gap: 14px; padding: 11px 22px; }
.drawing-bar .db-badge { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #1e2b3a; color: #f5b301; font-weight: 900; font-size: 16px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.drawing-bar p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #2b2000; }
.drawing-bar b { font-weight: 900; letter-spacing: .2px; }
.drawing-bar .db-zh { display: block; font-size: 12.5px; color: #6b5200; margin-top: 1px; letter-spacing: .2px; }
.drawing-hint { background: #fff7e0; border: 1px dashed #e0a300; border-radius: 8px; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; color: #5b4a00; margin: 0 0 16px; }
@media (max-width: 620px) { .drawing-bar p { font-size: 13px; } .drawing-bar .dr-long { display: none; } .drawing-bar .container { gap: 10px; padding: 10px 16px; } }
@media print { .drawing-bar { display: none; } }
