:root {
  --color-primary: #a10d5d;
  --color-secondary: #f5b600;
  --color-dark: #1c1a1e;
  --color-text: #2c2c34;
  --color-muted: #6c6b76;
  --color-bg: #faf8fb;
  --timeline-axis-offset: clamp(4.4rem, 6vw, 5.4rem);
  --timeline-card-gap: clamp(1.6rem, 3vw, 2.1rem);
  --collapsible-fade-length: clamp(140px, 24vh, 220px);
  --shadow-soft: 0 20px 40px rgba(161, 13, 93, 0.15);
  --radius: 1.25rem;
  --font-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Spectral', 'Georgia', serif;
  --safe-area-top: env(safe-area-inset-top);
  --safe-area-bottom: env(safe-area-inset-bottom);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
}

body.is-preloading {
  overflow: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.6s ease;
  pointer-events: all;
}

#loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#loading-screen .loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.6rem);
  text-align: center;
}

.loading__wheel {
  width: clamp(200px, 46vw, 320px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.15));
  animation-name: loading-spin;
  animation-duration: 3.4s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.12, 0.9, 0.32, 1);
  -webkit-animation-name: loading-spin;
  -webkit-animation-duration: 3.4s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.12, 0.9, 0.32, 1);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform-origin: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.loading__logo {
  width: clamp(180px, 40vw, 280px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

@media (min-width: 768px) {
  .loading__wheel {
    width: clamp(220px, 30vw, 320px);
  }

  .loading__logo {
    width: clamp(190px, 28vw, 300px);
  }
}

#loading-screen.show-logo .loading__logo {
  opacity: 1;
  transform: translateY(0);
}

#loading-screen.is-hidden .loading__logo {
  transition-delay: 0s;
}

