/* === FOOTER BASE === */
footer {
  background-color: var(--color-dark);
  font-family: var(--font-base);
  color: var(--color-accent);
  padding-top: 40px;
  font-size: 0.8rem; /* ridotto di base */
}

/* === LAYOUT GRID === */
.footer-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 32px;
  row-gap: 32px;
  align-items: start;
  border-bottom: 1px solid rgba(215, 187, 182, 0.2);
  padding-bottom: 28px;
}

.footer-column {
  padding: 0 16px;
  position: relative;
}

.footer-column:not(:last-child) {
  border-right: 1px solid rgba(215, 187, 182, 0.2);
}

/* === COLONNA 1: LOGO + INDIRIZZO === */
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-logo img {
  width: 130px;
  height: auto;
  transition: transform 0.35s ease;
}
.footer-logo img:hover { transform: scale(1.05); }

.footer-address {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.footer-address a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-white) !important;
  font-size: 0.8rem;
  line-height: 1.4;
}
.footer-address-text {
  color: var(--color-white) !important;
}

/* Icona location */
.footer-location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.footer-location-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}
.footer-address a:hover .footer-location-icon {
  background: var(--color-hover);
  transform: scale(1.05);
}

/* === COLONNA 2: MENU === */
.footer-menu {
  text-align: center;
}
.footer-menu h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-black);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-nav li::before {
  content: "•";
  margin-right: 6px;
  color: var(--color-primary);
  font-size: 1em;
}
.footer-nav a {
  text-decoration: none;
  color: var(--color-white) !important;
  font-size: 0.8rem;
}
.footer-nav a:hover { color: var(--color-accent) !important; }

/* === COLONNA 3: SOCIAL + PRENOTA === */
.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-social-block .social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.footer-social-block .social-icons a {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social-block .social-icons svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}
.footer-social-block .social-icons a:hover {
  background-color: var(--color-hover);
}
.footer-social-block .social-icons a:hover svg {
  transform: scale(1.1);
}

/* === BTN PRENOTA FOOTER === */
.footer-button .btn-light-compact {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: 50px;
  font-family: var(--font-base);
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.4em 1.2em;
}
.footer-button .btn-light-compact:hover {
  background: var(--color-primary-2);
  color: var(--color-white);
}

/* === BOTTOM === */
.footer-bottom {
  text-align: center;
  padding: 16px 12px;
  font-size: 0.75rem; /* più piccolo */
  line-height: 1.4;
  color: var(--color-accent) !important;
  border-top: 1px solid rgba(215, 187, 182, 0.2);
}

/* Selettore lingue */
.footer-languages {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-languages a {
  color: var(--color-white) !important;
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0 8px;
}
.footer-languages a:hover { color: var(--color-accent) !important; }

/* 🔹 rimosso il doppio separatore */
.footer-languages a:not(:last-child)::after {
  content: "";
}

/* === COPYRIGHT + P.IVA === */
.footer-note,
.footer-citr,
#anno-corrente {
  color: var(--color-accent) !important;
  font-size: 0.75rem !important;
  line-height: 1.4;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .footer-content-inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding: 28px 0;
  }
  .footer-column { border-right: none !important; }
  .footer-column:not(:last-child)::after {
    content: "";
    display: block;
    width: 60%;
    margin: 20px auto 0;
    border-bottom: 1px solid rgba(215, 187, 182, 0.4);
  }
  .footer-menu h4 { font-size: 0.9rem; }
  .footer-location-icon { width: 36px; height: 36px; }
}