/*
 * Pagina home.
 * Fase 1: archivo preparado, no activo.
 */

/* =========================================================
   HERO PREMIUM PÁGINA DE INICIO - PICTOGRÁFICA
   ========================================================= */

body.home .picto-home-hero,
body.home .picto-hero,
body.home .home-hero,
body.home .hero-principal,
body.home .picto-main-hero,
body.home section[class*="hero"] {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: clamp(680px, 92vh, 940px) !important;
  display: flex !important;
  align-items: center !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(233, 30, 99, .24), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, .10), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(233, 30, 99, .13), transparent 34%),
    linear-gradient(135deg, #050505 0%, #10070b 44%, #060606 100%) !important;
}

body.home .picto-home-hero::before,
body.home .picto-hero::before,
body.home .home-hero::before,
body.home .hero-principal::before,
body.home .picto-main-hero::before,
body.home section[class*="hero"]::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -4 !important;
  opacity: .22 !important;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) !important;
  background-size: 76px 76px !important;
  mask-image: radial-gradient(circle at center, #000 0%, rgba(0,0,0,.74) 38%, transparent 78%) !important;
  animation: pictoHomeGridMove 20s linear infinite !important;
}

body.home .picto-home-hero::after,
body.home .picto-hero::after,
body.home .home-hero::after,
body.home .hero-principal::after,
body.home .picto-main-hero::after,
body.home section[class*="hero"]::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 48% !important;
  z-index: -3 !important;
  width: min(780px, 82vw) !important;
  height: min(780px, 82vw) !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(233,30,99,.32) 0%, rgba(233,30,99,.15) 30%, transparent 68%) !important;
  transform: translate(-50%, -50%) !important;
  filter: blur(20px) !important;
  opacity: .88 !important;
  animation: pictoHomeGlow 7s ease-in-out infinite alternate !important;
}

body.home .picto-home-hero h1,
body.home .picto-hero h1,
body.home .home-hero h1,
body.home .hero-principal h1,
body.home .picto-main-hero h1,
body.home section[class*="hero"] h1 {
  position: relative !important;
  max-width: 1120px !important;
  margin-bottom: clamp(18px, 2vw, 28px) !important;
  font-family: "Kenyan Coffee", Impact, "Arial Black", sans-serif !important;
  font-size: clamp(74px, 10.8vw, 168px) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: .78 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow:
    0 4px 0 rgba(233,30,99,.34),
    0 24px 70px rgba(0,0,0,.58) !important;
  animation: pictoHomeFadeUp .9s ease .08s both !important;
}

body.home .picto-home-hero h1::after,
body.home .picto-hero h1::after,
body.home .home-hero h1::after,
body.home .hero-principal h1::after,
body.home .picto-main-hero h1::after,
body.home section[class*="hero"] h1::after {
  content: "" !important;
  position: absolute !important;
  inset: -16% -18% !important;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255,255,255,.46) 48%,
    transparent 58%,
    transparent 100%
  ) !important;
  transform: translateX(-125%) skewX(-10deg) !important;
  animation: pictoHomeTitleShine 5.2s ease-in-out infinite !important;
  mix-blend-mode: screen !important;
  pointer-events: none !important;
}

body.home .picto-home-hero p,
body.home .picto-hero p,
body.home .home-hero p,
body.home .hero-principal p,
body.home .picto-main-hero p,
body.home section[class*="hero"] p {
  max-width: 760px !important;
  color: rgba(255,255,255,.76) !important;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif !important;
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.58 !important;
  letter-spacing: -.02em !important;
  animation: pictoHomeFadeUp .9s ease .18s both !important;
}

