/* Maestrale — footer */

.mae-footer { background: var(--mae-bordeaux); color: #EBCFD1; font-size: .9375rem; }
.mae-footer__top {
  max-width: var(--site-max); margin-inline: auto; padding: clamp(40px, 5vw, 64px) var(--sp-5) var(--sp-6);
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.6fr; gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.mae-footer__logo { display: inline-flex; align-items: center; gap: 14px; color: #FFFFFF; text-decoration: none; }
.mae-footer__logo img { width: 56px; height: auto; }
.mae-footer__logo:hover { color: #FFFFFF; }
.mae-footer__claim { margin: var(--sp-4) 0 var(--sp-3); color: #FFFFFF; font-weight: 500; line-height: 1.5; max-width: 24rem; }
.mae-footer__addr { font-style: normal; line-height: 1.6; }
.mae-footer__addr a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.mae-social { display: flex; gap: 10px; list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.mae-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #FFFFFF; border: 1px solid rgba(255,255,255,.35); transition: background-color .3s, color .3s, border-color .3s, transform .3s; }
.mae-social a:hover { background: #FFFFFF; color: var(--mae-bordeaux); border-color: #FFFFFF; transform: translateY(-2px); }
.mae-footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.mae-footer__h { margin: 0 0 var(--sp-3); font: 500 14px/1.2 var(--font-menu); text-transform: uppercase; letter-spacing: .08em; color: #C9DCEC; }
.mae-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mae-footer__col a { color: #FFFFFF; text-decoration: none; line-height: 1.35; opacity: .9; transition: opacity .25s, color .25s; }
.mae-footer__col a:hover { color: #C9DCEC; opacity: 1; }
.mae-footer__bottom {
  max-width: var(--site-max); margin-inline: auto; padding: var(--sp-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; color: #E4CBCD;
}
.mae-footer__bottom p { margin: 0; }
.mae-footer :focus-visible { outline-color: #FFFFFF; }

@media (max-width: 1100px) {
  .mae-footer__top { grid-template-columns: 1fr; }
  .mae-footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mae-footer__nav { grid-template-columns: 1fr 1fr; }
  .mae-footer__top, .mae-footer__bottom { padding-inline: var(--gutter); }
}
.mae-footer__logo img.mae-footer__logo-full { width: 210px; height: auto; }
@media (min-width: 1101px) { .mae-footer__nav { grid-template-columns: repeat(5, 1fr); } }

/* Nel template footer di Elementor: il contenitore che ospita il widget va a filo (niente padding predefinito di 10px) */
.e-con:has(> .elementor-widget-mae-footer), .e-con:has(> .e-con-inner > .elementor-widget-mae-footer) {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0;
}
