/* ================================================================
   Nationwide Supplies LP — Main Stylesheet
   ================================================================ */

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

:root {
  --navy: #0b1e35;
  --navy-mid: #122844;
  --navy-light: #1a3558;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --cream: #f5f0e8;
  --cream-dark: #ede6d6;
  --white: #ffffff;
  --text-dark: #0b1e35;
  --text-mid: #3a4e65;
  --text-light: #8a9bb0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── NOISE TEXTURE ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAV ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 30, 53, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: background 0.3s;
}

.site-header.scrolled { background: rgba(7, 15, 26, 0.97); }

.site-branding .wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
  display: block;
}

.site-branding .tagline-small {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  display: block;
}

.main-navigation ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.main-navigation a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}

.main-navigation a:hover { color: var(--gold); }

.main-navigation .menu-item-cta a {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: all 0.3s;
}

.main-navigation .menu-item-cta a:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-lines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(201,168,76,0.04) 80px, rgba(201,168,76,0.04) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(201,168,76,0.04) 80px, rgba(201,168,76,0.04) 81px);
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,100,200,0.12) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem;
  max-width: 900px;
  animation: heroIn 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: heroIn 1s 0.1s ease forwards;
  opacity: 0;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: heroIn 1s 0.2s ease forwards;
  opacity: 0;
}

.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 3rem;
  animation: heroIn 1s 0.35s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  animation: heroIn 1s 0.5s ease forwards;
  opacity: 0;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem 2.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
  color: var(--navy);
}

.btn-ghost {
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 2.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-badges {
  position: absolute;
  right: 4rem; bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: heroIn 1s 0.6s ease forwards;
  opacity: 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}

.hero-badge-icon {
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: heroIn 1s 0.7s ease forwards, scrollBob 2s 1.5s ease-in-out infinite;
  opacity: 0;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── STATS BAND ─────────────────────────────────────────── */
.stats-band {
  background: var(--gold);
  padding: 1.8rem 4rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(11,30,53,0.7);
  margin-top: 2px;
}

/* ── SHARED SECTION STYLES ──────────────────────────────── */
.ns-section { padding: 7rem 4rem; }

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--gold); }

.gold-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-img-frame .about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10rem;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
  line-height: 1;
}

.about-visual { position: relative; }

.about-accent-box {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 200px;
  padding: 1.5rem;
  background: var(--gold);
}

.accent-box-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--navy);
  line-height: 1;
}

.accent-box-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(11,30,53,0.75);
  margin-top: 4px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

.about-credentials { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.6rem; }

.credential {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.credential::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CAPABILITIES ───────────────────────────────────────── */
.capabilities-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.capabilities-section::before {
  content: 'CAPABILITIES';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}

.capabilities-section .section-title { color: var(--white); }

.cap-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.cap-header-desc {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.15);
}

.cap-card {
  background: var(--navy-mid);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.cap-card:hover { background: var(--navy-light); }

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.cap-card:hover::before { height: 100%; }

.cap-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: rgba(201,168,76,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.cap-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.cap-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.cap-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.cap-code {
  margin-top: 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
}

/* ── CERTIFICATIONS ─────────────────────────────────────── */
.certifications-section { background: var(--cream-dark); }

.cert-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.cert-cards { display: flex; flex-direction: column; gap: 1rem; }

.cert-card {
  border: 1px solid rgba(11,30,53,0.12);
  padding: 1.8rem 2rem;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s;
}

.cert-card:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: 0 4px 24px rgba(201,168,76,0.15);
}

.cert-badge-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.cert-badge-text h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.cert-badge-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.5;
}

.cert-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.cert-codes {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(11,30,53,0.1);
  background: var(--white);
}

.cert-codes h4 {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.codes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.code-item {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── WHY US ─────────────────────────────────────────────── */
.why-section { background: var(--navy); color: var(--white); }
.why-section .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 4rem;
  background: rgba(255,255,255,0.05);
}

.why-item {
  background: var(--navy);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  transition: background 0.3s;
}

.why-item:hover { background: var(--navy-light); }

.why-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.why-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.why-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-detail {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border-radius: 2px;
}

.contact-detail-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact-form-box {
  background: var(--navy);
  padding: 3rem;
}

.contact-form-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
}

