/*
Theme Name: Qinfeng FIBC Theme
Author: ZeroY Studio
Description: High-converting B2B industrial theme for Qinfeng FIBC Bulk Bags.
Version: 1.1.0
*/

@import url('assets/css/tokens.css');

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Base Buttons */
.button, .btn-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--action);
  color: var(--white);
  font-weight: 650;
  font-size: 15px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.button:hover, .btn-primary:hover {
  background: var(--action-hover);
  transform: translateY(-1px);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.button.secondary, .btn-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
}
.button.secondary:hover, .btn-secondary:hover {
  border-color: var(--brand);
  background: var(--tint);
  color: var(--action);
}
.btn-action-sm {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--action);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.btn-action-sm:hover {
  background: var(--action-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.arrow {
  transition: transform .2s ease;
}
.button:hover .arrow, .btn-action-sm:hover .arrow {
  transform: translateX(4px);
}

/* Eyebrow & Headers */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--action);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
}

/* Site Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: var(--brand);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s ease;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active, .main-nav .current-menu-item > a {
  color: var(--action);
}

/* Gray Image Placeholders */
.gray-img-placeholder {
  position: relative;
  background-color: var(--muted);
  border: 1px dashed #b8bcc6;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  color: var(--slate);
  overflow: hidden;
  transition: border-color .2s ease;
}
.gray-img-placeholder::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #d4d7df;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.gray-img-placeholder span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.gray-img-placeholder small {
  font-size: 11px;
  color: var(--slate);
  margin-top: 5px;
  font-weight: 500;
}

/* Common Section Layout */
.container, .section-container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}
.about-section {
  padding: 92px 0;
}
.about-section.white {
  background: var(--white);
}
.about-section.soft {
  background: #fbfcfb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-section.muted {
  background: rgba(232, 234, 238, .54);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head > div:first-child {
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

/* 1. About Hero */
.about-hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 76px;
}
.about-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.about-hero-text h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 20px;
}
.about-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 28px;
}
.about-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.trust-pill::before {
  content: "✓";
  color: var(--action);
  font-weight: 800;
}
.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image-block {
  min-height: 440px;
  height: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* 2. Stats / Intro Strip (Matching Design Reference) */
.intro-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  border-inline: 1px solid var(--border);
}
.intro-cell {
  min-height: 156px;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.intro-cell:last-child {
  border-right: 0;
}
.intro-cell.primary {
  background: var(--brand);
}
.intro-cell .num {
  display: block;
  margin-bottom: 12px;
  color: var(--action);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.intro-cell.primary .num {
  color: var(--ink);
}
.intro-cell h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 6px;
  color: var(--ink);
}
.intro-cell.primary h3 {
  font-size: 22px;
  line-height: 1.25;
}
.intro-cell p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}
.intro-cell.primary p {
  color: rgba(18,21,28,.78);
  font-weight: 500;
}

/* 3. Story & Principles Grid */
.story-layout {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 32px;
  align-items: start;
}
.story-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.story-panel h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.15;
}
.story-panel p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin: 0 0 20px;
}
.quote-highlight {
  background: var(--tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 26px;
  margin-top: 28px;
}
.quote-highlight h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--action);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.quote-highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
}

/* Principles Cards */
.principles {
  display: grid;
  gap: 16px;
}
.principle-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.principle-card:hover {
  transform: translateY(-2px);
  border-color: rgba(104,190,70,.8);
  box-shadow: var(--shadow-sm);
}
.principle-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 13px;
  background: var(--tint);
  color: var(--action);
  font-weight: 800;
  font-size: 16px;
}
.principle-card h3 {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 6px;
}
.principle-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

/* 4. Timeline Section */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
}
.timeline-dot-top {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--white);
  border: 4px solid var(--brand);
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 4px var(--tint);
}
.timeline-year-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--tint);
  color: var(--action);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.timeline-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform .2s ease, border-color .2s ease;
  min-height: 220px;
}
.timeline-box:hover {
  transform: translateY(-3px);
  border-color: rgba(104,190,70,.8);
  box-shadow: var(--shadow-sm);
}
.timeline-box h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.timeline-box p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

/* 4.5 Global Map & Animated Coverage Styles */
.global-reach-section {
  background: #111b13;
  color: #ffffff;
  padding: 92px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.global-map-card {
  background: #18261b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.map-container {
  width: 100%;
  padding: 36px 24px 16px;
}
.world-map-svg {
  width: 100%;
  height: auto;
  max-height: 540px;
  display: block;
}

/* SVG Map Animations */
@keyframes dashRoute {
  from {
    stroke-dashoffset: 120;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pulseMarker {
  0% {
    r: 4px;
    opacity: 0.95;
  }
  50% {
    r: 16px;
    opacity: 0.35;
  }
  100% {
    r: 22px;
    opacity: 0;
  }
}
@keyframes rippleHQ {
  0% {
    r: 6px;
    opacity: 1;
  }
  100% {
    r: 34px;
    opacity: 0;
  }
}

.route-line {
  stroke-dasharray: 6 5;
  animation: dashRoute 16s linear infinite;
}
.pulse-ring {
  fill: none;
  stroke: #68be46;
  stroke-width: 1.5;
  animation: pulseMarker 2.6s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.core-dot {
  fill: #68be46;
}
.dest-point text.map-label {
  fill: #f0f7f2;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-main);
  text-shadow: 0 2px 5px rgba(0,0,0,0.85);
}
.dest-point:hover text.map-label {
  fill: #a9df91;
}
.dest-point:hover .core-dot {
  fill: #ffffff;
}

.hq-point .hub-center {
  fill: #fbbf24;
}
.hq-point .hub-glow {
  fill: url(#hubGlow);
}
.hq-point .hub-ripple {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 2;
  animation: rippleHQ 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.map-label-hq {
  fill: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-main);
  text-shadow: 0 2px 6px rgba(0,0,0,0.95);
}
.map-sublabel-hq {
  fill: #ffffff;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-main);
  opacity: 0.85;
}

.map-meta-bar {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr;
  gap: 24px;
  background: rgba(10, 18, 12, 0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 32px;
}
.meta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8ed3a6;
}
.meta-desc {
  font-size: 13px;
  color: #d1e3d7;
  line-height: 1.5;
}

/* 5. Process Cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104,190,70,.8);
  box-shadow: var(--shadow-md);
}
.process-card-placeholder {
  min-height: 200px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.process-body {
  padding: 24px;
  flex: 1;
}
.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--action);
  background: var(--tint);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.process-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
}
.process-body p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* 6. Risk Reversal (Why Buyers Choose Us) */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.risk-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.risk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(104,190,70,.8);
  box-shadow: var(--shadow-sm);
}
.risk-card .risk-no {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 11px;
  background: #fff4e5;
  color: var(--warning);
  font-size: 13px;
  font-weight: 800;
}
.risk-card.positive-action .risk-no {
  background: var(--tint);
  color: var(--action);
}
.risk-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.risk-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

/* 7. Product Catalog Cards with Gray Block Placeholder */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.catalog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104,190,70,.8);
  box-shadow: var(--shadow-md);
}
.catalog-media {
  min-height: 210px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.catalog-body {
  padding: 24px;
}
.catalog-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--tint);
  color: var(--action);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}
.catalog-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.catalog-body p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
  color: var(--action);
}
.text-link:hover {
  color: var(--action-hover);
}

