.pdc-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #2c3e50;
  line-height: 1.65;
  font-size: 16px;
}

/* Encabezados */
.pdc-container h1, 
.pdc-container h2, 
.pdc-container h3 {
  color: #1b4332;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.25;
}

.pdc-section-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #52b788;
  padding-bottom: 8px;
  margin-bottom: 20px;
  margin-top: 35px;
}

/* Tarjetas y Contenedores */
.pdc-hero {
  background: #f4f9f5;
  border: 1px solid #d8f3dc;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 25px;
}

.pdc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pdc-highlight-card {
  border-left: 5px solid #2d6a4f;
  background: #fafdfb;
}

/* Badges y Textos */
.pdc-badge {
  display: inline-block;
  background-color: #2d6a4f;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pdc-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.pdc-subtitle {
  font-size: 1.1rem;
  color: #40916c;
  font-weight: 600;
  margin-bottom: 20px;
}

.pdc-lead {
  font-size: 1.15rem;
  color: #1b4332;
}

/* Metadata Grid */
.pdc-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: #ffffff;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #b7e4c7;
  margin-bottom: 20px;
}

.pdc-hero-image img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  margin: auto;
}

/* Instructores */
.pdc-instructors {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.95rem;
}

.pdc-instructors a {
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: underline;
}

/* Botones y Llamados a la Acción */
.pdc-cta-block {
  text-align: center;
  margin-top: 20px;
}

.pdc-cta-center {
  text-align: center;
  margin: 25px 0;
}

.pdc-btn-primary {
  display: inline-block;
  background-color: #2d6a4f;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 4px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.25);
  text-align: center;
  height: 4rem;
  line-height: 0;
}

.pdc-btn-primary:hover {
  background-color: #1b4332;
  transform: translateY(-1px);
}

.pdc-btn-large {
  font-size: 1.2rem;
  padding: 16px 36px;
  width: 100%;
  box-sizing: border-box;
}

.pdc-cta-subtext {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 8px;
}

/* Precios */
.pdc-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
}

.pdc-price-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}

.pdc-featured-price {
  background: #f4f9f5;
  border: 2px solid #52b788;
}

.pdc-price-badge {
  position: absolute;
  top: -12px;
  right: 15px;
  background: #d8f3dc;
  color: #1b4332;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  border: 1px solid #74c69d;
}

.pdc-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1b4332;
  margin: 10px 0 5px 0;
}

.pdc-tax {
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
}

.pdc-price-deadline {
  font-size: 0.85rem;
  color: #e63946;
  font-weight: 600;
  margin: 0;
}

/* Listas Especiales */
.pdc-grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.pdc-grid-list li {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid #74c69d;
  font-size: 0.95rem;
}

.pdc-check-list, .pdc-bullet-list {
  padding-left: 20px;
}

.pdc-check-list li {
  margin-bottom: 8px;
}

/* Galería */
.pdc-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.pdc-gallery img {
  width: 95%;
  border-radius: 8px;
}

/* Cierre / Contacto */
.pdc-footer-cta {
  background: #f4f9f5;
  border: 1px solid #b7e4c7;
  text-align: center;
}

.pdc-contact-info {
  font-size: 1.05rem;
  margin: 15px 0 25px 0;
}

/* Ajustes Responsive y de Ancho */
@media (min-width: 600px) {
  .pdc-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pdc-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pdc-grid-list {
    grid-template-columns: 1fr 1fr;
  }
  .pdc-btn-large {
    width: auto;
  }
}

/* Ocultar la fila del formulario por defecto */
.pdc-form-seccion-oculta {
  display: none;
}

/* Estado visible al activar la función */
.pdc-form-seccion-oculta.is-visible {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contenedor principal con aislamiento de espacio de nombres */
.pdc-crd-container {
  width: 100%;
  max-width: 384px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.pdc-crd-container:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Encuadre de la imagen */
.pdc-crd-media {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f8fafc;
}

.pdc-crd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cuerpo de la tarjeta */
.pdc-crd-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pdc-crd-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.pdc-crd-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  flex-grow: 1;
}

/* Área de acciones */
.pdc-crd-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
}

/* Estilos de botón dedicados a la tarjeta */
.pdc-crd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.pdc-crd-btn-primary {
  background-color: #1b4332;
  color: #ffffff;
}

.pdc-crd-btn-primary:hover {
  background-color: #2d6a4f;
}

.pdc-crd-btn:active {
  transform: scale(0.98);
}