/* ═══════════════════════════════════════════════════════════════
   Comunitat NexSocial — Design System
   Basat en Guia de Branding oficial NexSocial v1.0 (Abril 2026).
   Ajust senior-first: base 20px (branding diu 13-15px; en aquest
   canal el públic són persones grans, prioritzem accessibilitat).
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts oficials ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&family=League+Spartan:wght@300&display=swap');

/* ── Tokens de branding oficial ───────────────────────────── */
:root {
  /* Verds estructurals */
  --ink:         #0F2D1E;   /* H1/H2 principals · quasi negre */
  --text:        #2A3D28;   /* Text de cos · nav links */
  --text-muted:  #4A6858;   /* Subtítols · descripcions · notes */
  --forest:      #2D6B48;   /* CTA principal · nav actiu · botons */
  --forest-hover:#1E5A38;   /* Hover del CTA */
  --green-mid:   #3D8A62;   /* Labels · em cursiva · borders · icons */
  --green-light: #6DBF85;   /* Detalls sobre fons fosc */

  /* Verds UI (fons) */
  --green-pale:  #98BE95;   /* Cards verdes · CTAs secondary · blocs destacats */
  --cream-green: #D4E8D0;   /* Sidebar · Topbar · Footer · Values-strip */
  --forest-hero: #DFF0DB;   /* Hero · Page-headers */
  --cards-even:  #E8F5E4;   /* Cards alternades parells */
  --cards-odd:   #F0F9ED;   /* Cards alternades imparells */

  /* Cremes contingut */
  --cream:       #F5F0E8;   /* Seccions contingut · Forms · Contacte */
  --card:        #FFFFFF;   /* Cards blanques pures */
  --white:       #FFFFFF;

  /* Estats funcionals */
  --success:     #2D6B48;
  --warning:     #B8860B;
  --danger:      #A03030;
  --info:        #2D6B48;

  /* Tipografia (base 20px per accessibilitat senior — excepció al brand) */
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-num:  'League Spartan', 'DM Sans', sans-serif;
  --fs-xs:   16px;
  --fs-sm:   18px;
  --fs-base: 20px;
  --fs-md:   22px;
  --fs-lg:   26px;
  --fs-xl:   32px;
  --fs-2xl:  40px;
  --fs-3xl:  56px;

  /* Espais */
  --sp-1: 0.5rem; --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;   --sp-5: 3rem;   --sp-6: 4rem;   --sp-7: 6rem;

  /* Layout */
  --radius:     12px;
  --radius-lg:  20px;
  --radius-pill:40px;
  --shadow-sm: 0 2px 8px rgba(15,45,30,0.08);
  --shadow-md: 0 4px 20px rgba(15,45,30,0.12);
  --shadow-lg: 0 10px 40px rgba(15,45,30,0.18);
  --shadow-btn:0 4px 16px rgba(45,107,72,0.25);
  --max-w: 1200px;
  --touch: 48px;
}

/* ── Reset raonable ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ── Enllaços (verd forest sobre crema · contrast alt) ─── */
a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--forest-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Skip to content (a11y) ────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--ink); color: var(--white);
  padding: var(--sp-2) var(--sp-3); z-index: 999;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Contenidors ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
.section {
  padding: var(--sp-6) var(--sp-3);
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .section { padding: var(--sp-5) var(--sp-3); }
}

/* ── Tipografia ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 var(--sp-3);
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 400; }
h3 { font-size: var(--fs-xl); font-weight: 500; }
h4 { font-size: var(--fs-lg); font-weight: 500; }

/* Em cursiva dins títols → verd mid (spec branding) */
h1 em, h2 em, h3 em, h4 em, .hero-caption em {
  font-style: italic;
  color: var(--green-mid);
  font-weight: 400;
}

@media (max-width: 720px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
}

p { margin: 0 0 var(--sp-3); max-width: 65ch; }
.lead { font-size: var(--fs-md); color: var(--text); }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  background: var(--cream-green);
  border-bottom: 1px solid rgba(15,45,30,0.08);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: var(--sp-2);
  text-decoration: none; color: var(--ink);
  flex: 1;
  min-width: 0;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--forest-hero);
  color: var(--forest);
  border: 1px solid rgba(45,107,72,0.15);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .nav-logo-img { height: 40px; max-width: 160px; }
  .nav-logo-tag { display: none; }
}
.nav-links {
  display: flex; gap: var(--sp-1); align-items: center;
}
.nav-link {
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
  min-height: var(--touch);
  display: flex; align-items: center;
}
.nav-link:hover, .nav-link.active { background: var(--forest-hero); color: var(--ink); }
.lang-sw { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 2px solid transparent;
  padding: 8px 12px; min-width: 44px; min-height: 44px;
  border-radius: 8px; font-weight: 600; cursor: pointer;
  color: var(--ink); opacity: 0.6;
}
.lang-btn.active { border-color: var(--forest); opacity: 1; background: var(--forest-hero); }
.lang-btn:hover { opacity: 1; }