body.home .picto-home-hero .btn,
body.home .picto-hero .btn,
body.home .home-hero .btn,
body.home .hero-principal .btn,
body.home .picto-main-hero .btn,
body.home section[class*="hero"] .btn,
body.home section[class*="hero"] .button,
body.home section[class*="hero"] .elementor-button,
body.home section[class*="hero"] .wp-block-button__link {
  position: relative !important;
  overflow: hidden !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: #E91E63 !important;
  color: #fff !important;
  box-shadow:
    0 18px 46px rgba(233,30,99,.28),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

body.home .picto-home-hero .btn:hover,
body.home .picto-hero .btn:hover,
body.home .home-hero .btn:hover,
body.home .hero-principal .btn:hover,
body.home .picto-main-hero .btn:hover,
body.home section[class*="hero"] .btn:hover,
body.home section[class*="hero"] .button:hover,
body.home section[class*="hero"] .elementor-button:hover,
body.home section[class*="hero"] .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  background: #ff2b78 !important;
  box-shadow:
    0 24px 70px rgba(233,30,99,.38),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}

@keyframes pictoHomeGridMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 76px 76px, 76px 76px; }
}

@keyframes pictoHomeGlow {
  0% {
    opacity: .55;
    transform: translate(-50%, -50%) scale(.94);
  }
  100% {
    opacity: .96;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes pictoHomeFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pictoHomeTitleShine {
  0%, 42% {
    transform: translateX(-125%) skewX(-10deg);
  }
  62%, 100% {
    transform: translateX(125%) skewX(-10deg);
  }
}

@media (max-width: 900px) {
  body.home .picto-home-hero,
  body.home .picto-hero,
  body.home .home-hero,
  body.home .hero-principal,
  body.home .picto-main-hero,
  body.home section[class*="hero"] {
    min-height: 620px !important;
  }

  body.home .picto-home-hero h1,
  body.home .picto-hero h1,
  body.home .home-hero h1,
  body.home .hero-principal h1,
  body.home .picto-main-hero h1,
  body.home section[class*="hero"] h1 {
    font-size: clamp(60px, 15vw, 104px) !important;
    line-height: .82 !important;
  }
}

@media (max-width: 640px) {
  body.home .picto-home-hero,
  body.home .picto-hero,
  body.home .home-hero,
  body.home .hero-principal,
  body.home .picto-main-hero,
  body.home section[class*="hero"] {
    min-height: 560px !important;
    padding-top: 72px !important;
    padding-bottom: 64px !important;
  }

  body.home .picto-home-hero h1,
  body.home .picto-hero h1,
  body.home .home-hero h1,
  body.home .hero-principal h1,
  body.home .picto-main-hero h1,
  body.home section[class*="hero"] h1 {
    font-size: clamp(52px, 18vw, 86px) !important;
  }
}


/* =========================================================
   CENTRADO FINAL HERO HOME
   ========================================================= */

body.home .picto-home-hero,
body.home .picto-hero,
body.home .home-hero,
body.home .hero-principal,
body.home .picto-main-hero,
body.home section[class*="hero"] {
  justify-content: center !important;
  text-align: center !important;
}

body.home .picto-home-hero > *,
body.home .picto-hero > *,
body.home .home-hero > *,
body.home .hero-principal > *,
body.home .picto-main-hero > *,
body.home section[class*="hero"] > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .picto-home-hero .container,
body.home .picto-hero .container,
body.home .home-hero .container,
body.home .hero-principal .container,
body.home .picto-main-hero .container,
body.home section[class*="hero"] .container,
body.home section[class*="hero"] .elementor-container,
body.home section[class*="hero"] .elementor-widget-wrap,
body.home section[class*="hero"] .elementor-widget-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .picto-home-hero h1,
body.home .picto-hero h1,
body.home .home-hero h1,
body.home .hero-principal h1,
body.home .picto-main-hero h1,
body.home section[class*="hero"] h1,
body.home .picto-home-hero p,
body.home .picto-hero p,
body.home .home-hero p,
body.home .hero-principal p,
body.home .picto-main-hero p,
body.home section[class*="hero"] p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.home section[class*="hero"] .elementor-button-wrapper,
body.home section[class*="hero"] .wp-block-buttons,
body.home section[class*="hero"] .buttons,
body.home section[class*="hero"] .hero-buttons,
body.home section[class*="hero"] .picto-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