.form-success {
  padding: 1rem;
  background: rgba(42,122,78,0.2);
  border: 1px solid rgba(42,122,78,0.5);
  color: #7dc49a;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group select option { background: var(--navy); color: var(--white); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 100px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #070f1a;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,168,76,0.15);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}

.footer-ids {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: right;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-layout { grid-template-columns: 1fr; gap: 3rem; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .main-navigation { display: none; }
  .main-navigation.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1.5rem; border-top: 1px solid rgba(201,168,76,0.15); }
  .main-navigation.open ul { flex-direction: column; gap: 1rem; }
  .nav-toggle { display: flex; }
  .ns-section, .about-section, .capabilities-section, .certifications-section, .why-section, .contact-section { padding: 4rem 1.5rem; }
  .hero-content { padding: 0 1.5rem; padding-top: 6rem; }
  .hero-badges { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-section { grid-template-columns: 1fr; gap: 3rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-band { gap: 2rem; padding: 1.5rem; }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-ids { text-align: center; }
  .cap-header { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════
   DISTRIBUTOR LOGO STRIP (Front Page)
══════════════════════════════════════════════════════════ */
.distributor-strip {
  background: var(--white);
  border-top: 1px solid rgba(11,30,53,0.08);
  border-bottom: 1px solid rgba(11,30,53,0.08);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.distributor-strip-label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.distributor-strip-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.dist-strip-logo-link { text-decoration: none; }

.dist-strip-logo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(11,30,53,0.1);
  background: var(--cream);
  transition: all 0.3s;
  cursor: pointer;
}

.dist-strip-logo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.15);
  transform: translateY(-2px);
}

.dist-strip-logo-card svg {
  width: 180px;
  height: auto;
}

.dist-strip-badge {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 50vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero--light {
  background: var(--cream-dark);
}

.page-hero--light .hero-title { color: var(--navy); }
.page-hero--light .hero-subtitle { color: var(--text-mid); }

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem;
  max-width: 800px;
  animation: heroIn 0.8s ease forwards;
}

/* ══════════════════════════════════════════════════════════
   DISTRIBUTORS PAGE
══════════════════════════════════════════════════════════ */
.distributor-featured {
  background: var(--cream);
}

.dist-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dist-featured-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: 3rem;
}

.dist-featured-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.dist-logo-panel {
  position: sticky;
  top: 100px;
}

.dist-logo-frame {
  background: var(--white);
  border: 1px solid rgba(11,30,53,0.1);
  padding: 3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}

.dist-logo-frame:hover {
  box-shadow: 0 8px 40px rgba(201,168,76,0.15);
}

.dist-logo-frame svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.dist-logo-since {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem;
  background: var(--navy);
}

.dist-since-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.dist-since-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}

.dist-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

.dist-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 2rem 0;
}

.dist-product-tag {
  font-size: 0.8rem;
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dist-contact-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.dist-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.dist-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(11,30,53,0.1);
  background: var(--white);
  overflow: hidden;
}

.dist-stat {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(11,30,53,0.08);
  transition: background 0.3s;
}

.dist-stat:last-child { border-right: none; }
.dist-stat:hover { background: var(--cream-dark); }

.dist-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.dist-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* Why Durham grid */
.dist-why-section { background: var(--navy); }
.dist-why-section .section-title { color: var(--white); }

.dist-why-header { margin-bottom: 3.5rem; }

