/* ================================================================
   Infy Theme — Únete a INFY (distribuidores)
   ================================================================ */

.page-unete {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.infy-custom-layout .wd-content-layout:has(.page-unete) {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.unete-section--bleed {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* ── Hero navy ────────────────────────────────────────────────── */
.unete-hero {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 7rem) clamp(4rem, 9vw, 6rem);
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(ellipse 90% 80% at 50% 20%, rgba(47, 247, 208, 0.12) 0%, transparent 58%),
    radial-gradient(ellipse 140% 100% at 50% 100%, #103552 0%, #082944 48%, #051525 100%);
}

.unete-hero__inner {
  max-width: 820px;
  margin-inline: auto;
}

.unete-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-8);
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.unete-hero__badge-icon {
  flex-shrink: 0;
  color: #2ff7d0;
}

.unete-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-8);
}

.unete-hero__logo-img {
  display: block;
  width: clamp(88px, 14vw, 112px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.unete-hero__title {
  margin: 0 0 var(--sp-6);
  font-size: clamp(2.1rem, 5.5vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.12;
  color: #ffffff;
}

.unete-hero__highlight {
  display: block;
  margin-top: 0.15em;
  color: #2ff7d0;
}

.unete-hero__intro {
  margin: 0 auto var(--sp-10);
  max-width: 720px;
  font-size: var(--fs-md);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

body.infy-custom-layout .unete-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 2.25rem;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #2ff7d0 0%, #18c9a8 100%);
  color: var(--color-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(47, 247, 208, 0.38);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

body.infy-custom-layout .unete-hero__cta:hover {
  background: linear-gradient(135deg, #45ffd8 0%, #2ff7d0 100%);
  color: var(--color-dark);
  box-shadow: 0 16px 44px rgba(47, 247, 208, 0.48);
  transform: translateY(-1px);
}

/* ── Encabezados de sección ───────────────────────────────────── */
.unete-section-header {
  max-width: 860px;
  margin: 0 auto var(--sp-12);
  text-align: center;
}

.unete-section-header .section-tag {
  color: var(--color-text-muted);
}

.unete-section-header__title {
  margin: 0 0 var(--sp-4);
  font-size: clamp(1.85rem, 3.8vw, var(--fs-3xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.22;
  color: #082944;
}

.unete-section-header__intro {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.unete-section-header--light .unete-section-header__title,
.unete-section-header--light .unete-section-header__intro {
  color: #ffffff;
}

.unete-section-header--light .unete-section-header__intro {
  color: rgba(255, 255, 255, 0.84);
}

.unete-section-tag {
  display: inline-block;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unete-section-tag--light {
  color: #2ff7d0;
}

/* ── Beneficios ───────────────────────────────────────────────── */
.unete-benefits {
  padding-block: var(--sp-16) var(--sp-20);
  background: #ffffff;
}

.unete-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
}

.unete-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  min-height: 100%;
  padding: var(--sp-10) var(--sp-6);
  border: 1px solid #e5eaee;
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(8, 41, 68, 0.05);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.unete-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(8, 41, 68, 0.08);
}

.unete-benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: rgba(47, 247, 208, 0.2);
  color: #0a9a7d;
}

.unete-benefit-card__title {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: #082944;
}

.unete-benefit-card__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ── Pasos ────────────────────────────────────────────────────── */
.unete-steps {
  padding-block: var(--sp-16) var(--sp-20);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(47, 247, 208, 0.08) 0%, transparent 60%),
    #082944;
}

.unete-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
}

.unete-step-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-height: 100%;
  padding: var(--sp-10) var(--sp-8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.unete-step-card__num {
  font-size: clamp(2.75rem, 4.5vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: #2ff7d0;
}

.unete-step-card__title {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: #ffffff;
}

.unete-step-card__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

/* ── FAQ (estilos acordeón en contactanos.css) ────────────────── */
.page-unete .unete-faq {
  padding-block: var(--sp-16) var(--sp-20);
  background: #ffffff;
}

.page-unete .faq-section__title {
  color: #082944;
}

.page-unete .unete-faq .faq-section__header {
  margin-bottom: var(--sp-10);
}

.page-unete .unete-faq__intro {
  max-width: 640px;
  margin: var(--sp-4) auto 0;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 992px) {
  .unete-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unete-steps__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .unete-hero__highlight {
    display: inline;
  }

  .unete-benefits__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .unete-hero__intro {
    font-size: var(--fs-sm);
  }
}