/* 8. Technical / Customization Spec Table (Dark Section from Design Ref) */
.section.dark, .about-section.dark {
  background: var(--ink);
  color: var(--white);
}
.technical-wrap {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 60px;
  align-items: center;
}
.technical-copy h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 16px;
}
.technical-copy .lead {
  font-size: 17px;
  color: #c9ced8;
  line-height: 1.6;
}
.status-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.status-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #e6e8ed;
  font-size: 14px;
  font-weight: 500;
}
.status-dot {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.spec-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: #1a1e27;
}
.spec-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.spec-top h3 {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 4px;
}
.spec-top p {
  margin: 0;
  font-size: 13px;
  color: #9ca4b1;
}
.spec-badge {
  align-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(104,190,70,.16);
  color: #bce9a8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th, .spec-table td {
  padding: 18px 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}
.spec-table tr:last-child th, .spec-table tr:last-child td {
  border-bottom: 0;
}
.spec-table th {
  width: 40%;
  color: #89919f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.spec-table td {
  color: var(--white);
  font-size: 14px;
}
.spec-table .available {
  color: #bce9a8;
  font-weight: 600;
}

/* 9. Proof Bar */
.proof-bar {
  background: var(--white);
  border-block: 1px solid var(--border);
}
.proof-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  padding: 30px 24px;
  border-right: 1px solid var(--border);
}
.proof-item:last-child {
  border-right: 0;
}
.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.proof-item span {
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* 10. CTA Card (from Design Reference) */
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: 60px 64px;
  border-radius: var(--radius-lg);
  background: var(--brand);
}
.cta-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(18,21,28,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(18,21,28,.04), 0 0 0 92px rgba(18,21,28,.025);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-card .eyebrow {
  color: var(--action);
}
.cta-card h2 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.cta-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(18,21,28,.76);
  font-size: 16px;
  line-height: 1.6;
}
.cta-card .button {
  background: var(--ink);
  color: var(--white);
  padding: 0 32px;
  min-height: 54px;
  font-size: 15px;
}
.cta-card .button:hover {
  background: #000000;
}

/* Footer (Matching Design Ref: Clean & Compact) */
.site-footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-name {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.footer-brand p {
  max-width: 300px;
  margin: 16px 0 0;
  color: #9ea5b1;
  font-size: 13px;
  line-height: 1.6;
}
.footer-col h4 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 750;
}
.footer-col a {
  display: block;
  margin: 9px 0;
  color: #aeb4bf;
  font-size: 13.5px;
  transition: color .15s ease;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #7f8794;
  font-size: 12px;
  align-items: center;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-cell:nth-child(2) {
    border-right: 0;
  }
  .intro-cell {
    border-bottom: 1px solid var(--border);
  }
  .story-layout {
    grid-template-columns: 1fr;
  }
  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track::before {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .technical-wrap {
    grid-template-columns: 1fr;
  }
  .proof-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-item:nth-child(2) {
    border-right: 0;
  }
  .proof-item {
    border-bottom: 1px solid var(--border);
  }
  .cta-card {
    grid-template-columns: 1fr;
    padding: 44px 36px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
  .footer-col:last-child {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header .main-nav {
    display: none;
  }
  .header-inner {
    padding: 12px 18px;
  }
  .btn-action-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
  .container, .section-container {
    width: calc(100% - 32px);
  }
  .about-hero {
    padding: 48px 0 42px;
  }
  .about-hero-text h1 {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 16px;
    word-break: break-word;
  }
  .about-hero-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .about-hero-actions {
    flex-direction: column;
  }
  .about-hero-actions .button {
    width: 100%;
  }
  .hero-image-block {
    min-height: 280px;
  }
  .section, .about-section {
    padding: 56px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  .section-head p {
    margin-top: 12px;
    font-size: 15px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-cell {
    border-right: 0;
    padding: 24px 20px;
    min-height: auto;
  }
  .story-panel {
    padding: 28px 20px;
  }
  .story-panel h2 {
    font-size: 24px;
  }
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .risk-grid {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .proof-bar-grid {
    grid-template-columns: 1fr;
  }
  .proof-item {
    border-right: 0;
    padding: 20px;
  }
  .spec-top {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
  }
  .spec-table th, .spec-table td {
    padding: 14px 18px;
    font-size: 13px;
  }
  .cta-card {
    padding: 36px 24px;
  }
  .cta-card h2 {
    font-size: 24px;
  }
  .cta-card .button {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ========================================================
   HOMEPAGE DYNAMIC VIDEO HERO & GRAINPRO-STYLE WAVE
   ======================================================== */
.home-hero-video-section {
  position: relative;
  min-height: 880px;
  display: flex;
  align-items: center;
  background: #111b13;
  color: var(--white);
  padding: 110px 0 200px;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.04);
  filter: contrast(1.1) brightness(0.9);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,23,16,0.92) 0%, rgba(14,23,16,0.76) 50%, rgba(14,23,16,0.45) 100%);
  z-index: 1;
}

.hero-content-container {
  position: relative;
  z-index: 2;
}
.hero-text-block {
  max-width: 760px;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(104, 190, 70, 0.16);
  border: 1px solid rgba(104, 190, 70, 0.35);
  color: #bce9a8;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(104, 190, 70, 0.4);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(104, 190, 70, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(104, 190, 70, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(104, 190, 70, 0); }
}

.hero-text-block h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--white);
  margin: 0 0 20px;
}
.hero-text-block .text-highlight {
  color: var(--brand);
}
.hero-subtext {
  font-size: 18px;
  line-height: 1.6;
  color: #d1d7df;
  margin: 0 0 32px;
  max-width: 680px;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-btn-primary {
  background: var(--action);
  color: var(--white);
  min-height: 54px;
  padding: 0 28px;
  font-size: 15.5px;
  box-shadow: 0 8px 24px rgba(52, 122, 42, 0.4);
}
.hero-btn-primary:hover {
  background: var(--action-hover);
}
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  min-height: 54px;
  padding: 0 26px;
  backdrop-filter: blur(8px);
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand);
  color: var(--brand);
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 680px;
}
.trust-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.trust-stat span {
  display: block;
  font-size: 12px;
  color: #a4adba;
  font-weight: 600;
  margin-top: 2px;
}

/* GrainPro Style Organic Curve Divider at Bottom of Hero */
.hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 90px;
}

@media (max-width: 1024px) {
  .home-hero-video-section {
    min-height: 720px;
    padding: 80px 0 120px;
  }
}
@media (max-width: 720px) {
  .home-hero-video-section {
    min-height: 640px;
    padding: 60px 0 90px;
  }
  .hero-text-block h1 {
    font-size: 32px;
  }
  .hero-subtext {
    font-size: 16px;
  }
  .hero-actions-group {
    flex-direction: column;
    gap: 12px;
  }
  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
  }
  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-wave-divider svg {
    height: 40px;
  }
}

