/* ══════════════════════════════════════
   ServiceSections.css — secciones compartidas de las páginas de servicio
   (Redes, Cloud…): paneles que se expanden, proceso como plano,
   formulario en tarjeta dividida y perfiles del equipo.
   JS: servicePanels.js y servicePlano.js
══════════════════════════════════════ */

/* ══════════════════════════════════════
   PANELES QUE SE EXPANDEN (servicePanels.js)
══════════════════════════════════════ */
.rx-types { max-width: 1200px; }

.rx-types-deck {
  display: flex;
  gap: 12px;
  height: 440px;
  margin-top: 8px;
}

.rx-type {
  --tc: #22d3ee;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
  color: #f5f7fa;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--tc) 26%, #0b1a36) 0%, #081429 62%, #050d1e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 48px -28px rgba(5,14,34,0.7);
  transition: flex-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
/* retícula fina de fondo */
.rx-type::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000);
  pointer-events: none;
}
/* línea de color arriba */
.rx-type::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--tc);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.rx-type.is-open { flex-grow: 4.2; border-color: color-mix(in srgb, var(--tc) 40%, transparent); }
.rx-type.is-open::after { transform: scaleX(1); }
.rx-type:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 60%, transparent); }

.rx-type-num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--tc);
}

/* icono gigante de fondo */
.rx-type-mark {
  position: absolute;
  right: -28px;
  bottom: -36px;
  font-size: 15rem;
  color: var(--tc);
  opacity: 0.06;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.rx-type.is-open .rx-type-mark { opacity: 0.13; transform: rotate(-8deg) scale(1.05); }

/* lomo: nombre vertical cuando está cerrado */
.rx-type-spine {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: opacity 0.3s ease;
}
.rx-type-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.rx-type-spine i { font-size: 1.5rem; color: var(--tc); }
.rx-type.is-open .rx-type-spine { opacity: 0; pointer-events: none; }

/* contenido al abrirse */
.rx-type-body {
  position: absolute;
  left: 0; bottom: 0;
  width: min(440px, 100%);
  padding: 32px;
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.25s ease, translate 0.25s ease;
  pointer-events: none;
}
.rx-type.is-open .rx-type-body {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.5s ease 0.28s, translate 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
  pointer-events: auto;
}
.rx-type-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent);
  color: var(--tc);
  font-size: 1.6rem;
}
.rx-type-sub {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tc);
}
.rx-type-body h3 {
  margin: 0 0 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: #fff;
  letter-spacing: 1px;
}
.rx-type-body > p:not(.rx-type-sub) {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(245,247,250,0.72);
}
.rx-type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rx-type-chips li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #f5f7fa;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
}

/* entrada: los paneles suben escalonados */
.rx-types-ready .rx-type {
  opacity: 0;
  translate: 0 40px;
}
.rx-types-ready.is-in .rx-type {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.6s ease var(--rx-type-delay, 0ms),
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--rx-type-delay, 0ms),
    flex-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* móvil: acordeón vertical */
