/* ============================================================
   B2B Trade v2.1.0 — Minimalist Store Design System
   汽车贴膜门店 · 极简高级感 · 黑白灰单色体系
   ============================================================
   Design Philosophy:
   - "Less, but better" — every element serves content
   - Warm monochromatic palette — no pure black, no stark white
   - Typography-driven hierarchy — spacing > decoration
   - Anti-card: use whitespace and dividers, not boxed containers
   - Sharp edges, thin strokes, generous breathing room
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  /* Surface hierarchy — warm whites */
  --b2b-surface:        #FAFAF8;   /* Page background — warm white */
  --b2b-elevated:       #F3F2EE;   /* Cards, elevated surfaces */
  --b2b-mist:           #E8E6E1;   /* Alternate section background */

  /* Text hierarchy — warm blacks */
  --b2b-ink:            #1C1C1A;   /* Primary text — near-black with warmth */
  --b2b-ink-soft:       #4A4A46;   /* Secondary text — muted charcoal */
  --b2b-ink-muted:      #888780;   /* Tertiary/hint text */

  /* Borders & dividers */
  --b2b-line:           #D3D1C7;   /* Default border */
  --b2b-line-light:     #E8E6E1;   /* Subtle divider */

  /* Semantic — minimal use */
  --b2b-error:          #C0392B;   /* Error states only */

  /* Depth — shadows used sparingly */
  --b2b-shadow-sm:      0 1px 0 0 rgba(28, 28, 26, 0.04);
  --b2b-shadow-md:      0 2px 8px rgba(28, 28, 26, 0.06);
  --b2b-shadow-lg:      0 8px 32px rgba(28, 28, 26, 0.08);

  /* Local system stacks — never trigger external font requests */
  --b2b-font-sans:      -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  --b2b-font-display:   Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

/* ---- Reset & Base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--b2b-ink-soft);
  background: var(--b2b-surface);
  font-family: var(--b2b-font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-sans);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; font-weight: 500; }

p:last-child { margin-bottom: 0; }

a {
  color: var(--b2b-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: opacity 180ms ease;
}

a:hover { opacity: 0.7; }

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

.fragrance-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---- Section Layout ---- */
.b2b-section {
  position: relative;
  padding: 7rem 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
}

.section-heading p,
.section-lead {
  font-size: 1.05rem;
  color: var(--b2b-ink-soft);
  max-width: 60ch;
}

.section-heading.text-center .section-eyebrow,
.section-heading.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Eyebrow — small label above headings */
.section-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--b2b-ink-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---- Buttons — sharp, minimal, two variants ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0;
  font-family: var(--b2b-font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
  user-select: none;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--b2b-ink);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Primary: solid ink */
.btn-b2b-primary {
  color: var(--b2b-surface);
  background: var(--b2b-ink);
  border: 1px solid var(--b2b-ink);
}

.btn-b2b-primary:hover,
.btn-b2b-primary:focus {
  opacity: 0.88;
  color: var(--b2b-surface);
  background: var(--b2b-ink);
}

/* Outline: transparent with border */
.btn-b2b-secondary,
.btn-b2b-outline {
  color: var(--b2b-ink);
  background: transparent;
  border: 1px solid var(--b2b-line);
}

.btn-b2b-secondary:hover,
.btn-b2b-outline:hover {
  color: var(--b2b-ink);
  background: var(--b2b-mist);
  border-color: var(--b2b-ink);
}

/* Light: white text on transparent */
.btn-b2b-light {
  color: var(--b2b-surface);
  background: transparent;
  border: 1px solid rgba(250, 250, 248, 0.3);
}

.btn-b2b-light:hover {
  background: var(--b2b-surface);
  color: var(--b2b-ink);
  border-color: var(--b2b-surface);
  opacity: 1;
}

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--b2b-ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover {
  opacity: 0.7;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
}

