/* ==========================================================================
   STUDIO46 — Sistema de disseny
   Fons fosc monocrom + accent groc (extret del logo i de la fotografia real)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tipografia (allotjada localment)

   Inter servida des del mateix domini i no des de Google Fonts: carregar-la
   del CDN de Google enviaria l'adreça IP de cada visitant als seus servidors
   abans de tenir-ne el consentiment. Només s'inclouen els subconjunts
   'latin' i 'latin-ext', que cobreixen el català i el castellà.
   Inter · SIL Open Font License 1.1
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-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;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Superfícies */
  --bg:            #0a0a0b;
  --bg-alt:        #0f0f11;
  --surface:       #151517;
  --surface-2:     #1c1c20;

  /* Línies */
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.20);

  /* Text */
  --text:          #f4f4f2;
  --text-muted:    #9b9ba1;
  --text-dim:      #6e6e75;

  /* Accent */
  --accent:        #efc400;
  --accent-dim:    #b39400;
  --on-accent:     #0a0a0b;

  /* Mides */
  --radius:        2px;
  --container:     1240px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);
  --section-y:     clamp(4.5rem, 9vw, 8rem);
  --header-h:      74px;

  /* Moviment */
  --ease:          cubic-bezier(0.2, 0.6, 0.2, 1);

  /* Tipografia */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                   Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset i base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* --------------------------------------------------------------------------
   3. Utilitats de layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   4. Tipografia
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.015em; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.muted { color: var(--text-muted); }
.dim   { color: var(--text-dim); }
.accent { color: var(--accent); }

/* Etiqueta d'apartat — el quadrat recull el bloc "46" del logotip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}
.section__head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Botons
   -------------------------------------------------------------------------- */
.btn {
  --btn-py: 0.9rem;
  --btn-px: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover { background: #ffd524; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { --btn-py: 0.65rem; --btn-px: 1.15rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Enllaç amb fletxa */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: 0.8rem; }
.link-arrow svg { flex: none; }

/* --------------------------------------------------------------------------
   6. Capçalera
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* El logotip és una peça molt apaïsada (2400 × 680), per això es
   dimensiona per amplada i no per alçada. */
.brand { flex: none; margin-right: auto; display: block; }
.brand img {
  width: clamp(118px, 13vw, 150px);
  height: auto;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-block: 0.25rem;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }

/* CTA dins del desplegable: només visible quan el botó de la capçalera
   queda amagat (mòbil). */
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(4.5px); }

.nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after  { transform: rotate(-45deg) translateY(0); }

/* Selector d'idioma.
   Va fora del menú desplegable, a la barra sempre visible: així des de
   qualsevol pàgina i a qualsevol amplada s'hi arriba amb un sol clic. */
.lang-switch {
  flex: none;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch__item {
  padding: 0.4rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang-switch__item + .lang-switch__item { border-left: 1px solid var(--line); }
.lang-switch__item:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.lang-switch__item.is-active {
  color: var(--on-accent);
  background: var(--accent);
  cursor: default;
}

/* A partir d'aquí la capçalera comença a anar justa d'amplada: es
   retallen els espais abans no calgui amagar res. */
@media (max-width: 1080px) {
  .site-header__inner { gap: 1rem; }
  .nav { gap: 1.4rem; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
                visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    padding-block: 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 1.5rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 400px) {
  .site-header__inner { gap: 0.7rem; }
  .brand img { width: 104px; }
  .lang-switch__item { padding: 0.4rem 0.42rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* El vídeo se superposa a la imatge un cop ja s'està reproduint,
   perquè no hi hagi mai un buit negre entremig. */
.hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Prou densa perquè la retolació incrustada del vídeo llegeixi com a
     textura de fons i no competeixi amb el titular. */
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(10, 10, 11, 0.74) 50%, rgba(10, 10, 11, 0.58) 100%),
    linear-gradient(to right, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.4) 62%, rgba(10, 10, 11, 0.25) 100%);
}

.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 46ch; }

.hero__title { margin-bottom: 1.5rem; }
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__text {
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__meta span::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Xifres clau
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }

.stat__value {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.stat__value small {
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.stat__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   9. Bloc mixt text + imatge
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-media { grid-template-columns: 0.9fr 1.1fr; }

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 880px) {
  .split,
  .split--wide-media { grid-template-columns: 1fr; }
}

/* Llistat d'especificacions dins d'un bloc */
.spec-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec-list dt,
.spec-list .spec-list__key {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  flex: none;
}
.spec-list .spec-list__val {
  text-align: right;
  font-weight: 500;
}

/* Punts destacats */
.checklist {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
}
.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.checklist li::before {
  content: '';
  flex: none;
  width: 7px; height: 7px;
  margin-top: 0.6rem;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Serveis
   -------------------------------------------------------------------------- */
/* 7 serveis + 1 targeta de CTA = 8 cel·les, de manera que la graella
   queda sempre completa a 4, 2 i 1 columnes. */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .services { grid-template-columns: 1fr; } }

.service {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  transition: background-color 0.25s var(--ease);
}
.service:hover { background: var(--surface); }

.service__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service__title { margin-bottom: 0.65rem; }
.service__text {
  font-size: 0.94rem;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Última cel·la: crida a l'acció */
.service--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
}
.service--cta:hover { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   11. Galeria d'espais
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }

.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92), transparent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   12. Referències: peces de vídeo
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 780px) { .work-grid { grid-template-columns: 1fr; } }

.work__link {
  display: block;
  cursor: default;
}
.work__link[href] { cursor: pointer; }

.work__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work__link[href]:hover .work__media img { transform: scale(1.04); }

/* Botó de reproducció: només si la peça té enllaç */
.work__play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: none;
  place-items: center;
  width: 62px; height: 62px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: background-color 0.25s var(--ease), scale 0.25s var(--ease);
}
.work__link[href] .work__play { display: grid; }
.work__link[href]:hover .work__play {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  scale: 1.06;
}

