/* =========================================
   SWAGABILITY SIGNATURE FOOTER
   Replace the complete old footer CSS
========================================== */

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

.sa-footer {
  --sa-ink: #1d1c19;
  --sa-text: #59564f;
  --sa-muted: #8d887e;
  --sa-faint: #aaa49a;

  --sa-ivory: #f4f1e9;
  --sa-cream: #faf8f3;
  --sa-white: #ffffff;
  --sa-champagne: #c9ad83;
  --sa-champagne-dark: #9a794e;

  --sa-border: rgba(35, 33, 28, 0.1);
  --sa-border-strong: rgba(35, 33, 28, 0.16);

  position: relative;
  width: 100%;
  padding: clamp(8px, 1.5vw, 20px);
  overflow: hidden;
  color: var(--sa-ink);
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(227, 209, 177, 0.4),
      transparent 31%
    ),
    radial-gradient(
      circle at 95% 20%,
      rgba(199, 220, 215, 0.38),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #faf8f2 0%,
      #f0ede5 100%
    );
  font-family:
    Inter,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

/* Decorative background grain */

.sa-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image:
    radial-gradient(
      rgba(28, 27, 24, 0.12) 0.45px,
      transparent 0.45px
    );
  background-size: 8px 8px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 25%,
      black 75%,
      transparent
    );
}

.sa-footer__container {
  position: relative;
  z-index: 1;
  width: min(100%, 1380px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--sa-border);
  border-radius: clamp(18px, 2.2vw, 30px);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(250, 248, 243, 0.72)
    );
  box-shadow:
    0 30px 80px rgba(64, 55, 40, 0.08),
    0 3px 10px rgba(64, 55, 40, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* =========================================
   TOP STRIP
========================================== */

.sa-footer__strip {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(22px, 4vw, 52px);
  border-bottom: 1px solid var(--sa-border);
}

.sa-footer__strip p {
  margin: 0;
  color: var(--sa-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sa-footer__availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #58715e;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sa-footer__availability-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #6d9a76;
  box-shadow: 0 0 0 4px rgba(109, 154, 118, 0.12);
}

.sa-footer__availability-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(109, 154, 118, 0.3);
  border-radius: inherit;
  animation: saFooterPulse 2.8s ease-out infinite;
}

/* =========================================
   MAIN GRID
========================================== */

.sa-footer__main {
  display: grid;
  grid-template-columns:
    minmax(300px, 1.35fr)
    minmax(280px, 0.9fr)
    minmax(285px, 0.88fr);
  gap: clamp(35px, 5vw, 76px);
  align-items: start;
  padding:
    clamp(38px, 5vw, 68px)
    clamp(22px, 4vw, 52px)
    clamp(34px, 4.5vw, 58px);
}

/* =========================================
   BRAND
========================================== */

.sa-footer__brand-column {
  max-width: 520px;
}

.sa-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.sa-footer__monogram {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(112, 84, 48, 0.14);
  border-radius: 13px;
  color: #44331e;
  background:
    linear-gradient(
      145deg,
      #f6ecdc 0%,
      #e4ceab 100%
    );
  box-shadow:
    0 10px 25px rgba(80, 59, 32, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.sa-footer__monogram::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -90%;
  width: 65%;
  height: 200%;
  transform: rotate(24deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.65),
      transparent
    );
  transition: left 650ms ease;
}

.sa-footer__brand:hover .sa-footer__monogram::before {
  left: 130%;
}

.sa-footer__monogram span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.sa-footer__brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sa-footer__brand-name strong {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.sa-footer__brand-name small {
  color: var(--sa-muted);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sa-footer__brand-column h2 {
  max-width: 510px;
  margin: clamp(26px, 3vw, 39px) 0 0;
  color: var(--sa-ink);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 520;
  line-height: 1.07;
  letter-spacing: -0.052em;
}

.sa-footer__brand-column h2 span {
  display: block;
  color: #aaa39a;
}

.sa-footer__brand-description {
  max-width: 465px;
  margin: 18px 0 0;
  color: var(--sa-text);
  font-size: 11px;
  line-height: 1.78;
}

/* =========================================
   NAVIGATION
========================================== */

.sa-footer__navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 3vw, 48px);
}

.sa-footer__label {
  display: block;
  color: var(--sa-faint);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.sa-footer__link-group nav {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.sa-footer__link-group a {
  position: relative;
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(35, 33, 28, 0.07);
  color: #59564f;
  font-size: 10px;
  font-weight: 620;
  text-decoration: none;
  transition:
    padding 250ms ease,
    color 250ms ease,
    border-color 250ms ease;
}

.sa-footer__link-group a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 4px;
  transform: scale(0);
  border-radius: 50%;
  background: var(--sa-champagne-dark);
  transition: transform 250ms ease;
}

.sa-footer__link-group a span:last-child {
  color: #b0aaa1;
  font-size: 7px;
  font-weight: 700;
  transition: color 250ms ease;
}

.sa-footer__link-group a:hover {
  padding-left: 12px;
  border-color: rgba(154, 121, 78, 0.24);
  color: var(--sa-ink);
}

.sa-footer__link-group a:hover::before {
  transform: scale(1);
}

.sa-footer__link-group a:hover span:last-child {
  color: var(--sa-champagne-dark);
}

/* =========================================
   PREMIUM CTA
========================================== */

.sa-footer__cta {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid rgba(42, 39, 33, 0.1);
  border-radius: 21px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(221, 202, 168, 0.35),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.94),
      rgba(246, 242, 234, 0.78)
    );
  box-shadow:
    0 18px 45px rgba(62, 51, 34, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.sa-footer__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(154, 121, 78, 0.4),
      transparent
    );
}

