/* Home landing — UX + SEO overlays. No cambia el layout desktop Webnode. */
:root {
  --header-offset: calc(4.75rem + env(safe-area-inset-top, 0px));
  --home-cta-gap: clamp(0.5rem, 1.8vh, 1.25rem);
}

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);
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  position: relative;
  z-index: 3;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  text-decoration: none;
  text-wrap: balance;
  letter-spacing: 0.02em;
}

.home-cta-primary {
  background: #fff;
  color: #111;
}

.home-cta-whatsapp {
  background: #25d366;
  color: #fff;
}

.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%;
  }

  .home-cta {
    width: 100%;
  }

  .s.s-hc .s-hc-c {
    padding-top: var(--header-offset);
  }
}

@media (max-width: 768px) and (max-height: 740px) {
  :root {
    --home-cta-gap: clamp(0.4rem, 1.4vh, 0.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float.neon::before {
    animation: none !important;
  }
}
