/* ==========================================================================
   Subirats, endavant! — full de ruta visual
   Verd de marca: #0F9E55 (mostrejat de la imatge original)
   ========================================================================== */

:root {
  --verd: #0F9E55;
  --verd-text: #0b7c43;
  --verd-fosc: #0b7c43;
  --blanc: #ffffff;
  --tinta: #10231A;
  --gris: #6b7a72;
  --marge: clamp(20px, 5vw, 40px);
  --sans: ui-sans-serif, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--tinta);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

.ocult {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ---------------------------------------------------------------- HERO --- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--verd);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vh, 64px) var(--marge);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  margin: 0;
  line-height: 0;
  animation: entra 700ms cubic-bezier(.22,.7,.3,1) both;
}

.hero__logo img {
  width: min(560px, 84vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ------------------------------------------------------------ FORMULARI --- */

.subscriu {
  width: min(520px, 100%);
  margin: clamp(26px, 5.5vh, 50px) 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blanc);
  border-radius: 3px;
  padding: 4px 6px 4px 18px;
  min-height: 56px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: box-shadow 200ms ease, transform 200ms ease;
  animation: entra 700ms 90ms cubic-bezier(.22,.7,.3,1) both;
}

.subscriu:focus-within {
  box-shadow: 0 0 0 3px rgba(255,255,255,.45), 0 6px 24px rgba(0,0,0,.10);
}

.subscriu__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--tinta);
  padding: 12px 0;
  appearance: none;
}

.subscriu__input::placeholder {
  color: #8a968f;
  opacity: 1;
}

.subscriu__input:focus { outline: none; }

.subscriu__boto {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--verd);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.subscriu__boto svg { width: 22px; height: 22px; }

.subscriu__boto:hover {
  background: rgba(15,158,85,.10);
}

.subscriu__boto:active { transform: translateX(2px); }

.subscriu__boto:focus-visible {
  outline: 2px solid var(--verd);
  outline-offset: 2px;
}

.subscriu__nota {
  margin: 14px 0 0;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  line-height: 1.5;
  max-width: 34ch;
}

.subscriu__legal {
  margin: 6px 0 0;
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  line-height: 1.5;
}

.subscriu__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.subscriu__missatge {
  margin: 14px 0 0;
  font-size: .95rem;
  color: #fff;
  background: rgba(0,0,0,.18);
  padding: 10px 14px;
  border-radius: 3px;
}

.subscriu__missatge[hidden] { display: none; }

/* -------------------------------------------------------------- XARXES --- */

.xarxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 5vw, 44px);
  margin-top: clamp(26px, 5vh, 46px);
  animation: entra 700ms 180ms cubic-bezier(.22,.7,.3,1) both;
}

.xarxa {
  display: grid;
  place-items: center;
  color: #000;
  background: none;
  border-radius: 0;
  padding: 4px;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(.22,.7,.3,1), opacity 180ms ease;
}

.xarxa svg {
  width: clamp(30px, 4.2vw, 38px);
  height: auto;
}

.xarxa:hover {
  transform: translateY(-4px);
  opacity: .78;
}

.xarxa:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* ------------------------------------------------------ FI DEL PRIMER BLOC --- */

.baixa {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vh, 28px);
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  opacity: .55;
  transition: opacity 200ms ease;
}

.baixa:hover { opacity: 1; }

.baixa span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: batega 2.4s ease-in-out infinite;
}

/* ------------------------------------------------------------- MANIFEST --- */

.manifest {
  background: var(--blanc);
  padding: clamp(56px, 10vw, 130px) var(--marge) clamp(48px, 8vw, 110px);
}

.manifest__cos {
  max-width: 40rem;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--verd-text);
}

.manifest__titol {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.4vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.manifest p {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  margin: 0 0 1.15em;
  hyphens: auto;
}

.manifest__clam {
  margin-top: 2.4rem !important;
  margin-bottom: 0 !important;
  padding-top: 1.6rem !important;
  border-top: 3px solid var(--verd);
  font-family: var(--sans) !important;
  font-weight: 700;
  font-size: clamp(1.08rem, 2.1vw, 1.26rem) !important;
  line-height: 1.45 !important;
  letter-spacing: -.01em;
  color: var(--tinta);
  text-wrap: balance;
}

/* ------------------------------------------------------------------ PEU --- */

.peu {
  background: var(--verd);
  padding: clamp(18px, 3vw, 26px) var(--marge);
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.92);
}

.peu p { margin: 0; }

.peu a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.5);
}

