/* Página «Hazte distribuidor» */
.ibd { background: #ffffff; color: #241813; }
.ibd-wrap { width: min(100%, 1140px); margin: 0 auto; padding: 0 1.5rem; }

.ibd-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 82vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--promo-height) + var(--nav-height) + 3rem) 0 4.5rem;
  background: #031727;
  color: #ffffff;
}
.ibd-hero__media, .ibd-hero__overlay { position: absolute; inset: 0; }
.ibd-hero__media {
  background: var(--ibd-cover, none) center / cover no-repeat;
  transform: scale(1.04);
}
.ibd-hero__overlay {
  background:
    linear-gradient(90deg, rgba(3, 23, 39, 0.92) 0%, rgba(3, 23, 39, 0.7) 45%, rgba(3, 23, 39, 0.25) 100%),
    linear-gradient(0deg, rgba(3, 23, 39, 0.6), rgba(3, 23, 39, 0) 40%);
}
.ibd-hero__inner { position: relative; z-index: 1; }
.ibd-eyebrow, .ibd-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffa400;
}
.ibd-hero__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}
.ibd-hero__lead {
  margin: 1.4rem 0 2rem;
  max-width: 36rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.ibd-hero__mail { margin: 1.1rem 0 0; font-size: 0.98rem; color: rgba(255, 255, 255, 0.75); }
.ibd-hero__mail a { color: #ffd27a; text-decoration: underline; text-underline-offset: 3px; }

.ibd-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.ibd-ctas--center { justify-content: center; }
.ibd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ibd-btn svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.ibd-btn:hover { transform: translateY(-2px); }
.ibd-btn--wa { background: #25d366; color: #ffffff !important; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.ibd-btn--wa:hover { background: #1ebe5b; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
.ibd-btn--tel { background: #ffa400; color: #031727 !important; box-shadow: 0 8px 24px rgba(255, 164, 0, 0.3); }
.ibd-btn--tel:hover { background: #ffd27a; }

.ibd-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.ibd-section--soft { background: #f7f1e8; }
.ibd-section--dark { background: linear-gradient(135deg, #0a5794 0%, #031727 100%); color: #ffffff; }
.ibd-h2 {
  margin: 0 0 2.5rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: inherit;
}
.ibd .ibd-section h3 { margin: 0 0 0.5rem; font-size: 1.18rem; font-weight: 600; line-height: 1.25; color: inherit; }
.ibd .ibd-section p { margin: 0; font-size: 1rem; line-height: 1.55; }

.ibd-grid { display: grid; gap: 1.25rem; }
.ibd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ibd-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid #ece3d6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(36, 24, 19, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ibd-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(36, 24, 19, 0.1); }
.ibd-card p { color: #5f5148; }
.ibd-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #fff4dc;
  color: #c47c00;
}
.ibd-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ibd-benefit { padding-top: 1.25rem; border-top: 2px solid rgba(255, 164, 0, 0.7); }
.ibd-benefit__num { display: block; margin-bottom: 0.6rem; font-family: "Cinzel", serif; font-size: 2rem; color: #ffa400; }
.ibd-section--dark p { color: rgba(255, 255, 255, 0.8); }

.ibd-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.ibd-cat { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-decoration: none !important; color: #241813 !important; }
.ibd-cat__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f7f1e8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ibd-cat__img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.ibd-cat:hover .ibd-cat__img { transform: scale(1.04); box-shadow: 0 12px 28px rgba(36, 24, 19, 0.12); }
.ibd-cat__name { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; text-align: center; }

.ibd-steps { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: ibd; }
.ibd-steps li {
  position: relative;
  padding: 2rem 1.5rem 1.6rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(36, 24, 19, 0.06);
  counter-increment: ibd;
}
.ibd-steps li::before {
  content: counter(ibd);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #0a5794;
  color: #ffffff;
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
}
.ibd-steps strong { display: block; margin-bottom: 0.4rem; font-size: 1.15rem; }
.ibd-steps span { display: block; color: #5f5148; line-height: 1.55; }

.ibd-final {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #0b3054 0%, #031727 70%);
  color: #ffffff;
}
.ibd-final .ibd-h2 { margin-bottom: 0.75rem; }
.ibd-final > .ibd-wrap > p:not(.ibd-hero__mail) { margin: 0 0 2rem; color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; }

@media (max-width: 980px) {
  .ibd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ibd-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ibd-hero { min-height: auto; padding-top: calc(var(--promo-height) + var(--nav-height) + 2rem); padding-bottom: 3rem; }
  .ibd-hero__overlay { background: linear-gradient(180deg, rgba(3, 23, 39, 0.75), rgba(3, 23, 39, 0.92)); }
  .ibd-grid--4, .ibd-steps { grid-template-columns: 1fr; }
  .ibd-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ibd-ctas { flex-direction: column; }
  .ibd-btn { justify-content: center; width: 100%; }
}
