/* ==========================================================================
   DeliParva — Distributors page (distributors.html)
   Builds on css/style.css (colors, fonts, header, footer, .btn, .pill,
   .process-grid). Everything here is scoped with a "dist-" prefix so it
   can't affect the other pages.
   ========================================================================== */

.dist-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.dist-h2 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 16px;
}
.dist-lead {
  font-size: 1.05rem;
  color: #4a4244;
  max-width: 640px;
}
.dist-head { text-align: center; margin: 0 auto 44px; max-width: 760px; }
.dist-head .dist-lead { margin: 0 auto; }
.dist-inner { max-width: var(--max-width); margin: 0 auto; }

/* ---------- Hero ---------- */
.dist-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(197,32,26,0.28), transparent 42%),
    var(--color-black);
  color: var(--color-white);
  padding: 72px 24px 80px;
}
.dist-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.dist-hero .dist-eyebrow { color: var(--color-gold-light); }
.dist-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.dist-hero h1 span { color: var(--color-gold-light); }
.dist-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 32px;
}
.dist-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.dist-hero .btn.btn-outline:hover { background: var(--color-white); color: var(--color-black); }

/* Product cutouts arranged around a brand-red disc */
.dist-hero-art {
  position: relative;
  aspect-ratio: 1 / 0.9;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.dist-hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 18px rgba(197,32,26,0.18), 0 0 0 40px rgba(197,32,26,0.08);
}
.dist-hero-art img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.5));
}
.dist-hero-art .art-main { width: 78%; left: 11%; top: 28%; }
.dist-hero-art .art-a { width: 42%; left: -2%; top: 2%; }
.dist-hero-art .art-b { width: 38%; right: -2%; top: 4%; }
.dist-hero-art .art-c { width: 36%; right: 2%; bottom: 0; }

