/* ===========================================================
   CELOBERT · subpage templates (Novetats + Què oferim)
   Loads AFTER celobert.css — reuses all tokens/components.
   =========================================================== */

/* ---------- Sub-hero (page header band) ---------- */
.subhero {
  position: relative;
  padding-top: clamp(140px, 17vw, 200px);
  padding-bottom: clamp(32px, 4vw, 56px);
  overflow: clip;
}
.subhero .wrap { position: relative; z-index: 2; }
.subhero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-top: 18px;
}
.subhero .lead {
  font-size: clamp(1.1rem, 1.7vw, 1.34rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 22px;
}
/* decorative drifting blobs in the header */
.subhero .deco {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: clip;
}
.subhero .deco i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(2px); opacity: .55;
}
.subhero .deco .b1 { width: 280px; height: 280px; right: -60px; top: 40px;
  background: radial-gradient(circle at 35% 30%, var(--sky-2), var(--sky-3)); animation: float 11s ease-in-out infinite; }
.subhero .deco .b2 { width: 150px; height: 150px; right: 220px; top: 150px;
  background: var(--gold-bright); opacity: .5; animation: float 9s ease-in-out infinite reverse; }
.subhero .deco .b3 { width: 90px; height: 90px; right: -20px; bottom: 30px;
  background: var(--violet-soft); opacity: .4; animation: float 13s ease-in-out infinite; }

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .9rem; font-weight: 600; color: var(--ink-mute);
}
.crumb a { color: var(--ink-mute); transition: color .25s; white-space: nowrap; }
.crumb .here { color: var(--ink); white-space: nowrap; }
.crumb a:hover { color: var(--gold-deep); }
.crumb .sep { opacity: .5; }
.crumb .here { color: var(--ink); }
.svc-hero .crumb .here, .subhero .crumb .here { white-space: normal; }

/* ===========================================================
   NOVETATS — listing
   =========================================================== */

/* filter chips */
.filter-bar { margin-bottom: clamp(34px, 4vw, 52px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-status {
  margin-top: 16px; font-size: .95rem; font-weight: 700;
  color: var(--ink-mute); letter-spacing: .01em;
}
.filter-status strong { color: var(--ink); }

/* blocs de l'agenda: properes i «Activitats anteriors» */
.agenda-group.is-hidden { display: none; }
.agenda-past { margin-top: clamp(48px, 6vw, 80px); }
.agenda-group-head {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: clamp(22px, 2.6vw, 32px);
  padding-bottom: 14px; border-bottom: 1.5px solid var(--line);
  color: var(--ink-soft);
}
.agenda-more { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 38px); }
/* avís quan no hi ha res programat */
.agenda-soon {
  text-align: center; padding: clamp(28px, 4vw, 48px) 24px;
  background: var(--cream-2); border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--ink-soft); font-size: 1.06rem; max-width: 60ch; margin-inline: auto;
}

/* estat sense resultats */
.filter-empty {
  text-align: center; padding: clamp(34px, 5vw, 60px) 24px;
  background: var(--cream-2); border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
}
.filter-empty p { color: var(--ink-soft); font-size: 1.06rem; }
.filter-empty .btn { margin-top: 22px; }