@media (max-width: 720px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-logo-text { font-size: var(--fs-sm); }
  .nav-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 2px; }
  .nav-link { padding: 10px 12px; font-size: var(--fs-sm); }
}

/* ── HERO ──────────────────────────────────────────────────────
   La foto ja porta el logo NexSocial. No sobreposem títol,
   només un text-CTA sota que respiri i deixi lluir la imatge.
   ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center 60%;
}
/* En pantalles amples, retallem alçada per no ocupar-ho tot */
@media (min-width: 900px) {
  .hero {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 45%;
  }
}
@media (min-width: 1400px) {
  .hero { height: 480px; }
}

/* Bloc textual sota la foto (respirant, no encimant)
   Fons: forest-hero segons jerarquia branding "Page-headers" */
.hero-caption {
  background: var(--forest-hero);
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  border-bottom: 1px solid rgba(45,107,72,0.12);
}
.hero-caption-inner { max-width: 800px; margin: 0 auto; }
.hero-caption h1 {
  font-size: clamp(38px, 5vw, 68px);
  margin-bottom: var(--sp-2);
  font-weight: 300;
}
.hero-tagline {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--forest);
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: var(--sp-3);
  font-weight: 400;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-caption .lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  font-weight: 400;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Poster grid (portada "Properes activitats") ─────── */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  max-width: var(--max-w);
  margin: 0 auto;
}
.event-poster {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
  isolation: isolate;
}
.event-poster:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.event-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.event-poster:hover img { transform: scale(1.05); }
.event-poster-overlay {
  position: absolute;
  inset: 0;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg,
              rgba(15,45,30,0) 0%,
              rgba(15,45,30,0) 40%,
              rgba(15,45,30,0.55) 70%,
              rgba(15,45,30,0.9) 100%);
}
.event-poster-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--white);
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
@media (max-width: 900px) {
  .poster-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .event-poster { aspect-ratio: 16/9; }
}

/* ── Col·laboracions (xarxa d'entitats) ─────────────────── */
.collab-section {
  text-align: center;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.collab-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-1);
}
.collab-sub {
  color: var(--text-muted);
  margin: 0 auto var(--sp-5);
  max-width: 480px;
}
.collab-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-5);
  max-width: var(--max-w);
  margin: 0 auto;
}
.collab-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.collab-logo:hover { transform: translateY(-3px); }
.collab-logo img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Logo amb fons fosc propi (Flamenco & Events): lleuger radius perquè es vegi net sense card */
.collab-logo-dark img {
  border-radius: var(--radius);
}
@media (max-width: 720px) {
  .collab-grid { gap: var(--sp-4); }
  .collab-logo img { max-height: 76px; }
}
/* ── Blocs comercials portada (3 grans horitzontals) ─── */
.commercial-blocks {
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
}
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cblock {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(45,107,72,0.06);
}
.cblock:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.cblock-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--forest-hero);
}
.cblock-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cblock:hover .cblock-img img { transform: scale(1.05); }
.cblock-body {
  padding: var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.cblock-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.cblock-desc {
  color: var(--text-muted);
  font-size: var(--fs-base);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.cblock-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-sm);
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 2px solid var(--forest-hero);
  transition: color 0.15s, letter-spacing 0.15s;
}
.cblock:hover .cblock-cta {
  color: var(--forest-hover);
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .commercial-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .cblock-img { aspect-ratio: 16/9; }
  .cblock-title { font-size: 28px; }
}
.quick-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-5) auto;
  max-width: var(--max-w);
  padding: 0 var(--sp-3);
  position: relative;
  z-index: 2;
}
.qblock.qblock-alt .qblock-icon { background: var(--forest-hero); color: var(--green-mid); }
.qblock.qblock-alt:hover { border-color: var(--green-mid); }
.qblock {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-2);
  border: 3px solid transparent;
}
.qblock:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--forest);
  color: var(--ink);
}
.qblock-icon {
  width: 72px; height: 72px;
  background: var(--forest-hero);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: var(--forest);
}
.qblock-title {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0;
}
.qblock-desc {
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .quick-blocks { grid-template-columns: 1fr; gap: var(--sp-2); }
  .qblock { min-height: 160px; padding: var(--sp-3); }
}

