/*
 Theme Name:   Bricks Child Theme
 Template:     bricks
 Version:      2.2.0
 Description:  CSS reestructurado y optimizado - Responsive mejorado con post-item en columna
*/

/* ============================================
   SISTEMA DE VARIABLES - MANTIENE VALORES ORIGINALES
   ============================================ */

:root {
  /* Colores principales */
  --primary: #1a1a1a;
  --secondary: #16a34a;
  --secondary-dark: #059669;
  --accent: #0369a1;
  --accent-2: #0284c7;

  /* RGB para rgba() */
  --secondary-rgb: 22, 163, 74;
  --accent-rgb: 2, 132, 199;

  /* Neutrales */
  --primary-50: #f8fafc;
  --surface: #ffffff;
  --zebra: #f9fafb;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-light: #fafafa;

  /* Semánticos */
  --win: #059669;
  --loss: #dc2626;
  --draw: #d97706;
  --pct: #0369a1;
  --unit: #7c2d12;
  --yld: #16a34a;

  /* Efectos */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --shadow: 0 1px 3px 0 rgba(26, 26, 26, 0.1), 0 1px 2px 0 rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --hover-glow: 0 0 6px rgba(var(--accent-rgb), 0.4);

  /* Gradientes */
  --brand-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  --brand-gradient-hover: linear-gradient(135deg, var(--secondary-dark) 0%, var(--accent-2) 100%);
  --dark-gradient: linear-gradient(135deg, rgba(26,26,26,.95) 0%, rgba(45,55,72,.95) 100%);
  --dark-bg: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

  /* Tipografía */
  --font-primary: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET Y BASE
   ============================================ */

* {
  box-sizing: border-box;
  font-family: var(--font-primary);
}

html {
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================
   TIPOGRAFÍA GLOBAL
   ============================================ */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

button, .button, .btn,
input[type="submit"], input[type="button"] {
  font-family: var(--font-primary);
  font-weight: 500;
}

code, pre, kbd, samp, .code, .pre {
  font-family: var(--font-mono) !important;
}

input, textarea, select {
  font-family: var(--font-primary);
  font-variant-numeric: tabular-nums;
}

/* Números tabulares */
.number, .stat, .price, .percentage, .data,
[data-number], .picks-table td, .picks-table-pro td, .picks-table-completa td {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1;
}

/* Forzar Inter en elementos de Bricks */
.brxe-text, .brxe-heading, .brxe-button, .brxe-form, .brxe-nav-menu,
.wp-block-heading, .wp-block-paragraph, .wp-block-list, .wp-block-button,
nav, .menu, .navigation, .nav {
  font-family: var(--font-primary) !important;
}

/* ============================================
   UTILIDADES REUTILIZABLES
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-wrapper {
  background: linear-gradient(135deg, var(--primary-50) 0%, #f1f5f9 100%);
  padding: 80px 0 120px;
  min-height: 100vh;
}

/* Card base */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Botones base */
.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

.btn-gradient {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

.btn-gradient:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.4);
  transform: translateY(-2px);
}

/* Headers de sección */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-header .highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Filtros reutilizables */
.filtros-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filtro-btn {
  background: white;
  border: 2px solid #e2e8f0;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
}

.filtro-btn:hover {
  border-color: var(--secondary);
  background: rgba(22, 163, 74, 0.05);
  transform: translateY(-2px);
}

.filtro-btn.active {
  background: var(--brand-gradient);
  color: white;
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

/* Links con hover effect */
.link-hover {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
}

.link-hover:hover {
  color: var(--accent);
  text-shadow: var(--hover-glow);
}

/* Títulos de sección */
.titulo-seccion {
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 2rem auto 1rem;
  padding-bottom: 0.6rem;
  width: 100%;
  text-align: center;
}

.titulo-seccion span {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BLOG - DISEÑO CON FLEXBOX Y RESPONSIVE PERFECTO
   ============================================ */

.blog-wrapper {
  background: var(--bg-light);
  min-height: 100vh;
  padding: 60px 0 100px;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--line);
}

.blog-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.blog-header h1 .destacado {
  color: var(--secondary);
}

.blog-intro {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

.blog-filters {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
  padding: 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition-base);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-btn:hover {
  color: var(--surface);
  background: var(--secondary);
  border-color: var(--secondary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.filter-btn.active {
  color: var(--surface);
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.filter-btn span {
  margin-left: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 500;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.post-item {
  display: flex;
  flex-direction: row;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-item:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.post-image-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 320px;
}

.post-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: var(--transition-base);
}

.post-item:hover .post-image {
  transform: scale(1.04);
}

.post-image-placeholder {
  width: 100%;
  height: 240px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--surface);
  letter-spacing: 2px;
}

.post-content {
  flex: 1;
  padding: 30px 35px 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.post-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.post-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.post-date {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.post-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.post-item:hover .post-title {
  color: var(--secondary);
}

.post-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-weight: 400;
}

.post-meta-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.no-posts {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.no-posts h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 15px;
}

.no-posts p {
  color: var(--muted);
  font-size: 1.1rem;
}

.pagination-info {
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition-base);
}

.pagination-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
  text-decoration: none;
}

.pagination-btn.current {
  color: var(--surface);
  background: var(--secondary);
  border-color: var(--secondary);
}

.pagination-btn.prev,
.pagination-btn.next {
  padding: 0 20px;
  font-weight: 600;
}

/* ============================================
   RESPONSIVE BLOG - POST ITEM EN COLUMNA
   ============================================ */

@media (max-width: 1024px) {
  .blog-container {
    padding: 0 30px;
  }
  
  .post-item {
    flex-direction: column;
  }
  
  .post-image-wrapper {
    width: 100%;
    order: 1;
  }
  
  .post-image,
  .post-image-placeholder {
    height: 220px;
  }
  
  .post-content {
    order: 2;
    padding: 25px 30px;
  }
  
  .post-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 0 20px;
  }
  
  .blog-header h1 {
    font-size: 2.2rem;
  }
  
  .blog-intro {
    font-size: 1.1rem;
  }
  
  .blog-filters {
    justify-content: center;
    gap: 12px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .posts-list {
    gap: 30px;
  }
  
  .post-item {
    border-radius: 12px;
  }
  
  .post-image,
  .post-image-placeholder {
    height: 200px;
  }
  
  .post-content {
    padding: 20px 25px;
  }
  
  .post-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .post-excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }
  
  .post-meta-top {
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .post-category {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  
  .post-date {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .blog-container {
    padding: 0 15px;
  }
  
  .blog-header h1 {
    font-size: 1.8rem;
  }
  
  .blog-intro {
    font-size: 1rem;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .posts-list {
    gap: 25px;
  }
  
  .post-item {
    margin: 0 -5px;
  }
  
  .post-image,
  .post-image-placeholder {
    height: 180px;
  }
  
  .post-content {
    padding: 18px 20px;
  }
  
  .post-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .post-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .post-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .post-meta-bottom {
    gap: 15px;
    font-size: 0.8rem;
  }
}

/* ============================================
   POST INDIVIDUAL - MANTIENE ESTRUCTURA ORIGINAL
   ============================================ */

.post-single-wrapper {
  background: #fafafa;
  min-height: 100vh;
  padding: 4rem 0 6rem;
}

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

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.post-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
  color: var(--secondary);
}

.post-breadcrumb span {
  color: #d1d5db;
}

.post-single-header {
  margin-bottom: 3rem;
}

.post-single-category {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.post-single-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.post-single-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-single-content {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.post-single-content h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.post-single-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.875rem;
}

.post-single-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.post-single-content ul,
.post-single-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.post-single-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.post-single-content a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.post-single-content a:hover {
  color: var(--secondary);
}

.post-single-content blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}

.post-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.post-tag {
  background: var(--primary-50);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.post-tag:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.nav-post {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-post:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.12);
}

.nav-post-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.nav-post-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.nav-post:hover .nav-post-title {
  color: var(--secondary);
}

/* ============================================
   PÁGINAS LEGALES - MANTIENE ESTRUCTURA ORIGINAL
   ============================================ */

.pagina-legal {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg-light) 100%);
  min-height: 100vh;
  padding: var(--space-2xl) 0;
}

.legal-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.legal-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.legal-intro {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

.datos-identificativos {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--secondary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.datos-identificativos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--brand-gradient);
}

.datos-identificativos::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.dato-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.dato-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.dato-label {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dato-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

.dato-valor {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
}

.dato-valor a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  border-bottom: 2px solid transparent;
}

.dato-valor a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--secondary-rgb), 0.1);
  overflow: hidden;
}

.legal-section {
  padding: var(--space-2xl);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section:nth-child(odd) {
  background: rgba(var(--secondary-rgb), 0.02);
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  line-height: 1.3;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-gradient);
  color: var(--surface);
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 800;
}