.dist-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.dist-why-card {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.dist-why-card:hover { background: var(--navy-light); }

.dist-why-icon { font-size: 2rem; margin-bottom: 1rem; }

.dist-why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.dist-why-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* Distributor CTA */
.dist-cta-section {
  background: var(--navy-mid);
  padding: 6rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.dist-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.dist-cta-inner p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   SITEMAP PAGE
══════════════════════════════════════════════════════════ */
.sitemap-visual-section { background: var(--cream); }

.sitemap-diagram {
  margin-top: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

/* Root node */
.smap-root {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.smap-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem 1.6rem;
  border: 2px solid var(--navy);
  background: var(--navy);
  min-width: 140px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.smap-node--root {
  border-color: var(--gold);
  background: var(--gold);
  min-width: 200px;
}

.smap-node--root .smap-node-label {
  color: var(--navy);
  font-weight: 500;
}

.smap-node--root .smap-node-url,
.smap-node--root .smap-node-icon { color: rgba(11,30,53,0.7); }

.smap-node--primary:hover { background: var(--navy-light); }

.smap-node--highlight {
  border-color: var(--gold) !important;
}

.smap-node-icon { font-size: 1.2rem; }

.smap-node-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
}

.smap-node-url {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
}

/* Connectors */
.smap-connector--down {
  width: 2px;
  height: 28px;
  background: rgba(11,30,53,0.2);
  margin: 0 auto;
}

.smap-connector--up {
  width: 2px;
  height: 28px;
  background: rgba(11,30,53,0.2);
  margin: 0 auto;
}

/* Level row */
.smap-level {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  padding-top: 0;
}

/* Horizontal line connecting all branches */
.smap-level::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(11,30,53,0.12);
  z-index: 0;
}

.smap-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.smap-children {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.smap-child {
  font-size: 0.7rem;
  color: var(--text-mid);
  padding: 0.35rem 0.7rem;
  background: var(--white);
  border: 1px solid rgba(11,30,53,0.08);
  text-align: center;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.smap-child:hover { border-left-color: var(--gold); background: var(--cream-dark); }

.smap-child--highlight {
  border-left-color: var(--gold);
  color: var(--navy);
  font-weight: 500;
}

/* LIST SITEMAP */
.sitemap-list-section { background: var(--cream-dark); }

.sitemap-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.slist-group {
  background: var(--white);
  border: 1px solid rgba(11,30,53,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.slist-group:hover {
  box-shadow: 0 4px 24px rgba(11,30,53,0.08);
}

.slist-group--highlight { border-color: var(--gold); }
.slist-group--highlight .slist-group-header { background: var(--gold); }
.slist-group--highlight .slist-group-header h3 { color: var(--navy); }
.slist-group--highlight .slist-group-header .slist-link { color: rgba(11,30,53,0.6); }
.slist-group--highlight .slist-group-icon { filter: none; }

.slist-group-header {
  background: var(--navy);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.slist-group-icon { font-size: 1.1rem; }

.slist-group-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  flex: 1;
}

.slist-link {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
  text-decoration: none;
}

.slist-link:hover { color: var(--gold); }

.slist-items {
  list-style: none;
  padding: 1rem 0;
}

.slist-items li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(11,30,53,0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.slist-items li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.slist-items li:last-child { border-bottom: none; }
.slist-items li:hover { background: var(--cream); }

.slist-items a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.slist-items a:hover { color: var(--gold); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .dist-featured-layout { grid-template-columns: 1fr; gap: 3rem; }
  .dist-logo-panel { position: static; }
  .dist-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .dist-why-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-list-grid { grid-template-columns: repeat(2, 1fr); }
  .smap-level { gap: 0.5rem; }
  .smap-node { min-width: 110px; padding: 0.8rem 0.8rem; }
}

@media (max-width: 768px) {
  .distributor-strip { padding: 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .page-hero-content { padding: 2rem 1.5rem; }
  .dist-products-grid { grid-template-columns: 1fr; }
  .dist-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .dist-why-grid { grid-template-columns: 1fr; }
  .sitemap-list-grid { grid-template-columns: 1fr; }
  .smap-level::before { display: none; }
  .dist-contact-row { flex-direction: column; align-items: flex-start; }
  .dist-cta-section { padding: 4rem 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   DURHAM PRODUCT CATALOG PAGE
══════════════════════════════════════════════════════════ */

/* Hero badges */
.dcat-hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  animation: heroIn 1s 0.55s ease forwards;
  opacity: 0;
}

.dcat-hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.04);
  min-width: 100px;
}

.dcat-badge-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.dcat-badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}

/* Brand band */
.dcat-brand-band {
  background: var(--white);
  border-bottom: 1px solid rgba(11,30,53,0.08);
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.dcat-brand-band svg {
  width: 240px;
  height: auto;
}

.dcat-inquiry-btn {
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.dcat-inquiry-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  color: var(--navy);
}

/* ── CATALOG LAYOUT ── */
.dcat-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 80vh;
  background: var(--cream);
}

/* ── SIDEBAR ── */
.dcat-sidebar {
  background: var(--white);
  border-right: 1px solid rgba(11,30,53,0.08);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.dcat-sidebar-title {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-family: 'DM Sans', sans-serif;
}

.dcat-search-box { margin-bottom: 2rem; }

.dcat-search-inner {
  position: relative;
}

.dcat-search-inner input {
  width: 100%;
  padding: 0.7rem 2rem 0.7rem 0.9rem;
  border: 1px solid rgba(11,30,53,0.15);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-dark);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s;
}

.dcat-search-inner input:focus { border-color: var(--gold); }

#dcat-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px;
}

#dcat-search-clear:hover { color: var(--navy); }

.dcat-filter-section { margin-bottom: 2rem; }

.dcat-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dcat-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  gap: 0.5rem;
}

.dcat-cat-btn:hover { background: var(--cream); border-left-color: var(--gold); }
.dcat-cat-btn.active { background: var(--cream-dark); border-left-color: var(--gold); }

.dcat-cat-name {
  font-size: 0.78rem;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.3;
}

.dcat-cat-btn.active .dcat-cat-name { color: var(--navy); font-weight: 500; }

.dcat-cat-count {
  font-size: 0.65rem;
  color: var(--text-light);
  background: rgba(11,30,53,0.06);
  padding: 1px 6px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dcat-cat-btn.active .dcat-cat-count { background: var(--gold); color: var(--navy); }

/* Toggle */
.dcat-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-mid);
}

.dcat-toggle-label input { display: none; }

.dcat-toggle-track {
  width: 36px; height: 20px;
  background: rgba(11,30,53,0.15);
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s;
}

.dcat-toggle-thumb {
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dcat-toggle-label input:checked + .dcat-toggle-track { background: var(--gold); }
.dcat-toggle-label input:checked + .dcat-toggle-track .dcat-toggle-thumb { transform: translateX(16px); }

/* ── MAIN CONTENT ── */
.dcat-main { padding: 2rem; }

/* Toolbar */
.dcat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11,30,53,0.08);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.dcat-toolbar-left { display: flex; align-items: center; gap: 0.8rem; }

.dcat-results-count {
  font-size: 0.8rem;
  color: var(--text-mid);
}

.dcat-active-filter {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(201,168,76,0.3);
}

.dcat-active-filter:empty { display: none; }

.dcat-toolbar-right { display: flex; align-items: center; gap: 0.8rem; }

.dcat-label-small {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.dcat-toolbar-right select {
  border: 1px solid rgba(11,30,53,0.15);
  background: var(--white);
  padding: 0.35rem 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  border-radius: 0;
}

.dcat-view-toggle { display: flex; gap: 4px; }

.dcat-view-toggle button {
  background: none;
  border: 1px solid rgba(11,30,53,0.15);
  color: var(--text-light);
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.dcat-view-toggle button.active,
.dcat-view-toggle button:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── PRODUCT GRID ── */
.dcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(11,30,53,0.06);
}

.dcat-grid--list {
  grid-template-columns: 1fr;
  background: transparent;
  gap: 4px;
}

/* Product card */
.dcat-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.dcat-card:hover {
  z-index: 2;
  box-shadow: 0 4px 24px rgba(11,30,53,0.12);
  transform: translateY(-2px);
}

.dcat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.dcat-card:hover::before { transform: scaleX(1); }

.dcat-card-img-wrap {
  aspect-ratio: 1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.dcat-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.dcat-card:hover .dcat-card-img-wrap img { transform: scale(1.05); }

.dcat-img-fallback {
  font-size: 2.5rem;
  color: rgba(11,30,53,0.15);
}

.dcat-online-badge {
  position: absolute;
  top: 0.4rem; right: 0.4rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 2px 6px;
}

.dcat-card-body {
  padding: 0.7rem 0.8rem 0.9rem;
  flex: 1;
}

.dcat-card-part {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.3;
  word-break: break-all;
}

.dcat-card-cat {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 3px;
  letter-spacing: 0.08em;
}

/* List view card */
.dcat-card--list {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(11,30,53,0.06);
  border-radius: 0;
  background: var(--white);
  transform: none !important;
  box-shadow: none !important;
}

.dcat-card--list:hover { background: var(--cream); }
.dcat-card--list::before { width: 3px; height: 100%; top: 0; }

.dcat-card--list .dcat-card-img-wrap {
  width: 56px; height: 56px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 2px;
}

.dcat-card--list .dcat-card-img-wrap img { padding: 0.2rem; }

.dcat-card--list .dcat-card-body {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dcat-card--list .dcat-card-part { font-size: 0.82rem; }

.dcat-card--list .dcat-online-badge {
  position: static;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── PAGINATION ── */
.dcat-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.dcat-page-btn {
  min-width: 36px; height: 36px;
  padding: 0 0.6rem;
  border: 1px solid rgba(11,30,53,0.15);
  background: var(--white);
  color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
}

.dcat-page-btn:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.dcat-page-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

.dcat-page-btn:disabled { opacity: 0.35; cursor: default; }
.dcat-page-ellipsis { padding: 0 0.3rem; color: var(--text-light); }

/* ── LOADING ── */
.dcat-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.dcat-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(11,30,53,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* No results */
.dcat-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  gap: 1rem;
  text-align: center;
}

.dcat-no-results-icon { font-size: 3rem; }

.dcat-no-results h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
}

.dcat-no-results p { font-size: 0.9rem; color: var(--text-mid); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .dcat-wrap { grid-template-columns: 1fr; }
  .dcat-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(11,30,53,0.08);
  }
  .dcat-cat-list { flex-direction: row; flex-wrap: wrap; }
  .dcat-cat-btn { width: auto; }
  .dcat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .dcat-brand-band { padding: 1.5rem; }
  .dcat-hero-badges { flex-wrap: wrap; gap: 0.8rem; }
}

@media (max-width: 480px) {
  .dcat-main { padding: 1rem; }
  .dcat-grid { grid-template-columns: repeat(2, 1fr); }
  .dcat-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════
   WPBAKERY COMPATIBILITY & GENERAL PAGE STYLES
══════════════════════════════════════════════════════════ */

/* General page content wrapper */
.ns-page-content { padding-top: 80px; min-height: 60vh; }
.ns-page-body { max-width: 1200px; margin: 0 auto; padding: 3rem 4rem; }

/* Make WPBakery rows respect our colour system */
.vc_row { margin-left: 0 !important; margin-right: 0 !important; }

/* WPBakery column padding reset to match our spacing */
.wpb_column > .vc_column-inner { padding-top: 0; padding-bottom: 0; }

/* WPBakery text block inherits our body font */
.wpb_text_column, .wpb_text_column p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* WPBakery headings inherit our display font */
.wpb_text_column h1,
.wpb_text_column h2,
.wpb_text_column h3,
.wpb_text_column h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
}

/* WPBakery separator matches our gold divider */
.vc_separator .vc_sep_line { border-color: var(--gold) !important; }

/* WPBakery single image */
.wpb_single_image img { max-width: 100%; height: auto; }

/* WPBakery button override to match our style */
.vc_btn3.vc_btn3-color-theme-btn-primary,
.vc_btn3.vc_btn3-style-flat {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border: none !important;
  padding: 1rem 2.4rem !important;
  transition: all 0.3s !important;
}

.vc_btn3.vc_btn3-color-theme-btn-primary:hover,
.vc_btn3.vc_btn3-style-flat:hover {
  background-color: var(--gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(201,168,76,0.35) !important;
}

/* WPBakery navy button variant */
.vc_btn3.vc_btn3-color-theme-btn-secondary {
  background-color: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
}

/* WPBakery tabs inherit brand colours */
.vc_tta-tabs .vc_tta-tab.vc_active > a {
  background-color: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}

.vc_tta-tabs .vc_tta-tab > a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-mid) !important;
}

.vc_tta-panels { border-color: rgba(11,30,53,0.1) !important; }

/* WPBakery accordion */
.vc_tta-accordion .vc_tta-panel-heading {
  background: var(--navy-mid) !important;
  border-color: rgba(201,168,76,0.2) !important;
}

.vc_tta-accordion .vc_tta-panel-heading .vc_tta-panel-title > a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.1rem !important;
  color: var(--white) !important;
}

.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-heading {
  background: var(--gold) !important;
}

.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-title > a {
  color: var(--navy) !important;
}

/* WPBakery icon box */
.vc_icon_element-inner { border-radius: 0 !important; }

.vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-color-custom {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* WPBakery progress bars */
.vc_progress_bar .vc_single_bar .vc_bar { background-color: var(--gold) !important; }
.vc_progress_bar .vc_single_bar { background-color: rgba(11,30,53,0.08) !important; }

/* WPBakery call-to-action */
.vc_cta3 {
  border-radius: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* WPBakery google maps */
.wpb_gmaps_widget .wpb_wrapper { padding: 0 !important; }

/* Full-width row support — lets WPBakery rows break out of the container */
.ns-page-body .vc_row-full-width,
.ns-page-body .vc_section[data-vc-full-width="true"] {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* Utility classes editors can add via WPBakery extra class field */
.ns-bg-navy        { background: var(--navy) !important; }
.ns-bg-gold        { background: var(--gold) !important; }
.ns-bg-cream       { background: var(--cream) !important; }
.ns-bg-cream-dark  { background: var(--cream-dark) !important; }
.ns-bg-white       { background: var(--white) !important; }
.ns-text-white     { color: var(--white) !important; }
.ns-text-navy      { color: var(--navy) !important; }
.ns-text-gold      { color: var(--gold) !important; }
.ns-text-mid       { color: var(--text-mid) !important; }
.ns-font-display   { font-family: 'Cormorant Garamond', serif !important; }
.ns-font-body      { font-family: 'DM Sans', sans-serif !important; }
.ns-font-heading   { font-family: 'Bebas Neue', sans-serif !important; }
.ns-section-pad    { padding: 7rem 4rem !important; }
.ns-no-pad-top     { padding-top: 0 !important; }
.ns-no-pad-bottom  { padding-bottom: 0 !important; }
.ns-gold-border-left { border-left: 3px solid var(--gold) !important; padding-left: 1rem !important; }
.ns-gold-divider   { width: 60px; height: 2px; background: var(--gold); margin: 1.5rem 0; }

@media (max-width: 768px) {
  .ns-page-body { padding: 2rem 1.5rem; }
}



/* ══════════════════════════════════════════════════════════
   FLAMMABLE CABINETS PAGE  (.fpc-*)
══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.fpc-hero { min-height: 55vh; padding-top: 80px; }

.fpc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 3rem;
  align-items: center;
}

.fpc-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
  animation: heroIn 1s 0.5s ease forwards;
  opacity: 0;
}

.fpc-certs span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 0.28rem 0.8rem;
}

.fpc-hero-img {
  animation: heroIn 1s 0.25s ease forwards;
  opacity: 0;
}

.fpc-hero-img img {
  width: 200px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

/* ── Filter bar ── */
.fpc-bar {
  background: var(--white);
  border-bottom: 2px solid rgba(11,30,53,0.08);
  padding: 0.85rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  top: 72px;
  z-index: 60;
  box-shadow: 0 3px 12px rgba(11,30,53,0.06);
}

.fpc-bar-filters {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.fpc-bar-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 0.2rem;
}

.fpc-btn {
  background: transparent;
  border: 1px solid rgba(11,30,53,0.15);
  color: var(--text-mid);
  padding: 0.36rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 0;
  white-space: nowrap;
}

.fpc-btn:hover    { border-color: var(--gold); color: var(--navy); }
.fpc-btn.active   { background: var(--navy); color: var(--white); border-color: var(--navy); }

.fpc-bar-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.fpc-bar-sort select {
  border: 1px solid rgba(11,30,53,0.14);
  background: var(--white);
  padding: 0.36rem 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  border-radius: 0;
}

/* ── Section wrapper ── */
.fpc-section {
  background: var(--cream);
  padding: 2.5rem 4rem;
}

/* ── Product Grid — 3 col ── */
.fpc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Card ── */
.fpc-card {
  background: var(--white);
  border: 1px solid rgba(11,30,53,0.09);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  overflow: hidden;
}

.fpc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(11,30,53,0.11);
  border-color: rgba(201,168,76,0.5);
}

/* ── Card image area — FIXED HEIGHT, centered SVG ── */
.fpc-card-img {
  position: relative;
  height: 210px;
  background: #f8f4e8;
  border-bottom: 1px solid rgba(11,30,53,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fpc-card-img img {
  height: 190px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.fpc-card:hover .fpc-card-img img { transform: scale(1.05); }

/* Badges */
.fpc-badge {
  position: absolute;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  line-height: 1.6;
}

.fpc-badge-fm   { top: 0.5rem; left: 0.5rem;  background: var(--navy); color: var(--white); }
.fpc-badge-hot  { top: 0.5rem; right: 0.5rem;  background: var(--gold); color: var(--navy); }
.fpc-badge-legs { bottom: 0.5rem; left: 0.5rem; background: #2a6e47;   color: var(--white); }

/* ── Card body ── */
.fpc-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.fpc-sku {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.fpc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

/* Specs: 3-column definition list */
.fpc-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem 0.5rem;
  background: var(--cream);
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--gold);
  margin: 0;
}

.fpc-specs > div { display: flex; flex-direction: column; }

.fpc-specs dt {
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.2;
}

.fpc-specs dd {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

/* Feature tags */
.fpc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.fpc-tags span {
  font-size: 0.59rem;
  color: var(--text-mid);
  background: rgba(11,30,53,0.05);
  padding: 0.16rem 0.5rem;
  border-radius: 20px;
}

/* Card footer */
.fpc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(11,30,53,0.06);
}

.fpc-price-block { display: flex; flex-direction: column; line-height: 1; }

.fpc-price-lbl {
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1px;
}

.fpc-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1;
}

.fpc-each { font-size: 0.58rem; color: var(--text-light); }

.fpc-quote {
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fpc-quote:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}

/* ── Features strip ── */
.fpc-features {
  background: var(--navy);
  padding: 3.5rem 4rem;
}

.fpc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  max-width: 1140px;
  margin: 0 auto;
}

.fpc-feat {
  background: var(--navy-mid);
  padding: 1.8rem;
  transition: background 0.25s;
}

.fpc-feat:hover { background: var(--navy-light); }

.fpc-feat-icon { font-size: 1.7rem; margin-bottom: 0.6rem; }

.fpc-feat h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: var(--gold-light);
  margin: 0 0 0.4rem;
}

.fpc-feat p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.48);
  margin: 0;
}

/* ── Order section ── */
.fpc-order {
  background: var(--navy-mid);
  padding: 4.5rem 4rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.fpc-order-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.fpc-order-text p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  margin-bottom: 2rem;
}

.fpc-steps { display: flex; flex-direction: column; gap: 1.1rem; }

.fpc-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.fpc-step > span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 30px;
}

.fpc-step strong {
  display: block;
  font-size: 0.83rem;
  color: var(--white);
  margin-bottom: 0.12rem;
}

.fpc-step p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.55;
  margin: 0;
}

.fpc-order-box {
  background: var(--white);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.fpc-order-box img { max-width: 190px; height: auto; }

.fpc-order-box > p {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.fpc-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  width: 100%;
  text-align: left;
}

.fpc-contacts a { color: var(--text-mid); text-decoration: none; }
.fpc-contacts a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fpc-grid { grid-template-columns: repeat(2, 1fr); }
  .fpc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .fpc-order-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .fpc-hero-inner { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .fpc-hero-img { display: none; }
  .fpc-bar { padding: 0.8rem 1.5rem; }
  .fpc-section { padding: 1.5rem; }
  .fpc-grid { grid-template-columns: 1fr; }
  .fpc-features { padding: 2.5rem 1.5rem; }
  .fpc-features-grid { grid-template-columns: 1fr; }
  .fpc-order { padding: 2.5rem 1.5rem; }
}
