/* =========================================================
   Hengrui Watch Hands Components Co., Ltd.
   File: assets/css/style.css
   ========================================================= */

/* ------------------------------
   CSS Reset
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* ------------------------------
   Root Variables
------------------------------ */
:root {
  --color-primary: #1f2937;
  --color-primary-soft: #374151;
  --color-bg: #ffffff;
  --color-bg-muted: #f9fafb;
  --color-border: #e5e7eb;
  --color-line: #d1d5db;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-success: #16a34a;
  --color-white: #ffffff;
  --color-black: #000000;

  --shadow-sm: 0 6px 18px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 18px 50px rgba(17, 24, 39, 0.12);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --container: 1200px;
  --header-height: 82px;

  --transition: all 0.28s ease;
}

/* ------------------------------
   Base
------------------------------ */
body {
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

main {
  overflow: hidden;
}

section {
  position: relative;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.container-wide {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-lg {
  padding: 110px 0;
}

.bg-light {
  background: var(--color-bg-muted);
}

.bg-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.bg-dark .section-tag,
.bg-dark .section-heading h2,
.bg-dark .section-heading p,
.bg-dark .stat-card,
.bg-dark .timeline-item,
.bg-dark .contact-card,
.bg-dark .gallery-card,
.bg-dark .metric-card {
  color: var(--color-white);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.section-tag::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-accent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-heading h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-heading p,
.lead {
  font-size: 1.06rem;
  color: var(--color-text-muted);
}

.bg-dark .lead,
.bg-dark .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

strong {
  color: var(--color-text);
}

.text-white,
.text-white p,
.text-white li {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.muted {
  color: var(--color-text-muted);
}

.accent {
  color: var(--color-accent);
}

/* ------------------------------
   Buttons
------------------------------ */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(249, 115, 22, 0.08);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover,
.btn-white:focus-visible {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--color-accent);
  gap: 14px;
}

/* ------------------------------
   Header / Navigation
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.site-header.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.logo-mark::after {
  inset: 16px;
  border-width: 3px;
  background: var(--color-accent);
  border-color: transparent;
}

.logo-text {
  min-width: 0;
}

.logo-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.logo-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--color-white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background: rgba(249, 115, 22, 0.08);
}

.nav-cta {
  margin-left: 16px;
}

/* ------------------------------
   Hero / Page Banner
------------------------------ */
.hero {
  padding: 78px 0 84px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 26%),
    linear-gradient(135deg, #111827 0%, #1f2937 48%, #374151 100%);
  color: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero-content p {
  max-width: 620px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta strong {
  display: block;
  color: var(--color-white);
  font-size: 1.1rem;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.page-banner {
  padding: 74px 0 66px;
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.98), rgba(31, 41, 55, 0.92)),
    var(--color-primary);
  color: var(--color-white);
}

.page-banner .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.page-banner p {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ------------------------------
   Cards
------------------------------ */
.card-grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.card-dark p,
.card-dark li,
.card-dark span {
  color: rgba(255, 255, 255, 0.78);
}

.icon-card .icon-box,
.feature-card .icon-box,
.service-card .icon-box {
  margin-bottom: 18px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.card h3,
.card h4 {
  margin-bottom: 12px;
}

.card p + .link-arrow,
.card p + .btn-group {
  margin-top: 20px;
}

.stat-card,
.metric-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stat-number,
.metric-number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stat-label,
.metric-label {
  color: var(--color-text-muted);
  font-weight: 600;
}

.bg-dark .stat-card,
.bg-dark .metric-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.bg-dark .stat-number,
.bg-dark .metric-number {
  color: var(--color-white);
}

.list-card ul,
.info-list {
  display: grid;
  gap: 12px;
}

.info-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-muted);
}

.info-list li::before,
.check-list li::before {
  content: "✔";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ------------------------------
   Product Cards
------------------------------ */
.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card .product-body {
  padding: 24px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.product-meta span {
  padding: 6px 10px;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.product-specs {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.94rem;
}

.product-specs li span:first-child {
  color: var(--color-text-muted);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-box {
  display: block;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-box:hover,
.category-box.active {
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-box h3 {
  margin-bottom: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(249, 115, 22, 0.06);
}

/* ------------------------------
   Split / Media Layouts
------------------------------ */
.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.split-layout.reverse .media-col {
  order: -1;
}

.content-stack {
  display: grid;
  gap: 22px;
}

.media-panel,
.content-panel,
.info-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0px;
  box-shadow: var(--shadow-sm);
}

.bg-dark .media-panel,
.bg-dark .content-panel,
.bg-dark .info-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

/* ------------------------------
   Image Placeholder
------------------------------ */
.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #d1d5db, #e5e7eb);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.image-frame::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 62.5%;
}

.image-frame.ratio-1-1::before {
  padding-top: 100%;
}

.image-frame.ratio-4-3::before {
  padding-top: 75%;
}

.image-frame.ratio-16-9::before {
  padding-top: 56.25%;
}

.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame .image-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(31, 41, 55, 0.78);
  color: var(--color-white);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------
   Timeline / Process
------------------------------ */
.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-accent);
  font-size: 1.15rem;
  font-weight: 800;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  position: relative;
  padding: 24px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-card .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ------------------------------
   Tables
------------------------------ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.data-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--color-bg-muted);
}

.compare-table th:first-child,
.compare-table td:first-child {
  min-width: 220px;
  font-weight: 700;
}

/* ------------------------------
   Forms
------------------------------ */
.form-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--color-primary);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition);
}

.textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.form-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
}

/* ------------------------------
   FAQ / Accordion
------------------------------ */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-weight: 700;
  color: var(--color-primary);
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-accent);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ------------------------------
   Blog
------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-card .blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.blog-meta span {
  position: relative;
}

.blog-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-line);
  transform: translateY(-50%);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}

