/* ═══════════════════════════════════════════════════════════
   tc-footer.css — TaxClue Footer
   Upload to: your-theme/assets/css/tc-footer.css
   Enqueue in functions.php (see snippet below)
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   ADD TO functions.php:

   function tc_enqueue_footer_css() {
       wp_enqueue_style(
           'tc-footer',
           get_template_directory_uri() . '/assets/css/tc-footer.css',
           array('tc-fonts'), '1.0.0'
       );
   }
   add_action('wp_enqueue_scripts', 'tc_enqueue_footer_css');

   // Register footer menu locations:
   function tc_register_footer_menus() {
       register_nav_menus(array(
           'tc_footer_services'   => 'TaxClue Footer — Services',
           'tc_footer_compliance' => 'TaxClue Footer — Compliance',
           'tc_footer_company'    => 'TaxClue Footer — Company',
       ));
   }
   add_action('after_setup_theme', 'tc_register_footer_menus');
   ───────────────────────────────────────────── */

:root {
  --f-navy:    #070f1e;
  --f-navy2:   #0d1e3c;
  --f-blue:    #1355c1;
  --f-blue2:   #1a6af5;
  --f-pink:    #e83e5a;
  --f-gold:    #f5a623;
  --f-white:   #ffffff;
  --f-w60:     rgba(255,255,255,.6);
  --f-w30:     rgba(255,255,255,.3);
  --f-w12:     rgba(255,255,255,.12);
  --f-w06:     rgba(255,255,255,.06);
  --f-border:  rgba(255,255,255,.1);
}

/* ── Wrapper ── */
.tcf {
  background: var(--f-navy);
  color: var(--f-white);
  position: relative;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Dot grid texture */
.tcf::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.042) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Glow blobs */
.tcf-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.tcf-blob--1 { width:500px; height:500px; background:rgba(19,85,193,.18); top:-80px; left:-100px; }
.tcf-blob--2 { width:400px; height:400px; background:rgba(232,62,90,.1); bottom:80px; right:-60px; }
.tcf-blob--3 { width:300px; height:300px; background:rgba(245,166,35,.07); top:50%; left:50%; transform:translate(-50%,-50%); }

.tcf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── CTA BAND ── */
.tcf-cta {
  border-bottom: 1px solid var(--f-border);
  padding: 56px 0 52px;
}
.tcf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.tcf-cta-left { flex: 1; min-width: 260px; }

.tcf-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--f-gold);
  margin-bottom: 12px;
}
.tcf-cta-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--f-gold);
  border-radius: 2px;
}

.tcf-cta-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--f-white);
  margin-bottom: 10px;
  letter-spacing: -.4px;
}

.tcf-cta-sub {
  font-size: 14.5px;
  color: var(--f-w60);
  line-height: 1.6;
  max-width: 420px;
}

.tcf-cta-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.tcf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 22px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.tcf-btn--primary {
  background: var(--f-pink);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,62,90,.35);
}
.tcf-btn--primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(232,62,90,.5); color:#fff; }
.tcf-btn--ghost {
  background: var(--f-w12);
  color: var(--f-white);
  border: 1.5px solid var(--f-border);
}
.tcf-btn--ghost:hover { background:var(--f-white); color:var(--f-navy); border-color:var(--f-white); transform:translateY(-2px); }

/* ── MAIN GRID ── */
.tcf-body {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--f-border);
}

.tcf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Brand column ── */
.tcf-logo-img {
  height: 40px; width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.tcf-brand-desc {
  font-size: 13.5px;
  color: var(--f-w60);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.tcf-stats {
  display: flex;
  align-items: center;
  background: var(--f-w06);
  border: 1px solid var(--f-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.tcf-stat {
  flex: 1;
  padding: 13px 14px;
  text-align: center;
  border-right: 1px solid var(--f-border);
}
.tcf-stat:last-child { border-right: none; }
.tcf-stat strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--f-white);
  line-height: 1;
  margin-bottom: 3px;
}
.tcf-stat span {
  font-size: 10px;
  font-weight: 600;
  color: var(--f-w60);
  text-transform: uppercase;
  letter-spacing: .7px;
}

.tcf-social { display: flex; gap: 8px; }
.tcf-soc {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--f-w06);
  border: 1px solid var(--f-border);
  display: grid; place-items: center;
  color: var(--f-w60);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.tcf-soc:hover {
  background: var(--f-blue);
  border-color: var(--f-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Link columns ── */
.tcf-col-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--f-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tcf-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--f-border);
}

/* WordPress outputs <ul class="tcf-links"> */
ul.tcf-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
ul.tcf-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--f-w60);
  text-decoration: none;
  transition: color .18s, gap .18s;
}
ul.tcf-links li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--f-w30);
  flex-shrink: 0;
  transition: background .18s, width .18s;
}
ul.tcf-links li a:hover { color: var(--f-white); gap: 11px; }
ul.tcf-links li a:hover::before { background: var(--f-pink); width: 6px; }

/* Contact list */
ul.tcf-contact {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
ul.tcf-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--f-w60);
  line-height: 1.5;
}
ul.tcf-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--f-gold); }
ul.tcf-contact li a { color: var(--f-w60); text-decoration: none; transition: color .18s; }
ul.tcf-contact li a:hover { color: var(--f-white); }

/* ── Trust badges ── */
.tcf-trust {
  padding: 26px 0;
  border-bottom: 1px solid var(--f-border);
}
.tcf-trust-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.tcf-trust-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--f-w30);
  white-space: nowrap;
  flex-shrink: 0;
}
.tcf-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tcf-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: var(--f-w06);
  border: 1px solid var(--f-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--f-w60);
  white-space: nowrap;
}
.tcf-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}

/* ── Bottom bar ── */
.tcf-bottom { padding: 20px 0; }
.tcf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tcf-copy { font-size: 12.5px; color: var(--f-w30); }
.tcf-copy a { color: var(--f-w60); text-decoration: none; transition: color .18s; }
.tcf-copy a:hover { color: var(--f-white); }
.tcf-flag { display: inline-flex; align-items: center; gap: 4px; }

.tcf-legal { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tcf-legal a { font-size: 12.5px; color: var(--f-w30); text-decoration: none; transition: color .18s; }
.tcf-legal a:hover { color: var(--f-w60); }
.tcf-legal-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--f-w30); flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tcf-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tcf-brand { grid-column: 1 / -1; }
  .tcf-brand .tcf-brand-desc { max-width: 100%; }
}
@media (max-width: 640px) {
  .tcf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tcf-brand { grid-column: 1 / -1; }
  .tcf-cta { padding: 40px 0 36px; }
  .tcf-body { padding: 40px 0 32px; }
  .tcf-cta-inner { flex-direction: column; align-items: flex-start; }
  .tcf-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tcf-trust-inner { gap: 14px; }
}
@media (max-width: 420px) {
  .tcf-grid { grid-template-columns: 1fr; }
  .tcf-stat strong { font-size: 15px; }
}
