﻿/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:   #0c4b8f;
  --secondary: #19c6b5;
  --dark:      #3b065e;
  --dark-2:    #06194a;
  --white:     #ffffff;
  --light-bg:  #f7f9fc;
  --text:      #333333;
  --text-muted:#666666;
  --gradient:  linear-gradient(135deg, #0c4b8f, #19c6b5);
  --gradient-dark: linear-gradient(135deg, #3b065e 0%, #0c4b8f 100%);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Navigation ===== */
header {
  background: var(--gradient-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  height: 48px;
  display: flex;
  align-items: center;
}

.logo-icon img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1.1;
}

.logo-text span:last-child {
  font-size: 0.68rem;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transition: color 0.25s;
}

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

.nav-back svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== Hero Banner ===== */
.page-hero {
  background: var(--gradient-dark);
  padding: 70px 8% 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero h1 span { color: var(--secondary); }

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.page-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--secondary);
  flex-shrink: 0;
}

/* ===== Content Layout ===== */
.terms-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 8% 90px;
}

/* ===== Table of Contents ===== */
.toc {
  background: var(--light-bg);
  border-left: 4px solid var(--secondary);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin-bottom: 56px;
}

.toc h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.toc ol li {
  counter-increment: toc-counter;
  font-size: 0.9rem;
}

.toc ol li::before {
  content: counter(toc-counter) ". ";
  color: var(--secondary);
  font-weight: 600;
}

.toc ol li a {
  color: var(--primary);
  transition: color 0.2s;
}

.toc ol li a:hover { color: var(--secondary); }

/* ===== Sections ===== */
.terms-section {
  margin-bottom: 52px;
  scroll-margin-top: 90px;
}

.terms-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.terms-section p {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 14px;
}

.terms-section ul,
.terms-section ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.terms-section li {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 8px;
}

.terms-section strong { color: var(--primary); }

/* ===== Definition List ===== */
.def-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.def-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--light-bg);
  padding-bottom: 12px;
}

.def-term {
  font-weight: 600;
  color: var(--primary);
}

/* ===== Highlight Box ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(12,75,143,0.06), rgba(25,198,181,0.06));
  border: 1px solid rgba(25,198,181,0.25);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 18px 0;
}

.highlight-box p { margin: 0; font-size: 0.95rem; }

/* ===== Warning Box ===== */
.warning-box {
  background: rgba(176,34,20,0.05);
  border: 1px solid rgba(176,34,20,0.2);
  border-left: 4px solid #b02214;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 18px 0;
}

.warning-box p {
  margin: 0;
  font-size: 0.93rem;
  color: #7a1a10;
}

/* ===== SLA Table ===== */
.sla-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.91rem;
}

.sla-table th {
  background: var(--gradient);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.sla-table th:first-child { border-radius: 8px 0 0 0; }
.sla-table th:last-child  { border-radius: 0 8px 0 0; }

.sla-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--light-bg);
  color: var(--text);
}

.sla-table tr:nth-child(even) td { background: var(--light-bg); }

/* ===== Contact Box ===== */
.contact-box {
  background: var(--gradient-dark);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  margin-top: 18px;
}

.contact-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.contact-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.contact-box li svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== Footer ===== */
footer {
  background: #06194a;
  padding: 40px 8%;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.footer-logo span { color: var(--secondary); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--secondary); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .page-hero h1 { font-size: 1.9rem; }
  .toc ol { grid-template-columns: 1fr; }
  .def-item { grid-template-columns: 1fr; gap: 4px; }
  .terms-wrap { padding: 50px 5% 70px; }
  .page-hero { padding: 50px 5% 40px; }
  nav { padding: 14px 5%; }
  .sla-table { font-size: 0.83rem; }
  .sla-table td, .sla-table th { padding: 9px 10px; }
}

/* === Aviso de Privacidad (clases exclusivas) === */

.arco-card p {
  font-size: 0.88rem;
  margin: 0;
}

/* ===== Contact Box ===== */
.contact-box {
  background: var(--gradient-dark);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  margin-top: 18px;
}

.contact-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.contact-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.contact-box li svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== Footer ===== */
footer {
  background: #06194a;
  padding: 40px 8%;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.footer-logo span { color: var(--secondary); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--secondary); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */

@media (max-width: 700px) {
  .privacy-hero h1 { font-size: 1.9rem; }
  .toc ol { grid-template-columns: 1fr; }
  .arco-grid { grid-template-columns: 1fr; }
  .privacy-wrap { padding: 50px 5% 70px; }
  .privacy-hero { padding: 50px 5% 40px; }
  nav { padding: 14px 5%; }
}