.work__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.15rem;
}

.work__title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}

/* El format va a part i en to secundari: el que ha de destacar és el
   nom de la producció, no si és pòdcast o conversa. */
.work__format {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
}

.work__client { display: flex; align-items: center; flex: none; }

/* Els logotips tenen proporcions molt diferents (de 4,4:1 a 2:1). Si
   només es fixés l'alçada, els apaïsats dominarien i els compactes
   quedarien insignificants. Limitant-los per caixa, els compactes poden
   créixer en alçada i tots pesen visualment el mateix. */
/* Els tres primers logotips ronden la proporció 4:1; el de la
   Generalitat és 2:1. A igual alçada pesaria la meitat, així que se li
   dona ~1,4× d'alçada perquè ocupi la mateixa superfície òptica. */
.work__logo {
  height: clamp(26px, 2.6vw, 32px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: right center;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease);
}
.work__logo--compact { height: clamp(36px, 3.6vw, 45px); }
.work:hover .work__logo { opacity: 1; }

/* Estat provisional mentre no hi ha la imatge o el logotip definitius:
   s'amaga la imatge trencada i es mostra el text de data-fallback.
   Ho activa js/main.js quan una imatge no carrega. */
.is-missing img { display: none; }

.work__media.is-missing {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: var(--line-strong);
}
.work__media.is-missing::after {
  content: attr(data-fallback);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.work__client.is-missing::after {
  content: attr(data-fallback);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: right;
}

/* --------------------------------------------------------------------------
   13. Reserva: calendari + formulari
   -------------------------------------------------------------------------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
/* El calendari creix per acompanyar l'alçada del formulari */
.booking > .panel { display: flex; flex-direction: column; }
.booking .calendar-embed { flex: 1; display: flex; }
.booking .calendar-embed iframe {
  flex: 1;
  height: auto;
  min-height: clamp(420px, 46vw, 560px);
}
@media (max-width: 940px) {
  .booking { grid-template-columns: 1fr; }
}

.panel {
  --panel-pad: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--panel-pad);
}

