/* ==========================================================================
   Footer skin — Innolec
   ========================================================================== */

:root{
  --footer-bg-top: #fff;
  --footer-bg-bot: #fff5de;          /* soft cream tone like comp */
  --footer-ink: #111;
  --footer-muted: #6b6f76;
  --footer-line: rgba(0,0,0,.08);
}

html[data-skin="dark"]{
  --footer-bg-top: #0d0e10;
  --footer-bg-bot: #131417;
  --footer-ink: #f7f7f7;
  --footer-muted: #a8aeb6;
  --footer-line: rgba(255,255,255,.09);
}

/* Wrap */
.site-footer {
    color: var(--footer-ink);
    background: linear-gradient(180deg, var(--footer-bg-top, #111) 8vh, var(--footer-bg-bot, #000) 100%);
}
html[data-skin="dark"] .site-footer {
    --footer-bg-bot:#131417;
}
html[data-skin="dark"] .business-details img {
  filter:invert(1);
}


/* Remove any extra margins from main before footer panel begins */

/* Top block --------------------------------------------------------------- */
.site-footer .footer-top{
  padding-block: 4rem 3rem;
  padding-inline: 4rem;
}
.site-footer .business-details {
    max-width: 52ch;
}

.site-footer .footer-top .container {
    display: grid;
    width: 100%;
    max-inline-size: 100%;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(2rem, 4vw, 5rem);
    align-items: start;
    border: 0;
    padding:0;
}

/* Left column */
.site-footer .footer-top strong{ font-weight: 700; }
.site-footer .footer-top p{
  margin: 0 0 .85rem;
  color: var(--footer-ink);
}
.site-footer .footer-top p + p{ color: var(--footer-muted); }
.site-footer .footer-top p.nb-title{color:var(--footer-ink); margin-bottom:0.2em;}
.site-footer .footer-top a{ color:var(--footer-muted); text-decoration: none; }
.site-footer .footer-top a:hover{ text-decoration: underline; }

.footer-top .business-details > div {
    margin-bottom: 1.5em;
    max-width: 8.75em;
}

/* Right column — services list */
.site-footer .footer-services{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.site-footer .footer-services a{
  display: inline-block;
  font-weight: 400;
  letter-spacing: .005em;
  text-decoration: none;
  color: var(--footer-ink);
  /* big like comp */
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.14;
  transition: transform 0.2s ease;
}

/* Bottom bar -------------------------------------------------------------- */
.site-footer .footer-bottom{
  background:var(--bg);
  padding-block:1.5rem;
  padding-inline:4rem;
}
.footer-bottom .fb-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(2rem, 4vw, 5rem);
    align-items: start;
    border: 0;
    padding:0;
}

.site-footer .footer-bottom .container{
  max-width: 100rem;
  margin-inline: auto;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.site-footer small{
  color: var(--footer-muted);
}

.site-footer .menu-legal ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  gap: 1.25rem;
}
.site-footer .menu-legal a{
  color: var(--footer-muted);
  text-decoration: none;
}

.site-footer .footer-top a:hover {
    text-decoration: none;
    transform: translateY(-4px); /* moves UP 4px on hover */
}

/* Responsiveness --------------------------------------------------------- */
@media (max-width: 64rem){
  .site-footer .footer-top .container{
    grid-template-columns: 1fr;
  }
  .site-footer .footer-services a{
    font-size: clamp(1.35rem, 1.15rem + 1.1vw, 2rem);
  }
  .site-footer .footer-bottom .container{
    grid-template-columns: 1fr;
    justify-items: start;
    row-gap: .5rem;
  }
}



/*** Footer CTA ****/
.cta-banner h2 {
    display: inline-flex;
    width: auto;
    font-size: 10em;
    font-weight: 500;
    letter-spacing: -0.05em;
}
.cta-banner {
    justify-content: center;
    width: 100%;
    display: flex;
}


html, body {
  height: 100%;
}

.site-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 0;
}