.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 22px;
  color: #c9d4e6;
  background: #071833;
}

.site-footer .container-xl { position: relative; z-index: 1; }

.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-wordmark span { color: #e4c56a; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) 230px;
  gap: 36px 28px;
  align-items: start;
}

.footer-lead {
  max-width: 34ch;
  margin: 14px 0 18px;
  color: #b7c5da;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-contact a,
.footer-contact-static {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8eef8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-contact i {
  width: 16px;
  color: #e4c56a;
  text-align: center;
}

.footer-contact a:hover { color: #fff; }

.socials { display: flex; gap: 8px; }

.site-footer .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer .socials a:hover {
  color: #1c1403;
  background: #e4c56a;
  border-color: #e4c56a;
}

.footer-cta {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.footer-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-cta-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 220px;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(7, 18, 40, 0.05) 20%, rgba(7, 18, 40, 0.82) 100%);
}

.footer-cta-copy strong {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #c6a046;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-cta-btn:hover { background: #d4b15a; color: #fff; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}

.footer-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col h3::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #e4c56a;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 4px; }

.footer-col a {
  position: relative;
  display: inline-flex;
  padding: 4px 0;
  color: #c5d2e6;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.3s ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: #e4c56a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-col a:hover::after { transform: scaleX(1); }

.footer-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-trust-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #e4c56a;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-trust div strong { display: block; color: #fff; font-size: 0.92rem; }
.footer-trust div span { display: block; color: #9aabc4; font-size: 0.82rem; line-height: 1.45; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #93a2ba;
  font-size: 0.86rem;
}

.footer-bottom p { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.footer-legal a,
.footer-legal button {
  color: inherit;
  font: inherit;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal button:hover { color: #e4c56a; }

.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline: 2px solid #e4c56a;
  outline-offset: 3px;
}

html.js .site-footer:not(.is-shown) .footer-reveal { opacity: 0; }
html.js .site-footer:not(.is-shown) .footer-sheen { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  html.js .site-footer:not(.is-shown) .footer-reveal { opacity: 1; }
  .footer-col a,
  .footer-contact a,
  .site-footer .socials a { transition: none; }
}

@media (max-width: 1199.98px) {
  .footer-main { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); }
  .footer-cta { grid-column: 1 / -1; max-width: 320px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 767.98px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-trust { grid-template-columns: 1fr; }
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(228, 197, 106, 0.45);
  background: #0b2f6b;
  color: #e4c56a;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 30;
}

.to-top:hover {
  background: #e4c56a;
  color: #1c1403;
  transform: translateY(-2px);
}

.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top.is-on:hover { transform: translateY(-2px); }

.toast-note {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 400;
  max-width: min(90vw, 420px);
}

.toast-note.show { opacity: 1; transform: translateX(-50%) translateY(0); }
