/* BYM Hero v17 — contenido inspirado en la misión, sin alterar fondo ni astronauta */
.hero .hero-grid {
  position: relative;
  min-height: 840px;
  padding-bottom: 112px;
}

.hero .hero-copy {
  max-width: 690px;
  padding-top: 8px;
}

.hero .eyebrow.hero-mission-eyebrow {
  width: fit-content;
  max-width: 610px;
  padding: 11px 28px;
  border-color: rgba(126, 47, 255, .72);
  border-radius: 999px;
  color: #f3efff;
  letter-spacing: .26em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.55;
  box-shadow: inset 0 0 20px rgba(109, 38, 255, .08), 0 0 26px rgba(97, 30, 255, .11);
}

.hero .eyebrow.hero-mission-eyebrow .eyebrow-copy {
  display: inline-block;
}

.hero .eyebrow.hero-mission-eyebrow .eyebrow-star {
  color: #a855f7;
  text-shadow: 0 0 13px #7c3aed, 0 0 24px #7c3aed;
}

.hero h1.hero-mission-title {
  max-width: 720px;
  margin: 34px 0 30px;
  letter-spacing: -.055em;
  font-size: clamp(58px, 5.15vw, 82px);
  font-weight: 450;
  line-height: .98;
}

.hero h1.hero-mission-title .hero-title-line {
  display: block;
}

.hero h1.hero-mission-title .hero-title-line:first-child {
  font-weight: 760;
}

.hero h1.hero-mission-title .mission-highlight {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  color: transparent;
  font-weight: 820;
  background: linear-gradient(100deg, #6925ff 4%, #8b35ff 45%, #b14cff 78%, #7d2dff 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(120, 45, 255, .22));
  animation: missionTextShimmer 5.5s ease-in-out infinite;
}

.hero h1.hero-mission-title .mission-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 2px, #c4a1ff 3px, #7c3aed 8px, transparent 30px),
    linear-gradient(90deg, transparent, rgba(116, 50, 255, .9) 16%, #a855f7 50%, rgba(116, 50, 255, .9) 84%, transparent);
  background-repeat: no-repeat;
  background-position: -62px 0, 0 0;
  background-size: 62px 100%, 100% 100%;
  box-shadow: 0 0 7px rgba(116, 50, 255, .95), 0 0 24px rgba(116, 50, 255, .75);
  animation: missionFlare 4.8s ease-in-out infinite;
}

.hero h1.hero-mission-title .mission-highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 18%;
  right: 10%;
  bottom: -7px;
  height: 22px;
  opacity: .7;
  background: radial-gradient(ellipse, rgba(106, 35, 255, .48), transparent 70%);
  filter: blur(8px);
}

.hero h2.hero-mission-hidden {
  display: none;
}

.hero .hero-lead.hero-mission-lead {
  max-width: 610px;
  color: #e9e5ef;
  font-size: 18px;
  line-height: 1.5;
}

.hero .hero-lead.hero-mission-lead strong {
  color: #8f3bff;
  font-weight: 760;
}

.hero .hero-lead.hero-mission-lead .hero-lead-secondary {
  display: block;
  margin-top: 19px;
  color: #efedf4;
}

.hero .hero-lead.hero-mission-lead .hero-lead-secondary b {
  color: #fff;
  font-weight: 780;
}

.hero .hero-actions {
  margin-top: 30px;
}

