/* Estilos compartidos para páginas legales — Apartamentos Natur León */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F6F2;
  --green: #7C9264;
  --green-dark: #3F5733;
  --lavender: #B8763D;
  --rose: #C9A574;
  --text: #1F1F1F;
  --text-soft: #5A5A5A;
  --line: rgba(31, 31, 31, 0.08);
  --serif: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--lavender); text-decoration: underline; }

.legal-nav {
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 10;
}
.legal-nav .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.legal-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.5px;
}
.legal-logo span { color: var(--lavender); font-style: italic; }
.legal-back {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}
.legal-back:hover { color: var(--green); text-decoration: none; }

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.legal-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 500;
  margin-bottom: 16px;
}
.legal-main h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.legal-date {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-main h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--green-dark);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}
.legal-main h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 12px;
}
.legal-main p {
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: 15px;
}
.legal-main ul, .legal-main ol {
  margin: 0 0 20px 24px;
  color: var(--text-soft);
  font-size: 15px;
}
.legal-main li { margin-bottom: 8px; }
.legal-main strong { color: var(--text); font-weight: 600; }
.legal-callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--lavender);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
}
.legal-callout strong { display: block; margin-bottom: 6px; color: var(--green-dark); }

.legal-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 32px;
  text-align: center;
  font-size: 13px;
}
.legal-footer a { color: var(--rose); }
.legal-footer p { margin-bottom: 8px; opacity: 0.85; }

.placeholder {
  background: rgba(217, 181, 176, 0.25);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.95em;
  color: var(--green-dark);
  font-weight: 500;
}

/* ============================================================
   SITE FOOTER (compartido entre legales y guías)
   Mantiene la coherencia visual con el home: verde forestal,
   logo, enlaces legales centrados y aviso de seguridad.
   ============================================================ */
.legal-nav + main, body > nav + main { /* keep existing — no-op */ }

.site-footer {
  background: linear-gradient(180deg, #1F2D17 0%, #141A0F 100%);
  color: rgba(255, 246, 232, 0.88);
  padding: 56px 24px 24px;
  text-align: center;
  margin-top: 80px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.site-footer-logo {
  display: block;
  margin: 0 auto 14px;
  max-width: 180px;
  height: auto;
  opacity: 0.95;
}
.site-footer-tagline {
  font-family: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 246, 232, 0.8);
  margin-bottom: 28px;
}
.site-footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
}
.site-footer-links a {
  color: rgba(255, 246, 232, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-links a:hover {
  color: #C9A574;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.7;
}
.site-footer-bottom p { margin: 4px 0; }
.site-footer-bottom strong { color: rgba(255, 246, 232, 0.95); font-weight: 500; }
.site-footer-bottom a { color: #C9A574; text-decoration: underline; }
.site-footer-bottom a:hover { color: #fff; }

/* Hide old plain footer if both coexist (rare during migration) */
.legal-footer + .site-footer,
.gh-footer + .site-footer { margin-top: 0; }
.legal-footer:has(+ .site-footer),
.gh-footer:has(+ .site-footer) { display: none; }

@media (max-width: 600px) {
  .site-footer { padding: 48px 20px 20px; }
  .site-footer-logo { max-width: 150px; }
  .site-footer-links { gap: 14px; font-size: 12px; }
}