/* ---- Header / Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.b2b-header {
  color: var(--b2b-ink);
  background: rgba(250, 250, 248, 0.92);
  border-bottom: 1px solid var(--b2b-line-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.b2b-header.sticky {
  background: rgba(250, 250, 248, 0.98);
  border-color: rgba(28, 28, 26, 0.12);
  box-shadow: 0 8px 24px rgba(28, 28, 26, 0.06);
}

.b2b-header .navbar {
  min-height: 72px;
}

.b2b-wordmark {
  color: var(--b2b-ink);
  font-family: var(--b2b-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.b2b-wordmark:hover {
  opacity: 0.7;
}

.custom-logo,
.custom-logo-link img {
  width: auto;
  max-width: 180px;
  max-height: 48px;
}

.b2b-header .nav-link {
  color: var(--b2b-ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.375rem 0;
  transition: color 180ms ease;
}

.b2b-header .nav-link:hover,
.b2b-header .nav-link:focus,
.b2b-header .nav-link.active {
  color: var(--b2b-ink);
}

/* Header CTA button */
.b2b-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  color: var(--b2b-surface);
  background: var(--b2b-ink);
  border: 1px solid var(--b2b-ink);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.b2b-header-cta:hover {
  opacity: 0.85;
  color: var(--b2b-surface);
}

.admin-bar .site-header { top: 32px; }

/* ---- Hero Section ---- */
.b2b-hero {
  display: flex;
  min-height: 85vh;
  padding: 8rem 0 5rem;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(250, 250, 248, 0.98) 0%,
      rgba(250, 250, 248, 0.92) 42%,
      rgba(250, 250, 248, 0.28) 100%
    ),
    url("../images/hero-car.jpg") center 58% / cover no-repeat;
}

.b2b-hero h1 {
  max-width: 780px;
  margin-bottom: 1.75rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.b2b-hero-lead {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--b2b-ink-soft);
  line-height: 1.7;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
}

.hero-proof-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--b2b-ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proof-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--b2b-ink);
}

/* ---- Trust Strip ---- */
.trust-strip {
  color: var(--b2b-surface);
  background:
    linear-gradient(90deg, rgba(20, 20, 18, 0.9), rgba(20, 20, 18, 0.76)),
    url("../images/trust-workshop-bg.jpg") 62% 55% / cover no-repeat;
}

.trust-metric {
  min-height: 120px;
  padding: 2rem 2rem 1.75rem;
  border-right: 1px solid rgba(250, 250, 248, 0.1);
}

.trust-metric:last-child { border-right: 0; }

.trust-metric strong,
.trust-metric span {
  display: block;
}

.trust-metric strong {
  margin-bottom: 0.5rem;
  color: var(--b2b-surface);
  font-family: var(--b2b-font-sans);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
}

.trust-metric span {
  color: rgba(250, 250, 248, 0.6);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Service Cards (Capability Grid) ---- */
.services-section,
.capabilities-section {
  background: var(--b2b-surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--b2b-line);
}

.capability-grid-archive {
  background: transparent;
}

.capability-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-rows: auto 1fr;
  background: var(--b2b-surface);
}

.capability-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--b2b-mist);
}

.capability-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.capability-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.capability-card:hover .capability-image img {
  transform: scale(1.03);
}

.capability-body {
  display: flex;
  min-width: 0;
  padding: 1.5rem;
  flex-direction: column;
}

.capability-label {
  margin-bottom: 0.5rem;
  color: var(--b2b-ink-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.capability-body h3 a {
  color: var(--b2b-ink);
  text-decoration: none;
}

.capability-body h3 a:hover {
  opacity: 0.7;
}

.capability-body p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--b2b-ink-soft);
}

.capability-specs {
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  color: var(--b2b-ink);
  border-top: 1px solid var(--b2b-line);
  font-size: 0.85rem;
  font-weight: 500;
}

.capability-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Homepage Carousels ---- */
.b2b-carousel {
  --carousel-gap: 1px;
  --carousel-items: 1;
}

