/* ======================================== */
/* ============ GLOBAL FOOTER ============= */
/* ======================================== */

.site-footer {
  background: #050608;
  color: #f2f2f2;
  padding: 48px 7vw 26px;
  font-family: var(--font-body);
}

.footer-main {
  max-width: 1240px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

/* columns */
.footer-col {
  font-size: 0.9rem;
}

/* brand column */
.footer-brand .footer-logo-row {
  margin-bottom: 14px;
}

.footer-logo {
  max-width: 190px;
  height: auto;
}

.footer-tagline {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* contact list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--primary-color);
}

/* simple icon circles */
.footer-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* using basic characters instead of external icon libraries */
.footer-icon.phone::before {
  content: "☎";
}

.footer-icon.mail::before {
  content: "✉";
}

.footer-icon.clock::before {
  content: "⏰";
}

.footer-icon.location::before {
  content: "⌖";
}

/* headings */
.footer-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  margin: 4px 0 14px;
}

/* links list */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* social */
.footer-social-text {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.footer-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0a66c2; /* LinkedIn blue */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-social-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* bottom bar */
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy.secondary {
  opacity: 0.8;
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 40px 6vw 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
