/* ============================================
   Política de Privacidad — MR.COM Soluciones
   Estilo oscuro con branding rojo MR.COM (#D32F2F)
   ============================================ */

:root {
  --mr-red: #D32F2F;
  --mr-red-dark: #8B1A2B;
  --mr-red-light: #EF5350;
  --bg-primary: #0A0E27;
  --bg-secondary: #0D1230;
  --bg-card: rgba(211, 47, 47, 0.05);
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0b0;
  --border-color: rgba(211, 47, 47, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Encabezados */
h1 {
  color: var(--mr-red);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
}

h2 {
  color: var(--mr-red);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--mr-red);
}

h3 {
  color: var(--mr-red-light);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

/* Listas del contenido */
main ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: none;
}

main ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  font-weight: 400;
}

main ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--mr-red);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Enlaces */
a {
  color: var(--mr-red-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

a:hover {
  color: var(--mr-red);
  text-decoration: underline;
}

/* Fecha de actualización */
.updated {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Botón volver */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--mr-red), var(--mr-red-dark));
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-back:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.btn-back i {
  font-size: 0.8rem;
}

/* Card para secciones destacadas */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Tabla de servicios */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.data-table th {
  background: rgba(211, 47, 47, 0.15);
  color: var(--mr-red);
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid var(--mr-red);
}

.data-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.data-table tr:hover td {
  background: rgba(211, 47, 47, 0.03);
}

/* Responsive */
@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
  }
  .container {
    padding: 1.25rem 1rem 2rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
  .data-table {
    font-size: 0.8rem;
  }
  .data-table th,
  .data-table td {
    padding: 0.4rem 0.5rem;
  }
}
