/*
Theme Name: PinnacleCraft
Theme URI: https://packkk.vercel.app/
Author: Aiman Shafiq
Description: PinnacleCraft.co — custom packaging company theme, white/beige/black editorial design with scroll animations.
Version: 3.0-LATEST
Requires PHP: 7.4
Text Domain: pinnaclecraft
*/

/* ==========================================================================
   Design tokens
   -- White:      #FFFFFF
   -- Cream:      #F3EEE1   (paper / alternating section bg)
   -- Ink:        #1A1710   (near-black text/buttons, warm-toned)
   -- Charcoal:   #4A4636   (secondary text)
   -- Kraft:      #C08A54   (cardboard accent)
   -- Stamp-Red:  #C1392B   (ink-stamp accent — used sparingly, like a packaging rubber stamp)
   -- Border:     #E3DAC5   (hairline / die-line dashes)
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --cream: #F3EEE1;
  --header-bg: #FFFFFF;
  --ink: #1A1710;
  --charcoal: #4A4636;
  --navy: #1A1710;
  --green: #C08A54;
  --tan: #C08A54;
  --kraft: #C08A54;
  --stamp: #C1392B;
  --border: #E3DAC5;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gradient-warm: linear-gradient(135deg, #C08A54 0%, #D9A96A 50%, #C1392B 100%);
  --shadow-soft: 0 4px 16px rgba(26,23,16,0.06);
  --shadow-mid: 0 20px 40px rgba(26,23,16,0.10);
  --shadow-deep: 0 30px 60px rgba(26,23,16,0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

::selection { background: var(--ink); color: var(--white); }

.brand-strip {
  height: 4px;
  background: var(--gradient-warm);
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  flex-shrink: 0;
  border-radius: 50%;
  transition: color 0.25s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-icon-btn:hover {
  color: var(--navy);
  transform: translateY(-3px) rotate(-8deg) scale(1.1);
  background-color: rgba(192,138,84,0.1);
  box-shadow: 0 6px 16px rgba(192,138,84,0.25);
}
.nav-icon-btn:active { transform: translateY(-1px) scale(0.95); }
@media (prefers-reduced-motion: reduce) {
  .nav-icon-btn:hover { transform: none; }
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.3;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.utility-item svg { flex-shrink: 0; color: var(--navy); }
a.utility-item:hover { color: var(--navy); }
.utility-item span { display: flex; flex-direction: column; }
.utility-item strong { color: var(--ink); font-weight: 700; font-size: 12.5px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  will-change: transform;
}
/* Buttons are magnetically translated by JS via inline transform;
   hover adds a satisfying pop + lift regardless of magnetic offset */
.btn:hover { transform: translateY(-4px) scale(1.05); }
.btn:active { transform: translateY(-1px) scale(0.98); transition-duration: 0.12s; }

/* Animated gradient border sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--btn-angle, 0deg), transparent 0%, rgba(255,255,255,0.9) 12%, transparent 24%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  animation: btnAngleSpin 2.6s linear infinite paused;
  z-index: 1;
}
.btn:hover::after { opacity: 1; animation-play-state: running; }
@keyframes btnAngleSpin { to { --btn-angle: 360deg; } }
@property --btn-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* Ripple click animation (span injected by JS at click point) */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.45);
  pointer-events: none;
  animation: btnRipple 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
@keyframes btnRipple {
  to { transform: scale(2.6); opacity: 0; }
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(26,23,16,0.18);
}
.btn-primary:hover {
  background: #322c1f;
  box-shadow: 0 18px 36px rgba(26,23,16,0.32), 0 0 24px rgba(192,138,84,0.35);
}

.btn-secondary {
  background: var(--tan);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(192,138,84,0.28);
}
.btn-secondary:hover {
  background: #a8794a;
  box-shadow: 0 18px 36px rgba(192,138,84,0.4), 0 0 24px rgba(192,138,84,0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); box-shadow: 0 14px 28px rgba(26,23,16,0.2); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none !important; transform: none !important; animation: none !important; }
}

/* ---------- Scroll reveal (fade-up + blur-to-clear) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); filter: blur(0px); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { filter: none !important; transition-duration: 0.01ms !important; }
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Top info bar (support phone + free shipping, above navbar) ---------- */
.top-info-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
}
.top-info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 12.5px;
}
.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.top-info-item strong { color: var(--white); font-weight: 600; }
a.top-info-item:hover { color: var(--white); }

@media (max-width: 640px) {
  .top-info-bar-inner { font-size: 11.5px; padding: 7px 0; }
  .top-info-item span { white-space: nowrap; }
}
@media (max-width: 480px) {
  .top-info-bar-inner { justify-content: center; gap: 20px; }
}

/* ---------- Header / Navbar — straight full-width bar ---------- */
.navbar-float-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #16150F;
  box-shadow: 0 2px 10px rgba(22,21,15,0.14);
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}
.navbar-float-wrap.is-scrolled {
  background-color: #0F0E0A;
  box-shadow: 0 14px 30px rgba(22,21,15,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-scrolled { transform: translateY(-1px); }

/* Logo: small circular icon + wordmark, both light on dark pill */
.site-header .logo-block { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}
.logo-pill-icon img { width: 19px; height: auto; display: block; object-fit: contain; }
.site-header .logo-block:hover .logo-pill-icon {
  transform: rotate(-8deg) scale(1.08);
  background: #fff;
}
.logo-pill-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Center nav links */
.nav-menu {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2px;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(246,243,236,0.72);
  padding: 9px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
/* subtle underline growing beneath the pill highlight */
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  left: 16px; bottom: 4px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--tan);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { width: calc(100% - 32px); }

/* dropdown — dark card popover, same family as the pill navbar itself */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  min-width: 230px;
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(22,21,15,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform-origin: top center;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 11px 16px;
  font-size: 13.5px;
  text-transform: none;
  font-weight: 500;
  color: rgba(246,243,236,0.72);
  border-radius: 13px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav-menu .sub-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-menu .sub-menu a::after { display: none; }
.menu-item-has-children > a .caret { font-size: 9px; margin-top: 1px; opacity: 0.6; transition: transform 0.25s ease; }
.menu-item-has-children:hover > a .caret { transform: rotate(180deg); opacity: 1; }

/* Mega-menu ("Box by Industry") — same dark dropdown card as a normal
   .sub-menu, just laid out as multiple columns (one per category) instead
   of a single stacked list, the way customboxesoptions.com groups theirs. */
.nav-menu .mega-menu {
  display: flex;
  gap: 8px;
  min-width: 620px;
  max-width: calc(100vw - 48px);
  align-items: flex-start;
  /* "Box by Industry" sits near the LEFT edge of the nav row, so unlike a
     normal single-column dropdown this wide panel opens flush from the
     left edge of its own trigger (not centered) — centering it here would
     push half the panel off the left side of the screen on laptop widths. */
  left: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
}
.nav-menu li:hover > .mega-menu {
  transform: translateY(0) scale(1);
}
.mega-group { flex: 1; min-width: 140px; }
.mega-group-title {
  display: block;
  padding: 8px 12px 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tan) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 4px;
}
.mega-group-title:hover { background: transparent !important; }
.mega-group-list a { padding: 9px 12px; font-size: 13px; }

/* Right side: white CTA pill + mobile toggle */
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 8px 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background-color 0.3s ease;
}
.btn-pill-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--tan);
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}
.btn-pill-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.btn-pill-cta:hover .btn-pill-cta-arrow { transform: rotate(90deg); background: var(--stamp); }
.btn-pill-cta:active { transform: translateY(0) scale(0.97); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.3s ease;
}
.menu-toggle:hover { background: rgba(255,255,255,0.16); }

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.2s ease;
}
.search-toggle:hover { background: rgba(255,255,255,0.16); }
.search-toggle.is-active { background: var(--tan); color: var(--ink); }

