/* 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;
}

/* ============================================================
   TARJETA DESTACADA — piscina y jacuzzi
   Sustituye al callout plano en normas.html (ES y EN).
   Paleta y tipografías del home: verde forestal, terracota,
   dorado y Marcellus para las cifras.
   ============================================================ */
.pool-card {
  position: relative;
  background: linear-gradient(158deg, #FBFAF6 0%, #F3F1E9 100%);
  border: 1px solid rgba(31, 31, 31, 0.07);
  border-radius: 14px;
  padding: 30px 32px 26px;
  margin: 28px 0 36px;
  overflow: hidden;
}
.pool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--rose) 55%, var(--lavender) 100%);
}
.pool-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pool-card-ico {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.pool-card-title {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0;
}
.legal-main .pool-card-sub {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 64ch;
  margin: 0 0 24px;
}
.pool-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.pool-fact {
  background: #FFFFFF;
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 10px;
  padding: 15px 17px 16px;
}
.pool-fact-label {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 6px;
}
.pool-fact-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.pool-fact-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-top: 6px;
}
.legal-main .pool-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 31, 31, 0.09);
}
.legal-main .pool-note + .pool-note {
  padding-top: 12px;
  border-top: 0;
}
.pool-note-ico {
  font-size: 17px;
  line-height: 1.4;
  flex-shrink: 0;
}
.pool-card strong { color: var(--green-dark); font-weight: 600; }

@media (max-width: 560px) {
  .pool-card { padding: 24px 20px 22px; border-radius: 12px; }
  .pool-facts { grid-template-columns: 1fr; gap: 10px; }
  .legal-main .pool-card-sub { font-size: 14.5px; margin-bottom: 20px; }
}

/* ============================================================
   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; }
}
