/* ============================================================
   Vohon Petrochemical — lyzhisheng.cn B2B Export Site
   Design system: deep blue + orange accent, industrial clean
   ============================================================ */

:root {
  --primary: #0f3a5f;
  --primary-dark: #0a2a47;
  --primary-light: #1b4f7a;
  --accent: #f97316;
  --accent-dark: #ea6a0b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(15, 58, 95, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 58, 95, 0.14);
  --container: 1200px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #eef2f7; color: var(--primary); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 44px; height: 44px; }
.logo-text { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.2; }
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: #9fb3c8; letter-spacing: 0.5px; }

.main-nav ul { display: flex; list-style: none; gap: 6px; }
.main-nav a {
  color: #d4e0ec;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.main-nav a.active { color: var(--accent); background: rgba(249,115,22,0.12); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #155e8a 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.25) 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: #c9d8e8;
  margin-bottom: 34px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(4px);
}
.stat-card .num { font-size: 34px; font-weight: 800; color: var(--accent); }
.stat-card .lbl { color: #c9d8e8; font-size: 14px; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--primary-dark); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3dee9; }
.feature-card .icon { font-size: 40px; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 30px;
  font-weight: 800;
  color: rgba(15, 58, 95, 0.12);
  position: absolute;
  top: 16px;
  right: 20px;
}
.step h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 10px; }
.cta-banner p { color: #c9d8e8; font-size: 16px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .thumb { height: 210px; background: linear-gradient(135deg, #e8eef5, #dbe6f2); display: flex; align-items: center; justify-content: center; }
.product-card .thumb svg, .product-card .thumb img { max-height: 170px; }
.product-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.product-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.product-card .btn { align-self: flex-start; padding: 9px 22px; font-size: 14px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; }
table.spec th, table.spec td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
table.spec th { background: #f1f5f9; color: var(--primary-dark); font-weight: 600; white-space: nowrap; }
table.spec tr:last-child td { border-bottom: none; }
table.spec td:first-child { font-weight: 600; color: var(--primary-dark); white-space: nowrap; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; color: var(--primary-dark); }
.form-group .req { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
  background: #fff;
  color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.12); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-hint { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-card h3 { color: var(--primary-dark); margin-bottom: 22px; font-size: 20px; }
.info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-row .ic { font-size: 22px; line-height: 1.4; }
.info-row .lbl { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; }
.info-row .val { font-size: 15.5px; font-weight: 500; color: var(--text); }
.info-row .val a { color: var(--text); }
.info-row .val a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #a9bdd2; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #a9bdd2; font-size: 14.5px; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { font-size: 14.5px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #eef2f7; padding: 14px 0; font-size: 14px; }
.breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #94a3b8; }
.breadcrumb .cur { color: var(--primary); font-weight: 600; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 0;
}
.page-hero h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: #c9d8e8; font-size: 17px; max-width: 720px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { color: var(--primary-dark); font-size: 30px; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about-list { list-style: none; margin-top: 10px; }
.about-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15.5px; }
.about-list li strong { color: var(--primary-dark); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.faq-q { padding: 20px 26px; font-weight: 600; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq-q .arrow { transition: transform 0.3s; color: var(--accent); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 26px 22px; color: var(--text-muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Alert ---------- */
.alert { padding: 16px 22px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; }
.lead { font-size: 17px; color: var(--text-muted); }
.gap-2 { gap: 20px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 14px; }
  .header-cta .btn { display: none; }
  .hero { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-banner { padding: 36px 28px; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ===== Floating lead buttons (Email + WhatsApp) ===== */
.lead-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.lead-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  color: #fff;
}
.lead-wa { background: #25d366; }
.lead-wa:hover { background: #1fb959; }
.lead-mail { background: #0f3a5f; }
.lead-mail:hover { background: #0a2c49; }
@media (max-width: 640px) {
  .lead-float {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }
  .lead-float-btn {
    padding: 11px 15px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lead-float-btn { transition: none; }
}
