/* ============================================
   SECTION 11 — FOOTER (Full Rebuild)
   ============================================ */

.site-footer {
  background: var(--iptv-navy);
  border-top: 1px solid var(--iptv-border);
  padding: 0;
}

/* ── TRUST BAR ── */
/* ── TRUST BAR ── */
.footer-trust-bar {
  background: linear-gradient(180deg, #07101F 0%, #0C1220 100%);
  border-top: 2px solid rgba(245,197,24,0.5);
  border-bottom: 1px solid var(--iptv-border);
  padding: 20px 40px;
}

.footer-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* ── Card base ── */
.footer-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  flex: 1;
  border-radius: 12px;
  padding: 18px 16px;
  border: 1px solid rgba(28,42,58,0.9);
  border-left-width: 3px;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* ── Color variants — border + bg + left accent + inset glow ── */
.footer-trust-item--tp {
  border-color: rgba(0,182,122,0.3);
  border-left-color: #00B67A;
  background: rgba(0,182,122,0.055);
  box-shadow: inset 4px 0 18px rgba(0,182,122,0.07);
}
.footer-trust-item--cyan {
  border-color: rgba(0,212,255,0.22);
  border-left-color: #00D4FF;
  background: rgba(0,212,255,0.045);
  box-shadow: inset 4px 0 18px rgba(0,212,255,0.06);
}
.footer-trust-item--gold {
  border-color: rgba(245,197,24,0.28);
  border-left-color: #F5C518;
  background: rgba(245,197,24,0.045);
  box-shadow: inset 4px 0 18px rgba(245,197,24,0.07);
}

@media (hover: hover) {
  .footer-trust-item { cursor: default; }
  .footer-trust-item--tp:hover   { border-color: rgba(0,182,122,0.55);  border-left-color: #00B67A;  background: rgba(0,182,122,0.09);  box-shadow: 0 4px 24px rgba(0,182,122,0.14),  inset 4px 0 20px rgba(0,182,122,0.1);  transform: translateY(-2px); }
  .footer-trust-item--cyan:hover { border-color: rgba(0,212,255,0.45);  border-left-color: #00D4FF;  background: rgba(0,212,255,0.08);  box-shadow: 0 4px 24px rgba(0,212,255,0.12),  inset 4px 0 20px rgba(0,212,255,0.08);  transform: translateY(-2px); }
  .footer-trust-item--gold:hover { border-color: rgba(245,197,24,0.52); border-left-color: #F5C518; background: rgba(245,197,24,0.08);  box-shadow: 0 4px 24px rgba(245,197,24,0.14), inset 4px 0 20px rgba(245,197,24,0.09); transform: translateY(-2px); }
}

/* ── Top row: icon + metric ── */
.fti-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fti-top svg { flex-shrink: 0; }

.footer-trust-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
}

/* ── Metric (big bold number/text) ── */
.footer-trust-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.footer-trust-item--tp   strong { color: #00B67A; }
.footer-trust-item--cyan strong { color: #00D4FF; }
.footer-trust-item--gold strong { color: #F5C518; }

/* ── Label row ── */
.fti-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #A0B0C0;
  white-space: nowrap;
}

.footer-trust-sep { display: none; }
.tp-icon-lg       { display: none; }
.fti-content      { display: none; }

/* ── MAIN FOOTER BODY ── */
.footer-body {
  padding: 64px 40px 56px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}

/* ── BRAND COLUMN ── */
.footer-brand-card {
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(0,212,255,0.02) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-left: 3px solid var(--iptv-cyan);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 4px 0 20px rgba(0,212,255,0.05), 0 2px 16px rgba(0,0,0,0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-brand-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (hover: hover) {
  .footer-brand-card:hover {
    border-color: rgba(0,212,255,0.4);
    border-left-color: var(--iptv-cyan);
    box-shadow: inset 4px 0 20px rgba(0,212,255,0.09), 0 4px 24px rgba(0,212,255,0.08);
  }
}

.footer-brand .footer-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--iptv-white);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-brand .footer-logo-text span { color: var(--iptv-cyan); }

.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #B0C4D8;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 270px;
}

.footer-cta-btn {
  margin-bottom: 8px;
}

/* ── NAV COLUMN CARDS ── */
.footer-nav-col {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(28,42,58,0.9);
  border-top-width: 2px;
  border-radius: 10px;
  padding: 20px 18px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.footer-nav-col--cyan  { border-top-color: var(--iptv-cyan);  box-shadow: 0 -2px 0 0 rgba(0,212,255,0.0),  inset 0 1px 0 rgba(0,212,255,0.04); }
.footer-nav-col--gold  { border-top-color: var(--iptv-gold);  box-shadow: 0 -2px 0 0 rgba(245,197,24,0.0), inset 0 1px 0 rgba(245,197,24,0.04); }
.footer-nav-col--silver{ border-top-color: #6B7E91;           box-shadow: 0 -2px 0 0 rgba(107,126,145,0.0),inset 0 1px 0 rgba(107,126,145,0.04); }
.footer-nav-col--green { border-top-color: #25D366;           box-shadow: 0 -2px 0 0 rgba(37,211,102,0.0), inset 0 1px 0 rgba(37,211,102,0.04); }

@media (hover: hover) {
  .footer-nav-col--cyan:hover   { border-color: rgba(0,212,255,0.35);  border-top-color: var(--iptv-cyan);  box-shadow: 0 4px 20px rgba(0,212,255,0.07); }
  .footer-nav-col--gold:hover   { border-color: rgba(245,197,24,0.3);  border-top-color: var(--iptv-gold);  box-shadow: 0 4px 20px rgba(245,197,24,0.07); }
  .footer-nav-col--silver:hover { border-color: rgba(107,126,145,0.4); border-top-color: #6B7E91;           box-shadow: 0 4px 20px rgba(107,126,145,0.06); }
  .footer-nav-col--green:hover  { border-color: rgba(37,211,102,0.3);  border-top-color: #25D366;           box-shadow: 0 4px 20px rgba(37,211,102,0.08); }
}

/* ── COLUMN TITLE ── */
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(28,42,58,0.8);
}

.footer-nav-col .footer-col-title { color: var(--iptv-cyan); }

/* ── NAV LINKS — Barlow Condensed, same as mobile menu ── */
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--iptv-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s, text-shadow 0.2s;
}

.footer-col-links a::before {
  content: '›';
  font-size: 18px;
  line-height: 1;
  color: #FFD740;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-col-links a:hover { color: #FFD740; text-shadow: 0 0 12px rgba(245,197,24,0.35); }

.footer-col-links a:hover::before { opacity: 1; transform: translateX(0); }

/* ── CONTACT COLUMN ── */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(37,211,102,0.05);
  border: 1px solid rgba(37,211,102,0.15);
  border-radius: 8px;
  padding: 13px 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.footer-contact-card:hover {
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.09);
  box-shadow: 0 4px 16px rgba(37,211,102,0.1);
}

.footer-contact-icon {
  color: #25D366;
  flex-shrink: 0;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--iptv-white);
}

.footer-contact-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #7AAA88;
}

/* ══════════════════════════════════════════
   PAYMENT ROW — MOBILE FIRST
   Mobile base (up to 767px) — ONE ROW of chips, column stack
   Desktop (768px+)           — single horizontal bar
   Rules are fully separate. Never mix.
══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   MOBILE BASE  (default / up to 767px)
───────────────────────────────────────── */
.footer-payment-section {
  padding: 28px 0;
  border-top: 1px solid var(--iptv-border);
  border-bottom: 1px solid var(--iptv-border);
  margin-bottom: 32px;
}

/* Column: label → chip row → ssl */
.footer-payment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-payment-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--iptv-muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  text-align: center;
}

/* Five chips — ONE ROW, equal width */
.footer-pay-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.fp-chip {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fp-chip--dark {
  background: #1c1c1e;
  border: 1px solid #3a3a3c;
}

/* Logo fills the chip frame — object-fit scales to both axes */
.fp-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 10px;
  box-sizing: border-box;
}

.footer-ssl-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--iptv-cyan);
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────
   DESKTOP  (768px and above)
───────────────────────────────────────── */
@media (min-width: 768px) {
  .footer-payment-section {
    padding: 22px 0;
  }

  /* Single horizontal bar: label | chips | ssl */
  .footer-payment-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .footer-payment-label {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Chips row — fixed auto size, no stretch */
  .footer-pay-chips {
    flex-wrap: nowrap;
    width: auto;
    gap: 10px;
  }

  .fp-chip {
    flex: 0 0 auto;
    width: 110px;
    height: 54px;
    border-radius: 8px;
  }

  .fp-chip img {
    padding: 10px 14px;
  }

  .footer-ssl-badge {
    margin-left: auto;
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

@media (hover: hover) {
  .fp-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  }
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--iptv-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--iptv-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.footer-legal-links a:hover {
  color: var(--iptv-white);
  background: rgba(255,255,255,0.05);
}

.footer-legal-sep {
  color: var(--iptv-border);
  font-size: 11px;
  user-select: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
  }
  .footer-top .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
  .footer-trust-bar { padding: 16px 20px; }
  .footer-trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .footer-trust-item {
    padding: 14px 10px;
    gap: 5px;
    border-radius: 10px;
  }
  .footer-trust-item strong { font-size: 22px; }
  .fti-label { font-size: 11px; letter-spacing: 0.3px; white-space: normal; color: #A0B0C0; }
  .footer-body { padding: 48px 20px 40px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-top .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  /* payment row handled by its own min-width: 768px block */
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 2×2 grid preserved at all mobile sizes — never single column */
  .footer-trust-inner { grid-template-columns: 1fr 1fr; gap: 6px; }
  .footer-trust-item { padding: 12px 8px; gap: 5px; }
  .footer-trust-item strong { font-size: 22px; }
  .fti-label { font-size: 11px; color: #A0B0C0; }

  /* payment row is already mobile-first — no overrides needed here */

  /* Bottom bar */
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
  .footer-legal-links { justify-content: center; }
  .footer-copyright { width: 100%; text-align: center; }

  .footer-cta-btn { width: 100%; }
}
