:root {
  --cream: #f6f0e5;
  --cream-deep: #eae0cf;
  --brown: #403125;
  --brown-soft: #70533e;
  --teal: #4b8790;
  --teal-dark: #32636c;
  --orange: #d57931;
  --line: rgba(64, 49, 37, .18);
  font-family: "Arial", "Helvetica Neue", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--brown); background: var(--cream); }
a { color: inherit; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { width: min(100% - 80px, 1360px); margin-inline: auto; }
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.topbar__inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar__location, .topbar__status { font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.topbar__status { color: var(--teal-dark); }
.hero-shell { background: linear-gradient(90deg, var(--cream) 0 50%, var(--teal) 50% 100%); }
.hero {
  width: min(100%, 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 620px;
}
.hero__intro,
.hero__info { min-width: 0; }
.hero__intro { background: var(--cream); display: flex; justify-content: center; align-items: center; }
.hero__intro-inner {
  width: min(100%, 640px);
  padding: 64px clamp(32px, 4vw, 72px) 78px;
}
.hero__logo { display: block; width: clamp(250px, 27vw, 330px); max-width: 100%; height: auto; margin: -20px 0 5px -15px; }
.hero h1 { max-width: 560px; font-size: clamp(34px, 3.35vw, 53px); letter-spacing: -.045em; line-height: 1.12; margin: 8px 0 20px; font-weight: 800; }
.hero h1 span { display: block; color: var(--orange); }
.hero__lead { font-size: 16px; line-height: 1.7; max-width: 490px; color: var(--brown-soft); margin: 0; }
.hero__info { display: flex; justify-content: center; align-items: center; background: var(--teal); color: #fff8ed; }
.hero__info-inner {
  width: min(100%, 640px);
  padding: 75px clamp(32px, 4vw, 72px);
}
.info__kicker { font-size: 12px; letter-spacing: .19em; font-weight: 800; margin: 0 0 40px; }
.info__date strong { display: block; font-size: clamp(47px, 5.6vw, 86px); font-weight: 800; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.info__date span { display: block; font-size: clamp(15px, 1.4vw, 21px); font-weight: 700; letter-spacing: .04em; margin-top: 13px; }
.info__place { margin: 42px 0 28px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .43); }
.info__place > span { display: block; font-size: 12px; letter-spacing: .15em; font-weight: 800; margin-bottom: 10px; }
.info__place > strong { display: block; font-size: 30px; line-height: 1.15; }
.info__place > small { display: block; font-size: 14px; margin-top: 12px; line-height: 1.4; }
.cta-group { display: grid; gap: 14px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; background: var(--orange); color: #2e231b; padding: 20px 23px; font-size: 16px; line-height: 1.35; font-weight: 800; text-decoration: none; transition: background-color .15s ease; }
.cta:hover { background: #ef9c50; }
.cta:focus-visible,
.link-panel summary:focus-visible,
.link-panel a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.cta__arrow { font-size: 26px; font-weight: 500; line-height: 1; flex: 0 0 auto; }
/* Acordions: disseny discret sobre el fons turquesa, sense JavaScript. */
.link-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 237, .38);
  border-radius: 7px;
  background: rgba(255, 248, 237, .075);
  transition: border-color .2s ease, background-color .2s ease;
}
.link-panel:hover { border-color: rgba(255, 248, 237, .66); }
.link-panel[open] {
  border-color: rgba(255, 248, 237, .66);
  background: rgba(255, 248, 237, .11);
}
.link-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 16px 19px 16px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff8ed;
  transition: background-color .2s ease;
}
.link-panel summary:hover { background: rgba(255, 248, 237, .09); }
.link-panel summary::-webkit-details-marker { display: none; }
.link-panel summary::after {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.link-panel[open] summary::after { transform: translateY(3px) rotate(225deg); }
.link-panel__body {
  display: grid;
  padding: 5px 11px 11px;
  border-top: 1px solid rgba(255, 248, 237, .25);
}
.link-panel__body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 13px 10px;
  color: #fff8ed;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 248, 237, .13);
  transition: background-color .15s ease, padding-left .15s ease;
}
.link-panel__body a:last-child { border-bottom: 0; }
.link-panel__body a::after {
  content: 'PDF ↗';
  flex: 0 0 auto;
  color: rgba(255, 248, 237, .84);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.link-panel__body a:hover,
.link-panel__body a:focus-visible {
  padding-left: 14px;
  background: rgba(255, 248, 237, .11);
}
.activities { background: var(--cream-deep); padding: 56px 0 65px; }
.activities__heading { margin-bottom: 28px; }
.section-label { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .2em; margin: 0 0 9px; }
.activities h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0; line-height: 1.2; letter-spacing: -.035em; }
.activities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.activity { min-height: 142px; display: flex; flex-direction: column; justify-content: flex-start; gap: 17px; padding: 23px 24px; background: #f9f4eb; border: 1px solid rgba(64, 49, 37, .12); }
.activity__edition { color: var(--teal-dark); font-size: 29px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.activity h3 { font-size: 17px; line-height: 1.36; font-weight: 700; margin: 0; }
.activity--no-edition { justify-content: center; border-top: 3px solid var(--orange); }
.footer { background: var(--brown); color: #eee1d2; }
.footer__inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 30px; padding-block: 20px; font-size: 12px; line-height: 1.5; }
.footer strong { color: #fff; }
@media (min-width: 1600px) {
  .hero { width: min(100%, 1560px); }
  .hero__intro-inner,
  .hero__info-inner { width: min(100%, 680px); }
}
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__intro-inner { padding: 50px 32px 60px; }
  .hero__info-inner { padding: 55px 32px; }
  .info__date strong { font-size: clamp(43px, 6vw, 62px); }
  .hero h1 { font-size: clamp(34px, 4.2vw, 44px); }
  .cta { font-size: 14px; padding: 18px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 44px, 620px); }
  .topbar__inner { min-height: 54px; }
  .hero-shell { background: linear-gradient(180deg, var(--cream) 0 44%, var(--teal) 44% 100%); }
  .hero { grid-template-columns: 1fr; }
  .hero__intro { justify-content: center; }
  .hero__intro-inner { width: min(100% - 44px, 620px); padding: 34px 0 50px; }
  .hero__logo { width: clamp(235px, 57vw, 300px); margin: -18px 0 0 -12px; }
  .hero h1 { font-size: clamp(34px, 7vw, 45px); }
  .hero__lead { font-size: 15px; }
  .hero__info { justify-content: center; }
  .hero__info-inner { width: min(100% - 44px, 620px); padding: 48px 0 55px; }
  .info__kicker { margin-bottom: 28px; }
  .info__date strong { font-size: clamp(48px, 10vw, 76px); }
  .info__place { margin: 32px 0 24px; padding-top: 20px; }
  .activities { padding: 46px 0 51px; }
  .activities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .activity { min-height: 142px; padding: 20px; }
}
@media (max-width: 460px) {
  .topbar__location, .topbar__status { font-size: 10px; letter-spacing: .12em; }
  .hero__intro-inner { padding-top: 20px; padding-bottom: 43px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 14px; }
  .info__date strong { font-size: clamp(42px, 11.4vw, 57px); }
  .info__date span { font-size: 15px; }
  .info__place > strong { font-size: 27px; }
  .cta, .link-panel summary { font-size: 14px; }
  .link-panel__body a { font-size: 13px; }
  .activities__grid { grid-template-columns: 1fr; gap: 10px; }
  .activity { min-height: 0; padding: 21px; gap: 13px; }
  .activity h3 { font-size: 16px; }
  .activity--no-edition { padding-block: 25px; }
}
@media (prefers-reduced-motion: reduce) { .cta, .link-panel, .link-panel summary, .link-panel summary::after, .link-panel__body a { transition: none; } }
