/* ============================================
   MoVimento 5 Stelle Rivalta di Torino
   Stile ricostruito dal progetto grafico originale
   ============================================ */

:root {
  --red: #E1241E;
  --blue: #1C70B4;
  --yellow: #FCE111;
  --yellow-soft: #FCE470;
  --black-logo: #1C1C1C;
  --dark: #333333;
  --gray-text: #666666;
  --white: #FFFFFF;

  --max-width: 1200px;
  --side-padding: clamp(20px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
}

.hero-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 480;
  overflow: visible;
}

.hero-graphic svg {
  display: block;
  width: 102%;
  height: 100%;
  transform: translateX(-58px);	
}

.badge-2050 {
  position: absolute;
  left: 76.1%;
  top: 80.1%;
  width: 17.8%;
  transform: translate(-50%, -50%);
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 40px) var(--side-padding) clamp(50px, 8vw, 96px);
  text-align: center;
}

.logo-lockup-header {
  width: min(750px, 86%);
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(34px, 6vw, 64px);
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: clamp(10px, 1.6vw, 18px);
}

.hero-content .subtitle {
  font-weight: 400;
  font-size: clamp(17px, 2.1vw, 26px);
  color: var(--gray-text);
  line-height: 1.4;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--dark);
  color: var(--white);
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) var(--side-padding) clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 10vw, 150px);
}

.footer-brand {
  flex: 1 1 320px;
  min-width: 260px;
}

.logo-lockup-footer {
  width: min(280px, 80%);
  margin-bottom: clamp(22px, 3vw, 32px);
}

.footer-brand-name {
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 14px;
}

.footer-contact {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #d8d8d8;
}

.footer-contact a:hover {
  color: var(--yellow);
}

.footer-social {
  flex: 0 0 auto;
  align-self: center;
}

.footer-social p {
  font-size: 17px;
  margin-bottom: 14px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons img {
  width: 30px;
  height: auto;
  transition: transform 0.15s ease;
}

.social-icons a:hover img,
.social-icons a:focus-visible img {
  transform: translateY(-3px);
}

.footer-badge {
  flex: 0 0 auto;
  width: clamp(90px, 9vw, 120px);
  align-self: center;
}

.footer-bottom {
  background: var(--yellow);
}

.footer-bottom p {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--side-padding);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 640px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-badge {
    width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .social-icons img {
    transition: none;
  }
}