/* ============================
   VARIABILI & RESET
   ============================ */
:root {
	--blu:        #0d3b8e;
	--blu-scuro:  #092d6e;
	--blu-chiaro: #1a55c4;
	--accent:     #f0a500;
	--testo:      #1e1e2e;
	--testo-soft: #5a5a72;
	--sfondo:     #f5f7fc;
	--bianco:     #ffffff;
	--card-bg:    #ffffff;
	--radius:     12px;
	--shadow:     0 4px 24px rgba(13,59,142,.10);
  
	--wx-bg:        #092d6e;
	--wx-card:      #0d3b8e;
	--wx-border:    rgba(99,179,237,.18);
	--wx-accent:    #63b3ed;
	--wx-accent2:   #f6ad55;
	--wx-text:      #e2e8f0;
	--wx-muted:     #90a4b7;
	--wx-radius:    14px;
	--wx-shadow:    0 4px 24px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 24px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--testo);
  background: var(--sfondo);
  line-height: 1.6;
}

/* ============================
   TOPBAR BLU
   ============================ */
.topbar {
  background: var(--blu);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  letter-spacing: .02em;
  border-bottom: 3px solid var(--accent);
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.topbar-info i {
  color: var(--accent);
}

.topbar-social a {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color .2s;
}
.topbar-social a:hover { color: var(--accent); }

/* ============================
   HEADER
   ============================ */
.site-header {
  background: var(--bianco);
  box-shadow: 0 2px 16px rgba(13,59,142,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo brand */
.logo-icon {
  position: relative;
  width: 44px;
  height: 44px;
  font-size: 44px;
  color: var(--blu);
  flex-shrink: 0;
}
.logo-icon .bi-hexagon-fill {
  position: absolute;
  top: 0; left: 0;
  color: var(--blu);
}
.logo-icon .bi-hexagon {
  position: absolute;
  top: 0; left: 0;
  color: var(--accent);
  opacity: .7;
  font-size: 40px;
}

.logo-img{

}

.logo-Comune img, .logo-unige img{
	width: 5vw;
}
.logo-museo img{
	width: 7.5vw;
}

.brand-name {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--blu);
  line-height: 1.1;
}
.brand-tagline {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--testo-soft);
}

/* Loghi partner */
.partner-logos {
  gap: 1.25rem;
}
.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .5rem .85rem;
  border: 1.5px solid #e0e6f5;
  border-radius: var(--radius);
  background: var(--sfondo);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
}
.partner-badge:hover {
  border-color: var(--blu-chiaro);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.partner-badge i {
  font-size: 1.4rem;
  color: var(--blu);
}
.partner-badge span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--testo-soft);
  font-weight: 500;
}

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(135deg, var(--blu-scuro) 0%, var(--blu-chiaro) 100%);
  color: var(--bianco);
  padding: 0.3rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240,165,0,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
}

.hero > * { position: relative; }

.hero-title {
  /*font-family: "Segoe UI", Arial, sans-serif;*/
  font-size: clamp(1.4rem, 3.1vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 0.1rem;
}

.hero .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--testo);
  font-weight: 600;
  border-radius: 50px;
  transition: filter .2s, transform .2s;
}
.hero .btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.hero .btn-outline-primary {
  border-color: rgba(255,255,255,.6);
  color: var(--bianco);
  border-radius: 50px;
  transition: background .2s, transform .2s;
}
.hero .btn-outline-primary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--bianco);
  color: var(--bianco);
  transform: translateY(-2px);
}

/* ============================
   CARDS
   ============================ */
.cards-section { background: var(--sfondo); }

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blu);
  transition: transform .25s, box-shadow .25s;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(13,59,142,.16);
}

.card-icon {
  font-size: 2rem;
  color: var(--blu);
  margin-bottom: 1rem;
}
.info-card h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--blu-scuro);
  margin-bottom: .6rem;
}
.info-card p { color: var(--testo-soft); font-size: .93rem; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--blu-scuro);
  color: rgba(255,255,255,.75);
}

.footer-brand {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--bianco);
  display: flex;
  align-items: center;
}
.footer-brand i { color: var(--accent); }

.footer-desc { font-size: .88rem; color: rgba(255,255,255,.55); }

.footer-heading {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  margin-bottom: .85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: .45rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--accent); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 576px) {
  .topbar-info { gap: .75rem; font-size: .75rem; }
  .partner-logos { justify-content: center; }
  .site-header .brand { justify-content: center; width: 100%; }
  .site-header .container { justify-content: center; }
}
