/* ============================================================
   organoclays.cn — 有机膨润土中文独立站
   浙江康百欣新材料有限公司 / camp-shinning
   ============================================================ */

/* --- CSS Variables ---------------------------------------- */
:root {
  --navy:         #1B3A6B;
  --navy-dark:    #132B52;
  --navy-light:   #2D5A9B;
  --amber:        #E8A020;
  --amber-dark:   #C98A18;
  --amber-light:  #F5C870;

  --white:        #FFFFFF;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E2E8F0;
  --gray-300:     #CBD5E1;
  --gray-500:     #64748B;
  --gray-700:     #334155;
  --gray-900:     #0F172A;

  --text:         #1E293B;
  --text-light:   #64748B;
  --text-muted:   #94A3B8;

  --success:      #27AE60;
  --error:        #E74C3C;

  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);

  --max-w:        1200px;
  --nav-h:        64px;

  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-en: "Inter", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-cn);
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* --- Typography ------------------------------------------- */
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.3; }
h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.35; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
p  { margin-bottom: 1rem; }
strong { font-weight: 600; }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section-gray { background: var(--gray-50); }

/* --- Header / Nav ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-brand { color: var(--amber); font-size: 1.25rem; font-weight: 700; font-family: var(--font-en); }
.logo-sub   { color: rgba(255,255,255,.75); font-size: 0.7rem; letter-spacing: .04em; }

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 0 1rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s;
}
.nav-link:hover,
.nav-link.active { color: var(--amber); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(var(--nav-h) - 2px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, visibility .18s, transform .18s;
  pointer-events: none;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: .55rem 1.25rem;
  font-size: .875rem;
  color: var(--text);
  transition: background .1s, color .1s;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--navy); }

/* Header right */
.header-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn-cta {
  background: var(--amber);
  color: var(--gray-900);
  font-weight: 600;
  font-size: .875rem;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--amber-dark); transform: translateY(-1px); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--amber);
  font-weight: 900;
  font-size: 1.1rem;
  white-space: nowrap;
  letter-spacing: .5px;
  transition: color .15s;
}
.nav-phone::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8A020'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.6 3.37 2 2 0 0 1 3.57 1h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L7.91 8.54a16 16 0 0 0 6 6l.91-.91a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}
.nav-phone:hover { color: var(--amber-dark); }

/* Email inline in header */
.header-email {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 3rem;
}
.header-email:hover { color: var(--amber-dark); }
@media (max-width: 900px) {
  .header-email { display: none; }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 32px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  overflow-y: auto;
  z-index: 999;
  padding: 1rem 1.25rem 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 500;
}
.mobile-nav-toggle .chevron {
  width: 16px; height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.mobile-nav-toggle.expanded .chevron { transform: rotate(-135deg); }
.mobile-nav-sub { display: none; padding-bottom: .5rem; }
.mobile-nav-sub.open { display: block; }
.mobile-nav-sub a {
  display: block;
  padding: .6rem 1rem;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
}
.mobile-nav-sub a:hover { color: var(--amber-light); }
.mobile-nav-cta {
  display: block;
  margin-top: 1.5rem;
  background: var(--amber);
  color: var(--gray-900);
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  padding: .875rem;
  border-radius: var(--radius);
}

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  transition: background .15s, color .15s, transform .1s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--gray-900); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }

/* --- Hero ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4a8a 60%, #0d2545 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  font-family: var(--font-en);
  display: block;
}
.hero-stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  display: block;
  margin-top: .2rem;
}

/* --- Trust bar -------------------------------------------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-light);
  font-weight: 500;
}
.trust-item svg { color: var(--navy); flex-shrink: 0; }

/* --- Cards ------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
}
.card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.card p  { font-size: .875rem; color: var(--text-light); margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  margin-top: 1rem;
}
.card-link:hover { color: var(--navy-light); text-decoration: underline; }

/* --- Product card ----------------------------------------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 20px;
  background: rgba(27,58,107,.08);
  color: var(--navy);
  margin-bottom: .75rem;
  font-family: var(--font-en);
}
.product-card h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.product-card-desc { font-size: .875rem; color: var(--text-light); margin-bottom: 1rem; }
.product-card-spec {
  font-size: .8125rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.product-card-spec li {
  padding: .25rem 0;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}
.product-card-spec li::before {
  content: "•";
  color: var(--amber);
  flex-shrink: 0;
  margin-top: .05rem;
}
.product-card-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* --- Data table ------------------------------------------- */
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
}
.data-table td {
  padding: .625rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: .875rem;
}
.data-table tr:nth-child(even) td { background: var(--gray-50); }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }

