@font-face {
  font-family: "KSLP Philosopher";
  src: url("../brand/fonts/philosopher-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KSLP Philosopher";
  src: url("../brand/fonts/philosopher-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KSLP Montserrat";
  src: url("../brand/fonts/montserrat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KSLP Montserrat";
  src: url("../brand/fonts/montserrat-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body.kslp-custom-footer-active footer.elementor-location-footer {
  display: none !important;
}

.kslp-site-footer {
  --kslp-footer-paper: #fffdf8;
  --kslp-footer-flour: #f4f0e8;
  --kslp-footer-ink: #241611;
  --kslp-footer-muted: #d8c8bf;
  --kslp-footer-red: #ad382c;
  --kslp-footer-gold: #efb552;
  --kslp-footer-line: rgba(255, 253, 248, 0.18);
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--kslp-footer-paper);
  background: var(--kslp-footer-ink);
  font-family: "KSLP Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  isolation: isolate;
}

.kslp-site-footer *,
.kslp-site-footer *::before,
.kslp-site-footer *::after {
  box-sizing: border-box;
}

.kslp-site-footer ::selection {
  color: var(--kslp-footer-ink);
  background: var(--kslp-footer-gold);
}

.kslp-site-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.kslp-site-footer a:focus-visible {
  outline: 3px solid var(--kslp-footer-gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.kslp-site-footer__inner {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
  padding-block: clamp(26px, 3vw, 38px) 18px;
}

.kslp-site-footer__lead {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(540px, 1.46fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--kslp-footer-line);
}

.kslp-site-footer__brand {
  min-width: 0;
}

.kslp-site-footer__logo {
  display: flex;
  width: min(112px, 48%);
  min-height: 44px;
  margin-bottom: 14px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  background: var(--kslp-footer-paper);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.kslp-site-footer__logo picture,
.kslp-site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.kslp-site-footer h2,
.kslp-site-footer h3,
.kslp-site-footer p,
.kslp-site-footer ul,
.kslp-site-footer figure {
  margin: 0;
  color: inherit;
}

.kslp-site-footer h2 {
  max-width: 14ch;
  font-family: "KSLP Philosopher", Georgia, serif;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.kslp-site-footer__brand > p {
  max-width: 39ch;
  margin-top: 8px;
  color: var(--kslp-footer-muted);
  font-size: 0.88rem;
}

.kslp-site-footer__map-group {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 12px;
  align-items: stretch;
}

.kslp-site-footer__map {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--kslp-footer-flour);
  border-radius: 16px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.kslp-site-footer__map picture,
.kslp-site-footer__map img {
  display: block;
  width: 100%;
}

.kslp-site-footer__map img {
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.kslp-site-footer__map figcaption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: flex;
	min-height: 28px;
	align-items: center;
	justify-content: flex-end;
	padding: 4px 9px;
	color: var(--kslp-footer-ink);
	background: rgba(255, 253, 248, 0.92);
	border-radius: 7px;
	font-size: 0.68rem;
	line-height: 1.35;
}

.kslp-site-footer__map figcaption a {
	color: inherit;
	text-decoration-color: rgba(84, 63, 54, 0.5);
}

.kslp-site-footer__map figcaption a:hover {
	text-decoration-color: var(--kslp-footer-red);
}

.kslp-site-footer__locations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 0;
}

.kslp-site-footer__locations > a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 85px;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px 8px 10px;
  color: var(--kslp-footer-paper);
  background: rgba(255, 253, 248, 0.07);
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.kslp-site-footer__locations > a:hover {
  background: rgba(255, 253, 248, 0.13);
  transform: translateY(-2px);
}

.kslp-site-footer__number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--kslp-footer-paper);
  background: var(--kslp-footer-red);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.kslp-site-footer__locations strong,
.kslp-site-footer__locations small {
  display: block;
}

.kslp-site-footer__locations strong {
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
}

.kslp-site-footer__locations small {
  margin-top: 4px;
  color: var(--kslp-footer-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.kslp-site-footer__locations svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--kslp-footer-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kslp-site-footer__utility {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(20px, 2vw, 28px);
}

.kslp-site-footer h3 {
  margin-bottom: 8px;
  font-family: "KSLP Philosopher", Georgia, serif;
  font-size: clamp(1.4rem, 1.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.kslp-site-footer__legal ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(18px, 3vw, 36px);
  padding: 0;
  list-style: none;
}

.kslp-site-footer__legal li {
  min-width: 0;
}

.kslp-site-footer__legal a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--kslp-footer-muted);
  font-size: 0.89rem;
  line-height: 1.35;
  text-decoration-color: transparent;
  transition: color 160ms ease-out, text-decoration-color 160ms ease-out;
}

.kslp-site-footer__legal a:hover {
  color: var(--kslp-footer-paper);
  text-decoration-color: var(--kslp-footer-gold);
}

.kslp-site-footer__contact {
  min-width: 0;
}

.kslp-site-footer__contact a {
	display: inline-flex;
  max-width: 100%;
	min-height: 44px;
	align-items: center;
  color: var(--kslp-footer-paper);
  overflow-wrap: anywhere;
  text-decoration-color: rgba(239, 181, 82, 0.55);
}

.kslp-site-footer__contact a:hover {
  text-decoration-color: var(--kslp-footer-gold);
}

.kslp-site-footer__contact .kslp-site-footer__contact-main {
  margin-bottom: 8px;
  font-family: "KSLP Philosopher", Georgia, serif;
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

/*
 * The active theme wraps phone characters in nested <small> elements for a
 * fade-in effect. Inline opacity left the last digits almost invisible in the
 * custom footer, so keep those decorative wrappers visually neutral here.
 */
.kslp-site-footer__contact-main small {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  opacity: 1 !important;
}

.kslp-site-footer__contact p {
  max-width: 44ch;
  margin-top: 6px;
  color: var(--kslp-footer-muted);
  font-size: 0.88rem;
}

.kslp-site-footer__bottom {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--kslp-footer-line);
}

.kslp-site-footer__bottom > p {
  color: var(--kslp-footer-muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.kslp-site-footer__developer {
  display: flex;
  width: 112px;
  min-width: 112px;
  min-height: 44px;
  padding: 6px 9px;
  align-items: center;
  justify-content: center;
  background: var(--kslp-footer-paper);
  border-radius: 12px;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.kslp-site-footer__developer:hover {
  background: var(--kslp-footer-gold);
  transform: translateY(-2px);
}

.kslp-site-footer__developer picture,
.kslp-site-footer__developer img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .kslp-site-footer__lead {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 32px;
    align-items: center;
  }

  .kslp-site-footer__brand {
    display: block;
  }

  .kslp-site-footer__logo {
    width: 112px;
    margin: 0 0 14px;
    grid-row: auto;
  }

  .kslp-site-footer h2 {
    max-width: 13ch;
  }

  .kslp-site-footer__brand > p {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .kslp-site-footer__inner {
    width: min(100% - 32px, 1320px);
    padding-top: 38px;
  }

  .kslp-site-footer__brand {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px 18px;
    align-items: center;
  }

  .kslp-site-footer__lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .kslp-site-footer__logo {
    width: 118px;
    margin: 0;
    padding: 10px 12px;
    grid-row: auto;
  }

  .kslp-site-footer h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1;
  }

  .kslp-site-footer__brand > p {
    margin-top: 0;
    grid-column: 1 / -1;
  }

  .kslp-site-footer__map-group {
    display: block;
  }

  .kslp-site-footer__map img {
    height: 150px;
    object-position: center;
  }

  .kslp-site-footer__locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
  }

  .kslp-site-footer__utility {
    grid-template-columns: minmax(0, 1fr);
  }

  .kslp-site-footer__legal ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kslp-site-footer__locations > a {
    min-height: 112px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-content: center;
    padding: 12px;
  }

  .kslp-site-footer__locations svg {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 18px;
    height: 18px;
  }

  .kslp-site-footer__number {
    width: 36px;
    height: 36px;
  }

  .kslp-site-footer__utility {
    gap: 26px;
  }

  .kslp-site-footer__bottom {
    gap: 14px;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .kslp-site-footer__inner {
    width: min(100% - 24px, 1320px);
  }

  .kslp-site-footer__lead {
    gap: 24px;
    padding-bottom: 28px;
  }

  .kslp-site-footer__map {
    margin-inline: -12px;
    border-radius: 12px;
  }

  .kslp-site-footer__map img {
    height: 150px;
  }

  .kslp-site-footer__locations {
    grid-template-columns: minmax(0, 1fr);
  }

  .kslp-site-footer__locations > a {
    min-height: 82px;
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 9px;
    align-content: initial;
    padding-inline: 10px;
  }

  .kslp-site-footer__locations svg {
    position: static;
  }

  .kslp-site-footer__legal ul {
    gap: 2px 16px;
  }

  .kslp-site-footer__legal a {
    font-size: 0.8rem;
  }

  .kslp-site-footer__bottom > p {
    font-size: 0.68rem;
  }

  .kslp-site-footer__developer {
    width: 104px;
    min-width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kslp-site-footer *,
  .kslp-site-footer *::before,
  .kslp-site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