.hero .button.button-primary.hero-mission-primary {
  min-width: 315px;
  min-height: 66px;
  padding-inline: 32px;
  background: linear-gradient(110deg, #7628ff, #8d31ff 52%, #6b24f7);
  border: 1px solid rgba(221, 193, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .27), 0 0 30px rgba(112, 43, 255, .48);
}

.hero .button.button-primary.hero-mission-primary:hover {
  background: linear-gradient(110deg, #873cff, #a64aff 52%, #7931ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 44px rgba(126, 52, 255, .76);
}

.hero .hero-mission-primary .button-spark {
  font-size: 22px;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff;
  animation: buttonSpark 2.4s ease-in-out infinite;
}

.hero .button.button-whatsapp.hero-mission-whatsapp {
  min-width: 246px;
  min-height: 66px;
  color: #fff;
  border: 2px solid #7532f1;
  background: rgba(8, 4, 18, .58);
  box-shadow: inset 0 0 22px rgba(106, 42, 230, .08);
}

.hero .button.button-whatsapp.hero-mission-whatsapp:hover {
  color: #fff;
  border-color: #a855f7;
  background: rgba(96, 36, 208, .16);
  box-shadow: 0 0 28px rgba(126, 52, 255, .34);
}

.hero .hero-checks.hero-mission-benefits {
  position: relative;
  z-index: 8;
  right: auto;
  bottom: auto;
  left: auto;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1160px;
  margin: 38px auto 0;
  gap: 0;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit {
  --benefit-hover: #ffffff;
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  min-width: 0;
  padding: 0 26px;
  gap: 16px;
  color: #f2eef8;
  white-space: normal;
  cursor: default;
  transition: color .28s ease, transform .28s ease;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 0;
  width: 1px;
  height: 58px;
  background: linear-gradient(transparent, rgba(113, 42, 242, .68), transparent);
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:nth-child(2) {
  --benefit-hover: #df5bff;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:nth-child(3) {
  --benefit-hover: #51d9ff;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:nth-child(4) {
  --benefit-hover: #c084fc;
}

.hero .hero-checks.hero-mission-benefits .benefit-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #8b35ff;
  transition: color .3s ease, filter .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 0 9px rgba(119, 42, 255, .65));
}

.hero .hero-checks.hero-mission-benefits .benefit-icon svg {
  width: 58px;
  height: 58px;
  overflow: visible;
}

.hero .hero-checks.hero-mission-benefits .benefit-copy {
  color: inherit;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.3;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:hover {
  color: #fff;
  transform: translateY(-4px);
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:hover .benefit-icon {
  color: var(--benefit-hover);
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 0 7px var(--benefit-hover)) drop-shadow(0 0 20px rgba(123, 51, 255, .74));
}

.hero .hero-manifesto {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 5px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #a7a0b7;
  font-size: 11px;
  letter-spacing: .33em;
  text-align: center;
  text-transform: uppercase;
}

.hero .hero-manifesto::before,
.hero .hero-manifesto::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 43, 238, .82));
}

.hero .hero-manifesto::after {
  background: linear-gradient(90deg, rgba(105, 43, 238, .82), transparent);
}

@keyframes missionTextShimmer {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes missionFlare {
  0%, 100% { background-position: -62px 0, 0 0; opacity: .72; }
  52% { background-position: calc(100% + 62px) 0, 0 0; opacity: 1; }
}

@keyframes buttonSpark {
  0%, 100% { opacity: .8; transform: scale(.92) rotate(0); }
  50% { opacity: 1; transform: scale(1.1) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1.hero-mission-title .mission-highlight,
  .hero h1.hero-mission-title .mission-highlight::after,
  .hero .hero-mission-primary .button-spark {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .hero .hero-grid {
    min-height: 820px;
    padding-bottom: 112px;
  }

  .hero h1.hero-mission-title {
    font-size: clamp(52px, 5.5vw, 68px);
  }

  .hero .hero-checks.hero-mission-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
  }

  .hero .hero-manifesto {
    font-size: 9px;
  }
}

@media (max-width: 820px) {
  .hero .hero-grid {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero .hero-copy {
    grid-row: 1;
    max-width: 100%;
  }

  .hero .space-scene {
    grid-row: 3;
  }

  .hero .eyebrow.hero-mission-eyebrow {
    margin-inline: auto;
    padding: 9px 18px;
    letter-spacing: .17em;
    font-size: 9px;
  }

  .hero h1.hero-mission-title {
    max-width: 650px;
    margin: 28px auto 25px;
    font-size: clamp(47px, 12vw, 70px);
    text-align: center;
  }

  .hero .hero-lead.hero-mission-lead {
    margin-inline: auto;
    font-size: 16px;
    text-align: center;
  }

  .hero .hero-checks.hero-mission-benefits {
    position: relative;
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
    row-gap: 24px;
  }

  .hero .hero-checks.hero-mission-benefits .hero-benefit {
    padding: 0 18px;
  }

  .hero .hero-manifesto {
    position: relative;
    bottom: auto;
    margin-top: 34px;
    line-height: 1.7;
  }
}

@media (max-width: 560px) {
  .hero h1.hero-mission-title {
    letter-spacing: -.045em;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero .hero-lead.hero-mission-lead {
    font-size: 15px;
  }

  .hero .button.button-primary.hero-mission-primary,
  .hero .button.button-whatsapp.hero-mission-whatsapp {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .hero .hero-checks.hero-mission-benefits {
    grid-template-columns: 1fr;
  }

  .hero .hero-checks.hero-mission-benefits .hero-benefit {
    grid-template-columns: 56px 1fr;
    padding: 5px 0;
  }

  .hero .hero-checks.hero-mission-benefits .hero-benefit::after {
    display: none;
  }

  .hero .hero-checks.hero-mission-benefits .benefit-icon,
  .hero .hero-checks.hero-mission-benefits .benefit-icon svg {
    width: 52px;
    height: 52px;
  }

  .hero .hero-manifesto {
    gap: 10px;
    font-size: 8px;
    letter-spacing: .2em;
  }
}
