/* ===============================
   CARDS / COMPONENTES
=============================== */

/* Avatar */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

/* Media circular */
.card-media-circle,
.decision-icon img,
.info-img-xs,
.seguro-educacion-punto img {
  border-radius: 50%;
}

/* Base card */
.card-soft,
.info-box,
.decision-item,
.seguro-educacion-panel,
.cw-marca-card,
.cw-marcas-info {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-soft:hover,
.info-box:hover,
.decision-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.1);
}

/* Typography interna */
.card-title,
.info-title,
.decision-content h3 {
  color: #0b1f2a;
  font-weight: 600;
}

.card-text,
.info-text,
.decision-content p,
.testimonial-card p {
  color: #495057;
  line-height: 1.6;
}

.testimonial-card p {
  font-size: .96rem;
}

/* ===============================
   INFO BOX
=============================== */

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.8rem 1.6rem 2rem;
  text-align: center;
}

.info-img-xs {
  max-width: 72px;
  margin-bottom: .75rem;
  opacity: .95;
}

.info-title {
  font-size: 1.05rem;
  margin-bottom: .45rem;
}

.info-text {
  font-size: .95rem;
  margin-bottom: .9rem;
}

/* botón */
.info-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #1e7e34;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.35);
  transition: .2s;
}

.info-btn:hover {
  background: linear-gradient(135deg, var(--si-wa-hover), var(--si-wa));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37,211,102,.3);
}

/* ===============================
   DECISION
=============================== */

.decision-grid {
  margin-top: 2.5rem;
}

.decision-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.decision-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 1.2rem 1.4rem;
}

.decision-icon img {
  width: 48px;
}

.decision-content h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.decision-content p {
  font-size: .92rem;
  margin: 0;
}

.decision-action {
  display: flex;
  align-items: center;
}

/* ===============================
   MEDIA BLOQUES (problema/solución)
=============================== */

.problema-image-wrapper,
.solucion-image-wrapper {
  border-radius: 1.6rem;
  overflow: hidden;
  background: #fff;
  padding: 6px;
}

.problema-image-wrapper {
  box-shadow:
    0 25px 60px rgba(0,0,0,.25),
    0 10px 30px rgba(0,0,0,.15);
}

.solucion-image-wrapper {
  position: relative;
  box-shadow:
    0 25px 60px rgba(0,0,0,.18),
    0 10px 30px rgba(0,0,0,.12);
}

.solucion-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(79,124,89,.12), transparent 70%);
  opacity: .5;
}

.problema-image,
.solucion-image {
  width: 100%;
  display: block;
}

/* ===============================
   TRUST
=============================== */

.problema-trust span {
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  font-weight: 600;
}

/* ===============================
   SEGURO EDUCACIÓN
=============================== */

.seguro-educacion-panel {
  padding: 2rem;
}

.seguro-educacion-imagen img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 14px;
}

.seguro-educacion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seguro-educacion-tags span,
.seguro-educacion-tags li {
  display: inline-flex;
  align-items: center;
  padding: .38rem .72rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1e7e34;
  background: #e9f7ef;
  border: 1px solid rgba(30,126,52,.12);
  border-radius: 999px;
  white-space: nowrap;
}

.seguro-educacion-punto {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.seguro-educacion-cta-wrapper .btn:hover {
  background: #25d366;
  color: #fff;
}

/* ===============================
   MARCAS AUTOMOTRICES / CARDS
=============================== */

/* Panel informativo izquierdo */
.cw-marcas-info {
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 100%;
  text-align: center;
}

.cw-info-img {
  background: linear-gradient(180deg, #f6f9ff, #ffffff);
  border-radius: 14px;
  padding: 14px;
}

.cw-mascota-img {
  max-width: 200px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.cw-info-titulo {
  font-size: 18px;
  font-weight: 700;
  color: #1f2f42;
  margin: 0;
}

.cw-marcas-descripcion {
  font-size: 15px;
  line-height: 1.7;
  color: #5e6a78;
  max-width: 340px;
}

.cw-info-link {
  font-size: 14px;
  font-weight: 600;
  color: #2c5fd5;
  text-decoration: none;
}

.cw-info-link:hover {
  text-decoration: underline;
}

/* Tarjetas de marca */
.cw-marca-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #e6ebf1;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  height: 100%;
}

.cw-marca-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.14);
  text-decoration: none;
}

.cw-marca-img-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-marca-img {
  max-height: 70px;
  object-fit: contain;
}

.cw-marca-nombre {
  font-size: 18px;
  font-weight: 700;
  color: #1f2f42;
}

.cw-marca-divider {
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, #0a3f7a, #25d366);
  border-radius: 3px;
}

.cw-marca-desc {
  font-size: 13px;
  color: #6a7583;
  line-height: 1.5;
  margin: 0;
}

.cw-marca-cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: #2c5fd5;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}

.cw-marca-card:hover .cw-marca-cta {
  color: #0a3f7a;
}

.cw-arrow {
  transition: transform .2s ease;
}

.cw-marca-card:hover .cw-arrow {
  transform: translateX(4px);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 991px) {
  .info-box,
  .seguro-educacion-panel {
    padding: 1.5rem 1.4rem 1.8rem;
  }

  .cw-marcas-info {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .decision-item {
    grid-template-columns: 50px 1fr;
  }

  .decision-action {
    grid-column: span 2;
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .info-title {
    font-size: 1rem;
  }

  .info-text {
    font-size: .93rem;
  }

  .info-img-xs {
    max-width: 44px;
  }

  .cw-info-titulo,
  .cw-marca-nombre {
    font-size: 16px;
  }

  .cw-marcas-descripcion {
    font-size: 14px;
  }

  .cw-marca-desc,
  .cw-marca-cta {
    font-size: 12px;
  }

  .cw-marcas-info,
  .cw-marca-card {
    padding: 22px 16px;
  }

  .cw-mascota-img {
    max-width: 170px;
  }
}