@font-face {
  font-family: "Roboto Unitus";
  src: url("../fonts/roboto-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Unitus";
  src: url("../fonts/roboto-500.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Unitus";
  src: url("../fonts/roboto-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Unitus";
  src: url("../fonts/roboto-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --unitus-blue: #172b69;
  --unitus-blue-bright: #2f388a;
  --unitus-gold: #d9aa21;
  --unitus-gold-soft: #fff7df;
  --ink: #17224d;
  --muted: #59657f;
  --surface: #f2f4fb;
  --white: #fff;
  --line: #d9deeb;
  --shadow: 0 28px 80px rgba(10, 27, 77, .28);
  --font-sans: "Roboto Unitus", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--unitus-blue); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 39, 99, .86), rgba(17, 39, 99, .64)),
    url("../images/sfondo-portale.jpg") center / cover fixed;
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--unitus-blue);
  border-radius: .4rem;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(1060px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 5vh, 54px) 0;
}

.landing-card {
  position: relative;
  min-height: calc(100vh - clamp(48px, 10vh, 108px));
  padding: clamp(30px, 5vw, 68px) clamp(28px, 8vw, 104px) 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(217, 170, 33, .12), transparent 22rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,242,251,.98));
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.landing-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--unitus-blue) 0 74%, var(--unitus-gold) 74% 100%);
}

.brand-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 42px);
  margin-bottom: clamp(36px, 6vh, 70px);
}

.brand-link { display: inline-flex; }

.brand-logo {
  display: block;
  width: clamp(174px, 21vw, 244px);
  height: auto;
}

.brand-divider {
  align-self: stretch;
  width: 1px;
  min-height: 98px;
  background: #cfd5e6;
}

.service-name {
  display: flex;
  flex-direction: column;
  color: var(--unitus-blue-bright);
  font-size: clamp(2.35rem, 5.7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .91;
}

.service-name .eyebrow {
  margin-bottom: .75rem;
  color: var(--unitus-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .35em;
  line-height: 1;
  text-transform: uppercase;
}

.intro { max-width: 760px; margin: 0 auto; text-align: center; }

.kicker {
  margin: 0 0 .5rem;
  color: var(--unitus-blue-bright);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--unitus-blue);
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .96;
}

.lead {
  max-width: 680px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 760px;
  margin: clamp(30px, 5vh, 50px) auto 0;
  padding: 18px 21px;
  color: #5b4100;
  background: var(--unitus-gold-soft);
  border: 1px solid #eacb73;
  border-radius: 16px;
  text-align: left;
}

.status-icon {
  display: grid;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--white);
  background: var(--unitus-gold);
  border-radius: 12px;
}

.status-icon svg { width: 23px; height: 23px; fill: currentColor; }
.status-panel strong { display: block; margin-bottom: 2px; font-size: .98rem; }
.status-panel p { margin: 0; font-size: .88rem; }

.information-card {
  display: flex;
  gap: 19px;
  max-width: 680px;
  margin: 24px auto 0;
  padding: 22px 24px;
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(28, 46, 98, .09);
}

.information-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--unitus-blue-bright);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.information-card h2 { margin: 0 0 3px; font-size: 1rem; }
.information-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.site-footer {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: clamp(30px, 5vh, 52px);
  color: #707991;
  font-size: .78rem;
  text-align: center;
}

.site-footer p { margin: 0; }
.site-footer p::after { margin-left: .55rem; content: "·"; }
.site-footer a { color: var(--unitus-blue-bright); font-weight: 700; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }

@media (max-width: 680px) {
  .page-shell { width: 100%; padding: 0; }
  .landing-card { min-height: 100vh; padding: 36px 22px 24px; border: 0; border-radius: 0; }
  .brand-block { align-items: center; gap: 16px; margin-bottom: 44px; }
  .brand-logo { width: 142px; }
  .brand-divider { min-height: 76px; }
  .service-name { font-size: 2.25rem; }
  .service-name .eyebrow { font-size: .58rem; letter-spacing: .24em; }
  .status-panel { align-items: flex-start; padding: 16px; }
  .information-card { padding: 18px; }
  .site-footer { display: block; }
  .site-footer p::after { content: ""; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
