/*
Theme Name: Dongguan Direct Sourcing (Prototype)
Description: Prototype styles for a China sourcing + Southeast Asia door-to-door logistics website.
Version: 0.1
*/

:root {
  --navy: #0A2540;
  --navy-2: #123A5C;
  --navy-3: #1B4F72;
  --amber: #F2994A;
  --amber-dark: #DE7C2C;
  --ink: #16283B;
  --muted: #5B6B7C;
  --line: #E3E9F0;
  --bg: #F5F8FB;
  --white: #FFFFFF;
  --teal: #0F8B8D;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--maxw), 92%); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--amber); color: #231404; box-shadow: 0 8px 20px rgba(242,153,74,.28); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }

/* Announcement */
.announcement {
  background: var(--navy);
  color: #CFE0EE;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.announcement b { color: var(--amber); font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy);
  display: grid; place-items: center;
  color: var(--amber);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text strong { display: block; font-size: 15px; color: var(--navy); letter-spacing: -.2px; line-height: 1.15; }
.logo-text span { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { color: var(--amber-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 62%, var(--navy-3) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 76px 0 86px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,153,74,.20), transparent 68%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
.hero h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--amber); }
.hero-lead {
  font-size: 17px;
  color: #CBDBEA;
  max-width: 600px;
  margin: 0 0 28px;
}
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-point { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #D5E3EF; }
.hero-point svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* Hero visual card */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.hero-card-head h3 { margin: 0; font-size: 16px; color: var(--navy); }
.hero-card-head p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--teal);
  background: #E7F6F6; padding: 5px 10px; border-radius: 20px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.route-map { width: 100%; height: auto; display: block; margin: 4px 0 12px; }
.hero-card-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.hero-card-foot div { text-align: center; }
.hero-card-foot strong { display: block; font-size: 14px; color: var(--navy); }
.hero-card-foot span { font-size: 10.5px; color: var(--muted); }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.stat { text-align: center; padding: 0 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--navy); letter-spacing: -.8px; line-height: 1.1; }
.stat-num .plus { color: var(--amber); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Section common */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--amber-dark);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -1px; margin: 0 0 14px; color: var(--navy); }
.section-sub { font-size: 16px; color: var(--muted); margin: 0; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFDCE8; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: #EAF1F7; color: var(--navy-3);
  display: grid; place-items: center;
}
.service-icon svg { width: 26px; height: 26px; }
.service-num { font-size: 34px; font-weight: 700; color: #EDF2F7; line-height: 1; }
.service-card h3 { font-size: 20px; margin: 0 0 10px; color: var(--navy); letter-spacing: -.3px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tags span { font-size: 11.5px; color: var(--navy-3); background: #EFF5FA; padding: 5px 11px; border-radius: 6px; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 13.5px; font-weight: 600; color: var(--amber-dark); }
.service-link svg { width: 15px; height: 15px; }

/* Sourcing category matrix */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-item {
  display: flex; align-items: center; gap: 13px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 11px; padding: 17px 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cat-item:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: var(--shadow); }
.cat-ico { width: 40px; height: 40px; border-radius: 9px; background: #EAF1F7; color: var(--navy-3); display: grid; place-items: center; flex: none; }
.cat-ico svg { width: 21px; height: 21px; }
.cat-item strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.3; }
.cat-item span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cat-more { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.cat-more a { color: var(--amber-dark); font-weight: 600; }

/* Southeast Asia lanes */
.lane-wrap { background: var(--navy); color: var(--white); }
.lane-wrap .section-title { color: var(--white); }
.lane-wrap .section-sub { color: #B9CBDD; }
.lane-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lane-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: background .2s ease, transform .2s ease;
}
.lane-card:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }
.lane-badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; letter-spacing: .5px;
  background: var(--amber); color: #2A1806;
  margin-bottom: 18px;
}
.lane-card h4 { font-size: 18px; margin: 0 0 6px; }
.lane-card p { font-size: 13px; color: #B9CBDD; margin: 0 0 14px; min-height: 58px; }
.lane-meta { font-size: 12px; color: var(--amber); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.lane-meta svg { width: 14px; height: 14px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-visual {
  background: linear-gradient(145deg, #E9F1F7, #F7FAFC);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}
.why-visual .big-label { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--navy-3); text-transform: uppercase; margin-bottom: 18px; }
.why-list-visual { display: grid; gap: 12px; }
.why-vis-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 11px; padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(10,37,64,.05);
}
.why-vis-item .vi-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: var(--amber); display: grid; place-items: center; flex: none; }
.why-vis-item .vi-icon svg { width: 20px; height: 20px; }
.why-vis-item strong { display: block; font-size: 14px; color: var(--navy); }
.why-vis-item span { font-size: 12px; color: var(--muted); }
.why-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.9px; margin: 0 0 18px; color: var(--navy); }
.why-copy > p { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }
.why-item { display: flex; gap: 15px; margin-bottom: 22px; }
.why-item .check { width: 26px; height: 26px; border-radius: 50%; background: #E7F6F6; color: var(--teal); display: grid; place-items: center; flex: none; }
.why-item .check svg { width: 15px; height: 15px; }
.why-item strong { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 3px; }
.why-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-cover { height: 150px; display: grid; place-items: center; position: relative; }
.case-cover.c1 { background: linear-gradient(135deg, #123A5C, #1B4F72); }
.case-cover.c2 { background: linear-gradient(135deg, #0F8B8D, #136F70); }
.case-cover.c3 { background: linear-gradient(135deg, #DE7C2C, #F2994A); }
.case-cover svg { width: 54px; height: 54px; color: rgba(255,255,255,.9); }
.case-tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--navy); padding: 5px 10px; border-radius: 5px; }
.case-body { padding: 22px; }
.case-body h3 { font-size: 17px; margin: 0 0 9px; color: var(--navy); line-height: 1.4; }
.case-body p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.case-result { font-size: 12.5px; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.case-result svg { width: 14px; height: 14px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 25px; left: 62%; width: 76%; height: 2px;
  background: repeating-linear-gradient(90deg, #C8D6E2 0 6px, transparent 6px 12px);
}
.step-num {
  width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--navy); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 17px;
  position: relative; z-index: 2;
}
.step h4 { font-size: 14.5px; margin: 0 0 6px; color: var(--navy); }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Insights */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-thumb { height: 140px; background: linear-gradient(135deg, #EAF1F7, #DCE9F3); display: grid; place-items: center; }
.article-thumb svg { width: 44px; height: 44px; color: var(--navy-3); }
.article-body { padding: 20px; }
.article-cat { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--amber-dark); }
.article-body h3 { font-size: 16px; line-height: 1.45; margin: 8px 0 12px; color: var(--navy); }
.article-body h3 a:hover { color: var(--amber-dark); }
.article-meta { font-size: 12px; color: var(--muted); }

/* CTA + form */
.cta { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.8px; margin: 0 0 16px; }
.cta-copy p { color: #BDCFDF; font-size: 15.5px; margin: 0 0 24px; }
.cta-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.cta-copy li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #D8E5F0; }
.cta-copy li svg { width: 17px; height: 17px; color: var(--amber); flex: none; }
.quote-form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.quote-form h3 { margin: 0 0 4px; color: var(--navy); font-size: 20px; }
.quote-form .form-sub { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 12px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #FBFCFE; outline: none; transition: border-color .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy-3); }
.form-group textarea { resize: vertical; min-height: 78px; }
.quote-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Footer */
.site-footer { background: #071B2E; color: #9FB3C6; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p { font-size: 13.5px; margin: 16px 0 0; max-width: 300px; }
.footer-col h4 { font-size: 14px; color: #fff; margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; }
.footer-col a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 12px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--amber); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; font-size: 12.5px; gap: 16px; flex-wrap: wrap; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .why-grid, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .lane-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav, .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 6% 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 56px 0 64px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .service-grid, .case-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .lane-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero-card-foot { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}


/* ---- Readability boost ---- */
body { font-size: 17px; line-height: 1.72; }
.main-nav a { font-size: 15px; }
.btn { font-size: 16px; }
.section-sub { font-size: 17.5px; }
.hero-point { font-size: 15px; }
.stat-label { font-size: 14.5px; }
.service-card p { font-size: 16px; }
.service-card .service-link { font-size: 15px; }
.service-tags span { font-size: 13px; }
.cat-item strong { font-size: 15.5px; }
.cat-item span span { font-size: 13px; }
.cat-more { font-size: 15px; }
.lane-card p { font-size: 14.5px; }
.lane-meta { font-size: 13.5px; }
.why-copy > p { font-size: 17px; }
.why-item strong { font-size: 17px; }
.why-item p { font-size: 15.5px; }
.why-vis-item strong { font-size: 15.5px; }
.why-vis-item span { font-size: 13.5px; }
.case-body p { font-size: 15.5px; }
.case-body h3 { font-size: 18.5px; }
.case-result { font-size: 14px; }
.step h4 { font-size: 16px; }
.step p { font-size: 14px; }
.article-body p { font-size: 15.5px; }
.article-body h3 { font-size: 18px; }
.footer-col a, .footer-contact li { font-size: 15px; }
.footer-brand p { font-size: 15px; }
.footer-bottom { font-size: 14px; }
.announcement { font-size: 14.5px; }
/* ---- /Readability boost ---- */