/* ── Botons (pill segons branding NexSocial) ───────────── */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: var(--sp-1);
  min-height: var(--touch);
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s, border-color 0.15s;
  font-family: var(--font-body);
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--forest); color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--forest-hover); color: var(--white); }
.btn-secondary {
  background: rgba(45,107,72,0.12); color: var(--forest);
  border-color: rgba(45,107,72,0.4);
}
.btn-secondary:hover { background: rgba(45,107,72,0.22); color: var(--forest); border-color: var(--forest); }
.btn-ghost {
  background: transparent; color: var(--forest);
  border-color: var(--forest);
}
.btn-ghost:hover { background: var(--forest); color: var(--white); }
.btn-lg { min-height: 60px; padding: 18px 40px; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Filtres agenda ────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}
.filter-btn {
  background: var(--white);
  border: 2px solid rgba(15,45,30,0.15);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  min-height: var(--touch);
}
.filter-btn:hover { border-color: var(--forest); }
.filter-btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ── Targetes d'activitat ──────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-3);
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
  border: 1px solid rgba(15,45,30,0.06);
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.event-card-img {
  aspect-ratio: 16/9;
  background: var(--forest-hero);
  position: relative;
  overflow: hidden;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-badge {
  position: absolute; top: var(--sp-2); left: var(--sp-2);
  background: var(--forest); color: var(--white);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.event-badge.badge-taller  { background: var(--forest); }
.event-badge.badge-esdev   { background: var(--green-mid); }
.event-badge.badge-mensual { background: var(--green-pale); color: var(--forest); }

/* ── Tabs (Reserves) ────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 3px solid rgba(15,45,30,0.1);
  margin-bottom: var(--sp-4);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: transparent;
  border: none;
  padding: 16px 24px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  opacity: 0.55;
  cursor: pointer;
  min-height: var(--touch);
  border-bottom: 4px solid transparent;
  margin-bottom: -3px;
  white-space: nowrap;
  transition: opacity 0.15s, color 0.15s;
}
.tab:hover { opacity: 0.85; }
.tab[aria-selected="true"] {
  opacity: 1;
  color: var(--forest);
  border-bottom-color: var(--forest);
}
.tab-taller[aria-selected="true"]  { color: var(--forest); border-bottom-color: var(--forest); }
.tab-esdev[aria-selected="true"]   { color: var(--green-mid);    border-bottom-color: var(--green-mid); }
.tab-mensual[aria-selected="true"] { color: var(--green-mid);    border-bottom-color: var(--green-mid); }
.tab-count {
  display: inline-block;
  background: var(--forest-hero);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  margin-left: 6px;
  font-weight: 700;
}

/* Secció Reserves amb toc de verd hero (jerarquia branding) */
.section-reserves {
  background: linear-gradient(180deg, var(--forest-hero) 0%, var(--cream) 400px);
  padding-top: var(--sp-5);
}
.event-card-body {
  padding: var(--sp-3);
  flex: 1;
  display: flex; flex-direction: column;
  gap: var(--sp-2);
}
.event-title { font-size: var(--fs-lg); margin: 0; }
.event-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  font-size: var(--fs-sm); color: var(--ink); opacity: 0.75;
}
.event-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.event-desc { font-size: var(--fs-sm); flex: 1; opacity: 0.85; }
.event-card-footer {
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  border-top: 1px solid rgba(15,45,30,0.08);
}
.event-price { font-weight: 700; font-size: var(--fs-md); }
.event-price.free { color: var(--forest); }

/* ── Detall d'event ────────────────────────────────────────── */
.detail-hero {
  height: 220px;
  background: var(--forest-hero);
  overflow: hidden;
  position: relative;
}
@media (min-width: 600px) {
  .detail-hero { height: 300px; }
}
@media (min-width: 900px) {
  .detail-hero { height: 400px; }
}
.detail-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--forest-hero);
}
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--white); border-radius: 100px;
  text-decoration: none; color: var(--ink);
  margin-bottom: var(--sp-3);
  min-height: var(--touch);
  font-weight: 500;
}
.detail-back:hover { background: var(--forest-hero); }
.detail-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-5);
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}
.detail-info dl {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) 0;
  padding: var(--sp-3);
  background: var(--white);
  border-radius: var(--radius);
}
.detail-info dt { font-weight: 600; color: var(--forest); }
.detail-info dd { margin: 0; }

