/* =========================================================
   legal.css — páginas legales (privacidad, términos, contacto)
   Misma identidad visual que index.html
========================================================= */
:root {
  --red:        #E63946;
  --red-dark:   #C1121F;
  --green:      #2A9D8F;
  --green-bg:   #E8F5F3;
  --text:       #2D3436;
  --text-light: #636E72;
  --bg-section: #F7F9FC;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.12);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --font-h:     'Montserrat', sans-serif;
  --font-b:     'Open Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BOTÓN (igual que index) ===== */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.45);
  text-decoration: none;
}

/* ===== TOPBAR (igual que index) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-brand {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}
.topbar-brand span { color: var(--red); }

/* ===== CABECERA DE PÁGINA ===== */
.legal-hero {
  background: linear-gradient(160deg, #fff 55%, #FFF5F5 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid #f0e8e8;
}
.legal-label {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.legal-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-updated {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== CONTENIDO ===== */
.legal-main { padding: 48px 0 72px; }
.legal-main h2 {
  font-family: var(--font-h);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}
.legal-main p { margin-bottom: 16px; }
.legal-main ul { margin: 0 0 16px 0; display: flex; flex-direction: column; gap: 10px; }
.legal-main li { padding-left: 26px; position: relative; }
.legal-main li::before {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.legal-main strong { color: var(--text); }

.legal-callout {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 26px 0;
  box-shadow: var(--shadow-sm);
}
.legal-callout p:last-child { margin-bottom: 0; }

/* ===== TARJETA DE CONTACTO ===== */
.contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 28px 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.contact-card > p:first-child {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.contact-email {
  display: inline-block;
  font-family: var(--font-h);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
  color: var(--green);
  margin: 8px 0 6px;
  word-break: break-word;
}
.contact-card .btn-primary {
  font-size: 15px;
  padding: 16px 36px;
  margin-top: 16px;
}

/* ===== FOOTER (igual que index) ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.footer-brand span { color: var(--red); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
