:root{
  --lc-navy:#1f2a4a;
  --lc-brown:#6b3b2e;
  --lc-border:#d7dbe6;
  --lc-text:#1d2230;
  --lc-bg:#ffffff;
  --lc-shadow: 0 18px 55px rgba(17,24,39,.22);
}

.lc-footer .lc-container{
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  background: #F4F4F4;
}

.lc-footer{
  position: relative;
  background: var(--lc-bg);
  color: var(--lc-text);
}

/* ===== INNER ===== */
.lc-footer__inner{
  padding: 38px 0 34px;
}

/* ===== TOP BAR ===== */
.lc-footer__top{
  display:flex;
  align-items:center;
  gap: 26px;
}
.lc-footer__brand{ display:flex; align-items:center; flex: 0 0 auto; }
.lc-footer__logo{ height: 40px; width:auto; display:block; }

.lc-footer__info{
  display:grid;
  grid-template-columns: 1.3fr .9fr 1.2fr 1.4fr;
  gap: 16px 22px;
  align-items:center;
  width:85%;
  margin-left: auto;
}

.lc-finfo{
  display:flex;
  align-items:center;
  gap: 12px;
  color: inherit;
  text-decoration:none;
}
.lc-finfo__ic{
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--lc-brown);
  display:grid; place-items:center;
  flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(107,59,46,.22);
}
.lc-finfo__ic svg{ width: 18px; height:18px; fill:#fff; display:block; }
.lc-finfo__txt{
  font-size: 15px;
  line-height: 1.35;
  margin-top: 2px;
}

/* divider */
.lc-footer__divider{
  height: 1px;
  background: var(--lc-border);
  margin: 22px 0 26px;
}

/* ===== MID: NAV + MAP ===== */
.lc-footer__mid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items:start;
}

.lc-footer__cols{
  display:grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 22px 26px;
}
.lc-fcol__ttl{
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lc-brown);
  margin: 0 0 12px;
  font-weight: 800;
}
.lc-fcol__lnk{
  display:block;
  color: var(--lc-text);
  text-decoration:none;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.25;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
  opacity: .92;
}
.lc-fcol__lnk:hover{
  color: var(--lc-brown);
  transform: translateX(2px);
  opacity: 1;
}

/* map */
.lc-footer__map{
  position: relative;
  justify-self: end;
  width: 420px;
  max-width: 100%;
  padding: 8px;
}
.lc-footer__mapImg{
  max-width:100%;
  height:auto;
  display:block;
  filter: saturate(1.05);

}
.lc-footer__mapPin{
  position:absolute;
  right: 42px;
  top: 92px;
  width: 86px; height: 86px;
  display:grid; place-items:center;
  transform: rotate(10deg);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.22));
}
.lc-footer__mapPin img{ width:100%; height:auto; display:block; }

/* ===== BOTTOM BAR ===== */
.lc-footer__bottom{
  background: var(--lc-navy);
  color: #fff;
}
.lc-footer__bottomInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 18px 0;
}
.lc-footer__copy{ font-size: 14px; opacity: .95; }

.lc-footer__social{
  display:flex;
  gap: 10px;
  align-items:center;
}
.lc-socialBtn{
  width: 38px; height: 38px;
  border-radius: 12px;
  background: #fff;
  display:grid; place-items:center;
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.lc-socialBtn svg{ width: 18px; height: 18px; fill: var(--lc-navy); }
.lc-socialBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0,0,0,.25);
  filter: brightness(1.02);
}

.lc-footer__legal{
  display:flex;
  gap: 18px;
  align-items:center;
}
.lc-footer__legalLink{
  color:#fff;
  text-decoration:none;
  font-size: 14px;
  opacity: .95;
  transition: opacity .2s ease;
}

/* ===== ON TOP (ABSOLUTE IN FOOTER) ===== */
.lc-ontop--in-footer{
  position: absolute;
  right: 26px;
  top: -28px;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: var(--lc-shadow);

  /* hidden by default */
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
  filter: brightness(1.06);
}

.lc-ontop__ring{
  position:absolute;
  inset: 5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 6px rgba(31,42,74,.08);
}

.lc-ontop__ic{
  width: 28px;
  height: 28px;
  fill: var(--lc-navy);
  position: relative;
  z-index: 1;
}

.lc-ontop.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lc-ontop:hover {
  background: var(--lc-navy);
}
.lc-ontop:hover .lc-ontop__ring{
  box-shadow:
    inset 0 0 0 6px rgba(31,42,74,.10),
    0 16px 30px rgba(17,24,39,.26);
  background: var(--lc-navy);
}
.lc-ontop:active{ transform: translateY(1px) scale(.99); }

.lc-ontop:hover .lc-ontop__ic{
  fill: #ffffff;
}

.lc-footer__bottomInner {
  background: var(--lc-navy)!important;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .lc-footer__info{ grid-template-columns: 1fr 1fr; }
  .lc-footer__mid{ grid-template-columns: 1fr; }
  .lc-footer__map{ justify-self: start; width: 520px; }
}

@media (max-width: 860px){
  .lc-footer__top{ flex-direction: column; align-items:center; }
  .lc-footer__cols{
    grid-template-columns: repeat(2, minmax(0,1fr));
    width: 100%;
    margin: 0 auto;
  }
  .lc-fcol{ min-width: 0; }
  .lc-footer__info{ grid-template-columns: 1fr; width:100%; }
  .lc-footer__map{
    justify-self: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .lc-footer__mapImg{ width: 100%; }
  .lc-footer__bottomInner{ flex-direction: column; }
  .lc-ontop--in-footer{ right: 16px; top: -24px; width: 56px; height: 56px; }
}

@media (min-width: 768px) and (max-width: 1024px){

  .lc-footer__inner{
    padding: 34px 0 30px;
  }

  .lc-footer__top{
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .lc-footer__info{
    width: 100%;
    margin-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .lc-footer__mid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lc-footer__cols{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
  }

  .lc-fcol__lnk{
    font-size: 14px;
    padding: 7px 0;
  }

  .lc-footer__map{
    justify-self: center;
    width: min(520px, 100%);
    padding: 0;
  }

  .lc-footer__bottomInner{
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .lc-footer__legal{
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 560px) {
    .lc-footer__cols {
        width: 100%; 
        margin: 0 auto; 
        align-items: start !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}
@media (prefers-reduced-motion: reduce){
  .lc-ontop--in-footer,
  .lc-fcol__lnk,
  .lc-socialBtn{ transition: none !important; }
}

@media (max-width: 400px){
  .lc-footer__map{
    justify-self: center;
    width: 100%;
    padding: 0;
  }
  .lc-footer__mapImg {
    width: 100%;
  }
}

.lc-ontop__ic{
  width: 16.78px;
  height: 17.83px;
  display:block;
  position:relative;
  z-index:1;
}

.lc-ontop--in-footer:hover .lc-ontop__chev--top{ fill: #ffffff; }
.lc-ontop--in-footer:hover .lc-ontop__chev--bot{ fill: rgba(255,255,255,.55); }


.lc-ontop--in-footer:hover{
  box-shadow: 0 22px 44px rgba(17,24,39,.18), 0 6px 18px rgba(17,24,39,.10);
}

.lc-ontop__chev--bot{
  transform: translateY(1.4px);
  transform-origin: center;
}
