/* =========================================================
   Hero INCLUSIÓN
   ========================================================= */

.home-hero--standard {
  --hero-inclusion-primary: #493e8b;
  --hero-inclusion-primary-deep: #34295f;
  --hero-inclusion-primary-soft: #8f83d6;
  --hero-inclusion-accent: #c9c2ff;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  padding-top: var(--header-height, 166px);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, #53469b 0%, var(--hero-inclusion-primary) 46%, var(--hero-inclusion-primary-deep) 100%);
}

.home-hero--standard::before,
.home-hero--standard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero--standard::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 194, 255, 0.18) 0%, rgba(201, 194, 255, 0.06) 22%, transparent 45%),
    radial-gradient(circle at 14% 20%, rgba(143, 131, 214, 0.22) 0%, rgba(143, 131, 214, 0.08) 20%, transparent 45%),
    radial-gradient(circle at 84% 28%, rgba(95, 80, 170, 0.2) 0%, rgba(95, 80, 170, 0.07) 20%, transparent 44%);
  opacity: 1;
}

.home-hero--standard::after {
  inset: auto 0 0;
  height: clamp(120px, 18vw, 220px);
  background: linear-gradient(180deg, rgba(28, 20, 61, 0) 0%, rgba(28, 20, 61, 0.28) 100%);
}

.home-hero--standard > .wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .home-hero--standard {
    padding-top: var(--header-height-compact, 76px);
  }
}

/* =========================================================
   Fondo visual
   ========================================================= */

.hero-standard-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-standard-scene__fade,
.hero-standard-scene__texture {
  position: absolute;
  display: block;
}

.hero-standard-scene__fade {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: none;
}

.hero-standard-scene__fade--blue {
  z-index: 1;
  background: linear-gradient(135deg, rgba(62, 49, 116, 0.98) 0%, rgba(75, 62, 142, 0.96) 50%, rgba(86, 72, 160, 0.94) 100%);
}

.hero-standard-scene__fade--yellow {
  z-index: 2;
  background: linear-gradient(135deg, rgba(117, 101, 190, 0.98) 0%, rgba(102, 88, 176, 0.96) 50%, rgba(82, 68, 154, 0.94) 100%);
}

.hero-standard-scene__fade--cyan {
  z-index: 3;
  background: linear-gradient(135deg, rgba(96, 80, 170, 0.98) 0%, rgba(82, 68, 154, 0.96) 50%, rgba(68, 56, 132, 0.94) 100%);
}

.hero-standard-scene__fade--violet {
  z-index: 4;
  opacity: 1;
  background: linear-gradient(135deg, rgba(73, 62, 139, 0.99) 0%, rgba(69, 57, 128, 0.99) 50%, rgba(58, 47, 111, 0.99) 100%);
}

.hero-standard-scene__texture {
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%) 0 0 / 32px 32px,
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 100%) 0 0 / 40px 40px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 28%, transparent 72%, rgba(201, 194, 255, 0.025) 100%);
  opacity: 0.035;
  mix-blend-mode: soft-light;
}

.hero-standard-scene__fade--blue,
.hero-standard-scene__fade--yellow,
.hero-standard-scene__fade--cyan,
.hero-standard-scene__fade--violet {
  clip-path: inset(0 0 0 0);
}

/* =========================================================
   Hero principal
   ========================================================= */

.hero-standard {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-standard__content {
  display: grid;
  place-items: center;
  width: min(100%, 56rem);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(5rem, 10vw, 8.5rem);
}

.hero-standard__lockup {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  width: min(100%, 36rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1rem, 2.4vw, 1.8rem);
  border-inline: 4px solid var(--hero-inclusion-accent);
}

.hero-standard__kicker {
  display: grid;
  gap: 0.08rem;
  margin: 0;
  font-family: "Tipo UBB", var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(248, 249, 253, 0.95);
}

.hero-standard__kicker-line {
  display: block;
}

.hero-standard__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #f8f9fd;
  text-align: center;
}

.hero-standard__subline {
  margin: 0;
  font-family: "Tipo UBB", var(--font-display);
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  font-weight: 900;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(248, 249, 253, 0.9);
}

html[data-theme="dark"] .home-hero--standard {
  background: linear-gradient(180deg, #43347f 0%, #3f2f76 46%, #34295f 100%);
}

html[data-theme="dark"] .hero-standard-scene__texture {
  opacity: 0.03;
}

@media (max-width: 767.98px) {
  .home-hero--standard {
    padding-bottom: clamp(3.5rem, 9vw, 5rem);
  }

  .hero-standard__content {
    width: 100%;
    padding-top: 3.4rem;
    padding-bottom: 4rem;
  }

  .hero-standard__lockup {
    width: min(100%, 26rem);
    padding-inline: 0.85rem;
    border-inline-width: 3px;
  }

  .hero-standard__kicker {
    font-size: 1.45rem;
  }

  .hero-standard__title {
    font-size: clamp(2.9rem, 16vw, 4.6rem);
    line-height: 0.9;
  }

  .hero-standard__subline {
    font-size: 1.18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-standard-scene__fade,
  .hero-standard-scene__texture {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
