/* TitanAxe site footer — dark navy + neon green */
.ta-footer {
  --tf-bg: #050a0f;
  --tf-accent: #4ade80;
  --tf-accent-soft: #50c878;
  --tf-text: #ffffff;
  --tf-muted: #c8d0d8;
  --tf-dim: #9aa8b4;
  --tf-rule: rgba(148, 163, 184, 0.28);
  --tf-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--tf-bg);
  color: var(--tf-text);
  font-family: var(--tf-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ta-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ta-footer a:hover {
  color: var(--tf-accent);
}

.ta-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Top: brand + nav ---- */
.ta-footer-top {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--tf-rule);
}

.ta-footer-top-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.ta-footer-brand {
  max-width: 280px;
}

.ta-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ta-footer-brand-link:hover {
  color: var(--tf-text);
}

.ta-footer-favicon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.ta-footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.1;
}

.ta-footer-brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ta-footer-brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.ta-footer-brand-desc {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.ta-footer-brand-rule {
  width: 48px;
  height: 2px;
  background: var(--tf-accent);
  border: 0;
  margin: 0;
}

.ta-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.ta-footer-nav-col {
  padding: 0 1.15rem;
  border-left: 1px solid var(--tf-rule);
  min-width: 0;
}

.ta-footer-nav-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.ta-footer-nav-title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tf-accent);
}

.ta-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ta-footer-nav-list a {
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.ta-footer-nav-more {
  margin-top: 0.35rem;
  font-size: 0.84rem !important;
  font-weight: 600;
  color: var(--tf-accent) !important;
}

.ta-footer-nav-more:hover {
  color: #6ee7a0 !important;
}

/* ---- Mid: global offices ---- */
.ta-footer-offices {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--tf-accent);
}

.ta-footer-offices-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.ta-footer-offices-intro {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ta-footer-offices-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ta-footer-globe {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--tf-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tf-accent);
  flex-shrink: 0;
}

.ta-footer-globe i {
  font-size: 1.05rem;
  line-height: 1;
}

.ta-footer-offices-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tf-accent);
}

.ta-footer-offices-copy {
  margin: 0;
  padding-left: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 11.5rem;
}

.ta-footer-office-cols {
  display: grid;
  grid-template-columns: repeat(var(--tf-office-count, 5), minmax(0, 1fr));
  gap: 0;
}

.ta-footer-office {
  padding: 0 1.1rem;
  border-left: 1px solid var(--tf-rule);
  min-width: 0;
}

.ta-footer-office:first-child {
  padding-left: 0;
  border-left: 0;
}

.ta-footer-office-city {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.ta-footer-office-city i {
  color: var(--tf-accent);
  font-size: 0.95rem;
}

.ta-footer-office-address {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-line;
}

.ta-footer-office-phone {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tf-accent);
  line-height: 1.35;
}

.ta-footer-office-phone:hover {
  color: #6ee7a0;
}

/* ---- Bottom bar ---- */
.ta-footer-bottom {
  padding: 1.15rem 0 1.35rem;
}

.ta-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ta-footer-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ta-footer-tagline-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--tf-accent);
}

.ta-footer-tagline-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.8rem;
  line-height: 1.3;
  padding-right: 1.25rem;
  border-right: 1px solid var(--tf-rule);
}

.ta-footer-tagline-text span:first-child {
  color: #fff;
}

.ta-footer-tagline-accent {
  color: var(--tf-accent) !important;
  font-weight: 600;
}

.ta-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
}

.ta-footer-legal a {
  color: rgba(255, 255, 255, 0.88);
}

.ta-footer-legal-sep {
  margin: 0 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.ta-footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.ta-footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--tf-dim);
  white-space: nowrap;
}

.ta-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.ta-footer-social:hover {
  color: var(--tf-accent);
  border-color: var(--tf-accent);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .ta-footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ta-footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .ta-footer-nav-col {
    border-left: 0;
    padding: 0 1rem 0 0;
  }

  .ta-footer-nav-col:nth-child(n + 4) {
    border-top: 1px solid var(--tf-rule);
    padding-top: 1.25rem;
  }

  .ta-footer-offices-grid {
    grid-template-columns: 1fr;
  }

  .ta-footer-offices-copy {
    max-width: none;
  }

  .ta-footer-office-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .ta-footer-office {
    border-left: 0;
    padding: 0 1rem 0 0;
  }

  .ta-footer-office:nth-child(n + 4) {
    border-top: 1px solid var(--tf-rule);
    padding-top: 1.25rem;
  }
}

@media (max-width: 720px) {
  .ta-footer-top {
    padding: 2.5rem 0 2rem;
  }

  .ta-footer-nav,
  .ta-footer-office-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-footer-nav-col:nth-child(n + 3),
  .ta-footer-office:nth-child(n + 3) {
    border-top: 1px solid var(--tf-rule);
    padding-top: 1.25rem;
  }

  .ta-footer-nav-col:nth-child(n + 4) {
    /* reset 1100px rule overlap */
  }

  .ta-footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ta-footer-tagline-text {
    border-right: 0;
    padding-right: 0;
  }

  .ta-footer-meta {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .ta-footer-copy {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .ta-footer-nav,
  .ta-footer-office-cols {
    grid-template-columns: 1fr;
  }

  .ta-footer-nav-col,
  .ta-footer-office {
    border-top: 0 !important;
    padding-top: 0 !important;
    padding-right: 0;
  }

  .ta-footer-nav-col + .ta-footer-nav-col,
  .ta-footer-office + .ta-footer-office {
    margin-top: 1.35rem;
    padding-top: 1.35rem !important;
    border-top: 1px solid var(--tf-rule) !important;
  }
}