.sa-footer__cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sa-footer__cta-icon {
  width: 17px;
  height: 17px;
  color: #99836a;
}

.sa-footer__cta h3 {
  margin: 27px 0 0;
  color: #27251f;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 570;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sa-footer__cta > p {
  margin: 13px 0 0;
  color: var(--sa-text);
  font-size: 10px;
  line-height: 1.7;
}

.sa-footer__cta-button {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  margin-top: 24px;
  padding: 5px 6px 5px 18px;
  border: 1px solid #1e1e1a;
  border-radius: 14px;
  color: #ffffff;
  background: #1d1d1a;
  text-decoration: none;
  box-shadow:
    0 12px 26px rgba(29, 29, 26, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms ease,
    background-color 300ms ease;
}

.sa-footer__cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  transform: skewX(-22deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent
    );
  transition: left 650ms ease;
}

.sa-footer__cta-button > span {
  position: relative;
  z-index: 1;
}

.sa-footer__cta-button > span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sa-footer__button-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 10px;
  color: #302b23;
  background: #eadbc3;
}

.sa-footer__button-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 250ms ease;
}

.sa-footer__cta-button:hover {
  transform: translateY(-3px);
  background: #292824;
  box-shadow:
    0 19px 35px rgba(29, 29, 26, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sa-footer__cta-button:hover::before {
  left: 145%;
}

.sa-footer__cta-button:hover .sa-footer__button-arrow svg {
  transform: translateX(3px);
}

/* =========================================
   BOTTOM BAR
========================================== */

.sa-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  min-height: 61px;
  padding: 13px clamp(22px, 4vw, 52px);
  border-top: 1px solid var(--sa-border);
}

.sa-footer__bottom p {
  margin: 0;
  color: #99938a;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.sa-footer__bottom p span {
  margin-left: 6px;
}

.sa-footer__signature {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(39, 36, 30, 0.26);
  font-size: 7px;
  font-weight: 820;
  letter-spacing: 0.28em;
}

.sa-footer__signature span {
  width: 22px;
  height: 1px;
  background: rgba(39, 36, 30, 0.11);
}

.sa-footer__top-link {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  color: #777168;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.sa-footer__top-link svg {
  width: 14px;
  height: 14px;
  transition: transform 250ms ease;
}

.sa-footer__top-link:hover svg {
  transform: translateY(-3px);
}

/* =========================================
   ACCESSIBILITY
========================================== */

.sa-footer a:focus-visible {
  outline: 2px solid rgba(154, 121, 78, 0.58);
  outline-offset: 4px;
}

/* =========================================
   SMALL LAPTOPS AND LANDSCAPE TABLETS
========================================== */

@media (max-width: 1100px) {
  .sa-footer__main {
    grid-template-columns:
      minmax(280px, 1.1fr)
      minmax(260px, 0.9fr);
    gap: 45px;
  }

  .sa-footer__brand-column {
    max-width: 580px;
  }

  .sa-footer__cta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
    align-items: center;
  }

  .sa-footer__cta-top {
    grid-column: 1 / -1;
  }

  .sa-footer__cta h3 {
    margin-top: 23px;
  }

  .sa-footer__cta > p {
    max-width: 600px;
  }

  .sa-footer__cta-button {
    grid-column: 2;
    grid-row: 2 / 4;
    width: min(100%, 260px);
    min-width: 240px;
    margin-top: 22px;
  }
}