@keyframes loading-spin {
  0% {
    transform: rotate(0deg);
  }
  55% {
    transform: rotate(650deg);
  }
  82% {
    transform: rotate(710deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

@-webkit-keyframes loading-spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  55% {
    -webkit-transform: rotate(650deg);
  }
  82% {
    -webkit-transform: rotate(710deg);
  }
  100% {
    -webkit-transform: rotate(720deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #loading-screen,
  #loading-screen .loading__inner {
    animation: none;
    transition-duration: 0.01ms;
  }

  .loading__wheel {
    animation: none;
    transform: none !important;
  }
}

html {
  scroll-padding-top: calc(4.5rem + var(--safe-area-top, 0px));
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

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

.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.flex {
  display: flex;
}

.between {
  justify-content: space-between;
}

.center {
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 251, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding: calc(0.65rem + var(--safe-area-top, 0px)) 0 0.65rem;
  overflow: visible;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header .container {
  min-height: clamp(3.75rem, 8vw, 4.75rem);
  gap: clamp(1rem, 4vw, 2.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  max-width: clamp(180px, 24vw, 280px);
  padding-inline: 0.35rem;
}

.brand img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 999px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.site-header[data-open='true'] .nav-toggle {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  min-height: 70vh;
  padding: clamp(5rem, 8vw, 8rem) 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 20% 20%, rgba(161, 13, 93, 0.65), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(245, 182, 0, 0.4), transparent 50%),
    linear-gradient(160deg, #0f172a 0%, #f8fafc 100%);
  color: #fff;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.2)),
    radial-gradient(circle at 20% 30%, rgba(161, 13, 93, 0.32), transparent 60%),
    url('../img/hero-bg.jpg') center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero__motto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  background: rgba(15, 23, 42, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(0) scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: none;
}

.btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn .icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.btn .label {
  display: inline-flex;
  align-items: center;
}

.btn.primary {
  background: linear-gradient(120deg, var(--color-primary), #e01e6f);
  color: #fff;
  box-shadow: 0 12px 30px rgba(161, 13, 93, 0.4);
}

.btn.ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn.outline {
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--color-text);
  background: rgba(15, 23, 42, 0.04);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn.outline:hover,
.btn.outline:focus-visible {
  background: rgba(15, 23, 42, 0.08);
}

.btn.whatsapp {
  background: linear-gradient(120deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.3);
}

.btn.stretch {
  width: 100%;
}

.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 34px rgba(161, 13, 93, 0.18);
  }

  .btn.ghost:hover {
    box-shadow: 0 14px 26px rgba(255, 255, 255, 0.25);
  }

  .btn.outline:hover {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
  }

  .btn.whatsapp:hover {
    box-shadow: 0 18px 34px rgba(18, 140, 126, 0.35);
  }
}

.btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:focus-visible,
  .btn:hover,
  .btn:active {
    transition: none;
    transform: none;
  }
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section--alt {
  background: #fff;
}

.section > .container {
  position: relative;
}

.section > .container > *:not(.accent) {
  position: relative;
  z-index: 1;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.section__header h2 {
  margin: 0;
}

.collapsible-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 13, 93, 0.18);
  background: linear-gradient(135deg, rgba(161, 13, 93, 0.18), rgba(161, 13, 93, 0.05));
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.collapsible-toggle .icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.collapsible-toggle .icon::before {
  content: '';
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: -0.05rem;
}

.collapsible-toggle .icon::after {
  content: '';
  position: absolute;
  inset: -35% -35% auto auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collapsible-toggle:hover,
.collapsible-toggle:focus-visible {
  background: linear-gradient(135deg, rgba(161, 13, 93, 0.22), rgba(161, 13, 93, 0.08));
  border-color: rgba(161, 13, 93, 0.3);
  box-shadow: 0 16px 38px rgba(161, 13, 93, 0.18);
}

.collapsible-toggle:hover .icon::after,
.collapsible-toggle:focus-visible .icon::after {
  opacity: 1;
}

.collapsible-toggle[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}

.collapsible {
  position: relative;
  overflow: hidden;
  transition: max-height 0.45s ease;
  --collapsed-height: clamp(420px, 60vh, 640px);
  max-height: var(--collapsed-height);
}

.collapsible::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: clamp(120px, 22vh, 220px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 251, 0) 0%,
    rgba(250, 248, 251, 0.6) 70%,
    rgba(250, 248, 251, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.section--alt .collapsible::after {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 70%,
    rgba(255, 255, 255, 1) 100%
  );
}

.collapsible[data-state='collapsed']::after {
  opacity: 1;
}

.collapsible[data-state='expanded'] {
  max-height: 9999px;
}

.collapsible .timeline {
  margin-left: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 3.5rem;
}

.collapsible[data-state='expanded'] .timeline {
  margin-left: clamp(1rem, 3vw, 2rem);
  padding-bottom: 1.25rem;
}

.collapsible-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding-bottom: 1.2rem;
  padding-top: 1.8rem;
  background: none;
}

.section--alt .collapsible-footer {
  background: none;
}

.collapsible-footer .collapsible-toggle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(161, 13, 93, 0.12));
  border: 1px solid rgba(161, 13, 93, 0.22);
}

.collapsible-footer .collapsible-toggle .icon::after {
  background: rgba(161, 13, 93, 0.18);
}

.accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  max-width: min(38vw, 300px);
  opacity: 0.55;
  filter: drop-shadow(0 25px 45px rgba(161, 13, 93, 0.16));
}

.accent--mission {
  top: -5rem;
  right: clamp(-1rem, -4vw, 0rem);
}

.accent--future {
  bottom: -7rem;
  left: auto;
  right: clamp(-1rem, -4vw, 1rem);
  opacity: 0.32;
  filter: drop-shadow(0 18px 38px rgba(18, 140, 126, 0.12));
}

@media (max-width: 900px) {
  .accent {
    opacity: 0.35;
    max-width: min(55vw, 320px);
  }
}

@media (max-width: 640px) {
  .accent {
    display: none;
  }
}

.spotlight {
  background: linear-gradient(135deg, rgba(161, 13, 93, 0.08) 0%, rgba(241, 245, 249, 0.2) 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.spotlight .container {
  display: flex;
  justify-content: center;
}

.spotlight__card {
  position: relative;
  width: min(860px, 100%);
  background: #fff;
  border-radius: 1.6rem;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.spotlight__card::before {
  content: '';
  position: absolute;
  inset: -40% 60% 40% -20%;
  background: radial-gradient(circle, rgba(161, 13, 93, 0.18), transparent 72%);
  transform: rotate(14deg);
  z-index: 0;
}

.spotlight__card > * {
  position: relative;
  z-index: 1;
}

.spotlight__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(161, 13, 93, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.spotlight__card h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-family: var(--font-serif);
}

.spotlight__date {
  margin: 0;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spotlight__summary {
  margin: 1.5rem 0 2.2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.78);
}

.spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.spotlight__cta .btn {
  min-width: 190px;
}

.spotlight__meta {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.6);
}

.spotlight__meta a {
  color: var(--color-primary);
  font-weight: 600;
}

.meetings-hero {
  padding-top: clamp(5rem, 8vw, 6.5rem);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(161, 13, 93, 0.08));
}

.meetings-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-family: var(--font-serif);
  margin-bottom: 1.2rem;
}

.meetings-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meetings-actions .btn {
  min-width: 210px;
}

.meetings {
  padding-top: 0;
}

.meetings-list {
  display: grid;
  gap: 1.5rem;
}

.meetings-list details {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.meetings-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-weight: 600;
}

.meetings-list summary::-webkit-details-marker {
  display: none;
}

.meetings-list details[open] summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.meeting-title {
  font-size: 1.05rem;
}

.meeting-meta {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.55);
}

.meeting-body {
  padding: 1.9rem 2.1rem 2.2rem;
  display: grid;
  gap: 1.6rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.85);
}

.meeting-block {
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, rgba(161, 13, 93, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(161, 13, 93, 0.12);
  box-shadow: 0 18px 32px rgba(161, 13, 93, 0.1);
}

.meeting-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.meeting-attendance,
.meeting-agenda {
  margin: 0;
  padding-left: 1.15rem;
}

.meeting-attendance li,
.meeting-agenda li {
  margin-bottom: 0.5rem;
}

.meeting-notes ul {
  margin: 0;
  padding-left: 1.4rem;
}

.meeting-notes ul li {
  margin-bottom: 0.35rem;
}

.section__eyebrow {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1.5rem;
}

.section .intro {
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mission article,
.future article {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.mission article::after,
.future article::after {
  content: '';
  position: absolute;
  inset-inline: 60% -20%;
  inset-block: -20% 60%;
  background: radial-gradient(circle, rgba(161, 13, 93, 0.12), transparent 60%);
  transform: rotate(12deg);
  pointer-events: none;
}

.mission h3,
.future h3 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.future .meta {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(161, 13, 93, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: var(--timeline-axis-offset);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(161, 13, 93, 0.2), rgba(161, 13, 93, 0.6));
}

.timeline li {
  position: relative;
  padding-left: calc(var(--timeline-axis-offset) + var(--timeline-card-gap));
}

.timeline__badge {
  position: absolute;
  left: var(--timeline-axis-offset);
  top: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(161, 13, 93, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(161, 13, 93, 0.2);
  transform: translate(-50%, 0);
  white-space: nowrap;
}

.timeline__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(161, 13, 93, 0.06);
}

.timeline__card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.timeline__card .meta {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.note {
  margin-top: 2.5rem;
  background: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.note ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.partecipazione {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(161, 13, 93, 0.08));
  border: 1px solid rgba(161, 13, 93, 0.18);
  border-radius: 1.1rem;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.12);
  border-color: rgba(161, 13, 93, 0.32);
}

.contact-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #c91872);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 10px 18px rgba(161, 13, 93, 0.32);
}

.contact-card__body {
  display: grid;
  gap: 0.25rem;
}

.contact-card__name {
  font-weight: 600;
  font-size: 1rem;
}

.contact-card__role {
  font-size: 0.9rem;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-card__role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--color-primary);
}

.contact-card__role-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 60;
}

.modal[aria-hidden='false'] {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
}

.modal__dialog {
  position: relative;
  max-width: min(540px, 92vw);
  background: #fff;
  border-radius: 1.35rem;
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.28);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  transform: translateY(24px);
  transition: transform 0.35s ease;
}

