@font-face {
  font-family: Archivo;
  src: url('/assets/archivo-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  color-scheme: light;
  --blue: #2b49f3;
  --deep-blue: #1938cf;
  --orange: #fa6804;
  --green: #6bd332;
  --paper: #fff;
  --ink: #172762;
  font-family: Archivo, Arial, sans-serif;
  font-synthesis: none;
  color: var(--paper);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; }
button, select, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select { touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; transform: translateY(-180%); padding: 16px 20px; color: var(--blue); background: white; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.page { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }
.sos-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 15px 22px; color: var(--ink); background: var(--green); border-radius: 9px; font-size: 15px; font-weight: 750; line-height: 1.35; transition: transform .2s ease, background .2s ease; }
.sos-button .icon { width: 21px; height: 21px; }
.sos-button .icon:last-child { margin-left: 8px; }
@media (hover: hover) {
  .sos-button:hover { background: #88e050; transform: translateY(-3px); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-in {
  from { opacity: 0; transform: translateY(24px) scale(1.025); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-loop {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(8px, -12px) rotate(3deg); }
}
@keyframes float-green {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(14px) rotate(6deg); }
}
@keyframes wave-drift {
  0%, 100% { transform: translateX(-18px); }
  50% { transform: translateX(14px); }
}
@media (max-width: 700px) {
  .page { width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 14px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup img { width: 52px; height: 52px; }
.brand-name { font-weight: 750; font-size: 13px; line-height: 1.08; letter-spacing: -.2px; }
.header-link { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; }
.header-link .icon { width: 18px; height: 18px; }
.header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.poster-hero { position: relative; display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; min-height: 374px; margin: 8px 0 25px; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; padding: 20px 0 34px; pointer-events: none; }
.hero-kicker { margin-bottom: 18px; font-size: 12px; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; animation: rise-in .65s .05s both; }
.hero-copy h1 { font-size: clamp(42px, 5.1vw, 67px); font-stretch: 112%; font-weight: 820; letter-spacing: -2.5px; line-height: 1.02; }
.hero-copy h1 span { display: block; width: max-content; animation: rise-in .75s .13s both; }
.hero-copy h1 span + span { animation-delay: .24s; }
.hero-tagline { margin-top: 25px; font-stretch: 108%; font-size: 20px; line-height: 1.3; font-weight: 450; animation: rise-in .75s .34s both; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; overflow: hidden; }
.campus-photo { position: absolute; width: 100%; max-width: none; bottom: -27px; z-index: 1; animation: photo-in 1s .12s both; }
.hero-doodles { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orange-arc { fill: var(--orange); }
.white-loop { fill: none; stroke: #fff; stroke-width: 30; stroke-linecap: round; transform-origin: center; animation: float-loop 8s ease-in-out infinite; }
.green-loop { fill: none; stroke: var(--green); stroke-width: 27; stroke-linecap: round; transform-origin: 85% 5%; animation: float-green 7s ease-in-out infinite; }
.photo-wave { position: absolute; width: 112%; height: 113px; left: -6%; bottom: -1px; z-index: 2; fill: var(--blue); animation: wave-drift 9s ease-in-out infinite; }
.faculty-picker { position: relative; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 22px 32px; padding: 27px 30px; border-radius: 15px; background: white; color: var(--ink); animation: rise-in .7s .4s both; }
.picker-intro { display: flex; align-items: center; gap: 15px; flex: 1 1 260px; }
.picker-intro > .icon { width: 40px; height: 40px; color: var(--blue); }
.picker-intro h2 { font-size: 20px; font-weight: 780; font-stretch: 106%; letter-spacing: -.55px; }
.picker-intro p { margin-top: 6px; font-size: 14px; color: #515c81; line-height: 1.4; }
.select-field { flex: 1.2 1 340px; min-width: 0; }
.select-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 750; color: var(--blue); }
.select-control { position: relative; }
.select-control select { appearance: none; width: 100%; max-width: 100%; min-height: 52px; padding: 13px 45px 13px 16px; font-weight: 600; font-size: 15px; color: var(--ink); border: 1.5px solid #bbc5fa; border-radius: 7px; background: #f5f7ff; cursor: pointer; text-overflow: ellipsis; }
.select-control select:hover { border-color: var(--blue); }
.select-control select:focus-visible { outline-color: var(--blue); outline-offset: 3px; }
.select-control > .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--blue); pointer-events: none; }
.sos-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 196px; align-items: center; gap: 32px; padding: 34px 38px; margin-top: 18px; overflow: hidden; isolation: isolate; background: var(--deep-blue); border-radius: 15px; }
.banner-doodle { position: absolute; right: -12px; bottom: -76px; width: 430px; height: 430px; z-index: -1; color: #3e58e1; fill: none; stroke: currentColor; stroke-width: 36; stroke-linecap: round; animation: float-loop 11s ease-in-out infinite; }
.sos-copy { max-width: 670px; }
.sos-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 13px; font-weight: 650; line-height: 1.4; }
.sos-eyebrow .icon { width: 20px; height: 20px; }
.sos-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 750; font-stretch: 108%; letter-spacing: -1px; line-height: 1.15; }
.hero-break { display: none; }
.sos-description { max-width: 610px; font-size: 15px; line-height: 1.55; margin: 13px 0 23px; }
.qr-slot { justify-self: center; width: 100%; }
.qr-intro { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 196px; padding: 25px 16px; border: 1.5px dashed #91a1ff; border-radius: 12px; }
.qr-intro > .icon { width: 42px; height: 42px; margin-bottom: 17px; color: var(--green); }
.qr-intro > span { max-width: 150px; font-size: 17px; font-weight: 650; line-height: 1.25; }
.qr-intro small { margin-top: 13px; font-size: 11px; }
.sos-qr { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; border-radius: 10px; }
.sos-qr img { width: 164px; height: 164px; border-radius: 8px; transition: transform .2s ease; }
.sos-qr > span { font-size: 12px; font-weight: 650; line-height: 1.4; }
.qr-detail { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; }
.services { margin-top: 42px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-heading h2 { font-size: 25px; font-weight: 740; font-stretch: 108%; letter-spacing: -.65px; }
.section-heading > span { max-width: 50%; font-size: 12px; line-height: 1.4; text-align: right; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px 26px 24px; color: var(--ink); background: white; border-radius: 12px; transition: transform .2s ease; }
.service-icon { width: 43px; height: 43px; padding: 9px; box-sizing: content-box; border-radius: 50%; background: #e9edff; color: var(--blue); }
#resource-notizie .service-icon { background: #ffebdd; color: #a94300; }
#resource-caro-libri .service-icon { background: #e3f8d8; color: #327710; }
.service-card h3 { margin-top: 20px; font-size: 25px; font-weight: 770; font-stretch: 110%; letter-spacing: -.6px; }
.service-card p { margin: 11px 0 23px; max-width: 280px; font-size: 14px; line-height: 1.55; color: #515c81; }
.service-action { width: 100%; margin-top: auto; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-top: 12px; border-top: 1px solid #dbe1f8; color: var(--blue); font-size: 14px; font-weight: 700; }
.service-link .icon { width: 21px; height: 21px; transition: transform .2s ease; }
.service-link:focus-visible { outline-color: var(--blue); }
.service-pending { display: flex; align-items: center; gap: 7px; padding: 17px 0 5px; font-size: 13px; color: #515c81; }
.service-pending > span { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.page-footer { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 35px 0; margin-top: 22px; border-top: 1px solid #ffffff45; font-size: 12px; line-height: 1.4; }
.footer-brand { font-weight: 800; font-stretch: 105%; font-style: oblique; text-transform: uppercase; font-size: 11px; }
.footer-stroke { width: 93px; height: 39px; fill: none; stroke: var(--green); stroke-width: 15; stroke-linecap: round; flex: 0 0 auto; }
.fallback { padding: 28px 0; line-height: 1.6; }
.fallback h3 { margin-top: 20px; }
.fallback a { text-decoration: underline; text-underline-offset: 3px; }
.error-page { min-height: 80svh; display: grid; align-content: center; justify-items: start; gap: 24px; }
.error-page h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -2px; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-5px); }
  .service-link:hover .icon { transform: translate(3px, -3px); }
  .sos-qr:hover img { transform: rotate(-2deg); }
}
@media (max-width: 1000px) {
  .poster-hero { min-height: 330px; }
  .hero-copy h1 { font-size: 5.15vw; letter-spacing: -1.8px; }
  .hero-tagline { font-size: 18px; }
  .campus-photo { bottom: 12px; }
  .photo-wave { height: 78px; }
  .faculty-picker { gap: 20px; padding: 25px; }
  .picker-intro { flex-basis: 240px; }
  .select-field { flex-basis: 270px; }
  .sos-banner { padding: 30px; gap: 25px; grid-template-columns: minmax(0, 1fr) 172px; }
  .service-card { padding: 22px 20px; }
  .service-link { font-size: 13px; }
}
@media (max-width: 700px) {
  .page-header { padding-top: 20px; }
  .brand-lockup img { width: 43px; height: 43px; }
  .brand-name { font-size: 11px; }
  .header-link { font-size: 11px; gap: 5px; }
  .poster-hero { grid-template-columns: 1fr; margin: 0 0 25px; }
  .hero-visual { order: -1; height: 245px; margin: 0 -20px; }
  .campus-photo { width: 100%; bottom: -5px; }
  .hero-doodles { height: 290px; top: -36px; }
  .photo-wave { height: 82px; bottom: -2px; }
  .hero-copy { padding: 0; margin-top: -7px; }
  .hero-kicker { display: none; }
  .hero-copy h1 { font-size: clamp(31px, 8.95vw, 58px); font-stretch: 112%; letter-spacing: -1.25px; line-height: 1.05; }
  .hero-tagline { margin-top: 15px; font-size: 17px; }
  .faculty-picker { gap: 22px; padding: 23px 20px; border-radius: 12px; }
  .picker-intro { gap: 12px; }
  .picker-intro > .icon { width: 33px; height: 33px; }
  .picker-intro h2 { font-size: 19px; }
  .picker-intro p { font-size: 13px; }
  .select-field { flex-basis: 100%; }
  .select-control select { font-size: 16px; padding-left: 12px; }
  .sos-banner { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; margin-top: 14px; border-radius: 12px; }
  .sos-copy h2 { font-size: 29px; letter-spacing: -.8px; }
  .hero-break { display: block; }
  .sos-description { font-size: 14px; margin-bottom: 20px; }
  .sos-eyebrow { font-size: 12px; }
  .sos-button { width: 100%; gap: 8px; font-size: 14px; padding: 15px 12px; }
  .sos-button .icon:last-child { margin-left: auto; }
  .qr-slot { border-top: 1px solid #ffffff40; padding-top: 23px; }
  .qr-intro { min-height: auto; border: 0; padding: 0; flex-direction: row; justify-content: flex-start; gap: 13px; text-align: left; }
  .qr-intro > .icon { width: 32px; height: 32px; margin: 0; }
  .qr-intro > span { font-size: 13px; max-width: none; }
  .qr-intro small { display: none; }
  .sos-qr { flex-direction: row; justify-content: center; gap: 18px; text-align: left; }
  .sos-qr img { width: 116px; height: 116px; }
  .sos-qr > span { max-width: 124px; }
  .banner-doodle { width: 320px; height: 320px; right: -70px; bottom: -95px; }
  .services { margin-top: 32px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 17px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > span { text-align: left; max-width: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 24px; }
  .service-icon { position: absolute; right: 22px; top: 22px; width: 30px; height: 30px; padding: 8px; }
  .service-card h3 { margin: 0; padding-right: 58px; font-size: 26px; }
  .service-card p { max-width: 245px; padding-right: 32px; margin: 12px 0 15px; }
  .service-link { font-size: 14px; }
  .page-footer { display: grid; grid-template-columns: 1fr auto; gap: 13px; padding: 25px 0 30px; margin-top: 24px; }
  .footer-brand { grid-column: 1; grid-row: 2; font-size: 10px; }
  .footer-stroke { grid-column: 2; grid-row: 1 / 3; width: 64px; }
}
@media (min-width: 480px) and (max-width: 700px) {
  .hero-visual { height: 300px; }
  .campus-photo { bottom: -40px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  .hero-visual { margin: 0 -16px; height: 210px; }
  .hero-copy h1 { font-size: 8.9vw; letter-spacing: -.8px; }
  .hero-tagline { font-size: 15px; }
  .faculty-picker { padding: 22px 16px; }
  .picker-intro h2 { font-size: 17px; }
  .sos-banner { padding: 25px 18px; }
  .sos-button { font-size: 12px; gap: 6px; }
  .sos-copy h2 { font-size: 26px; }
}