/* Reentrada de les targetes en canviar de filtre, perquè el canvi es percebi */
@keyframes filter-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.nov-card.just-in, .featured.just-in { animation: filter-in .38s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .nov-card.just-in, .featured.just-in { animation: none; }
}
.chip {
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
  padding: .62em 1.15em; border-radius: 999px; cursor: pointer;
  background: var(--cream-2); border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.chip[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }

/* featured event */
.featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: stretch; margin-bottom: clamp(40px, 5vw, 64px);
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.featured .ph { min-height: 320px; }
.featured .feat-body { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured .feat-body .meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.featured h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.1; }
.featured p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 16px; max-width: 50ch; }
.featured .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* category pill */
.cat {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .42em .85em; border-radius: 999px; background: var(--cream-3); color: var(--gold-deep);
}
.cat.meditacio { background: #E5F4F8; color: var(--blue-deep); }
.cat.cinema { background: #ECEAFB; color: var(--violet-deep); }
.cat.trobada { background: #EAF3E4; color: #4e7a2e; }
.cat.curs { background: #FBEFD8; color: var(--gold-deep); }
.cat.programacio { background: #FAE9EF; color: #A8386B; }
.cat.taller { background: var(--cream-3); color: var(--gold-deep); }
/* Pastilla que porta a l'agenda filtrada. Manté l'aspecte d'etiqueta —no ha
   de semblar un botó— però respon al cursor i al focus del teclat. */
a.cat { text-decoration: none; transition: filter .2s, box-shadow .2s; }
a.cat:hover { filter: brightness(.95); box-shadow: 0 0 0 3px rgba(228,172,76,.22); }
a.cat:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.datechip {
  font-size: .82rem; font-weight: 700; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 7px;
}
.datechip svg { width: 15px; height: 15px; opacity: .7; }

/* novetats grid (richer event card) */
.nov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px); }
.nov-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, opacity .35s;
}
.nov-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.nov-card .ph { aspect-ratio: 3/2; }
.nov-card .nc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nov-card .nc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nov-card h3 { font-size: 1.24rem; line-height: 1.16; }
.nov-card p { font-size: .97rem; color: var(--ink-soft); }
.nov-card .more { margin-top: auto; font-weight: 700; color: var(--blue-deep); font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.nov-card:hover .more { gap: 11px; }
.nov-card.is-hidden, .featured.is-hidden { display: none; }
.nov-card[data-extra] { display: none; }

.load-more { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }

/* ===========================================================
   QUÈ OFERIM — service detail
   =========================================================== */

.svc-hero { padding-top: clamp(132px, 16vw, 188px); padding-bottom: clamp(40px, 5vw, 70px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.svc-hero .eyebrow { margin-bottom: 18px; }
.svc-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.svc-hero .lead { font-size: clamp(1.12rem, 1.6vw, 1.32rem); color: var(--ink-soft); margin-top: 22px; max-width: 48ch; }
.svc-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.svc-hero-art { position: relative; aspect-ratio: 5/4; }
.svc-hero-art .ph { position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.svc-hero-art .pill-accent {
  position: absolute; width: 42%; aspect-ratio: 1; border-radius: 46% 54% 62% 38% / 56% 42% 58% 44%;
  background: linear-gradient(160deg, var(--sky-1), var(--gold-2)); right: -5%; bottom: -7%;
  box-shadow: var(--shadow); animation: float 10s ease-in-out infinite; z-index: -1;
}

/* body: prose + sticky aside */
.svc-body { padding-block: clamp(40px, 5vw, 70px); }
.svc-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(34px, 5vw, 72px); align-items: start; }

.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.6em; }
/* Encapçalament secundari, per a titulars llargs que no han de cridar tant */
.prose h2.sm { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.prose h2:first-child { margin-top: 0; }
/* Els llistats i les graelles respiren sota el seu encapçalament: amb l'1.2em
   heretat de `.prose > * + *` quedaven enganxats a un h2 molt més gran. */
.prose h2 + .checklist,
.prose h2 + .courses,
.prose h2 + .blocks,
.prose h2 + .steps,
.prose h2 + ul.bullets { margin-top: 1.7em; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose .pull {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35;
  color: var(--ink); border-left: 3px solid var(--gold); padding-left: clamp(18px, 2.5vw, 30px);
  margin-block: 1.4em; font-style: italic;
}

/* "per a qui" / checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; color: var(--ink-soft); }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: var(--gold-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23634226' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* blocs de contingut (títol + text, sense numerar) */
.blocks { display: grid; gap: 18px; }
.block {
  background: var(--cream-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 22px 26px;
}
.block h3 { font-size: 1.12rem; margin-bottom: 6px; }
.block p { color: var(--ink-soft); font-size: .98rem; }

/* llista de cursos */
.courses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.courses li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1.03rem; color: var(--ink-soft);
}
.courses li::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: .55em;
  border-radius: 50%; background: var(--gold);
}
.courses li em { color: var(--ink); font-style: italic; }

/* steps (com ho fem) */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.step .n {
  counter-increment: step; font-family: var(--serif); font-style: italic; font-size: 1.4rem;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-3); color: var(--gold-deep);
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* sticky info card */
.svc-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.infocard {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 34px); box-shadow: var(--shadow);
}
.infocard h3 { font-size: 1.3rem; margin-bottom: 18px; }
.info-row { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--cream-3); color: var(--gold-deep); }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row .k { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.info-row .v { font-size: 1rem; color: var(--ink); font-weight: 600; }
.infocard .btn { width: 100%; justify-content: center; margin-top: 22px; }
.infocard .note { font-size: .86rem; color: var(--ink-mute); margin-top: 14px; text-align: center; }

/* facilitators */
.facils { display: grid; gap: 16px; }
.facil { display: flex; gap: 14px; align-items: center; }
.facil .av { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 3px solid var(--cream); box-shadow: var(--shadow-sm); }
.facil .nm { font-family: var(--serif); font-size: 1.06rem; }
.facil .nm a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.facil .nm a:hover { color: var(--blue-deep); text-decoration-color: currentColor; }
.facil .rl { font-size: .82rem; color: var(--gold-deep); font-weight: 700; }

/* related strip */
/* agenda relacionada dins d'una fitxa de servei */
.svc-agenda { padding-block: clamp(48px, 6vw, 80px); }
.svc-agenda-more { display: flex; justify-content: center; margin-top: clamp(30px, 3.5vw, 44px); }

.related { padding-block: clamp(48px, 6vw, 80px); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.rel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.rel-card .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--cream-3); color: var(--gold-deep); margin-bottom: 4px; }
.rel-card .ic svg { width: 26px; height: 26px; stroke-width: 1.7; }
.rel-card h3 { font-size: 1.18rem; }
.rel-card p { font-size: .95rem; color: var(--ink-soft); }
.rel-card .more { margin-top: auto; font-weight: 700; color: var(--blue-deep); font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

/* big CTA band */
.cta-band {
  margin-block: clamp(20px, 3vw, 30px);
  background: linear-gradient(125deg, var(--brown), #7a5430 60%, var(--gold-deep));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 80px);
  color: var(--cream); text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,222,89,.4), transparent 70%); right: -80px; top: -120px;
}
.cta-band h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.2rem); position: relative; }
.cta-band p { color: rgba(251,246,233,.82); font-size: 1.12rem; margin: 16px auto 0; max-width: 52ch; position: relative; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; position: relative; }
.cta-band .cta-alt {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  margin-top: 24px; font-size: .95rem; color: rgba(251,246,233,.72);
  border-bottom: 1px solid rgba(251,246,233,.28); padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.cta-band .cta-alt:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.cta-band .cta-alt svg { width: 1em; height: 1em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nov-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 920px) {
  .featured { grid-template-columns: 1fr; }
  .featured .ph { min-height: 240px; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-art { order: -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nov-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .svc-aside { grid-template-columns: 1fr; }
  .featured .actions { flex-direction: column; align-items: stretch; }
}

/* ===========================================================
   NOVETAT — single event / article detail
   =========================================================== */
.article-head { padding-top: clamp(132px, 16vw, 188px); padding-bottom: clamp(24px, 3vw, 36px); }
.article-head .meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.article-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); margin-top: 18px; max-width: 20ch; }
.article-head .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); margin-top: 20px; max-width: 60ch; }