.support-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.support-badge:hover { background: rgba(255,255,255,0.16); }
.support-badge-icon {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tan);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-badge-icon::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tan);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 0 rgba(192,138,84,0.6);
  animation: supportPulse 1.8s infinite;
}
@keyframes supportPulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,138,84,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(192,138,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,138,84,0); }
}
.support-badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.support-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tan);
}
.support-badge-number {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--white);
}

@media (max-width: 1560px) {
  .support-badge-text { display: none; }
  .support-badge { padding: 6px; }
}

.site-search-box {
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.35s ease;
}
.site-search-box.is-open {
  max-height: 90px;
  opacity: 1;
  margin-top: 10px;
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 8px 6px 20px;
  box-shadow: var(--shadow-mid);
}
.site-search-form svg { flex-shrink: 0; color: var(--charcoal); }
.site-search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body, inherit);
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 0;
  outline: none;
}
.site-search-form input[type="search"]::placeholder { color: rgba(74,70,54,0.5); }
.site-search-submit {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.site-search-submit:hover { background: var(--tan); color: var(--ink); }

@media (max-width: 640px) {
  .site-search-form { padding: 6px 6px 6px 16px; }
  .site-search-submit { padding: 10px 16px; font-size: 12px; }
}

/* ---------- Header quote-list toggle + panel ---------- */
.quote-list-toggle { position: relative; }
.quote-list-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--stamp);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #16150F;
}

.quote-list-box {
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.35s ease;
}
.quote-list-box.is-open {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}
.quote-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-mid);
}
.quote-list-count { font-weight: 500; font-size: 12.5px; color: var(--charcoal); }
.quote-list-items {
  background: var(--white);
  padding: 4px 10px;
  max-height: 220px;
  overflow-y: auto;
}
.quote-list-empty { font-size: 13px; color: var(--charcoal); padding: 16px 8px; text-align: center; }
.quote-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
}
.quote-list-item:hover { background: var(--cream); }
.quote-list-item-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.quote-list-item-img img { width: 100%; height: 100%; object-fit: cover; }
.quote-list-item-name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quote-list-item-remove {
  border: none;
  background: none;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.quote-list-item-remove:hover { color: var(--stamp); }
.quote-list-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow-mid);
}
.quote-list-box.is-empty .quote-list-send { display: none; }

.quote-list-email-row {
  background: var(--white);
  padding: 10px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-list-email-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  box-sizing: border-box;
}
.quote-list-email-input:focus { outline: none; border-color: var(--tan); }
.quote-list-email-send {
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}
.quote-list-email-send:disabled { opacity: 0.6; cursor: not-allowed; }
.quote-list-email-msg { font-size: 12px; text-align: center; margin: 0; }
.quote-list-email-msg.is-success { color: var(--green); }
.quote-list-email-msg.is-error { color: var(--stamp); }

/* Mobile dropdown panel (toggled via JS adding .mobile-open) */
@media (max-width: 860px) {
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--ink);
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 24px 48px rgba(22,21,15,0.35), 0 0 0 1px rgba(255,255,255,0.06);
    z-index: 50;
  }
  .nav-menu.mobile-open > li > a {
    color: rgba(246,243,236,0.78);
    text-transform: none;
    font-size: 14.5px;
    padding: 13px 16px;
    border-radius: 14px;
  }
  .nav-menu.mobile-open > li > a:hover,
  .nav-menu.mobile-open > li.current-menu-item > a { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-menu.mobile-open > li > a::after { display: none; }
  .nav-menu.mobile-open .sub-menu { display: none; }
  .nav-menu.mobile-open .mega-menu { display: none; }
  /* When JS opens a mega-menu on tap, it becomes a plain stacked list at
     full width instead of trying to keep its desktop multi-column min-width
     (which would otherwise force horizontal overflow on small phones). */
  .nav-menu.mobile-open .mega-menu.is-open-mobile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 2px;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 4px 10px;
  }
  .mega-group-title { color: rgba(246,243,236,0.5) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .logo-pill-icon, .btn-pill-cta, .btn-pill-cta-arrow { transition: none !important; }
}

