/* Home landing — hero cinematográfico + overlays SEO. */
:root {
  --home-cta-gap: clamp(0.5rem, 1.8vh, 1.25rem);
  --hero-gold: #ffd400;
  --hero-gold-2: #ffe884;
}

html {
  scroll-padding-top: var(--header-offset);
}

.main-header,
.l-h .wnd-fixed,
.h-w.wnd-fixed {
  padding-top: env(safe-area-inset-top, 0px);
}

/* Un solo menú en la home: el nuevo. El viejo no se muestra. */
body.wt-home header.l-h,
body.wt-home .s-hn,
body.wt-home .h-w.wnd-fixed,
body.wt-home #menu-mobile,
body.wt-home #menu-slider,
body.wt-home #menu-block {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  position: static !important;
}

html.dp-site-header body.wt-home .l-m {
  padding-top: 0;
}

/* ——— Hero principal ——— */
.dp-home-hero {
  --hero-title-max-h: clamp(120px, 28vw, 220px);
  --hero-poster: url("/assets/images/thumbs/nIO6LbW7tcE.jpg");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  background: #0a0b0e;
}

.dp-home-hero.wnd-hh-50,
.l-m .dp-home-hero.wnd-hh-50,
.dp-home-hero.wnd-hh-50 .s-w,
.dp-home-hero.wnd-hh-50 .s-o,
.l-m .dp-home-hero .s-w,
.l-m .dp-home-hero .s-o {
  height: auto !important;
  min-height: min(88vh, 820px);
}

.dp-home-hero .s-w,
.dp-home-hero .s-o {
  position: relative;
}

.dp-home-hero .s-bg,
.dp-home-hero .s-bg-l {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden;
  z-index: 0;
  clip: auto !important;
  clip-path: none !important;
}

.dp-home-hero .s-bg-l {
  background-color: #0a0b0e;
  background-image: var(--hero-poster);
  background-size: cover;
  background-position: center;
}

.dp-home-hero .s-bg-l > div {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
}

.dp-home-hero .dp-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.dp-home-hero iframe.wnd-video-background,
.dp-home-hero video.wnd-video-background {
  z-index: 1;
}

.dp-home-hero .s-bg-l::before,
.dp-home-hero .s-bg-l::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.dp-home-hero .s-bg-l::before {
  background:
    linear-gradient(105deg, rgba(6, 7, 10, 0.88) 0%, rgba(6, 7, 10, 0.58) 46%, rgba(6, 7, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.35) 0%, transparent 28%, rgba(6, 7, 10, 0.55) 100%);
}

.dp-home-hero .s-bg-l::after {
  background: radial-gradient(ellipse 70% 80% at 78% 42%, transparent 0%, rgba(0, 0, 0, 0.28) 100%);
}

.dp-home-hero .s-c {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding-top: calc(var(--header-offset) + 1.25rem) !important;
  padding-bottom: clamp(1.75rem, 5vh, 3.5rem) !important;
  padding-left: clamp(1rem, 4vw, 2rem) !important;
  padding-right: clamp(1rem, 4vw, 2rem) !important;
}

.dp-home-hero .s-hc-c {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.dp-hero {
  max-width: 38rem;
  color: #f6f7f8;
  font-family: Metropolis, Inter, system-ui, -apple-system, sans-serif;
  text-align: left;
}

.dp-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 var(--home-cta-gap);
  padding: 0.35rem 0.8rem 0.35rem 0.55rem;
  border: 1px solid rgba(255, 212, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.08);
  color: var(--hero-gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dp-hero-live {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hero-gold);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.18);
  animation: dp-hero-pulse 2.2s ease-out infinite;
}

.dp-hero-title {
  margin: 0 0 var(--home-cta-gap);
  color: #fff;
  font-size: clamp(2.05rem, 5.4vw, 4.15rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.dp-hero-title em {
  display: block;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, var(--hero-gold) 0%, var(--hero-gold-2) 55%, #fff 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.dp-hero-lead {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  color: rgba(246, 247, 248, 0.86);
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.dp-hero-lead strong {
  color: #fff;
  font-weight: 800;
}

.dp-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.dp-hero-pills li {
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dp-home-hero .home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin: 0 0 1.35rem;
  position: relative;
  z-index: 3;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  text-decoration: none;
  text-wrap: balance;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.dp-home-hero .home-cta-primary {
  background: var(--hero-gold);
  color: #111;
  box-shadow: 0 10px 28px rgba(255, 212, 0, 0.28);
}

.dp-home-hero .home-cta:focus-visible {
  outline: 2px solid var(--hero-gold);
  outline-offset: 3px;
}

.dp-home-hero .home-cta-primary:hover,
.dp-home-hero .home-cta-primary:focus-visible {
  background: var(--hero-gold-2);
  transform: translateY(-1px);
}

.dp-home-hero .home-cta-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.dp-home-hero .home-cta-ghost:hover,
.dp-home-hero .home-cta-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.dp-hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 0.75rem 1.5rem;
  width: fit-content;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dp-hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.dp-hero-trust strong {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.dp-hero-trust span {
  color: rgba(246, 247, 248, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes dp-hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(255, 212, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
}

@media (max-width: 768px) {
  .dp-home-hero {
    height: auto !important;
    overflow: hidden;
  }

  .dp-home-hero.wnd-hh-50,
  .l-m .dp-home-hero.wnd-hh-50,
  .dp-home-hero.wnd-hh-50 .s-w,
  .dp-home-hero.wnd-hh-50 .s-o,
  .l-m .dp-home-hero .s-w,
  .l-m .dp-home-hero .s-o,
  .dp-home-hero .s-c {
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start;
  }

  .dp-home-hero .s-c {
    padding-top: calc(var(--header-offset) + 1.5rem) !important;
    padding-bottom: 1.5rem !important;
  }

  .dp-hero {
    max-width: none;
  }

  .dp-hero-title {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .dp-home-hero .home-hero-ctas {
    width: 100%;
  }

  .dp-home-hero .home-cta {
    width: 100%;
    padding: 0.72rem 1rem;
  }

  .dp-hero-trust {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (max-width: 768px) and (max-height: 740px) {
  :root {
    --home-cta-gap: clamp(0.4rem, 1.4vh, 0.85rem);
    --hero-title-max-h: clamp(90px, 22vw, 160px);
  }

  .dp-hero-lead {
    font-size: 0.95rem;
  }

  .dp-hero-pills {
    margin-bottom: 0.9rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .dp-hero-title {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
  }

  .dp-hero-lead {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 380px) {
  .dp-hero-kicker {
    letter-spacing: 0.06em;
    font-size: 0.64rem;
  }

  .dp-hero-pills {
    gap: 0.3rem;
  }

  .dp-hero-trust {
    gap: 0.4rem;
  }
}

.home-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 1.5rem) 2rem;
}

.home-faq h2 {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
}

.home-faq details {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

.home-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq details p {
  margin: 0.5rem 0 0;
  line-height: 1.55;
  color: #374151;
}

.home-faq details a {
  color: #1d4ed8;
}

.dprenders-widget,
.dprenders-widget .promo-container {
  min-height: auto !important;
}

.dprenders-widget .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.dprenders-widget .hero-actions .cta-button {
  width: auto;
  min-width: 180px;
}

.whatsapp-float {
  bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width: 768px) {
  .dprenders-widget .hero-actions {
    justify-content: center;
  }

  .dprenders-widget .hero-actions .cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float.neon::before,
  .dp-hero-live {
    animation: none !important;
  }

  .dp-home-hero iframe.wnd-video-background,
  .dp-home-hero video.wnd-video-background {
    display: none !important;
  }
}
