/* =====================================================================
   Atletico Arten — Phase 2 redesign footer (scoped)
   ===================================================================== */

:root {
  --aa-footer-teal: #1d3533;
  --aa-footer-bg: #f9f7f5;
  --aa-footer-muted: #8e9a99;
  --aa-footer-placeholder: #8b9da0;
  --aa-footer-border-input: #d1dadc;
  --aa-footer-orange: #f05d19;
  --aa-footer-maxw: 1440px;
}

.aa-footer {
  background: var(--aa-footer-teal);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 0;
}

.aa-footer a,
.aa-footer a:link,
.aa-footer a:visited {
  color: inherit;
  text-decoration: none;
}

.aa-footer__inner {
  max-width: var(--aa-footer-maxw);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1200px) {
  .aa-footer__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.aa-footer__cols {
  margin-bottom: 24px;
}

.aa-footer__group {
  margin-bottom: 32px;
}

.aa-footer__head {
  margin: 0 0 20px;
  color: var(--aa-footer-bg);
  font-family: "Open Sans", system-ui, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.aa-footer__links,
.aa-footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aa-footer__links li,
.aa-footer__contacts li {
  margin-bottom: 10px;
}

/* Must include :link/:visited — they beat plain `a` and override `.aa-footer a:link { color: inherit }` */
.aa-footer__links a,
.aa-footer__links a:link,
.aa-footer__links a:visited {
  color: var(--aa-footer-muted);
  font-family: "Open Sans", system-ui, Arial, sans-serif;
  font-size: 16px;
}

.aa-footer__links a:hover,
.aa-footer__links a:focus {
  color: #fff;
}

.aa-footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--aa-footer-muted);
  font-family: "Open Sans", system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.aa-footer__contacts svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--aa-footer-muted);
  margin-top: 2px;
}

.aa-footer__contacts a,
.aa-footer__contacts a:link,
.aa-footer__contacts a:visited {
  color: var(--aa-footer-muted);
}

.aa-footer__contacts a:hover,
.aa-footer__contacts a:focus {
  color: #fff;
}

.aa-footer__intro,
.aa-footer__work-time {
  color: var(--aa-footer-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.aa-footer__work-time h4 {
  margin: 0 0 8px;
  color: var(--aa-footer-bg);
  font-size: 16px;
  font-weight: 400;
}

.aa-footer__muted {
  color: var(--aa-footer-muted);
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
}

.aa-footer__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.aa-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.aa-footer .aa-input--footer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--aa-footer-border-input);
  border-radius: 100px;
  padding: 6px 24px;
}

.aa-footer .aa-input--footer input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "Montserrat Alternates", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--aa-footer-teal);
}

.aa-footer .aa-input--footer input::placeholder {
  color: var(--aa-footer-placeholder);
}

.aa-footer .aa-btn--block {
  width: 100%;
}

.aa-social {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

.aa-social--contacts {
  margin-top: 16px;
}

.aa-social a {
  color: #fff;
  opacity: 0.95;
}

.aa-social a:hover,
.aa-social a:focus {
  color: var(--aa-footer-orange, #f15a29);
}

.aa-social svg {
  width: 30px;
  height: 30px;
  display: block;
}

.aa-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 8px;
}

.aa-footer__payments img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.aa-footer__payments img.aa-footer__pay--tall {
  height: 40px;
}

.aa-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--aa-footer-muted);
  font-family: "Open Sans", system-ui, Arial, sans-serif;
  font-size: 14px;
}

.aa-footer__bottom a,
.aa-footer__bottom a:link,
.aa-footer__bottom a:visited {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--aa-footer-muted);
}

.aa-footer__bottom a:hover,
.aa-footer__bottom a:focus {
  color: #fff;
}

.aa-footer__bottom-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 992px) {
  .aa-footer {
    padding-top: 56px;
  }

  .aa-footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
  }

  .aa-footer__bottom-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
  }
}
