/*
Theme Name: HQB News Portal
Theme URI: https://hqb.info
Author: HQB Dev
Author URI: https://hqb.info
Description: Blue-themed news portal for Huaqiangbei Good Products. News-first, products secondary. Multi-language multisite ready with separate desktop/mobile templates.
Version: 1.0
Text Domain: hqb-news
License: GPLv2 or later
*/

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: #1a2733;
  background: #f4f7fb;
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.3; color: #10243b; }
p { margin: 0 0 1em; }
.container { width: 1200px; max-width: 94%; margin: 0 auto; }
.clear::after { content:""; display:table; clear:both; }

/* ============ Brand colors (blue) ============ */
:root {
  --hqb-blue: #0b5fff;
  --hqb-blue-dark: #0842b8;
  --hqb-blue-deep: #06266b;
  --hqb-blue-light: #e8f0ff;
  --hqb-accent: #ffb020;
  --hqb-ink: #10243b;
  --hqb-gray: #5b6b7f;
}

/* ============ Top utility bar ============ */
.topbar { background: var(--hqb-blue-deep); color: #cfe0ff; font-size: 12.5px; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; height:34px; }
.topbar .date { opacity:.85; }
.topbar .lang-switch { display:flex; gap:14px; align-items:center; }
.topbar .lang-switch a { color:#cfe0ff; padding:2px 6px; border-radius:3px; }
.topbar .lang-switch a.active, .topbar .lang-switch a:hover { color:#fff; background: rgba(255,255,255,.14); }

/* ============ Header ============ */
.site-header { background:#fff; box-shadow: 0 2px 12px rgba(11,95,255,.08); position: sticky; top:0; z-index:50; }
.site-header .container { display:flex; align-items:center; justify-content:space-between; height:78px; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-logo {
  width:46px; height:46px; border-radius:10px;
  background: linear-gradient(135deg, var(--hqb-blue), var(--hqb-blue-dark));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:20px; letter-spacing:-1px;
  box-shadow: 0 4px 12px rgba(11,95,255,.35);
}
.brand-text .name { font-size:21px; font-weight:800; color:var(--hqb-blue-deep); line-height:1.1; }
.brand-text .slogan { font-size:11px; color:var(--hqb-gray); letter-spacing:.5px; }

.main-nav { display:flex; gap:4px; align-items:center; }
.main-nav a { padding:10px 15px; font-size:14.5px; font-weight:600; color:#33465e; border-radius:6px; transition:.18s; }
.main-nav a:hover, .main-nav a.current { color:var(--hqb-blue); background:var(--hqb-blue-light); }
.header-cta { flex-shrink:0; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:8px; font-weight:700; font-size:14.5px;
  border:none; cursor:pointer; transition:.2s; line-height:1;
}
.btn-primary { background:var(--hqb-accent); color:#5a3800; box-shadow:0 4px 14px rgba(255,176,32,.4); }
.btn-primary:hover { background:#ffc04d; transform:translateY(-1px); box-shadow:0 6px 18px rgba(255,176,32,.5); }
.btn-blue { background:var(--hqb-blue); color:#fff; }
.btn-blue:hover { background:var(--hqb-blue-dark); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(120deg, rgba(9,30,66,.88) 0%, rgba(16,52,110,.82) 55%, rgba(28,94,180,.78) 100%), url('assets/images/hero-bg.jpg') center/cover no-repeat;
  color:#fff; position:relative; overflow:hidden;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; opacity:.5;
}
.hero .container { position:relative; padding:62px 0 58px; display:grid; grid-template-columns: 1.15fr .85fr; gap:50px; align-items:center; }
.hero-badge { display:inline-block; background:rgba(255,176,32,.18); color:#ffd27a; border:1px solid rgba(255,176,32,.4); padding:6px 14px; border-radius:20px; font-size:13px; font-weight:600; margin-bottom:18px; }
.hero h1 { color:#fff; font-size:42px; line-height:1.2; margin-bottom:18px; letter-spacing:-.5px; }
.hero h1 .hl { color:var(--hqb-accent); }
.hero p.lead { font-size:17px; color:#dbe8ff; margin-bottom:12px; max-width:620px; }
.hero .hero-note { font-size:14px; color:#b9d0ff; margin-bottom:28px; }
.hero-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.hero .btn-primary { font-size:16px; padding:15px 30px; }
.hero .btn-ghost { border:1px solid rgba(255,255,255,.4); color:#fff; padding:14px 24px; border-radius:8px; font-weight:600; }
.hero .btn-ghost:hover { background:rgba(255,255,255,.1); }
.hero-visual { position:relative; }
.hero-visual .stat-card {
  background:rgba(255,255,255,.1); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.22); border-radius:16px; padding:26px;
}
.hero-visual .stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.hero-visual .stat .num { font-size:32px; font-weight:800; color:var(--hqb-accent); line-height:1; }
.hero-visual .stat .label { font-size:13px; color:#cfe0ff; margin-top:6px; }

/* ============ Section headings ============ */
.section { padding:52px 0; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:26px; }
.section-head h2 { font-size:27px; margin:0; position:relative; padding-left:16px; }
.section-head h2::before { content:""; position:absolute; left:0; top:4px; bottom:4px; width:5px; background:var(--hqb-blue); border-radius:3px; }
.section-head .sub { color:var(--hqb-gray); font-size:13px; }
.section-head a.more { color:var(--hqb-blue); font-size:14px; font-weight:600; }
.section-head a.more:hover { text-decoration:underline; }

/* ============ News layout (news-first) ============ */
.news-grid { display:grid; grid-template-columns: 1.6fr 1fr; gap:28px; }
.news-feature { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 3px 16px rgba(16,36,59,.06); }
.news-feature .thumb { height:280px; background:#dbe6f5; overflow:hidden; }
.news-feature .thumb img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.news-feature:hover .thumb img { transform:scale(1.04); }
.news-feature .body { padding:22px 24px 26px; }
.news-feature .meta { color:var(--hqb-blue); font-size:12.5px; font-weight:600; margin-bottom:8px; }
.news-feature h3 { font-size:22px; margin-bottom:10px; }
.news-feature h3 a:hover { color:var(--hqb-blue); }
.news-feature .excerpt { color:var(--hqb-gray); font-size:14px; }

.news-list { display:flex; flex-direction:column; gap:0; }
.news-item { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid #e6ecf4; }
.news-item:first-child { padding-top:0; }
.news-item .ni-thumb { width:92px; height:66px; border-radius:8px; overflow:hidden; flex-shrink:0; background:#dbe6f5; }
.news-item .ni-thumb img { width:100%; height:100%; object-fit:cover; }
.news-item .ni-body .ni-meta { font-size:11.5px; color:#93a2b5; margin-bottom:4px; }
.news-item .ni-body h4 { font-size:15px; margin:0 0 4px; line-height:1.4; }
.news-item .ni-body h4 a:hover { color:var(--hqb-blue); }

/* News cards 3-col */
.news-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.news-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 3px 16px rgba(16,36,59,.06); transition:.2s; }
.news-card:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(16,36,59,.12); }
.news-card .nc-thumb { position:relative; height:210px; overflow:hidden; background:#dbe6f5; display:block; }
.news-card .nc-thumb img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.news-card:hover .nc-thumb img { transform:scale(1.05); }
/* 标题叠在图片底部，50% 黑色半透明底 */
.news-card .nc-caption { position:absolute; left:0; right:0; bottom:0; padding:30px 18px 16px; background:linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,.5) 62%, rgba(0,0,0,0) 100%); color:#fff; transition:transform .3s ease, opacity .3s ease; }
.news-card .nc-caption .nc-meta { font-size:12px; color:rgba(255,255,255,.82); font-weight:600; margin-bottom:6px; }
.news-card .nc-caption h3 { font-size:16px; line-height:1.45; margin:0; color:#fff; }
/* hover 时向上弹出的简介层 */
.news-card .nc-reveal { position:absolute; left:0; right:0; bottom:0; padding:18px; background:rgba(0,0,0,.72); color:#fff; transform:translateY(100%); opacity:0; transition:transform .32s ease, opacity .32s ease; }
.news-card .nc-reveal p { margin:0; font-size:13px; line-height:1.6; color:rgba(255,255,255,.94); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.news-card:hover .nc-caption { transform:translateY(-100%); opacity:0; }
.news-card:hover .nc-reveal { transform:translateY(0); opacity:1; }
.news-card .nc-body { padding:14px 18px 18px; }
.news-card .nc-excerpt { font-size:13px; color:var(--hqb-gray); }

/* ============ Products (secondary) ============ */
.products-section { background:#fff; }
.product-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.product-card { border:1px solid #e6ecf4; border-radius:12px; overflow:hidden; transition:.2s; background:#fff; }
.product-card:hover { border-color:var(--hqb-blue); box-shadow:0 8px 22px rgba(11,95,255,.12); transform:translateY(-3px); }
.product-card .pc-thumb { height:180px; background:#eef3fa; overflow:hidden; }
.product-card .pc-thumb img { width:100%; height:100%; object-fit:cover; }
.product-card .pc-body { padding:16px; }
.product-card .pc-cat { font-size:11px; color:var(--hqb-blue); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.product-card h3 { font-size:15px; margin:6px 0; }
.product-card .pc-price { color:#e8590c; font-weight:800; font-size:17px; }

.cat-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.cat-tabs a { padding:8px 16px; border-radius:20px; background:#eef3fb; color:#42546b; font-size:13.5px; font-weight:600; }
.cat-tabs a:hover, .cat-tabs a.active { background:var(--hqb-blue); color:#fff; }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(100deg, var(--hqb-blue-deep), var(--hqb-blue));
  border-radius:16px; padding:38px 44px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  margin-top:10px;
}
.cta-banner h2 { color:#fff; font-size:26px; margin-bottom:8px; }
.cta-banner p { color:#d3e2ff; margin:0; font-size:15px; }

/* ============ Footer ============ */
.site-footer { background:#0a1a2f; color:#aebdd2; padding:48px 0 0; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:40px; }
.footer-col h3 { color:#fff; font-size:16px; margin-bottom:18px; }
.footer-col p, .footer-col address { font-style:normal; font-size:14px; line-height:1.9; }
.footer-col a { color:#aebdd2; }
.footer-col a:hover { color:#fff; }
.footer-contact-list li { display:flex; gap:10px; margin-bottom:12px; font-size:14px; }
.footer-contact-list .ic { color:var(--hqb-accent); flex-shrink:0; font-weight:700; }
.footer-bottom { border-top:1px solid #1c2f4a; margin-top:36px; padding:20px 0; text-align:center; font-size:13px; color:#7f92ac; }

/* ============ Single article ============ */
.article-wrap { background:#fff; border-radius:12px; padding:34px 40px; box-shadow:0 3px 16px rgba(16,36,59,.05); }
.article-wrap h1 { font-size:30px; margin-bottom:12px; }
.article-meta { color:#93a2b5; font-size:13px; margin-bottom:24px; padding-bottom:18px; border-bottom:1px solid #e6ecf4; }
.article-content { font-size:16px; line-height:1.9; color:#2b3a4d; }
.article-content img { border-radius:8px; margin:18px 0; }
.article-content h2 { font-size:22px; margin-top:28px; }

/* ============ Purchase form page ============ */
.purchase-wrap { background:#fff; border-radius:14px; padding:34px 40px; box-shadow:0 3px 20px rgba(16,36,59,.07); }
.purchase-wrap h1 { font-size:28px; }
.purchase-lead { color:var(--hqb-gray); margin-bottom:26px; }
.purchase-row { display:grid; grid-template-columns: 1.4fr 1fr 1fr 44px; gap:12px; align-items:end; margin-bottom:14px; padding:14px; background:#f6f9fe; border-radius:10px; }
.purchase-row .field label { display:block; font-size:12px; font-weight:600; color:#5b6b7f; margin-bottom:5px; }
.purchase-row select, .purchase-row input {
  width:100%; padding:10px 12px; border:1px solid #d6e0ee; border-radius:7px;
  font-size:14px; background:#fff; color:#1a2733;
}
.purchase-row select:focus, .purchase-row input:focus { outline:none; border-color:var(--hqb-blue); box-shadow:0 0 0 3px rgba(11,95,255,.1); }
.btn-remove { width:40px; height:40px; border-radius:8px; border:1px solid #ffd7d7; background:#fff5f5; color:#e03131; font-size:20px; cursor:pointer; }
.btn-remove:hover { background:#ffe3e3; }
.purchase-actions { display:flex; gap:12px; align-items:center; margin-top:18px; }
.btn-add { background:var(--hqb-blue-light); color:var(--hqb-blue-dark); border:1px dashed var(--hqb-blue); padding:10px 18px; border-radius:8px; font-weight:600; cursor:pointer; }
.purchase-msg { margin-top:18px; padding:14px 18px; border-radius:8px; display:none; }
.purchase-msg.ok { display:block; background:#e6f7ee; color:#1b7a43; }
.purchase-msg.err { display:block; background:#ffecec; color:#c92a2a; }

/* ============ RTL support (Arabic site) ============ */
body.rtl { direction: rtl; text-align: right; }
body.rtl .section-head h2 { padding-left:0; padding-right:16px; }
body.rtl .section-head h2::before { left:auto; right:0; }
body.rtl .news-item,
body.rtl .footer-contact-list li { flex-direction: row-reverse; }
body.rtl .brand,
body.rtl .hero-actions,
body.rtl .cat-tabs { }
body.rtl .site-header .container { }
body.rtl .purchase-row { }
body.rtl [dir] { }

/* ============ Suppliers page ============ */
.supplier-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.supplier-card {
  display:flex; gap:16px; align-items:stretch;
  background:#fff; border:1px solid #e3e8f0; border-radius:12px; padding:16px;
  text-decoration:none; color:inherit; transition:.22s;
}
.supplier-card:hover { border-color:var(--hqb-blue); box-shadow:0 6px 22px rgba(11,95,255,.09); transform:translateY(-2px); }
.supplier-logo { width:120px; height:120px; flex:0 0 120px; border-radius:8px; overflow:hidden; background:#f5f7fb; display:flex; align-items:center; justify-content:center; }
.supplier-logo img { width:100%; height:100%; object-fit:cover; }
.sup-logo-fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:44px; font-weight:800; color:#fff; background:linear-gradient(135deg,#2f7bff,#0b5fff); }
.supplier-body { flex:1; display:flex; flex-direction:column; justify-content:space-between; min-width:0; }
.supplier-body h3 { font-size:17px; font-weight:700; color:#1f2d3d; line-height:1.35; margin:0 0 8px; }
.supplier-intro { margin:0; color:#5b6b7f; font-size:14px; line-height:1.6; }
.supplier-empty { color:#93a2b5; font-size:15px; }

/* ============ Responsive fallback for desktop ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns:1fr; }
  .news-cards { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .main-nav { display:none; }
}

/* ==================================================================
   Purchase / sourcing-request landing page
   Scoped to .hqb-lp so blue-themed pages are untouched.
   Palette mirrors HuaqiangGoods_Landing_Page.html (orange + dark).
   Change the variables below to re-theme the whole page in one place.
   ================================================================== */
.hqb-lp {
  --lp-primary: #FF6B00;
  --lp-primary-2: #FF8E3C;
  --lp-dark: #1A1A2E;
  --lp-dark-2: #16213E;
  --lp-light: #F8F9FA;
  --lp-ink: #1A1A2E;
  --lp-muted: #5b6472;
  --lp-line: #e6e9ef;
  background: #fff;
  color: var(--lp-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
.hqb-lp * { box-sizing: border-box; }
.hqb-lp .lp-container { width: 1200px; max-width: 92%; margin: 0 auto; }
.hqb-lp .lp-ic { vertical-align: middle; flex: 0 0 auto; }
.hqb-lp h1, .hqb-lp h2, .hqb-lp h3, .hqb-lp h4 { color: var(--lp-dark); margin: 0; }
.hqb-lp p { margin: 0; }

/* Hero */
.hqb-lp .lp-hero {
  background: linear-gradient(135deg, var(--lp-dark) 0%, var(--lp-dark-2) 100%);
  color: #fff;
  padding: 84px 0 74px;
  text-align: center;
}
.hqb-lp .lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,107,0,.16); color: var(--lp-primary-2);
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 26px;
}
.hqb-lp .lp-hero h1 {
  color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.22;
  font-weight: 800; letter-spacing: -.5px; margin: 0 auto 22px; max-width: 980px;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.hqb-lp .lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hqb-lp .lp-hero-sub {
  color: #c9cede; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75;
  max-width: 760px; margin: 0 auto 34px;
}
.hqb-lp .lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; cursor: pointer; font-weight: 700; text-decoration: none;
  border-radius: 999px; transition: transform .25s, box-shadow .25s;
}
.hqb-lp .lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-2) 100%);
  color: #fff; padding: 15px 34px; font-size: 16px;
  box-shadow: 0 8px 24px rgba(255,107,0,.28);
}
.hqb-lp .lp-btn-primary:hover {
  transform: scale(1.05); box-shadow: 0 12px 34px rgba(255,107,0,.45); color: #fff;
}
.hqb-lp .lp-hero-btn { font-size: 17px; padding: 16px 40px; }
.hqb-lp .lp-feats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 26px;
  margin-top: 40px; color: #d7dbe6; font-size: 14px;
}
.hqb-lp .lp-feats span { display: inline-flex; align-items: center; gap: 8px; }
.hqb-lp .lp-feats .lp-ic { color: var(--lp-primary-2); }

/* Generic section */
.hqb-lp .lp-section { padding: 72px 0; }
.hqb-lp .lp-section-light { background: var(--lp-light); }
.hqb-lp .lp-sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.hqb-lp .lp-sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.hqb-lp .lp-sec-head p { color: var(--lp-muted); font-size: 15.5px; line-height: 1.7; }

/* Core advantages */
.hqb-lp .lp-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hqb-lp .lp-adv-card {
  background: #fff; border-radius: 18px; padding: 34px 30px;
  box-shadow: 0 6px 26px rgba(26,26,46,.06); transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(26,26,46,.04);
}
.hqb-lp .lp-adv-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(255,107,0,.15); }
.hqb-lp .lp-adv-ic {
  width: 66px; height: 66px; border-radius: 16px; margin-bottom: 22px;
  background: rgba(255,107,0,.10); color: var(--lp-primary);
  display: flex; align-items: center; justify-content: center;
}
.hqb-lp .lp-adv-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.hqb-lp .lp-adv-card p { color: var(--lp-muted); font-size: 14.5px; line-height: 1.8; }

/* Category cards */
.hqb-lp .lp-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hqb-lp .lp-cat-card {
  text-align: center; padding: 28px 14px; border-radius: 14px;
  background: var(--lp-light); transition: transform .3s, box-shadow .3s;
}
.hqb-lp .lp-cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(255,107,0,.13); }
.hqb-lp .lp-cat-ic {
  color: var(--lp-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.hqb-lp .lp-cat-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hqb-lp .lp-cat-card small { color: #8891a0; font-size: 12px; line-height: 1.5; display: block; }

/* ================= Request form ================= */
.hqb-lp .lp-form-card {
  background: #fff; border-radius: 20px; padding: 38px 40px; max-width: 1080px; margin: 0 auto;
  box-shadow: 0 12px 40px rgba(26,26,46,.09); border: 1px solid rgba(26,26,46,.05);
}
.hqb-lp .lp-row {
  position: relative; display: grid;
  grid-template-columns: 1.15fr 1.5fr .8fr 1.35fr 1.2fr;
  gap: 14px; align-items: end;
  background: var(--lp-light); border: 1px solid var(--lp-line);
  border-radius: 12px; padding: 18px 18px 16px; margin-bottom: 14px;
}
.hqb-lp .lp-field { min-width: 0; }
.hqb-lp .lp-field label {
  display: block; font-size: 12.5px; font-weight: 700; color: #40485a; margin-bottom: 7px;
}
.hqb-lp .lp-field label .req { color: var(--lp-primary); font-style: normal; }
.hqb-lp .lp-field input,
.hqb-lp .lp-field select {
  width: 100%; padding: 11px 12px; border: 1px solid #d9dfe8; border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--lp-ink); background: #fff; height: 44px;
}
.hqb-lp .lp-field input:focus,
.hqb-lp .lp-field select:focus {
  outline: none; border-color: var(--lp-primary); box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}
.hqb-lp .lp-range { display: flex; align-items: center; gap: 6px; }
.hqb-lp .lp-range input { min-width: 0; }
.hqb-lp .lp-range-sep { color: #98a1b0; font-weight: 700; flex: 0 0 auto; }
.hqb-lp .lp-row-del {
  position: absolute; top: -9px; right: -9px;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ffd2d2;
  background: #fff; color: #e03131; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: .2s;
}
.hqb-lp .lp-row-del:hover { background: #ffecec; transform: rotate(90deg); }
.hqb-lp .lp-add-row {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,107,0,.06); color: var(--lp-primary);
  border: 1px dashed var(--lp-primary); border-radius: 9px;
  padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s;
  margin: 4px 0 22px;
}
.hqb-lp .lp-add-row:hover { background: rgba(255,107,0,.12); }
.hqb-lp .lp-opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.hqb-lp .lpopt-grid-spacer { display: none; }
.hqb-lp .lp-req-note { color: #98a1b0; font-size: 12.5px; margin: 6px 0 22px; }
.hqb-lp .lp-submit-wrap { text-align: center; }
.hqb-lp .lp-submit { font-size: 17px; padding: 16px 46px; }
.hqb-lp .lp-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.hqb-lp .lp-form-msg {
  display: none; margin-top: 20px; padding: 14px 18px; border-radius: 10px; font-size: 14px; text-align: center;
}
.hqb-lp .lp-form-msg.ok  { display: block; background: #e6f7ee; color: #1b7a43; }
.hqb-lp .lp-form-msg.err { display: block; background: #ffecec; color: #c92a2a; }

/* Service process */
.hqb-lp .lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.hqb-lp .lp-steps::before {
  content: ""; position: absolute; top: 48px; left: 10%; right: 10%; height: 3px;
  background: rgba(255,107,0,.18); z-index: 0;
}
.hqb-lp .lp-step { text-align: center; position: relative; z-index: 1; }
.hqb-lp .lp-step-num {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; color: var(--lp-primary); font-size: 30px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid rgba(255,107,0,.16); box-shadow: 0 6px 20px rgba(26,26,46,.06);
}
.hqb-lp .lp-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.hqb-lp .lp-step p { color: var(--lp-muted); font-size: 12.5px; line-height: 1.6; padding: 0 6px; }

/* Stats */
.hqb-lp .lp-stats { background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-2)); color: #fff; padding: 48px 0; }
.hqb-lp .lp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.hqb-lp .lp-stat b { display: block; font-size: 42px; font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.hqb-lp .lp-stat span { font-size: 14px; color: rgba(255,255,255,.9); }

/* Final CTA */
.hqb-lp .lp-final { background: var(--lp-dark); color: #fff; text-align: center; padding: 76px 0; }
.hqb-lp .lp-final h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.hqb-lp .lp-final > .lp-container > p { color: #c9cede; max-width: 700px; margin: 0 auto 30px; line-height: 1.75; }
.hqb-lp .lp-addr { color: #8b93a7 !important; font-size: 13px; margin-top: 30px !important; }

/* Mid-width fallback */
@media (max-width: 1024px) {
  .hqb-lp .lp-row { grid-template-columns: repeat(2, 1fr); }
  .hqb-lp .lp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hqb-lp .lp-steps::before { display: none; }
}

