/* ================================================================
   Panacea — Wholesale & Distribution Page
   Aesthetic: industrial editorial · authoritative · supply-chain
   ================================================================ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --wd-green:      #02a650;
  --wd-green-dark: #013d1d;
  --wd-black:      #050c07;
  --wd-ink:        #0c1a0f;
}

/* ── Eyebrow ─────────────────────────────────────────────────────── */
.wd-eyebrow {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wd-green);
  margin: 0 0 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.wd-btn {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.24s ease, color 0.24s ease, gap 0.24s ease, border-color 0.24s ease;
}
.wd-btn span {
  display: inline-block;
  transition: transform 0.24s ease;
}
.wd-btn:hover span { transform: translateX(3px); }

.wd-btn-white { background: #fff; color: var(--wd-green-dark); }
.wd-btn-white:hover { background: var(--wd-green); color: #fff; gap: 14px; }

.wd-btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wd-btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; gap: 14px; }

.wd-btn-green { background: var(--wd-green); color: #fff; }
.wd-btn-green:hover { background: var(--wd-green-dark); gap: 14px; color: #fff; }

.wd-btn-outline {
  background: transparent;
  color: var(--wd-green-dark);
  border-color: #c6dbc9;
}
.wd-btn-outline:hover { border-color: var(--wd-green); color: var(--wd-green); gap: 14px; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */

.wd-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wd-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  filter: brightness(0.82) saturate(0.80);
}

.wd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg,
      rgba(1,10,3,0.94) 0%,
      rgba(1,10,3,0.75) 35%,
      rgba(1,10,3,0.35) 65%,
      rgba(1,10,3,0.10) 100%
    ),
    linear-gradient(to top,
      rgba(1,10,3,0.88) 0%,
      rgba(1,10,3,0.20) 24%,
      transparent 42%
    );
}

/* Decorative grid lines — industrial texture */
.wd-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(2,166,80,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,166,80,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.wd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px;
  padding-top: 60px;
}

.wd-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 300;
  line-height: 0.97;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  text-shadow: 0 2px 48px rgba(0,0,0,0.25);
}
.wd-hero-title em {
  font-style: italic;
  color: var(--wd-green);
}

.wd-hero-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  line-height: 1.78;
  max-width: 500px;
  margin: 0 0 36px;
}

.wd-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stats bar */
.wd-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  background: rgba(1,10,3,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.wd-stat {
  flex: 1;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.wd-stat:last-child { border-right: none; }

.wd-stat b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.wd-stat span {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}

/* ════════════════════════════════════════════════════════════════
   OPERATIONS — 3 image-forward pillars
   ════════════════════════════════════════════════════════════════ */

.wd-ops {
  background: var(--wd-black);
  padding: 96px 0 0;
  margin-bottom: 20px;
}

.wd-ops-head {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 80px;
  align-items: end;
}

.wd-ops-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.035em;
  margin: 0;
}
.wd-ops-title em { font-style: italic; color: var(--wd-green); }

.wd-ops-desc {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 420px;
  margin: 0;
  align-self: end;
  padding-bottom: 8px;
}

/* 3-column pillar grid */
.wd-ops-grid {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Individual pillar card */
.wd-pillar {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0a1a0c;
}
.wd-pillar:first-child { border-radius: 20px 0 0 0; }
.wd-pillar:last-child  { border-radius: 0 20px 0 0; }

.wd-pillar-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  filter: brightness(0.65) saturate(0.75);
  transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.45s ease;
}
.wd-pillar:hover .wd-pillar-bg {
  transform: scale(1.07);
  filter: brightness(0.55) saturate(0.85);
}

.wd-pillar-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    168deg,
    rgba(1,10,3,0.20) 0%,
    rgba(1,10,3,0.12) 30%,
    rgba(1,10,3,0.60) 58%,
    rgba(1,10,3,0.97) 100%
  );
  transition: background 0.45s ease;
}
.wd-pillar:hover .wd-pillar-overlay {
  background: linear-gradient(
    168deg,
    rgba(1,10,3,0.35) 0%,
    rgba(1,10,3,0.22) 30%,
    rgba(1,10,3,0.75) 58%,
    rgba(1,10,3,0.98) 100%
  );
}

.wd-pillar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 32px;
}

/* Accent line on hover */
.wd-pillar-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--wd-green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  border-radius: 0 2px 2px 0;
}
.wd-pillar:hover .wd-pillar-inner::before { transform: scaleY(1); }

.wd-pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.wd-pillar-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.10);
  user-select: none;
  transition: color 0.4s ease;
}
.wd-pillar:hover .wd-pillar-num { color: rgba(2,166,80,0.22); }

.wd-pillar-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 4px 11px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.wd-pillar:hover .wd-pillar-tag {
  background: rgba(2,166,80,0.18);
  border-color: rgba(2,166,80,0.40);
  color: var(--wd-green);
}

.wd-pillar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.wd-pillar-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.72;
  margin: 0;
  transition: color 0.3s ease;
}
.wd-pillar:hover .wd-pillar-text { color: rgba(255,255,255,0.78); }

/* ════════════════════════════════════════════════════════════════
   CAPABILITIES
   ════════════════════════════════════════════════════════════════ */

.wd-capabilities {
  background: #ffffff;
  padding: 96px 0;
}

.wd-capabilities-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Left anchor panel — dark, with big stat */
.wd-cap-anchor {
  background: var(--wd-green-dark);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}
.wd-cap-anchor::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(2,166,80,0.10);
  pointer-events: none;
}

.wd-cap-anchor-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.12);
  margin: 0;
  user-select: none;
}

.wd-cap-anchor-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--wd-green);
  margin-bottom: 8px;
}

.wd-cap-anchor-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.10;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.wd-cap-anchor-title em { font-style: italic; color: var(--wd-green); }

