/* =========================================================
   FOOTER.CSS
   Styles for the shared footer injected by footer.js.
   Uses the same design tokens as the rest of the site
   (light mode only). Falls back to sensible defaults via
   var(--token, fallback) in case this file loads on a page
   before navbar.css / the site's root stylesheet defines them.
   ========================================================= */

.site-footer{
  background:var(--bg-2, #ff7300);
  border-top:1px solid var(--line-soft, rgba(35,26,16,.07));
  color:var(--text-dim, #544436);
  font-family:'Inter', sans-serif;
  margin-top:0;
}

.footer-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:64px 32px 32px;
}

/* ---------- Top grid ---------- */
.footer-top{
  display:grid;
  grid-template-columns:1.6fr repeat(4, 1fr);
  gap:32px;
  padding-bottom:48px;
}

.footer-brand .logo{ margin-bottom:16px; }
.footer-brand .logo-img{ height:70px; width:auto; display:block; }

.footer-tagline{
  font-size:13.5px;
  line-height:1.65;
  color:var(--text-dim, #544436);
  max-width:280px;
  margin-bottom:22px;
}

.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid var(--line, rgba(35,26,16,.12));
  color:var(--text-dim, #544436);
  transition:border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.footer-social a:hover{
  border-color:var(--orange-bright, #EA580C);
  color:var(--orange-bright, #EA580C);
  box-shadow:0 0 16px -4px rgba(234,88,12,.4);
}

.footer-col-title{
  font-family:'IBM Plex Mono', monospace;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#ff8800;
  margin-bottom:16px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  font-size:13.5px;
  color:var(--text-dim, #000000);
  text-decoration:none;
  transition:color .18s ease;
  width:fit-content;
}
.footer-links a:hover{
  color:var(--orange-bright, #EA580C);
}

/* ---------- CTA row ---------- */
.footer-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  padding:24px 28px;
  border:1px solid var(--line, rgba(35,26,16,.12));
  border-radius:12px;
  background:var(--bg, #FFFFFF);
  margin-bottom:32px;
}
.footer-cta-text{
  font-family:'Fraunces', serif;
  font-weight:400;
  font-style:italic;
  font-size:18px;
  color:var(--text, #231A10);
}
.footer-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:2px;
  background:var(--orange, #EA580C);
  color:#FFFFFF;
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:13.5px;
  text-decoration:none;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow:0 6px 18px rgba(234,88,12,.25);
}
.footer-cta-btn:hover{
  background:var(--orange-bright, #EA580C);
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(234,88,12,.4);
}

/* ---------- Bottom bar ---------- */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  padding-top:24px;
  border-top:1px solid var(--line-soft, rgba(35,26,16,.07));
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px;
  color:var(--text-dim, #786757);
}
.footer-bottom-links{
  display:flex;
  gap:22px;
}
.footer-bottom-links a{
  color:var(--text-dim, #786757);
  text-decoration:none;
  transition:color .18s ease;
}
.footer-bottom-links a:hover{
  color:var(--orange-bright, #EA580C);
}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .footer-top{
    grid-template-columns:1fr 1fr 1fr;
  }
  .footer-brand{
    grid-column:1 / -1;
    margin-bottom:12px;
  }
}

@media(max-width:640px){
  .footer-wrap{ padding:48px 24px 24px; }
  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }
  .footer-cta{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================================
   COOKIE CONSENT POPUP BANNER
   ========================================================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -6px 30px rgba(234, 88, 12, 0.3);
  z-index: 999999;
  font-family: 'Inter', sans-serif;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-sizing: border-box;
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}

.cookie-consent-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #FFFFFF;
  margin: 0;
  flex: 1;
}

.cookie-consent-text a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.cookie-consent-text a:hover {
  color: #FEF3C7;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  white-space: nowrap;
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.cookie-btn-accept {
  background: #FFFFFF;
  color: #EA580C;
  border: 1px solid #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cookie-btn-accept:hover {
  background: #FFF7ED;
  color: #C2410C;
  border-color: #FFF7ED;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
  .cookie-consent-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* =========================================================
   FLOATING "BOOK A CALL NOW" BUTTON
   ========================================================= */
.float-audit {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 2px;
  z-index: 99;
  background: var(--orange, #EA580C);
  color: #FFFFFF !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(154, 52, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: audit-pop .5s cubic-bezier(.34,1.56,.64,1) .3s both;
}
.float-audit:hover {
  transform: translateY(-3px);
  background: var(--orange-bright, #F97316);
  box-shadow: 0 18px 44px -6px rgba(249, 115, 22, 0.55);
  color: #FFFFFF !important;
}
.float-audit .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-block;
  animation: float-pulse 1.6s infinite;
}
@keyframes float-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(0.85); }
}
@keyframes audit-pop {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .float-audit {
    bottom: 18px;
    right: 18px;
    padding: 13px 20px;
    font-size: 13px;
  }
}