.article-media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9; margin-bottom: clamp(34px, 4vw, 56px);
}
.article-media .ph { width: 100%; height: 100%; }

.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(34px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.share .lbl { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-right: 4px; }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); transition: transform .3s, background .3s, color .3s, border-color .3s; }
.share a svg { width: 18px; height: 18px; }
.share a:hover { transform: translateY(-3px); background: var(--brown); color: var(--cream); border-color: var(--brown); }

.infocard .price { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); }
.infocard .price small { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink-mute); }

/* ===========================================================
   SERVEIS — listing (grouped)
   =========================================================== */
.svc-group { margin-top: clamp(44px, 5vw, 72px); }
.svc-group:first-of-type { margin-top: 0; }
.svc-group .gh { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.svc-group .gh h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.svc-group .gh .count { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.15rem; }
.svc-group .gh .rule { flex: 1; height: 1px; background: var(--line); min-width: 30px; }

/* Cada categoria porta el color de les seves targetes a l'encapçalament:
   una etiqueta de color abans del títol i el filet a joc. */
.svc-group .gh h2::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 12px; height: 12px; border-radius: 4px; margin-right: 12px;
  background: var(--grp-chip, var(--cream-3)); border: 1px solid var(--grp-border, var(--line));
}
.svc-group .gh .count { color: var(--grp-strong, var(--gold-deep)); }
.svc-group .gh .rule { background: var(--grp-border, var(--line)); opacity: .7; }