@media (max-width: 760px) {
  .rx-types-deck { flex-direction: column; height: auto; gap: 10px; }
  .rx-type { flex: none; height: 68px; transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
  .rx-type.is-open { height: 330px; }
  .rx-types-ready.is-in .rx-type { transition: opacity 0.6s ease var(--rx-type-delay, 0ms), translate 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--rx-type-delay, 0ms), height 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
  .rx-type-num { top: 50%; translate: 0 -50%; left: auto; right: 20px; }
  .rx-type.is-open .rx-type-num { top: 22px; translate: none; }
  .rx-type-spine { inset: 0 auto 0 20px; flex-direction: row; gap: 14px; }
  .rx-type-spine span { writing-mode: horizontal-tb; transform: none; }
  .rx-type-body { padding: 24px 20px; }
  .rx-type-mark { font-size: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-type, .rx-type::after, .rx-type-body, .rx-type-mark { transition: none !important; }
}

/* ══════════════════════════════════════
   PROCESO — plano sobre lienzo azul (servicePlano.js)
══════════════════════════════════════ */
.bp-section { max-width: 1200px; }

.bp-sheet {
  position: relative;
  margin-top: 8px;
  padding: 56px 40px 72px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  background-color: #12408f;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(120% 90% at 50% 0%, #1a4fa8 0%, #0e3478 100%);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px, 100% 100%;
  background-position: -1px -1px;
  box-shadow: 0 30px 60px -30px rgba(8,27,59,0.55);
}
/* marco interior del plano */
.bp-sheet::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(255,255,255,0.55);
  pointer-events: none;
}

.bp-cross { position: absolute; width: 18px; height: 18px; }
.bp-cross::before, .bp-cross::after { content: ''; position: absolute; background: rgba(255,255,255,0.7); }
.bp-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.bp-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.bp-cross--tl { top: 5px; left: 5px; }
.bp-cross--tr { top: 5px; right: 5px; }
.bp-cross--bl { bottom: 5px; left: 5px; }
.bp-cross--br { bottom: 5px; right: 5px; }

/* línea que une las etapas */
.bp-track {
  position: absolute;
  left: 40px; right: 40px;
  top: 66px;
  width: calc(100% - 80px);
  height: 20px;
  overflow: visible;
}
.bp-track path { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 1; opacity: 0.8; }

.bp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-step { position: relative; padding: 0 22px; }
.bp-step + .bp-step::before {
  content: '';
  position: absolute;
  left: 0; top: 60px; bottom: 0;
  border-left: 1px dashed rgba(255,255,255,0.3);
}

.bp-node {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: #12408f;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.bp-draw { display: block; width: 100%; max-width: 170px; margin: 0 auto 18px; overflow: visible; }
.bp-draw path, .bp-draw circle {
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}
.bp-draw text {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 7px;
  fill: rgba(255,255,255,0.75);
}

.bp-step h3 {
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}
.bp-step p {
  margin: 0 auto;
  max-width: 240px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.bp-titleblock {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  border-top: 1.5px solid rgba(255,255,255,0.55);
  border-left: 1.5px solid rgba(255,255,255,0.55);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}
.bp-titleblock span { padding: 6px 12px; }
.bp-titleblock span + span { border-left: 1px solid rgba(255,255,255,0.4); }

/* trazado: una sola vez al entrar */
.bp-ready .bp-track path,
.bp-ready .bp-draw path,
.bp-ready .bp-draw circle { stroke-dashoffset: 1; }
.bp-ready .bp-draw text,
.bp-ready .bp-node,
.bp-ready .bp-step h3,
.bp-ready .bp-step p { opacity: 0; }

.bp-ready.is-drawn .bp-track path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease-in-out; }
.bp-ready.is-drawn .bp-node {
  opacity: 1;
  transition: opacity 0.4s ease calc(0.2s + var(--s) * 0.35s);
}
.bp-ready.is-drawn .bp-draw path,
.bp-ready.is-drawn .bp-draw circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s ease-in-out calc(0.4s + var(--s) * 0.35s + var(--i, 0) * 0.22s);
}
.bp-ready.is-drawn .bp-draw text,
.bp-ready.is-drawn .bp-step h3,
.bp-ready.is-drawn .bp-step p {
  opacity: 1;
  transition: opacity 0.6s ease calc(1.2s + var(--s) * 0.35s);
}

@media (max-width: 900px) {
  .bp-sheet { padding: 44px 24px 72px; }
  .bp-track { display: none; }
  .bp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .bp-step + .bp-step::before { display: none; }
}
@media (max-width: 560px) {
  .bp-sheet { padding: 40px 20px 72px; }
  .bp-steps { grid-template-columns: 1fr; }
  .bp-titleblock span:first-child { display: none; }
}

/* ══════════════════════════════════════
   FORMULARIO — tarjeta dividida
══════════════════════════════════════ */
.rf-section { max-width: 1100px; text-align: center; }

.rf-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  margin-top: 8px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,27,59,0.08);
  box-shadow: 0 30px 70px -34px rgba(8,27,59,0.45);
  text-align: left;
}

/* Panel azul: eco del plano de "Proceso" */
.rf-aside {
  position: relative;
  padding: 44px 36px;
  color: #fff;
  background-color: #12408f;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(165deg, #1a4fa8 0%, #0e3478 100%);
  background-size: 22px 22px, 22px 22px, 100% 100%;
}
.rf-tag {
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 3px;
  color: #8fd8ff;
}
.rf-aside h3 {
  margin: 0 0 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1px;
}
.rf-steps { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 22px; }
.rf-steps li { position: relative; display: flex; gap: 14px; }
.rf-steps li + li::before {
  content: '';
  position: absolute;
  left: 17px;
  top: -22px;
  height: 22px;
  border-left: 1px dashed rgba(255,255,255,0.4);
}
.rf-steps span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
}
.rf-steps b { display: block; font-size: 0.92rem; margin: 6px 0 3px; }
.rf-steps p { margin: 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255,255,255,0.72); }
.rf-note {
  display: flex;
  gap: 8px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}
