/* Sharp Growth Co. compact global footer replacement
   Uses the uploaded smaller footer structure with the site's gold CTA treatment. */
:root {
  --sgc-footer-gold: #b98a3b;
  --sgc-footer-gold-light: #d6b06a;
  --sgc-footer-gold-dark: #8b6428;
  --sgc-footer-espresso: #23140d;
  --sgc-footer-charcoal: #221e19;
  --sgc-footer-charcoal-soft: #2c2620;
  --sgc-footer-cream: #faf6f0;
  --sgc-footer-muted: rgba(250, 246, 240, 0.62);
  --sgc-footer-hover: rgba(250, 246, 240, 0.93);
  --sgc-footer-border: rgba(184, 146, 62, 0.16);
}

body footer.sgc-compact-footer.site-footer,
#root footer.sgc-compact-footer.site-footer,
.sgc-compact-footer.site-footer {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(2rem, 3.8vw, 2.8rem) clamp(1.25rem, 4vw, 3rem) clamp(1.55rem, 3vw, 2rem) !important;
  background: linear-gradient(180deg, var(--sgc-footer-charcoal-soft) 0%, var(--sgc-footer-charcoal) 100%) !important;
  border-top: 1px solid var(--sgc-footer-border) !important;
  color: var(--sgc-footer-cream) !important;
  box-sizing: border-box !important;
}

.sgc-compact-footer,
.sgc-compact-footer * {
  box-sizing: border-box;
}

.sgc-compact-footer .footer-top {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(1.5rem, 3vw, 2rem) !important;
  padding: 0 0 1.45rem !important;
  border-bottom: 1px solid var(--sgc-footer-border) !important;
}

.sgc-compact-footer .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.12rem !important;
  min-width: max-content !important;
}

.sgc-compact-footer .footer-logo {
  display: inline-block !important;
  color: var(--sgc-footer-cream) !important;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.sgc-compact-footer .footer-tagline {
  color: rgba(214, 176, 106, 0.82) !important;
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

.sgc-compact-footer nav,
.sgc-compact-footer .footer-nav {
  margin: 0 !important;
  padding: 0 !important;
}

.sgc-compact-footer .footer-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(1.1rem, 2.4vw, 2rem) !important;
  list-style: none !important;
  flex-wrap: wrap !important;
}

.sgc-compact-footer .footer-nav li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sgc-compact-footer .footer-nav a,
.sgc-compact-footer .footer-nav a.sgc-luxury-cta {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sgc-footer-muted) !important;
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  transform: none !important;
  transition: color 180ms ease !important;
}

.sgc-compact-footer .footer-nav a:hover,
.sgc-compact-footer .footer-nav a:focus-visible {
  color: var(--sgc-footer-hover) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.sgc-compact-footer .footer-cta,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  padding: 0.82rem 1.45rem !important;
  border: 1px solid rgba(214, 176, 106, 0.72) !important;
  border-radius: 0 !important;
  background-color: var(--sgc-footer-gold) !important;
  background-image: linear-gradient(135deg, var(--sgc-footer-gold-light) 0%, var(--sgc-footer-gold) 44%, var(--sgc-footer-gold-dark) 100%) !important;
  color: var(--sgc-footer-espresso) !important;
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 24px rgba(35, 20, 13, 0.17), 0 6px 14px rgba(185, 138, 59, 0.24) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, border-color 180ms ease !important;
  overflow: hidden !important;
}

.sgc-compact-footer .footer-cta::before,
.sgc-compact-footer .footer-cta::after {
  content: none !important;
  display: none !important;
}

.sgc-compact-footer .footer-cta:hover,
.sgc-compact-footer .footer-cta:focus-visible {
  color: var(--sgc-footer-espresso) !important;
  transform: translateY(-2px) !important;
  filter: saturate(1.05) brightness(1.02) !important;
  border-color: rgba(255, 231, 184, 0.9) !important;
  box-shadow: 0 15px 28px rgba(35, 20, 13, 0.2), 0 8px 18px rgba(185, 138, 59, 0.30) !important;
}

.sgc-compact-footer .footer-bottom {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1rem 0 0 !important;
}

.sgc-compact-footer .footer-copy,
.sgc-compact-footer .footer-motto {
  margin: 0 !important;
  color: var(--sgc-footer-muted) !important;
}

.sgc-compact-footer .footer-copy {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.45 !important;
}

.sgc-compact-footer .footer-motto {
  color: rgba(214, 176, 106, 0.78) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.98rem !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: right !important;
}

@media (max-width: 920px) {
  body footer.sgc-compact-footer.site-footer,
  #root footer.sgc-compact-footer.site-footer,
  .sgc-compact-footer.site-footer {
    padding: 2rem 1.5rem 1.65rem !important;
  }

  .sgc-compact-footer .footer-top {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 1.35rem !important;
  }

  .sgc-compact-footer .footer-nav {
    justify-content: flex-start !important;
    gap: 0.9rem 1.45rem !important;
  }

  .sgc-compact-footer .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
  }

  .sgc-compact-footer .footer-motto {
    text-align: left !important;
  }
}