/* ---------- Proof strip ---------- */
.dist-proof {
  background: var(--color-gold-pale);
  padding: 28px 24px;
}
.dist-proof ul {
  list-style: none;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dist-proof li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #4a3a1f;
}
.dist-proof strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  color: var(--color-black);
}
.dist-proof img { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
.dist-proof .proof-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dist-proof .proof-icon svg { width: 22px; height: 22px; }

/* ---------- Portfolio ---------- */
.dist-portfolio { background: var(--color-white); padding: 80px 24px; }
.dist-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.dist-cat {
  background: var(--color-cream);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #efe4d0;
}
.dist-cat-img {
  background: var(--color-white);
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.dist-cat-img img { max-height: 100%; width: auto; object-fit: contain; }
.dist-cat-body { padding: 24px 24px 28px; }
.dist-cat h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.dist-cat p { font-size: 0.95rem; color: #4a4244; margin-bottom: 14px; }
.dist-cat ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dist-cat li {
  font-size: 12px;
  font-weight: 600;
  background: var(--color-white);
  border: 1px solid #e6d7bb;
  color: var(--color-gold);
  border-radius: 14px;
  padding: 3px 10px;
}

.dist-skus-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dist-skus-head h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--color-black);
}
.dist-skus-head p { font-size: 0.92rem; color: #6b6264; }
.dist-link {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 13px;
  color: var(--color-primary);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.dist-link:hover { color: var(--color-primary-dark); }
.dist-skus {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.dist-sku {
  border: 1px solid #eee4d4;
  border-radius: 8px;
  padding: 12px 12px 14px;
  background: var(--color-white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dist-sku:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.dist-sku img { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; margin-bottom: 10px; }
.dist-sku h4 { font-size: 0.88rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.dist-sku span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ---------- Why DeliParva (dark) ---------- */
.dist-why { background: var(--color-black); color: var(--color-white); padding: 80px 24px; }
.dist-why .dist-eyebrow { color: var(--color-gold-light); }
.dist-why .dist-h2 { color: var(--color-white); }
.dist-why .dist-lead { color: rgba(255,255,255,0.72); }
.dist-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #3a3536;
  border: 1px solid #3a3536;
  border-radius: 10px;
  overflow: hidden;
}
.dist-why-item { background: var(--color-black); padding: 32px 28px; }
.dist-why-item svg { width: 34px; height: 34px; color: var(--color-gold-light); margin-bottom: 18px; }
.dist-why-item h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
}
.dist-why-item p { font-size: 0.93rem; color: rgba(255,255,255,0.7); }

/* ---------- Channels ---------- */
.dist-channels { background: var(--color-gold-pale); padding: 80px 24px; }
.dist-channels-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.dist-channels .dist-lead { color: #4a3a1f; margin-bottom: 20px; }
.dist-channel-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dist-channel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.dist-channel-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ---------- Process (reuses .process-grid from style.css) ---------- */
.dist-process { background: var(--color-white); padding: 80px 24px; }

/* ---------- Apply form ---------- */
.dist-apply {
  background: var(--color-primary);
  padding: 80px 24px;
  scroll-margin-top: 90px;
}
.dist-apply-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.dist-apply-copy { color: var(--color-white); }
.dist-apply-copy .dist-eyebrow { color: var(--color-gold-pale); }
.dist-apply-copy .dist-h2 { color: var(--color-white); }
.dist-apply-copy p { color: rgba(255,255,255,0.88); margin-bottom: 24px; }
.dist-apply-copy ul { list-style: none; margin-bottom: 28px; }
.dist-apply-copy li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.95rem; }
.dist-apply-copy li:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }
.dist-apply-copy a { color: var(--color-white); font-weight: 600; text-decoration: underline; }
.dist-apply-copy .pill { border-color: var(--color-white); color: var(--color-white); }

.dist-form {
  background: var(--color-white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.dist-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.dist-form .full { grid-column: 1 / -1; }
.dist-form label,
.dist-form legend {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 14px 0 6px;
}
.dist-form label .req { color: var(--color-primary); }
.dist-form input[type="text"],
.dist-form input[type="email"],
.dist-form input[type="tel"],
.dist-form select,
.dist-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d2c8;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-white);
}
.dist-form input:focus,
.dist-form select:focus,
.dist-form textarea:focus {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 0;
  border-color: var(--color-gold-light);
}
.dist-form textarea { min-height: 110px; resize: vertical; }
.dist-form fieldset { border: none; }
.dist-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.dist-checks label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid #d9d2c8;
  border-radius: 20px;
  padding: 7px 14px;
  cursor: pointer;
}
.dist-checks input { accent-color: var(--color-primary); }
.dist-checks label:has(input:checked) { border-color: var(--color-primary); background: #fdf1f0; }
.dist-form .btn { margin-top: 24px; width: 100%; }
.dist-form-note { font-size: 12px; color: #7a7173; margin-top: 12px; text-align: center; }
.dist-form .form-error { margin: 0 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dist-hero-inner,
  .dist-channels-inner,
  .dist-apply-inner { grid-template-columns: 1fr; }
  .dist-hero { padding: 48px 20px 56px; text-align: center; }
  .dist-hero p { margin-left: auto; margin-right: auto; }
  .dist-hero-ctas { justify-content: center; }
  .dist-hero-art { max-width: 400px; }
  .dist-proof ul { grid-template-columns: repeat(2, 1fr); }
  .dist-cats { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .dist-why-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-channels-inner { gap: 32px; }
}
@media (max-width: 600px) {
  .dist-portfolio, .dist-why, .dist-channels, .dist-process, .dist-apply { padding: 56px 20px; }
  .dist-proof ul { grid-template-columns: 1fr; }
  .dist-why-grid { grid-template-columns: 1fr; }
  .dist-channel-list { grid-template-columns: 1fr; }
  .dist-skus { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dist-form { padding: 24px 18px; }
  .dist-form-grid { grid-template-columns: 1fr; }
  .dist-hero-ctas .btn { width: 100%; text-align: center; }
}
