/* =============================================================
   Gildhart Agency — Footer
   Dark green background with 4-column grid + bottom row.
   ============================================================= */

.footer {
  padding: 4rem 0 2rem;
  background: var(--gildhart-green);
  border-top: 1px solid rgba(201, 164, 74, 0.25);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.375rem;
}
/* Footer brand is a cream text wordmark, not the circular crest —
 * the detailed crest is illegible at footer scale. Matches the nav's
 * brand presence but as type, sized for the footer column. */
.footer-brand-wordmark {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--gildhart-cream);
  line-height: 1;
}
.footer-brand-tm {
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 0.1em;
  color: var(--gildhart-gold);
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  font-size: 0.9375rem;
  max-width: 300px;
  margin-bottom: 1.125rem;
}

.footer-brand-link {
  display: inline-block;
  color: var(--gildhart-gold);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.footer-brand-link:hover { text-decoration: underline; }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gildhart-gold); }

/* Contact column non-link lines — location + legal registration.
 * Tone lifted from the old 0.6/0.4 (which was nearly invisible on the
 * green ground) to 0.78/0.62 with a 500 weight so the legal detail
 * actually reads while staying secondary to the links. */
.footer-contact-line {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.footer-contact-line--fine {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
}
/* Registered-office address block — three lines kept tight under a
 * small gold label so it reads as one deliberate address unit. */
.footer-contact-address {
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.footer-contact-address-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gildhart-gold);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 164, 74, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}
/* Compliance note — full-width centred row above the copyright line. */
.footer-compliance {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
/* Copyright — full-width centred. Overrides the .footer-bottom flex
 * default (left-justified leftover item) so the trademark line reads
 * as a deliberate centred footnote. */
.footer-copyright {
  width: 100%;
  text-align: center;
  margin: 0;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gildhart-gold); }

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
