/* Pagina Statuto e Regolamento SIC */
:root {
  --statuto-ink: #172238;
  --statuto-blue: #203d79;
  --statuto-blue-dark: #122752;
  --statuto-green: #4f8f74;
  --statuto-orange: #d87942;
  --statuto-paper: #f7f5f0;
  --statuto-line: rgba(23, 34, 56, 0.12);
}

html {
  scroll-behavior: smooth;
}

.statuto-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 95px 0 80px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 42%, rgba(92, 152, 127, 0.22), transparent 28%),
    linear-gradient(126deg, #10234a 0%, #1e3b77 55%, #315989 100%);
}

.statuto-hero::before,
.statuto-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.statuto-hero::before {
  width: 440px;
  height: 440px;
  right: 8%;
  top: 48%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.statuto-hero::after {
  width: 610px;
  height: 610px;
  right: 1.5%;
  top: 48%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateY(-50%);
}

.statuto-hero__glow {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.statuto-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.statuto-hero__copy {
  max-width: 690px;
}

.statuto-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 52px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 500;
}

.statuto-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.33);
}

.statuto-breadcrumb a {
  color: #fff;
}

.statuto-eyebrow {
  display: inline-block;
  color: var(--statuto-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.statuto-hero .statuto-eyebrow {
  color: #b6dfce;
}

.statuto-hero h1 {
  max-width: 650px;
  margin: 15px 0 24px;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.statuto-hero__copy > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.7;
}

.statuto-hero__seal {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 285px;
  width: 285px;
  height: 285px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.035), 0 30px 80px rgba(6, 19, 46, 0.25);
}

.statuto-hero__seal::before,
.statuto-hero__seal::after {
  position: absolute;
  left: 50%;
  width: 60px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(-50%);
}

.statuto-hero__seal::before { top: 75px; }
.statuto-hero__seal::after { bottom: 75px; }

.statuto-hero__seal span {
  max-width: 170px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statuto-hero__seal strong {
  margin: 11px 0 8px;
  color: #fff;
  font-size: 58px;
  font-weight: 200;
  line-height: 1;
}

.statuto-page {
  overflow: visible;
  padding-top: 95px;
  background: var(--statuto-paper);
}

.statuto-intro {
  display: grid;
  max-width: 1080px;
  margin-bottom: 45px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 18px 70px;
  align-items: end;
}

.statuto-intro .statuto-eyebrow {
  grid-column: 1 / -1;
}

.statuto-intro h2 {
  margin: 0;
  color: var(--statuto-ink);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.statuto-intro p {
  margin: 0 0 4px;
  color: #596275;
  font-size: 16px;
  line-height: 1.75;
}

.statuto-documents {
  display: grid;
  margin-bottom: 100px;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.statuto-document {
  position: relative;
  display: flex;
  min-height: 340px;
  overflow: hidden;
  padding: 42px;
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(29, 43, 72, 0.12);
}

.statuto-document::after {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -140px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.025), 0 0 0 76px rgba(255, 255, 255, 0.02);
}

.statuto-document--primary {
  color: #fff;
  background: linear-gradient(138deg, var(--statuto-blue-dark), var(--statuto-blue));
}

.statuto-document--secondary {
  color: #fff;
  background: linear-gradient(140deg, #3d765f, var(--statuto-green));
}

.statuto-document__number {
  position: relative;
  z-index: 1;
  flex: 0 0 62px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  letter-spacing: 0.15em;
}

.statuto-document__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.statuto-document__type {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statuto-document h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}

.statuto-document p {
  max-width: 460px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.statuto-document__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.statuto-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 13px 21px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  border-radius: 11px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.statuto-button:hover,
.statuto-button:focus {
  transform: translateY(-2px);
}

.statuto-button--light {
  color: var(--statuto-blue-dark);
  background: #fff;
  box-shadow: 0 10px 25px rgba(3, 14, 38, 0.16);
}

.statuto-button--dark {
  color: #fff;
  background: #173f31;
  box-shadow: 0 10px 25px rgba(14, 54, 38, 0.22);
}

.statuto-text-link {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.statuto-layout {
  align-items: flex-start;
}

.statuto-sidebar__inner {
  position: sticky;
  top: 105px;
  padding: 28px;
  border: 1px solid var(--statuto-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 15px 40px rgba(29, 43, 72, 0.06);
  backdrop-filter: blur(10px);
}

.statuto-sidebar h2 {
  margin: 8px 0 10px;
  color: var(--statuto-ink);
  font-size: 28px;
}

.statuto-sidebar p {
  margin: 0 0 22px;
  color: #667083;
  font-size: 13px;
  line-height: 1.65;
}

.statuto-index {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.statuto-index a {
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  color: #4e5b70;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--statuto-line);
  border-radius: 9px;
  background: #fff;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.statuto-index a:hover,
.statuto-index a:focus {
  color: #fff;
  border-color: var(--statuto-blue);
  background: var(--statuto-blue);
}

.statuto-sidebar__download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: var(--statuto-blue-dark);
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--statuto-line);
}

.statuto-content__heading {
  margin: 0 0 34px;
  padding: 2px 0 25px;
  border-bottom: 1px solid var(--statuto-line);
}

.statuto-content__heading h2 {
  margin: 8px 0 4px;
  color: var(--statuto-ink);
  font-size: 46px;
  font-weight: 300;
}

.statuto-content__heading p {
  margin: 0;
  color: #697184;
  font-size: 14px;
}

.statuto-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.statuto-article {
  position: relative;
  scroll-margin-top: 110px;
  padding: 30px 30px 32px;
  color: #485267;
  border: 1px solid rgba(23, 34, 56, 0.09);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(29, 43, 72, 0.055);
}

.statuto-article:nth-child(3n + 1) {
  border-top: 3px solid var(--statuto-blue);
}

.statuto-article:nth-child(3n + 2) {
  border-top: 3px solid var(--statuto-green);
}

.statuto-article:nth-child(3n) {
  border-top: 3px solid var(--statuto-orange);
}

.statuto-article--wide {
  grid-column: 1 / -1;
}

.statuto-article__number {
  display: inline-flex;
  min-width: 74px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 6px 11px;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: var(--statuto-blue);
}

.statuto-article:nth-child(3n + 2) .statuto-article__number { background: var(--statuto-green); }
.statuto-article:nth-child(3n) .statuto-article__number { background: var(--statuto-orange); }

.statuto-article p {
  margin: 0;
  color: #4f596d;
  font-size: 15px;
  line-height: 1.78;
}

.statuto-article p br {
  content: "";
  display: block;
  margin-bottom: 10px;
}

.statuto-article .list-marked {
  margin: 16px 0 4px;
  padding-left: 0;
}

.statuto-article .list-marked li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #4f596d;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid rgba(23, 34, 56, 0.08);
}

.statuto-article .list-marked li::before {
  top: 17px;
  left: 2px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--statuto-green);
}

.statuto-attestation {
  grid-column: 1 / -1;
  margin: 5px 0 0 !important;
  padding: 23px 28px;
  color: #6c6f77 !important;
  font-size: 13px !important;
  text-align: center;
  border: 1px dashed rgba(23, 34, 56, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
  .statuto-hero {
    min-height: 490px;
  }

  .statuto-hero__seal {
    flex-basis: 230px;
    width: 230px;
    height: 230px;
  }

  .statuto-hero__seal strong { font-size: 46px; }
  .statuto-hero__seal::before { top: 58px; }
  .statuto-hero__seal::after { bottom: 58px; }
  .statuto-documents { grid-template-columns: 1fr; }
  .statuto-document { min-height: 300px; }
  .statuto-sidebar__inner { top: 88px; padding: 22px; }
  .statuto-index { grid-template-columns: repeat(3, 1fr); }
  .statuto-cards { grid-template-columns: 1fr; }
  .statuto-article--wide { grid-column: auto; }
}

@media (max-width: 767px) {
  .statuto-hero {
    min-height: auto;
    padding: 58px 0 65px;
  }

  .statuto-hero__inner { display: block; }
  .statuto-hero::before { right: -220px; }
  .statuto-hero::after { display: none; }
  .statuto-breadcrumb ol { margin-bottom: 38px; font-size: 11px; }
  .statuto-hero h1 { margin-top: 12px; font-size: 48px; line-height: 0.98; }
  .statuto-hero__copy > p { font-size: 16px; line-height: 1.6; }
  .statuto-hero__seal { display: none; }

  .statuto-page { padding: 65px 0; }
  .statuto-intro { display: block; margin-bottom: 32px; }
  .statuto-intro h2 { margin: 10px 0 18px; font-size: 36px; }
  .statuto-documents { margin-bottom: 65px; }
  .statuto-document { min-height: 0; padding: 28px 24px; border-radius: 20px; }
  .statuto-document__number { flex-basis: 42px; }
  .statuto-document h2 { font-size: 31px; }
  .statuto-document__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .statuto-button { width: 100%; }

  .statuto-layout { display: flex; flex-direction: column; }
  .statuto-sidebar { width: 100%; order: 0; }
  .statuto-content { width: 100%; order: 1; }
  .statuto-sidebar__inner { position: static; margin-bottom: 45px; }
  .statuto-index { grid-template-columns: repeat(7, 1fr); }
  .statuto-content__heading h2 { font-size: 38px; }
  .statuto-article { padding: 25px 23px 27px; }
}

@media (max-width: 480px) {
  .statuto-index { grid-template-columns: repeat(5, 1fr); }
  .statuto-document { display: block; }
  .statuto-document__number { display: block; margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .statuto-button { transition: none; }
}

@media print {
  .page-header,
  .statuto-hero,
  .statuto-intro,
  .statuto-documents,
  .statuto-sidebar,
  .sic-footer,
  .scroll-top { display: none !important; }

  .statuto-page { padding: 0; background: #fff; }
  .statuto-content { width: 100%; }
  .statuto-cards { display: block; }
  .statuto-article { margin-bottom: 16px; break-inside: avoid; box-shadow: none; }
}