.svc-group.g-terapia       { --grp-chip: #F2D583; --grp-border: #E4C36F; --grp-strong: #8A5A07; }
.svc-group.g-grups         { --grp-chip: #B7E1F1; --grp-border: #93CBE3; --grp-strong: var(--blue-deep); }
.svc-group.g-formacio      { --grp-chip: #C3E2A6; --grp-border: #9CC57E; --grp-strong: #2F6B31; }
.svc-group.g-transpersonal { --grp-chip: #D4C4F3; --grp-border: #B49DEA; --grp-strong: var(--violet-deep); }
.svc-group.g-tallers       { --grp-chip: #F1C6A6; --grp-border: #DFA07E; --grp-strong: #A34A31; }

a.service { color: inherit; }
a.service .more { margin-top: auto; font-weight: 700; color: var(--blue-deep); font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
a.service:hover .more { gap: 11px; }

/* ===========================================================
   QUI SOM — values / approach mini-cards
   =========================================================== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.value {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--cream-3); color: var(--gold-deep); margin-bottom: 16px; }
.value .ic svg { width: 26px; height: 26px; stroke-width: 1.7; }
.value:nth-child(2) .ic { background: #E5F4F8; color: var(--blue-deep); }
.value:nth-child(3) .ic { background: #ECEAFB; color: var(--violet-deep); }
.value:nth-child(4) .ic { background: #EAF3E4; color: #4e7a2e; }
.value h3 { font-size: 1.16rem; margin-bottom: 8px; }
.value p { font-size: .95rem; color: var(--ink-soft); }

/* ===========================================================
   L'ESPAI — split text/media
   =========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .map { margin-top: 0; height: clamp(280px, 38vw, 440px); }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.split p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 16px; }
.rental-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.rental-art > img { width: 100%; height: clamp(280px, 38vw, 440px); object-fit: cover; display: block; }
.rental-art > .ph { height: clamp(280px, 38vw, 440px); }
.split .addr { display: grid; gap: 14px; margin-top: 26px; }
.split .addr .info-item { display: flex; gap: 14px; }
.split .addr .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--cream-3); color: var(--gold-deep); }
.split .addr .ic svg { width: 21px; height: 21px; }

/* ===========================================================
   LEGAL / DOC pages
   =========================================================== */
.doc { padding-bottom: var(--section-y); }
.doc-wrap { max-width: 840px; }
.legal-meta {
  font-size: .9rem; color: var(--ink-mute); margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-2); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
}
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose ul.bullets { padding-left: 1.25em; color: var(--ink-soft); }
.prose ul.bullets li { margin-top: .45em; }
.prose ul.bullets li::marker { color: var(--gold); }
.prose a.inline { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a.inline:hover { color: var(--gold-deep); }
.doc .placeholder-note {
  background: #FBEFD8; border: 1px dashed var(--gold); border-radius: var(--radius);
  padding: 18px 22px; color: var(--gold-deep); font-size: .95rem; margin-bottom: 8px;
}

@media (max-width: 920px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
}

/* ===========================================================
   Imatges reals (substitueixen els placeholders .ph en pujar fotos)
   =========================================================== */
.nov-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.event > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.featured > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.gallery > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
/* Retrats dins d'un cercle. Les fotos són verticals i, amb el retall
   centrat que fa `cover` per defecte, a les més allargades (ràtio 0,78-0,86)
   els quedava el cap tallat per dalt. Pujant el punt de retall al 20% el que
   se'n va és de la part de baix, que és on no hi ha ningú. */
.member .avatar > img,
.facil .av > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.article-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- 404 ---------- */
.p404 { padding-block: clamp(80px, 14vw, 160px); text-align: center; }
.p404-wrap { max-width: 640px; }
.p404-num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(6rem, 18vw, 14rem); line-height: 1;
  color: var(--gold-2); letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.p404 h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.p404 p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; max-width: 50ch; margin-inline: auto; }
.p404-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.p404-nl { max-width: 420px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--line); text-align: left; }
.p404-nl .nl-t { font-size: .95rem; max-width: none; margin-inline: 0; margin-top: 0; }
.p404-nl .nl-legal { font-size: .76rem; color: var(--ink-mute); max-width: none; margin-inline: 0; }

/* ---------- FAQ (Contacte + fitxes de servei) ---------- */
.faq-section { margin-top: clamp(48px, 6vw, 80px); }
.faq-section h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 8px; }
.faq { margin-top: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 2px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1.12rem; margin: 0; font-family: var(--sans); font-weight: 700;
}
.faq-item .faq-mark { position: relative; flex: 0 0 14px; height: 14px; align-self: center; }
.faq-item .faq-mark::before, .faq-item .faq-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--gold-deep); border-radius: 2px;
  transition: transform .25s ease;
}
.faq-item .faq-mark::before { width: 14px; height: 2px; }
.faq-item .faq-mark::after { width: 2px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-item .faq-a { padding: 0 2px 20px; max-width: 70ch; }
.faq-item .faq-a p {
  color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65;
}
.faq-item .faq-a p + p { margin-top: 12px; }
.prose .faq { margin-top: 4px; }
.prose .faq-item summary h3 { margin-top: 0; }
