.footer.antrino-footer {
  display: block;
  padding: 52px 0 28px;
  background-color: #ffffff;
  color: #1b1e1d;
  font-family: "Antrino Sans", Arial, sans-serif;
}

.antrino-footer .af-main {
  --af-name: clamp(30px, 2.4vw, 40px);
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: center;
  padding-bottom: 36px;
}

.antrino-footer .af-brand,
.antrino-footer .af-nav,
.antrino-footer .af-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.antrino-footer .af-contact,
.antrino-footer .af-nav {
  border-left: 1px solid #1b1e1d;
  margin-left: clamp(32px, 3.6vw, 56px);
  padding-left: clamp(32px, 3.6vw, 56px);
  transform: translateY(calc((10px + var(--af-name)) / -2));
}

.antrino-footer .af-contact {
  display: grid;
  gap: 18px;
  scroll-margin-top: 110px;
}

.antrino-footer .af-contact h2,
.antrino-footer .af-nav h2 {
  margin: 0;
  color: #1b1e1d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.antrino-footer .af-nav h2 {
  margin-bottom: 22px;
}

.antrino-footer .af-logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: clamp(168px, 16vw, 220px);
  gap: 10px;
  color: #1b1e1d;
}

.antrino-footer .af-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0);
}

.antrino-footer .af-logo span {
  display: block;
  margin: 0;
  padding: 0;
  font-size: var(--af-name);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #1b1e1d;
  white-space: nowrap;
}

.antrino-footer a.af-logo:hover,
.antrino-footer a.af-logo:hover span {
  color: #1b1e1d;
}

.antrino-footer a,
.antrino-footer .cookie-settings {
  color: #1b1e1d;
  text-decoration: none;
}

.antrino-footer .af-email {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.antrino-footer .af-nav a {
  padding: 5px 0;
  font-size: 16px;
  line-height: 1.35;
}

.antrino-footer .af-industry-links {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 28px;
}

.antrino-footer .af-industry-links a {
  padding: 5px 0;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

.antrino-footer a.af-demo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 14px;
  border-radius: 4px;
  background-color: #1b1e1d;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(27, 30, 29, 0.22), 0 10px 18px rgba(27, 30, 29, 0.16);
}

.antrino-footer a.af-demo span[aria-hidden] {
  font-family: Arial, Helvetica, sans-serif;
  font-variant-emoji: text;
  font-style: normal;
  line-height: 1;
  color: inherit;
}

.antrino-footer a:hover,
.antrino-footer .cookie-settings:hover {
  color: #4dffd2;
}

.antrino-footer a.af-demo:hover {
  background-color: #4dffd2;
  color: #1b1e1d;
  box-shadow: 0 3px 0 rgba(27, 30, 29, 0.16), 0 12px 20px rgba(27, 30, 29, 0.18);
}

.antrino-footer :is(a, button):focus-visible {
  outline: 2px solid #4dffd2;
  outline-offset: 4px;
}

.antrino-footer .af-bottom,
.antrino-footer .af-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.antrino-footer .af-bottom {
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid #1b1e1d;
  color: #1b1e1d;
  font-size: 14px;
  line-height: 1.5;
}

.antrino-footer .af-legal a,
.antrino-footer .cookie-settings {
  padding: 4px 0;
}

.antrino-footer .cookie-settings {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.antrino-footer .af-copyline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.antrino-footer .af-mini {display: none;}

@media (max-width: 900px) {
  .antrino-footer {padding: 28px 0 24px;}

  .antrino-footer .af-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 28px;
    align-items: start;
    padding-top: 20px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .antrino-footer .af-contact {grid-column: 1; grid-row: 1;}
  .antrino-footer .af-nav:not(.af-industries) {grid-column: 1; grid-row: 2;}
  .antrino-footer .af-industries {grid-column: 2; grid-row: 1 / span 2;}
  .antrino-footer .af-brand {display: none;}

  .antrino-footer .af-contact,
  .antrino-footer .af-nav {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    transform: none;
    gap: 10px;
  }

  .antrino-footer .af-contact h2,
  .antrino-footer .af-nav h2 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(23, 26, 25, 0.7);
  }

  .antrino-footer .af-nav a,
  .antrino-footer .af-email,
  .antrino-footer .af-industry-links a {
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
  }

  .antrino-footer a.af-demo:hover {background-color: #4dffd2; color: #1b1e1d;}

  .antrino-footer .af-email {overflow-wrap: anywhere;}

  .antrino-footer .af-industry-links {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 10px;
  }

  .antrino-footer .af-industry-links a {white-space: normal;}

  .antrino-footer .af-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    border-top: 0;
    padding-top: 0;
    font-size: 15px;
  }

  .antrino-footer .af-copyline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    align-items: center;
    width: 100%;
  }

  .antrino-footer .af-copyline > span {
    justify-self: start;
    line-height: 1;
    white-space: nowrap;
  }

  .antrino-footer .af-mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1b1e1d;
  }

  .antrino-footer .af-mini img {
    width: 36px;
    height: auto;
    filter: brightness(0);
  }

  .antrino-footer .af-mini span {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #1b1e1d;
  }

  .antrino-footer a.af-mini:hover,
  .antrino-footer a.af-mini:hover span {color: #1b1e1d;}

  .antrino-footer .af-legal {gap: 10px 20px;}
}

@media (min-width: 1024px) and (max-width: 1032px) and (orientation: portrait) {
  .antrino-footer .af-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 40px;
    row-gap: 32px;
  }

  .antrino-footer .af-brand {grid-column: 1; grid-row: 1;}

  .antrino-footer .af-contact,
  .antrino-footer .af-nav {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
    transform: none;
  }

  .antrino-footer .af-contact {grid-column: 2; grid-row: 1;}
  .antrino-footer .af-nav:not(.af-industries) {grid-column: 1; grid-row: 2;}
  .antrino-footer .af-industries {grid-column: 2; grid-row: 2;}

  .antrino-footer .af-industry-links {
    grid-template-columns: max-content max-content;
    grid-template-rows: repeat(5, auto);
    column-gap: 22px;
  }
}