/* ── Formularis (senior-first) ─────────────────────────────── */
.form-group { margin-bottom: var(--sp-3); }
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-1);
  font-size: var(--fs-base);
}
.form-required { color: var(--danger); margin-left: 4px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  min-height: var(--touch);
  padding: 12px 16px;
  border: 2px solid rgba(15,45,30,0.2);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-base);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--forest);
  outline: none;
}
.form-input.error, .form-textarea.error { border-color: var(--danger); }
.form-help { font-size: var(--fs-sm); color: var(--ink); opacity: 0.7; margin-top: 4px; }
.form-error { font-size: var(--fs-sm); color: var(--danger); margin-top: 6px; font-weight: 500; }

/* ── Card de reserva (sidebar) ─────────────────────────────── */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-md);
  position: sticky; top: 96px;
}
.booking-card h3 { margin-top: 0; }

/* ── Alertes ───────────────────────────────────────────────── */
.alert {
  padding: var(--sp-3);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  border-left: 5px solid;
  font-size: var(--fs-base);
}
.alert-info { background: #E8F0FA; border-color: var(--info); }
.alert-success { background: var(--forest-hero); border-color: var(--success); }
.alert-warning { background: #FFF4D6; border-color: var(--warning); }
.alert-danger { background: #FADBDB; border-color: var(--danger); }

/* ── Banner "truca'ns" sempre visible ──────────────────────── */
.phone-banner {
  background: var(--forest-hero);
  padding: var(--sp-3) var(--sp-3);
  text-align: center;
  border-radius: var(--radius);
  margin: var(--sp-4) auto;
  max-width: var(--max-w);
  font-size: var(--fs-md);
}
.phone-banner strong { color: var(--forest); }
.phone-banner a {
  font-size: var(--fs-lg); font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: 0.02em;
}
.phone-banner a:hover { text-decoration: underline; }

/* ── Recursos ──────────────────────────────────────────────── */
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: flex; flex-direction: column; gap: var(--sp-2);
  border-left: 5px solid var(--forest);
}
.resource-tag {
  display: inline-block;
  background: var(--forest-hero);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Passatemps: redisseny inclusiu +60 ────────────────── */

/* Capçalera de secció */
.pastimes-header {
  background: var(--forest-hero);
  padding: var(--sp-6) var(--sp-3);
  text-align: center;
  border-bottom: 1px solid rgba(45,107,72,0.12);
}
.pastimes-header-inner { max-width: 720px; margin: 0 auto; }
.pastimes-header h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: var(--sp-2); font-weight: 300; }
.pastimes-header-sub { font-size: var(--fs-lg); color: var(--text-muted); margin: 0; }

/* Com funciona: 3 passos grans */
.pastimes-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.pastimes-howto-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  border: 1px solid rgba(45,107,72,0.1);
}
.pastimes-howto-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.pastimes-howto-item p { margin: 0; font-size: var(--fs-base); font-weight: 500; }
@media (max-width: 720px) {
  .pastimes-howto { grid-template-columns: 1fr; gap: var(--sp-2); }
}

/* Títol de categoria */
.pastimes-cat-title {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--forest);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 3px solid var(--forest-hero);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.cat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--forest);
  stroke: var(--forest);
}

/* Graella de fitxes */
.pastimes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--sp-4);
}

