/* ============================================
   Sound Technologies - Footer
   Mobile-first
   ============================================ */

.st-footer {
  background: #2a2a3a;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 20px 0;
}

.st-footer-inner {
  max-width: var(--st-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

/* --- Brand block --- */

/* Brand name - text replacement for the previous logo image
   (logo image removed because the JPG had a white background
   that clashed with the dark footer) */
.st-footer-brand-name {
  font-family: var(--st-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--st-white);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  line-height: 1.3;
}

.st-footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

/* --- Column headings --- */

.st-footer-heading {
  font-family: var(--st-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--st-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  position: relative;
}

/* Short green accent underline - matches site-wide heading treatment */
.st-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--st-green);
  border-radius: 1px;
}

/* --- Link columns --- */

.st-footer-links ul {
  list-style: none;
}

.st-footer-links li {
  margin-bottom: 8px;
}

.st-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.st-footer-links a:hover {
  color: var(--st-green);
}

/* --- Contact column --- */

.st-footer-contact p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.st-footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-footer-contact a:hover {
  color: var(--st-green);
}

.st-footer-address {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Bottom bar (copyright + credit) --- */

.st-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.st-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: var(--st-max-width);
  margin: 0 auto;
}

/* Seriously Digital credit - sits under copyright on mobile/tablet,
   to the right of it on desktop */
.st-footer-credit {
  margin-top: 6px;
}

.st-footer-credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-footer-credit a:hover,
.st-footer-credit a:focus-visible {
  color: var(--st-green);
  text-decoration: underline;
}

/* ============================================
   Tablet (600px+)
   ============================================ */
@media (min-width: 600px) {
  .st-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .st-footer-brand-name {
    font-size: 1.1rem;
  }
}

/* ============================================
   Desktop (960px+)
   ============================================ */
@media (min-width: 960px) {
  .st-footer {
    padding: 60px 30px 0;
  }

  .st-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  /* Desktop bottom bar - copyright left, credit right */
  .st-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: left;
    max-width: var(--st-max-width);
    margin: 0 auto;
  }

  .st-footer-bottom p {
    margin: 0;
  }

  .st-footer-credit {
    margin-top: 0;
  }
}