.peu a:hover { border-color: #fff; }

/* --------------------------------------------------------------- MOTIUS --- */

@keyframes entra {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes batega {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(3px, 3px); }
}

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

/* ------------------------------------------------------------- MÒBIL --- */

@media (max-width: 480px) {
  .subscriu { min-height: 52px; padding-left: 14px; }
  .subscriu__boto { width: 42px; height: 42px; }
  .subscriu__nota { font-size: .86rem; }
}

/* Pantalles baixes: que el primer bloc continuï cabent sencer */
@media (max-height: 620px) {
  .hero { min-height: 100svh; padding-top: 28px; padding-bottom: 44px; }
  .hero__logo img { width: min(400px, 70vw); }
  .subscriu { margin-top: 20px; }
  .xarxes { margin-top: 20px; }
  .baixa { display: none; }
}

/* ------------------------------------------------- CAPÇALERA I NAVEGACIÓ --- */

.site-cap {
  background: var(--verd);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-cap__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px var(--marge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-cap__marca { display: block; line-height: 0; }

.site-cap__marca img { width: 132px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  margin-left: auto;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.nav a:hover { opacity: .8; }

.nav a[aria-current="page"] { border-bottom-color: #fff; }

/* Menú centrat dins del verd, damunt del logotip */
.nav--hero {
  margin: 0 0 clamp(22px, 4.5vh, 38px);
  gap: clamp(18px, 3.6vw, 34px);
  justify-content: center;
}

.nav--hero a {
  font-size: .72rem;
  letter-spacing: .18em;
  padding: 4px 0;
  opacity: .88;
}

.nav--hero a:hover { opacity: 1; }

/* ------------------------------------------------------ PÀGINES INTERNES --- */

.pagina {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) var(--marge) clamp(56px, 8vw, 100px);
}

.pagina__titol {
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: clamp(1.85rem, 5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* --- Pàgina legal o de servei: no ha de semblar una notícia --- */
.pagina--legal {
  max-width: 36rem;
  padding-top: clamp(30px, 4.5vw, 54px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.pagina--legal .kicker {
  margin-bottom: 10px;
  font-size: .68rem;
  letter-spacing: .18em;
}

.pagina--legal .pagina__titol {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.pagina--legal .prosa p,
.pagina--legal .prosa ul,
.pagina--legal .prosa ol {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.68;
  margin-bottom: .95em;
}

.pagina--legal .prosa li { margin-bottom: .3em; }

.pagina--legal .prosa .entradeta {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8em;
  color: var(--gris);
}

.pagina--legal .prosa h2 {
  margin: 1.9em 0 .4em;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pagina--legal .prosa h2:first-of-type { margin-top: 1.2em; }

.pagina--legal .article__signatura {
  margin-top: 2.2em;
  font-size: .85rem;
  color: var(--gris);
}

.prosa p {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.72;
  margin: 0 0 1.1em;
  hyphens: auto;
}

.pagina__peu {
  margin-top: 2.2rem;
  font-size: .95rem;
  color: var(--gris);
}

.pagina__peu a { color: var(--verd-text); }

.fitxa {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(20px, 3vw, 28px);
  background: #f3fbf6;
  border-left: 4px solid var(--verd);
}

.fitxa__titol {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}

.fitxa__text {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.65;
}

.buit {
  margin-top: 2rem;
  padding-top: 22px;
  border-top: 1px solid #e8ede9;
}

.buit p { margin: 0 0 .4rem; color: var(--gris); }

.buit__petit { font-size: .9rem; }

.buit a { color: var(--verd); }

.entrada { margin: 0 0 2rem; }

.entrada__data {
  margin: 0 0 .3rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verd);
  font-weight: 700;
}

.entrada__titol { margin: 0 0 .5rem; font-size: 1.35rem; }

@media (max-width: 520px) {
  .site-cap__inner { padding: 12px 16px; gap: 10px; }
  .site-cap__marca img { width: 96px; }
  .nav { gap: 12px; }
  .nav a { font-size: .68rem; letter-spacing: .10em; }
}

/* ---------------------------------------------------- TEXT DE PÀGINA --- */

.prosa h2 {
  margin: 2.1em 0 .55em;
  font-size: clamp(1.12rem, 1.7vw, 1.24rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
  hyphens: none;
}

.prosa h2:first-of-type { margin-top: 1.5em; }

.prosa ul,
.prosa ol {
  margin: 0 0 1.1em;
  padding-left: 1.15em;
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}

.prosa li { margin: 0 0 .38em; }
.prosa li:last-child { margin-bottom: 0; }

.prosa .entradeta {
  font-size: clamp(1.14rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.fitxa__etiqueta {
  margin: 0 0 .35rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verd);
  font-weight: 700;
}

.fitxa--acte { margin-top: clamp(30px, 4vw, 44px); }

/* --------------------------------------------------------- CRONOLOGIA --- */

.fites {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.fites li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.1rem;
  padding: .78rem 0;
  border-top: 1px solid #e8ede9;
}

.fites li:last-child { border-bottom: 1px solid #e8ede9; }

.fites__data {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--verd);
  padding-top: .25rem;
}

.fites__fet {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .fites li { grid-template-columns: 1fr; gap: .2rem; padding: .7rem 0; }
}

/* ------------------------------------------------------------- FOTOGRAFIA --- */

.foto { margin: 2rem 0 2.2rem; }

.foto img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 8px;
}

.foto--retrat img { object-position: 40% 42%; }

.foto--retrat figcaption {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--gris);
  text-align: center;
  font-style: italic;
}

/* --------------------------------------------------------- QUADRÍCULA --- */

.quadricula {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2.2rem;
}

.targeta {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3ebe6;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform 180ms cubic-bezier(.22,.7,.3,1), border-color 180ms ease;
}

.targeta:hover {
  transform: translateY(-3px);
  border-color: #bcdccb;
}

.targeta__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

.targeta__cos {
  padding: 15px 17px 20px;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.targeta__data {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--verd);
}

.targeta__titol {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.targeta__text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--gris);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}



/* ------------------------------------------------------------ NOTÍCIA --- */

.article__data {
  margin: 0 0 .5rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--verd);
}

.article__lead {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  font-weight: 700;
  margin: 0 0 1.05em;
  color: var(--tinta);
}

.article__lead:last-of-type { margin-bottom: 2rem; }

.prosa blockquote {
  margin: 1.7rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--verd);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  font-style: italic;
  color: #163026;
}

.torna {
  display: inline-block;
  margin-top: 2.4rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--verd);
  text-decoration: none;
  border-bottom: 1px solid #cfe3d7;
  padding-bottom: 2px;
}

.torna:hover { border-color: var(--verd); }

@media (max-width: 680px) {
  .quadricula { grid-template-columns: 1fr; gap: 18px; }
}


.article__lead--segon { margin-top: 0; }

.article__signatura {
  margin: 2.2rem 0 0;
  font-size: .84rem;
  color: var(--gris);
}

.targeta__logo {
  aspect-ratio: 16 / 10;
  background: var(--verd);
  display: grid;
  place-items: center;
  padding: 9% 11%;
}

.targeta__logo img {
  width: 100%;
  max-width: 260px;
  height: auto;
}

/* Destacat dins del cos de la notícia */
.prosa .destacat {
  margin: 2rem 0;
  padding: 2px 0 2px 1.2rem;
  border-left: 4px solid var(--verd);
}

.prosa .destacat p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.9vw, 1.34rem);
  line-height: 1.5;
  font-style: italic;
  font-weight: 600;
  color: #163026;
}

.prosa .destacat cite {
  display: block;
  margin-top: .6rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--verd);
  font-weight: 700;
}

/* Foto dins del cos que respecta la proporció original del fitxer */
.foto--lliure img { aspect-ratio: auto; }

/* ===================================================== FORMULARI CONTACTE = */
.formulari {
  margin: clamp(28px, 4.5vw, 42px) 0 0;
  max-width: 640px;
}

.formulari__fila { display: grid; gap: 14px; }

@media (min-width: 560px) {
  .formulari__fila { grid-template-columns: 1fr 1fr; }
}

.camp { margin: 0 0 14px; }

.camp label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verd-text);
  font-weight: 700;
  margin-bottom: 6px;
}