.wd-cap-anchor-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
  color: rgba(255,255,255,0.50);
  line-height: 1.72;
  margin: 0;
}

/* Right: 2×2 capability cards */
.wd-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wd-cap-card {
  background: #fff;
  border: 1px solid #e4ece6;
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.wd-cap-card:hover {
  border-color: var(--wd-green);
  box-shadow: 0 6px 32px rgba(2,166,80,0.10);
  transform: translateY(-4px);
}

.wd-cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2,166,80,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wd-green);
  font-size: 17px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.28s ease, color 0.28s ease;
}
.wd-cap-card:hover .wd-cap-icon { background: var(--wd-green); color: #fff; }

.wd-cap-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.18;
  color: var(--wd-green-dark);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.wd-cap-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 13.5px;
  color: #5a7060;
  line-height: 1.70;
  margin: 0;
  flex: 1;
}

/* ════════════════════════════════════════════════════════════════
   LOCATIONS
   ════════════════════════════════════════════════════════════════ */

.wd-locations {
  background: var(--wd-black);
  padding: 96px 0;
}

.wd-locations-head {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.wd-locations-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0;
}
.wd-locations-title em { font-style: italic; color: var(--wd-green); }

.wd-locations-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s ease, gap 0.22s ease;
}
.wd-locations-link:hover { color: var(--wd-green); gap: 12px; }

/* 4-column location cards */
.wd-loc-grid {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wd-loc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}
.wd-loc-card:hover {
  background: rgba(2,166,80,0.07);
  border-color: rgba(2,166,80,0.28);
  transform: translateY(-4px);
}

.wd-loc-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2,166,80,0.12);
  border: 1px solid rgba(2,166,80,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wd-green);
  font-size: 13px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.28s ease;
}
.wd-loc-card:hover .wd-loc-pin { background: var(--wd-green); color: #fff; border-color: var(--wd-green); }

.wd-loc-city {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.wd-loc-region {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 20px;
}

.wd-loc-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wd-green);
  margin-top: auto;
}
.wd-loc-type::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wd-green);
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════════
   GALLERY — warehouse photos
   ════════════════════════════════════════════════════════════════ */

.wd-gallery {
  background: var(--wd-green-dark);
  padding: 0;
  display: flex;
  gap: 3px;
  height: 420px;
  overflow: hidden;
}

.wd-gal-img {
  flex: 1;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.80);
  transition: flex 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.35s ease;
}
.wd-gal-img:hover {
  flex: 2.2;
  filter: brightness(0.90) saturate(1.0);
}

/* ════════════════════════════════════════════════════════════════
   CTA / ENQUIRY
   ════════════════════════════════════════════════════════════════ */

.wd-cta {
  background: var(--wd-black);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

/* Large faded "WHOLESALE" text in bg */
.wd-cta::before {
  content: 'WHOLESALE';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.wd-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 56px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.wd-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.wd-cta-title em { font-style: italic; color: var(--wd-green); }

.wd-cta-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.50);
  line-height: 1.75;
  margin: 0 0 40px;
}

.wd-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Contact detail pills */
.wd-cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}

.wd-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.22s ease;
}
.wd-contact-pill i { color: var(--wd-green); font-size: 12px; }
.wd-contact-pill:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .wd-hero-inner       { padding: 0 40px; }
  .wd-ops-head         { padding: 0 40px 48px; gap: 0 56px; }
  .wd-ops-grid         { padding: 0 40px; }
  .wd-capabilities-inner { padding: 0 40px; }
  .wd-locations-head   { padding: 0 40px 48px; }
  .wd-loc-grid         { padding: 0 40px; }
  .wd-cta-inner        { padding: 0 40px; }
}

@media (max-width: 960px) {
  .wd-ops-head {
    grid-template-columns: 1fr;
    gap: 20px 0;
    padding: 0 32px 40px;
  }
  .wd-ops-grid {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 12px;
  }
  .wd-pillar { height: 400px; }
  .wd-pillar:first-child { border-radius: 16px 16px 0 0; }
  .wd-pillar:last-child  { border-radius: 0 0 0 0; }

  .wd-capabilities-inner {
    grid-template-columns: 1fr;
    padding: 0 32px;
  }
  .wd-cap-anchor { min-height: 280px; }

  .wd-loc-grid { grid-template-columns: repeat(2, 1fr); padding: 0 32px; }
  .wd-locations-head { padding: 0 32px 44px; }

  .wd-gallery { height: 320px; }
}

@media (max-width: 680px) {
  .wd-hero-inner     { padding: 0 24px; padding-top: 72px; }
  .wd-hero-stats     { flex-wrap: wrap; }
  .wd-stat           { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .wd-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .wd-stat:nth-child(3),
  .wd-stat:nth-child(4)   { border-bottom: none; }

  .wd-ops   { padding: 64px 0 0; }
  .wd-ops-head { padding: 0 24px 36px; }
  .wd-ops-grid { padding: 0 24px; }

  .wd-capabilities { padding: 64px 0; }
  .wd-capabilities-inner { padding: 0 24px; }
  .wd-cap-grid { grid-template-columns: 1fr; }

  .wd-locations { padding: 64px 0; }
  .wd-locations-head { padding: 0 24px 36px; }
  .wd-loc-grid { grid-template-columns: 1fr 1fr; padding: 0 24px; gap: 10px; }

  .wd-gallery { height: 260px; }

  .wd-cta { padding: 64px 0; }
  .wd-cta-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .wd-loc-grid { grid-template-columns: 1fr; }
  .wd-gallery { flex-direction: column; height: auto; }
  .wd-gal-img { flex: none; width: 100%; height: 220px; }
  .wd-gal-img:hover { flex: none; }
}
