/**
 * Banner social ads — Llego Ya (sidebar, legible en columna estrecha).
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,500;0,600;0,700;0,800;1,800&display=swap');

.home-page.home-coastal-pulse .home-social-ads-slot {
  margin: 0;
  padding: 0;
  container-type: inline-size;
  container-name: home-social-ads;
}

.home-page.home-coastal-pulse .home-sa-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1080 / 1920;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1c1b;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-page.home-coastal-pulse .home-sa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.home-page.home-coastal-pulse .home-sa-stage-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-page.home-coastal-pulse .home-sa-stage {
  position: absolute;
  inset: 0;
  font-family: var(--cp-font, 'Plus Jakarta Sans', sans-serif);
}

/* Fondo */
.home-page.home-coastal-pulse .home-sa-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-page.home-coastal-pulse .home-sa-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page.home-coastal-pulse .home-sa-glow {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.home-page.home-coastal-pulse .home-sa-glow img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page.home-coastal-pulse .home-sa-glow--tl {
  left: -16%;
  top: -15%;
  width: 47%;
  height: 26%;
}

.home-page.home-coastal-pulse .home-sa-glow--br {
  right: -12%;
  top: 40%;
  width: 50%;
  height: 46%;
  transform: rotate(-2.8deg);
}

/* Header — misma anchura que columnas de beneficios */
.home-page.home-coastal-pulse .home-sa-brand {
  position: absolute;
  left: 5.56%;
  right: 5.56%;
  top: 12%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.home-page.home-coastal-pulse .home-sa-logo-text {
  margin: 0;
  font-size: clamp(1.35rem, 11cqi, 2rem);
  font-weight: 800;
  line-height: 1.05;
  color: #c5f900;
  letter-spacing: -0.02em;
}

.home-page.home-coastal-pulse .home-sa-tagline {
  margin: 0;
  font-size: clamp(0.72rem, 5.8cqi, 0.95rem);
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}

/* Título y lead */
.home-page.home-coastal-pulse .home-sa-title {
  position: absolute;
  left: 5.56%;
  right: 5.56%;
  top: 20%;
  width: auto;
  margin: 0;
  z-index: 4;
  font-size: clamp(1.05rem, 9.2cqi, 1.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.home-page.home-coastal-pulse .home-sa-lead {
  position: absolute;
  left: 5.56%;
  top: 38%;
  width: 52%;
  margin: 0;
  z-index: 4;
  font-size: clamp(0.72rem, 5.4cqi, 0.92rem);
  font-weight: 500;
  line-height: 1.28;
  color: #ffffff;
}

.home-page.home-coastal-pulse .home-sa-lead strong {
  color: #c5f900;
  font-weight: 800;
}

/* Persona */
.home-page.home-coastal-pulse .home-sa-person {
  position: absolute;
  left: 36%;
  top: 28%;
  width: 68%;
  height: 52%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.home-page.home-coastal-pulse .home-sa-person img {
  position: absolute;
  top: 0;
  left: -35%;
  width: 164%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Grid 2 columnas iguales — armonía col. 1 y col. 3 */
.home-page.home-coastal-pulse .home-sa-features {
  position: absolute;
  left: 5.56%;
  right: 5.56%;
  top: 47.5%;
  bottom: 17.5%;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(8px, 3.2cqi, 14px);
  pointer-events: none;
}

.home-page.home-coastal-pulse .home-sa-feature {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: clamp(12px, 5cqi, 18px);
  background: #2a2a2a;
  box-sizing: border-box;
  padding: clamp(10px, 4.2cqi, 16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(6px, 2.8cqi, 12px);
  overflow: hidden;
}

.home-page.home-coastal-pulse .home-sa-feature--top {
  grid-column: 1;
  grid-row: 1;
}

.home-page.home-coastal-pulse .home-sa-feature--bl {
  grid-column: 1;
  grid-row: 2;
}

.home-page.home-coastal-pulse .home-sa-feature--br {
  grid-column: 2;
  grid-row: 2;
}

.home-page.home-coastal-pulse .home-sa-icon-arrow {
  width: clamp(16px, 5.5cqi, 24px);
  height: clamp(16px, 5.5cqi, 24px);
  flex-shrink: 0;
}

.home-page.home-coastal-pulse .home-sa-feature p {
  margin: 0;
  font-size: clamp(11px, 4.8cqi, 15px);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  word-break: break-word;
  hyphens: auto;
}

/* CTA */
.home-page.home-coastal-pulse .home-sa-cta {
  position: absolute;
  left: 5.56%;
  right: 5.56%;
  bottom: 3.8%;
  height: 11.5%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 clamp(10px, 4cqi, 18px);
  border-radius: clamp(12px, 4.5cqi, 18px);
  background: #2a2a2a;
  box-sizing: border-box;
}

.home-page.home-coastal-pulse .home-sa-cta-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(0.68rem, 5.2cqi, 0.88rem);
  font-weight: 500;
  line-height: 1.28;
  color: #ffffff;
}

.home-page.home-coastal-pulse .home-sa-cta-text em {
  font-style: italic;
  font-weight: 800;
  color: #c5f900;
  text-transform: uppercase;
}

.home-page.home-coastal-pulse .home-sa-cta-btn {
  flex-shrink: 0;
  width: clamp(32px, 14cqi, 44px);
  height: clamp(32px, 14cqi, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page.home-coastal-pulse .home-sa-cta-arrow-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@container home-social-ads (min-width: 300px) {
  .home-page.home-coastal-pulse .home-sa-brand {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  .home-page.home-coastal-pulse .home-sa-tagline {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 1279px) {
  .home-page.home-coastal-pulse .home-social-ads-slot--sidebar {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .home-page.home-coastal-pulse .home-social-ads-slot--sidebar {
    display: block;
  }
}
