/*
Theme Name: ZG Buying Agent
Theme URI: https://www.zgsourcingagent.com/
Author: ZG Sourcing
Description: Single-page WordPress theme for ZG private China buying agent services.
Version: 1.2.0
Text Domain: zg-buying-agent
*/

:root {
  --navy: #071e46;
  --blue: #075edb;
  --light-blue: #eaf3ff;
  --green: #09a651;
  --orange: #ff5b0a;
  --teal: #00a79d;
  --text: #102447;
  --muted: #65738e;
  --line: #dde6f2;
  --bg: #f8fbff;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(7, 30, 70, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
.page { overflow: hidden; }
.section-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.logo {
  width: 315px;
  max-width: 76vw;
  height: auto;
  display: block;
  margin-bottom: 28px;
}
.hero {
  min-height: 590px;
  padding: 38px 0 34px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 40px;
  align-items: center;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -2.6px;
  color: var(--navy);
}
h1 span { color: var(--blue); }
.hero-subtitle {
  margin: 28px 0 18px;
  font-size: 22px;
  line-height: 1.5;
  color: #53627c;
  max-width: 680px;
}
.hero-check {
  color: var(--green);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 28px;
}
.hero-check::before { content: "✓"; margin-right: 10px; }
.hero-buttons { display: flex; gap: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 236px;
  min-height: 72px;
  border-radius: 10px;
  color: white;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(7,30,70,.16); }
.btn-whatsapp { background: linear-gradient(180deg, #14c663, #079846); }
.btn-whatsapp::before { content: "☏"; font-size: 25px; }
.btn-quote { background: linear-gradient(180deg, #ff701f, #f04b00); }
.btn-quote::before { content: "▤"; font-size: 25px; }
.hero-right {
  position: relative;
  min-height: 530px;
}
.phone-card {
  position: absolute;
  left: 8%;
  top: 10px;
  z-index: 5;
  width: 300px;
  min-height: 490px;
  padding: 20px 18px;
  border: 12px solid #121923;
  border-radius: 42px;
  background: #f9fbfe;
  box-shadow: 0 28px 45px rgba(7,30,70,.20);
  transform: rotate(-4deg);
}
.phone-top { display: flex; flex-direction: column; align-items: center; font-size: 13px; color: var(--navy); margin-bottom: 14px; }
.phone-top small { color: var(--green); font-size: 11px; }
.chat {
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 9px 0;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.chat.green { background: #dff7d9; margin-left: auto; }
.chat.white { background: white; }
.chat.small { max-width: 180px; }
.product-thumb {
  width: 145px;
  height: 125px;
  background: linear-gradient(145deg, #111, #303030);
  color: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 8px 0 8px auto;
}
.globe {
  position: absolute;
  width: 310px;
  height: 310px;
  right: 4%;
  top: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, #d9efff, #5a9dde 52%, #1d62b6);
  opacity: .95;
  box-shadow: inset -35px -35px 55px rgba(7,30,70,.18);
}
.globe::before, .globe::after {
  content: "";
  position: absolute;
  border: 3px dashed rgba(7,94,219,.55);
  border-radius: 50%;
}
.globe::before { inset: 35px 10px; transform: rotate(28deg); }
.globe::after { inset: 80px -30px; transform: rotate(-18deg); }
.plane {
  position: absolute;
  right: 5%;
  top: 75px;
  z-index: 4;
  font-size: 88px;
  color: white;
  text-shadow: 0 10px 20px rgba(7,30,70,.18);
  transform: rotate(12deg);
}
.box {
  position: absolute;
  z-index: 6;
  background: linear-gradient(145deg, #d3923f, #b9792e);
  border: 3px solid #a96c29;
  box-shadow: 0 18px 25px rgba(7,30,70,.18);
}
.box::before { content:""; position:absolute; left:50%; top:0; width:3px; height:100%; background:rgba(255,255,255,.25); }
.box-one { width: 150px; height: 130px; right: 19%; bottom: 60px; }
.box-two { width: 115px; height: 95px; right: 2%; bottom: 56px; }
.box-three { width: 90px; height: 75px; right: 3%; bottom: 165px; }
.card-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  display: grid;
  overflow: hidden;
}
.card-row.four { grid-template-columns: repeat(4, 1fr); }
.mini-card {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.mini-card:last-child { border-right: 0; }
.icon, .step-icon, .price-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  background: var(--light-blue);
  color: var(--blue);
}
.icon.green { background: #e2f8ee; color: var(--green); }
.icon.teal { background: #e4fbf8; color: var(--teal); }
h2 {
  margin: 0 0 16px;
  font-size: 32px;
  color: var(--navy);
  text-align: center;
  letter-spacing: -.6px;
}
h3 { margin: 0 0 10px; color: var(--navy); }
p { color: var(--muted); }
.steps-section, .pricing-section, .why-section, .quote-section, .faq-section { padding-top: 34px; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.step-card, .price-card {
  min-height: 190px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  background: white;
  box-shadow: 0 8px 22px rgba(7,30,70,.05);
}
.arrow { color: var(--blue); font-size: 34px; font-weight: 900; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { position: relative; min-height: 280px; }
.price-card.popular { border: 2px solid var(--orange); box-shadow: 0 14px 35px rgba(255,91,10,.12); }
.tag { position: absolute; right: 14px; top: 14px; background: var(--orange); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.price { font-size: 54px; line-height: 1; font-weight: 900; margin: 14px 0 8px; }
.green-text { color: var(--green); }
.orange-text { color: var(--orange); }
.blue-text { color: var(--blue); }
.green-bg { background: #def7eb; }
.orange-bg { background: #fff0e6; }
.blue-bg { background: #eaf3ff; }
.note { text-align: center; font-weight: 600; color: #53627c; }
.note::before { content: "♡"; color: var(--green); margin-right: 8px; }
.why-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 22px rgba(7,30,70,.05);
}
.why-row div { padding: 24px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.why-row div:last-child { border-right: 0; }
.why-row span { font-size: 38px; }
.quote-section {
  display: grid;
  grid-template-columns: .95fr 1.45fr;
  gap: 42px;
  align-items: center;
  margin-top: 34px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: white;
}
.quote-info h2 { text-align: left; font-size: 46px; }
.quote-info p { font-size: 20px; line-height: 1.45; }
ul { list-style: none; padding: 0; margin: 24px 0 0; }
li { position: relative; margin: 16px 0; padding-left: 34px; font-weight: 800; color: var(--navy); line-height: 1.35; }
li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; border-radius: 50%; background: #e2f8ee; color: var(--green); display: grid; place-items: center; font-size: 14px; }
.quote-form label { display: block; margin-bottom: 18px; font-weight: 800; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  padding: 17px 18px;
  font: inherit;
  color: var(--navy);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,94,219,.10); }
textarea { resize: vertical; min-height: 130px; }
.submit-btn {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #096be8, #0752c6);
  color: #fff;
  min-height: 62px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.form-status { min-height: 20px; margin: 12px 0 0; font-weight: 700; }
.faq-section details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-section summary {
  cursor: pointer;
  padding: 16px 22px;
  font-weight: 900;
  color: var(--navy);
}
.faq-section details p { margin: 0; padding: 0 22px 18px; }
.final-cta {
  margin-top: 28px;
  padding: 28px 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #09275b, #02469d);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}
.final-cta h2 { color: #fff; text-align: left; margin-bottom: 6px; }
.final-cta p { color: rgba(255,255,255,.85); margin: 0; }
footer { text-align: center; color: #8a94a7; padding: 28px 0 40px; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 470px; }
  .card-row.four, .pricing-grid, .why-row, .quote-section { grid-template-columns: 1fr; }
  .mini-card, .why-row div { border-right: 0; border-bottom: 1px solid var(--line); }
  .mini-card:last-child, .why-row div:last-child { border-bottom: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); text-align: center; }
  .quote-section { padding: 30px 22px; }
  .quote-info h2 { font-size: 38px; }
}
@media (max-width: 620px) {
  .section-wrap { width: min(100% - 28px, 1180px); }
  .logo { width: 250px; }
  h1 { letter-spacing: -1.2px; }
  .hero-subtitle, .hero-check { font-size: 18px; }
  .btn { min-width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-right { min-height: 390px; }
  .phone-card { width: 230px; min-height: 380px; border-width: 9px; left: 0; transform: rotate(-3deg) scale(.92); transform-origin: top left; }
  .globe { width: 210px; height: 210px; right: -18px; top: 54px; }
  .plane { font-size: 58px; right: 12px; }
  .box-one { width: 105px; height: 90px; right: 80px; bottom: 20px; }
  .box-two { width: 82px; height: 70px; right: -4px; bottom: 22px; }
  .box-three { width: 70px; height: 55px; right: 4px; bottom: 100px; }
  .final-cta { flex-direction: column; align-items: stretch; padding: 24px; }
}
