/* ==========================================================================
   CENPIC — Sección Ondas de choque (moderna, con movimiento)
   ========================================================================== */

.ondas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(64px, 9vw, 112px);
  background:
    radial-gradient(120% 140% at 80% -10%, #1c5568 0%, transparent 55%),
    linear-gradient(160deg, #143050 0%, #0d2138 60%, #0a1b2e 100%);
  color: #eaf4f1;
}

/* ---------- Ondas concéntricas animadas ---------- */
.ondas-fx {
  position: absolute; z-index: -1;
  top: 50%; left: clamp(-120px, 8vw, 120px);
  width: 0; height: 0;
  pointer-events: none;
}
.ondas-fx .ring {
  position: absolute; top: 0; left: 0;
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;
  border: 1.5px solid rgba(127, 216, 204, .30);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 6s ease-out infinite;
}
.ondas-fx .ring:nth-child(2) { animation-delay: 1.5s; }
.ondas-fx .ring:nth-child(3) { animation-delay: 3s; }
.ondas-fx .ring:nth-child(4) { animation-delay: 4.5s; }
@keyframes ripple {
  0%   { transform: scale(.2); opacity: 0; }
  15%  { opacity: .55; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* halo derecho suave */
.ondas::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 90% at 92% 50%, rgba(224,153,92,.14) 0%, transparent 60%);
  pointer-events: none;
}

.ondas-inner { position: relative; }

/* ---------- Encabezado ---------- */
.ondas-head { max-width: 620px; margin-bottom: clamp(34px, 5vw, 52px); }
.ondas-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(127,216,204,.12);
  border: 1px solid rgba(127,216,204,.28);
  color: #9fe6da; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.ondas-chip svg { width: 17px; height: 17px; }
.ondas-head h2 {
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem);
  margin: 0;
}
.ondas-head p {
  color: #b8d2dd;
  font-size: clamp(1rem, .96rem + .35vw, 1.12rem);
  margin: 16px 0 0;
  max-width: 54ch;
}

/* ---------- Tarjetas glass ---------- */
.ondas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.ondas-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform .4s var(--ease), background .4s, border-color .4s, box-shadow .4s var(--ease);
}
.ondas-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.09);
  border-color: rgba(127,216,204,.45);
  box-shadow: 0 22px 48px rgba(0,0,0,.28);
}
/* borde superior que se ilumina */
.ondas-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.ondas-card:hover::before { transform: translateX(100%); }

.ondas-card-ic {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(135deg, var(--teal), #16695f);
  color: #fff; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(28,138,128,.35);
}
.ondas-card-ic svg { width: 27px; height: 27px; }

/* pulso detrás del ícono */
.ondas-pulse {
  position: absolute; top: clamp(24px,3vw,32px); left: clamp(24px,3vw,32px);
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--teal); opacity: .5; z-index: 1;
  animation: cardpulse 2.8s ease-out infinite;
}
@keyframes cardpulse {
  0%   { transform: scale(1); opacity: .45; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
.ondas-card:nth-child(2) .ondas-pulse { animation-delay: .6s; }
.ondas-card:nth-child(3) .ondas-pulse { animation-delay: 1.2s; }

.ondas-card h3 {
  position: relative; z-index: 2;
  color: #fff; font-size: 1.2rem; margin: 0 0 8px;
}
.ondas-card p {
  position: relative; z-index: 2;
  color: #aecad6; font-size: .93rem; margin: 0 0 20px; flex: 1;
}
.ondas-more {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  color: #9fe6da; font-weight: 700; font-size: .875rem; margin-top: auto;
}
.ondas-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ondas-more .rot { transform: rotate(-90deg); }
.ondas-card:hover .ondas-more .rot { transform: rotate(-90deg) translateY(-3px); }

/* ---------- Badges ---------- */
.ondas-badges {
  list-style: none; margin: clamp(28px,4vw,40px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
}
.ondas-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 500; color: #cfe3ee;
}
.ondas-badges svg {
  width: 18px; height: 18px; padding: 3px;
  border-radius: 50%; background: rgba(127,216,204,.16); color: #9fe6da;
}

.ondas-cta { margin-top: clamp(24px,3vw,32px); }

@media (prefers-reduced-motion: reduce) {
  .ondas-fx .ring, .ondas-pulse { animation: none; opacity: 0; }
  .ondas-card::before { display: none; }
}

/* ==========================================================================
   Ondas de choque — banners 3D (imagen + texto/íconos encima)
   ========================================================================== */
.ondas-banners { display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 44px); }

.ondas-banner {
  position: relative; overflow: hidden;
  border-radius: 22px; aspect-ratio: 21 / 9;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.ondas-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center; z-index: 0;
}
.ondas-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(95deg,
    rgba(8,18,32,.96) 0%, rgba(8,18,32,.86) 30%, rgba(8,18,32,.45) 52%, transparent 72%);
}
.ondas-banner-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 4vw, 52px); max-width: 60%;
}
.ondas-chip.is-mini { margin-bottom: 12px; }
.ondas-banner-copy h3 {
  color: #fff; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); line-height: 1.05; margin: 0;
}
.ondas-banner-copy h3 em { font-style: normal; color: #7fd8cc; }
.ondas-banner-copy > p {
  color: #c3dbe6; font-size: clamp(.9rem, .86rem + .3vw, 1.05rem);
  margin: 12px 0 0; max-width: 42ch;
}
.ob-benes { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 18px; }
.ob-bene { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: #dcefeb; font-weight: 500; }
.ob-bene svg { width: 21px; height: 21px; padding: 3px; flex: none; border-radius: 50%; background: rgba(127,216,204,.16); color: #7fd8cc; }
.ob-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ob-actions .btn { padding: 12px 20px; font-size: .86rem; }

@media (max-width: 760px) {
  .ondas-banner { aspect-ratio: 4 / 5; }
  .ondas-banner > img { object-position: 72% center; }
  .ondas-banner::after {
    background: linear-gradient(180deg, rgba(8,18,32,.25) 0%, rgba(8,18,32,.55) 42%, rgba(8,18,32,.96) 100%);
  }
  .ondas-banner-copy { max-width: 100%; justify-content: flex-end; padding-bottom: 30px; }
  .ondas-banner-copy > p { max-width: none; }
}
