/* =========================================================
   Páginas legales — Constructora e Inmobiliaria CG
   ========================================================= */
:root {
  --charcoal: #121315; --warm: #f4f0e8; --warm-2: #e9e3d8; --ink: #18191b;
  --gold: #c4a058; --gold-light: #e2c88f; --gold-deep: #94763a; --cement: #8b8e91;
  --line-light: rgba(24, 25, 27, .12); --line-dark: rgba(200, 204, 208, .14);
  --font-display: "Akzidenz-Grotesk Pro", "Akzidenz-Grotesk", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-editorial: "Times New Roman Condensed", "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Codec Pro", "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--warm); color: var(--ink); font: 400 16px/1.7 var(--font-body); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--charcoal); border-radius: 999px; }

.lhead { position: sticky; top: 0; z-index: 50; background: rgba(18, 19, 21, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.lhead__in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lhead__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--warm); }
.lhead__brand img { width: 62px; }
.lhead__brand span { font-family: var(--font-ui); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.5; }
.lhead__back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(244, 240, 232, .28); color: var(--warm); text-decoration: none; font: 600 14px var(--font-ui); transition: border-color .3s, color .3s; }
.lhead__back:hover { border-color: var(--gold); color: var(--gold-light); }

.legal { max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter) clamp(72px, 10vw, 120px); }
.legal__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 700 11px var(--font-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.legal__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.legal h1 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; }
.legal h1 em { font-family: var(--font-editorial); font-style: italic; letter-spacing: -.01em; color: var(--gold-deep); }
.legal__meta { margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); font: 500 13px var(--font-ui); color: #5d6064; }
.legal__intro { margin-top: 28px; font-family: var(--font-editorial); font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; color: #2b2d30; }
.legal h2 { margin: 52px 0 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.45rem, 2.6vw, 1.8rem); line-height: 1.2; }
.legal h3 { margin: 28px 0 0; font: 600 16px var(--font-body); }
.legal p, .legal ul, .legal ol { margin: 14px 0 0; color: #3a3d41; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--gold-deep); text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal code { font-size: .85em; padding: 1px 6px; border-radius: 4px; background: var(--warm-2); word-break: break-all; }
.legal__table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line-light); border-radius: 6px; background: #fbfaf7; }
.legal__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.legal__table th, .legal__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.legal__table th { font: 700 11px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); background: #f6f2ea; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__box { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line-light); border-left: 3px solid var(--gold); border-radius: 6px; background: #fbfaf7; }
.legal__box p:first-child { margin-top: 0; }
.legal__btn { margin-top: 18px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; background: linear-gradient(115deg, #94763a 0%, #c4a058 28%, #ecd6a1 48%, #c4a058 66%, #8f7034 100%); color: #17130b; font: 600 15px var(--font-ui); }
.legal__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.lfoot { background: var(--charcoal); color: #b5b8bc; border-top: 1px solid var(--line-dark); }
.lfoot__in { max-width: 1180px; margin: 0 auto; padding: 34px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; font-size: 13px; }
.lfoot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lfoot a, .lfoot button { color: #b5b8bc; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.lfoot a:hover, .lfoot button:hover, .lfoot a[aria-current="page"] { color: var(--gold-light); }
@media (max-width: 560px) {
  .lhead__brand span { display: none; }
  .legal__table table { font-size: 13px; }
}