/* --- FAQ accordion ---------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  background: var(--white);
  transition: background .1s;
  width: 100%;
  text-align: left;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q.open { color: var(--navy); background: var(--gray-50); }
.faq-icon {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--text-muted);
}
.faq-q.open .faq-icon { transform: rotate(180deg); color: var(--navy); }
.faq-a {
  display: none;
  padding: 0 1.25rem 1.125rem;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.75;
}
.faq-a.open { display: block; }

/* --- CTA block -------------------------------------------- */
.cta-block {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-block h2, .cta-block h3 { color: var(--white); margin-bottom: .75rem; }
.cta-block p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }
.cta-block-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-block .contact-note {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}
.cta-block .contact-note a { color: var(--amber-light); text-decoration: underline; }

/* --- Section header --------------------------------------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-light); font-size: 1.0625rem; margin-bottom: 0; }

/* --- Highlight boxes -------------------------------------- */
.highlight-box {
  background: var(--gray-50);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { margin-bottom: 0; }
.info-box {
  background: rgba(27,58,107,.06);
  border: 1px solid rgba(27,58,107,.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { margin-bottom: 0; }

/* --- Page hero (inner pages) ------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4a8a 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.page-hero .breadcrumb { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb a:hover { color: var(--amber-light); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,.4); }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero-sub { font-size: 1.0625rem; color: rgba(255,255,255,.8); max-width: 680px; margin: 0; }

/* --- Content layout --------------------------------------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.content-main {}
.content-sidebar {}

/* Table of contents */
.toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.toc-title { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.toc-list { display: flex; flex-direction: column; gap: .35rem; }
.toc-list a {
  font-size: .8125rem;
  color: var(--text-light);
  padding: .25rem 0;
  border-left: 2px solid transparent;
  padding-left: .75rem;
  transition: color .1s, border-color .1s;
  display: block;
}
.toc-list a:hover,
.toc-list a.active { color: var(--navy); border-left-color: var(--navy); }

/* --- Contact form ----------------------------------------- */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .875rem; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .6875rem .875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-cn);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8125rem; color: var(--text-muted); }
.form-submit { align-self: flex-start; }
.form-success {
  display: none;
  background: rgba(39,174,96,.08);
  border: 1px solid rgba(39,174,96,.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #166534;
  font-weight: 500;
}

/* --- Steps ------------------------------------------------ */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.step-body {}
.step-body h4 { margin-bottom: .35rem; }
.step-body p { margin-bottom: 0; font-size: .9rem; color: var(--text-light); }

/* --- Features grid ---------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(27,58,107,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.feature-body h4 { font-size: .9375rem; margin-bottom: .3rem; }
.feature-body p  { font-size: .875rem; color: var(--text-light); margin-bottom: 0; }

/* --- Stats ------------------------------------------------ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item {}
.stat-num { font-size: 2rem; font-weight: 700; color: var(--navy); font-family: var(--font-en); display: block; }
.stat-label { font-size: .875rem; color: var(--text-light); display: block; margin-top: .25rem; }

/* --- Tags ------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-700);
}
.tag-navy { background: rgba(27,58,107,.1); color: var(--navy); }
.tag-amber { background: rgba(232,160,32,.12); color: #925b00; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  padding-bottom: 3rem;
}
.footer-col-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: var(--amber-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--amber-light); }

/* --- Utility ---------------------------------------------- */
.text-center { text-align: center; }
.text-amber  { color: var(--amber); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-6  { margin-bottom: 3rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .main-nav  { display: none; }
  .hamburger { display: flex; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
}
@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3rem 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-block-actions { flex-direction: column; align-items: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Footer 获取报价 button (bottom-right of footer-bottom)
   ============================================================ */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-quote-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1500;
  background: var(--amber);
  color: var(--gray-900);
  font-weight: 800;
  font-size: 1rem;
  padding: .75rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  transition: background .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.footer-quote-btn:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* ============================================================
   获取报价 Modal
   ============================================================ */
.quote-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.quote-modal-overlay.open { display: flex; }
.quote-modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-height: 90vh;
  overflow-y: auto;
}
.quote-modal-box h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.quote-modal-sub {
  color: var(--text-muted);
  font-size: .875rem;
  margin-bottom: 1.5rem;
}
.quote-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.quote-modal-close:hover { background: var(--gray-200); color: var(--text); }

/* ============================================================
   Right-side floating contact bar
   ============================================================ */
.float-contact-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  border-radius: 10px 0 0 10px;
  overflow: visible;
  box-shadow: -3px 0 16px rgba(0,0,0,.15);
}
.float-contact-bar .fcb-label {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: .8rem;
  font-weight: 700;
  padding: 14px 10px;
  cursor: pointer;
  border-radius: 10px 0 0 0;
  transition: background .15s;
  line-height: 1;
  letter-spacing: 3px;
}
.float-contact-bar .fcb-label:hover { background: var(--navy-light); }
.float-contact-bar .fcb-item {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter .15s;
}
.float-contact-bar .fcb-item:hover { filter: brightness(1.1); }
.float-contact-bar .fcb-item.fcb-wechat { background: #07C160; }
.float-contact-bar .fcb-item.fcb-phone  { background: #1DB954; }
.float-contact-bar .fcb-item.fcb-email  {
  background: #E74C3C;
  border-radius: 0 0 0 10px;
}
.float-contact-bar .fcb-item svg { width: 22px; height: 22px; fill: #fff; }

/* WeChat popup panel */
.fcb-wechat-popup {
  display: none;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  padding: 16px;
  text-align: center;
  min-width: 170px;
  z-index: 1001;
}
.fcb-wechat-popup img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.fcb-wechat-popup .fcb-popup-label {
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}
.fcb-wechat-popup .fcb-popup-phone {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}
.fcb-wechat-popup::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 3px -3px 6px rgba(0,0,0,.06);
}
.fcb-item.fcb-wechat:hover .fcb-wechat-popup,
.fcb-item.fcb-wechat.open .fcb-wechat-popup {
  display: block;
}

/* Phone popup panel */
.fcb-phone-popup {
  display: none;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  padding: 14px 18px;
  text-align: center;
  min-width: 190px;
  z-index: 1001;
  white-space: nowrap;
}
.fcb-phone-popup .fcb-popup-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.fcb-phone-popup a.fcb-popup-phone {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1DB954;
  text-decoration: none;
}
.fcb-phone-popup a.fcb-popup-phone:hover { text-decoration: underline; }
.fcb-phone-popup::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 3px -3px 6px rgba(0,0,0,.06);
}
.fcb-item.fcb-phone:hover .fcb-phone-popup,
.fcb-item.fcb-phone.open .fcb-phone-popup {
  display: block;
}
@media (max-width: 600px) {
  .float-contact-bar { display: none; }
}

/* --- Page-hero WeChat QR -------------------------------- */
.page-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.page-hero-left { flex: 1; min-width: 0; }
.page-hero-right { flex-shrink: 0; }
.hero-wechat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 14px 14px 10px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-wechat-card img {
  display: block;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.15);
}
.hero-wechat-card p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
}
@media (max-width: 680px) {
  .page-hero-right { display: none; }
  .page-hero-flex { display: block; }
}

/* --- Homepage hero two-column layout -------------------- */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.hero-text { flex: 1; min-width: 0; }
.hero-qr { flex-shrink: 0; }
.wechat-qr-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 20px 20px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.wechat-qr-card img {
  display: block;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,.15);
}
.wechat-qr-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1px;
}
@media (max-width: 700px) {
  .hero-inner { flex-direction: column; gap: 1.5rem; }
  .hero-qr { display: none; }
}