.rf-note i { font-size: 1.05rem; color: #8fd8ff; }
.rf-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Formulario */
.rf-form { padding: 44px 40px; display: grid; gap: 20px; }
.rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.rf-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.rf-field > span, .rf-field legend {
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f2347;
}
.rf-field legend { margin-bottom: 8px; }
.rf-field em { font-style: normal; font-weight: 400; color: rgba(8,27,59,0.5); }

.rf-field input,
.rf-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #d3dceb;
  background: #f7f9fc;
  font: inherit;
  font-size: 0.92rem;
  color: #081b3b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.rf-field textarea { resize: vertical; min-height: 120px; }
.rf-field input::placeholder,
.rf-field textarea::placeholder { color: rgba(8,27,59,0.4); }
.rf-field input:focus,
.rf-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: #1a5fd0;
  box-shadow: 0 0 0 4px rgba(26,95,208,0.12);
}

/* Chips de servicio (radio) */
.rf-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-chip { position: relative; cursor: pointer; }
.rf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rf-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d3dceb;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 500;
  color: #0f2347;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rf-chip span i { font-size: 1rem; color: #1a5fd0; transition: color 0.2s ease; }
.rf-chip:hover span { border-color: #1a5fd0; }
.rf-chip input:checked + span { background: #0e3478; border-color: #0e3478; color: #fff; }
.rf-chip input:checked + span i { color: #8fd8ff; }
.rf-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(26,95,208,0.2); }

.rf-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 10px;
  background: #0e3478;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.rf-submit i { font-size: 1.25rem; transition: transform 0.2s ease; }
.rf-submit:hover { background: #1a4fa8; }
.rf-submit:hover i { transform: translateX(3px); }
.rf-submit:disabled { opacity: 0.6; cursor: progress; }

@media (max-width: 860px) {
  .rf-card { grid-template-columns: 1fr; }
  .rf-aside { padding: 32px 24px; }
  .rf-form { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .rf-row { grid-template-columns: 1fr; }
  .rf-submit { justify-self: stretch; justify-content: center; }
}

/* ══════════════════════════════════════
   EQUIPO — perfil del área
══════════════════════════════════════ */
.rt-section { max-width: 1100px; text-align: center; }

.rt-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  margin-top: 8px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,27,59,0.08);
  box-shadow: 0 30px 70px -34px rgba(8,27,59,0.45);
  text-align: left;
}

.rt-photo { position: relative; margin: 0; min-height: 100%; }
.rt-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: 50% 30%;
}
.rt-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,27,59,0.55));
  pointer-events: none;
}
.rt-photo figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0e3478;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rt-photo figcaption i { font-size: 1rem; color: #8fd8ff; }

.rt-info {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rt-role {
  margin: 0 0 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1a5fd0;
}
.rt-info h3 {
  margin: 0 0 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 1px;
  color: #081b3b;
}
.rt-bio {
  margin: 0 0 28px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(8,27,59,0.7);
}
.rt-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f2347;
}
.rt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.rt-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f2f6fc;
  border: 1px solid #d3dceb;
  font-size: 0.82rem;
  font-weight: 500;
  color: #0f2347;
}
.rt-tags i { font-size: 1rem; color: #1a5fd0; }

.rt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #d3dceb;
  color: #0f2347;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rt-btn i { font-size: 1.15rem; }
.rt-btn:hover { border-color: #1a5fd0; color: #1a5fd0; }
.rt-btn--primary { background: #0e3478; border-color: #0e3478; color: #fff; }
.rt-btn--primary:hover { background: #1a4fa8; border-color: #1a4fa8; color: #fff; }

@media (max-width: 820px) {
  .rt-card { grid-template-columns: 1fr; }
  .rt-photo img { min-height: 0; aspect-ratio: 4 / 3.4; }
  .rt-info { padding: 32px 24px; }
}

/* Equipo de varias personas: tarjetas verticales lado a lado */
.rt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
  text-align: left;
}
.rt-grid .rt-card { grid-template-columns: 1fr; margin-top: 0; }
.rt-grid .rt-photo img { min-height: 0; aspect-ratio: 4 / 3; object-position: var(--rt-pos, 50% 30%); }
.rt-grid .rt-info { padding: 32px 32px 36px; justify-content: flex-start; }
.rt-grid .rt-bio { margin-bottom: 22px; }
.rt-grid .rt-tags { margin-bottom: 26px; }
.rt-grid .rt-actions { margin-top: auto; }

@media (max-width: 760px) {
  .rt-grid { grid-template-columns: 1fr; }
  .rt-grid .rt-info { padding: 28px 22px 30px; }
}

/* ════════════════════════════════════════════════════════════
   ¿Qué incluye? — tarjetas con logo 3D (serviceIncluye3D.js)
   ════════════════════════════════════════════════════════════ */
.rx-inc {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 2rem;
  font-family: 'Inter', sans-serif;
  /* Recoge el azul noche del hero y lo disuelve en el claro de la página */
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(26, 95, 214, 0.14), transparent 70%),
    linear-gradient(180deg, #050e22 0, #0b2350 160px, #1b4a99 330px, #dfe9f7 540px, #eef3fa 100%);
  overflow: hidden;
}

.rx-inc-head {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.rx-inc-head .sl-kicker { color: #7fe3ff; }

.rx-inc-head .sl-title { color: #fff; text-shadow: 0 6px 30px rgba(5, 14, 34, 0.5); }

.rx-inc-head p {
  margin: 1rem auto 0;
  max-width: 46ch;
  color: rgba(245, 247, 250, 0.9);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Cable que recorre la fila de tarjetas con un paquete viajando */
.rx-inc-wire {
  position: absolute;
  left: 0;
  right: 0;
  top: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26, 95, 214, 0.35) 10%, rgba(26, 95, 214, 0.35) 90%, transparent);
  pointer-events: none;
}

.rx-inc-wire::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #22c3f0, #fff);
  box-shadow: 0 0 18px #22c3f0;
  animation: rx-wire 3.6s linear infinite;
}

@keyframes rx-wire {
  from { left: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  to   { left: calc(100% - 70px); opacity: 0; }
}

.rx-inc-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  perspective: 1200px;
}

.rx-inc-card {
  --tx: 0deg;
  --ty: 0deg;
  --gx: 50%;
  --gy: 0%;
  --bob: 0.5;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 1.6rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
  border: 1px solid rgba(26, 95, 214, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 50px -24px rgba(8, 27, 59, 0.35);
  transform: rotateX(var(--ty)) rotateY(var(--tx));
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

/* Brillo que sigue al cursor */
.rx-inc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--gx) var(--gy), rgba(95, 216, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.rx-inc-card:hover {
  border-color: rgba(34, 195, 240, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 40px 70px -28px rgba(15, 82, 190, 0.55);
}

.rx-inc-card:hover::after { opacity: 1; }

/* Escenario del logo: fondo azul con piso de luz */
.rx-inc-stage {
  position: relative;
  height: 200px;
  margin: 0 -1.5rem 1.3rem;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(34, 195, 240, 0.28), transparent 70%),
    linear-gradient(160deg, #0b2a63 0%, #081b3b 100%);
  overflow: hidden;
}

.rx-inc-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 178, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 178, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent 80%);
}

/* Sombra en el piso: se encoge cuando el logo sube */
.rx-inc-floor {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 46%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 216, 255, 0.55), transparent);
  translate: -50% 0;
  scale: calc(1.1 - var(--bob) * 0.25) 1;
  opacity: calc(0.9 - var(--bob) * 0.4);
}

.rx-inc-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rx-inc-canvas canvas { display: block; width: 100%; height: 100%; }

.rx-inc-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: #5fd8ff;
  filter: drop-shadow(0 0 18px rgba(95, 216, 255, 0.6));
}

.has-3d .rx-inc-fallback { display: none; }

.rx-inc-num {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(220, 233, 255, 0.75);
}

.rx-inc-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #081b3b;
}

.rx-inc-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #526071;
}

