/* footer.css - shared site footer */

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.58), transparent 24%),
    linear-gradient(135deg, #f2f5f8 0%, #c8d0d8 18%, #ffffff 38%, #b8c0ca 58%, #8d98a5 100%);
  border-top: 1px solid rgba(76, 87, 100, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  padding: clamp(2.8rem, 5vw, 4.25rem) 0 2rem;
  margin-top: var(--spacing-3xl);
}

.site-footer h4 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  color: #131c26;
}

.site-footer ul li {
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: rgba(19, 28, 38, 0.84);
  font-size: 1.08rem;
  line-height: 1.55;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.site-footer a:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.site-footer .footer-content {
  grid-template-columns: minmax(280px, 1.28fr) repeat(3, minmax(180px, 1fr));
  gap: clamp(2.2rem, 3.4vw, 4.5rem);
  align-items: flex-start;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid rgba(76, 87, 100, 0.18);
}

.footer-panel {
  min-width: 0;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: -2.45rem 0 -0.15rem;
  text-decoration: none;
}

.footer-brand-logo {
  width: clamp(154px, 12.5vw, 208px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

.footer-brand-name {
  display: none;
}

.footer-brand-text,
.footer-note {
  max-width: 32ch;
  color: rgba(19, 28, 38, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.footer-brand-panel {
  text-align: left;
  align-self: start;
  padding-top: 0;
  transform: translateX(-12px);
}

.footer-brand-panel .footer-brand-text {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  max-width: 34ch;
  color: rgba(19, 28, 38, 0.78);
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list a {
  display: inline-block;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-list a span:not(.footer-social-icon),
.footer-contact-value,
.footer-contact-label {
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.footer-social-list .footer-social-icon {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(244, 226, 154, 0.72);
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(244, 226, 154, 0.5);
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.footer-social-list .footer-social-icon::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96) 0%, rgba(208, 216, 225, 0.98) 34%, rgba(168, 178, 189, 0.96) 68%, rgba(245, 248, 251, 0.98) 100%);
  border: 1px solid rgba(123, 136, 150, 0.35);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.82),
    inset 0 -2px 4px rgba(88, 99, 112, 0.18),
    0 2px 8px rgba(22, 28, 34, 0.16);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.footer-social-icon__asset {
  position: relative;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  object-fit: contain;
}

.footer-social-icon {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(244, 226, 154, 0.72);
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(244, 226, 154, 0.5);
  overflow: hidden;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.footer-social-icon::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96) 0%, rgba(208, 216, 225, 0.98) 34%, rgba(168, 178, 189, 0.96) 68%, rgba(245, 248, 251, 0.98) 100%);
  border: 1px solid rgba(123, 136, 150, 0.35);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.82),
    inset 0 -2px 4px rgba(88, 99, 112, 0.18),
    0 2px 8px rgba(22, 28, 34, 0.16);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.footer-link-list a:hover {
  transform: translateX(2px);
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-social-list a:hover .footer-social-icon {
  border-color: var(--color-primary-light);
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-3px) scale(1.015);
}

.footer-social-list a:hover .footer-social-icon::before {
  background:
    linear-gradient(140deg, rgba(255, 247, 219, 0.98) 0%, rgba(214, 165, 76, 0.98) 28%, rgba(142, 91, 22, 0.98) 58%, rgba(244, 216, 146, 0.99) 82%, rgba(116, 71, 18, 0.98) 100%);
  border-color: rgba(156, 101, 26, 0.46);
  box-shadow:
    inset 0 1px 1px rgba(255, 250, 232, 0.9),
    inset 0 -3px 5px rgba(99, 57, 10, 0.22),
    0 0 0 1px rgba(255, 228, 165, 0.2),
    0 0 14px rgba(223, 176, 88, 0.42),
    0 4px 12px rgba(66, 35, 8, 0.22);
}

.footer-social-list a:hover span:not(.footer-social-icon) {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.footer-contact-details {
  display: block;
}

.footer-contact-details li {
  margin-bottom: 0.9rem;
}

.footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(19, 28, 38, 0.82);
  font-size: 1.08rem;
  line-height: 1.55;
}

.footer-contact-row .footer-social-icon {
  margin-right: 0;
}

.footer-contact-label {
  color: rgba(19, 28, 38, 0.92);
  font-weight: 500;
}

.footer-contact-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  column-gap: 0.25rem;
}

.footer-contact-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.08rem;
  min-width: 0;
}

.footer-contact-row[href*="Great%20Portland%20St"],
.footer-contact-row[href*="2%20L%20Street%20149"] {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.08rem;
  align-items: start;
}

.footer-contact-heading {
  display: block;
  grid-column: 2;
  grid-row: 1;
  padding-top: 0.2rem;
}

.footer-contact-address .footer-contact-label {
  white-space: nowrap;
}

.footer-contact-address .footer-contact-value {
  display: block;
  grid-column: 2;
  grid-row: 2;
}

.footer-contact-row[href*="Great%20Portland%20St"] .footer-social-icon,
.footer-contact-row[href*="2%20L%20Street%20149"] .footer-social-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.footer-contact-value {
  color: rgba(19, 28, 38, 0.8);
}

.footer-contact-details li:hover .footer-social-icon,
.footer-contact-row:hover .footer-social-icon {
  border-color: var(--color-primary-light);
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-3px) scale(1.015);
}

.footer-contact-details li:hover .footer-social-icon::before,
.footer-contact-row:hover .footer-social-icon::before {
  background:
    linear-gradient(140deg, rgba(255, 247, 219, 0.98) 0%, rgba(214, 165, 76, 0.98) 28%, rgba(142, 91, 22, 0.98) 58%, rgba(244, 216, 146, 0.99) 82%, rgba(116, 71, 18, 0.98) 100%);
  border-color: rgba(156, 101, 26, 0.46);
  box-shadow:
    inset 0 1px 1px rgba(255, 250, 232, 0.9),
    inset 0 -3px 5px rgba(99, 57, 10, 0.22),
    0 0 0 1px rgba(255, 228, 165, 0.2),
    0 0 14px rgba(223, 176, 88, 0.42),
    0 4px 12px rgba(66, 35, 8, 0.22);
}

.footer-contact-row:hover {
  color: var(--color-primary-light);
  transform: translateX(2px);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-contact-row:hover .footer-contact-label,
.footer-contact-row:hover .footer-contact-value {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1.75rem;
  text-align: left;
}

.footer-bottom p {
  margin: 0;
  color: rgba(19, 28, 38, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  max-width: 38rem;
  text-align: right;
}

@media (max-width: 1024px) {
  .site-footer .footer-content {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .footer-brand-panel {
    max-width: 36rem;
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.75rem;
  }

  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand-panel {
    text-align: center;
    justify-self: center;
    align-self: center;
    transform: none;
  }

  .footer-brand-lockup {
    justify-content: center;
    margin-top: -1.15rem;
    margin-bottom: 0;
  }

  .footer-brand-logo {
    width: clamp(140px, 34vw, 178px);
  }

  .footer-brand-panel .footer-brand-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-bottom p:last-child {
    text-align: center;
  }

  .site-footer a,
  .footer-brand-text,
  .footer-note,
  .footer-bottom p {
    font-size: 1rem;
  }
}
