/* Drawbelive English Site - Global Styles */
:root {
  --primary: #1256b8;
  --primary-dark: #0c3f8a;
  --accent: #18a0fb;
  --dark: #10233f;
  --gray: #64748b;
  --light: #f4f7fb;
  --border: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 13.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #e2e8f0; }
.topbar span.item { margin-right: 18px; }
.topbar .icon { margin-right: 5px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(16,35,63,.05);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; letter-spacing: -.5px;
}
.logo .mark-img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(16,35,63,.25); }
.logo .name { font-size: 21px; font-weight: 700; color: var(--dark); line-height: 1.15; }
.logo .name small { display: block; font-size: 11px; font-weight: 500; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; font-size: 15.5px; font-weight: 600;
  color: #334155; border-radius: 6px; transition: all .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--primary); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(9,26,52,.93) 0%, rgba(9,26,52,.78) 48%, rgba(9,26,52,.30) 100%),
    url("../images/banner1.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 30px; align-items: center;
  padding-top: 70px; padding-bottom: 70px; min-height: 460px;
}
.hero h1 { font-size: 44px; line-height: 1.2; margin-bottom: 14px; font-weight: 800; }
.hero p.sub { font-size: 19px; color: #bcd3f5; max-width: 540px; }
.hero .hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-deco {
  position: absolute; right: -60px; top: -80px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(24,160,251,.35), transparent 70%);
}
.hero-art { display: flex; justify-content: center; }

.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-weight: 700; font-size: 15.5px; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0d8ae0; color: #fff; }
.btn-outline { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-ghost { border: 2px solid var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* Section base */
section.section { padding: 70px 0; }
section.section.alt { background: var(--light); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 32px; color: var(--dark); font-weight: 800; }
.sec-head .en { color: var(--accent); font-size: 14px; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 6px; }
.sec-head p { color: var(--gray); max-width: 760px; margin: 10px auto 0; }
.sec-head:after { content: ""; display: block; width: 64px; height: 4px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }

/* About intro on home */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.about-grid h3 { font-size: 26px; color: var(--dark); margin-bottom: 16px; }
.about-grid p { color: #475569; margin-bottom: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.stat { background: var(--light); border-radius: 12px; padding: 20px 10px; text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--primary); font-weight: 800; }
.stat span { font-size: 13.5px; color: var(--gray); }

/* Series cards */
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.series-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 30px 24px; text-align: center; transition: all .25s; position: relative;
}
.series-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(18,86,184,.14); border-color: var(--accent); }
.series-card .num { font-size: 40px; font-weight: 800; color: #dbe7f7; line-height: 1; }
.series-card h3 { font-size: 18px; color: var(--dark); margin: 12px 0 6px; }
.series-card p { font-size: 13.5px; color: var(--gray); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(18,86,184,.14); }
.product-card .thumb { background: linear-gradient(160deg, #eef4fc, #dceafc); display: flex; align-items: center; justify-content: center; padding: 0; min-height: 220px; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .3s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.product-card ul.specs { list-style: none; font-size: 13.8px; color: #475569; }
.product-card ul.specs li { padding: 3px 0; border-bottom: 1px dashed #e8eef6; }
.product-card ul.specs li:last-child { border-bottom: none; }
.product-card ul.specs b { color: var(--dark); }
.product-card .more { margin-top: 14px; font-weight: 700; font-size: 14px; }

/* Feature list inside detail */
.feat-title { font-weight: 700; color: var(--dark); font-size: 14px; margin-top: 8px; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv {
  background: #fff; border-radius: 14px; padding: 36px 28px; text-align: center;
  border: 1px solid var(--border); transition: all .25s;
}
.adv:hover { box-shadow: 0 14px 30px rgba(18,86,184,.12); }
.adv .ic {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.adv h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.adv p { color: var(--gray); font-size: 14.5px; }

/* News */
.news-thumb { width: 130px; height: 130px; object-fit: cover; border-radius: 10px; flex-shrink: 0; align-self: center; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px 26px; display: flex; gap: 22px; transition: all .25s; }
.news-item:hover { box-shadow: 0 12px 26px rgba(18,86,184,.12); }
.news-date { flex-shrink: 0; width: 72px; text-align: center; background: var(--light); border-radius: 10px; padding: 10px 4px; align-self: flex-start; }
.news-date b { display: block; font-size: 24px; color: var(--primary); line-height: 1.1; }
.news-date span { font-size: 12.5px; color: var(--gray); }
.news-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.news-item p { font-size: 14px; color: var(--gray); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 52px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band h2 { font-size: 27px; margin-bottom: 6px; }
.cta-band p { color: #cfe0fa; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: var(--accent); color: #fff; }

/* Page banner (inner pages) */
.page-banner {
  background: linear-gradient(120deg, #0b1f3d, #14509f);
  color: #fff; padding: 46px 0;
}
.page-banner h1 { font-size: 32px; }
.page-banner .crumb { color: #a9c6f2; font-size: 14px; margin-top: 6px; }
.page-banner .crumb a { color: #cfe0fa; }

/* Timeline (history) */
.timeline { position: relative; margin-left: 12px; padding-left: 28px; border-left: 3px solid #dbe7f7; }
.timeline .tl-item { position: relative; padding-bottom: 26px; }
.timeline .tl-item:before {
  content: ""; position: absolute; left: -39px; top: 5px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline .tl-date { font-weight: 800; color: var(--primary); font-size: 16px; }
.timeline .tl-text { color: #475569; font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px 26px; text-align: center; }
.contact-card .ic { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.contact-card p { color: #475569; font-size: 15px; }
.contact-card a { font-weight: 600; }
.about-photo img { width: 100%; border-radius: 14px; display: block; box-shadow: 0 14px 30px rgba(18,86,184,.15); }
.qr-img { width: 130px; border-radius: 8px; display: block; margin: 0 auto 8px; }
.note-band {
  background: var(--light); border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 20px 24px; font-size: 16px; color: #334155;
}

/* Honors */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.honor-card:hover { box-shadow: 0 12px 26px rgba(18,86,184,.12); }
.honor-card .ph { height: auto; padding: 10px; background: #faf8f2; display: flex; align-items: center; justify-content: center; }
.honor-card .ph img { width: 100%; height: 250px; object-fit: cover; display: block; }
.honor-card .cap { padding: 14px 16px; font-size: 14px; color: #334155; text-align: center; font-weight: 600; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-row a { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border); color: #475569; font-size: 14.5px; font-weight: 600; }
.filter-row a.on, .filter-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Footer */
.site-footer { background: var(--dark); color: #94a3b8; padding: 54px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 38px; }
.site-footer h4 { color: #e2e8f0; font-size: 16.5px; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e3a5f; padding: 18px 0; text-align: center; font-size: 13px; color: #64748b; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.sub { margin: 0 auto; }
  .hero .hero-cta { justify-content: center; }
  .about-grid, .news-grid { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .adv-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .site-header .container { flex-direction: column; height: auto; padding: 12px 20px; gap: 8px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 30px; }
  .product-grid, .adv-grid, .contact-grid, .series-grid, .honor-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .stat-row { grid-template-columns: 1fr; }
}