.modal[aria-hidden='false'] .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--color-dark);
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal__close:hover,
.modal__close:focus-visible {
  background: rgba(15, 23, 42, 0.12);
  transform: scale(1.05);
}

.modal__content {
  display: grid;
  gap: 1rem;
}

.modal__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.modal__intro {
  margin: 0;
  color: var(--color-dark);
}

.modal__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--color-text);
}

.modal__footer {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.modal__footer a {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 520px) {
  .modal__dialog {
    border-radius: 1rem;
    padding: 1.75rem;
  }

  .modal__close {
    top: 0.65rem;
    right: 0.65rem;
  }
}

.card ul {
  margin: 1.2rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.card .btn + .btn {
  margin-top: 0.75rem;
}

.site-footer {
  padding: 2rem 0;
  background: #0f172a;
  color: #e2e8f0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .credits {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.82);
  letter-spacing: 0.04em;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    width: min(640px, 92vw);
  }

  .site-header .container {
    justify-content: center;
    position: relative;
  }

  .spotlight__card {
    padding: clamp(2.2rem, 9vw, 2.9rem);
  }

  .spotlight__cta {
    gap: 0.65rem;
  }

  .spotlight__cta .btn {
    min-width: 0;
  }

  .brand {
    margin-inline: auto;
    max-width: clamp(200px, 48vw, 280px);
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    right: clamp(0.85rem, 4vw, 1.6rem);
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.75rem);
    width: min(420px, calc(100vw - 2.5rem));
    background: rgba(250, 248, 251, 0.98);
    border: 1px solid rgba(161, 13, 93, 0.1);
    border-radius: var(--radius);
    box-shadow: 0 22px 48px rgba(17, 17, 26, 0.18);
    padding: 1rem 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    z-index: 15;
  }

  .site-header[data-open='true'] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.9rem;
    margin: 0;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: inline-flex;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-header[data-open='true'] .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header[data-open='true'] .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header[data-open='true'] .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  :root {
    --timeline-axis-offset: clamp(3.6rem, 9vw, 4.4rem);
    --timeline-card-gap: clamp(1.25rem, 3.5vw, 1.8rem);
  }

  .timeline__badge {
    transform: translate(-50%, -0.35rem);
  }
}