/* Fitxa individual — més definida */
.pastime-card {
  background: var(--white);
  border: 2px solid rgba(45,107,72,0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  margin: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pastime-card-wide { grid-column: 1 / -1; max-width: 900px; }

/* Capçalera de color amb número + nivell */
.pastime-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--forest-hero);
  border-bottom: 1px solid rgba(45,107,72,0.12);
}
.pastime-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: var(--fs-md);
  font-weight: 600;
}
.pastime-level {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-left: auto;
}
.level-suau  { background: var(--white); color: var(--forest); }
.level-mitja { background: #FCEFCB; color: #8A6D1F; }
.level-repte { background: #F6DCDC; color: #A03030; }

.pastime-question {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  padding: var(--sp-3) var(--sp-3) 0;
  margin: 0 0 var(--sp-3);
  line-height: 1.3;
}

/* Opcions — pastilles grans i clares */
.pastime-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 0 var(--sp-3);
  margin-bottom: var(--sp-3);
}
.pastime-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  min-height: 56px;
  border: 2px solid rgba(45,107,72,0.3);
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-weight: 600;
  font-size: var(--fs-md);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.pastime-option:active { transform: scale(0.97); }
.pastime-option input {
  position: absolute;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.pastime-option:has(input:checked) {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.pastime-option:has(input:checked)::before { content: '✓'; font-weight: 800; font-size: 1.2em; }
.pastime-option:has(input:focus-visible) { outline: 3px solid var(--green-mid); outline-offset: 2px; }
.pastime-option:hover { border-color: var(--forest); }

/* Solució desplegable */
.pastime-solution {
  border-top: 2px dashed rgba(45,107,72,0.25);
  margin: auto var(--sp-3) 0;
  padding-top: var(--sp-2);
}
.pastime-solution summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest);
  font-size: var(--fs-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pastime-solution summary::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pastime-solution summary::marker { color: var(--forest); }
.pastime-solution[open] summary { margin-bottom: var(--sp-1); }
.pastime-solution p {
  margin: 0 0 var(--sp-3);
  color: var(--text);
  font-size: var(--fs-base);
  background: var(--forest-hero);
  padding: var(--sp-3);
  border-radius: var(--radius);
  line-height: 1.6;
}

/* Busca les diferències */
.dif-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.dif-fig { margin: 0; }
.dif-fig img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid rgba(45,107,72,0.15);
}
.dif-fig figcaption {
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .dif-images { grid-template-columns: 1fr; }
}

/* Sopa de lletres */
.sopa-wrap { display: flex; justify-content: center; margin-bottom: var(--sp-3); }
.sopa-grid {
  border-collapse: collapse;
  font-family: var(--font-num), monospace;
}
.sopa-grid td {
  width: 52px; height: 52px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(45,107,72,0.2);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
}
@media (max-width: 480px) {
  .sopa-grid td { width: 42px; height: 42px; font-size: var(--fs-base); }
}

/* Botó imprimir + tancament */
.pastimes-cta-print { text-align: center; margin-top: var(--sp-6); }
.pastimes-more {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: var(--sp-4) auto 0;
  font-size: var(--fs-base);
}

/* Promo a recursos.html */
.pastimes-promo {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--forest-hero);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(45,107,72,0.12);
}
.pastimes-promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.pastimes-promo-icon { flex-shrink: 0; }
.pastimes-promo-icon svg { width: 64px; height: 64px; color: var(--forest); }
.pastimes-print-btn svg { width: 22px; height: 22px; }
.pastimes-promo-text h2 { font-size: var(--fs-xl); margin: 0 0 8px; color: var(--ink); }
.pastimes-promo-text p { margin: 0 0 12px; color: var(--text-muted); }
.pastimes-promo-cta {
  color: var(--forest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
}
@media (max-width: 640px) {
  .pastimes-promo { flex-direction: column; text-align: center; padding: var(--sp-4); }
}

/* Versió imprimible */
@media print {
  .nav, .footer, #nav-placeholder, #footer-placeholder,
  .skip-link, .pastimes-howto, .pastimes-cta-print,
  .pastimes-header-sub { display: none !important; }
  .pastimes-header { background: none; padding: 0 0 var(--sp-2); border: none; }
  .pastime-card { break-inside: avoid; box-shadow: none; border: 1.5px solid #000; }
  .pastime-num { background: #fff !important; color: #000 !important; border: 1.5px solid #000; }
  .pastime-option {
    background: #fff !important;
    border: 1.5px solid #000 !important;
    color: #000 !important;
  }
  .pastime-option::before { content: '' !important; }
  .pastime-solution { display: none !important; }
  .pastime-level { border: 1px solid #000; background: #fff !important; color: #000 !important; }
  .sopa-grid td { background: #fff !important; }
}

/* ── Footer (crema verd segons branding · text fosc) ───── */
.footer {
  background: var(--cream-green);
  color: var(--text);
  padding: var(--sp-5) var(--sp-3) var(--sp-3);
  margin-top: var(--sp-6);
  border-top: 1px solid rgba(45,107,72,0.15);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-4);
}
.footer h4 {
  color: var(--forest);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.footer a { color: var(--forest); text-decoration: none; display: block; padding: 6px 0; }
.footer a:hover { color: var(--forest-hover); text-decoration: underline; }
.footer-brand {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.footer-copy {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(45,107,72,0.15);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Admin ─────────────────────────────────────────────────── */
.admin-body { background: var(--cream); }
.admin-login {
  max-width: 420px; margin: var(--sp-6) auto;
  padding: var(--sp-4);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.admin-table th, .admin-table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid rgba(15,45,30,0.08);
}
.admin-table th { background: var(--forest-hero); font-weight: 600; }
.admin-table tr:hover td { background: rgba(223,240,219,0.3); }

/* ── Agenda: títol de mes ─────────────────────────────── */
.agenda-month { margin-bottom: var(--sp-5); }
.agenda-month-title {
  font-family: var(--font-head);
  font-size: var(--fs-xl);
  color: var(--forest);
  border-bottom: 2px solid var(--forest-hero);
  padding-bottom: var(--sp-1);
  margin-bottom: var(--sp-3);
}

/* ── Llistat horitzontal (Agenda) ────────────────────────── */
.events-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr 140px;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid rgba(45,107,72,0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  align-items: center;
}
.event-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-mid);
  color: var(--text);
}
.event-row.is-esgotat { opacity: 0.55; pointer-events: none; }

.event-row-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2);
  background: var(--forest-hero);
  border-radius: var(--radius);
  min-height: 90px;
}
.event-row-day {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.event-row-day.event-row-day-sm {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.event-row-month {
  font-size: var(--fs-xs);
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 4px;
}

.event-row-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.event-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}
.event-row-title {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.event-row-loc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.event-row-cta {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}
.event-row-arrow {
  color: var(--forest);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
}
.event-row-img {
  width: 140px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--forest-hero);
}
.event-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .event-row {
    grid-template-columns: 70px 1fr;
    gap: var(--sp-2);
    padding: var(--sp-2);
  }
  .event-row-img { display: none; }
  .event-row-day { font-size: 32px; }
  .event-row-title { font-size: var(--fs-base); }
}

/* ── Selector places (pills +/-) ────────────────────── */
.places-selector {
  display: flex;
  align-items: stretch;
  border: 2px solid rgba(45,107,72,0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  max-width: 220px;
  background: var(--white);
}
.places-btn {
  background: var(--forest-hero);
  color: var(--forest);
  border: none;
  width: 56px;
  min-height: 56px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}
.places-btn:hover:not(:disabled) { background: var(--green-pale); }
.places-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.places-input {
  border: none !important;
  text-align: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--ink);
  flex: 1;
  min-height: 56px;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.places-input:focus { outline: none !important; }
.places-input::-webkit-inner-spin-button,
.places-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Total box (preu total dinàmic) ────────────────────── */
.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3);
  background: var(--forest-hero);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-md);
}
.total-box strong {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}

/* ── Bloc "On es fa" (foto lloc + adreça + mapa) ────────── */
.location-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(45,107,72,0.08);
  margin-top: var(--sp-3);
}
.location-img {
  min-height: 240px;
  background: var(--forest-hero);
}
.location-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}
.location-info {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 720px) {
  .location-block { grid-template-columns: 1fr; }
}

