/* heroBanner.css — Mobile first */

.heroBanner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75vh;
  width: 100%;
  overflow: hidden;
  background-image: var(--heroBanner-bg, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #052699;
}

.heroBanner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 38, 153, 0.88) 0%,
    rgba(18, 66, 230, 0.72) 60%,
    rgba(5, 38, 153, 0.80) 100%
  );
  z-index: 1;
}

.heroBanner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 64px 24px;
}

/* ── Eyebrow ── */
.heroBanner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #83E612;
  margin: 0 0 20px;
  line-height: 1;
}

.heroBanner__eyebrowIcon {
  display: flex;
  align-items: center;
  color: #83E612;
  flex-shrink: 0;
}

/* ── Títulos ── */
.heroBanner__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(36px, 8vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.heroBanner__titleWhite { color: #FFFFFF; }
.heroBanner__titleGreen { color: #83E612; }

/* ── Subtítulo ── */
.heroBanner__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 40px;
}

/* ── CTAs ── */
.heroBanner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.heroBanner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.heroBanner__ctaPrimary {
  background-color: #1242E6;
  border-color: #1242E6;
  color: #FFFFFF;
}
.heroBanner__ctaPrimary:hover {
  background-color: #052699;
  border-color: #052699;
  box-shadow: 0 6px 24px rgba(18, 66, 230, 0.40);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.heroBanner__ctaSecondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
}
.heroBanner__ctaSecondary:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.heroBanner__ctaIcon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.heroBanner__ctaSecondary:hover .heroBanner__ctaIcon {
  transform: translate(2px, -2px);
}

/* ── Decoración ── */
.heroBanner__decoration {
  display: none;
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(131, 230, 18, 0.35) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

/* ── Tablet 768px ── */
@media (min-width: 768px) {
  .heroBanner { min-height: 80vh; }
  .heroBanner__content { padding: 80px 32px; }
  .heroBanner__decoration { display: block; }
}

/* ── Desktop 1024px ── */
@media (min-width: 1024px) {
  .heroBanner { min-height: 88vh; }
  .heroBanner__content {
    padding: 96px 32px;
    max-width: 700px;
    margin-inline: unset;
    margin-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  }
  .heroBanner__decoration { display: block; width: 180px; height: 180px; bottom: 56px; right: 80px; }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .heroBanner__cta,
  .heroBanner__ctaIcon { transition: none; }
}
