:root{
  --lc-navy:#1E3063;
  --lc-brown:#6b3b2e;
  --lc-border:#d7dbe6;
  --lc-text:#1d2230;
  --lc-bg:#F4F4F4;
  --lc-shadow: 0 18px 55px rgba(17,24,39,.22);
}

.lc-footer{
  position: relative;
  background: var(--lc-bg);
  color: var(--lc-text);
}

.lc-footer .lc-container{
  max-width: none !important;
  width: min(var(--lc-container-full, 100%), calc(100% - (var(--lc-gutter, 30px) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  background: transparent;
}

/* ===== INNER ===== */
.lc-footer__inner{
  padding: 38px 0 34px;
  background: transparent;
}

/* ===== TOP BAR (desktop: logo + 4 info blocks in one row) ===== */
.lc-footer__top{
  display:flex;
  align-items:center;
  gap: 26px;
}

.lc-footer__brand{
  display:flex;
  align-items:center;
  flex: 0 0 auto;
}

.lc-footer__brand .custom-logo-link,
.lc-footer__brand .custom-logo{
  display:block;
}

.lc-footer__brand .custom-logo{
  height: 40px;
  width: 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;
  color: #5c6370;
}

/* divider */
.lc-footer__divider{
  height: 1px;
  background: var(--lc-border);
  margin: 22px 0 26px;
}

/* ===== MID: NAV + MAP (desktop side-by-side) ===== */
.lc-footer__mid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items:start;
}

.lc-footer__cols{
  display:grid;
  grid-template-columns: repeat(4, 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{
  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;
  background: var(--lc-navy) !important;
}

.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 img{ width: 18px; height: 18px; display:block; }

.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;
}

.lc-footer__legalLink:hover{ opacity: 1; }

/* ===== MOBILE STICKY ACTION BAR ===== */
.lc-footer-mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  .lc-footer-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    width: 100%;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: #fff;
  }

  .lc-footer-mobile-bar__btn {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border: 0;
    box-sizing: border-box;
  }

  .lc-footer-mobile-bar__btn--partner {
    background: var(--lc-brown);
  }

  .lc-footer-mobile-bar__btn--call {
    background: var(--lc-navy);
  }

  .lc-footer-mobile-bar__btn:active {
    opacity: 0.92;
  }

  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0));
  }
}

/* ===== 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);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
  filter: brightness(1.06);
  z-index: 5;
}

.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: 16.78px;
  height: 17.83px;
  fill: var(--lc-navy);
  display:block;
  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-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;
}

/* ===== DESKTOP LOCK (≥1101px) — match design image ===== */
@media (min-width: 1101px){
  .lc-footer__top{
    flex-direction: row !important;
    align-items: center !important;
  }

  .lc-footer__info{
    display:grid !important;
    grid-template-columns: 1.3fr .9fr 1.2fr 1.4fr !important;
    width: 85% !important;
    margin-left: auto !important;
  }

  .lc-footer__mid{
    display:grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 32px !important;
    align-items: start !important;
  }

  .lc-footer__cols{
    display:grid !important;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
  }

  .lc-footer__map{
    justify-self: end !important;
    width: 420px !important;
  }

  .lc-footer__bottomInner{
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* ===== TABLET ===== */
@media (min-width: 768px) and (max-width: 1100px){
  .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;
  }
}

/* ===== MOBILE (keep existing mobile look) ===== */
@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%; margin-left: 0; }
  .lc-footer__mid{ grid-template-columns: 1fr; }
  .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{
    position: fixed;
    right: 16px;
    bottom: calc(68px + env(safe-area-inset-bottom, 0));
    top: auto;
    width: 56px;
    height: 56px;
  }
}

@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 (max-width: 400px){
  .lc-footer__map{
    justify-self: center;
    width: 100%;
    padding: 0;
  }
  .lc-footer__mapImg { width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .lc-ontop--in-footer,
  .lc-fcol__lnk,
  .lc-socialBtn{ transition: none !important; }
}
