/* Site footer - cinematic dark luxury (sf-footer) */

.site-footer.sf-footer {
  --sf-ft-bg: #050506;
  --sf-ft-surface: rgba(18, 18, 22, 0.9);
  --sf-ft-border: rgba(255, 255, 255, 0.08);
  --sf-ft-gold: #c4a574;
  --sf-ft-accent: #e9204f;
  --sf-ft-text: #f4f4f5;
  --sf-ft-muted: rgba(255, 255, 255, 0.58);
  --sf-ft-ease: cubic-bezier(0.22, 0.9, 0.22, 1);
  position: relative;
  background: var(--sf-ft-bg) !important;
  color: var(--sf-ft-text) !important;
  padding: 0 !important;
  margin-top: 0 !important;
  border-top: none !important;
  overflow: hidden;
  isolation: isolate;
}

.site-footer.sf-footer .uk-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Hide legacy footer structure if present */
.site-footer.sf-footer .footer-top {
  display: none !important;
}

.sf-footer__grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

.sf-footer__glow {
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
}

.sf-footer__glow--gold {
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(70vw, 600px);
  height: 200px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.15), transparent 70%);
}

.sf-footer__glow--accent {
  bottom: -30%;
  right: -5%;
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  background: radial-gradient(circle, rgba(233, 32, 79, 0.1), transparent 70%);
}

.sf-footer__container {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-footer.sf-footer {
  --sf-ft-container: min(1140px, calc(100vw - 2.5rem));
  --sf-ft-viewport-inset: max(0px, calc((100vw - var(--sf-ft-container)) / 2));
  --sf-ft-create-offset: 1.25rem;
  --sf-ft-create-width: 12.75rem;
  --sf-ft-social-gap: 1.35rem;
  --sf-ft-glass-bg: rgba(12, 12, 16, 0.55);
  --sf-ft-glass-border: rgba(196, 165, 116, 0.35);
  --sf-ft-glow: rgba(196, 165, 116, 0.45);
  --sf-ft-amber: #e8b86d;
  --sf-ft-mobile-clear: 0px;
  --sf-ft-mobile-left-gutter: 0px;
  --sf-ft-mobile-right-gutter: 0px;
}

/* Top CTA band */
.sf-footer__cta {
  border-bottom: 1px solid var(--sf-ft-border);
  background: linear-gradient(
    180deg,
    rgba(196, 165, 116, 0.06) 0%,
    transparent 100%
  );
}

.sf-footer__cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.sf-footer__cta-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sf-ft-gold);
  margin: 0 0 8px;
}

.sf-footer__cta-title {
  font-family: var(--sf-font-display, 'Jost', sans-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--sf-ft-text);
  margin: 0;
  line-height: 1.3;
}

.sf-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.35s var(--sf-ft-ease),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.sf-footer__btn--primary {
  background: linear-gradient(135deg, var(--sf-ft-accent), #b81842);
  color: #fff !important;
  border: 1px solid transparent;
  box-shadow: 0 8px 28px rgba(233, 32, 79, 0.35);
}

.sf-footer__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(233, 32, 79, 0.45);
  color: #fff !important;
}

.sf-footer__btn--outline {
  background: transparent;
  color: var(--sf-ft-gold) !important;
  border: 1px solid rgba(196, 165, 116, 0.45);
}

.sf-footer__btn--outline:hover {
  background: rgba(196, 165, 116, 0.08);
  border-color: var(--sf-ft-gold);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Main columns */
.sf-footer__main {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.sf-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

@media (min-width: 720px) {
  .sf-footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 2rem;
  }
}

.sf-footer__logo {
  font-family: var(--sf-font-display, 'Jost', sans-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--sf-ft-text) !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.sf-footer__logo:hover {
  color: var(--sf-ft-gold) !important;
}

.sf-footer__tagline {
  font-size: 0.9rem;
  color: var(--sf-ft-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  max-width: 36ch;
}

.sf-footer__studio-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  max-width: 40ch;
}

.sf-footer__col-title {
  font-family: var(--sf-font-display, 'Jost', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sf-ft-gold);
  margin: 0 0 14px;
  font-weight: 600;
}

.sf-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-footer__links li {
  margin-bottom: 10px;
}

.sf-footer__links a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease, padding-left 0.25s var(--sf-ft-ease);
}

.sf-footer__links a:hover {
  color: var(--sf-ft-gold) !important;
  padding-left: 4px;
}

.sf-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--sf-ft-muted);
}

.sf-footer__contact i {
  color: var(--sf-ft-gold);
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.sf-footer__contact a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.sf-footer__contact a:hover {
  color: var(--sf-ft-gold) !important;
}

/* Bottom bar */
.sf-footer__bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 1.25rem;
  padding-bottom: 0.35rem;
  border-top: 1px solid var(--sf-ft-border);
  position: relative;
  min-height: 5.25rem;
  overflow: visible;
}

.sf-footer__bar-start {
  flex: 1 1 auto;
  min-width: 0;
}

