/* Hubs por oficio — estética industrial limpia */
.oficio-hub {
  background: #f6f7f8;
  color: #26252d;
}

.oficio-hub__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.oficio-hub__hero {
  background: #26252d;
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.oficio-hub__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0a0a0;
}

.oficio-hub__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.oficio-hub__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.oficio-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.oficio-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.oficio-hub__btn--primary {
  background: #a60000;
  color: #fff;
  border: 1px solid #a60000;
}

.oficio-hub__btn--primary:hover {
  background: #8a0000;
  border-color: #8a0000;
  color: #fff;
}

.oficio-hub__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.oficio-hub__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.oficio-hub__section {
  padding: 2.75rem 0;
}

.oficio-hub__section--muted {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.oficio-hub__h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #26252d;
}

.oficio-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.oficio-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.oficio-hub__card:hover {
  border-color: #a60000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(38, 37, 45, 0.07);
}

.oficio-hub__card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #26252d;
}

.oficio-hub__card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
}

.oficio-hub__card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a60000;
}

.oficio-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oficio-hub__chips a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #26252d;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}

.oficio-hub__chips a:hover {
  border-color: #a60000;
  background: #fff;
  color: #a60000;
}

.oficio-hub__note {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}

.oficio-hub__answer {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
}

.oficio-hub__updated {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.oficio-hub__table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.oficio-hub__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.oficio-hub__table th,
.oficio-hub__table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.oficio-hub__table th {
  background: #26252d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oficio-hub__table tbody tr:last-child td {
  border-bottom: 0;
}

.oficio-hub__table td:first-child {
  font-weight: 600;
  color: #26252d;
  white-space: nowrap;
}

.oficio-hub__steps {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 40rem;
  color: #374151;
  line-height: 1.65;
}

.oficio-hub__steps li + li {
  margin-top: 0.55rem;
}

.oficio-hub__faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 44rem;
}

.oficio-hub__faq-item {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.85rem 1rem;
}

.oficio-hub__faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #26252d;
  list-style: none;
}

.oficio-hub__faq-item summary::-webkit-details-marker {
  display: none;
}

.oficio-hub__faq-item summary::after {
  content: "+";
  float: right;
  color: #a60000;
  font-weight: 700;
}

.oficio-hub__faq-item[open] summary::after {
  content: "–";
}

.oficio-hub__faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

@media (max-width: 800px) {
  .oficio-hub__grid {
    grid-template-columns: 1fr;
  }

  .oficio-hub__hero {
    padding: 2.5rem 0 2.25rem;
  }

  .oficio-hub__table td:first-child {
    white-space: normal;
  }
}
