/* tokens.css */
/* Tokens de disseny extrets del web original (Divi): daurat corporatiu,
   gris antracita per al text i tipografies DM Serif Display + Be Vietnam Pro. */
:root {
  --gold: #bc986b;
  --gold-light: #bda588;
  --gold-dark: #9c7a4f;
  --ink: #313131;
  --muted: #666666;
  --navy: #16243a;
  --navy-overlay: rgba(18, 32, 56, 0.62);
  --bg: #ffffff;
  --bg-alt: #f7f4ef;
  --line: #e7e0d5;
  --footer-bg: #1d1d1f;
  --footer-ink: #c9c4bc;

  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", "Open Sans", Helvetica, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);

  --container: 1180px;
  --gutter: 16px;
  --radius: 4px;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --header-h: 84px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* layout.css */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--navy);
  color: #e9e6e1;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--muted);
}

.section--dark .lead {
  color: #cfd5de;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.25fr 1fr; }
}

.prose {
  max-width: 820px;
}

.prose--center {
  margin: 0 auto;
}

/* components.css */
/* ---------- Botons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--gold-dark);
}

.btn--ghost:hover {
  background: var(--gold);
  color: #fff;
}

.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Capçalera i navegació ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 60px;
}

@media (max-width: 560px) {
  .brand img {
    height: 44px;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.nav__list,
.nav__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.nav__link:hover,
.nav__link[aria-current="page"],
.nav__item--active > .nav__link {
  color: var(--gold);
}

.nav__caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  padding: 0.6rem 0;
  border-top: 2px solid var(--gold);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub,
.nav__item--open > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__sub a {
  display: block;
  padding: 0.55rem 1.2rem;
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
  background: var(--bg-alt);
  color: var(--gold-dark);
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }

  .nav-open .nav { transform: none; }
  .nav-open { overflow: hidden; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0.25rem 0 0.5rem;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item--has-sub:hover > .nav__sub { display: none; }
  .nav__item--open > .nav__sub { display: block; }
  .nav__sub a { padding: 0.55rem 1rem; }
}

/* ---------- Selector d'idioma ---------- */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang__btn:hover,
.lang--open .lang__btn {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.lang__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 170px;
  margin: 0;
  padding: 0.4rem 0;
  border-top: 2px solid var(--gold);
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.lang--open .lang__list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang__list a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.lang__list a:hover,
.lang__list a[aria-current] {
  background: var(--bg-alt);
  color: var(--gold-dark);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  color: #fff;
  background: var(--navy);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy-overlay) 0%, rgba(18, 32, 56, 0.45) 100%);
}

.hero__content {
  padding: 6rem 0;
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 2rem;
  color: #fff;
}

.hero h1 span {
  display: block;
}

.hero__phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  color: #fff;
  text-decoration: none;
}

.hero__phone svg {
  flex: none;
  width: 44px;
  height: 44px;
}

.hero__phone small {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero__phone strong {
  font-size: 1.35rem;
}

.page-hero {
  min-height: 0;
}

.page-hero .hero__content {
  padding: clamp(4rem, 3rem + 5vw, 7.5rem) 0;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: var(--fs-2xl);
}

.page-hero .lead {
  margin-bottom: 1.75rem;
  color: #e3e6ea;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: #d5d9df;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.6;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

/* ---------- Media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media--frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

/* ---------- Targetes ---------- */
.card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card h3 {
  font-size: 1.4rem;
}

.card p {
  color: var(--muted);
}

.card__logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.value {
  padding-top: 1.25rem;
  border-top: 2px solid var(--gold);
}

.value h3 {
  font-size: 1.3rem;
}

.value p {
  color: var(--muted);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.75rem;
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card__more {
  margin-top: 1.25rem;
  color: var(--gold-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Llistes ---------- */
.checklist {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.checklist--cols {
  columns: 2 280px;
  column-gap: 2.5rem;
}

.checklist--cols li {
  break-inside: avoid;
}

.note {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  font-style: italic;
}

/* ---------- Blocs alterns (tipus d'obres) ---------- */
.feature + .feature {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.feature h3 {
  font-size: var(--fs-xl);
}

.feature p {
  color: #4a4a4a;
}

.closing {
  max-width: 820px;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  line-height: 1.6;
}

/* ---------- Fases ---------- */
.phases {
  counter-reset: phase;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase {
  counter-increment: phase;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.phase::before {
  content: counter(phase, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
}

.phase h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.phase p {
  color: #b9c1cc;
  font-size: 0.93rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.step {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.step__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold);
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.step__sub {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.step p {
  color: var(--muted);
}

.step small {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ---------- Xifres ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 1.5rem;
}

.stat {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.section--dark .stat {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.stat__value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem);
  line-height: 1;
  color: var(--gold);
}

.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
}

.stat__text {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.section--dark .stat__text {
  color: #b9c1cc;
}

/* ---------- Cronologia ---------- */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline__when {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}

.timeline h4 {
  margin: 0.2rem 0 0.4rem;
}

.timeline p {
  color: var(--muted);
}

/* ---------- Logotips ---------- */
.logo-strip {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.logo-strip img {
  margin: 0 auto;
  max-height: 140px;
  width: auto;
}

.inline-logo {
  max-height: 110px;
  width: auto;
  margin-top: 2rem;
}

/* ---------- Cita ---------- */
.quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
  line-height: 1.5;
}

.quote cite {
  font-style: normal;
  font-weight: 600;
}

.quote cite span {
  display: block;
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Crida a l'acció ---------- */
.cta {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta__inner {
  max-width: 820px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin-bottom: 2rem;
  color: #d8dde4;
  font-size: var(--fs-lg);
}

/* ---------- Contacte ---------- */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list small {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form__hint {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 2rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
}

.news-card__meta {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.news-card h3 {
  font-size: 1.3rem;
}

.news-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--gold-dark);
}

.news-card p {
  flex: 1;
  color: var(--muted);
}

.news-card__more {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.news-disclaimer {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.empty-state {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Peu ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-size: 0.95rem;
}

.footer-logo {
  width: auto;
  height: 52px;
  margin-bottom: 2rem;
}

.site-footer h2 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: var(--fs-xl);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
}

.footer-grid small {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-sm);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* ---------- Animació d'aparició ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Pàgines legals ---------- */
.page-hero--plain .hero__content {
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: var(--fs-xl);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.5rem;
}

.legal__updated {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.legal__data {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
}

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

.legal__data th {
  width: 34%;
  font-weight: 600;
}

@media (max-width: 560px) {
  .legal__data th,
  .legal__data td {
    display: block;
    width: auto;
    padding: 0.2rem 0;
    border: 0;
  }

  .legal__data td {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }
}