/* ========================================================
   MODSTORAGE-STYLE HOMEPAGE SECTIONS
   ======================================================== */
.mod-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.mod-quick-chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.mod-quick-chips .chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}

.mod-section {
  padding: 84px 0;
}
.mod-section.white {
  background: var(--white);
}
.mod-section.gray-bg {
  background: #f4f5f7;
}

.mod-section-head {
  margin-bottom: 50px;
}
.mod-section-head.text-center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.mod-section-head:not(.text-center) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
.mod-section-head .head-left {
  max-width: 620px;
}
.mod-section-head .head-right {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.mod-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5dae3b;
  margin-bottom: 10px;
}
.mod-section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.15;
}
.mod-section-head p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}

/* modSTORAGE Features Grid (Why Choose Us) */
.mod-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mod-feature-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.mod-feature-card:hover {
  transform: translateY(-4px);
  border-color: #5dae3b;
  box-shadow: 0 12px 32px rgba(93, 174, 59, 0.12);
}
.mod-feature-icon-wrap {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: #edf7e9;
  color: #5dae3b;
  margin-bottom: 22px;
}
.mod-feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -.02em;
}
.mod-feature-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* modSTORAGE Product Cards Grid */
.mod-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mod-product-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mod-product-card:hover {
  transform: translateY(-5px);
  border-color: #5dae3b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.mod-card-media {
  min-height: 230px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e5e7eb;
}
.mod-card-content {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mod-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #edf7e9;
  color: #347a2a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.mod-card-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -.02em;
}
.mod-card-content p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 18px;
}
.mod-card-specs {
  list-style: none;
  padding: 16px 0;
  margin: 0 0 24px;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  display: grid;
  gap: 8px;
}
.mod-card-specs li {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.45;
}
.mod-card-specs li strong {
  color: var(--slate);
  font-weight: 600;
}
.mod-card-footer {
  margin-top: auto;
}
.mod-btn-card {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  background: #5dae3b;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}
.mod-btn-card:hover {
  background: #4b922f;
  box-shadow: 0 4px 12px rgba(93, 174, 59, 0.35);
  color: var(--white);
}

/* modSTORAGE How it Works (4 Steps) */
.mod-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mod-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.mod-step-card:hover {
  transform: translateY(-3px);
  border-color: #5dae3b;
}
.mod-step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #edf7e9;
  color: #347a2a;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}
.mod-step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.mod-step-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* modSTORAGE Client Reviews */
.mod-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mod-review-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-body {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 24px;
  flex: 1;
}
.review-author {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
.review-author strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.review-author span {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}

/* modSTORAGE Signature CTA Card */
.mod-cta-box {
  background: #5dae3b;
  border-radius: var(--radius-lg);
  padding: 68px 54px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 12px 40px rgba(93, 174, 59, 0.35);
}
.mod-cta-content {
  max-width: 740px;
  margin: 0 auto;
}
.mod-cta-box h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 0 0 18px;
  line-height: 1.15;
}
.mod-cta-box p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin: 0 0 34px;
}
.mod-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mod-btn-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 32px;
  border-radius: 12px;
  background: var(--white);
  color: #347a2a;
  font-size: 15px;
  font-weight: 750;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.mod-btn-cta:hover {
  background: #f0f7ed;
  transform: translateY(-2px);
  color: #285f21;
}
.mod-btn-cta-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 650;
  transition: all .2s ease;
}
.mod-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

@media (max-width: 1024px) {
  .mod-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mod-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mod-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mod-reviews-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .mod-section {
    padding: 56px 0;
  }
  .mod-section-head:not(.text-center) {
    display: block;
  }
  .mod-section-head .head-right {
    margin-top: 14px;
  }
  .mod-features-grid {
    grid-template-columns: 1fr;
  }
  .mod-products-grid {
    grid-template-columns: 1fr;
  }
  .mod-steps-grid {
    grid-template-columns: 1fr;
  }
  .mod-cta-box {
    padding: 40px 24px;
  }
  .mod-cta-actions {
    flex-direction: column;
  }
  .mod-btn-cta, .mod-btn-cta-secondary {
    width: 100%;
  }
}

/* ========================================================
   MODSTORAGE-STYLE CONTACT PAGE STYLES
   ======================================================== */
.mod-contact-wrapper {
  background: #f4f5f7;
  min-height: 80vh;
}
.mod-contact-header {
  background: var(--white);
  padding: 56px 20px 48px;
  border-bottom: 1px solid var(--border);
}
.mod-contact-header h1 {
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 12px;
}
.mod-header-sub {
  font-size: 17px;
  color: var(--slate);
  margin: 0 auto;
  max-width: 600px;
}

