/* Footer — brand + nav grid */

.site-footer {
  background: var(--navy-dark);
  color: #e8e8e8;
  padding: 0;
  border-top: 3px solid var(--red);
  --footer-text: #e8e8e8;
  --footer-text-muted: #d0d0d0;
  --footer-text-subtle: #b8b8b8;
}

.site-footer .footer-inner {
  width: min(100% - 64px, 1320px);
  margin-inline: auto;
  padding: 40px 0 22px;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  align-items: start;
}

/* Brand column */

.site-footer .footer-brand-block {
  display: grid;
  gap: 16px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-brand-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.site-footer .footer-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-footer .footer-brand-text {
  display: grid;
  gap: 4px;
}

.site-footer .footer-brand-name {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.site-footer .footer-brand-sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--footer-text-muted);
}

.site-footer .footer-contact-details {
  display: grid;
  gap: 0;
}

.site-footer .footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.site-footer .footer-contact-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-contact-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  color: #ffffff;
}

.site-footer .footer-contact-value {
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--footer-text);
  min-width: 0;
  flex: 1 1 auto;
}

.site-footer .footer-contact-item:first-child .footer-contact-value {
  font-weight: 600;
  color: #ffffff;
}

.site-footer .footer-address {
  margin: 0;
  font-style: normal;
  color: var(--footer-text-muted);
}

.site-footer .footer-contact-value a,
.site-footer a.footer-contact-value {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.site-footer .footer-contact-value a:hover,
.site-footer a.footer-contact-value:hover {
  color: #ffffff;
}

.site-footer a.footer-instagram {
  color: #ffffff;
  font-weight: 600;
}

.site-footer a.footer-instagram:hover {
  color: var(--red);
}

/* Nav columns */

.site-footer .footer-column h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5f5f5;
}

.site-footer .footer-column h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--red);
}

.site-footer .footer-link {
  display: block;
  margin-top: 9px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--footer-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-link::before {
  content: "›";
  display: inline-block;
  margin-right: 7px;
  color: var(--red);
  transition: transform 0.2s ease;
}

.site-footer .footer-link:hover {
  color: #f0f0f0;
}

.site-footer .footer-link:hover::before {
  transform: translateX(3px);
}

.site-footer .footer-link:focus-visible,
.site-footer .footer-brand:focus-visible,
.site-footer .footer-contact-value a:focus-visible,
.site-footer a.footer-contact-value:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Copyright */

.site-footer .footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-copyright .company-name {
  font-size: inherit;
  letter-spacing: 0.02em;
}

.site-footer .footer-copyright {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--footer-text-subtle);
}

@media (max-width: 1023px) {
  .site-footer .footer-inner {
    width: min(100% - 48px, 1320px);
    padding: 36px 0 20px;
  }

  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .site-footer .footer-brand-block {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 767px) {
  .site-footer .footer-inner {
    width: min(100% - 32px, 1320px);
    padding: 28px 0 18px;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer .footer-brand-block {
    padding-bottom: 4px;
  }

  .site-footer .footer-legal {
    margin-top: 20px;
    padding-top: 14px;
  }
}