.logo-mark-img {
  height: 74px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.footer-logo-mark-img { height: 58px; }

.btn-pill {
  border-radius: 999px;
  padding: 13px 24px 13px 26px;
}
.btn-pill .arrow-ic { transition: transform 0.25s ease; }
.btn-pill:hover .arrow-ic { transform: translateX(4px); }
.btn-label-short { display: none; }

/* Pill eyebrow badge (dot + label) */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}
.eyebrow-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- Stats counter ---------- */
.stats-section {
  background: var(--ink);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(192,138,84,0.14), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.stat-item { text-align: center; }
.stat-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  background: rgba(192,138,84,0.12);
  border: 1px solid rgba(192,138,84,0.3);
  position: relative;
}
.stat-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(192,138,84,0.25);
  animation: statPulse 2.6s ease-out infinite;
}
.stat-item:nth-child(2) .stat-icon::after { animation-delay: 0.3s; }
.stat-item:nth-child(3) .stat-icon::after { animation-delay: 0.6s; }
.stat-item:nth-child(4) .stat-icon::after { animation-delay: 0.9s; }
@keyframes statPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-number::after { content: attr(data-suffix); color: var(--green); }
.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.6);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  --mx: 70%;
  --my: 30%;
  position: relative;
  background:
    radial-gradient(ellipse 600px 400px at 85% -10%, rgba(192,138,84,0.14), transparent),
    radial-gradient(ellipse 500px 400px at -5% 110%, rgba(193,57,43,0.06), transparent),
    var(--cream);
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 320px at var(--mx) var(--my), rgba(192,138,84,0.10), transparent 70%);
  transition: background 0.25s ease-out;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .hero::after { display: none; }
}
.text-accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.hero p.lead {
  color: var(--charcoal);
  font-size: 16.5px;
  max-width: 460px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }

.hero-visual-wrap { position: relative; padding-bottom: 40px; }

/* Floating glow orbs (video-style ambient background blobs) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-orb-1 {
  width: 220px; height: 220px;
  top: -40px; right: -30px;
  background: radial-gradient(circle, rgba(192,138,84,0.55), transparent 70%);
  animation: orbDrift 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 180px; height: 180px;
  bottom: 10px; left: -40px;
  background: radial-gradient(circle, rgba(193,57,43,0.35), transparent 70%);
  animation: orbDrift 11s ease-in-out infinite reverse;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -18px) scale(1.08); }
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--tan);
  z-index: 2;
  pointer-events: none;
}
.hero-dot-1 { width: 10px; height: 10px; top: 8%; left: 6%; animation: dotFloat 4.5s ease-in-out infinite; }
.hero-dot-2 { width: 7px; height: 7px; top: 55%; right: 2%; background: var(--stamp); animation: dotFloat 5.5s ease-in-out infinite 0.6s; }
.hero-dot-3 { width: 6px; height: 6px; bottom: 12%; left: 46%; animation: dotFloat 5s ease-in-out infinite 1.2s; }
@keyframes dotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-16px); opacity: 1; }
}

/* Continuous floating loop for hero cards (independent of hover) */
.hero-float-anim { animation: cardFloat 4.5s ease-in-out infinite; }
.hero-float-anim-slow { animation: cardFloat 6s ease-in-out infinite 0.4s; }
.hero-float-anim-rev { animation: cardFloatRev 5.5s ease-in-out infinite 0.2s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cardFloatRev {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.hero-float-card.hero-float-anim:hover { transform: translateY(-4px) rotate(0deg); }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
  z-index: 3;
  white-space: nowrap;
}
.hero-chip svg { color: var(--green); flex-shrink: 0; }
.hero-chip-1 { top: 14px; left: 14px; }
.hero-chip-2 { top: 44%; right: -14px; }

@media (max-width: 980px) {
  .hero-chip, .hero-orb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-dot, .hero-float-anim, .hero-float-anim-slow, .hero-float-anim-rev { animation: none !important; }
}
.hero-image {
  aspect-ratio: 5/4.6;
  background: var(--ink);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); font-size: 13px;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.15s ease-out;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge-card {
  position: absolute;
  bottom: 62px; right: 22px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  z-index: 3;
}
.hero-badge-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.hero-badge-card strong { display: block; font-size: 14px; font-family: var(--font-display); }
.hero-badge-card span { font-size: 11.5px; color: var(--charcoal); }

.hero-float-card {
  position: absolute;
  left: -30px; bottom: -10px;
  width: 42%;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.14);
  transform: rotate(-3deg);
  z-index: 4;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-float-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-float-card .float-img {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 8px;
}
.hero-float-card .float-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card .float-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--ink);
  padding: 0 4px 4px;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,0.22);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: -1;
}
.btn-primary:hover::before { left: 130%; }

.trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 28px; }
.trust-row span {
  font-size: 13px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-row span::before { content: '✕'; color: var(--green); font-size: 11px; }

/* ---------- Leading brands / Our clients ---------- */
.brands-section {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 92px) 0 clamp(56px, 6.5vw, 96px);
  background: #fff(--cream);
  color: var(--ink);
  border-bottom: 0;
}
.brands-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(26,23,16,0.035), transparent 48%);
}
.brands-heading-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(42px, 5vw, 68px);
}
.brands-title {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.brands-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.brands-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: clientsLogoSlide 42s linear infinite;
  animation-play-state: running;
}
.brands-set {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
}
.brand-logo-card {
  flex: 0 0 clamp(145px, 15vw, 210px);
  width: clamp(145px, 15vw, 210px);
  height: clamp(82px, 8vw, 118px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.brand-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0);
  opacity: 0.82;
}
@keyframes clientsLogoSlide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }

@media (max-width: 980px) {
  .brands-section { padding-top: 50px; padding-bottom: 58px; }
  .brands-heading-wrap { margin-bottom: 38px; }
  .brands-set { gap: 30px; padding-right: 30px; }
  .brand-logo-card { flex-basis: 145px; width: 145px; height: 94px; }
}

@media (max-width: 640px) {
  .brands-section { padding: 44px 0 52px; }
  .brands-section .container { padding-left: 0; padding-right: 0; }
  .brands-title { font-size: clamp(31px, 10vw, 46px); letter-spacing: 0.015em; }
  .brands-heading-wrap { margin-bottom: 30px; padding: 0 18px; }
  .brands-set { gap: 20px; padding-right: 20px; }
  .brand-logo-card { flex-basis: 118px; width: 118px; height: 78px; }
  .brands-track { animation-duration: 32s; }
}

@media (max-width: 390px) {
  .brands-set { gap: 16px; padding-right: 16px; }
  .brand-logo-card { flex-basis: 105px; width: 105px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; transform: none; }
}

