:root {
  color-scheme: light;
  --bg: #f3f5ff;
  --text: #1f2937;
  --text-light: #4b5563;
  --accent: #1d4ed8;
  --accent-soft: rgba(29, 78, 216, 0.12);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

main.splash {
  flex: 1 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.splash__logo-wrapper {
  padding: clamp(1rem, 3vw, 2rem);
  background: white;
  border-radius: clamp(1.5rem, 6vw, 3rem);
  box-shadow: 0 24px 48px -30px rgba(15, 23, 42, 0.45);
}

.splash__logo {
  width: clamp(180px, 40vw, 320px);
  height: auto;
}

.splash__content {
  max-width: min(840px, 90vw);
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
}

.splash__lead {
  margin-top: 0;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
}

.splash__content h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
}

.splash__content p {
  margin: 0 0 1.25rem;
  color: var(--text-light);
}

.splash__content p strong {
  color: var(--accent);
  font-weight: 600;
}

.splash__lead strong {
  font-weight: 700;
}

.splash__highlight {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 1.5rem;
  background: rgba(29, 78, 216, 0.08);
  color: var(--text);
  font-weight: 400;
}

.splash__quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(29, 78, 216, 0.05);
  font-style: italic;
  color: var(--text);
}

.splash__quote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0;
  vertical-align: middle;
  margin-right: 0.35rem;
  color: var(--accent);
}

.splash__content p:last-of-type {
  margin-bottom: 0;
}

.splash__soon {
  margin-top: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  display: inline-block;
}

.partners {
  flex-shrink: 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 5rem);
  background: rgba(15, 23, 42, 0.08);
}

/* Contenitore principale */
.partners__wrapper {
  margin: 0 auto;
  max-width: 1280px;
  background: white;
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 20px 48px -34px rgba(15, 23, 42, 0.45);
  padding: clamp(2rem, 4vw, 3rem);
}

/* Allineamento loghi su una riga */
.partners__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* Ogni logo è centrato e bilanciato */
.partners__item {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo proporzionato e fluido */
.partners__logo {
  width: 100%;
  max-width: 300px; /* dimensione reale su desktop */
  height: auto;
  object-fit: contain;
  flex-shrink: 1;
  transition: transform 0.25s ease;
}

.partners__logo:hover {
  transform: scale(1.05);
}

/* 💻 Laptop / Tablet */
@media (max-width: 1024px) {
  .partners__wrapper {
    max-width: 100%;
  }

  .partners__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .partners__logo {
    max-width: 220px;
  }
}

/* 📱 Mobile */
@media (max-width: 600px) {
  .partners__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .partners__logo {
    max-width: 180px;
  }
}
