.so-footer--refit {
  --footer-paper: #f8f3ee;
  --footer-ink: #23191b;
  --footer-text: #fff9f4;
  --footer-subtle: #dccdcc;
  --footer-line: #f7e5df31;
  --footer-blush: #efadb2;
  background: var(--footer-ink);
  color: var(--footer-text);
}

.so-footer--refit .so-footer-wrap {
  width: min(calc(100% - var(--so-gutter) * 2), 1512px);
  margin-inline: auto;
}

.so-footer--refit a:hover { color: var(--footer-blush); }
.so-footer--refit :is(a, button, input, summary):focus-visible {
  outline: 2px solid var(--footer-blush);
  outline-offset: 3px;
}

.so-footer--refit .so-footer-services {
  background: var(--footer-paper);
  color: var(--footer-ink);
  border-block: 1px solid #e9ddd7;
}

.so-footer--refit .so-footer-services nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.so-footer--refit .so-footer-services a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(10px, 1.25vw, 20px);
  align-items: center;
  padding: clamp(15px, 2.25vw, 30px) clamp(12px, 2.65vw, 40px);
  font-size: clamp(.83rem, 1.21vw, 1.03rem);
  font-weight: 740;
  line-height: 1.25;
}

.so-footer--refit .so-footer-services a + a { border-inline-start: 1px solid #e9ddd7; }
.so-footer--refit .so-footer-services a:hover { background: #f2e8e3; color: #852626; }
.so-footer--refit .so-footer-services a:focus-visible { outline-color: #852626; outline-offset: -3px; }
.so-footer--refit .so-footer-service-icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid #dccac4;
  border-radius: 50%;
  color: #852626;
}
.so-footer--refit .so-footer-service-icon .so-icon { width: 19px; height: 19px; }
.so-footer--refit .so-footer-services a > .so-icon { width: 16px; height: 16px; color: #852626; }
[dir='rtl'] .so-footer--refit .so-footer-services a > .so-icon { transform: scaleX(-1); }

.so-footer--refit .so-footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .83fr);
  gap: clamp(25px, 6vw, 92px);
  align-items: center;
  padding-block: clamp(34px, 6vw, 74px) clamp(28px, 4vw, 58px);
}

.so-footer--refit .so-footer-home { display: inline-block; }
.so-footer--refit .so-footer-home img {
  width: clamp(142px, 18vw, 236px);
  height: auto;
}
.so-footer--refit .so-footer-identity p {
  margin: 12px 0 8px;
  color: var(--footer-subtle);
  font-size: .83rem;
}
.so-footer--refit .so-footer-socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-inline-start: -8px;
}
.so-footer--refit .so-footer-socials a {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  color: var(--footer-text);
  text-decoration: none;
}
.so-footer--refit .so-footer-socials .so-social-icon { inline-size: 22px; block-size: 22px; }
.so-footer--refit .so-footer-socials a:hover { color: var(--footer-blush); }
.so-footer--refit .so-footer-socials a:focus-visible { outline: 2px solid var(--footer-blush); outline-offset: -3px; }