@media (max-width: 900px) {
  .site-nav {
    padding-bottom: calc(1.25rem + var(--safe-area-bottom, 0px));
  }
}

@media (max-width: 640px) {
  :root {
    --timeline-axis-offset: clamp(3.1rem, 10vw, 3.8rem);
    --timeline-card-gap: clamp(0.9rem, 3vw, 1.4rem);
  }

  .site-header .container {
    padding-inline: clamp(1rem, 6vw, 1.6rem);
  }

  .nav-toggle {
    right: clamp(0.65rem, 5.5vw, 1.2rem);
  }

  .brand {
    max-width: clamp(220px, 58vw, 280px);
    height: clamp(56px, 14vw, 68px);
  }

  .hero__cta {
    width: 100%;
    align-items: center;
  }

  .section {
    padding: clamp(3.25rem, 10vw, 3.85rem) 0;
  }

  .section .intro {
    margin-bottom: 2.25rem;
  }

  .hero {
    min-height: 62vh;
    padding: 4.25rem 0 3.25rem;
  }

  .hero__overlay {
    opacity: 0.22;
  }

  .hero__cta {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero__cta .btn {
    width: min(100%, 320px);
  }

  .hero__motto {
    padding: 0.3rem 0.9rem;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.28);
  }

  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .contact-card {
    padding: 0.95rem 1.05rem;
  }

  .contact-card__avatar {
    width: 42px;
    height: 42px;
    font-size: 0.84rem;
  }

  .timeline__card {
    padding: 1.35rem;
  }

  .timeline__badge {
    transform: translate(-50%, -0.28rem);
    font-size: 0.75rem;
  }

  .mission article,
  .future article,
  .card,
  .note,
  .spotlight__card {
    border-radius: 1rem;
    padding: 1.5rem;
  }

  .collapsible .timeline,
  .collapsible[data-state='expanded'] .timeline {
    margin-left: 1.2rem;
    padding-bottom: 3rem;
  }

  .collapsible-footer {
    margin-top: -1.5rem;
    padding-top: 2.2rem;
  }

  .spotlight__card {
    padding: 1.85rem 1.6rem;
  }

  .spotlight__card::before {
    inset: -65% 58% 25% -38%;
    opacity: 0.32;
  }

  .spotlight__summary {
    margin: 1.1rem 0 1.6rem;
    font-size: 1rem;
  }

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

  .spotlight__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .spotlight__meta {
    margin-top: 1.35rem;
    font-size: 0.9rem;
  }

  .partecipazione {
    gap: 1.5rem;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(560px, 90vw);
  }

  .section h2 {
    font-size: clamp(1.8rem, 6vw, 2.25rem);
  }

  .timeline {
    gap: 1.4rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline li {
    padding-left: 0;
  }

  .timeline__badge {
    position: relative;
    display: inline-flex;
    transform: none;
    margin-bottom: 0.65rem;
    left: 0;
    top: 0;
  }

  .timeline__card {
    padding: 1.25rem 1.35rem;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 0.88rem 0.95rem;
  }

  .contact-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
    box-shadow: 0 8px 16px rgba(161, 13, 93, 0.26);
  }

  .site-nav {
    width: min(360px, calc(100vw - 1.75rem));
    padding: 0.85rem 1rem;
    border-radius: 1rem;
  }
}