/* Calendari incrustat de Google.
   L'embed només existeix en versió clara, així que s'inverteix per
   integrar-lo amb el fons fosc; el hue-rotate recupera el to original
   dels colors dels esdeveniments. */
.calendar-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 46vw, 560px);
  border: 0;
  filter: invert(0.92) hue-rotate(180deg);
}

/* A mòbil l'embed de Google té una amplada mínima interna i es
   retallaria dins del padding del panell: s'estén fins a les vores. */
@media (max-width: 620px) {
  .booking .calendar-embed {
    margin-inline: calc(var(--panel-pad) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
}

.calendar-embed__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.calendar-embed__note a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.calendar-embed__note a:hover { color: var(--accent); border-color: var(--accent); }

/* Formulari */
.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: 0.45rem; }
.field--half-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 520px) {
  .field--half-group { grid-template-columns: 1fr; }
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239b9ba1' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field select option { background: var(--surface); }

/* Camp trampa per a robots: fora de pantalla en comptes de display:none,
   perquè els robots que ignoren els estils el trobin i l'omplin. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Capa informativa de protecció de dades, sobre la casella */
.form__privacy {
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--line-strong);
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.form__privacy strong { color: var(--text-muted); font-weight: 600; }
.form__privacy a { color: var(--text-muted); border-bottom: 1px solid var(--line-strong); }
.form__privacy a:hover { color: var(--accent); border-color: var(--accent); }
.form__privacy .todo { font-size: 1em; }

.form__consent a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}
.form__consent a:hover { color: var(--accent); border-color: var(--accent); }

.form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form__consent input {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 0.18rem;
  accent-color: var(--accent);
}

.form__note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.form__status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}
.form__status.is-visible { display: block; }
.form__status.is-ok { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   14. Ubicació i contacte
   -------------------------------------------------------------------------- */
.location {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 940px) {
  .location { grid-template-columns: 1fr; }
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.map-frame iframe {
  width: 100%;
  height: clamp(320px, 45vw, 460px);
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.88);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1.4rem;
}
.contact-list__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}
.contact-list__value {
  font-size: 1.05rem;
  font-weight: 500;
}
a.contact-list__value:hover { color: var(--accent); }