@media (max-width: 520px) {
  body footer.sgc-compact-footer.site-footer,
  #root footer.sgc-compact-footer.site-footer,
  .sgc-compact-footer.site-footer {
    padding: 1.85rem 1.25rem 1.45rem !important;
  }

  .sgc-compact-footer .footer-nav {
    gap: 0.8rem 1rem !important;
  }

  .sgc-compact-footer .footer-cta,
  .sgc-compact-footer a.footer-cta.sgc-luxury-cta {
    width: min(100%, 18rem) !important;
    min-height: 2.8rem !important;
  }
}

/* 2026-06-11 — Home-matching footer CTA pill standardization.
   Design-only: every bottom footer START YOUR PROJECT link keeps its existing /contact/ destination. */
.sgc-compact-footer .footer-cta,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold {
  position: relative !important;
  isolation: isolate !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 3.18rem !important;
  min-width: 12.85rem !important;
  max-width: 100% !important;
  padding: 0.88rem 1.65rem !important;
  border: 1px solid rgba(255, 236, 190, 0.96) !important;
  border-radius: 999px !important;
  background-color: #d9ad4f !important;
  background-image:
    radial-gradient(circle at 18% 14%, rgba(255, 251, 229, 0.98) 0%, rgba(255, 247, 213, 0.40) 18%, rgba(255, 247, 213, 0) 38%),
    linear-gradient(112deg, #7c4c12 0%, #a86f1d 13%, #ce9b38 27%, #efd184 41%, #fff7d2 50%, #e2b95c 61%, #bf8628 77%, #845216 100%) !important;
  background-size: 145% 145%, 190% 190% !important;
  background-position: 20% 16%, 40% 50% !important;
  color: #17120e !important;
  -webkit-text-fill-color: #17120e !important;
  font-family: 'Outfit', 'Raleway', system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.125em !important;
  line-height: 1.05 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 0 rgba(255, 250, 225, 0.64) !important;
  box-shadow:
    0 16px 34px rgba(52, 31, 11, 0.24),
    0 9px 24px rgba(217, 173, 79, 0.48),
    0 0 24px rgba(255, 225, 144, 0.28),
    inset 0 1px 0 rgba(255, 253, 236, 0.96),
    inset 0 -2px 0 rgba(70, 38, 8, 0.24) !important;
  filter: saturate(1.14) contrast(1.04) !important;
  overflow: hidden !important;
  transform: translate3d(0, 0, 0) !important;
  transition: transform 210ms ease, box-shadow 210ms ease, filter 210ms ease, border-color 210ms ease, background-position 260ms ease !important;
}

.sgc-compact-footer .footer-cta::before,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta::before,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold::before {
  content: '' !important;
  position: absolute !important;
  top: -36% !important;
  bottom: -36% !important;
  left: -44% !important;
  width: 34% !important;
  display: block !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 18%, rgba(255,255,255,0.98) 46%, rgba(255,242,196,0.54) 65%, rgba(255,255,255,0) 100%) !important;
  box-shadow: 0 0 18px rgba(255, 250, 226, 0.52) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(-165%, 0, 0) skewX(-18deg) !important;
  animation: sgc-luxury-final-shine-sweep 2.75s cubic-bezier(0.22, 1, 0.36, 1) infinite !important;
  z-index: 1 !important;
}

.sgc-compact-footer .footer-cta::after,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta::after,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold::after {
  content: '' !important;
  position: absolute !important;
  inset: 1px !important;
  display: block !important;
  border-radius: inherit !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.05) 45%, rgba(88,48,10,0.08) 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.sgc-compact-footer .footer-cta:hover,
.sgc-compact-footer .footer-cta:focus-visible,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta:hover,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta:focus-visible,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold:hover,
.sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold:focus-visible {
  transform: translate3d(0, -2px, 0) !important;
  background-position: 14% 12%, 62% 50% !important;
  border-color: rgba(255, 246, 214, 1) !important;
  filter: saturate(1.23) brightness(1.04) contrast(1.05) !important;
  color: #17120e !important;
  -webkit-text-fill-color: #17120e !important;
  box-shadow:
    0 20px 42px rgba(52, 31, 11, 0.29),
    0 12px 32px rgba(217, 173, 79, 0.58),
    0 0 30px rgba(255, 225, 144, 0.36),
    inset 0 1px 0 rgba(255, 253, 236, 1),
    inset 0 -2px 0 rgba(70, 38, 8, 0.22) !important;
}

@media (max-width: 640px) {
  .sgc-compact-footer .footer-cta,
  .sgc-compact-footer a.footer-cta.sgc-luxury-cta,
  .sgc-compact-footer a.footer-cta.sgc-luxury-cta.btn-primary-gold {
    width: min(100%, 18rem) !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0.78rem 1.28rem !important;
    font-size: max(0.78rem, 12px) !important;
    letter-spacing: 0.095em !important;
  }
}