@media (min-width: 400px) and (max-width: 540px) {
  .container {
    width: min(640px, 94vw);
  }

  .site-header .container {
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .site-nav {
    width: min(440px, calc(100vw - 1.6rem));
    padding-inline: clamp(1.25rem, 5vw, 1.6rem);
    max-height: calc(100vh - (var(--safe-area-top, 0px) + 5.5rem));
  }

  .hero {
    min-height: 68vh;
    padding-top: calc(4.75rem + var(--safe-area-top, 0px));
    padding-bottom: clamp(3.25rem, 8vh, 4.5rem);
  }

  .hero p {
    font-size: clamp(1.08rem, 2.4vw, 1.24rem);
  }

  .hero__cta .btn {
    width: min(100%, 360px);
  }

  .spotlight__card {
    padding: clamp(2rem, 7vw, 2.9rem);
  }

  .contact-list {
    gap: 1.1rem;
  }
}

@media (max-width: 420px) {
  .site-header .container {
    min-height: 3.5rem;
  }

  .hero {
    padding: 3.75rem 0 3rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .timeline__card h3 {
    font-size: 1.12rem;
  }

  .card {
    padding: 1.45rem;
  }

  .contact-card {
    padding: 0.85rem 0.9rem;
    align-items: flex-start;
  }

  .contact-card__avatar {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .site-nav {
    width: min(330px, calc(100vw - 1.5rem));
  }

  .site-nav a {
    font-size: 0.98rem;
  }
}

@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;
  }
}
.collapsible-toggle .icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(161, 13, 93, 0.08);
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}