.mod-contact-body {
  padding: 48px 0 80px;
}
.mod-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 32px;
  align-items: start;
}

/* Left Form Card */
.mod-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 44px 40px 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.mod-form-card h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 28px;
}
.mod-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.mod-field {
  display: flex;
  flex-direction: column;
}
.mod-field-full {
  margin-bottom: 24px;
}
.mod-field label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 8px;
}
.mod-field .required {
  color: #e02424;
}
.mod-field input,
.mod-field select,
.mod-field textarea {
  width: 100%;
  padding: 13px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: all .2s ease;
}
.mod-field input:focus,
.mod-field select:focus,
.mod-field textarea:focus {
  background: var(--white);
  border-color: #5dae3b;
  box-shadow: 0 0 0 4px rgba(93, 174, 59, 0.15);
}
.mod-field textarea {
  resize: vertical;
  min-height: 140px;
}
.mod-char-count {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
  text-align: left;
}
.mod-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 12px;
  background: #5dae3b;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mod-btn-submit:hover {
  background: #4b922f;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(93, 174, 59, 0.35);
}

/* Right Sidebar Cards */
.mod-sidebar {
  display: grid;
  gap: 24px;
}
.mod-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 34px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.mod-info-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -.02em;
}
.mod-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.mod-info-item:last-child {
  margin-bottom: 0;
}
.mod-info-icon {
  color: #5dae3b;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.mod-info-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 4px;
}
.mod-info-val {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  transition: color .15s ease;
}
.mod-info-val:hover {
  color: #5dae3b;
}
.mod-info-plain {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
}

/* modSTORAGE Signature Green Hours Card */
.mod-hours-card {
  background: #5dae3b;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: 0 6px 24px rgba(93, 174, 59, 0.3);
}
.mod-hours-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  color: var(--white);
}
.mod-hours-intro {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
}
.mod-hours-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.mod-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.mod-hours-row span {
  color: rgba(255, 255, 255, 0.9);
}
.mod-hours-row strong {
  color: var(--white);
  font-weight: 750;
}
.mod-hours-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 12px;
  line-height: 1.45;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .mod-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .mod-contact-header {
    padding: 40px 20px 32px;
  }
  .mod-form-card {
    padding: 28px 20px 32px;
  }
  .mod-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mod-btn-submit {
    width: 100%;
  }
}

.contact-hero {
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
  padding: 68px 0 54px;
}
.contact-hero-container {
  max-width: 860px;
  text-align: center;
}
.contact-hero-content h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 16px;
}
.contact-hero-content .lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0 auto 28px;
}
.trust-pill-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact Grid Layout */
.contact-section {
  padding: 72px 0 90px;
  background: var(--bg);
}
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: start;
}

/* RFQ Form Card */
.rfq-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  box-shadow: var(--shadow-sm);
}
.form-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--action);
  margin-bottom: 6px;
}
.form-header-bar h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
}
.response-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--tint);
  color: var(--action);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

/* Form Group Blocks */
.form-group-block {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.form-group-block:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}
.form-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.form-block-title .step-num {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--tint);
  color: var(--action);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}
.form-block-title h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 2px;
}
.form-block-title p {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
}

.form-fields-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field.full-width {
  grid-column: 1 / -1;
  margin-top: 10px;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid #c9cdd6;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea {
  min-height: 100px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(104,190,70,.2);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ba2ae;
}

.form-footer-action {
  margin-top: 28px;
}
.form-submit-btn {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  background: var(--action);
  border-radius: var(--radius-sm);
}
.form-submit-btn:hover {
  background: var(--action-hover);
}
.form-guarantee-text {
  font-size: 12px;
  color: var(--slate);
  margin-top: 14px;
  line-height: 1.55;
  text-align: center;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: grid;
  gap: 24px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.factory-badge-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f8f3 100%);
  border-color: #ccd8ca;
}
.badge-icon-wrap {
  margin-bottom: 14px;
}
.factory-icon {
  font-size: 28px;
}
.factory-badge-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.factory-badge-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 18px;
}
.sidebar-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid #dbe5d8;
  padding-top: 16px;
}
.sidebar-check-list li {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
}
.sidebar-check-list li strong {
  color: var(--action);
}

.contact-channel-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.channel-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.channel-row:last-child {
  margin-bottom: 0;
}
.channel-icon {
  font-size: 20px;
  padding-top: 2px;
}
.channel-label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
  margin-bottom: 3px;
}
.channel-val {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--action);
}
a.channel-val:hover {
  text-decoration: underline;
}
.channel-body small {
  display: block;
  font-size: 11.5px;
  color: #8c94a2;
  margin-top: 2px;
}

.sample-policy-card {
  border-left: 4px solid var(--brand);
}
.sample-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--tint);
  color: var(--action);
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sample-policy-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.sample-policy-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 14px;
}
.sample-points {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--action);
}

/* FAQ Accordion Section */
.contact-faq-section {
  background: var(--white);
  padding: 80px 0 90px;
  border-top: 1px solid var(--border);
}
.faq-accordion-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(104,190,70,.7);
  box-shadow: var(--shadow-sm);
}
.faq-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}

/* Responsive adjustments for Contact */
@media (max-width: 1024px) {
  .contact-grid-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
  .sample-policy-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    padding: 48px 0 36px;
  }
  .contact-hero-content h1 {
    font-size: 28px;
  }
  .rfq-form-card {
    padding: 28px 20px;
  }
  .form-fields-row {
    grid-template-columns: 1fr;
  }
  .contact-info-sidebar {
    grid-template-columns: 1fr;
  }
  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Thank You Page Styling
========================================================= */
.thank-you-wrapper {
  background: #f4f5f7;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
}
.thank-you-section {
  width: 100%;
}
.thank-you-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 56px 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--tint);
  color: var(--action);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you-badge {
  display: inline-block;
  background: var(--tint);
  color: var(--action);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.thank-you-card h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 16px;
}
.thank-you-lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}
.thank-you-lead strong {
  color: var(--ink);
}

