/* =========================================================
   VELVETX AGENCY — Portada en carrusel de banners
   Los banners se administran en el panel: Configuración → Banners de la portada.
   ========================================================= */
.hero-banner { --hb-ink: #1B1A3A; --hb-muted: #4A4766; background: #FFFFFF; padding-bottom: 26px; }
.hb-viewport { position: relative; overflow: hidden; }
.hb-track { display: flex; transition: transform .75s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.hb-track.is-dragging { transition: none; }

.hb-slide {
  position: relative; flex: 0 0 100%; min-height: clamp(470px, 40vw, 600px); display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(70% 90% at 85% 40%, rgba(236, 0, 140, .10), transparent 70%), #FFFFFF;
}
/* Imagen de fondo a todo lo ancho (banners configurados) */
.hb-media { position: absolute; inset: 0; z-index: 0; }
.hb-media picture, .hb-media img { display: block; width: 100%; height: 100%; }
.hb-media img { object-fit: cover; object-position: right center; }
.hb-full::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 30%, rgba(255, 255, 255, .35) 52%, rgba(255, 255, 255, 0) 64%);
}
/* Imagen “compuesta” a la derecha (banners de ejemplo) */
.hb-media.hb-fit { left: auto; right: 2%; width: 56%; display: flex; align-items: center; justify-content: flex-end; }
.hb-media.hb-fit img {
  object-fit: contain; object-position: right center; height: 94%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 95%, transparent 100%);
}

.hb-content { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 56px; }
.hb-content > * { max-width: 640px; }
.hb-eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 6px; color: var(--hb-ink); margin-bottom: 22px; }
.hb-title { display: grid; font-family: var(--font-display); margin-bottom: 26px; }
.hb-t1 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; color: var(--hb-ink); line-height: 1.05; letter-spacing: -.5px; }
.hb-t2 {
  position: relative; width: fit-content; font-size: clamp(48px, 6vw, 92px); font-weight: 900; color: #EC008C; line-height: 1.02; letter-spacing: -2px;
  padding-bottom: 12px;
}
.hb-t2::after {
  content: ""; position: absolute; left: 34%; right: -2%; bottom: 0; height: 9px; border-radius: 50%;
  border-top: 4px solid #EC008C; transform: rotate(-1.5deg);
}
.hb-text { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; color: var(--hb-muted); margin-bottom: 30px; max-width: 560px; }
.hb-text strong { color: #EC008C; font-weight: 700; }
.hb-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-banner .btn-ghost.btn-hero { background: rgba(255, 255, 255, .9); }

/* Flechas y puntos */
.hb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: #EC008C; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 22px -10px rgba(27, 26, 58, .45); transition: background .2s, color .2s, transform .2s;
}
.hb-arrow svg { width: 26px; height: 26px; }
.hb-prev { left: 18px; }
.hb-next { right: 18px; }
.hb-arrow:hover { background: #EC008C; color: #FFFFFF; transform: translateY(-50%) scale(1.06); }
.hb-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hb-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(236, 0, 140, .3); cursor: pointer; transition: width .3s, background .3s; }
.hb-dots button[aria-selected="true"] { width: 28px; background: #EC008C; }
.hb-viewport.is-single .hb-arrow, .hb-viewport.is-single .hb-dots { display: none; }

/* Franja inferior */
.hb-strip {
  position: relative; z-index: 4; margin-top: -26px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: #FFF3F9; border: 1px solid rgba(236, 0, 140, .12); border-radius: 22px; padding: 18px 26px;
  box-shadow: 0 20px 44px -28px rgba(236, 0, 140, .55);
}
.hb-community { display: flex; align-items: center; gap: 18px; flex: 1.4; min-width: 280px; }
.hb-avatars { display: flex; }
.hb-avatars span {
  width: 54px; height: 54px; border-radius: 50%; border: 3px solid #FFFFFF; margin-left: -14px;
  background-size: 260%; background-position: 92% 18%; background-color: #EC008C;
}
.hb-avatars span:first-child { margin-left: 0; }
.hb-plus { display: grid; place-items: center; color: #FFFFFF; font-weight: 700; font-size: 16px; background: #EC008C !important; }
.hb-community p { font-size: 17px; line-height: 1.35; color: var(--hb-ink); }
.hb-community strong { font-weight: 800; }
.hb-features { list-style: none; margin: 0; padding: 0; display: flex; flex: 2; justify-content: space-around; gap: 10px; }
.hb-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.25; color: var(--hb-ink); padding: 0 14px; border-left: 1px solid rgba(27, 26, 58, .12); }
.hb-ficon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 0, 140, .1); color: #EC008C; flex-shrink: 0; }
.hb-ficon svg { width: 24px; height: 24px; }
.hb-cta { padding: 16px 34px; font-size: 17px; border-radius: 16px; white-space: nowrap; }
.hb-countries { margin-top: 22px; }
.hb-countries .hero-countries { max-width: none; }

/* Animación de entrada del texto en cada cambio de banner */
.hb-slide.is-active .hb-content > * { animation: hbIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.hb-slide.is-active .hb-content > *:nth-child(2) { animation-delay: .06s; }
.hb-slide.is-active .hb-content > *:nth-child(3) { animation-delay: .12s; }
.hb-slide.is-active .hb-content > *:nth-child(4) { animation-delay: .18s; }
@keyframes hbIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hb-features li { padding: 0 8px; font-size: 14px; }
  .hb-cta { padding: 14px 24px; }
}
@media (max-width: 900px) {
  .hb-media.hb-fit { width: 50%; opacity: .9; }
  .hb-strip { margin-top: 16px; }
  .hb-features { flex-basis: 100%; justify-content: space-between; order: 3; }
  .hb-features li:first-child { border-left: 0; }
}
/* Celular: sin imagen de fondo (como pediste), solo texto */
@media (max-width: 767px) {
  .hb-media { display: none; }
  .hb-slide { min-height: 0; background: linear-gradient(160deg, #FFFFFF 40%, rgba(236, 0, 140, .08)); }
  .hb-content { padding-top: 34px; padding-bottom: 64px; text-align: left; }
  .hb-eyebrow { font-size: 12px; letter-spacing: 4px; margin-bottom: 14px; }
  .hb-t2 { letter-spacing: -1px; }
  .hb-actions { flex-direction: column; gap: 12px; }
  .hb-actions .btn { width: 100%; }
  .hb-arrow { top: auto; bottom: 6px; transform: none; width: 40px; height: 40px; color: #EC008C; filter: none; }
  .hb-arrow svg { width: 24px; height: 24px; }
  .hb-prev { left: 8px; } .hb-next { right: 8px; }
  .hb-strip { padding: 16px; gap: 16px; }
  .hb-community { min-width: 0; }
  .hb-community p { font-size: 15px; }
  .hb-avatars span { width: 44px; height: 44px; }
  .hb-features { flex-direction: column; gap: 10px; }
  .hb-features li { border-left: 0; padding: 0; }
  .hb-cta { width: 100%; justify-content: center; order: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-track { transition: none; }
  .hb-slide.is-active .hb-content > * { animation: none; }
}
