/* ============================================================
   Berial Systems — Estilos compartidos de páginas legales
   Marfil técnico + salvia + cobre. Manrope (títulos) / Inter (texto).
   Las fuentes se cargan auto-alojadas desde fonts.css (incluido en _base_legal.html);
   no usamos @import a fonts.googleapis.com para no reintroducir un recurso de tercero
   que bloquea el render (mismo criterio que el resto del sitio).
   ============================================================ */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:#F7F4ED;
  color:#171A16;
  -webkit-font-smoothing:antialiased;
  line-height:1.65;
}
::-webkit-scrollbar{width:5px;}
::-webkit-scrollbar-track{background:#F0EDE5;}
::-webkit-scrollbar-thumb{background:#D8D1C2;border-radius:3px;}

/* ── Nav ── */
.lg-nav{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  height:68px;padding:0 48px;
  background:rgba(247,244,237,0.94);
  backdrop-filter:blur(16px);
  border-bottom:1px solid #E8E4DB;
}
.lg-nav img{height:30px;display:block;object-fit:contain;}
.lg-back{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:600;color:#2F6A4E;text-decoration:none;
  letter-spacing:0.01em;transition:gap .2s ease;
}
.lg-back:hover{gap:11px;}

/* ── Layout ── */
.lg-wrap{max-width:820px;margin:0 auto;padding:64px 48px 96px;}
.lg-eyebrow{
  display:block;font-size:11px;font-weight:600;letter-spacing:0.13em;
  text-transform:uppercase;color:#5F7C65;margin-bottom:14px;
}
.lg-wrap h1{
  font-family:'Manrope',sans-serif;font-size:clamp(32px,5vw,44px);
  line-height:1.12;font-weight:500;letter-spacing:-0.02em;color:#171A16;margin:0;
}
.lg-rule{display:block;width:48px;height:2px;background:#5F7C65;border:none;margin:24px 0 0;}
.lg-updated{
  margin-top:20px;font-size:13px;color:#7A8C7C;font-family:'Inter',sans-serif;
}

/* ── Sections ── */
.lg-section{margin-top:48px;}
.lg-section h2{
  font-family:'Manrope',sans-serif;font-size:22px;font-weight:500;
  letter-spacing:-0.01em;color:#171A16;line-height:1.25;
  margin:0 0 16px;
}
.lg-section h2 .lg-num{color:#C9824A;font-weight:500;margin-right:10px;}
.lg-section h3{
  font-family:'Manrope',sans-serif;font-size:16px;font-weight:500;
  color:#171A16;margin:26px 0 10px;
}
.lg-section p{font-size:15px;line-height:1.72;color:#4A5B4D;margin:0 0 14px;}
.lg-section p:last-child{margin-bottom:0;}
.lg-section ul{margin:0 0 16px;padding-left:0;list-style:none;}
.lg-section li{
  position:relative;font-size:15px;line-height:1.7;color:#4A5B4D;
  padding-left:22px;margin-bottom:9px;
}
.lg-section li::before{
  content:'';position:absolute;left:2px;top:9px;
  width:6px;height:6px;background:#C9824A;transform:rotate(45deg);
}
.lg-section a{color:#2F6A4E;text-decoration:none;border-bottom:1px solid rgba(47,106,78,0.3);}
.lg-section a:hover{border-bottom-color:#2F6A4E;}

/* ── Data card (identificación del titular) ── */
.lg-card{
  background:#fff;border:1px solid #E8E4DB;border-top:2px solid #5F7C65;
  border-radius:10px;padding:26px 28px;margin:4px 0 0;
}
.lg-dl{display:grid;grid-template-columns:180px 1fr;gap:10px 20px;}
.lg-dl dt{font-size:13px;font-weight:600;color:#5F7C65;font-family:'Inter',sans-serif;}
.lg-dl dd{font-size:14.5px;color:#171A16;}


/* ── Footer ── */
.lg-foot{
  background:#0F1411;border-top:1px solid #2C362E;
  padding:40px 0;
}
.lg-foot-inner{
  max-width:820px;margin:0 auto;padding:0 48px;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:16px;
}
.lg-foot a{color:#8EA894;text-decoration:none;font-size:13px;transition:color .16s ease;}
.lg-foot a:hover{color:#D8D1C2;}
.lg-foot .lg-foot-legal{display:flex;gap:22px;flex-wrap:wrap;}
.lg-foot .lg-copy{font-size:12px;color:#3D5040;}

@media(max-width:600px){
  .lg-nav{padding:0 20px;}
  .lg-wrap{padding:48px 20px 72px;}
  .lg-dl{grid-template-columns:1fr;gap:4px 0;}
  .lg-dl dd{margin-bottom:12px;}
  .lg-foot-inner{padding:0 20px;}
}