.rx-inc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
}

.rx-inc-chips li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 82, 190, 0.08);
  color: #0f52be;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease;
}

.rx-inc-card:hover .rx-inc-chips li {
  background: #0f52be;
  color: #fff;
}

.rx-inc-card:hover .rx-inc-chips li:nth-child(2) { transition-delay: 0.05s; }
.rx-inc-card:hover .rx-inc-chips li:nth-child(3) { transition-delay: 0.1s; }

/* Entrada: llegan flotando y girando desde abajo, una tras otra */
.rx-inc-ready .rx-inc-card {
  opacity: 0;
  translate: 0 70px;
  rotate: x 22deg;
  transition:
    opacity 0.8s ease var(--rx-inc-delay, 0ms),
    translate 1.1s cubic-bezier(0.22, 1.15, 0.36, 1) var(--rx-inc-delay, 0ms),
    rotate 1.1s cubic-bezier(0.22, 1.15, 0.36, 1) var(--rx-inc-delay, 0ms),
    transform 0.25s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rx-inc-ready .rx-inc-card.is-in {
  opacity: 1;
  translate: 0 0;
  rotate: x 0deg;
}

@media (max-width: 1000px) {
  .rx-inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-inc-wire { display: none; }
}

@media (max-width: 600px) {
  .rx-inc { padding-left: 16px; padding-right: 16px; }
  .rx-inc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-inc-wire::after { animation: none; }
}

/* Variante clara: cuando el hero de arriba no es oscuro (Cloud) */
.rx-inc--light { background: transparent; }
.rx-inc--light .rx-inc-head .sl-kicker { color: #1a5fd0; }
.rx-inc--light .rx-inc-head .sl-title { color: #081b3b; text-shadow: none; }
.rx-inc--light .rx-inc-head p { color: rgba(8, 27, 59, 0.68); }

/* Seis tarjetas en dos filas de tres (Soporte) */
.rx-inc--six .rx-inc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; }
.rx-inc--six .rx-inc-wire { display: none; }
@media (max-width: 1000px) { .rx-inc--six .rx-inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rx-inc--six .rx-inc-grid { grid-template-columns: 1fr; } }

/* ══ Personas y empresas con foto (Soporte, Asesorías) ══ */
.sa-section { max-width: 1200px; text-align: center; }
.sa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; text-align: left; }

.sa-card {
  --sa: #1a5fd0;
  --sa-soft: #e8eef8;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,27,59,0.08);
  box-shadow: 0 30px 60px -36px rgba(8,27,59,0.5);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.sa-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(8,27,59,0.6); }
.sa-card--b2b { --sa: #0e3478; --sa-soft: #e6ebf5; }

.sa-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0e3478; }
.sa-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.sa-card:hover .sa-photo img { transform: scale(1.05); }
.sa-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,27,59,0.75)); pointer-events: none; }
.sa-photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(95,216,255,0.28), transparent 70%),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(160deg, #1a4fa8, #0e3478 60%, #081b3b);
  background-size: 100% 100%, 26px 26px, 26px 26px, 100% 100%;
}
.sa-photo-fallback i { font-size: 5rem; color: #8fd8ff; opacity: 0.85; }
.sa-photo figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
}
.sa-photo figcaption b {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--sa);
  font-size: 0.62rem;
  letter-spacing: 2px;
}