.services-carousel {
  --carousel-items: 2;
}

.cases-carousel {
  --carousel-items: 2;
}

.b2b-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.b2b-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.b2b-carousel .b2b-carousel-track {
  display: grid;
  width: auto;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-columns: none;
  gap: var(--carousel-gap);
}

.services-carousel .b2b-carousel-track {
  grid-auto-columns: calc(50% - 0.5px);
}

.cases-carousel .b2b-carousel-track {
  grid-auto-columns: calc(50% - 0.5px);
}

.b2b-carousel-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.b2b-carousel-controls {
  display: none;
  min-height: 44px;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.b2b-carousel.is-ready .b2b-carousel-controls {
  display: flex;
}

.b2b-carousel.is-ready.has-single-page .b2b-carousel-controls {
  display: none;
}

.b2b-carousel-arrow,
.b2b-carousel-dot {
  appearance: none;
  color: var(--b2b-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.b2b-carousel-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--b2b-line);
  font-size: 1.1rem;
  line-height: 1;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.b2b-carousel-arrow:hover {
  color: var(--b2b-surface);
  background: var(--b2b-ink);
  border-color: var(--b2b-ink);
  transform: translateY(-2px);
}

.b2b-carousel-arrow:active {
  transform: translateY(0);
}

.b2b-carousel-arrow:focus-visible,
.b2b-carousel-dot:focus-visible {
  outline: 2px solid var(--b2b-ink);
  outline-offset: 3px;
}

.b2b-carousel-dots {
  display: flex;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.b2b-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: var(--b2b-line);
  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.b2b-carousel-dot.is-active {
  width: 24px;
  background: var(--b2b-ink);
}

/* ---- Case Grid ---- */
.cases-section {
  background: var(--b2b-mist);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--b2b-line);
}

.case-grid-archive {
  background: transparent;
}

.case-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--b2b-surface);
  text-decoration: none;
  aspect-ratio: 4 / 3;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem;
  color: var(--b2b-surface);
  font-family: var(--b2b-font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: linear-gradient(to top, rgba(28, 28, 26, 0.9), transparent);
}

/* Case filter pills */
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.case-filter .btn {
  border-radius: 0;
  font-size: 0.72rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.08em;
}

/* ---- CTA Section ---- */
.cta-section {
  background:
    linear-gradient(90deg, rgba(20, 20, 18, 0.88), rgba(20, 20, 18, 0.7)),
    url("../images/consultation-studio-bg.jpg") center 58% / cover no-repeat;
  color: var(--b2b-surface);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--b2b-surface);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-section .section-lead {
  color: rgba(250, 250, 248, 0.7);
  margin: 0 auto 2rem;
  max-width: 520px;
}

.cta-section .btn-b2b-primary {
  color: var(--b2b-ink);
  background: var(--b2b-surface);
  border-color: var(--b2b-surface);
}

.cta-section .btn-b2b-primary:hover,
.cta-section .btn-b2b-primary:focus {
  color: var(--b2b-ink);
  background: var(--b2b-mist);
  border-color: var(--b2b-mist);
}

/* ---- FAQ Section ---- */
.faq-section {
  background: transparent;
}

.faq-section .accordion,
.faq-section .accordion-item,
.faq-section .accordion-collapse,
.faq-section .accordion-body {
  background: transparent;
}

.faq-section .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--b2b-line);
}

.faq-section .accordion-button {
  padding: 1.5rem 0;
  color: var(--b2b-ink);
  background: transparent;
  box-shadow: none;
  font-family: var(--b2b-font-sans);
  font-size: 1.1rem;
  font-weight: 400;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--b2b-ink);
  background: transparent;
}

.faq-section .accordion-button::after {
  filter: none;
  opacity: 0.4;
  transition: opacity 220ms ease, transform 220ms ease;
}

