/* CALCULADORA */

.recurso-hero {
  padding: 60px 24px;
  text-align: center;
}
.recurso-hero-calculadora {
  background: radial-gradient(circle at 50% 0%, #f0fdf4 0%, #ffffff 70%);
}
.recurso-hero-plazos {
  /* Plazos */
  background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #ffffff 70%);
}

.recurso-hero-plantillas {
  background: radial-gradient(
    circle at 50% 0%,
    #fcf6ed 0%,
    #ffffff 70%
  ); /* Tono ligeramente cálido para escritos */
}

.badge-recurso {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-recurso-calculadora {
  background: #ecfdf5;
  color: #059669;
}
.badge-recurso-plazos {
  background: #e0f2fe;
  color: var(--brand);
}
.badge-recurso-plentillas {
  background: #fef3c7;
  color: #d97706;
}

.download-box {
  background: #ffffff;
  border: 1px dashed var(--brand);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-download {
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-download:hover {
  background: #0274a8;
}
.btn-download.excel {
  background: #10b981;
}
.btn-download.excel:hover {
  background: #059669;
}

.btn-download.pdf-blue {
  background: var(--brand-dark);
}
.btn-download.pdf-blue:hover {
  background: #1e293b;
}
.btn-download-word {
  background: #2b579a; /* Azul característico de Word */
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-download-word:hover {
  background: #1e3d6b;
}
.info-block {
  margin-top: 40px;
  margin-bottom: 40px;
}
.info-block h3 {
  color: var(--brand-dark);
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid var(--brand);
  padding-left: 12px;
}
.info-block p {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.premium-side {
  flex: 0.7;
  align-self: flex-start;
  position: sticky;
  top: 100px;
  margin-top: 30px;
}

/* PLAZOS */

.download-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Lista de etapas procesales */
.etapas-lista {
  list-style: none;
  margin: 20px 0;
}
.etapas-lista li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 14px;
  color: var(--text-primary);
}
.etapas-lista li::before {
  content: "⏱";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ESCRITOS */

/* Catálogo de plantillas en formato grid */
.catalogo-plantillas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
@media (max-width: 600px) {
  .catalogo-plantillas {
    grid-template-columns: 1fr;
  }
}
.item-plantilla {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.item-plantilla:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.item-plantilla h4 {
  font-size: 16px;
  color: var(--brand-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.item-plantilla p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
