/* ==========================================================
   FOOTER - footer.css
   ========================================================== */

.ac-foot {
  margin-top: var(--section-pad);
  border-top: 1px solid var(--glass-stroke);
  background: rgba(14, 14, 16, 0.92);
}

/* ── Why Auto China Band ───────────────────────────────── */
.foot-why {
  background: var(--bg2);
  padding: clamp(40px, 6vw, 72px) 0;
}

.foot-why .inner {
  width: var(--wrap);
  margin-inline: auto;
}

.foot-why h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.foot-why-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 60px);
  flex-wrap: wrap;
  max-width: 860px;
  margin-inline: auto;
}

.foot-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  min-width: 160px;
}

.foot-why-item img {
  height: clamp(100px, 14vw, 160px);
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.foot-why-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.foot-why-item p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.foot-why-item p a:hover { color: var(--red); }

.foot-why-item small {
  font-size: 12px;
  color: var(--ink-2);
  display: block;
}

/* ── Tab Bar (Prywatne / Użytkowe / Przemysłowe) ──────── */
.foot-tabs {
  display: flex;
  justify-content: center;
  padding: 28px 0;
}

.foot-tabs-inner {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.5);
  border-radius: 100px;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-tabs-inner a {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  color: var(--ink-4);
  transition: color 0.15s, background 0.15s;
}

.foot-tabs-inner a:hover { color: var(--bg); background: rgba(0,0,0,0.04); }

.foot-tabs-inner a.active {
  background: var(--bg);
  color: #fff;
}

.foot-tabs-inner .tab-divider {
  width: 1px;
  background: rgba(0,0,0,0.15);
  align-self: stretch;
  display: block;
}

/* ── Footer Main Grid ──────────────────────────────────── */
.foot-main {
  padding-block: clamp(40px, 5vw, 64px);
}

.foot-main .inner {
  width: var(--wrap);
  margin-inline: auto;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

@media (max-width: 1280px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .foot-cols { grid-template-columns: 1fr; text-align: center; } }

.foot-col h3 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  margin-bottom: 12px;
  padding-inline: 4px;
}

.foot-col-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-col-links a {
  display: block;
  padding: 3px 4px;
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.4;
  transition: color 0.15s;
}

.foot-col-links a:hover { color: var(--red); }

/* ── App Store Buttons ─────────────────────────────────── */
.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 160px;
  height: 48px;
  padding: 0 12px;
  background: var(--bg);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.app-btn:hover {
  background: #fff;
  color: var(--bg);
  border-color: #fff;
}

.app-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.app-btn .app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.app-btn .app-btn-text .small {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.app-btn .app-btn-text .big {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Social Icons ──────────────────────────────────────── */
.foot-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.soc-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ink-2);
  font-size: 18px;
  transition: all 0.2s;
  text-decoration: none;
}

.soc-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.foot-about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.foot-about {
  flex: 1;
  max-width: 780px;
}

.foot-social-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.foot-social-block h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.foot-about h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.foot-about p {
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.7;
  max-width: 780px;
}

/* ── Bottom Bar ────────────────────────────────────────── */
.foot-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-bottom .inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-copy {
  font-size: 12px;
  color: var(--ink-3);
}

/* ── Payment Badges ────────────────────────────────────── */
.pay-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-xs);
}

.pay-badge img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.pay-badge-text {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pay-badge-btc { color: #F7931A; }
.pay-badge-alipay { color: #1677FF; }
.pay-badge-wechat { color: #07C160; }

.pay-badge-bitcoin {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pay-badge-bitcoin svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .pay-badges { justify-content: center; }
  .foot-bottom .inner { justify-content: center; text-align: center; }
}