/* 3 Next Steps */
.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.ty-step {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-md);
  padding: 20px 18px;
}
.ty-step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--action);
  background: var(--white);
  border: 1px solid rgba(104, 190, 70, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ty-step-text h4 {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 6px;
}
.ty-step-text p {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

/* Contact info strip */
.thank-you-contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 36px;
}
.ty-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  color: var(--action);
  transition: color .15s ease;
}
.ty-direct-link:hover {
  color: var(--action-hover);
  text-decoration: underline;
}
.ty-divider {
  color: #cbd5e1;
}

/* Actions */
.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .thank-you-card {
    padding: 36px 20px;
  }
  .thank-you-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .thank-you-actions .button,
  .thank-you-actions .button.secondary {
    width: 100%;
  }
}

/* ============================================================
   Primary nav dropdown panel — opens on hover or keyboard focus
   for any menu item that has children.
   ============================================================ */
.main-nav > li.menu-item-has-children {
  position: static;
}
.main-nav > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.main-nav > li.menu-item-has-children:hover > a::after,
.main-nav > li.menu-item-has-children:focus-within > a::after {
  transform: translateY(0) rotate(225deg);
}

/* The panel: one row of columns, anchored under the header and hidden until
   the item is hovered or focused. */
.main-nav > li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  width: 236px;
  max-width: calc(100vw - 48px);
  margin: 0;
  padding: 28px 34px 32px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 80;
}
/* Keeps the panel open while the pointer crosses the gap below the nav item.
   Sits under the right part of the panel, where the Books item is. */
.main-nav > li.menu-item-has-children > .sub-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 400px;
  height: 28px;
}
.main-nav > li.menu-item-has-children:hover > .sub-menu,
.main-nav > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* One column per taxonomy. */
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group {
  position: static;
  display: block;
  width: auto;
  min-width: 150px;
  margin: 0;
  padding: 0;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > a {
  display: block;
  margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--action);
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > a:hover {
  background: transparent;
  color: var(--action);
}

/* The term list inside a column: plain, visible with the panel. */
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu > li {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu a {
  display: block;
  padding: 8px 0;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  text-align: left;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu a:hover,
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu a:focus {
  background: transparent;
  color: var(--action);
}

@media (max-width: 1180px) {
  .main-nav > li.menu-item-has-children > .sub-menu {
    gap: 16px;
    padding: 24px 26px 28px;
  }
  .main-nav > li.menu-item-has-children > .sub-menu > li.menu-group {
    min-width: 110px;
  }
  .main-nav > li.menu-item-has-children > .sub-menu::before {
    width: 300px;
  }
  .main-nav > li.menu-item-has-children > .sub-menu > li.menu-group > .sub-menu a {
    font-size: 14px;
  }
}

/* ==========================================================================
   CUSTOM FIBC PAGE STYLING
   ========================================================================== */

.custom-fibc-wrapper {
  background-color: var(--bg);
}

.cf-section {
  padding: 84px 0;
}
.cf-section.white {
  background: var(--white);
}
.cf-section.soft {
  background: var(--bg);
}

/* 1. Hero Section */
.cf-hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 76px;
}
.cf-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.cf-hero-text h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 20px;
}
.cf-hero-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 28px;
}
.cf-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.cf-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cf-hero-visual {
  position: relative;
}
.cf-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #1e293b;
}
.cf-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cf-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(18, 21, 28, 0.88);
  backdrop-filter: blur(6px);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}
.cf-image-badge .badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #bce9a8;
}
.cf-image-badge .badge-dim {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* 2. 4-Step Methodology Process */
.cf-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.cf-process-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cf-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 190, 70, 0.7);
  box-shadow: var(--shadow-sm);
}
.cf-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--action);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cf-card-media-box {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  background: #e2e8f0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.cf-card-media-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.cf-dim-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 21, 28, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .02em;
}
.cf-process-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.cf-process-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

/* 3. 10 Customization Dimensions Grid */
.cf-dimensions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 48px;
}
.cf-dim-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cf-dim-card:hover {
  transform: translateY(-4px);
  border-color: #5dae3b;
  box-shadow: var(--shadow-md);
}
.cf-dim-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border);
}
.cf-dim-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--action);
  font-size: 14px;
  font-weight: 800;
}
.cf-dim-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.02em;
}
.cf-dim-img {
  position: relative;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
}
.cf-dim-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.cf-dim-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cf-dim-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 20px;
}
.cf-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}
.cf-pill-list li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--action);
  background: var(--tint);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(104, 190, 70, 0.25);
}

/* 4. Applications Section */
.cf-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cf-app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.cf-app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 190, 70, 0.7);
  box-shadow: var(--shadow-md);
}
.cf-app-media {
  position: relative;
  background: #1e293b;
}
.cf-app-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.cf-app-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cf-app-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.cf-app-body p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.cf-app-feature {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--action);
  background: var(--tint);
  padding: 4px 10px;
  border-radius: 4px;
}

/* 5. FAQ Grid */
.cf-faq-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.cf-faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.cf-faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 190, 70, 0.7);
}
.cf-faq-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.35;
}
.cf-faq-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .cf-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cf-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-dimensions-grid {
    grid-template-columns: 1fr;
  }
  .cf-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cf-hero {
    padding: 56px 0 44px;
  }
  .cf-hero-text h1 {
    font-size: 30px;
  }
  .cf-hero-lead {
    font-size: 15.5px;
  }
  .cf-process-grid {
    grid-template-columns: 1fr;
  }
  .cf-app-grid {
    grid-template-columns: 1fr;
  }
  .cf-dim-header {
    padding: 18px 20px 14px;
  }
  .cf-dim-body {
    padding: 18px 20px 22px;
  }
  .cf-faq-card {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   FIBC SELECTION GUIDE PAGE STYLING
   ========================================================================== */

.selection-guide-wrapper {
  background-color: var(--bg);
}

.guide-section {
  padding: 84px 0;
}
.guide-section.white {
  background: var(--white);
}
.guide-section.soft {
  background: var(--bg);
}

/* 1. Guide Hero */
.guide-hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 76px;
}
.guide-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.guide-hero-text h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 20px;
}
.guide-hero-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 28px;
}
.guide-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.guide-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.guide-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #1e293b;
}
.guide-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.guide-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(18, 21, 28, 0.88);
  backdrop-filter: blur(6px);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}