.camp input[type="text"],
.camp input[type="tel"],
.camp input[type="email"],
.camp select,
.camp textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--tinta);
  background: var(--blanc);
  border: 1px solid #e3ebe6;
  border-radius: 4px;
  padding: 12px 14px;
  appearance: none;
}

.camp select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7a72' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.camp textarea { min-height: 140px; resize: vertical; }

.camp input:focus,
.camp select:focus,
.camp textarea:focus {
  outline: none;
  border-color: var(--verd);
  box-shadow: 0 0 0 3px rgba(15,158,85,.14);
}

.camp--casella { display: flex; align-items: flex-start; gap: 10px; }

.camp--casella label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: .95rem;
  color: var(--tinta);
  margin: 0;
}

.camp--casella input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--verd);
  flex: 0 0 auto;
}

.hp { position: absolute; left: -9999px; }

.formulari__peu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.boto {
  font: inherit;
  font-weight: 600;
  background: var(--verd);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 160ms ease, transform 100ms ease;
}

.boto:hover { background: var(--verd-fosc); }
.boto:active { transform: translateY(1px); }
.boto:focus-visible { outline: 3px solid rgba(15,158,85,.35); outline-offset: 2px; }

.formulari__nota { font-size: .92rem; color: var(--gris); }
.formulari__nota--ok { color: var(--verd-fosc); font-weight: 600; }

