/* Footer styles extracted from main.css (owa-footer*) */

/* Self-contained .wrap so the footer centers correctly on pages
   that load footer.css without main.css (e.g. account/profile). */
.owa-footer .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2.4vw, 16px);
}

.owa-footer {
  margin-top: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #e6edf9;
  background: #2f3135;
  border-top: 0;
  position: relative;
  z-index: 0;
  box-shadow: 0 22px 0 #292b2f;
}

.owa-footer__main {
  padding: 38px 0 30px;
}

.owa-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.owa-footer h3 {
  margin: 0 0 16px;
  color: #f6f8fc;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.owa-footer h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #d10f15;
  margin-right: 10px;
  vertical-align: -2px;
}

.owa-footer p {
  margin: 0;
  color: #d2d8e2;
  font-size: 15px;
  line-height: 1.65;
}

.owa-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  order: 4;
  justify-content: flex-start;
}

.owa-footer__badges span {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #f3f7ff;
}

.owa-footer__trust-logos {
  width: 100%;
  margin-top: 14px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  order: 3;
}

.owa-footer__trust-logo {
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
  box-sizing: border-box;
}

.owa-footer__trust-logo img,
.owa-footer__trust-logo svg {
  display: block;
  width: auto;
  max-width: 158px;
  max-height: 28px;
  object-fit: contain;
}

.owa-footer__trust-logo--rnt {
  min-width: 92px;
  width: 92px;
  height: 34px;
  padding: 5px 8px;
  display: grid;
  place-items: center;
}

.owa-footer__trust-logo--cch {
  min-width: 156px;
  width: 156px;
  height: 34px;
  padding: 5px 8px;
}

.owa-footer__trust-logo--cch img,
.owa-footer__trust-logo--cch svg {
  width: 108px;
  max-width: 108px;
  height: auto;
  max-height: 24px;
}

.owa-footer__trust-logo--rnt svg {
  width: 68px;
  max-width: 68px;
  height: auto;
  max-height: 22px;
  margin: 0 auto;
}

.owa-footer__list,
.owa-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.owa-footer__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e5ecf8;
  font-size: 15px;
  line-height: 1.5;
}

.owa-footer__list i {
  color: #ff6a5c;
  font-size: 17px;
}

.owa-footer__links a {
  color: #e3ebf9;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.owa-footer__links a:hover {
  color: #ff8c82;
}

.owa-footer__subscribe {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.owa-footer__subscribe input {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  background: #f2f4f8;
  color: #1f2937;
  padding: 12px 14px;
  font-size: 14px;
}

.owa-footer__subscribe button {
  border: 0;
  background: #ff6a5c;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
  text-transform: uppercase;
}

.owa-footer__subscribe button:hover {
  background: #ff5a4b;
}

.owa-footer__payment-logos {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.owa-footer__payment-message {
  width: 100%;
  margin: 12px 0 0 !important;
  color: #f3f4f6 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  letter-spacing: .02em;
}

.owa-footer__payment-message i {
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
}

.owa-footer__payment-logo {
  height: 30px;
  min-width: 44px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.owa-footer__payment-logo img,
.owa-footer__payment-logo svg {
  display: block;
  max-width: 100%;
  max-height: 18px;
  width: auto;
  object-fit: contain;
}

.owa-footer__payment-logo--wide {
  min-width: 86px;
}

.owa-footer .newsletter-status {
  min-height: 0;
  margin: 2px 0 0;
  font-size: 14px;
}

.owa-footer__grid>section:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.owa-footer__grid>section:first-child h3,
.owa-footer__grid>section:first-child p,
.owa-footer__grid>section:first-child .owa-footer__badges,
.owa-footer__grid>section:first-child .owa-footer__trust-logos {
  width: 100%;
}

.owa-footer__grid>section:first-child h3 {
  order: 1;
}

.owa-footer__grid>section:first-child p {
  order: 2;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  overflow-wrap: break-word;
  word-spacing: 0;
  letter-spacing: 0;
  font-size: 15px;
  line-height: 1.65;
}

.owa-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #292b2f;
}

.owa-footer__bottomRow {
  max-width: 1320px;
  display: grid;
  grid-template-columns: max-content 160px max-content;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
}

.owa-footer__miniLinks {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.owa-footer__miniLinks a {
  color: #d7dee8;
  font-size: 12px;
}

.owa-footer__miniLinks a:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: rgba(255, 255, 255, .35);
}

.owa-footer__brandLogo {
  width: 160px;
  height: 50px;
  display: block;
  justify-self: center;
  background: url("/static/img/Logo%20Owa.png") center center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.owa-footer__bottom p {
  margin: 0;
  justify-self: end;
  text-align: right;
  color: #d2d8e2;
  font-size: 12px;
  line-height: 1.45;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .owa-footer__bottomRow {
    grid-template-columns: 1fr;
    padding: 14px 0;
    text-align: center;
  }
  .owa-footer__miniLinks {
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
  }
  .owa-footer__bottom p {
    justify-self: center;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .owa-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .owa-footer {
    box-shadow: none;
  }
  .owa-footer__main {
    display: none;
  }
  .owa-footer__bottom {
    background: #292b2f;
  }
  .owa-footer__bottomRow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 22px;
  }
  .owa-footer__miniLinks {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: center;
    white-space: normal;
  }
  .owa-footer__miniLinks a {
    font-size: 12px;
    line-height: 1.25;
  }
  .owa-footer__miniLinks a:not(:last-child)::after {
    content: none;
  }
  .owa-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .owa-footer h3 {
    font-size: 20px;
  }
  .owa-footer p,
  .owa-footer__list li,
  .owa-footer__links a {
    font-size: 15px;
  }
  .owa-footer__brandLogo {
    width: 128px;
    height: 40px;
  }
  .owa-footer__bottom p {
    max-width: 300px;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: center;
  }
  .owa-footer__grid>section:first-child {
    align-items: center;
  }
}

.owa-footer.reveal-on-scroll {
  transform: translateY(-26px);
}
