/* Estilos independientes, sin afectar al resto del HTML */

/* Contenedor principal aislado */
.ei-section {
  font-family: Inter, ui-sans-serif, system-ui;
  max-width: 1100px;
  margin: 28px auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Tarjeta */
.ei-section .ei-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
}

/* Media */
.ei-section .ei-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg,#071021 0%, #081827 45%, #062033 100%);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.ei-section .svgwrap {
  width: 100%;
  max-width: 520px;
  display: block;
}

.ei-section .ei-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  color: #ffd166;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255,209,102,0.08);
}

/* Contenido */
.ei-section .ei-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px;
}

.ei-section .ei-title {
  font-size: 20px;
  margin: 0;
  color: #1f1f1f;
  letter-spacing: -0.2px;
}

.ei-section .ei-sub {
  color: #2c2d2f;
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.45;
}

.ei-section .ei-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ei-section .feat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.02);
  font-size: 1.4rem;
  color: #313335;
}

/* Botón */
.ei-section .ei-cta {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg,#ffd166,#ffc857);
  color: #0b1220;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Animaciones */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.ei-section .svgfloat {
  transform-origin: center;
  will-change: transform;
}

@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.ei-section .shimmer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 60%, transparent 100%);
  transform: translateX(-120%);
}

.ei-section .ei-media.animate .svgfloat {
  animation: floatY 6s ease-in-out infinite;
}

.ei-section .ei-media.animate .shimmer::after {
  animation: shimmer 3.6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ei-section .ei-media.animate .svgfloat,
  .ei-section .ei-media.animate .shimmer::after {
    animation: none;
  }
}

/* Responsive */
@media (min-width: 768px) {
  .ei-section .ei-card {
    flex-direction: row;
    padding: 28px;
    align-items: center;
  }
  .ei-section .ei-media {
    flex: 0 0 48%;
    min-height: 320px;
  }
  .ei-section .ei-content {
    flex: 1 1 52%;
    padding-left: 18px;
  }
  .ei-section .ei-title {
    font-size: 26px;
  }
}

@media (min-width: 1100px) {
  .ei-section {
    padding: 32px;
  }
  .ei-section .ei-card {
    padding: 34px;
  }
  .ei-section .ei-media {
    min-height: 380px;
  }
}

.ei-section .muted {
  color: #9aa4b2;
}
