/* ==========================================================================
   Hapince.site — Premium B2B Theme
   Palette: warm cream + ink + signal orange
   ========================================================================== */

:root {
  --canvas: #F5F2EE;
  --cream: #FAF7F3;
  --surface: #FFFFFF;
  --bone: #EFEAE3;
  --ink: #0F0F0E;
  --charcoal: #1B1B1A;
  --graphite: #2A2A28;
  --granite: #4D4D4A;
  --muted: #757571;
  --line: rgba(15, 15, 14, 0.10);
  --line-strong: rgba(15, 15, 14, 0.22);
  --orange: #E55A1B;
  --orange-deep: #C2461A;
  --soft-orange: #FFE2D1;
  --gold: #C99A4A;

  --shadow-xs: 0 1px 2px rgba(15, 15, 14, 0.04);
  --shadow-sm: 0 6px 18px rgba(15, 15, 14, 0.06);
  --shadow-md: 0 12px 36px rgba(15, 15, 14, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 15, 14, 0.16);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --max: 1280px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Sofia Sans', 'Noto Sans SC', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 450;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Container & section primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--cream { background: var(--cream); }

.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head h2 {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
}
.section-head p {
  margin: 18px 0 0;
  color: var(--granite);
  font-size: 17px;
  max-width: 640px;
}
.section--dark .section-head p { color: rgba(255,255,255,0.72); }
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}
.section-head.split p { margin-top: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow > span:first-child {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}
.eyebrow--light { color: rgba(255,255,255,0.86); }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.small { font-size: 11.5px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--canvas);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; stroke-width: 1.8; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--canvas); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Topline ---------- */
.topline {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topline__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topline__left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topline__left span { display: inline-flex; align-items: center; gap: 6px; }
.topline__left a:hover { color: var(--orange); }
.topline svg { width: 14px; height: 14px; opacity: 0.7; }
.topline__right { color: rgba(255,255,255,0.6); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(245, 242, 238, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 38px; width: auto; object-fit: contain; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: var(--ink);
}
.nav__links a svg { width: 14px; height: 14px; opacity: 0.6; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu__cta {
  margin-top: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px !important;
  background: var(--orange);
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px;
}
.mobile-menu.is-open { display: flex; }

/* ---------- HERO (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 880px);
  display: flex;
  align-items: stretch;
  padding: 80px 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,15,14,0.86) 0%, rgba(15,15,14,0.62) 42%, rgba(15,15,14,0.20) 100%),
    linear-gradient(180deg, rgba(15,15,14,0.40) 0%, rgba(15,15,14,0.10) 60%, rgba(15,15,14,0.70) 100%);
  z-index: -1;
}
.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero__copy h1 {
  margin: 18px 0 22px;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', 'Noto Sans SC', sans-serif;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero__copy h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero__copy h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 6px;
  background: rgba(229, 90, 27, 0.22);
  border-radius: 4px;
  z-index: -1;
}
.hero__copy p {
  max-width: 600px;
  color: rgba(255,255,255,0.84);
  font-size: 17px;
}
.hero__bullets {
  margin: 22px 0 30px;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.92);
}
.hero__bullets li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hero__bullets svg {
  width: 18px; height: 18px;
  color: var(--orange);
  flex: 0 0 auto;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick inquiry card on hero */
.hero__form {
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.hero__form-head .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--soft-orange);
  color: var(--orange-deep);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.hero__form-head .badge svg { width: 14px; height: 14px; }
.hero__form-head h3 {
  margin: 14px 0 22px;
  font-size: 22px;
  line-height: 1.25;
}
.quick-form { display: grid; gap: 12px; }
.quick-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
}
.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.quick-form textarea { resize: vertical; min-height: 80px; }
.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  border-color: var(--orange);
  background: #fff;
}
.quick-form__foot {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.quick-form__foot svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Stats strip ---------- */
.strip {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.strip__inner {
  padding: 36px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.strip__inner > div {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.strip__inner > div:last-child { border-right: 0; }
.strip strong {
  display: block;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.strip strong em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 4px;
  color: var(--orange);
  font-weight: 600;
}
.strip span {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
}

/* ---------- Marquee ---------- */
.marquee-section { padding: 56px 0 32px; background: var(--canvas); }
.marquee-section .eyebrow { margin-bottom: 28px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  padding: 6px 0;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.74;
}
.marquee__track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.service-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.service-card__index {
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
}
.service-card__icon {
  width: 36px !important; height: 36px !important;
  color: var(--ink);
}
.service-card h3 { font-size: 22px; line-height: 1.2; }
.service-card > p { color: var(--granite); font-size: 14.5px; }
.service-card__list { display: grid; gap: 8px; margin-top: 4px; }
.service-card__list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: var(--graphite);
}
.service-card__list svg { width: 14px; height: 14px; color: var(--orange); flex: 0 0 auto; }
.service-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
.service-card__cta svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.service-card:hover .service-card__cta { color: var(--orange); }
.service-card:hover .service-card__cta svg { transform: translate(2px, -2px); }

/* ---------- Solutions (dark, tabs) ---------- */
.solutions {
  display: grid;
  gap: 32px;
}
.solutions__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.solutions__tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 12px 22px;
  color: rgba(255,255,255,0.78);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.solutions__tabs button:hover { color: #fff; }
.solutions__tabs button.is-active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(229,90,27,0.35);
}
.solutions__panels { position: relative; }
.solutions__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
}
.solutions__panel.is-active { display: grid; animation: fadeUp 0.4s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.solutions__copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
}
.solutions__copy p { color: rgba(255,255,255,0.74); }
.solutions__copy ul {
  display: grid; gap: 10px;
  margin: 18px 0 26px;
}
.solutions__copy ul li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.9);
}
.solutions__copy ul svg { width: 16px; height: 16px; color: var(--orange); }
.solutions__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
}
.solutions__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.why-card > svg {
  width: 36px; height: 36px;
  color: var(--orange);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--granite); font-size: 15px; }

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.process__step::before {
  content: '';
  position: absolute;
  top: 36px;
  right: -10px;
  width: 16px; height: 2px;
  background: var(--orange);
  opacity: 0.5;
}
.process__step:last-child::before { display: none; }
.process__num {
  display: inline-flex;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
.process__step h3 { font-size: 17px; margin-bottom: 6px; }
.process__step p { font-size: 14px; color: var(--granite); }

/* ---------- Cases ---------- */
.case-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bone);
}
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.case-card:hover .case-image img { transform: scale(1.04); }
.case-chip {
  position: absolute;
  left: 20px; top: 20px;
  padding: 8px 14px;
  background: rgba(15,15,14,0.78);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.case-body { padding: 26px 28px 30px; }
.metric {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 10px;
}
.metric strong {
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: 36px;
  line-height: 1;
  color: var(--orange);
  font-weight: 700;
}
.metric span { color: var(--muted); font-size: 13px; }
.case-body h3 { font-size: 21px; margin-bottom: 8px; line-height: 1.2; }
.case-body p { color: var(--granite); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  position: relative;
  margin: 0;
  padding: 36px 32px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
}
.quote-card > svg {
  width: 36px; height: 36px;
  color: var(--orange);
  opacity: 0.9;
}
.quote-card blockquote {
  margin: 14px 0 22px;
  color: rgba(255,255,255,0.92);
  font-size: 16.5px;
  line-height: 1.6;
}
.quote-card figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.quote-card figcaption strong { font-size: 15px; }
.quote-card figcaption span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Articles grid ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bone);
}
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.article-card:hover .article-image img { transform: scale(1.04); }
.article-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-body h3 { font-size: 19px; line-height: 1.3; }
.article-body h3 a:hover { color: var(--orange); }
.article-body p { color: var(--granite); font-size: 14.5px; flex: 1; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  color: var(--ink);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.text-link:hover { color: var(--orange); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(229,90,27,0.22), transparent 60%),
    radial-gradient(40% 80% at 0% 100%, rgba(229,90,27,0.16), transparent 70%),
    var(--ink);
  color: #fff;
  padding: 88px 0;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  margin: 16px 0 14px;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
}
.cta-band p { color: rgba(255,255,255,0.78); max-width: 520px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band__actions .btn { justify-content: center; }

/* ---------- Contact ---------- */
.section--contact { padding: 96px 0 120px; }
.contact__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact__copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
}
.contact__copy p { color: var(--granite); margin-bottom: 28px; max-width: 520px; }
.contact__list {
  display: grid;
  gap: 14px;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact__list svg { width: 22px; height: 22px; color: var(--orange); flex: 0 0 auto; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list span { font-size: 12.5px; color: var(--muted); }
.contact__list strong { font-size: 15.5px; font-weight: 600; }
.contact-form {
  padding: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.contact-form label {
  display: grid; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.10);
}
.contact-form option { color: var(--ink); }
.contact-form button { grid-column: 1 / -1; justify-content: center; }
.contact-form .quick-form__foot { grid-column: 1 / -1; color: rgba(255,255,255,0.62); }
.contact-form .quick-form__foot svg { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0A09;
  color: rgba(255,255,255,0.74);
  padding: 80px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand img { height: 42px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { max-width: 360px; margin-bottom: 22px; line-height: 1.6; }
.footer-actions .btn { background: var(--orange); border-color: var(--orange); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-cols h4 {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-cols a,
.footer-cols span {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
}
.footer-cols a:hover { color: var(--orange); }
.footer-cols svg { width: 16px; height: 16px; color: var(--orange); }
.footer-bottom {
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Float CTA ---------- */
.float-cta {
  position: fixed;
  right: 20px; bottom: 24px;
  z-index: 90;
  display: flex; flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-cta__item {
  position: relative;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15,15,14,0.14);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.float-cta__item:hover {
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-2px);
}
.float-cta__item svg { width: 22px; height: 22px; stroke-width: 1.8; }
.float-cta__item--inquiry {
  width: auto; height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 12px 32px rgba(229,90,27,0.4);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.float-cta__item--inquiry:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.float-cta__label { white-space: nowrap; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 12px 32px rgba(229,90,27,0.4); }
  50% { box-shadow: 0 12px 32px rgba(229,90,27,0.55), 0 0 0 10px rgba(229,90,27,0.10); }
}
.float-cta__pop {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.float-cta__item:hover .float-cta__pop { opacity: 1; transform: translateY(-50%) translateX(0); }
.float-cta__qr {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px) scale(0.96);
  width: 188px; padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  text-align: center;
}
.float-cta__qr img { width: 100%; border-radius: 10px; margin-bottom: 8px; }
.float-cta__qr p { margin: 0; font-size: 13px; color: var(--granite); }
.float-cta__item--wechat:hover .float-cta__qr,
.float-cta__item--wechat:focus-within .float-cta__qr {
  opacity: 1; transform: translateY(-50%) translateX(0) scale(1);
  pointer-events: auto;
}
.float-cta__top {
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.float-cta.is-scrolled .float-cta__top {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* ---------- Toasts & Reveal ---------- */
.toast {
  position: fixed; left: 50%; top: 88px;
  transform: translateX(-50%);
  z-index: 95;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-success { background: var(--ink); color: #fff; }
.toast-error { background: var(--orange); color: #fff; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Sub-pages (Articles / Article Detail / Warehouse)
   ============================================================ */

/* Page hero shared */
.page-hero {
  padding: 80px 0 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero .container,
.page-hero {
  width: 100%;
}
.page-hero .page-hero-copy,
.page-hero-copy {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: left;
}
.page-hero-copy h1 {
  margin: 16px 0 16px;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.page-hero-copy p { color: var(--granite); font-size: 17px; max-width: 720px; }
.page-hero-copy .btn { margin-top: 24px; }

/* Warehouse */
.warehouse-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px 56px;
}
.warehouse-hero .page-hero-copy { padding: 0; max-width: none; }
.flow-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.flow-card > div {
  width: 110px; height: 110px;
  display: grid; place-items: center; gap: 6px;
  text-align: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
}
.flow-card > div svg { width: 22px; height: 22px; color: var(--orange); }
.flow-card > svg { width: 18px; height: 18px; color: var(--muted); }

.feature-section,
.scenario-section,
.process-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px;
}
.feature-section .section-intro,
.scenario-section .section-intro,
.process-section .section-intro {
  max-width: 760px;
  margin-bottom: 40px;
}
.feature-section .section-intro h2,
.scenario-section .section-intro h2,
.process-section .section-intro h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
}
.section-intro.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.feature-grid {
  display: grid;
  gap: 20px;
}
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card,
.scenario-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover,
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.feature-card > svg,
.scenario-card > svg {
  width: 36px; height: 36px;
  color: var(--orange);
  margin-bottom: 14px;
}
.feature-card h3,
.scenario-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--granite); font-size: 15px; }
.scenario-card ul { display: grid; gap: 8px; margin-top: 12px; }
.scenario-card li {
  display: flex; align-items: center; gap: 8px;
  color: var(--graphite);
  font-size: 14.5px;
}
.scenario-card li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-line .process-step {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.process-line .process-step > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.process-line .process-step h3 { font-size: 18px; margin-bottom: 6px; }
.process-line .process-step p { color: var(--granite); font-size: 14.5px; }

.warehouse-band {
  max-width: var(--max);
  margin: 0 auto 80px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.warehouse-band.dark { background: var(--ink); color: #fff; }
.warehouse-band.dark p { color: rgba(255,255,255,0.74); }
.warehouse-band h2 { margin: 14px 0 8px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; }
.warehouse-band p { color: var(--granite); max-width: 540px; }
.warehouse-band .btn { justify-self: end; }

/* Articles index page */
.articles-section.page-list,
.articles-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.filter-row {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-pill {
  display: inline-flex; align-items: center;
  min-height: 38px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pagination {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 32px;
}
.empty-state {
  padding: 72px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.empty-state h2 { margin: 12px 0 8px; font-size: 28px; }
.empty-state p { color: var(--granite); }

.article-grid.compact .article-card { border-radius: var(--r-md); }

/* Article detail */
.article-detail {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 28px 40px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--orange); }
.article-header h1 {
  margin: 16px 0;
  font-family: 'Sofia Sans Condensed', 'Sofia Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
}
.article-header p { font-size: 18px; color: var(--granite); max-width: 720px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; }
.article-cover {
  margin: 40px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-content {
  font-size: 17px;
  line-height: 1.78;
  color: var(--charcoal);
}
.article-content h2 { margin: 40px 0 14px; font-size: 28px; }
.article-content h3 { margin: 32px 0 12px; font-size: 22px; }
.article-content p { margin: 14px 0; }
.article-content ul,
.article-content ol { padding-left: 22px; margin: 14px 0; list-style: disc; }
.article-content a { color: var(--orange); text-decoration: underline; }
.related-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 28px 96px;
}
.related-section .section-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
}
.related-section h2 { margin: 8px 0 0; font-size: 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn-sm { display: none; }
  .topline__left .hide-md { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 72px; min-height: auto; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__inner > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.10); padding-bottom: 18px; }
  .service-grid, .why-grid, .case-carousel, .quote-grid, .article-grid, .feature-grid.four, .feature-grid.three { grid-template-columns: repeat(2, 1fr); }
  .process, .process-line { grid-template-columns: repeat(3, 1fr); }
  .process__step::before { display: none; }
  .solutions__panel { grid-template-columns: 1fr; padding: 28px; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .warehouse-hero { grid-template-columns: 1fr; padding: 56px 28px; }
  .warehouse-band { grid-template-columns: 1fr; }
  .warehouse-band .btn { justify-self: start; }
  .marquee__track span { font-size: 22px; }
}

@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .section--contact { padding: 64px 0 80px; }
  .topline__left { gap: 14px; font-size: 12px; }
  .topline__right { display: none; }
  .nav { min-height: 64px; }
  .nav__brand img { height: 34px; }
  .hero__form { padding: 24px; }
  .hero__cta .btn { width: 100%; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; gap: 20px; }
  .strip strong { font-size: 32px; }
  .service-grid, .why-grid, .case-carousel, .quote-grid, .article-grid, .feature-grid.four, .feature-grid.three { grid-template-columns: 1fr; }
  .process, .process-line { grid-template-columns: 1fr 1fr; }
  .solutions__tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .solutions__tabs button { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
  .contact-form { grid-template-columns: 1fr; padding: 28px; }
  .contact-form .wide { grid-column: auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-cta { right: 12px; bottom: 14px; gap: 8px; }
  .float-cta__item { width: 46px; height: 46px; }
  .float-cta__item--inquiry { height: 48px; padding: 0 16px 0 14px; font-size: 14px; }
  .float-cta__pop, .float-cta__qr { display: none; }
  .marquee__track { gap: 24px; animation-duration: 28s; }
  .marquee__track span { font-size: 18px; }
  .related-section .section-intro { grid-template-columns: 1fr; }
}
