.aam-footer {
  --bg: #ffffff;
  --band: #f1f1f1;
  --surface: #f7fbfc;
  --text: #27383b;
  --muted: #55656a;
  --icon: #27383b;
  --faint: #8da0a6;
  --orange: #ff8d00;
  --teal: #00bf93;
  --teal2: #37ccaa;
  --wa: #61ce70;
  --teal-soft: #d9f7f1;
  --border: #d7edf1;
  --consent-clearance: 28px;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  padding-bottom: var(--consent-clearance);
}

.aam-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.aam-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.aam-footer a:hover {
  color: var(--teal);
}

.aam-footer a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.aam-footer .icon {
  display: block;
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.aam-band {
  background: linear-gradient(95deg, var(--teal), var(--teal2));
  color: #ffffff;
}

.aam-band-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1500px;
  padding: 20px 100px;
}

.aam-band .stars {
  letter-spacing: 3px;
}

.aam-band strong {
  font-size: 16px;
  font-weight: 700;
}

.aam-band a {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
}

.aam-band a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.aam-body {
  display: grid;
  gap: 52px;
  grid-template-columns: 1.45fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1500px;
  padding: 34px 100px;
}

.aam-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.aam-line {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 7px;
}

.aam-wa {
  color: var(--wa);
  font-weight: 700;
}

.aam-col h4 {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.aam-col ul {
  display: grid;
  font-size: 14px;
  gap: 9px;
  list-style: none;
}

.aam-soc {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.aam-soc a {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--icon);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.aam-soc a:hover {
  background: var(--teal-soft);
  color: var(--teal);
}

.aam-soc i {
  font-size: 15px;
  line-height: 1;
}

.aam-bottom {
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1500px;
  padding: 15px 100px;
}

.aam-lang {
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 18px;
  justify-self: start;
}

.aam-legal {
  display: flex;
  flex-wrap: wrap;
  font-size: 12.5px;
  gap: 16px;
  justify-self: center;
}

.aam-cpy {
  color: var(--faint);
  font-size: 12.5px;
  justify-self: end;
}

@media (max-width: 900px) {
  .aam-band-inner,
  .aam-body,
  .aam-bottom {
    padding-left: 40px;
    padding-right: 40px;
  }

  .aam-body {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .aam-footer {
    --consent-clearance: 40px;
  }

  .aam-band-inner {
    justify-content: center;
    padding: 22px 26px;
    text-align: center;
  }

  .aam-band-inner > div,
  .aam-band-inner > a {
    width: 100%;
  }

  .aam-band a {
    display: inline-flex;
    justify-content: center;
    width: auto;
  }

  .aam-body {
    gap: 24px 20px;
    grid-template-columns: 1fr 1fr;
    padding: 28px 24px 26px;
  }

  .aam-body > div:first-child {
    grid-column: 1 / -1;
  }

  .aam-soc {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    justify-content: stretch;
    margin-top: 16px;
  }

  .aam-soc a {
    height: 36px;
    width: 100%;
  }

  .aam-bottom {
    gap: 14px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding-bottom: 18px;
    padding-top: 20px;
    text-align: center;
  }

  .aam-lang,
  .aam-legal,
  .aam-cpy {
    justify-self: center;
  }

  .aam-lang {
    font-size: 14px;
    gap: 20px;
    justify-content: center;
  }

  .aam-legal {
    gap: 8px 16px;
    justify-content: center;
    line-height: 1.6;
    max-width: 340px;
  }

  .aam-cpy {
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding-top: 12px;
    width: 100%;
  }
}

@media (max-width: 359px) {
  .aam-soc {
    grid-template-columns: repeat(4, minmax(0, 44px));
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aam-footer * {
    transition: none;
  }
}
