/* =========================================================
   MÓDULO ASISTENTE SEGURO – SeguroInteligente
========================================================= */

#asistente-seguro {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 100%
  );
  position: relative;
}

/* ---------------------------------------------------------
   Caja principal
--------------------------------------------------------- */

#asistente-seguro .asistente-box {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

#asistente-seguro .asistente-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.12);
}

/* Línea decorativa sutil superior */
#asistente-seguro .asistente-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(
    90deg,
    var(--si-green),
    var(--si-blue)
  );
}

/* ---------------------------------------------------------
   Avatar asesor
--------------------------------------------------------- */

#asistente-seguro .asistente-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

#asistente-seguro .asistente-box:hover .asistente-avatar {
  transform: scale(1.05);
}

/* ---------------------------------------------------------
   Título
--------------------------------------------------------- */

#asistente-seguro h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Descripción
--------------------------------------------------------- */

#asistente-seguro .lead {
  color: #495057;
  line-height: 1.7;
  max-width: 620px;
}

/* ---------------------------------------------------------
   Etiquetas (ya usan tu sistema ui-tag)
   Solo ajuste visual contextual
--------------------------------------------------------- */

#asistente-seguro .ui-tags {
  gap: 10px;
}

#asistente-seguro .ui-tag {
  font-size: 0.8rem;
  padding: 6px 14px;
}

/* ---------------------------------------------------------
   Media derecha
--------------------------------------------------------- */

#asistente-seguro .asistente-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
  position: relative;
}

#asistente-seguro .asistente-media img {
  transition: transform 0.5s ease;
}

#asistente-seguro .asistente-media:hover img {
  transform: scale(1.04);
}

/* Sutil glow inferior */
#asistente-seguro .asistente-media::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.15),
    transparent 70%
  );
  filter: blur(12px);
  z-index: -1;
}

/* ---------------------------------------------------------
   Responsive refinado
--------------------------------------------------------- */

/* =========================================================
   ASISTENTE – BREAKOUT FULL WIDTH EN MÓVIL
========================================================= */

@media (max-width: 768px) {

  /* Forzar que la sección ignore el container */
  #asistente-seguro .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Expandir sección más allá del container */
  #asistente-seguro {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
#asistente-seguro .ui-tag {

  padding:0px;
}
  /* Quitar bordes redondeados */
  #asistente-seguro .asistente-box,
  #asistente-seguro .asistente-media {
    border-radius: 0;
  }

  /* Ajustar padding interno */
  #asistente-seguro .asistente-box {
    padding: 2rem 1.5rem !important;
  }

}