/* =========================================
   PORTRAIT TABLETS / IPADS
========================================== */

@media (max-width: 820px) {
  .sa-footer__main {
    grid-template-columns: 1fr;
    gap: 37px;
    padding-top: 44px;
  }

  .sa-footer__brand-column {
    max-width: 650px;
  }

  .sa-footer__brand-column h2 {
    max-width: 600px;
  }

  .sa-footer__navigation {
    max-width: 620px;
  }

  .sa-footer__cta {
    grid-column: auto;
  }
}

/* =========================================
   MOBILE
========================================== */

@media (max-width: 620px) {
  .sa-footer {
    padding: 8px;
  }

  .sa-footer__container {
    border-radius: 20px;
  }

  .sa-footer__strip {
    min-height: 42px;
    padding: 10px 19px;
  }

  .sa-footer__strip p {
    display: none;
  }

  .sa-footer__availability {
    width: 100%;
    justify-content: center;
    font-size: 7px;
  }

  .sa-footer__main {
    gap: 31px;
    padding: 34px 20px 27px;
  }

  .sa-footer__brand-column h2 {
    margin-top: 27px;
    font-size: clamp(26px, 8.8vw, 37px);
  }

  .sa-footer__brand-description {
    font-size: 10px;
  }

  .sa-footer__navigation {
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    padding-top: 27px;
    border-top: 1px solid var(--sa-border);
  }

  .sa-footer__cta {
    display: block;
    padding: 22px;
  }

  .sa-footer__cta h3 {
    font-size: 23px;
  }

  .sa-footer__cta-button {
    width: 100%;
    min-width: 0;
    margin-top: 21px;
  }

  .sa-footer__bottom {
    grid-template-columns: 1fr auto;
    min-height: 57px;
    padding: 13px 20px;
  }

  .sa-footer__bottom p span,
  .sa-footer__signature {
    display: none;
  }
}

/* =========================================
   SMALL MOBILE
========================================== */

@media (max-width: 390px) {
  .sa-footer__main {
    padding-inline: 17px;
  }

  .sa-footer__navigation {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sa-footer__link-group nav {
    margin-top: 12px;
  }

  .sa-footer__cta {
    padding: 20px 17px 17px;
  }

  .sa-footer__bottom {
    padding-inline: 17px;
  }

  .sa-footer__bottom p {
    max-width: 155px;
    line-height: 1.5;
  }
}

/* =========================================
   LARGE SCREENS
========================================== */

@media (min-width: 1500px) {
  .sa-footer__main {
    grid-template-columns:
      minmax(360px, 1.4fr)
      minmax(310px, 0.85fr)
      minmax(310px, 0.8fr);
  }
}

/* =========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .sa-footer *,
  .sa-footer *::before,
  .sa-footer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   DEVICES WITHOUT HOVER
========================================== */

@media (hover: none) {
  .sa-footer__brand:hover .sa-footer__monogram::before {
    left: -90%;
  }

  .sa-footer__link-group a:hover {
    padding-left: 0;
  }

  .sa-footer__link-group a:hover::before {
    transform: scale(0);
  }

  .sa-footer__cta-button:hover {
    transform: none;
  }
}