.sa-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.sa-desc { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.7; color: rgba(8,27,59,0.7); }
.sa-label { margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: rgba(8,27,59,0.5); }
.sa-pains { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sa-pains li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sa-soft);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f2347;
}
.sa-pains i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sa); color: #fff; font-size: 1rem; flex-shrink: 0; }
.sa-how { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sa-how span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(8,27,59,0.12); font-size: 0.78rem; font-weight: 600; color: #0f2347; }
.sa-how i { color: var(--sa); font-size: 1rem; }
.sa-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--sa);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.sa-cta i { font-size: 1.2rem; transition: transform 0.2s ease; }
.sa-cta:hover { filter: brightness(1.15); }
.sa-cta:hover i { transform: translateX(3px); }

@media (max-width: 860px) { .sa-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sa-card, .sa-photo img { transition: none; } }

/* ── SMED Support Premium: hoja de estado + app de seguimiento (soportePremium.js) ── */
.spp-section {
  position: relative;
  margin: 20px auto 40px;
  max-width: 1240px;
  padding: 0 24px;
}
.spp-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 60px);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(50% 70% at 85% 20%, rgba(234,179,8,0.16), transparent 70%),
    radial-gradient(60% 80% at 10% 100%, rgba(26,95,208,0.35), transparent 70%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(160deg, #0d2350 0%, #081b3b 55%, #050f24 100%);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px, 100% 100%;
  box-shadow: 0 40px 80px -40px rgba(5,14,34,0.7);
}
.spp-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.4);
  color: #facc15;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.spp-kicker i { font-size: 1rem; }
