.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 48px 0 24px;
  font-size: .93rem
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px
}

.foot-about p {
  color: var(--muted);
  margin-top: 14px;
  font-size: .88rem
}

.foot-h {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--head);
  margin-bottom: 14px
}

.site-footer li {
  margin-bottom: 9px
}

.site-footer a,
.site-footer p a:not(.btn) {
  color: var(--muted);
  text-decoration: none
}

.site-footer a:hover,
.site-footer p a:not(.btn):hover {
  color: var(--head)
}

.site-footer address {
  font-style: normal
}

.site-footer address p {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px
}

.foot-addr {
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

.foot-addr .icon,
.foot-addr svg {
  flex: 0 0 auto;
}

.foot-addr a {
  align-items: flex-start;
  color: inherit;
}

.foot-addr a:hover {
  color: var(--text);
}

.foot-addr span {
  min-width: 0;
  line-height: 1.5;
}

/* ---------- Social row: icon buttons instead of text links ---------- */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px
}

.social li {
  margin-bottom: 0
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--gloss-top), transparent 55%), var(--surface-2);
  color: var(--text);
  font-size: .9rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease
}

.social a .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 1em;
  line-height: 1;
  vertical-align: 0
}

.social a .icon::before {
  display: block;
  line-height: 1;
  vertical-align: 0
}

.social a:hover {
  color: var(--on-brand);
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-2px);
}

.foot-legal {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--r);
  border: 1px solid var(--brand-a-32);
  background: linear-gradient(135deg, var(--brand-a-12), var(--brand-b-12));
  text-align: center
}

.foot-legal .fine {
  margin: 0 0 .6em
}

.foot-legal .fine:last-child {
  margin-bottom: 0
}

.foot-legal .fine strong {
  color: var(--head)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: .85rem
}

.foot-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px
}

.foot-bottom li {
  margin: 0
}

@media (min-width: 680px) {
  .foot-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .site-footer {
    padding: 64px 0 28px
  }
}

@media (min-width: 1020px) {
  .foot-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
    gap: 36px
  }
}

.site-footer address p {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px
}

/* Address is the one multi-line entry — keep the icon pinned top-left
   instead of centering it against the full wrapped block, and let the
   text wrap inside its own flex item instead of dropping to a new row. */
.foot-addr {
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

.foot-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.foot-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--gloss-top), transparent 55%), var(--surface-2);
  color: var(--brand-b);
  font-size: .9rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease
}

.foot-ico .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 1em;
  line-height: 1;
  vertical-align: 0
}

.foot-ico .icon::before {
  display: block;
  line-height: 1;
  vertical-align: 0
}

.foot-row:not(:has(a)) {
  display: flex;
  align-items: center;
  gap: 8px
}

.foot-addr .foot-ico {
  margin-top: 0
}

.foot-row:hover .foot-ico {
  color: var(--on-brand);
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-2px);
}

.foot-addr .icon,
.foot-addr svg {
  flex: 0 0 auto;
}

.foot-addr a {
  align-items: flex-start;
  color: inherit;
}

.foot-addr a:hover {
  color: var(--text);
}

.foot-addr span {
  min-width: 0;
  line-height: 1.5;
}

/* ---------- Big outlined brand word with hover gradient spotlight ---------- */
@property --r {
  syntax: "<length>";
  inherits: true;
  initial-value: 1px;
}

.foot-brand {
  margin-top: 28px;
  overflow: hidden;
  text-align: center;
  user-select: none;
}

.foot-brand-text {
  --mx: 50%;
  --my: 50%;
  --r: 1px;
  display: inline-block;
  padding-bottom: .06em;
  font-family: "Archivo Black", Inter, system-ui, sans-serif;
  font-size: 13.5vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  /* soft brand light: brand-a core blending into brand-b, fading out smoothly */
  background: radial-gradient(circle var(--r) at var(--mx) var(--my),
      color-mix(in srgb, var(--brand-a) 85%, transparent) 0%,
      color-mix(in srgb, var(--brand-b) 70%, transparent) 35%,
      color-mix(in srgb, var(--brand-b) 25%, transparent) 62%,
      transparent 100%) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: --r .5s ease;
  cursor: default;
}

.foot-brand-text.is-lit {
  --r: 340px;
}

@media (max-width: 639px) {
  .foot-brand-text.is-lit {
    --r: 200px;
  }
}
.foot-legal .fine a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px
}

/* Brand column spans the full row below desktop; link columns sit beneath it */
@media (min-width: 680px) and (max-width: 1019px) {
  .foot-about {
    grid-column: 1 / -1
  }
}

.foot-about address {
  margin-top: 16px
}

.foot-about .foot-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

/* Phones: two link columns side by side under the brand column */
@media (max-width: 679px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px
  }

  .foot-about {
    grid-column: 1 / -1
  }
}