.guide-image-badge .badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #bce9a8;
}
.guide-image-badge .badge-dim {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* 2. 7 Steps Layout */
.guide-steps-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.guide-step-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.guide-step-card:hover {
  border-color: rgba(104, 190, 70, 0.7);
  box-shadow: var(--shadow-md);
}
.guide-step-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guide-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--tint);
  color: var(--action);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid rgba(104, 190, 70, 0.3);
}
.guide-step-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
}
.guide-step-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.guide-dim-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 21, 28, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.guide-step-content {
  display: flex;
  flex-direction: column;
}
.guide-step-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.3;
}
.guide-step-content p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Calculation & Factor Boxes */
.guide-calc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-calc-box .calc-row {
  font-size: 14px;
  color: var(--ink);
}
.guide-calc-box .calc-row strong {
  color: var(--action);
}

.guide-key-factors {
  background: var(--tint);
  border: 1px solid rgba(104, 190, 70, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.guide-key-factors h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--action);
}
.guide-key-factors ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
}

/* Mini Comparison Table in Step 2 */
.guide-comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}
.guide-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.guide-mini-table th, .guide-mini-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.guide-mini-table th {
  background: #f1f5f9;
  font-weight: 750;
  color: var(--ink);
}
.guide-mini-table td strong {
  color: var(--action);
}
.guide-tip {
  font-size: 13.5px !important;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #92400e !important;
  margin: 0 !important;
}

/* Step 3 & 5 Feature Item Rows */
.guide-feature-rows {
  display: grid;
  gap: 14px;
}
.g-feature-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.g-feature-item.highlight {
  background: #f0fdf4;
  border-color: rgba(104, 190, 70, 0.4);
}
.g-feature-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.g-feature-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* Split Columns in Step 4 */
.guide-split-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.split-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.split-col h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.split-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}
.split-col ul strong {
  color: var(--ink);
}

/* Step 6 Barrier Grid */
.guide-barrier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.barrier-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.barrier-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.barrier-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
}

/* Step 7 Compliance Box */
.guide-compliance-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.comp-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.comp-col h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.comp-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}
.comp-col ul strong {
  color: var(--ink);
}

/* 4. Full Width Selection Matrix Table */
.guide-matrix-section {
  background: var(--ink);
  color: var(--white);
}
.guide-matrix-card {
  background: #1a1e27;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-responsive {
  overflow-x: auto;
}
.guide-full-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.guide-full-table th, .guide-full-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}
.guide-full-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #89919f;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}
.guide-full-table td strong {
  color: var(--white);
}
.guide-full-table tr:last-child td {
  border-bottom: 0;
}

/* 5. 5 Mistakes Grid */
.guide-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-mistake-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.guide-mistake-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
}
.mistake-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
.guide-mistake-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}
.guide-mistake-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}

/* 6. RFQ Preparation Checklist */
.guide-checklist-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.checklist-text h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -.03em;
}
.checklist-text p {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 28px;
}
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.chk-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.chk-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--action);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.chk-item strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.chk-item span {
  font-size: 12.5px;
  color: var(--slate);
}

.checklist-action-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.checklist-action-box h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.checklist-action-box p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 24px;
}
.checklist-action-box .button {
  width: 100%;
}
.chk-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--action);
}

/* Responsive */
@media (max-width: 1024px) {
  .guide-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .guide-step-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .guide-step-aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .guide-step-media {
    max-width: 280px;
  }
  .guide-mistakes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-checklist-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .guide-hero {
    padding: 56px 0 44px;
  }
  .guide-hero-text h1 {
    font-size: 28px;
  }
  .guide-step-card {
    padding: 22px 18px;
  }
  .guide-step-aside {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-step-media {
    max-width: 100%;
    width: 100%;
  }
  .guide-split-specs, .guide-barrier-grid, .guide-compliance-box, .checklist-grid, .guide-mistakes-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE ELEMENTS: ACCORDIONS & SIZING CALCULATOR
   ========================================================================== */

/* FAQ Accordion Styling */
.cf-faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cf-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.cf-faq-item:hover {
  border-color: rgba(104, 190, 70, 0.7);
}
.cf-faq-trigger {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  transition: color .2s ease;
}
.cf-faq-trigger:hover {
  color: var(--action);
}
.cf-faq-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 700;
  color: var(--action);
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.cf-faq-trigger[aria-expanded="true"] .cf-faq-arrow {
  transform: rotate(45deg);
  background: var(--action);
  color: var(--white);
}
.cf-faq-panel {
  overflow: hidden;
}
.cf-faq-content {
  padding: 0 26px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.cf-faq-content p {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* Sizing Calculator Card */
.cf-calc-widget-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.cf-calc-intro {
  margin-bottom: 36px;
  max-width: 680px;
}
.cf-calc-intro h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.cf-calc-intro p {
  font-size: 15.5px;
  color: var(--slate);
  margin: 0;
}
.cf-calc-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.cf-calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-calc-field label {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
}
.cf-calc-field input, .cf-calc-field select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s ease;
}
.cf-calc-field input:focus, .cf-calc-field select:focus {
  outline: none;
  border-color: var(--action);
}
.cf-calc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-calc-results {
  background: var(--white);
  border: 2px solid rgba(104, 190, 70, 0.4);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.cf-calc-result-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--action);
  background: var(--tint);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.cf-res-metric {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.cf-res-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.cf-res-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.cf-res-val.highlight {
  color: var(--action);
  font-size: 32px;
}
.cf-res-note {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.cf-res-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}
.cf-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
}
.cf-spec-row strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .cf-calc-body {
    grid-template-columns: 1fr;
  }
  .cf-calc-widget-card {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   MANUFACTURING CAPABILITIES PAGE
   ========================================================================== */

.mfg-page-wrapper {
  background-color: var(--bg);
}
.mfg-section {
  padding: 84px 0;
}
.mfg-section.white { background: var(--white); }
.mfg-section.soft  { background: var(--bg); }

/* Hero */
.mfg-hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 76px;
}
.mfg-hero-container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.mfg-hero-text h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 20px;
}
.mfg-hero-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 28px;
}
.mfg-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.mfg-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mfg-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #1e293b;
}
.mfg-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.mfg-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(18,21,28,.88);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
}
.mfg-image-badge .badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #bce9a8;
}
.mfg-image-badge .badge-dim {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255,255,255,.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Core process cards */
.mfg-core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 46px;
}
.mfg-core-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mfg-core-card:hover {
  transform: translateY(-4px);
  border-color: #5dae3b;
  box-shadow: var(--shadow-md);
}
.mfg-card-media {
  position: relative;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
}
.mfg-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.mfg-dim-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(18,21,28,.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.mfg-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mfg-stage-num {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--tint);
  border: 1px solid rgba(104,190,70,.3);
  color: var(--action);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mfg-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 12px;
}
.mfg-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 18px;
}
.mfg-check-list {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.mfg-check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}
.mfg-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--action);
  font-weight: 800;
}
.mfg-note {
  margin: 32px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

/* Supporting stage grid */
.mfg-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.mfg-stage-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.mfg-stage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(104,190,70,.7);
}
.mfg-stage-card.highlight {
  background: #f0fdf4;
  border-color: rgba(104,190,70,.45);
}
.mfg-stage-card h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 10px;
}
.mfg-stage-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