/* ---------- Floating decorative parallax shapes ---------- */
.decor-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  will-change: transform;
}
.decor-shape-a {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(192,138,84,0.35), transparent 70%);
  top: -60px; left: -60px;
}
.decor-shape-b {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(193,57,43,0.22), transparent 70%);
  bottom: -50px; right: -40px;
}
.section-alt, .deal-section { position: relative; overflow: hidden; }
.section-alt > .container, .deal-section > .container { position: relative; z-index: 1; }
@media (max-width: 980px) { .decor-shape { display: none; } }
@media (prefers-reduced-motion: reduce) { .decor-shape { transform: none !important; } }

/* ---------- Section shared ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 580px; margin: 0 auto 52px; }
.section-head p { color: var(--charcoal); font-size: 15.5px; }

/* ---------- Packaging solutions grid ---------- */
.solution-group { margin-bottom: 52px; }
.solution-group:last-child { margin-bottom: 0; }
.solution-group-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tan);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
/* When the heading is a real link to its category page */
a.solution-group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
a.solution-group-title:hover { color: var(--ink); }
a.solution-group-title .arrow { transition: transform 0.25s ease; font-size: 13px; }
a.solution-group-title:hover .arrow { transform: translateX(5px); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1400px;
}
.solution-card {
  cursor: pointer;
  position: relative;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: translateY(0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  border-radius: 18px;
}
.solution-card:hover {
  transform: translateY(-11px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 22px 44px rgba(26,23,16,0.14);
}
.solution-img {
  aspect-ratio: 4/3;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.35s ease;
}
.solution-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 150px at var(--mx) var(--my), rgba(255,255,255,0.5), transparent 70%);
  transition: opacity 0.3s ease;
  mix-blend-mode: soft-light;
}
.solution-card:hover .solution-img::after { opacity: 1; }
@media (max-width: 980px), (hover: none) {
  .solution-card { transform: none !important; }
  .solution-card:hover { transform: translateY(-6px) !important; }
}
.solution-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.solution-card:hover .solution-img::before { transform: scaleX(1); }
.solution-card:hover .solution-img { box-shadow: var(--shadow-mid), 0 0 0 3px rgba(192,138,84,0.12); }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.solution-card:hover .solution-img img { transform: scale(1.05); }
.solution-card h3 {
  font-size: 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin: 0;
}
.solution-card h3 .arrow { transition: transform 0.25s ease; color: var(--navy); }
.solution-card:hover h3 .arrow { transform: translateX(6px); }

