/* ==========================================================================
   DTI PROS · Tienda online próximamente (proximamente.php)
   Estructura del master Innuro: aviso con pulso, título, tarjetas de lo que viene,
   caja de atención directa y tira de servicios (footer.css).
   Ondas de luz en CSS, barra de carga y borde de luz. Entrada en header.css
   ========================================================================== */

.cs-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 112px); text-align: center; background: radial-gradient(60% 60% at 50% 0%, rgba(31, 91, 255, .26), transparent 65%), linear-gradient(180deg, #050A18, var(--bg)); }
.cs-hero .wrap { position: relative; z-index: 1; }

/* Ondas de luz: tres elipses que respiran y giran */
.cs-waves { position: absolute; inset: 0; pointer-events: none; }
.cs-waves span { position: absolute; left: 50%; top: 10%; width: 120vw; height: 60vw; border-radius: 50%; border: 1px solid rgba(76, 132, 255, .28); transform: translateX(-50%) rotate(-6deg); box-shadow: 0 0 40px rgba(31, 91, 255, .12); animation: csWave 14s ease-in-out infinite; }
.cs-waves span:nth-child(2) { top: 18%; border-color: rgba(242, 200, 120, .22); animation-delay: -4s; animation-duration: 18s; }
.cs-waves span:nth-child(3) { top: 26%; width: 140vw; border-color: rgba(143, 176, 255, .16); animation-delay: -9s; animation-duration: 22s; }
@keyframes csWave { 50% { transform: translateX(-50%) rotate(4deg) scale(1.06); } }

/* Aviso con pulso */
.cs-badge-wrap { display: flex; justify-content: center; margin-bottom: 26px; }
.cs-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(76, 132, 255, .45); background: rgba(31, 91, 255, .1); color: var(--blue-3); font: 700 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.cs-badge-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-2); }
.cs-badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue-2); animation: csPulse 1.8s ease-out infinite; }
@keyframes csPulse { to { transform: scale(3.4); opacity: 0; } }

.cs-hero .cs-title { max-width: 1100px; margin: 0 auto; font-size: clamp(50px, 8vw, 124px); }
.cs-hero .thero__script { margin: 6px 0 0; }

/* Barra de carga infinita */
.cs-load { position: relative; width: min(420px, 80%); height: 3px; margin: 30px auto 0; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.cs-load span { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--blue-2), var(--gold), transparent); box-shadow: 0 0 14px var(--glow); animation: csLoad 2.2s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes csLoad { from { left: -40%; } to { left: 100%; } }

.cs-lead { max-width: 760px; margin: 26px auto 0; color: var(--muted); font-size: 18px; }
.cs-lead strong { color: var(--white); }

/* Tarjetas */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.cs-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s; }
.cs-card:hover { border-color: rgba(76, 132, 255, .7); transform: translateY(-6px); }
.cs-card--featured { border-color: rgba(76, 132, 255, .6); background: linear-gradient(160deg, rgba(31, 91, 255, .28), rgba(7, 13, 28, .9) 70%); box-shadow: 0 30px 70px -30px var(--glow); }
.cs-card-tag { position: absolute; right: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; background: var(--blue); font: 700 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.cs-card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(31, 91, 255, .1); }
.cs-card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.cs-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Caja de atención directa con borde de luz giratorio */
.cs-contact-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 16px; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: linear-gradient(120deg, #0A1A4A, var(--bg-2) 70%); text-align: left; isolation: isolate; }
.cs-contact-box::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), rgba(76, 132, 255, .2), var(--blue-2), rgba(76, 132, 255, .2), var(--gold), rgba(76, 132, 255, .2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 7s linear infinite; }
.cs-contact-content { flex: 1 1 520px; min-width: 0; }
.cs-contact-tag { display: block; margin-bottom: 12px; font: 700 14px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.cs-contact-box h2 { font-size: clamp(34px, 4vw, 56px); }
.cs-contact-box p { margin: 14px 0 0; max-width: 560px; color: var(--muted); }
.cs-contact-actions { flex: 0 1 340px; display: flex; flex-direction: column; gap: 10px; }
.cs-contact-actions .btn { justify-content: flex-start; }

@media (max-width: 860px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-contact-box { flex-direction: column; align-items: stretch; }
  .cs-contact-actions { flex-basis: auto; }
}
@media (max-width: 560px) {
  .cs-contact-actions .btn { justify-content: center; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-waves span, .cs-badge-dot::after, .cs-load span, .cs-contact-box::before { animation: none; }
}