.spp-copy h2 { margin: 0 0 14px; font-family: 'Orbitron', sans-serif; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; }
.spp-copy h2 span { background: linear-gradient(90deg, #facc15, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spp-lead { margin: 0 0 26px; max-width: 520px; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.75); }

.spp-steps { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 14px; }
.spp-steps li { position: relative; display: flex; gap: 14px; }
.spp-steps li + li::before { content: ''; position: absolute; left: 17px; top: -14px; height: 14px; border-left: 1px dashed rgba(255,255,255,0.3); }
.spp-steps span { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #facc15; color: #081b3b; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700; }
.spp-steps b { display: block; margin: 6px 0 2px; font-size: 0.96rem; }
.spp-steps p { margin: 0; font-size: 0.84rem; color: rgba(255,255,255,0.65); }

.spp-phases { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.spp-phases li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); font-size: 0.78rem; font-weight: 600; }
.spp-phases i { color: #8fd8ff; font-size: 1rem; }
.spp-note { display: flex; gap: 10px; margin: 0; font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.7); }
.spp-note i { font-size: 1.2rem; color: #4ade80; }

/* Visual: hoja de estado detrás del celular */
.spp-visual { position: relative; height: 520px; }
.spp-sheet {
  position: absolute;
  left: -2%;
  top: 70px;
  width: 235px;
  padding: 16px;
  border-radius: 6px;
  background: #fdfdfb;
  color: #0f2347;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
  transform: rotate(-7deg);
  animation: sppSheet 6s ease-in-out infinite;
}
@keyframes sppSheet { 50% { transform: rotate(-5deg) translateY(-6px); } }
.spp-sheet-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #0e3478; }
.spp-sheet-head b { font-size: 0.82rem; }
.spp-sheet-head span { font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; color: #1a5fd0; }
.spp-sheet dl { margin: 0 0 12px; display: grid; gap: 6px; }
.spp-sheet dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; }
.spp-sheet dt { color: rgba(8,27,59,0.55); }
.spp-sheet dd { margin: 0; font-weight: 600; }
.spp-id { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; color: #1a5fd0; }
.spp-check { margin: 0 0 14px; padding: 10px 0 0; list-style: none; display: grid; gap: 5px; border-top: 1px dashed rgba(8,27,59,0.2); }
.spp-check li { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; }
.spp-check i { color: #16a34a; }
.spp-check .is-warn i { color: #d97706; }
.spp-sheet-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.spp-qr { display: grid; grid-template-columns: repeat(7, 7px); gap: 1px; padding: 4px; border: 1px solid rgba(8,27,59,0.2); }
.spp-qr i { width: 7px; height: 7px; background: #0f2347; }
.spp-qr b { width: 7px; height: 7px; }
.spp-sign { flex: 1; padding-top: 4px; border-top: 1px solid rgba(8,27,59,0.35); font-size: 0.6rem; text-align: center; color: rgba(8,27,59,0.5); }

/* Celular con la app */
.spp-phone {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 262px;
  height: 520px;
  padding: 12px;
  border-radius: 40px;
  background: #0b1222;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12) inset, 0 40px 80px -30px rgba(0,0,0,0.8);
}
.spp-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 80px; height: 18px; border-radius: 999px; background: #000; z-index: 2; }
.spp-app {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  padding: 44px 14px 14px;
  background: linear-gradient(180deg, #eef3fb, #f8fafd);
  color: #0f2347;
}
.spp-app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.spp-app-top b { font-family: 'Orbitron', sans-serif; font-size: 0.78rem; color: #0e3478; }
.spp-app-top i { font-size: 1.2rem; color: #0e3478; }
.spp-device { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 12px; border-radius: 14px; background: #0e3478; color: #fff; }
.spp-device-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.12); font-size: 1.2rem; color: #8fd8ff; }
.spp-device div { flex: 1; min-width: 0; }
.spp-device b { display: block; font-size: 0.8rem; }
.spp-device span { font-size: 0.66rem; color: rgba(255,255,255,0.7); }
.spp-device em { font-style: normal; font-family: ui-monospace, Menlo, monospace; color: #facc15; }
.spp-device strong { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; color: #facc15; font-variant-numeric: tabular-nums; }

.spp-track { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.spp-track li { position: relative; display: flex; gap: 10px; padding: 8px 6px; border-radius: 12px; transition: background 0.3s ease; }
.spp-track li + li::before { content: ''; position: absolute; left: 21px; top: -10px; height: 14px; border-left: 2px solid #d6deea; transition: border-color 0.3s ease; }
.spp-track li > i { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid #d6deea; color: #94a3b8; font-size: 1rem; transition: all 0.3s ease; z-index: 1; }
.spp-track b { display: block; font-size: 0.78rem; margin-top: 2px; }
.spp-track span { font-size: 0.66rem; color: rgba(8,27,59,0.55); }
.spp-track li.is-done > i { background: #16a34a; border-color: #16a34a; color: #fff; }
.spp-track li.is-done + li::before { border-color: #16a34a; }
.spp-track li.is-on { background: #fff; box-shadow: 0 10px 24px -16px rgba(8,27,59,0.4); }
.spp-track li.is-on > i { background: #1a5fd0; border-color: #1a5fd0; color: #fff; animation: sppPulse 1.4s ease-out infinite; }
.spp-track li.is-wait > i { background: #f59e0b; border-color: #f59e0b; }
@keyframes sppPulse { 0% { box-shadow: 0 0 0 0 rgba(26,95,208,0.5); } 100% { box-shadow: 0 0 0 10px rgba(26,95,208,0); } }

.spp-approve {
  position: absolute;
  z-index: 3;
  left: 12px; right: 12px; bottom: 14px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #fcd34d;
  box-shadow: 0 20px 40px -20px rgba(8,27,59,0.5);
  font-size: 0.7rem;
  color: rgba(8,27,59,0.65);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.spp-approve b { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #b45309; }
.spp-approve-btn { margin-top: 6px; padding: 8px; border-radius: 10px; background: #1a5fd0; color: #fff; text-align: center; font-weight: 700; font-size: 0.76rem; transition: transform 0.15s ease, background 0.3s ease; }
.spp-approve.is-in { opacity: 1; transform: none; }
.spp-approve-btn.is-press { transform: scale(0.94); background: #16a34a; }

.spp-toast {
  position: absolute;
  z-index: 3;
  left: 12px; right: 12px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #16a34a;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.spp-toast i { font-size: 1.2rem; }
.spp-toast.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .spp-inner { grid-template-columns: 1fr; }
  .spp-visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .spp-section { padding: 0 12px; }
  .spp-inner { padding: 28px 20px; }
  .spp-visual { height: 500px; }
  .spp-sheet { left: -4%; width: 220px; top: 60px; }
  .spp-phone { right: -2%; width: 240px; height: 500px; }
}
@media (prefers-reduced-motion: reduce) {
  .spp-sheet, .spp-track li.is-on > i { animation: none; }
}

/* ══ Formulario: selector "Soy" con dos tarjetas (Soporte, Asesorías) ══ */
.rf-who-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rf-who-opt { position: relative; cursor: pointer; }
.rf-who-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rf-who-opt > span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d3dceb;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.rf-who-opt i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e8eef8; color: #1a5fd0; font-size: 1.3rem; transition: background 0.2s ease, color 0.2s ease; }
.rf-who-opt b { font-size: 0.9rem; color: #0f2347; }
.rf-who-opt em { font-style: normal; font-size: 0.76rem; color: rgba(8,27,59,0.55); }
.rf-who-opt:hover > span { border-color: #1a5fd0; }
.rf-who-opt input:checked + span { border-color: #0e3478; background: #f2f6fd; box-shadow: 0 0 0 3px rgba(26,95,208,0.15); }
.rf-who-opt input:checked + span i { background: #0e3478; color: #8fd8ff; }
.rf-who-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(26,95,208,0.25); }
@media (max-width: 480px) { .rf-who-opts { grid-template-columns: 1fr; } }


/* v2.0.1 · Premium en móvil: el celular al centro y la hoja de estado
   más pequeña, delante y abajo, para que no quede cortada detrás */
@media (max-width: 560px) {
  .spp-visual { height: 600px; }
  .spp-phone { right: auto; left: 50%; translate: -50% 0; width: 230px; height: 470px; }
  .spp-sheet { z-index: 3; left: -6px; top: auto; bottom: 0; width: 200px; scale: 0.82; transform-origin: 0 100%; }
}