/* ---------- Icon-tile category grid (no photography) ---------- */
.solutions-grid.solutions-grid-icons {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.solutions-grid.solutions-grid-photos {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.solutions-grid-photos .solution-card-photo .solution-img {
  aspect-ratio: 4/3;
  margin-bottom: 12px;
}
.solutions-grid-photos .solution-card h3 { font-size: 14.5px; line-height: 1.35; }
.solution-img-gallery { position: relative; }
.solution-img-gallery img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.solution-img-gallery img.is-active { opacity: 1; position: relative; }
.solution-img-gallery img:not(.is-active) { position: absolute; }
.gallery-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.gallery-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.25s ease, transform 0.25s ease;
}
.gallery-dots span.is-active { background: var(--white); transform: scale(1.3); }

.solution-card-clickable { cursor: pointer; }

/* ---------- Solution gallery lightbox (click a product card to see all its photos) ---------- */
.solution-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 15, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.solution-gallery-overlay.is-open { opacity: 1; visibility: visible; }
.solution-gallery-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.solution-gallery-overlay.is-open .solution-gallery-modal { transform: translateY(0) scale(1); opacity: 1; }
.solution-gallery-modal h3 { margin: 0 24px 20px 0; font-size: 22px; }
.solution-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.solution-gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 640px) {
  .solution-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-gallery-modal { padding: 22px 18px; }
}
@media (max-width: 980px) {
  .solutions-grid.solutions-grid-photos { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
.solution-icon {
  aspect-ratio: 1 / 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.solution-icon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.solution-card:hover .solution-icon::before { transform: scaleX(1); }
.solution-card:hover .solution-icon {
  background: var(--white);
  box-shadow: var(--shadow-mid), 0 0 0 3px rgba(192,138,84,0.12);
}
.solution-emoji {
  font-size: 40px;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(0.15);
}
.solution-card:hover .solution-emoji { transform: scale(1.12) rotate(-4deg); }
.solutions-grid-icons .solution-card h3 { font-size: 14.5px; line-height: 1.35; }
@media (max-width: 980px) {
  .solutions-grid.solutions-grid-icons { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .solutions-grid.solutions-grid-icons { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .solution-emoji { font-size: 32px; }
  .solutions-grid-icons .solution-card h3 { font-size: 13px; }
}

/* ---------- Product tabs + grid ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab-btn.active, .tab-btn:hover { color: var(--ink); border-color: var(--navy); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  perspective: 1400px;
}

/* ---------- Shop layout: category sidebar + product grid ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
.shop-main .product-grid { grid-template-columns: repeat(3, 1fr); }

.shop-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.shop-sidebar-box h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.shop-sidebar-list { display: flex; flex-direction: column; gap: 2px; }
.shop-sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.shop-sidebar-list a:hover { background: var(--cream); color: var(--ink); }
.shop-sidebar-list a.is-active { background: var(--ink); color: var(--white); font-weight: 600; }
.shop-sidebar-count {
  font-size: 11px;
  color: var(--charcoal);
  background: var(--cream);
  border-radius: 999px;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
}
.shop-sidebar-list a.is-active .shop-sidebar-count { background: rgba(255,255,255,0.15); color: var(--white); }
.shop-sidebar-help p { font-size: 13px; color: var(--charcoal); margin-bottom: 14px; }

@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .shop-sidebar-box { flex: 1; min-width: 240px; }
  .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shop-main .product-grid { grid-template-columns: 1fr; }
  .shop-sidebar { flex-direction: column; }
}
.product-card {
  position: relative;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: translateY(0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  border-radius: 18px;
}
/* Whole card links to its own real product page; wishlist + add-to-quote
   sit above this invisible link so they stay independently clickable. */
.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.product-card-link:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 2px;
}
.product-card:hover {
  transform: translateY(-13px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 26px 50px rgba(26,23,16,0.16);
}
.product-img {
  aspect-ratio: 1/1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.35s ease;
}
.product-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.product-card:hover .product-img::before { transform: scaleX(1); }
.product-card:hover .product-img { box-shadow: var(--shadow-mid), 0 0 0 3px rgba(192,138,84,0.12); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-img img { transform: scale(1.08); }

/* Floating shine sweep that follows the cursor across the card */
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 160px at var(--mx) var(--my), rgba(255,255,255,0.55), transparent 70%);
  transition: opacity 0.3s ease;
  mix-blend-mode: soft-light;
}
.product-card:hover .product-img::after { opacity: 1; }

/* Animated gradient border glow around the card on hover — removed per request */
.product-card { isolation: isolate; }

@media (max-width: 980px), (hover: none) {
  .product-card { transform: none !important; }
  .product-card:hover { transform: translateY(-6px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-img::after, .card-glow { transition: none !important; animation: none !important; }
}
.wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.wishlist-btn.active {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.15);
}
.wishlist-btn:active { transform: scale(0.9); }

.product-quickview-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(22, 21, 15, 0.82);
  color: var(--white, #fff);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-quickview-hint { transform: translateY(0); }

.product-spec {
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-name { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 600; }
.product-rating { font-size: 12px; color: var(--tan); margin: 4px 0 12px; }

.product-add-btn {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, border-color 0.3s ease;
}
.product-add-btn:hover { background: var(--ink); color: var(--white, #fff); border-color: var(--ink); }
.product-add-btn.added { background: var(--green); border-color: var(--green); color: var(--white, #fff); }

.view-all-wrap { text-align: center; margin-top: 48px; }


/* ---------- Features icon row ---------- */
.features-section { background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* ---------- Industries page: category cards ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-mid), 0 16px 32px rgba(0,0,0,0.08);
  border-color: transparent;
}
.industry-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s ease, color 0.3s ease;
}
.industry-card:hover .industry-card-icon { background: var(--ink); color: var(--white); }
.industry-card h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.industry-card p { font-size: 14px; color: var(--charcoal); line-height: 1.6; margin-bottom: 18px; }
.industry-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.industry-card-link .arrow-ic { transition: transform 0.25s ease; }
.industry-card:hover .industry-card-link .arrow-ic { transform: translateX(4px); }

@media (max-width: 900px) {
  .industries-grid { grid-template-columns: 1fr; }
}
.feature-item {
  text-align: center;
  background: var(--white, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid), 0 12px 28px rgba(0,0,0,0.08);
  border-color: transparent;
}
.feature-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-item:hover .feature-icon {
  background: var(--gradient-warm);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-mid), 0 0 22px rgba(192,138,84,0.4);
  transform: translateY(-6px) rotate(8deg) scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .feature-item:hover .feature-icon { transform: none; }
}
.feature-item h4 { font-size: 14px; margin-bottom: 8px; }
.feature-item p { font-size: 12.5px; color: var(--charcoal); margin: 0; line-height: 1.6; }

/* ---------- About / Why choose us ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/3.4;
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--charcoal); }
.about-list li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ---------- Process ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: stretch;
}
.process-step {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 18px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-mid);
    border-color: transparent;
    background: var(--ink);
  }
  .process-step:hover .process-num { background: var(--gradient-warm); color: var(--white); }
  .process-step:hover .step-index { color: var(--tan); }
  .process-step:hover h4,
  .process-step:hover p { color: var(--white); }
  .process-step:hover .process-num { transform: scale(1.08); }
}
.process-num {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px;
  background: var(--cream);
  color: var(--tan);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step .step-index { font-size: 11px; color: var(--tan); font-weight: 700; margin-bottom: 6px; letter-spacing: 0.05em; }
.process-step h4 { font-size: 14.5px; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: var(--charcoal); margin: 0; line-height: 1.6; }

/* Straight-row variant of process-row (Facility page overview) */
.process-diagonal { align-items: stretch; padding-bottom: 0; }
.process-diagonal .process-step { position: relative; margin-top: 0; }
.process-diagonal .process-step::after {
  content: '';
  position: absolute;
  top: 50%; right: -14px;
  width: 12px; height: 1px;
  background: var(--border);
  transform: translateY(-50%);
}
.process-diagonal .process-step:last-child::after { display: none; }

/* ---------- Workflow detail (Facility page, step-by-step breakdown) ---------- */
.workflow-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 60px;
}
.workflow-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 30px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.workflow-nav a:hover { color: var(--ink); background: var(--cream); }
.workflow-nav a span.num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--tan);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.workflow-nav .sep { color: var(--border); font-size: 12px; }

.workflow-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.workflow-row + .workflow-row { margin-top: 90px; }
.workflow-row.flip .workflow-media { order: 2; }
.workflow-row.flip .workflow-content { order: 1; }

.workflow-media {
  position: relative;
  aspect-ratio: 4/3.2;
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
}
.workflow-media img { width: 100%; height: 100%; object-fit: cover; }
.workflow-media .workflow-badge {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.workflow-media .workflow-badge svg { color: var(--stamp); }

.workflow-content .step-index { font-size: 11px; color: var(--tan); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.workflow-content h3 { font-size: 24px; margin: 0 0 4px; }
.workflow-content .workflow-subtitle { display: block; color: var(--stamp); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.workflow-content > p { color: var(--charcoal); font-size: 14.5px; max-width: 480px; }

.workflow-checklist { margin: 18px 0 20px; display: grid; gap: 10px; }
.workflow-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--charcoal); line-height: 1.5; }
.workflow-checklist li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.workflow-example {
  background: var(--cream);
  border-left: 3px solid var(--kraft);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.workflow-example strong { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tan); margin-bottom: 6px; font-style: normal; }
.workflow-example em { font-style: italic; }

.workflow-time { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tan); font-weight: 600; }
.workflow-time svg { flex-shrink: 0; }

@media (max-width: 860px) {
  .workflow-row { grid-template-columns: 1fr; gap: 24px; }
  .workflow-row.flip .workflow-media,
  .workflow-row.flip .workflow-content { order: initial; }
  .workflow-row + .workflow-row { margin-top: 48px; }
  .workflow-nav { gap: 4px; }
  .workflow-nav a span:not(.num) { display: none; }
}

/* ---------- Deal of the week ---------- */
.deal-section {
  background:
    radial-gradient(ellipse 500px 350px at 90% 20%, rgba(192,138,84,0.16), transparent),
    var(--ink);
  color: var(--white);
}
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deal-grid h2 { color: var(--white); }
.deal-grid p { color: #C8C4B6; margin-bottom: 28px; }
.deal-section .btn-primary { background: var(--green); color: var(--white); }
.deal-section .btn-primary:hover { background: var(--white); color: var(--ink); }
.deal-img {
  aspect-ratio: 5/3;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}
.deal-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; }

/* Viewport clips the sliding track; grid is the track itself, made up
   of "pages" — each page holds one line of cards (3 on desktop). */
.testimonial-viewport { overflow: hidden; }
.testimonial-grid {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.testimonial-page {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.testimonial-page .testimonial-card { flex: 1 1 0; min-width: 0; }

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-mid); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; right: 22px;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  opacity: 0.25;
  line-height: 1;
}
.testimonial-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--white); letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-avatar--kraft { background: var(--kraft); }
.testimonial-avatar--ink { background: var(--ink); }
.testimonial-avatar--stamp { background: var(--stamp); }
.testimonial-avatar--photo {
  overflow: hidden;
  background: var(--cream, #f2ede4);
  border: 1px solid rgba(0,0,0,0.06);
}
.testimonial-avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.testimonial-stars {
  font-size: 12px; letter-spacing: 2px; color: var(--kraft);
}
.testimonial-card p { font-size: 14px; color: var(--charcoal); margin-bottom: 20px; }
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-company { font-size: 12.5px; color: var(--charcoal); }

/* Nav row: prev arrow — dots — next arrow, always inline below the slides
   so it never depends on extra viewport width and never overflows. */
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.carousel-arrow:hover { border-color: var(--navy); color: var(--navy); }

.testimonial-dots { display: flex; justify-content: center; gap: 8px; }
.testimonial-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testimonial-dots button.active { background: var(--tan); transform: scale(1.3); }

@media (max-width: 980px) {
  .testimonial-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; }
}

/* ==========================================================================
   FOOTER — image collage + bold statement CTA + dark closing footer
   ========================================================================== */
.footer-dark-wrap {
  background:
    radial-gradient(ellipse 600px 300px at 10% 0%, rgba(192,138,84,0.08), transparent),
    var(--ink);
  color: var(--cream);
}

/* ---------- Photo collage strip ---------- */
.footer-collage { position: relative; }
.collage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.collage-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--navy-2, #23211a);
  position: relative;
}
.collage-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,21,15,0) 40%, rgba(22,21,15,0.5) 100%);
}
.collage-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.collage-item:hover img { transform: scale(1.08); }

.collage-tag {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(246, 243, 236, 0.75);
  font-weight: 600;
  z-index: 2;
}

/* ---------- Bold statement CTA ---------- */
.footer-cta { padding: 56px 0; border-bottom: 1px solid rgba(246, 243, 236, 0.1); }
.footer-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  color: var(--white, #fff);
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0;
  line-height: 1.15;
}
.footer-cta-form {
  display: flex;
  border-bottom: 1.5px solid rgba(246, 243, 236, 0.35);
  min-width: 340px;
  flex: 0 0 auto;
  padding-bottom: 10px;
  transition: border-color 0.3s ease;
}
.footer-cta-form:focus-within { border-color: var(--tan); }
.footer-cta-form input {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 15px;
  flex: 1;
  padding: 6px 4px;
}
.footer-cta-form input::placeholder { color: rgba(246, 243, 236, 0.5); }
.footer-cta-form input:focus { outline: none; }
.footer-cta-form button {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 4px 6px 16px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-cta-form button:hover { color: var(--tan); transform: translateX(3px); }
.footer-cta-success { color: var(--green); font-weight: 600; margin: 0; }

/* ---------- Dark footer columns ---------- */
.site-footer-dark { padding: 56px 0 28px; }
.footer-grid-dark {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.85fr 0.95fr 0.95fr;
  gap: 28px;
  margin-bottom: 44px;
}
.footer-brand-col p {
  font-size: 13.5px;
  color: rgba(246, 243, 236, 0.6);
  margin: 16px 0 0;
  max-width: 260px;
  line-height: 1.65;
}
.footer-grid-dark h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: rgba(246, 243, 236, 0.55);
  font-weight: 600;
}
.footer-grid-dark ul li { margin-bottom: 12px; }
.footer-grid-dark ul li a {
  font-size: 14px;
  color: rgba(246, 243, 236, 0.85);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-grid-dark ul li a:hover { color: var(--tan); padding-left: 3px; }
.footer-grid-dark ul li:not(:has(a)) {
  font-size: 13.5px;
  color: rgba(246, 243, 236, 0.6);
}
/* "Stay in Touch" column: icon + text on one line */
.footer-grid-dark ul li a,
.footer-grid-dark ul li:not(:has(a)) {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-grid-dark ul li svg { flex-shrink: 0; margin-top: 2px; color: var(--tan); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(246, 243, 236, 0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social a:hover { background: var(--tan); border-color: var(--tan); color: var(--white); transform: translateY(-3px); }

.footer-bottom-dark {
  border-top: 1px solid rgba(246, 243, 236, 0.1);
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(246, 243, 236, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-dark a { margin-left: 16px; color: rgba(246, 243, 236, 0.5); transition: color 0.25s ease; }
.footer-bottom-dark a:hover { color: var(--cream); }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-toggle {
  background: var(--ink);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-wrap p {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.75;
  margin: 0;
  padding: 0 40px 26px 4px;
}

/* ---------- Product quick-view modal ---------- */
.product-card { cursor: pointer; }

.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 15, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.product-modal-overlay.is-open { opacity: 1; visibility: visible; }

.product-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.product-modal-overlay.is-open .product-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: var(--ink); color: var(--white); transform: rotate(90deg); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-img {
  aspect-ratio: 1/1;
  background: var(--cream);
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 40px 36px; display: flex; flex-direction: column; }
.modal-info h3, .modal-info h1 { font-size: 26px; margin-bottom: 6px; }
.modal-desc { color: var(--charcoal); font-size: 14.5px; margin: 16px 0 24px; line-height: 1.7; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-quote-btn { justify-content: center; }
#modalWishlist { justify-content: center; }
#modalWishlist.active { background: var(--ink); color: var(--white); }

@media (max-width: 640px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { border-radius: 16px 16px 0 0; aspect-ratio: 4/3; }
  .modal-info { padding: 28px 24px; }
}

/* ---------- Product gallery (single product page) ---------- */
.product-gallery {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 2px;
}
.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  padding: 0;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--ink); }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,23,16,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.gallery-lightbox-close { top: 24px; right: 24px; }
.gallery-lightbox-nav { top: 50%; transform: translateY(-50%); }
.gallery-lightbox-prev { left: 24px; }
.gallery-lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .product-gallery { padding: 14px; border-radius: 16px 16px 0 0; }
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }
}

/* ---------- Quote form ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.quote-touch-sub { color: var(--charcoal); font-size: 15px; margin: 14px 0 32px; max-width: 40ch; }

.touch-steps { display: flex; flex-direction: column; gap: 24px; }
.touch-step { display: flex; align-items: flex-start; gap: 16px; }
.touch-step-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.touch-step:hover .touch-step-icon {
  background: var(--gradient-warm);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.06);
}
.touch-step-copy h4 { font-size: 15px; margin-bottom: 4px; }
.touch-step-copy p { font-size: 13px; color: var(--charcoal); margin: 0; line-height: 1.6; }

.quote-form-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  border: 1px solid var(--border);
}
.quote-form-header {
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 20px 24px;
}
.quote-form-body { padding: 32px; }

.quote-success {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
}
.quote-error {
  background: #fdf1ef;
  border: 1px solid #f2c9c2;
  padding: 16px 18px;
  border-radius: 10px;
  color: #a3382a;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.quote-form-box { display: grid; gap: 16px; }
.quote-form-box input,
.quote-form-box select,
.quote-form-box textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.quote-form-box select { appearance: none; cursor: pointer; }
.quote-form-box textarea { resize: vertical; min-height: 80px; }
.quote-form-box input:focus,
.quote-form-box select:focus,
.quote-form-box textarea:focus {
  outline: none;
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(192,138,84,0.15);
}
.quote-form-box input::placeholder,
.quote-form-box textarea::placeholder { color: rgba(74,70,54,0.55); }

.form-row-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-quote.cols-4 { grid-template-columns: repeat(4, 1fr); }

.file-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.file-field:hover { border-color: var(--tan); background: var(--cream); }
.file-field.has-file { border-style: solid; border-color: var(--stamp); background: var(--cream); color: var(--stamp); font-weight: 600; }
.file-field span { overflow: hidden; text-overflow: ellipsis; }
.file-field input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}
.file-field span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }

.quote-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1.5;
}
.quote-agree input { width: auto; margin-top: 2px; accent-color: var(--tan); }

.quote-submit-btn {
  justify-self: stretch;
  justify-content: center;
  width: 100%;
  padding: 15px;
  font-size: 14.5px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.quote-submit-btn:hover { background: var(--tan); border-color: var(--tan); color: var(--white); }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .quote-form-body { padding: 24px 20px; }
  .form-row-quote.cols-4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive ---------- */

/* Header nav: on real laptop/tablet widths, keep every link visible and
   readable (as requested) instead of hiding them behind a hamburger —
   it shrinks a little and wraps onto a 2nd row inside the straight bar
   if it ever needs to, so the bar itself never overflows the page.
   The hamburger only takes over on true small-phone widths below. */
@media (max-width: 1560px) {
  .nav-menu {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .nav-menu > li > a { font-size: 12px; padding: 8px 9px; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 1300px) {
  .support-badge-text { display: none; }
  .support-badge { padding: 6px; }
}

/* Belt-and-braces: never let the header bar force horizontal
   scrolling on the page, no matter the width. */
.navbar-float-wrap,
.navbar-float-wrap .container,
.site-header {
  max-width: 100%;
}

/* True small screens: menu collapses to the hamburger */
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
}

/* Tablet & small laptop */
@media (max-width: 980px) {
  .container { padding: 0 22px; }
  .hero-grid, .about-grid, .deal-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
  .hero-visual-wrap { padding-bottom: 64px; max-width: 440px; margin: 32px auto 0; }
  .hero-badge-card { bottom: 84px; right: 8px; padding: 10px 14px; }
  .hero-float-card { width: 46%; left: -12px; bottom: -18px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process-row { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .process-connector { display: none; }
  .process-diagonal { padding-bottom: 0; }
  .process-diagonal .process-step:nth-child(1),
  .process-diagonal .process-step:nth-child(2),
  .process-diagonal .process-step:nth-child(3),
  .process-diagonal .process-step:nth-child(4),
  .process-diagonal .process-step:nth-child(5),
  .process-diagonal .process-step:nth-child(6) { margin-top: 0; }
  .process-diagonal .process-step::after { display: none; }
  .section { padding: 64px 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .collage-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cta-grid { flex-direction: column; align-items: flex-start; }
  .footer-cta-form { min-width: 0; width: 100%; }
  .footer-grid-dark { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-grid-dark > .footer-brand-col { grid-column: 1 / -1; }

  .logo-mark-img { height: 62px; }
}

/* Phones */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .navbar-float-wrap { top: 10px; }
  .site-header { padding: 8px 8px 8px 14px; gap: 8px; }
  .logo-block { gap: 7px; }
  .logo-pill-icon { width: 28px; height: 28px; }
  .logo-pill-icon img { width: 16px; }
  .logo-pill-text { font-size: 13px; letter-spacing: 0; }
  .nav-cta { gap: 6px; }
  .support-badge { padding: 5px; }
  .search-toggle { width: 30px; height: 30px; }
  .btn-pill-cta span:first-child { display: none; }
  .btn-pill-cta { padding: 8px; }
  .btn-pill-cta-arrow { width: 28px; height: 28px; }
  .menu-toggle { width: 32px; height: 32px; font-size: 14px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero p.lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-visual-wrap { max-width: 100%; padding-bottom: 70px; }
  .hero-float-card { width: 54%; left: -8px; bottom: -22px; }
  .hero-badge-card { flex-direction: row; bottom: 90px; right: 6px; padding: 8px 12px; }
  .hero-badge-card strong { font-size: 12.5px; }
  .hero-badge-card span { font-size: 10px; }

  .solutions-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }

  .form-row-quote { grid-template-columns: 1fr; }
  .quote-form-box { padding: 24px 20px; }
  .quote-submit-btn { width: 100%; justify-content: center; justify-self: stretch; }

  .newsletter-grid { flex-direction: column; align-items: stretch; text-align: left; padding: 28px 24px; }
  .newsletter-left { margin-bottom: 4px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { min-width: 0; border-radius: 4px; border-right: 1px solid var(--border); }
  .newsletter-form button { border-radius: 4px; padding: 13px; }

  .footer-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom span:last-child { margin-left: 0; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }

  .collage-grid { grid-template-columns: repeat(3, 1fr); }
  .collage-tag { font-size: 10px; top: 10px; right: 12px; }
  .footer-cta { padding: 40px 0; }
  .footer-cta h2 { font-size: 26px; }
  .footer-grid-dark { grid-template-columns: 1fr; row-gap: 30px; }
  .footer-grid-dark > .footer-brand-col { grid-column: auto; }
  .footer-bottom-dark { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom-dark span:last-child { margin-left: 0; }
  .footer-bottom-dark a { margin-left: 0; margin-right: 16px; }

  .faq-question { padding: 20px 0; gap: 12px; }
  .faq-question h4 { font-size: 14.5px; }
  .faq-answer-wrap p { padding: 0 24px 20px 0; font-size: 13.5px; }
  .faq-toggle { width: 28px; height: 28px; font-size: 13px; }

  .deal-section .btn { width: 100%; justify-content: center; }
}

/* Small phones */
@media (max-width: 420px) {
  .solutions-grid, .product-grid, .features-grid, .process-row {
    grid-template-columns: 1fr;
  }
  .eyebrow-pill { font-size: 10px; padding: 7px 12px; }
  .hero-float-card { width: 62%; }
  .product-img, .solution-img { aspect-ratio: 4/3; }
  .modal-info { padding: 22px 18px; }
  .modal-info h3 { font-size: 21px; }
  .newsletter-grid { padding: 22px 18px; }
  .collage-grid { grid-template-columns: repeat(2, 1fr); }

  .site-header { padding: 7px 6px 7px 12px; gap: 6px; }
  .logo-block { gap: 6px; }
  .logo-pill-icon { width: 26px; height: 26px; }
  .logo-pill-icon img { width: 14px; }
  .logo-pill-text { font-size: 12px; }
  .nav-cta { gap: 4px; }
  .support-badge-icon { display: flex; }
  .search-toggle { width: 28px; height: 28px; }
  .btn-pill-cta { padding: 7px; }
  .btn-pill-cta-arrow { width: 26px; height: 26px; }
  .menu-toggle { width: 30px; height: 30px; font-size: 13px; }
}

/* ---------- Page preloader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--ink);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.site-loader-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.site-loader-mark img { width: 30px; height: auto; display: block; }

.site-loader-bar {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.site-loader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--tan);
  border-radius: 2px;
  animation: loaderSweep 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); background: rgba(255,255,255,0.06); }
  50% { transform: scale(1.1) rotate(-6deg); background: rgba(255,255,255,0.12); }
}
@keyframes loaderSweep {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(60%); }
  100% { transform: translateX(260%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader-mark, .site-loader-bar span { animation: none; }
  .site-loader { transition: opacity 0.3s ease; }
}

/* ---------- Floating WhatsApp button (bottom-left, sitewide) ---------- */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  animation: chatPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(37,211,102,0.55), 0 4px 10px rgba(0,0,0,0.18);
}

/* ---------- Floating chat bubble (bottom-right, sitewide) ---------- */
.chat-bubble-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-bubble-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26,23,16,0.3), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.chat-bubble-btn:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 12px 30px rgba(26,23,16,0.38), 0 4px 10px rgba(0,0,0,0.18); }
.chat-bubble-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--stamp);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.chat-greeting {
  width: 250px;
  background: var(--white);
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow-deep);
  padding: 16px 18px 18px;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}
.chat-greeting.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-greeting-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.chat-greeting-text { display: block; font-size: 14.5px; font-weight: 600; margin: 4px 22px 12px 0; }
.chat-greeting-actions { display: flex; flex-direction: column; gap: 8px; }
.chat-greeting-btn {
  display: block;
  text-align: center;
  padding: 9px 10px;
  border-radius: 30px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chat-greeting-btn:hover { background: var(--cream); border-color: var(--ink); }

@keyframes chatPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
  .whatsapp-float, .chat-bubble-btn, .chat-greeting { transition: none; }
}

@media (max-width: 640px) {
  .whatsapp-float { width: 48px; height: 48px; left: 16px; bottom: 16px; }
  .chat-bubble-widget { right: 16px; bottom: 16px; }
  .chat-bubble-btn { width: 48px; height: 48px; }
  .chat-greeting { width: calc(100vw - 32px); max-width: 270px; }
}


/* ---------- Blog grid + cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-mid); }
.blog-card-img { aspect-ratio: 16/10; background: var(--cream); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 22px 22px 24px; }
.blog-card-date { font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tan); }
.blog-card-title { font-size: 18px; margin: 8px 0 10px; line-height: 1.35; }
.blog-card-excerpt { font-size: 14px; color: var(--charcoal); line-height: 1.7; margin-bottom: 14px; }
.blog-card-readmore { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.blog-card:hover .blog-card-readmore .arrow-ic { transform: translateX(4px); }
.blog-card-readmore .arrow-ic { display: inline-block; transition: transform 0.25s ease; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Single blog article ---------- */
.blog-article-meta { color: var(--charcoal); font-size: 13.5px; margin-bottom: 28px; }
.blog-article-img { border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 32px; box-shadow: var(--shadow-mid); }
.blog-article-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-body { color: var(--charcoal); font-size: 16px; line-height: 1.85; }
.blog-article-body p { margin: 0 0 22px; }
.blog-article-body p:last-child { margin-bottom: 0; }

/* ---------- Pagination (used on /products/, category pages, and /blog/) ---------- */
.pagination, .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
a.page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.page-numbers.current { background: var(--tan); border-color: var(--tan); color: var(--white); }
.page-numbers.dots { border: none; background: transparent; }


/* Our Clients: pure white background */
.our-clients,
.our-clients-section,
#our-clients,
.clients-section,
.clients,
section[data-section="clients"] {
  background-color: #ffffff !important;
  background: #ffffff !important;
}


/* Our Clients: force a genuinely pure-white section (no cream overlay). */
.brands-section { background: #ffffff !important; }
.brands-section::before { background: none !important; }