.faq-section .accordion-button:hover::after,
.faq-section .accordion-button:not(.collapsed)::after {
  opacity: 0.75;
}

.faq-section .accordion-body {
  padding: 0 0 1.5rem;
  color: var(--b2b-ink-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.faq-section .accordion-collapse.collapsing .accordion-body,
.faq-section .accordion-collapse.show .accordion-body {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Factory / Store Environment ---- */
.factory-proof {
  background: var(--b2b-surface);
}

.factory-points {
  list-style: none;
  padding: 0;
}

.factory-points li {
  display: flex;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
  color: var(--b2b-ink);
  font-size: 1rem;
}

.factory-points span {
  color: var(--b2b-ink-soft);
  font-weight: 500;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 220px);
  gap: 1px;
  background: var(--b2b-line);
}

.factory-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--b2b-mist);
}

.factory-gallery figure:first-child {
  grid-row: span 2;
}

.factory-gallery-extra {
  grid-column: 1 / -1;
  height: 220px;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.factory-gallery figure:hover img {
  transform: scale(1.03);
}

/* ---- Store Credentials ---- */
.credentials-section {
  background: var(--b2b-elevated);
}

.credentials-section .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--b2b-line);
}

.credential-card {
  min-width: 0;
  background: var(--b2b-surface);
}

.credential-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--b2b-mist);
}

.credential-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.credential-media:hover {
  opacity: 1;
}

.credential-media:hover img {
  transform: scale(1.03);
}

.credential-media.is-contain {
  padding: 1rem;
  background: #fff;
}

.credential-media.is-contain img {
  object-fit: contain;
}

.credential-body {
  padding: 1.5rem;
}

.credential-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.credential-body p {
  margin: 0;
  color: var(--b2b-ink-soft);
  font-size: 0.9rem;
}

/* ---- Factory Video ---- */
.factory-video-section {
  padding-bottom: 7rem;
}

.factory-video-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--b2b-ink);
}

.factory-video-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.factory-video-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 640px;
  min-height: 500px;
  padding: 3rem;
  flex-direction: column;
  justify-content: center;
  color: rgba(250, 250, 248, 0.75);
}

.factory-video-overlay h2,
.factory-video-overlay .section-eyebrow {
  color: var(--b2b-surface);
}

