/* Excavacions Bermúdez · pàgines de text (avís legal, privacitat i error 404). Mateixa marca que la web. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/assets/fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #E30613; --red-tl: #D10512;
  --ink: #0c0c0c; --paper: #f2f2f0; --tx: #141414; --mu: #5c5c5c; --ln: rgba(0,0,0,.12);
  --pad: clamp(18px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--tx); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.lg-hdr { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 0 var(--pad); background: #fff; border-bottom: 3px solid var(--red); box-shadow: 0 6px 30px -14px rgba(0,0,0,.3); }
picture { display: contents; }
.lg-logo img { height: 42px; width: auto; }
.lang { display: inline-flex; border: 1.5px solid var(--ln); border-radius: 999px; padding: 3px; }
.lang button { height: 30px; min-width: 36px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #666; }
.lang button:hover { color: var(--tx); }
.lang button[aria-pressed="true"] { background: var(--tx); color: #fff; }

.lg { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) var(--pad) 64px; }
.kick { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red-tl); margin-bottom: 16px; }
.kick::before { content: ""; width: 28px; height: 3px; background: var(--red); }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; font-stretch: 80%; line-height: 1; letter-spacing: -.012em; margin-bottom: 14px; }
.upd { color: var(--mu); font-size: 14px; margin-bottom: 36px; }
h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
p, li { font-size: 16px; }
p + p { margin-top: 10px; }
ul { padding-left: 1.2em; margin: 8px 0; }
li + li { margin-top: 6px; }
.fitxa { background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 18px 22px; margin: 14px 0; list-style: none; }
.fitxa li { padding-left: 0; }
.fitxa b { display: inline-block; min-width: 11em; }
.lg a { text-decoration-color: rgba(0,0,0,.35); text-underline-offset: 3px; }
.lg a:hover { color: var(--red-tl); text-decoration-color: currentColor; }
.lg-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ln); font-weight: 700; font-size: 15px; }

.lg-ft { padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ln); color: var(--mu); font-size: 13px; text-align: center; }

/* Pàgina 404 */
.e404 { flex: 1; display: grid; place-items: center; padding: 48px var(--pad); text-align: center; }
.e404 .num { font-size: clamp(90px, 20vw, 180px); font-weight: 900; font-stretch: 70%; line-height: .9; color: var(--red); }
.e404 h1 { margin-top: 10px; }
.e404 p { color: var(--mu); max-width: 46ch; margin: 0 auto; }
.e404 .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #B8040F; }
.btn-ghost { border: 1.5px solid rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--tx); }
.e404 .alt { font-size: 14px; }
.e404 .alt + .alt { margin-top: 4px; }

@media (max-width: 560px) {
  .lg-logo img { height: 34px; }
  .fitxa b { display: block; min-width: 0; }
  .fitxa li + li { margin-top: 10px; }
}
