/* The contact action stays available while the boards are being hoisted. */
.footer { padding: 0 0 20px; background: #191b19; }
.foot-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(238px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(26px, 4.2vw, 62px);
  border-bottom: 1px solid #494c44;
}
.foot-inquiry { display: grid; justify-items: start; gap: 13px; }
.foot-wa {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 15px clamp(15px, 1.6vw, 24px);
  background: var(--orange);
  color: #181a17;
  font-size: clamp(.95rem, 1.15vw, 1.2rem);
  font-weight: 735;
  border-radius: 2px;
}
.footer a.foot-wa:hover { background: #ffa557; text-decoration: none; }
.chat-mark {
  display: inline-block;
  width: 1.05em;
  height: .84em;
  position: relative;
  flex: none;
  border: .105em solid currentColor;
  border-radius: 34% 40% 38% 27%;
}
.chat-mark::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -.23em;
  width: .28em;
  height: .28em;
  border-left: .11em solid currentColor;
  transform: skewY(-38deg);
  border-bottom: .11em solid currentColor;
  background: inherit;
}
.wa-arrow {
  position: relative;
  width: .67em;
  height: .67em;
  border-top: 2px solid;
  border-right: 2px solid;
  margin-inline-start: .48em;
}
.wa-arrow::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: .78em;
  border-top: 2px solid;
  transform-origin: right center;
  transform: rotate(-45deg);
}
.foot-number { color: #d0d3c8; font: 500 .9rem/1.4 'Geist Mono', monospace; }
.foot-identity { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid #353a32; }
.foot-identity address { font-style: normal; color: #dce0d5; }
.foot-legal { flex-wrap: wrap; }
.foot-legal a { padding-block: 8px; }
#main-nav .nav-whatsapp { display: inline-flex; align-items: center; gap: .5em; }
.nav-whatsapp .chat-mark { color: var(--orange); }
@media (min-width: 701px) and (max-width: 960px) {
  #main-nav { gap: 15px; font-size: .875rem; }
  #main-nav .head-cta { margin-left: 0; padding-inline: 12px; }
  .mast { gap: 12px; }
}
@media (max-width: 760px) {
  .foot-contact { grid-template-columns: minmax(0,1fr); gap: 16px; padding-block: 27px; }
  .foot-inquiry { gap: 9px; }
  .foot-identity { flex-wrap: wrap; justify-content: flex-start; column-gap: 28px; row-gap: 16px; }
}

#contatti { scroll-margin-block-start: 64px; }
.foot-framework { position: relative; }
.foot-identity .foot-map { justify-self: end; }
.foot-bay { position: relative; padding-inline: clamp(14px, 2.4vw, 36px); }
.foot-upright {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(90deg, #282d27, #62695c 55%, #343b32);
  transform-origin: center top;
}
.foot-upright--left { left: 0; }
.foot-upright--right { right: 0; }
.foot-bay::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(#717768, #363d32);
  transform-origin: left center;
}
.foot-bay::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -3px -3px auto;
  height: 8px;
  background:
    radial-gradient(circle at 5px center, #c3a078 0 2px, #4b4e42 2.6px 4.3px, transparent 4.8px),
    radial-gradient(circle at calc(100% - 5px) center, #c3a078 0 2px, #4b4e42 2.6px 4.3px, transparent 4.8px);
}
.foot-contact { border-bottom: none; }
.foot-identity {
  display: grid;
  grid-template-columns: minmax(135px,1fr) minmax(0,1.5fr);
  align-items: center;
  gap: clamp(20px,4vw,55px);
  padding-block: clamp(22px,2.6vw,38px);
  border: none;
}
.foot-identity .foot-brand img { width: clamp(145px,17vw,222px); }
.foot-bottom { padding-block: 19px 4px; margin-top: 0; }
.foot-stage-bay { min-width: 0; display: grid; }
.foot-landline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .36em .85em;
  color: #f1f2e9;
  padding: 9px 0 7px;
  border-top: 1px solid #50564a;
  font-weight: 690;
}
.foot-landline span { font-size: .88em; color: #d0d3c8; font-weight: 480; }
.foot-motion-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  padding: 1px 8px;
  color: #c4c9bc;
  background: transparent;
  font: 500 .74rem/1.25 'Geist Mono', monospace;
}
.foot-motion-toggle[hidden] { display: none; }
.foot-motion-toggle:hover { color: white; }
.foot-motion-icon { width: 9px; height: 9px; border-inline: 3px solid #f39a58; }
.footer[data-motion-paused] .foot-motion-icon {
  height: 0; width: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid #f39a58;
}
@keyframes malba-upright-assembles {
  from { transform: scaleY(.01); }
  to { transform: scaleY(1); }
}
@keyframes malba-rail-assembles {
  from { transform: scaleX(.01); }
  to { transform: scaleX(1); }
}
@keyframes malba-couplers-seat {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: none; }
}
@keyframes malba-panel-seats {
  0% { opacity: .56; transform: translate(-13px, 15px) rotate(-.6deg); }
  79% { opacity: 1; transform: translate(.5px, -1px); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .footer[data-building] .foot-upright { animation: malba-upright-assembles 740ms cubic-bezier(.2,.7,.25,1) both; }
  .footer[data-building] .foot-upright--right { animation-delay: 140ms; }
  .foot-bay.fitted::before { animation: malba-rail-assembles 720ms 120ms cubic-bezier(.25,.68,.2,1) both; }
  .foot-bay.fitted::after { animation: malba-couplers-seat 320ms 620ms ease-out both; }
  .foot-bay.fitted [data-fit] { animation: malba-panel-seats 850ms 260ms cubic-bezier(.2,.7,.25,1) both; }
  .foot-bay.fitted [data-fit]:nth-child(2) { animation-delay: 460ms; }
  .foot-bay.fitted [data-fit]:nth-child(3) { animation-delay: 620ms; }
  .footer:is([data-motion-idle], [data-motion-paused]) :is(.foot-upright,[data-fit]),
  .footer:is([data-motion-idle], [data-motion-paused]) .foot-bay::before,
  .footer:is([data-motion-idle], [data-motion-paused]) .foot-bay::after {
    animation-play-state: paused;
  }
}
@media (max-width: 700px) {
  #contatti { scroll-margin-block-start: 50px; }
  .foot-framework { width: calc(100% - 24px); }
  .foot-identity { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .foot-bottom { gap: 10px; }
  .foot-motion-toggle { padding-left: 2px; }
}