.transport {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.transport li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.transport strong {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   15. Pàgines internes: taules, grups d'especificacions i notes
   -------------------------------------------------------------------------- */

/* Capçalera de pàgina interna */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-head__inner { max-width: 60ch; }

/* Taules de tarifes */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table caption {
  padding: 1.05rem 1.25rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.table th,
.table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table thead th {
  background: var(--bg-alt);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td { border-bottom: 0; }

.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

.table tbody th {
  font-weight: 500;
  color: var(--text);
}

/* Columnes de preu */
.table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.table .num--accent { color: var(--accent); }

/* Cel·les amb diversos trams de preu */
.tiers {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
}
.tiers span { white-space: nowrap; }
.tiers .tiers__label {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

/* A mòbil la taula deixa de ser una graella i passa a blocs apilats:
   el concepte encapçala el bloc i el preu queda a sota, a la dreta.
   Així no cal desplaçament horitzontal. */
@media (max-width: 680px) {
  .table thead { display: none; }

  .table tbody tr {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .table tbody tr:last-child { border-bottom: 0; }

  .table tbody th,
  .table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0;
    border: 0;
  }

  /* El concepte sempre al capdamunt del bloc, sigui quin sigui
     l'ordre de les columnes a l'escriptori. */
  .table tbody th {
    order: -1;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    font-weight: 600;
  }

  /* Retolació de cada preu; si la cel·la no té data-label, no es
     pinta res i el preu queda alineat a la dreta. */
  .table tbody td::before {
    content: attr(data-label);
    flex: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

/* Grups d'especificacions */
.spec-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-group {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
}
.spec-group > h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.spec-group ul { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.spec-group li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.spec-group li::before {
  content: '';
  flex: none;
  width: 6px; height: 6px;
  margin-top: 0.55rem;
  background: var(--accent);
}
.spec-group li strong { color: var(--text); font-weight: 500; }

/* Bloc destacat amb dades dures */
.figure-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.figure-band > div {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.figure-band dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.figure-band dd {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* Nota / advertiment */
.note {
  border-left: 2px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 72ch;
}
.note + .note { margin-top: 1.25rem; }
.note strong { color: var(--text); font-weight: 500; }

/* Recàrrecs i suplements: informació que cal que es llegeixi bé, però
   que no s'ha de vendre com un reclam. Per això van en cos petit i
   sense el color d'accent. */
.rate-notes__title {
  margin: 2rem 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.rate-notes {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rate-notes li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.15rem;
  background: var(--surface);
  font-size: 0.9rem;
}
.rate-notes__label { color: var(--text-muted); }
.rate-notes__value {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Fitxa d'espai amb imatge i text */
.space-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.space-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.space-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.space-card__body { padding: clamp(1.4rem, 2.5vw, 1.9rem); }
.space-card__body h3 { margin-bottom: 0.6rem; }
.space-card__body p { font-size: 0.94rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   16. Franja CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: var(--on-accent);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  max-width: 20ch;
}
.cta-band .btn--dark {
  background: var(--on-accent);
  color: var(--accent);
}
.cta-band .btn--dark:hover { background: #1c1c20; }

/* --------------------------------------------------------------------------
   16b. Consentiment de contingut extern
   -------------------------------------------------------------------------- */

/* Rètol que ocupa el lloc d'un incrustat mentre no hi ha consentiment.
   L'iframe només rep el src quan el visitant ho accepta. */
.consent-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.consent-gate p {
  max-width: 42ch;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.consent-gate__icon { color: var(--text-dim); }

.consent-embed { position: relative; }
/* Sense consentiment l'iframe no s'ha de veure ni ocupar el focus */
.consent-embed:not(.is-allowed) iframe { visibility: hidden; }
.consent-embed:not(.is-allowed) { background: var(--surface); }

/* Barra inferior de consentiment */
.cookie-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: rgba(15, 15, 17, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
}
.cookie-bar[hidden] { display: none; }

.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: 1.25rem;
}

.cookie-bar__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.cookie-bar__text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 80ch;
}
.cookie-bar__text a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}
.cookie-bar__text a:hover { color: var(--accent); border-color: var(--accent); }

/* Les dues opcions tenen el mateix pes: rebutjar ha de ser tan
   fàcil com acceptar. */
.cookie-bar__actions {
  display: flex;
  gap: 0.75rem;
  flex: none;
}
.cookie-bar__actions .btn { min-width: 116px; }

@media (max-width: 780px) {
  .cookie-bar__inner { flex-direction: column; align-items: stretch; }
  .cookie-bar__actions .btn { flex: 1; }
}

/* --------------------------------------------------------------------------
   17. Peu
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

.footer-brand img { width: 178px; height: auto; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 34ch; font-size: 0.9rem; color: var(--text-muted); }

.footer-col h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-legal a {
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   17b. Pàgines de text legal
   -------------------------------------------------------------------------- */
.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.prose h2 {
  margin: clamp(2.75rem, 5vw, 3.75rem) 0 1.15rem;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.05rem;
  color: var(--text);
}

.prose p { margin-bottom: 1.15rem; text-wrap: pretty; }

.prose ul,
.prose ol { margin: 0 0 1.15rem 0; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.6rem; }
.prose li::marker { color: var(--accent); }

.prose strong { color: var(--text); font-weight: 600; }

.prose a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.prose a:hover { border-color: var(--accent); }

.prose hr {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Fitxa de dades identificatives */
.prose .data-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}
.prose .data-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.prose .data-list dfn,
.prose .data-list .data-list__key {
  flex: none;
  min-width: 15ch;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 0.3rem;
}
.prose .data-list li > span:last-child { color: var(--text); }

/* Marca visible per a les dades que encara falten */
.todo {
  background: rgba(239, 196, 0, 0.14);
  color: var(--accent);
  padding: 0.1em 0.45em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92em;
}

.legal-updated {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   18. Animacions d'entrada
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
