/* ===== VIX HOSTING - POLÍTICA DE PRIVACIDAD Y COOKIES ===== */
  .vix-legal-doc {
    --vix-blue: #1C6BFF;
    --vix-blue-dark: #122155;
    --vix-blue-soft: #f0f5ff;
    --vix-text: #1a1a1a;
    --vix-text-secondary: #555;
    --vix-text-muted: #888;
    --vix-border: #e5e5e5;
    --vix-border-light: #f0f0f0;
    --vix-bg: #ffffff;
    --vix-warn-bg: #fffdf5;
    --vix-warn-border: #f5d97a;
    --vix-warn-text: #8a6d1f;
    --vix-danger-bg: #fef5f5;
    --vix-danger-border: #f5a3a3;
    --vix-danger-text: #8a1f1f;
    --vix-info-bg: #f0f5ff;
    --vix-info-border: #1C6BFF;
    --vix-radius: 2px;
    
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    color: var(--vix-text);
    line-height: 1.7;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 4rem;
    background: var(--vix-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
  }

  .vix-legal-doc *,
  .vix-legal-doc *::before,
  .vix-legal-doc *::after {
    box-sizing: border-box;
  }

  /* ===== HEADER ===== */
  .vix-doc-header {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--vix-border);
    margin-bottom: 3rem;
  }

  .vix-doc-header .vix-doc-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: var(--vix-text-muted);
    letter-spacing: 0.02em;
  }

  .vix-doc-header .vix-doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .vix-doc-header .vix-doc-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--vix-text-muted);
    stroke-width: 1.5;
    fill: none;
  }

  .vix-doc-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--vix-blue-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.8rem 0;
  }

  .vix-doc-header .vix-doc-subtitle {
    font-size: 1.05rem;
    color: var(--vix-text-secondary);
    margin: 0;
    line-height: 1.6;
    max-width: 720px;
  }

  /* ===== ÍNDICE TRES COLUMNAS ===== */
  .vix-toc {
    margin-bottom: 4rem;
    padding: 2.5rem 0 1rem 0;
    border-top: 1px solid var(--vix-border);
    border-bottom: 1px solid var(--vix-border);
  }

  .vix-toc-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--vix-blue-dark);
  }

  .vix-toc-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vix-blue-dark);
    margin: 0;
  }

  .vix-toc-count {
    font-size: 0.75rem;
    color: var(--vix-text-muted);
    font-variant-numeric: tabular-nums;
  }

  .vix-toc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 3rem;
  }

  .vix-toc-block {
    margin-bottom: 1.8rem;
  }

  .vix-toc-block-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vix-blue);
    margin: 0 0 0.8rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--vix-border-light);
  }

  .vix-toc-block-label .vix-toc-new {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vix-blue);
    background: var(--vix-blue-soft);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    margin-left: 0.3rem;
    vertical-align: middle;
  }

  .vix-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .vix-toc-list li {
    margin: 0;
  }

  .vix-toc-list a {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--vix-text);
    text-decoration: none;
    line-height: 1.5;
    border-bottom: 1px dotted transparent;
    transition: color 0.15s, border-color 0.15s;
  }

  .vix-toc-list a:hover {
    color: var(--vix-blue);
    border-bottom-color: var(--vix-blue);
  }

  .vix-toc-list .vix-toc-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--vix-text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 1.6rem;
    flex-shrink: 0;
  }

  .vix-toc-list a:hover .vix-toc-num {
    color: var(--vix-blue);
  }

  .vix-toc-list .vix-toc-label {
    flex: 1;
  }

  /* ===== SECTIONS ===== */
  .vix-doc-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--vix-border-light);
  }

  .vix-doc-section:last-of-type {
    border-bottom: none;
  }

  .vix-section-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .vix-section-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vix-blue);
    background: var(--vix-blue-soft);
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-variant-numeric: tabular-nums;
  }

  .vix-section-head h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--vix-blue-dark);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    flex: 1;
  }

  .vix-section-head .vix-section-icon {
    width: 20px;
    height: 20px;
    stroke: var(--vix-text-muted);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 0.3rem;
    opacity: 0.5;
  }

  .vix-section-body {
    padding-left: 3.2rem;
    color: var(--vix-text);
  }

  .vix-section-body p {
    margin: 0 0 1rem 0;
    line-height: 1.75;
  }

  .vix-section-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vix-blue-dark);
    margin: 1.8rem 0 0.8rem 0;
    padding-left: 0.8rem;
    border-left: 2px solid var(--vix-blue);
  }

  .vix-section-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vix-text);
    margin: 1.2rem 0 0.5rem 0;
  }

  .vix-section-body ul,
  .vix-section-body ol {
    margin: 0.8rem 0 1.2rem 0;
    padding-left: 1.5rem;
  }

  .vix-section-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
  }

  .vix-section-body li::marker {
    color: var(--vix-blue);
  }

  .vix-section-body a {
    color: var(--vix-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(28, 107, 255, 0.3);
    transition: border-color 0.15s;
  }

  .vix-section-body a:hover {
    border-bottom-color: var(--vix-blue);
  }

  .vix-section-body strong,
  .vix-section-body b {
    font-weight: 600;
    color: var(--vix-text);
  }

  /* ===== TABLA DE COOKIES ===== */
  .vix-cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0 1.5rem 0;
    font-size: 0.88rem;
    background: var(--vix-bg);
    border: 1px solid var(--vix-border);
  }

  .vix-cookies-table thead {
    background: var(--vix-blue-soft);
  }

  .vix-cookies-table th {
    text-align: left;
    padding: 0.7rem 1rem;
    font-weight: 600;
    color: var(--vix-blue-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--vix-border);
  }

  .vix-cookies-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--vix-border-light);
    color: var(--vix-text-secondary);
    vertical-align: top;
    line-height: 1.5;
  }

  .vix-cookies-table tr:last-child td {
    border-bottom: none;
  }

  .vix-cookies-table tr:hover td {
    background: var(--vix-blue-soft);
  }

  .vix-cookie-name {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--vix-blue-dark);
    font-weight: 600;
  }

  .vix-cookie-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    background: var(--vix-blue-soft);
    color: var(--vix-blue);
  }

  .vix-cookie-badge.essential {
    background: #e8f5e9;
    color: #2e7d32;
  }

  .vix-cookie-badge.analytics {
    background: #fff3e0;
    color: #e65100;
  }

  .vix-cookie-badge.marketing {
    background: #fce4ec;
    color: #c2185b;
  }

  /* ===== CALLOUTS ===== */
  .vix-callout {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
    border-radius: var(--vix-radius);
    border-left: 3px solid var(--vix-blue);
    background: var(--vix-blue-soft);
  }

  .vix-callout.vix-callout-warn {
    border-left-color: var(--vix-warn-border);
    background: var(--vix-warn-bg);
  }

  .vix-callout.vix-callout-danger {
    border-left-color: var(--vix-danger-border);
    background: var(--vix-danger-bg);
  }

  .vix-callout.vix-callout-info {
    border-left-color: var(--vix-info-border);
    background: var(--vix-info-bg);
  }

  .vix-callout-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .vix-callout-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--vix-blue);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .vix-callout-warn .vix-callout-icon svg {
    stroke: var(--vix-warn-text);
  }

  .vix-callout-danger .vix-callout-icon svg {
    stroke: var(--vix-danger-text);
  }

  .vix-callout-info .vix-callout-icon svg {
    stroke: var(--vix-blue);
  }

  .vix-callout-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .vix-callout-content strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--vix-blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .vix-callout-warn .vix-callout-content strong {
    color: var(--vix-warn-text);
  }

  .vix-callout-danger .vix-callout-content strong {
    color: var(--vix-danger-text);
  }

  .vix-callout-info .vix-callout-content strong {
    color: var(--vix-blue-dark);
  }

  /* ===== GROUP DIVIDERS ===== */
  .vix-doc-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3.5rem 0 2rem 0;
  }

  .vix-doc-group-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vix-blue-dark);
    white-space: nowrap;
  }

  .vix-doc-group::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--vix-border);
  }

  /* ===== FOOTER ===== */
  .vix-doc-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vix-border);
    font-size: 0.85rem;
    color: var(--vix-text-muted);
    line-height: 1.7;
  }

  .vix-doc-footer p {
    margin: 0 0 0.8rem 0;
  }

  .vix-doc-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--vix-border-light);
    font-size: 0.78rem;
  }

  /* ===== BACK TO TOP ===== */
  .vix-doc-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--vix-bg);
    border: 1px solid var(--vix-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .vix-doc-top:hover {
    border-color: var(--vix-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 107, 255, 0.15);
  }

  .vix-doc-top svg {
    width: 16px;
    height: 16px;
    stroke: var(--vix-text-secondary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .vix-doc-top:hover svg {
    stroke: var(--vix-blue);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .vix-legal-doc {
      padding: 2.5rem 2.5rem;
    }

    .vix-toc-columns {
      grid-template-columns: 1fr 1fr;
      gap: 0 2.5rem;
    }
  }

  @media (max-width: 768px) {
    .vix-legal-doc {
      padding: 1.5rem 1rem;
      font-size: 14px;
    }

    .vix-doc-header h1 {
      font-size: 1.6rem;
    }

    .vix-doc-header .vix-doc-meta {
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .vix-toc-columns {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .vix-section-head {
      gap: 0.8rem;
    }

    .vix-section-num {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 0.75rem;
    }

    .vix-section-head h2 {
      font-size: 1.15rem;
    }

    .vix-section-body {
      padding-left: 0;
    }

    .vix-cookies-table {
      font-size: 0.8rem;
      display: block;
      overflow-x: auto;
    }

    .vix-doc-top {
      bottom: 1rem;
      right: 1rem;
      width: 36px;
      height: 36px;
    }
  }

  /* ===== PRINT ===== */
  @media print {
    .vix-doc-top {
      display: none !important;
    }

    .vix-doc-section {
      page-break-inside: avoid;
    }

    .vix-toc-list a {
      color: var(--vix-text) !important;
    }
  }

/* ===== Integración VIX Hosting 2026 ===== */
body[data-page="terminos"],
body[data-page="privacidad"],
body[data-page="cookies"],
body[data-page="uso-aceptable"] { background:#fff; }

body[data-page="terminos"] .vix-legal-doc,
body[data-page="privacidad"] .vix-legal-doc,
body[data-page="cookies"] .vix-legal-doc,
body[data-page="uso-aceptable"] .vix-legal-doc {
  width:min(1280px, calc(100% - 44px));
  max-width:1280px;
  padding:4.5rem 3.5rem 5.25rem;
}

body[data-page="terminos"] .vix-doc-header h1,
body[data-page="privacidad"] .vix-doc-header h1,
body[data-page="cookies"] .vix-doc-header h1,
body[data-page="uso-aceptable"] .vix-doc-header h1 {
  font-family:Manrope,Inter,system-ui,sans-serif!important;
  font-size:clamp(2rem,3vw,2.8rem)!important;
  font-weight:700!important;
  line-height:1.14!important;
  letter-spacing:-.028em!important;
  color:#122155!important;
  max-width:none!important;
}

body[data-page="terminos"] .vix-section-head h2,
body[data-page="privacidad"] .vix-section-head h2,
body[data-page="cookies"] .vix-section-head h2,
body[data-page="uso-aceptable"] .vix-section-head h2 {
  font-family:Manrope,Inter,system-ui,sans-serif!important;
  font-size:1.35rem!important;
  font-weight:700!important;
  line-height:1.3!important;
  letter-spacing:-.015em!important;
  color:#122155!important;
}

body[data-page="terminos"] .vix-section-body h3,
body[data-page="privacidad"] .vix-section-body h3,
body[data-page="cookies"] .vix-section-body h3,
body[data-page="uso-aceptable"] .vix-section-body h3 {
  font-family:Inter,system-ui,sans-serif!important;
  font-size:.95rem!important;
  font-weight:700!important;
  line-height:1.45!important;
  letter-spacing:0!important;
  color:#122155!important;
}

body[data-page="terminos"] .vix-doc-header,
body[data-page="privacidad"] .vix-doc-header,
body[data-page="cookies"] .vix-doc-header,
body[data-page="uso-aceptable"] .vix-doc-header { scroll-margin-top:110px; }

body[data-page="terminos"] .vix-doc-section,
body[data-page="privacidad"] .vix-doc-section,
body[data-page="cookies"] .vix-doc-section,
body[data-page="uso-aceptable"] .vix-doc-section { scroll-margin-top:120px; }

@media (max-width:768px){
  body[data-page="terminos"] .vix-legal-doc,
  body[data-page="privacidad"] .vix-legal-doc,
  body[data-page="cookies"] .vix-legal-doc,
  body[data-page="uso-aceptable"] .vix-legal-doc {
    width:min(100% - 28px,1280px);
    padding:2.5rem .25rem 4rem;
  }
  body[data-page="terminos"] .vix-doc-header h1,
  body[data-page="privacidad"] .vix-doc-header h1,
  body[data-page="cookies"] .vix-doc-header h1,
  body[data-page="uso-aceptable"] .vix-doc-header h1 { font-size:2rem!important; }
}
