/* Sección Precios — grilla 2×2, imágenes verticales */
.precios-section {
  background-color: #fafafa;
}

.precios-section .precios-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.precios-grid {
  margin-left: -12px;
  margin-right: -12px;
}

.precios-grid > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.precios-section .precios-item {
  text-align: center;
}

.precios-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  height: 100%;
  text-align: center;
}

.precios-card {
  margin: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 2px 12px rgba(7, 7, 78, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.precios-card-wrap:hover .precios-card {
  box-shadow: 0 6px 20px rgba(7, 7, 78, 0.12);
  transform: translateY(-2px);
}

.precios-section .precios-course-name {
  margin: 14px 0 12px;
  padding: 0 8px;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #07074E;
  text-align: center !important;
}

.precios-section a.precios-btn,
.precios-section a.precios-btn.dg-btn-1 {
  display: inline-block;
  float: none !important;
  margin: 0 auto;
  text-align: center !important;
  text-decoration: none !important;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 160px;
  max-width: 100%;
}

.precios-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 4px;
}

.precios-section a.precios-btn-register {
  background: #fff;
  color: #07074E;
  border: 2px solid #07074E;
}

.precios-section a.precios-btn-register:hover,
.precios-section a.precios-btn-register:focus {
  background: #07074E;
  color: #fff;
}

.precios-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  .precios-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .precios-grid > [class*="col-"] {
    margin-bottom: 20px;
  }
}
