/* Chân trang tinh gọn & chuyên nghiệp cho CÔNG TY TNHH PIARC (1 Footer duy nhất) */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color, #e2e8f0);
  padding: 2.5rem 0 2rem;
  background: #ffffff;
  color: var(--text-secondary, #475569);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.footer-brand-name {
  color: var(--primary, #2e7d32);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-piarc-logo {
  max-height: 32px !important;
  max-width: 115px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.link-piarc {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.link-piarc:hover {
  color: var(--primary, #2e7d32);
  text-decoration: underline;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary, #475569);
}

.footer-company-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.footer-info-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-info-label {
  color: #64748b;
  font-size: 0.82rem;
}

.footer-info-val {
  color: #1e293b;
  font-weight: 600;
}

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.footer-links-list li {
  font-size: 0.85rem;
}

.footer-links-list a {
  color: var(--text-secondary, #475569);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--primary, #2e7d32);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col-company {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-col-company {
    grid-column: span 1;
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .header-center {
    display: none;
  }
  .tile-grid {
    grid-template-columns: 1fr;
    margin: 1.5rem auto;
  }
  .card {
    padding: 1.1rem;
  }
  .btn {
    width: 100%;
  }
  .header-right .btn {
    width: auto;
  }
}