.article-content {
  min-width: 0;
}

.article-content .hero-image {
  margin-bottom: 28px;
}

.article-content h2,
.article-content h3 {
  margin: 28px 0 14px;
}

.article-content p,
.article-content li {
  color: var(--color-text-muted);
}

.article-content ul,
.article-content ol {
  margin: 16px 0 16px 20px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-muted);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.sidebar-card + .sidebar-card {
  margin-top: 20px;
}

/* ------------------------------
   Contact
------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  margin-bottom: 12px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------
   CTA Banner
------------------------------ */
.cta-banner {
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.84);
}

.cta-banner .cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-top {
  padding: 72px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta {
  margin-bottom: 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.85fr 1fr;
  gap: 28px;
}

.footer-brand p,
.footer-links a,
.footer-contact li,
.footer-badges li {
  color: rgba(255, 255, 255, 0.76);
}

.footer-title {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-white);
}

.footer-links,
.footer-contact,
.footer-badges {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 18px 0;
}

.footer-bottom-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

/* ------------------------------
   Utility
------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.logo-cloud .card {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}

.dual-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.note-box {
  padding: 18px 20px;
  border-left: 4px solid var(--color-accent);
  background: rgba(249, 115, 22, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 28px 0;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1199px) {
  .nav-link {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .article-layout,
  .footer-grid,
  .cta-banner .cta-grid {
    grid-template-columns: 1fr;
  }

  .category-nav,
  .process-flow,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 76px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0 16px;
    border: 1px solid var(--color-border);
  }

  .nav-cta {
    margin: 14px 0 0;
  }

  .hero {
    padding: 62px 0 70px;
  }

  .grid-3,
  .blog-grid,
  .gallery-grid,
  .form-grid.cols-2,
  .dual-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 767px) {
  .container,
  .container-wide {
    width: min(100% - 28px, var(--container));
  }

  .section,
  .section-lg {
    padding: 68px 0;
  }

  .section-sm {
    padding: 42px 0;
  }

  .hero-meta,
  .btn-group,
  .filter-bar {
    gap: 12px;
  }

  .grid-2,
  .grid-4,
  .category-nav,
  .process-flow,
  .kpi-grid,
  .logo-cloud,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .form-card,
  .cta-banner,
  .media-panel,
  .content-panel,
  .info-panel {
    padding: 22px;
  }

  .footer-top {
    padding-top: 60px;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-banner {
    padding: 58px 0 52px;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .logo-text span {
    white-space: normal;
  }

  .hero-content p,
  .section-heading p,
  .lead {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .blog-meta {
    gap: 10px;
  }

  .data-table th,
  .data-table td {
    padding: 14px 12px;
  }
}

/* ------------------------------
   Print
------------------------------ */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn,
  .cta-banner,
  .faq-question::after {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .section-lg,
  .section-sm {
    padding: 20px 0;
  }

  .card,
  .form-card,
  .timeline-item,
  .stat-card {
    box-shadow: none;
  }
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 420px;
  padding: 0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.image-frame.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 420px;
  padding: 0;
  background: transparent;
}

.image-frame.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

.btn-secondary:hover {
  background: #fff;
  color: #ff5a00; /* 你的主橙色 */
  border-color: #fff;
}

.footer-contact strong {
  color: rgba(255, 255, 255, 0.6); /* 浅色 */
  font-weight: 600;
}