:root {
  --blue: #132d5c;
  --blue-2: #1d3f76;
  --gold: #c89a47;
  --text: #253451;
  --muted: #66728b;
  --line: #e7e3da;
  --panel: #fbfaf7;
  --white: #ffffff;
  --max: 1240px;
  --shadow: 0 16px 40px rgba(19, 45, 92, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

#top,
#chi-siamo,
#corsi,
#sedi,
#piattaforma,
#contatti {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 45, 92, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0;
  height: 96px;
}

.brand-left {
  display: inline-flex;
  align-items: center;
  height: 96px;
  background: #ffffff;
  line-height: 0;
}

.brand-left img {
  width: auto;
  height: 101px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--blue);
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.main-nav .is-active {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.info-button {
  border: 2px solid rgba(19, 45, 92, 0.55);
  color: var(--blue);
  background: var(--white);
  min-height: 34px;
  padding: 0 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 12px 0 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(19, 45, 92, 0.04), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f6f4 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 45, 92, 0.08), transparent);
}

.hero-grid {
  position: relative;
  min-height: 360px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 12px 0 12px;
  max-width: 760px;
}

.hero-copy h1,
.section-title,
.about-card h2,
.contact-copy h2 {
  margin: 0;
  font-family: "CMU Serif", "Times New Roman", serif;
  color: var(--blue);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(42px, 4.7vw, 68px);
  max-width: 620px;
}

.hero-title-line {
  display: inline-block;
  width: 48px;
  height: 2px;
  margin-top: 14px;
  background: var(--gold);
}

.hero-copy p {
  max-width: 500px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3b4b6a;
}

.hero-copy .eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold);
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(19, 45, 92, 0.18);
}

.btn-secondary {
  color: var(--blue);
  background: transparent;
  border: 2px solid rgba(19, 45, 92, 0.55);
}

.btn:hover,
.info-button:hover {
  transform: translateY(-1px);
}

.hero-art {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding-right: 0;
  margin-top: 0;
  pointer-events: none;
}

.hero-art img {
  width: min(100%, 760px);
  object-fit: contain;
  opacity: 0.22;
  filter: grayscale(0.12) contrast(0.95);
  transform: translate(210px, -28px);
}

.about-mission {
  background: linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
  border-top: 1px solid rgba(19, 45, 92, 0.05);
  border-bottom: 1px solid rgba(19, 45, 92, 0.05);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 36px;
  padding: 18px 0 24px;
}

.about-card,
.mission-card {
  padding: 22px 6px 20px 0;
}

.mission-card {
  padding-left: 36px;
  border-left: 1px solid rgba(200, 154, 71, 0.35);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.about-card .eyebrow {
  color: var(--gold);
}

.about-card h2 {
  font-size: clamp(42px, 4.7vw, 68px);
  max-width: 620px;
}

.about-card p,
.mission-item p,
.stat-card p,
.audience-card p,
.contact-copy p,
.site-footer li,
.site-footer p {
  font-size: 14px;
  line-height: 1.56;
  color: #40506f;
}

.title-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 18px;
}

.title-line.centered {
  display: block;
  margin: 16px auto 0;
}

.mission-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.mission-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}

.mission-item h3,
.stat-card h4,
.audience-card h3,
.site-footer h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 700;
}

.mission-item h3 {
  font-size: 17px;
}

.mission-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(19, 45, 92, 0.16);
}

.mission-icon svg {
  width: 21px;
  height: 21px;
}

.stats-section,
.audiences-section {
  padding: 26px 0 18px;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
  text-align: center;
}

.stats-grid,
.audiences-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.stats-grid {
  grid-template-columns: repeat(5, 1fr);
}

.audiences-grid {
  grid-template-columns: repeat(5, 1fr);
}

.stat-card,
.audience-card {
  min-height: 100%;
  padding: 24px 18px 20px;
  text-align: center;
  border: 1px solid rgba(200, 154, 71, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 14px 30px rgba(19, 45, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:last-child,
.audience-card:last-child {
  border-right: 1px solid rgba(200, 154, 71, 0.22);
}

.stat-card:hover,
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(19, 45, 92, 0.1);
  border-color: rgba(200, 154, 71, 0.4);
}

.gold-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.stat-card h3 {
  margin: 0 0 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1;
  color: var(--blue);
  font-weight: 700;
}

.stat-card h4 {
  font-size: 16px;
}

.stat-card p,
.audience-card p {
  margin: 0;
}

.audience-card h3 {
  font-size: 17px;
}

.value-banner {
  padding: 14px 0 18px;
}

.value-banner .container {
  position: relative;
}

.value-banner-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 190px 14px 24px;
  background: linear-gradient(180deg, #173768 0%, #0f2b5a 100%);
}

.value-banner-box::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: clamp(120px, 18vw, 180px);
  height: 88px;
  transform: translateY(-50%);
  background: url("solo_logo_banner_finale.png") right center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.value-banner-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.value-banner p {
  margin: 0;
  max-width: 100%;
  color: var(--white);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.1;
  font-weight: 500;
  margin-inline: auto;
}

.gold-on-dark {
  margin: 6px auto 0;
}

.contact-cta {
  background: #fbfaf8;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 16px 0;
}

.contact-copy {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
}

.speech-icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
}

.contact-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.contact-copy p {
  margin: 10px 0 0;
  max-width: 830px;
}

.contact-button {
  min-width: 220px;
}

.site-footer {
  padding: 18px 0 22px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, #0e2a57 0%, #082148 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 255px;
  filter: none;
}

.social-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.site-footer h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.site-footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #fff4d9;
}

.footer-note {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-grid,
  .about-mission-grid,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    justify-content: center;
    min-height: 100%;
    padding-bottom: 0;
  }

  .mission-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(200, 154, 71, 0.35);
    padding-top: 30px;
  }

  .stats-grid,
  .audiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2n),
  .audience-card:nth-child(2n) {
    border-right: 0;
  }

  .contact-button {
    min-width: 0;
    width: 100%;
  }

  .value-banner-box {
    padding-left: 120px;
  }

  .value-banner-box::before {
    left: 24px;
    width: 120px;
    height: 72px;
  }

  .value-banner p {
    font-size: clamp(17px, 1.9vw, 24px);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .site-header {
    position: static;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 10vw, 62px);
  }

  .hero-copy p,
  .about-card p,
  .mission-item p,
  .stat-card p,
  .audience-card p,
  .contact-copy p,
  .site-footer li,
  .site-footer p {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .mission-item {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .mission-item h3,
  .stat-card h4,
  .audience-card h3 {
    font-size: 22px;
  }

  .stats-grid,
  .audiences-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .audience-card {
    border-right: 0;
    border-bottom: 1px solid rgba(200, 154, 71, 0.22);
  }

  .audience-card:last-child,
  .stat-card:last-child {
    border-bottom: 0;
  }

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

  .value-banner-box {
    padding: 16px 18px 14px;
  }

  .value-banner-box::before {
    display: none;
  }

  .value-banner p {
    white-space: normal;
  }
}