/* ── Booking phone ─────────────────────────────────────── */
.booking-phone {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(45,107,72,0.15);
  text-align: center;
}
.booking-phone a {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}

/* ── Mapa embed ───────────────────────────────────────── */
.map-embed { margin-top: var(--sp-2); }
.map-embed iframe {
  display: block;
  width: 100%;
  border: 1px solid rgba(45,107,72,0.12);
  border-radius: var(--radius-lg);
}

/* ── Checkout (Pas 2) ──────────────────────────────────── */
.checkout-section {
  background: linear-gradient(180deg, var(--forest-hero) 0%, var(--cream) 400px);
  padding-top: var(--sp-4);
}
.checkout-heading { margin-bottom: var(--sp-4); }
.checkout-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-4);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { order: -1; }  /* Mòbil: resum abans que formulari */
}

/* Sidebar de resum amb poster */
.checkout-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}
.summary-poster {
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
}
.summary-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary-body { padding: var(--sp-3); }
.summary-title {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin-bottom: 4px;
}
.summary-line { font-size: var(--fs-sm); margin-bottom: 4px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-2) 0;
  border-top: 1px solid rgba(45,107,72,0.15);
  margin-top: var(--sp-3);
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-2) 0;
  border-top: 2px solid var(--forest);
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  color: var(--ink);
}
.summary-total strong {
  font-size: var(--fs-xl);
  color: var(--forest);
  font-weight: 500;
}

/* ── Utilitats ─────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mb-3 { margin-bottom: var(--sp-3); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