.so-footer--refit .so-footer-newsletter {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 520px;
  padding: 0;
  margin: 0;
  text-align: start;
}
.so-footer--refit .so-footer-newsletter h2 {
  margin: 0 0 8px;
  color: var(--footer-text);
  font-size: clamp(1.45rem, 2.6vw, 2.48rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.042em;
}
[dir='rtl'] .so-footer--refit .so-footer-newsletter h2 { letter-spacing: normal; }
.so-footer--refit .so-footer-newsletter > p { color: var(--footer-subtle); margin-block-end: 16px; }
.so-footer--refit .so-newsletter-fields {
  gap: 9px;
  padding: 3px;
  padding-inline-start: 13px;
  border: 1px solid #9c8888;
  border-radius: 4px;
}
.so-footer--refit .so-newsletter-fields > .so-icon { margin: 0; color: var(--footer-subtle); }
.so-footer--refit .so-newsletter-fields input[type='email'] { padding-inline: 0 5px; color: var(--footer-text); }
.so-footer--refit .so-newsletter-fields input::placeholder { color: var(--footer-subtle); }
[dir='rtl'] .so-footer--refit .so-newsletter-fields input:placeholder-shown { text-align: right; }
.so-footer--refit .so-newsletter-fields button {
  background: #f6e8e6;
  color: #732121;
  border-radius: 2px;
}
.so-footer--refit .so-newsletter-fields button:hover { background: #fff6f0; color: #571919; }
.so-footer--refit .so-newsletter-note { color: var(--footer-subtle); line-height: 1.55; text-align: start; }
.so-footer--refit .so-newsletter-note a { text-decoration: underline; }
.so-footer--refit .so-newsletter-status { color: var(--footer-text); text-align: start; }

.so-footer--refit .so-footer-navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px clamp(15px, 4vw, 66px);
  padding-block: clamp(25px, 3.4vw, 50px);
  border-block: 1px solid var(--footer-line);
}
.so-footer--refit .so-footer-group summary { font-weight: 760; color: var(--footer-text); }
.so-footer--refit .so-footer-group nav a { color: var(--footer-subtle); line-height: 1.5; }
.so-footer--refit .so-footer-group nav a:hover { color: var(--footer-blush); text-decoration: underline; }

.so-footer--refit .so-footer-utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 26px;
  padding-block: 19px;
}
.so-footer--refit .so-footer-region { flex-wrap: wrap; }
.so-footer--refit .so-footer-region-box {
  min-height: 42px;
  color: var(--footer-text);
  border-color: #9c8888;
  font-size: .83rem;
}
.so-footer--refit .so-footer-language nav {
  z-index: 1;
  padding: 3px 10px;
  background: #382a2d;
  border: 1px solid #9c8888;
}
.so-footer--refit .so-footer-language nav a { min-height: 40px; }
.so-footer--refit .so-footer-payments:not(:empty) { padding: 0; text-align: start; }
.so-footer--refit .so-payment-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; }
.so-footer--refit .so-payment-marks p { margin: 0; }
.so-footer--refit .so-payment-marks p span { color: var(--footer-subtle); white-space: nowrap; }
.so-footer--refit .so-payment-marks ul { gap: 5px; }
.so-footer--refit .so-payment-marks li { display: grid; place-items: center; background: #fff; border-radius: 2px; inline-size: 43px; block-size: 29px; }
.so-footer--refit .so-payment-marks img { width: 37px; height: 23px; }

.so-footer--refit .so-footer-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 63px;
  padding-block: 12px;
  border-block-start: 1px solid var(--footer-line);
}
.so-footer--refit .so-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 19px;
  color: var(--footer-subtle);
  font-size: .75rem;
}
.so-footer--refit .so-footer-legal a { text-decoration: underline; }
.so-footer--refit .so-footer-credit {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--footer-subtle);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.so-footer--refit .so-footer-credit:hover { color: var(--footer-text); }
.so-footer--refit .so-footer-credit img { flex: none; height: auto; opacity: 1; filter: none; }
.so-footer--refit .so-footer-credit img:first-of-type { width: 15px; }
.so-footer--refit .so-footer-credit img:last-of-type { width: 92px; }

@media (max-width: 991px) {
  .so-footer--refit .so-footer-navigation { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0; }
  .so-footer--refit .so-footer-group { border-color: var(--footer-line); }
  .so-footer--refit .so-footer-group:last-child { border: 0; }
}
@media (max-width: 650px) {
  .so-footer--refit .so-footer-services .so-footer-wrap { width: 100%; }
  .so-footer--refit .so-footer-services a { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 7px; padding: 13px 5px; text-align: center; font-size: .73rem; }
  .so-footer--refit .so-footer-service-icon { inline-size: 32px; block-size: 32px; }
  .so-footer--refit .so-footer-service-icon .so-icon { width: 15px; height: 15px; }
  .so-footer--refit .so-footer-services a > .so-icon { display: none; }
  .so-footer--refit .so-footer-lead {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 26px;
    padding-block: 35px 23px;
  }
  .so-footer--refit .so-footer-identity { text-align: center; }
  .so-footer--refit .so-footer-home img { width: clamp(142px, 42vw, 178px); }
  .so-footer--refit .so-footer-identity p { margin-block: 8px 2px; }
  .so-footer--refit .so-footer-socials { justify-content: center; margin-inline-start: 0; }

  .so-footer--refit .so-footer-group summary { font-weight: 680; }
  .so-footer--refit .so-footer-toggle { color: var(--footer-subtle); }
  .so-footer--refit .so-footer-group nav a { min-height: 44px; }

  .so-footer--refit .so-footer-newsletter {
    width: min(100%, 420px);
    margin-inline: auto;
    text-align: center;
  }
  .so-footer--refit .so-footer-wrap > .so-footer-newsletter { padding-block: 31px 25px; }
  .so-footer--refit .so-footer-newsletter h2 { font-size: 1.38rem; }
  .so-footer--refit .so-footer-newsletter .so-newsletter-form { text-align: start; }
  .so-footer--refit .so-footer-newsletter :is(.so-newsletter-note, .so-newsletter-status) { text-align: center; }

  .so-footer--refit .so-footer-utility {
    flex-direction: column;
    gap: 19px;
    padding-block: 22px;
    border-block-start: 1px solid var(--footer-line);
  }
  .so-footer--refit .so-footer-region { justify-content: center; }
  .so-footer--refit .so-footer-payments:not(:empty) { text-align: center; }
  .so-footer--refit .so-payment-marks { flex-direction: column; gap: 8px; }
  .so-footer--refit .so-payment-marks ul { justify-content: center; gap: 7px; }

  .so-footer--refit .so-footer-end {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding-block: 16px 21px;
    text-align: center;
  }
  .so-footer--refit .so-footer-legal { justify-content: center; }
  .so-footer--refit .so-footer-credit { min-height: 44px; }
  .so-footer--refit .so-footer-credit img:first-of-type { width: 14px; }
  .so-footer--refit .so-footer-credit img:last-of-type { width: 86px; }
}
