/* ==========================================
   LEGAL PAGES — La Cantera
   support.html | terms.html | privacy.html
   Colores: rojo #b91c1c | azul #1e40af | verde #14532d
   Fondo: neutro blanco / gris muy claro
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --red:        #b91c1c;
  --red-dark:   #7f1d1d;
  --red-light:  #fee2e2;
  --blue:       #1e40af;
  --blue-light: #dbeafe;
  --green:      #14532d;
  --green-light:#dcfce7;
  --ink:        #111827;
  --ink2:       #374151;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --surface:    #f9fafb;
  --white:      #ffffff;
}

/* ── LAYOUT ─────────────────────── */
.legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ── HERO HEADER ─────────────────── */
.legal-hero {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-hero-eyebrow i {
  font-size: 14px;
}

.legal-hero-eyebrow.red   i { color: var(--red); }
.legal-hero-eyebrow.blue  i { color: var(--blue); }
.legal-hero-eyebrow.green i { color: var(--green); }

.legal-hero-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}
.legal-hero-accent.red   { background: var(--red); }
.legal-hero-accent.blue  { background: var(--blue); }
.legal-hero-accent.green { background: var(--green); }

.legal-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.legal-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 1rem;
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* ── SECCIONES ───────────────────── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.legal-section-head {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
}

.legal-section-head i {
  font-size: 16px;
  color: var(--muted);
}

.legal-section-head h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}

.legal-section-body {
  padding: 1.1rem 1.25rem;
}

.legal-section-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--ink2);
  line-height: 1.8;
  margin: 0;
}

.legal-section-body ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-section-body li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--ink2);
  line-height: 1.7;
}

/* ── CONTACT BOX ─────────────────── */
.legal-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-contact i { font-size: 15px; }
.legal-contact strong { color: var(--ink); }

/* ── SOPORTE — GRID DE CANALES ────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  border-color: #d1d5db;
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.support-icon.wa  { background: var(--green-light); color: var(--green); }
.support-icon.em  { background: var(--blue-light);  color: var(--blue); }
.support-icon.fb  { background: #eff6ff;             color: var(--blue); }

.support-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.support-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.support-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.support-card a:hover { border-color: #9ca3af; color: var(--ink); }

/* ── RESPONSIVE ─────────────────── */
@media (max-width: 640px) {
  .legal-container { padding: 2rem 1rem 3rem; }
  .legal-hero h1   { font-size: 2.2rem; }
  .support-grid    { grid-template-columns: 1fr; }
}