/* =========================================================
   footer.css
   The woodsy end of the frame. Solid, so it closes the page against the
   hero photograph rather than letting it run off the bottom.
   ========================================================= */

.site-footer {
  background: var(--bg-frame);
  color: var(--text-on-frame);
  margin-top: clamp(40px, 8vw, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
}

.footer-brand img { width: 190px; margin-bottom: var(--space-md); }
.footer-brand p {
  color: var(--grass);
  font-size: var(--step--1);
  line-height: 1.7;
  max-width: 34ch;
}

.footer-column h4 {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wheat);
  margin: 0 0 var(--space-md);
}
.footer-column a,
.footer-contact a {
  display: block;
  color: var(--text-on-frame);
  font-size: var(--step--1);
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--transition-fast);
}
.footer-column a:hover,
.footer-contact a:hover { color: var(--wheat); }

.footer-contact address {
  font-style: normal;
  color: var(--grass);
  font-size: var(--step--1);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--border-frame);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.footer-social a:hover { border-color: var(--wheat); background: rgba(201, 174, 126, .1); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- bottom bar ----------
   Three parts: copyright left, the house signature centred, legal right.
   Stacks centred on a phone in the same order. */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-frame);
  font-size: var(--step--1);
  color: var(--grass);
}
.footer-bottom > * { flex: 1 1 0; }
.footer-legal {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}
.footer-legal a {
  color: var(--grass);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--wheat); }

/* The house signature. Full names on both halves, both linked and live,
   native colour at rest so it never clashes with a client palette; the
   VioLev half lights violet and the Protected half lights SecureLynx cyan
   on hover and focus only. Never shortened. */
.sig {
  margin: 0;
  text-align: center;
  color: var(--grass);
  white-space: nowrap;
}
.sig a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.sig-violev:hover, .sig-violev:focus-visible { color: #8B5CFF; }
.sig-lynx:hover,  .sig-lynx:focus-visible   { color: #00E6FF; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom > * { flex: none; }
  .footer-legal { justify-content: center; }
  .sig { white-space: normal; }
}