@media (min-width: 620px) {
  .contacte { grid-template-columns: 1fr 1fr; }
}

.camp__req {
  color: #c0563f;
  font-weight: 700;
  margin-left: 3px;
}

.formulari__llegenda {
  margin: 18px 0 0;
  font-size: .8rem;
  color: var(--gris);
}

.formulari__llegenda span { color: #c0563f; font-weight: 700; }

.camp--error input,
.camp--error select,
.camp--error textarea {
  border-color: #c0563f !important;
  box-shadow: 0 0 0 3px rgba(192, 86, 63, .12);
}

/* ================================================================ AGENDA = */
.agenda {
  margin: clamp(26px, 4.5vw, 40px) 0 0;
  display: grid;
  gap: 14px;
}

.acte {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid #e3ebe6;
  border-radius: 4px;
  padding: 18px 20px;
  transition: border-color 180ms ease;
}

.acte:hover { border-color: #bcdccb; }

.acte__data {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
  min-width: 52px;
}

.acte__dia {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--verd);
}

.acte__mes {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}

.acte__cos { flex: 1 1 auto; }

.acte__titol {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}

.acte__meta {
  margin: 5px 0 0;
  font-size: .9rem;
  color: var(--gris);
}

.acte__text {
  margin: 8px 0 0;
  font-size: .97rem;
}

.acte__accions { margin: 10px 0 0; }

.acte__boto {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--verd-text);
  text-decoration: none;
  border-bottom: 1px solid #cfe3d7;
}

.acte__boto:hover { color: var(--verd-fosc); border-color: var(--verd-fosc); }

.agenda__buit {
  margin: clamp(24px, 4vw, 34px) 0 0;
  color: var(--gris);
}

@media (max-width: 480px) {
  .acte { gap: 14px; padding: 16px; }
  .acte__dia { font-size: 1.45rem; }
}

/* ========================================== MENÚ MÒBIL (PÀGINES INTERIORS) */
.site-cap__inner { position: relative; }

.menu-boto { display: none; }

@media (max-width: 680px) {
  /* el botó es mostra a qualsevol pàgina que el porti al codi */
  .menu-boto {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 3px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-boto__barra {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
  }

  .site-cap--obert .menu-boto__barra:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-cap--obert .menu-boto__barra:nth-child(2) { opacity: 0; }
  .site-cap--obert .menu-boto__barra:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* només s'amaga el menú allà on hi ha hamburguesa (la portada no en té) */
  .site-cap:has(.menu-boto) .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px var(--marge) 10px;
    background: var(--verd-fosc);
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
  }

  .site-cap:has(.menu-boto).site-cap--obert .nav { display: flex; }

  .site-cap:has(.menu-boto) .nav a {
    padding: 14px 0;
    font-size: .82rem;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .site-cap:has(.menu-boto) .nav a:last-child { border-bottom: 0; }

  .pagina { padding-top: clamp(30px, 7vw, 46px); }
  .pagina__titol { margin-bottom: 18px; }
}

/* ------------------------------------------------------- TORNA A DALT --- */
.amunt {
  margin: clamp(38px, 5.5vw, 60px) 0 clamp(6px, 1.5vw, 12px);
  display: flex;
  justify-content: center;
}

.amunt__boto {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 158, 85, .32);
  border-radius: 50%;
  color: var(--verd-text);
  background: rgba(15, 158, 85, .05);
  text-decoration: none;
  transition: color 170ms ease, border-color 170ms ease, transform 170ms ease, background 170ms ease;
}

.amunt__boto:hover {
  color: #fff;
  background: var(--verd);
  border-color: var(--verd);
  transform: translateY(-2px);
}

.amunt__boto:focus-visible {
  outline: 2px solid rgba(15, 158, 85, .5);
  outline-offset: 3px;
}

/* ------------------------------------------------ ICONES DE CONTACTE --- */
.contacte-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(22px, 4.5vw, 34px);
  margin: clamp(26px, 4vw, 38px) 0 0;
}

.xarxa-contacte {
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--verd-text);
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.xarxa-contacte svg {
  width: clamp(28px, 3.6vw, 34px);
  height: auto;
}

.xarxa-contacte:hover { transform: translateY(-3px); opacity: .72; }

.xarxa-contacte:focus-visible {
  outline: 2px solid rgba(15, 158, 85, .5);
  outline-offset: 4px;
  border-radius: 4px;
}

/* el sobre, en traç, ha de fer la mateixa alçada que les icones de marca */
.xarxa-contacte--correu svg {
  width: clamp(32px, 4vw, 38px);
  height: auto;
}

/* dues caselles seguides: una mica de separació entre elles */
.camp--casella + .camp--casella { margin-top: 12px; }