.sf-footer__bar-end {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  z-index: 2;
}

/* Align social row with viewport-fixed "Let's Create" - sit below divider, not centered on it */
@media (min-width: 720px) {
  .sf-footer__bar {
    align-items: center;
  }

  .sf-footer__bar-start {
    align-self: center;
    padding-right: 1rem;
  }

  .sf-footer__bar-end {
    position: absolute;
    top: 1.35rem;
    bottom: auto;
    right: calc(var(--sf-ft-create-offset) - var(--sf-ft-viewport-inset));
    margin-left: 0;
    transform: none;
  }

  body:has(#sf-create-widget) .site-footer.sf-footer .sf-footer__bar-end {
    right: calc(
      var(--sf-ft-create-offset) - var(--sf-ft-viewport-inset) + var(--sf-ft-create-width) +
        var(--sf-ft-social-gap)
    );
    transform: none;
  }
}

.sf-footer__copyright {
  margin: 0 !important;
  flex: 0 1 auto;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
  line-height: 1.5;
}

.sf-footer__copyright a {
  color: var(--sf-ft-gold) !important;
  text-decoration: none;
}

/* Premium social cluster - glass tray + neon gold accents */
.sf-footer__social-cluster {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(196, 165, 116, 0.12) 0%, rgba(10, 10, 14, 0.4) 42%, rgba(8, 8, 12, 0.65) 100%);
  border: 1px solid rgba(196, 165, 116, 0.22);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(196, 165, 116, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sf-footer__social-cluster::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(232, 184, 109, 0.55) 0%,
    rgba(196, 165, 116, 0.15) 35%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(196, 165, 116, 0.2) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.sf-footer__social {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.sf-footer__social a {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(196, 165, 116, 0.38) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(12, 12, 16, 0.75) 55%, rgba(6, 6, 10, 0.9) 100%) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  transition:
    color 0.35s var(--sf-ft-ease),
    border-color 0.35s var(--sf-ft-ease),
    background 0.35s var(--sf-ft-ease),
    transform 0.4s var(--sf-ft-ease),
    box-shadow 0.4s var(--sf-ft-ease) !important;
}

.sf-footer__social-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 30%, rgba(232, 184, 109, 0.35), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s var(--sf-ft-ease);
  pointer-events: none;
  z-index: -1;
}

.sf-footer__social a:hover,
.sf-footer__social a:focus-visible {
  color: var(--sf-ft-amber) !important;
  border-color: rgba(232, 184, 109, 0.75) !important;
  background:
    linear-gradient(145deg, rgba(232, 184, 109, 0.22) 0%, rgba(18, 14, 10, 0.85) 100%) !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(196, 165, 116, 0.35),
    0 0 40px rgba(232, 184, 109, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  outline: none;
}

.sf-footer__social a:hover .sf-footer__social-glow,
.sf-footer__social a:focus-visible .sf-footer__social-glow {
  opacity: 1;
}

@media (max-width: 719px) {
  .sf-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .sf-footer__cta-actions {
    width: 100%;
  }

  .sf-footer__btn {
    flex: 1;
    min-width: 140px;
  }

  .site-footer.sf-footer {
    --sf-ft-mobile-clear: 4.75rem;
    --sf-ft-mobile-left-gutter: 0px;
    --sf-ft-mobile-right-gutter: 0px;
  }

  body:has(#sf-wa-widget) .site-footer.sf-footer {
    --sf-ft-mobile-left-gutter: 2.2rem;
    --sf-ft-mobile-clear: 6rem;
  }

  body:has(#sf-create-widget) .site-footer.sf-footer {
    --sf-ft-mobile-right-gutter: 6.2rem;
    --sf-ft-mobile-clear: 6.5rem;
  }

  body:has(#sf-wa-widget):has(#sf-create-widget) .site-footer.sf-footer {
    --sf-ft-mobile-left-gutter: 2.2rem;
    --sf-ft-mobile-right-gutter: 6.2rem;
    --sf-ft-mobile-clear: 7.75rem;
  }

  .sf-footer__bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding-bottom: 0.15rem;
  }

  .sf-footer__bar-start {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .sf-footer__bar-end {
    position: static;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    order: 1;
    padding-left: var(--sf-ft-mobile-left-gutter);
    padding-right: var(--sf-ft-mobile-right-gutter);
    justify-content: center;
    transform: none;
  }

  .sf-footer__social-cluster {
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    padding: 10px 20px;
    min-width: 220px;
  }

  .sf-footer__social {
    gap: 10px !important;
    justify-content: center !important;
  }

  .sf-footer__social a {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.88rem !important;
  }

  .sf-footer__copyright {
    width: 100%;
    text-align: center;
  }

  body:has(#sf-create-widget) .site-footer.sf-footer,
  body:has(#sf-wa-widget):has(#sf-create-widget) .site-footer.sf-footer {
    padding-bottom: calc(var(--sf-ft-mobile-clear) + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-footer__btn,
  .sf-footer__social a,
  .sf-footer__social-glow {
    transition: none !important;
  }
}
