:root {
  --text: #000000;
  --line: rgba(0,0,0,.15);
  --accent: #4fa3ff;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInFooter 0.8s ease-out forwards;
}

@keyframes fadeInFooter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icn-footer-line {
  background-color: rgba(40,61,0,.21);
  background-color: #283D0036;
  color: var(--text);
  margin-top: 60px;
  padding: 34px 0 20px;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icn-footer-line a {
  color: #000;
  text-underline-offset: 2px;
}

.icn-footer-line a:hover {
  text-decoration: underline;
  color: #000;
}

.icn-footer-line a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.icn-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NEWSLETTER ===== */

.icn-newsletter-wrap {
  max-width: 1300px;
  margin: 0 auto 34px;
  padding: 0 20px;
}

.icn-newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.icn-newsletter-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: rgba(40, 61, 0, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

.icn-newsletter-text {
  flex: 1;
}

.icn-newsletter-text h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 900;
  color: #000;
}

.icn-newsletter-text p {
  margin: 0;
  color: #000;
  font-size: .98rem;
  line-height: 1.5;
}

.icn-newsletter-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.icn-newsletter-button:hover {
  transform: translateY(-2px);
  background: #1f1f1f;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

/* ===== LAYOUT PRINCIPALE ===== */

.icn-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.icn-footer-col.brand {
  flex: 0 1 34%;
  min-width: 280px;
}

.icn-footer-col.info {
  flex: 1 1 36%;
  min-width: 360px;
  text-align: center;
}

.icn-footer-col.right {
  flex: 0 1 30%;
  min-width: 300px;
  text-align: right;
}

.brand.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.logo-isola {
  max-height: 110px;
  width: auto;
  transition: transform .3s ease, filter .3s ease;
  will-change: transform;
}

.logo-isola:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.icn-brand-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #000;
}

.icn-brand-text p {
  margin: 4px 0 0;
  font-size: .95rem;
  color: #000;
}

.logo-editore {
  max-height: 130px;
  width: auto;
  margin-bottom: 10px;
  transition: transform .3s ease, filter .3s ease;
}

.logo-editore:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info li {
  color: #000;
  font-size: .95rem;
  line-height: 1.6;
}

.icn-footer-col.right {
  text-align: center;
}

.icn-dealer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.logo-italia {
  max-height: 100px;
  width: auto;
  margin-left: 0;
  transition: transform .3s ease, filter .3s ease;
}

.logo-italia:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.dealer-title {
  font-weight: 800;
  letter-spacing: .08em;
  color: #000;
  text-transform: uppercase;
  font-size: .9rem;
  text-align: center;
  width: 100%;
  margin: 4px 0 8px;
}

.dealer-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .95rem;
  color: #000;
  text-align: center;
  width: auto;
  margin: 0 auto;
}

.dealer-inline span {
  display: inline-block;
}

.dealer-inline a {
  color: #000;
  text-decoration: none;
}

.dealer-inline a:hover {
  color: #000;
  text-decoration: underline;
}

.icn-footer-col a:hover,
.icn-footer-line a:hover img {
  color: #000;
  text-decoration: underline;
  filter: brightness(1.1);
}

.icn-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  color: #000;
  margin-top: 18px;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.icn-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .9rem;
}

.icn-bottom-links a {
  text-decoration: none;
  font-weight: 500;
}

.icn-bottom-links a:hover {
  text-decoration: underline;
}

.icn-bottom-links .sep {
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 950px) {
  .icn-newsletter-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .icn-newsletter-icon {
    flex-basis: auto;
  }

  .icn-newsletter-button {
    width: 100%;
    max-width: 280px;
  }

  .icn-footer-row {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .icn-footer-col {
    text-align: center !important;
  }

  .brand.stack {
    align-items: center;
  }

  .icn-dealer {
    align-items: center;
  }

  .logo-italia {
    margin-left: 0;
  }

  .dealer-inline {
    justify-content: center;
  }

  .icn-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .icn-newsletter-text h2 {
    font-size: 1.25rem;
  }

  .icn-newsletter-text p {
    font-size: .92rem;
  }

  .logo-isola {
    max-height: 90px;
  }

  .logo-editore {
    max-height: 110px;
  }

  .logo-italia {
    max-height: 90px;
  }

  .icn-brand-text h3 {
    font-size: 1.2rem;
  }

  .icn-brand-text p,
  .info li,
  .dealer-inline {
    font-size: .9rem;
  }
}