/* ============================================================
   BRONK · Guangdong Bronk Technology Co., Ltd.
   Design System — deep navy #0B2E5B · white · light gray
   ============================================================ */

:root {
  --navy: #0B2E5B;
  --navy-2: #1B4F8A;
  --navy-light: #EAF0F8;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --text: #1C2733;
  --text-2: #5A6B7A;
  --line: #E3E8EE;
  --gold: #C9A227;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 46, 91, 0.08);
  --font-h: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-b: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-2); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); line-height: 1.25; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a { color: #fff; }
.topbar .socials { display: flex; gap: 14px; }
.topbar .socials a { opacity: .85; }
.topbar .socials a:hover { opacity: 1; }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--font-h); font-weight: 500; font-size: 14px; color: var(--text); }
.nav a:hover, .nav a.active { color: var(--navy); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 8px 0; min-width: 240px; }
.nav .dropdown:hover .dropdown-menu { display: block; }
.nav .dropdown-menu a { display: block; padding: 8px 18px; font-size: 13.5px; font-family: var(--font-b); }
.nav .dropdown-menu a:hover { background: var(--bg-soft); }
.btn { display: inline-block; font-family: var(--font-h); font-weight: 600; font-size: 14px; padding: 11px 26px; border-radius: 999px; cursor: pointer; border: 0; transition: all .2s; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, rgba(11,46,91,.94) 0%, rgba(18,63,119,.86) 55%, rgba(27,79,138,.78) 100%), url('../img/hero-bg.jpg') center/cover no-repeat; color: #fff; padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 46px; max-width: 720px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.92); max-width: 640px; margin-bottom: 34px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-h); font-size: 26px; color: #fff; }
.stat span { font-size: 13px; color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: 32px; margin-bottom: 12px; }
.sec-head p { color: var(--text-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { height: 200px; overflow: hidden; background: var(--navy-light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--navy); font-family: var(--font-h); font-weight: 600; font-size: 18px; text-align: center; padding: 20px; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.more { font-size: 13.5px; font-weight: 600; }

/* ---------- Feature list ---------- */
.ticks { list-style: none; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 14.5px; color: var(--text-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

/* ---------- Services ---------- */
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.svc h3 { font-size: 18px; margin-bottom: 10px; }
.svc ul { list-style: none; }
.svc li { font-size: 14px; color: var(--text-2); padding: 6px 0 6px 22px; position: relative; }
.svc li::before { content: "→"; position: absolute; left: 0; color: var(--navy); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; font-family: var(--font-b); background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-2); border-color: transparent; }

/* ---------- Blog ---------- */
.post .card-body h3 { font-size: 16px; }
.tag { display: inline-block; font-size: 12px; color: var(--navy); background: var(--navy-light); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.post-date { font-size: 12.5px; color: var(--text-2); margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 64px 0 0; margin-top: 40px; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.8); font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .brand img { height: 62px; background: #fff; padding: 8px; border-radius: 8px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding: 20px 0; font-size: 13px; text-align: center; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(135deg, #0B2E5B, #1B4F8A); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 720px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* ---------- Table ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy-light); color: var(--navy); font-family: var(--font-h); font-size: 13.5px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { background: none; border: 0; padding: 12px 22px; font-family: var(--font-h); font-weight: 600; font-size: 14.5px; color: var(--text-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: var(--navy); border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- FAQ ---------- */
details { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
summary { font-weight: 600; font-family: var(--font-h); font-size: 15px; color: var(--navy); cursor: pointer; }
details p { font-size: 14.5px; color: var(--text-2); margin-top: 10px; }

/* ---------- Quote form panel ---------- */
.quote-panel { background: var(--navy-light); border-radius: 14px; padding: 44px; }
.quote-panel h2 { margin-bottom: 8px; }
.quote-panel .sub { color: var(--text-2); margin-bottom: 26px; font-size: 14.5px; }

/* ---------- Language switch ---------- */
.lang-switch { position: relative; }
.lang-switch select { font-family: var(--font-h); font-weight: 600; font-size: 13px; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; appearance: auto; }
.lang-switch select:hover { border-color: var(--navy-2); }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .ticks li, html[dir="rtl"] .svc li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .ticks li::before, html[dir="rtl"] .svc li::before { left: auto; right: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar .socials { display: none; }
  .topbar .container { justify-content: center; }
  .hero h1 { font-size: 32px; }
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 6px 0 0 16px; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .quote-panel { padding: 28px; }
}
