/* Páginas legales (aviso-legal.html, privacidad.html, cookies.html) y 404.html. Hoja propia y ligera: no carga el bundle del sitio. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --ink: #292329; --plum: #3d0d2d; --berry: #762366; --rose: #f8cadb; --paper: #fff7fa; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--berry); }
a:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; border-radius: 4px; }

.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px); }
.legal-header img { display: block; width: 170px; height: auto; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #76236640; border-radius: 999px; color: var(--plum); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
@media (hover: hover) {
  .legal-back:hover { background: var(--rose); }
}

.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 96px; }
.legal-kicker { margin: 0 0 12px; color: var(--berry); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.legal h1 { margin: 0; color: var(--plum); font: 600 clamp(38px, 6vw, 58px)/1.05 "Bricolage Grotesque", "DM Sans", sans-serif; letter-spacing: -.04em; }
.legal-updated { margin: 14px 0 0; color: #6b5a66; font-size: 14px; }
.legal-lead { margin: 32px 0 0; padding: 22px 24px; border-radius: 20px; background: var(--rose); color: var(--plum); font-size: 17px; }
.legal h2 { margin: 48px 0 10px; color: var(--plum); font: 600 clamp(22px, 3vw, 27px)/1.2 "Bricolage Grotesque", "DM Sans", sans-serif; letter-spacing: -.02em; }
.legal p, .legal li { color: #3f343c; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }

.legal-footer { padding: 24px 16px 32px; border-top: 1px solid #76236620; color: #6b5a66; font-size: 13px; text-align: center; }
.legal-footer a { color: inherit; text-decoration: none; }
.legal-footer strong { color: var(--berry); }

.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 12px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--plum); font-weight: 600; }
.legal-links a[aria-current="page"] { color: var(--berry); text-decoration: none; }

/* 404 */
.notfound { display: grid; place-items: center; min-height: 62vh; padding: 48px clamp(16px, 4vw, 48px) 96px; text-align: center; }
.notfound-inner { max-width: 620px; }
.notfound-mark { display: block; width: 92px; height: auto; margin: 0 auto 22px; }
.notfound-code { margin: 0 0 10px; color: var(--berry); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.notfound h1 { margin: 0; color: var(--plum); font: 600 clamp(34px, 6vw, 56px)/1.06 "Bricolage Grotesque", "DM Sans", sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.notfound h1 em { color: #c93a75; font-style: normal; }
.notfound p { margin: 18px auto 0; max-width: 460px; color: #3f343c; font-size: 17px; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.notfound-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid #000; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.notfound-primary { background: #000; color: #fff; }
.notfound-secondary { background: #fff; color: #000; }
@media (hover: hover) {
  .notfound-primary:hover { background: #681a4f; border-color: #681a4f; }
  .notfound-secondary:hover { background: #000; color: #fff; }
}