/* Audit section */
.mfg-audit-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.mfg-audit-media {
  position: relative;
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}
.mfg-audit-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}
.mfg-audit-items {
  display: grid;
  gap: 16px;
}
.mfg-audit-card {
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.mfg-audit-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.mfg-audit-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 1024px) {
  .mfg-hero-container { grid-template-columns: 1fr; gap: 40px; }
  .mfg-audit-layout { grid-template-columns: 1fr; }
  .mfg-stage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .mfg-core-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mfg-hero { padding: 56px 0 44px; }
  .mfg-hero-text h1 { font-size: 28px; }
  .mfg-hero-lead { font-size: 15.5px; }
  .mfg-card-body { padding: 20px 18px 24px; }
  .mfg-stage-grid { grid-template-columns: 1fr; }
}

/* Audit media sticks beside the verification cards on desktop only */
@media (max-width: 1024px) {
  .mfg-audit-media { position: relative; top: auto; }
}

/* ==========================================================================
   QUALITY CONTROL PAGE — banner hero, alternating gates, tabs, flow rail,
   sample-vs-bulk comparison, dark testing band, plain Q&A grid.
   ========================================================================== */

.qc-page-wrapper { background: var(--white); }

/* 1. Full-bleed banner hero */
.qc-banner {
  position: relative;
  background: #0f172a;
  line-height: 0;
}
.qc-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}
.qc-banner-tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(18,21,28,.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}
.qc-head {
  padding: 72px 0 84px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.qc-head-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
}
.qc-head-title h1 {
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0;
}
.qc-head-side p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 26px;
}
.qc-head-facts {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.qc-head-facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--slate);
}
.qc-head-facts strong {
  color: var(--action);
  font-size: 16px;
  font-weight: 800;
  min-width: 68px;
}
.qc-head-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 2. Alternating gate rows */
.qc-gates { padding: 88px 0; background: var(--bg); }
.qc-gates-intro {
  max-width: 720px;
  margin-bottom: 56px;
}
.qc-gates-intro h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 12px;
}
.qc-gates-intro p { font-size: 16px; color: var(--slate); margin: 0; line-height: 1.6; }

.qc-gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.qc-gate-row + .qc-gate-row { margin-top: 34px; }
.qc-gate-row.reverse .qc-gate-media { order: 2; }
.qc-gate-media {
  position: relative;
  background: #1e293b;
  display: flex;
}
.qc-gate-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.qc-dim-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(18,21,28,.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.qc-gate-body { padding: 44px 46px; }
.qc-gate-index {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--action);
}
.qc-gate-body h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.qc-gate-body > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 26px;
}
.qc-gate-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.qc-gate-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.qc-gate-list dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}
.qc-gate-list dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.5; }

/* 3. Tabbed checklists */
.qc-checks { padding: 88px 0; background: var(--white); }
.qc-checks-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.qc-checks-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
}
.qc-checks-head p { margin: 0; font-size: 15.5px; color: var(--slate); line-height: 1.6; }

.qc-tab-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.qc-tab-list button {
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.qc-tab-list button:hover { border-color: var(--brand); }
.qc-tab-list button[aria-selected="true"],
.qc-tab-list button[data-state="active"] {
  background: var(--action);
  border-color: var(--action);
  color: var(--white);
}
.qc-tab-panel {
  padding: 34px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #f8fafc;
}
.qc-tab-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.qc-check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.qc-check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
}
.qc-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--action);
  font-weight: 800;
}
.qc-check-list strong { color: var(--ink); }

/* 4. Traceability flow rail */
.qc-trace { padding: 88px 0; background: var(--bg); }
.qc-trace-head { max-width: 680px; margin-bottom: 52px; }
.qc-trace-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 12px;
}
.qc-trace-head p { margin: 0; font-size: 15.5px; color: var(--slate); line-height: 1.6; }

.qc-flow {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.qc-flow::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 21px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(104,190,70,.25) 100%);
}
.qc-flow-step {
  position: relative;
  z-index: 1;
  padding-top: 54px;
}
.qc-flow-dot {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  color: var(--action);
  font-size: 13px;
  font-weight: 800;
}
.qc-flow-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.qc-flow-step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--slate); }

/* 5. Sample vs bulk comparison */
.qc-compare { padding: 88px 0; background: var(--white); }
.qc-compare-head { max-width: 760px; margin-bottom: 48px; }
.qc-compare-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 12px;
}
.qc-compare-head p { margin: 0; font-size: 15.5px; color: var(--slate); line-height: 1.6; }

.qc-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}
.qc-compare-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.qc-compare-media { position: relative; background: #1e293b; }
.qc-compare-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.qc-compare-col h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 26px 14px;
}
.qc-compare-list {
  margin: 0 26px 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.qc-compare-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
}
.qc-compare-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--action);
  font-weight: 800;
}
.qc-compare-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.qc-compare-link span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  border: 2px solid var(--brand);
  color: var(--action);
  font-size: 26px;
  font-weight: 800;
}
.qc-compare-link small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  max-width: 90px;
}
.qc-compare-note {
  margin: 34px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

/* 6. Dark testing band */
.qc-testing {
  padding: 84px 0 72px;
  background: var(--ink);
  color: var(--white);
}
.qc-testing-head { max-width: 760px; margin-bottom: 44px; }
.qc-testing-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 0 0 14px;
}
.qc-testing-head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #c9ced8;
}
.qc-testing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.qc-test-block {
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  background: #1a1e27;
}
.qc-test-icon {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.qc-test-block h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
}
.qc-test-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #9ca4b1;
}
.qc-testing-note {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px;
  color: #89919f;
}

