/* footer.css – footer del sito (inc/footer.php), stesso disegno di Villa il Gioiello su fondo grigio chiaro */

.vf-footer {
  --vf-bg: #f2f2f2;
  --vf-ink: #2b2b2b;
  --vf-line: rgba(0, 0, 0, 0.12);
  --vf-text: #555555;
  --vf-muted: #6b6b6b;
  --vf-strong: #2b2b2b;
  --vf-gold: #bf9f56;
  --vf-gold-hover: #cdb06b;
  --vf-gold-ink: #7d5f27;

  background: var(--vf-bg);
}

/* Solo i blocchi del footer: la barra prenota mobile (.bookbutton) tiene il suo stile. */
.vf-footer__cta,
.vf-footer__grid,
.vf-footer__bottom {
  color: var(--vf-text);
  font-family: var(--font-testo);
  font-size: 14px;
  line-height: 1.7;
}

.vf-footer__cta a,
.vf-footer__grid a,
.vf-footer__bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vf-footer__cta a:hover,
.vf-footer__grid a:hover,
.vf-footer__bottom a:hover,
.vf-footer__grid a:focus-visible,
.vf-footer__bottom a:focus-visible {
  color: var(--vf-gold-ink);
}

.vf-footer__cta,
.vf-footer__grid,
.vf-footer__bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
  box-sizing: border-box;
}

/* Invito a prenotare */
.vf-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--vf-line);
}

.vf-footer__cta-text {
  max-width: 620px;
}

.vf-footer__cta-title {
  font-family: var(--font-titolo);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vf-strong);
  margin: 0 0 16px;
}

.vf-footer__cta-text p {
  margin: 0;
}

.vf-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.vf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--vf-gold);
  font-family: var(--font-titolo);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vf-footer .vf-btn--gold {
  background: var(--vf-gold);
  color: var(--vf-ink);
}

.vf-footer .vf-btn--gold:hover,
.vf-footer .vf-btn--gold:focus-visible {
  background: var(--vf-gold-hover);
  border-color: var(--vf-gold-hover);
  color: var(--vf-ink);
}

.vf-footer .vf-btn--line {
  color: var(--vf-strong);
  border-color: var(--vf-strong);
}

.vf-footer .vf-btn--line:hover,
.vf-footer .vf-btn--line:focus-visible {
  background: var(--vf-strong);
  border-color: var(--vf-strong);
  color: var(--vf-bg);
}

/* Colonne */
.vf-footer__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px 32px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.vf-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.vf-footer__logo img {
  display: block;
  width: 200px;
  height: auto;
}

.vf-footer address {
  font-style: normal;
  margin: 0 0 8px;
}

.vf-footer__arrow {
  display: inline-block;
  color: var(--vf-gold-ink) !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid currentColor;
}

.vf-footer__arrow::after {
  content: " →";
}

.vf-footer__arrow:hover {
  color: var(--vf-strong) !important;
}

.vf-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.vf-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--vf-line);
  border-radius: 50%;
  color: var(--vf-strong);
}

.vf-footer__social a:hover {
  border-color: var(--vf-gold);
}

.vf-footer__social svg {
  fill: currentColor;
}

.vf-footer__title {
  font-family: var(--font-titolo);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vf-gold-ink);
  margin: 0 0 20px;
}

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

.vf-footer__col li + li {
  margin-top: 8px;
}

.vf-footer__col a {
  overflow-wrap: anywhere;
}

/* Lo spazio per la barra laterale (140px) e per la barra prenota mobile e' in style.css (.site-footer). */

/* Riga legale */
.vf-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--vf-line);
  font-size: 12px;
  color: var(--vf-muted);
}

.vf-footer__bottom p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
}

.vf-footer__credits {
  letter-spacing: 0.04em;
}

.vf-footer__partners span {
  letter-spacing: 0.04em;
}

.vf-footer__bottom .vf-footer__partners a {
  color: var(--vf-gold-ink);
  border-bottom: 1px solid transparent;
}

.vf-footer__bottom .vf-footer__partners a:hover {
  color: var(--vf-strong);
  border-bottom-color: currentColor;
}

.vf-footer__links,
.vf-footer__links--credits {
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .vf-footer__cta {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .vf-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vf-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .vf-footer__cta,
  .vf-footer__grid,
  .vf-footer__bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .vf-footer__cta-actions,
  .vf-btn {
    width: 100%;
  }

  .vf-footer__grid {
    gap: 36px 20px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .vf-footer__bottom {
    display: flex;
  }

  .vf-footer__bottom,
  .vf-footer__bottom p {
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* Piu' gruppi del menu nella stessa colonna */
.vf-footer__section + .vf-footer__section {
  margin-top: 36px;
}