.factory-video-overlay h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.factory-video-disclosure {
  max-width: 560px;
  margin-top: 0.5rem;
  color: rgba(250, 250, 248, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.video-play-link {
  display: inline-flex;
  margin-top: 1.5rem;
  align-items: center;
  gap: 1rem;
  color: var(--b2b-surface);
  font-weight: 500;
  text-decoration: none;
}

.video-play-link:hover {
  opacity: 0.8;
}

/* ---- Documents Section ---- */
.documents-section {
  color: rgba(250, 250, 248, 0.65);
  background:
    linear-gradient(90deg, rgba(20, 20, 18, 0.95), rgba(20, 20, 18, 0.86)),
    url("../images/trust-workshop-bg.jpg") center 55% / cover no-repeat;
}

.documents-section h2,
.documents-section h3,
.documents-section .section-eyebrow {
  color: var(--b2b-surface);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(250, 250, 248, 0.12);
}

.document-grid article {
  display: flex;
  min-width: 0;
  padding: 1.75rem;
  gap: 1rem;
  background: rgba(28, 28, 26, 0.88);
}

.document-grid article > span {
  color: rgba(250, 250, 248, 0.4);
  font-weight: 500;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.document-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.document-grid p {
  font-size: 0.92rem;
  color: rgba(250, 250, 248, 0.6);
}

/* ---- Footer ---- */
.b2b-footer {
  color: rgba(250, 250, 248, 0.55);
  background: #141412;
}

.b2b-footer a {
  color: rgba(250, 250, 248, 0.7);
  text-decoration: none;
}

.b2b-footer a:hover {
  color: var(--b2b-surface);
  opacity: 1;
}

.b2b-footer .h3,
.b2b-footer h2 {
  color: var(--b2b-surface);
}

.footer-positioning {
  max-width: 480px;
  font-size: 1rem;
}

.footer-kicker {
  color: rgba(250, 250, 248, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-bottom {
  align-items: center;
  border-color: rgba(250, 250, 248, 0.08) !important;
  font-size: 0.78rem;
}

.footer-icp {
  text-align: center;
}

.footer-icp a {
  text-decoration: underline;
  text-decoration-color: rgba(250, 250, 248, 0.22);
  text-underline-offset: 0.2em;
}

/* ---- WordPress Content Area ---- */
.fragrance-content-area {
  min-height: 65vh;
  padding-top: 8.5rem !important;
  padding-bottom: 5rem !important;
}

.fragrance-entry {
  max-width: 780px;
  margin: 0 auto;
}

.entry-title {
  font-family: var(--b2b-font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ---- Accessibility ---- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto !important;
  clip-path: none;
  color: var(--b2b-ink);
  background: var(--b2b-surface);
  border: 2px solid var(--b2b-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--b2b-ink);
  outline-offset: 2px;
}

/* ---- WordPress Alignments ---- */
.alignleft   { float: left;   margin: 0 1.5rem 1rem 0; }
.alignright  { float: right;  margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignwide   { width: 90vw; max-width: 90vw; margin-left: calc(50% - 45vw); }
.wp-caption,
.gallery-caption { max-width: 100%; }

/* ---- Inner Pages ---- */
.page-header,
.b2b-section.about-intro,
.contact-section,
.page-content {
  padding-top: 8.5rem;
}

.b2b-section.about-intro {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.7), rgba(16, 17, 15, 0.42)),
    url("../images/store/storefront.jpg") center 42% / cover no-repeat;
}

.about-intro .section-heading,
.about-intro .section-eyebrow,
.about-intro h1,
.about-intro .about-content {
  color: inherit;
}

.page-content {
  padding-bottom: 5rem;
}

/* Breadcrumb */
.breadcrumb-nav {
  color: var(--b2b-ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-word;
}

.breadcrumb-nav a {
  color: var(--b2b-ink-soft);
  text-decoration: none;
  white-space: normal;
}

.breadcrumb-nav a:hover {
  color: var(--b2b-ink);
  opacity: 1;
}

/* Content typography */
.service-content,
.about-content,
.case-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--b2b-ink-soft);
}

.case-types {
  color: var(--b2b-ink-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---- About Page CTA ---- */
.about-cta {
  padding: 5rem 0;
  color: var(--b2b-surface);
  background:
    linear-gradient(90deg, rgba(20, 20, 18, 0.88), rgba(20, 20, 18, 0.7)),
    url("../images/consultation-studio-bg.jpg") center 58% / cover no-repeat;
  text-align: center;
}

.about-cta h2 {
  color: var(--b2b-surface);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-cta .section-lead {
  color: rgba(250, 250, 248, 0.74);
}

.about-cta .btn-b2b-primary {
  color: var(--b2b-ink);
  background: var(--b2b-surface);
  border-color: var(--b2b-surface);
}

.about-cta .btn-b2b-primary:hover,
.about-cta .btn-b2b-primary:focus {
  color: var(--b2b-ink);
  background: var(--b2b-mist);
  border-color: var(--b2b-mist);
}

/* ---- Contact Page ---- */
.contact-section {
  padding-top: 0;
  background: var(--b2b-surface);
}

.contact-hero-grid {
  min-height: 520px;
  background: var(--b2b-elevated);
}

.contact-hero-copy {
  display: flex;
  height: 100%;
  min-height: 520px;
  padding: clamp(2.5rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.contact-hero-copy h1 {
  margin-bottom: 1.5rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 300;
}

.contact-hero-lead {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--b2b-ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-store-media {
  position: relative;
  height: 100%;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--b2b-mist);
}

.contact-store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.contact-store-media:hover img {
  transform: scale(1.025);
}

.contact-store-media figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: rgba(16, 17, 15, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.contact-details-section {
  background: var(--b2b-mist);
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--b2b-line);
}

.contact-detail-grid.has-hours {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-detail-card {
  min-width: 0;
  padding: 2rem;
  background: var(--b2b-surface);
}

.contact-detail-label {
  margin-bottom: 1.5rem;
  color: var(--b2b-ink-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail-card h3,
.contact-detail-card h3 a {
  margin: 0;
  color: var(--b2b-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  text-decoration: none;
}

.contact-detail-card h3 a:hover {
  opacity: 0.65;
}

.contact-detail-empty {
  margin: 0;
  color: var(--b2b-ink-muted);
}

.contact-map-section {
  background: var(--b2b-surface);
}

.contact-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-map-heading h2 {
  margin-bottom: 0.75rem;
}

.contact-map-heading p:last-child {
  color: var(--b2b-ink-soft);
}

.contact-map-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(28, 28, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 26, 0.06) 1px, transparent 1px),
    var(--b2b-mist);
  background-size: 48px 48px;
  border: 1px solid var(--b2b-line);
}

.contact-map-panel iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
}

.contact-map-placeholder {
  display: flex;
  min-height: 520px;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.contact-map-placeholder span {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-map-placeholder p {
  margin: 0;
  color: var(--b2b-ink-soft);
}

/* ---- News ---- */
.news-page {
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.news-page-header {
  max-width: 760px;
  padding: 1.5rem 0 clamp(3rem, 6vw, 5rem);
}

.news-page-header h1 {
  margin-bottom: 1.25rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 300;
}

.news-page-header > p:last-child,
.news-page-header .archive-description {
  color: var(--b2b-ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-page-header .archive-description > :last-child {
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.news-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--b2b-surface);
  border: 1px solid var(--b2b-line);
  flex-direction: column;
  transition:
    border-color 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-card:hover {
  border-color: var(--b2b-ink-muted);
  transform: translateY(-3px);
}

.news-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--b2b-mist);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-card:hover .news-card-media img {
  transform: scale(1.025);
}

.news-card-body {
  display: flex;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  flex: 1;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  color: var(--b2b-ink-muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.news-categories a {
  color: var(--b2b-ink);
  font-weight: 600;
  text-decoration: none;
}

.news-categories a:hover,
.news-categories a:focus {
  opacity: 0.65;
}

.news-card h2 {
  margin-bottom: 1rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.28;
}

.news-card h2 a {
  color: var(--b2b-ink);
  text-decoration: none;
}

.news-card-body > p {
  margin-bottom: 1.5rem;
  color: var(--b2b-ink-soft);
  line-height: 1.75;
}

.news-card-body .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.news-pagination {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.news-pagination .nav-links,
.news-single .page-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-pagination .page-numbers,
.news-single .post-page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.85rem;
  color: var(--b2b-ink);
  background: var(--b2b-surface);
  border: 1px solid var(--b2b-line);
  text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers:focus,
.news-single .post-page-numbers.current,
.news-single .post-page-numbers:hover,
.news-single .post-page-numbers:focus {
  color: var(--b2b-surface);
  background: var(--b2b-ink);
  border-color: var(--b2b-ink);
}

.news-empty {
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--b2b-mist);
  text-align: center;
}

.news-empty h2 {
  margin-bottom: 1rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.news-empty p {
  margin: 0 auto 2rem;
  color: var(--b2b-ink-soft);
}

.news-single {
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.news-single-header {
  max-width: 940px;
  margin: 2rem auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.news-single-header .news-meta {
  justify-content: center;
}

.news-single-header h1 {
  margin: 0;
  font-family: var(--b2b-font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.14;
}

.news-single-image {
  max-width: 1120px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--b2b-mist);
}

.news-single-image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-single-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--b2b-ink);
  font-size: 1.05rem;
  line-height: 1.9;
}

.news-single-content > * {
  max-width: 100%;
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
  margin-top: 2.25em;
  margin-bottom: 0.75em;
  font-family: var(--b2b-font-display);
  font-weight: 400;
  line-height: 1.3;
}

.news-single-content a {
  color: var(--b2b-ink);
  text-underline-offset: 0.18em;
}

.news-single-content img,
.news-single-content figure {
  height: auto;
}

.news-single-content blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  color: var(--b2b-ink-soft);
  border-left: 3px solid var(--b2b-ink);
}

.news-single .page-links {
  margin-top: 2.5rem;
}

.news-post-navigation {
  max-width: 960px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--b2b-line);
}

.news-post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.news-post-navigation .nav-next {
  text-align: right;
}

.news-post-navigation a {
  display: inline-flex;
  color: var(--b2b-ink);
  flex-direction: column;
  text-decoration: none;
}

.news-post-navigation .nav-subtitle {
  margin-bottom: 0.5rem;
  color: var(--b2b-ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.news-post-navigation .nav-title {
  font-family: var(--b2b-font-display);
  font-size: 1.25rem;
}

.news-single-cta {
  max-width: 960px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--b2b-mist);
  text-align: center;
}

.news-single-cta h2 {
  margin-bottom: 1rem;
  font-family: var(--b2b-font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.news-single-cta p {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: var(--b2b-ink-soft);
}

/* ---- Reveal Motion ---- */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(var(--reveal-distance, 18px));
  transition:
    opacity 550ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* XL down — 1199px */
@media (max-width: 1199px) {
  /* Offcanvas mobile menu */
  .b2b-header .offcanvas {
    max-width: 320px;
    width: 85vw !important;
    height: 100dvh;
    height: 100vh;
    overflow-y: auto;
    background: var(--b2b-surface);
    border-left: 1px solid var(--b2b-line-light);
    box-shadow: var(--b2b-shadow-lg, 0 0 30px rgba(28,28,26,0.08));
  }

  .b2b-header .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-bottom: 1px solid var(--b2b-line-light);
    padding: 1.25rem 1.5rem;
    margin: 0;
  }

  .b2b-header .offcanvas-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--b2b-ink);
  }

  .b2b-header .offcanvas-body {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    padding: 0.5rem 1.5rem 2rem;
    overflow-y: auto;
  }

  .b2b-header .offcanvas .navbar-nav {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    margin: 0 0 1.5rem 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }

  .b2b-header .offcanvas .nav-item {
    border-bottom: 1px solid var(--b2b-line-light);
    width: 100%;
    opacity: 0;
    transform: translateX(8px);
    transition:
      opacity 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .b2b-header .offcanvas.showing .nav-item,
  .b2b-header .offcanvas.show .nav-item {
    opacity: 1;
    transform: translateX(0);
  }

  .b2b-header .offcanvas .nav-item:nth-child(2) { transition-delay: 40ms; }
  .b2b-header .offcanvas .nav-item:nth-child(3) { transition-delay: 80ms; }
  .b2b-header .offcanvas .nav-item:nth-child(4) { transition-delay: 120ms; }
  .b2b-header .offcanvas .nav-item:nth-child(5) { transition-delay: 160ms; }
  .b2b-header .offcanvas .nav-item:nth-child(6) { transition-delay: 200ms; }
  .b2b-header .offcanvas .nav-item:nth-child(7) { transition-delay: 240ms; }

  .b2b-header .offcanvas.hiding .nav-item {
    opacity: 0;
    transform: translateX(4px);
    transition-delay: 0ms;
  }

  .b2b-header .offcanvas .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    color: var(--b2b-ink);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    transition: color 180ms ease;
  }

  .b2b-header .offcanvas .nav-link:hover,
  .b2b-header .offcanvas .nav-link:focus {
    color: var(--b2b-ink-soft);
  }

  .b2b-header .offcanvas .nav-link.active,
  .b2b-header .offcanvas .current-menu-item > .nav-link {
    color: var(--b2b-ink);
    font-weight: 600;
  }

  .b2b-header .b2b-header-cta {
    align-self: flex-start;
  }

  /* Navbar layout overrides for collapsed state */
  .b2b-header .navbar-nav {
    gap: 1.25rem;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* LG down — 991px */
@media (max-width: 991px) {
  .cases-carousel {
    --carousel-items: 1;
  }

  .cases-carousel .b2b-carousel-track {
    grid-auto-columns: 100%;
  }

  .b2b-section {
    padding: 5rem 0;
  }

  .b2b-hero {
    min-height: 0;
    padding: 7rem 0 4.5rem;
  }

  .factory-gallery {
    margin-top: 1.5rem;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factory-video-section {
    padding-bottom: 5rem;
  }

  .contact-hero-grid,
  .contact-hero-copy,
  .contact-store-media {
    min-height: 420px;
  }

  .contact-detail-grid,
  .contact-detail-grid.has-hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map-panel,
  .contact-map-panel iframe,
  .contact-map-placeholder {
    min-height: 420px;
  }
}

/* Admin bar — 782px */
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* MD down — 768px */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .b2b-section {
    padding: 4rem 0;
  }

  .b2b-hero {
    padding-top: 6.5rem;
    background:
      linear-gradient(rgba(250, 250, 248, 0.84), rgba(250, 250, 248, 0.84)),
      url("../images/hero-car.jpg") 62% center / cover no-repeat;
  }

  .b2b-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-proof-list {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-metric {
    min-height: 110px;
    padding: 1.5rem 1.25rem;
    border-right: 1px solid rgba(250, 250, 248, 0.1);
    border-bottom: 1px solid rgba(250, 250, 248, 0.1);
  }

  .trust-metric:nth-child(even) {
    border-right: 0;
  }

  .capability-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .news-post-navigation .nav-next {
    text-align: left;
  }

  .b2b-carousel-controls {
    margin-top: 1.25rem;
  }

  .factory-gallery {
    grid-template-rows: repeat(2, 160px);
  }

  .factory-video-card,
  .factory-video-overlay {
    min-height: 420px;
  }

  .factory-video-overlay {
    padding: 2rem 1.5rem;
  }

  .page-header,
  .b2b-section.about-intro,
  .contact-section,
  .page-content {
    padding-top: 7rem;
  }

  .page-content {
    padding-bottom: 4rem;
  }

  .contact-section {
    padding-top: 0;
  }

  .contact-hero-copy {
    min-height: auto;
    padding: 3rem 2rem;
  }

  .contact-store-media {
    min-height: 360px;
  }

  .contact-detail-grid,
  .contact-detail-grid.has-hours {
    grid-template-columns: 1fr;
  }

  .contact-map-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-panel,
  .contact-map-panel iframe,
  .contact-map-placeholder {
    min-height: 360px;
  }

  .about-cta {
    padding: 4rem 0;
  }
}

/* XS carousel — 575px */
@media (max-width: 575px) {
  .services-carousel,
  .cases-carousel {
    --carousel-items: 1;
  }

  .b2b-carousel .b2b-carousel-track {
    grid-auto-columns: 100%;
    grid-template-columns: none;
  }
}

/* SM down — 480px */
@media (max-width: 480px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .b2b-hero .btn {
    width: 100%;
  }

  .factory-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }

  .factory-gallery figure:first-child {
    grid-row: auto;
  }

  .factory-gallery-extra {
    grid-column: auto;
    height: auto;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .capability-body {
    padding: 1.25rem;
  }

  .trust-metric {
    padding: 1.25rem 1rem;
  }

  .contact-hero-actions .btn,
  .contact-map-heading .btn {
    width: 100%;
  }
}