/* 7. Plain Q&A grid */
.qc-qa { padding: 88px 0; background: var(--white); }
.qc-qa-head { margin-bottom: 42px; }
.qc-qa-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
}
.qc-qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.qc-qa-card {
  padding: 26px 24px;
  border-top: 3px solid var(--brand);
  background: var(--bg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.qc-qa-card h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 12px;
}
.qc-qa-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}
.qc-qa-card strong { color: var(--ink); }

/* 8. Two-action dark CTA */
.qc-cta {
  padding: 76px 0;
  background: linear-gradient(135deg, #14181f 0%, #1c222c 100%);
  color: var(--white);
}
.qc-cta-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: center;
}
.qc-cta h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 0 0 14px;
  max-width: 660px;
}
.qc-cta p {
  margin: 0;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #b8bfca;
}
.qc-cta-actions { display: grid; gap: 12px; }
.qc-cta-primary,
.qc-cta-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.qc-cta-primary {
  background: var(--brand);
  color: var(--ink);
  border: 1px solid var(--brand);
}
.qc-cta-primary:hover { background: #78cd54; transform: translateY(-1px); color: var(--ink); }
.qc-cta-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.qc-cta-secondary:hover { border-color: var(--brand); color: var(--brand); }

/* Responsive */
@media (max-width: 1024px) {
  .qc-head-grid,
  .qc-checks-head,
  .qc-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .qc-gate-row { grid-template-columns: 1fr; }
  .qc-gate-row.reverse .qc-gate-media { order: 0; }
  .qc-gate-media img { aspect-ratio: 16 / 9; }
  .qc-gate-body { padding: 30px 26px; }
  .qc-flow { grid-template-columns: repeat(2, 1fr); }
  .qc-flow::before { display: none; }
  .qc-compare-grid { grid-template-columns: 1fr; }
  .qc-compare-link { flex-direction: row; justify-content: center; gap: 12px; }
  .qc-testing-grid { grid-template-columns: 1fr; }
  .qc-qa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .qc-banner img { aspect-ratio: 2 / 1; }
  .qc-head { padding: 52px 0 60px; }
  .qc-head-title h1 { font-size: 28px; }
  .qc-gates, .qc-checks, .qc-trace, .qc-compare, .qc-qa { padding: 60px 0; }
  .qc-tab-panel { padding: 24px 20px; }
  .qc-gate-list > div { grid-template-columns: 1fr; gap: 4px; }
  .qc-flow { grid-template-columns: 1fr; }
  .qc-qa-grid { grid-template-columns: 1fr; }
}

/* Plain dropdown column: menu items that are normal links (not the Books
   taxonomy groups) stack vertically inside the same panel. */
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-item:not(.menu-group) {
  position: static;
  display: block;
  width: auto;
  min-width: 208px;
  margin: 0;
  padding: 0;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-item:not(.menu-group) > a {
  display: block;
  margin: 0;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  text-align: left;
}
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-item:not(.menu-group) > a:hover,
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-item:not(.menu-group) > a:focus,
.main-nav > li.menu-item-has-children > .sub-menu > li.menu-item:not(.menu-group).current-menu-item > a {
  background: transparent;
  color: var(--action);
}

/* ==========================================================================
   GENERIC PAGE SHELL (page.php / index.php) — plan pages that are ordinary
   WordPress pages, plus search and archive fallbacks.
   ========================================================================== */

.gp-wrapper { background: var(--white); }

.gp-head {
  padding: 68px 0 56px;
  background: linear-gradient(180deg, var(--white) 0%, #f4f6f3 100%);
  border-bottom: 1px solid var(--border);
}
.gp-head-inner { max-width: 820px; }
.gp-head h1 {
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0;
}
.gp-lead {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
}

.gp-body { padding: 64px 0 84px; background: var(--white); }
.gp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
}

.gp-content > *:first-child { margin-top: 0; }
.gp-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 38px 0 14px;
}
.gp-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 28px 0 10px;
}
.gp-content p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--slate);
  margin: 0 0 18px;
}
.gp-content ul,
.gp-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.75;
}
.gp-content li { margin-bottom: 8px; }
.gp-content strong { color: var(--ink); }
.gp-content a { color: var(--action); font-weight: 600; }
.gp-content a:hover { color: var(--action-hover); }
.gp-content blockquote {
  margin: 0 0 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  font-size: 15.5px;
  color: var(--ink);
}
.gp-page-links { display: flex; gap: 8px; margin: 24px 0 0; }

.gp-list-item {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.gp-list-item h2 { margin: 0 0 8px; font-size: 20px; }
.gp-list-item h2 a { color: var(--ink); }
.gp-list-item h2 a:hover { color: var(--action); }
.gp-list-item p { margin: 0; }

.gp-aside { position: sticky; top: 92px; }
.gp-card {
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.gp-card h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.gp-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 20px;
}
.gp-card .button { width: 100%; }
.gp-card-list {
  margin: 20px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 9px;
}
.gp-card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}
.gp-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--action);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .gp-layout { grid-template-columns: 1fr; gap: 40px; }
  .gp-aside { position: static; }
}

@media (max-width: 640px) {
  .gp-head { padding: 48px 0 40px; }
  .gp-body { padding: 44px 0 60px; }
}

/* About hero: the real factory banner replaces the old 1200 × 900 placeholder.
   The source is a wide banner, so it is shown whole rather than cropped. */
.about-hero-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--bg);
}

/* About page factory-stage cards: the promotional images replace the old
   600 × 450 placeholders. A fixed 4:3 frame keeps the four cards aligned and
   `contain` shows each artwork whole instead of cropping its headline. */
.process-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f1f3f6;
  border-bottom: 1px solid var(--border);
}
.process-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
