.sanduq-footer {
  --sanduq-footer-ink: #1b1a17;
  --sanduq-footer-muted: rgba(27, 26, 23, 0.66);
  --sanduq-footer-line: rgba(27, 26, 23, 0.14);
  --sanduq-footer-gold: #a88443;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f2eee6;
  color: var(--sanduq-footer-ink);
  font-family: "Sora", Arial, sans-serif;
}

.sanduq-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sanduq-footer-gold) 22%, var(--sanduq-footer-gold) 78%, transparent);
  opacity: 0.72;
}

.sanduq-footer *,
.sanduq-footer *::before,
.sanduq-footer *::after {
  box-sizing: border-box;
}

.sanduq-footer .container {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
}

.sanduq-footer a {
  color: inherit;
  text-decoration: none;
}

.sanduq-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.62fr) minmax(240px, 0.8fr);
  gap: clamp(48px, 7vw, 112px);
  padding: clamp(68px, 7vw, 96px) 0 clamp(54px, 6vw, 78px);
}

.sanduq-footer__brand {
  max-width: 490px;
}

.sanduq-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 26px;
}

.sanduq-footer__logo img,
.sanduq-footer__logo .footer-logo {
  display: block;
  width: auto;
  max-width: 190px !important;
  max-height: 62px !important;
  object-fit: contain;
}

.sanduq-footer__brand p {
  max-width: 460px;
  margin: 0;
  color: var(--sanduq-footer-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.sanduq-footer__cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 5px 7px 5px 19px;
  border: 1px solid var(--sanduq-footer-ink);
  border-radius: 999px;
  background: var(--sanduq-footer-ink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.sanduq-footer__cta span:last-child {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2eee6;
  color: var(--sanduq-footer-ink);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.sanduq-footer__cta:hover {
  border-color: var(--sanduq-footer-gold);
  background: var(--sanduq-footer-gold);
}

.sanduq-footer__cta:hover span:last-child {
  transform: rotate(45deg);
}

.sanduq-footer__column h2 {
  position: relative;
  margin: 0 0 25px;
  padding-bottom: 14px;
  color: var(--sanduq-footer-ink);
  font-family: "Sora", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sanduq-footer__column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--sanduq-footer-gold);
}

.sanduq-footer__links {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sanduq-footer__links li {
  margin: 0;
  padding: 0;
}

.sanduq-footer__links a,
.sanduq-footer__contact address > a {
  display: inline-block;
  color: var(--sanduq-footer-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sanduq-footer__links a:hover {
  color: var(--sanduq-footer-ink);
  transform: translateX(3px);
}

.sanduq-footer__contact address {
  display: grid;
  gap: 9px;
  margin: 0;
  font-style: normal;
}

.sanduq-footer__contact address > a:hover,
.sanduq-footer__email:hover {
  color: var(--sanduq-footer-gold);
}

.sanduq-footer__contact .sanduq-footer__email {
  margin-top: 4px;
  color: var(--sanduq-footer-ink);
  font-family: "Instrument Serif", "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.sanduq-footer__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.sanduq-footer__socials > a {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 10px;
  border: 1px solid var(--sanduq-footer-line);
  border-radius: 999px;
  color: var(--sanduq-footer-muted);
  font-size: 11px;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sanduq-footer__socials > a:hover {
  border-color: var(--sanduq-footer-ink);
  background: var(--sanduq-footer-ink);
  color: #fff;
}

.sanduq-footer__socials i {
  font-size: 12px !important;
}

.sanduq-footer__bottom {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--sanduq-footer-line);
  color: rgba(27, 26, 23, 0.56);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.sanduq-footer__bottom > a:hover,
.sanduq-footer__policies a:hover,
.sanduq-footer__credit a:hover {
  color: var(--sanduq-footer-ink);
}

.sanduq-footer__policies {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sanduq-footer__credit {
  margin-left: auto;
  text-align: right;
}

.sanduq-footer__top {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--sanduq-footer-line);
  border-radius: 50%;
  color: var(--sanduq-footer-ink) !important;
  font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sanduq-footer__top:hover {
  border-color: var(--sanduq-footer-ink);
  background: var(--sanduq-footer-ink);
  color: #fff !important;
}

@media (max-width: 900px) {
  .sanduq-footer .container {
    width: min(100% - 40px, 720px);
  }

  .sanduq-footer__main {
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
    gap: 52px 42px;
  }

  .sanduq-footer__contact {
    grid-column: 1 / -1;
    padding-top: 36px;
    border-top: 1px solid var(--sanduq-footer-line);
  }

  .sanduq-footer__contact address {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 36px;
  }

  .sanduq-footer__contact .sanduq-footer__email {
    grid-column: 1 / -1;
  }

  .sanduq-footer__bottom {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 22px 0;
  }

  .sanduq-footer__credit {
    margin-left: 0;
  }

  .sanduq-footer__top {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .sanduq-footer .container {
    width: calc(100% - 32px);
  }

  .sanduq-footer__main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 56px 0 42px;
  }

  .sanduq-footer__brand {
    padding-bottom: 38px;
  }

  .sanduq-footer__column {
    padding: 34px 0;
    border-top: 1px solid var(--sanduq-footer-line);
  }

  .sanduq-footer__contact {
    grid-column: auto;
  }

  .sanduq-footer__contact address {
    grid-template-columns: 1fr;
  }

  .sanduq-footer__contact .sanduq-footer__email {
    grid-column: auto;
  }

  .sanduq-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding: 24px 0 28px;
  }

  .sanduq-footer__policies {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
  }

  .sanduq-footer__credit {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: left;
  }

  .sanduq-footer__top {
    grid-column: 2;
    grid-row: 1;
  }
}
