/* ── terminos.css — Términos y Condiciones page ── */
/* Extends legal.css. Only page-specific overrides here. */

/* ─── Índice de navegación ─── */
.tc-index {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 0 0 48px;
}

.tc-index__list {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-index__list li {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.tc-index__list .legal-link {
  font-weight: 500;
}

/* ─── Italic note paragraphs ─── */
.tc-note {
  font-size: 14px !important;
  color: #64748b !important;
  font-style: italic;
  background: #fffbeb;
  border-left: 3px solid #fbbf24;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0 24px !important;
}

/* ─── SLA table ─── */
.tc-sla-table-wrap {
  overflow-x: auto;
  margin: 12px 0 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.tc-sla-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  min-width: 360px;
}

.tc-sla-table thead tr {
  background: #0b1c2d;
  color: #ffffff;
}

.tc-sla-table th {
  padding: 12px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.tc-sla-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.tc-sla-table tbody tr:last-child {
  border-bottom: none;
}

.tc-sla-table tbody tr:hover {
  background: #f8fafc;
}

.tc-sla-table td {
  padding: 12px 20px;
  color: #475569;
}

.tc-sla-table td:last-child {
  font-weight: 700;
  color: #0b1c2d;
}

/* ─── Declaración de Aceptación box ─── */
.tc-acceptance {
  margin-top: 56px;
  background: linear-gradient(135deg, #eef4ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 32px 36px;
}

.tc-acceptance__title {
  font-size: 20px;
  font-weight: 800;
  color: #0b1c2d;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-acceptance__title::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2b7cff;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.tc-acceptance p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 14px;
}

.tc-acceptance .legal-bullets li {
  color: #334155;
}

/* ─── Smooth scroll ─── */
html {
  scroll-behavior: smooth;
}

/* ─── Section anchor offset (fixed header compensation) ─── */
h2[id],
h3[id] {
  scroll-margin-top: 90px;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .tc-index {
    padding: 18px 20px;
  }

  .tc-acceptance {
    padding: 24px 20px;
  }

  .tc-sla-table th,
  .tc-sla-table td {
    padding: 10px 14px;
  }
}
