/* ============================================================
   TK PLUMBING — SITE-WIDE FOOTER (SHORTCODE-COMPLIANT)
   Scoped under .tkfoot- · Mobile-first
   ============================================================ */
.tkfoot-wrap * { box-sizing: border-box; }
.tkfoot-wrap { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #B8CDD8; line-height: 1.65; font-size: 15px; -webkit-font-smoothing: antialiased; }
.tkfoot-wrap a { color: #B8CDD8; text-decoration: none; transition: color 0.25s ease; }
.tkfoot-wrap a:hover { color: #FBBF24; }
.tkfoot-wrap img { max-width: 100%; height: auto; display: block; }
.tkfoot-cont { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .tkfoot-cont { padding: 0 32px; } }

/* ===== Animations ===== */
@keyframes tkfoot-shine { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes tkfoot-pulseDot { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); } 100% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } }
@keyframes tkfoot-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tkfoot-ring { 0%,100% { transform: rotate(0); } 5%,15% { transform: rotate(-15deg); } 10%,20% { transform: rotate(15deg); } 25% { transform: rotate(0); } }

/* ===== CTA strip (top of footer) ===== */
.tkfoot-cta { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%); background-size: 200% 100%; animation: tkfoot-shine 6s linear infinite; padding: 40px 0; position: relative; overflow: hidden; }
.tkfoot-cta::before { content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%); pointer-events: none; }
.tkfoot-cta-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; text-align: center; position: relative; z-index: 1; }
@media (min-width: 768px) { .tkfoot-cta-grid { grid-template-columns: 1.5fr 1fr; text-align: left; gap: 32px; } }
.tkfoot-cta h3 { font-family: 'Poppins', sans-serif; color: #FFFFFF; font-size: clamp(22px, 4vw, 30px); font-weight: 800; margin: 0 0 6px; line-height: 1.2; letter-spacing: -0.01em; }
.tkfoot-cta p { color: rgba(255,255,255,0.95); margin: 0; font-size: 15px; font-weight: 500; }
.tkfoot-cta-actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .tkfoot-cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; } }
@media (min-width: 768px) { .tkfoot-cta-actions { justify-content: flex-end; } }

.tkfoot-btn-pri, .tkfoot-btn-pri:link, .tkfoot-btn-pri:visited {
  background: #0B2A3D !important; color: #FFFFFF !important; border: 2px solid #0B2A3D !important;
  border-radius: 12px !important; padding: 14px 26px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important; font-size: 16px !important;
  text-decoration: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
  cursor: pointer !important; transition: all 0.3s ease !important; min-height: 52px !important;
  box-shadow: 0 6px 18px rgba(11,42,61,0.3) !important;
}
.tkfoot-btn-pri:hover { background: #FFFFFF !important; color: #0B2A3D !important; border-color: #FFFFFF !important; transform: translateY(-3px) !important; }
.tkfoot-btn-sec, .tkfoot-btn-sec:link, .tkfoot-btn-sec:visited {
  background: transparent !important; color: #0B2A3D !important; border: 2px solid #0B2A3D !important;
  border-radius: 12px !important; padding: 14px 26px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important; font-size: 16px !important;
  text-decoration: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  transition: all 0.3s ease !important; min-height: 52px !important;
}
.tkfoot-btn-sec:hover { background: #0B2A3D !important; color: #FFFFFF !important; transform: translateY(-3px) !important; }

/* ===== Animated top border ===== */
.tkfoot-border { height: 4px; background: linear-gradient(90deg, #256E92, #0EA5E9, #F59E0B, #0EA5E9, #256E92); background-size: 200% 100%; animation: tkfoot-shine 8s linear infinite; }

/* ===== Main footer body ===== */
.tkfoot-main { background: #0B2A3D; color: #B8CDD8; padding: 64px 0 32px; position: relative; overflow: hidden; }
.tkfoot-main::before { content: ''; position: absolute; top: -120px; left: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%); pointer-events: none; }
.tkfoot-main::after { content: ''; position: absolute; bottom: -100px; right: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(245,158,11,0.08), transparent 70%); pointer-events: none; }
.tkfoot-grid { display: grid; grid-template-columns: 1fr; gap: 40px; position: relative; z-index: 1; }
@media (min-width: 640px) { .tkfoot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 1024px) { .tkfoot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* Column: Brand */
.tkfoot-brand-logo { width: 98px; height: auto; margin-bottom: 18px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 6px 14px rgba(14,165,233,0.25); }
.tkfoot-brand p { font-size: 14.5px; line-height: 1.7; margin: 0 0 18px; color: #B8CDD8; }
.tkfoot-brand-status { display: inline-flex; align-items: center; gap: 8px; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #10B981; margin-bottom: 22px; }
.tkfoot-brand-status::before { content: ''; width: 8px; height: 8px; background: #10B981; border-radius: 50%; animation: tkfoot-pulseDot 1.8s infinite; }
.tkfoot-socials { display: flex; gap: 10px; }
.tkfoot-soc { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #B8CDD8; display: grid; place-items: center; transition: all 0.3s ease; font-size: 18px; text-decoration: none; }
.tkfoot-soc:hover { background: #F59E0B; border-color: #F59E0B; color: #0B2A3D; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(245,158,11,0.4); }
.tkfoot-soc svg { width: 18px; height: 18px; fill: currentColor; }

/* Column titles */
.tkfoot-title { font-family: 'Poppins', sans-serif; color: #FFFFFF; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 20px; padding-bottom: 12px; position: relative; }
.tkfoot-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: linear-gradient(90deg, #F59E0B, #FBBF24); border-radius: 2px; }

/* Link lists */
.tkfoot-links { list-style: none; padding: 0; margin: 0; }
.tkfoot-links li { margin-bottom: 11px; }
.tkfoot-links a { font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s ease, color 0.25s ease; }
.tkfoot-links a::before { content: '→'; opacity: 0; transform: translateX(-6px); transition: all 0.3s ease; color: #F59E0B; font-weight: 700; }
.tkfoot-links a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact column */
.tkfoot-contact-list { list-style: none; padding: 0; margin: 0; }
.tkfoot-contact-list li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.tkfoot-ico { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(37,110,146,0.25)); border: 1px solid rgba(14,165,233,0.3); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; color: #0EA5E9; }
.tkfoot-contact-list strong { color: #FFFFFF; display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.tkfoot-contact-list a { color: #B8CDD8; }
.tkfoot-contact-list a:hover { color: #FBBF24; }
.tkfoot-phone-big { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #FBBF24 !important; margin-top: 4px; line-height: 1.1; }
.tkfoot-phone-big .tkfoot-ringing { display: inline-block; animation: tkfoot-ring 2.8s ease-in-out infinite; transform-origin: center; }
.tkfoot-phone-big:hover { color: #FFFFFF !important; }

/* Newsletter / lead magnet */
.tkfoot-news { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 22px; backdrop-filter: blur(8px); }
.tkfoot-news-icon { font-size: 32px; margin-bottom: 10px; line-height: 1; animation: tkfoot-bounce 3s ease-in-out infinite; display: inline-block; }
.tkfoot-news h4 { font-family: 'Poppins', sans-serif; color: #FFFFFF; font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.25; }
.tkfoot-news p { font-size: 13.5px; color: #B8CDD8; margin: 0 0 14px; line-height: 1.55; }
.tkfoot-news-cta, .tkfoot-news-cta:link, .tkfoot-news-cta:visited {
  background: linear-gradient(135deg, #F59E0B, #FBBF24) !important; color: #0B2A3D !important; border: 2px solid #F59E0B !important;
  border-radius: 10px !important; padding: 12px 20px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important; font-size: 14px !important;
  text-decoration: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  width: 100% !important; transition: all 0.3s ease !important; min-height: 46px !important;
  box-shadow: 0 6px 16px rgba(245,158,11,0.35) !important;
}
.tkfoot-news-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 22px rgba(245,158,11,0.5) !important; color: #0B2A3D !important; }

/* ===== Service Area pill cloud ===== */
.tkfoot-cities { background: rgba(0,0,0,0.18); border-top: 1px solid rgba(14,165,233,0.15); border-bottom: 1px solid rgba(14,165,233,0.15); padding: 28px 0; margin-top: 48px; position: relative; z-index: 1; }
.tkfoot-cities-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tkfoot-cities-head h4 { font-family: 'Poppins', sans-serif; color: #FFFFFF; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin: 0; }
.tkfoot-cities-head span { font-size: 12px; color: #6B8FA0; }
.tkfoot-cities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tkfoot-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #B8CDD8; font-size: 12.5px; font-weight: 500; transition: all 0.25s ease; text-decoration: none; }
.tkfoot-pill:hover { background: #F59E0B; border-color: #F59E0B; color: #0B2A3D; transform: translateY(-2px); }
.tkfoot-pill::before { content: '📍'; font-size: 11px; }

/* ===== Trust badges row ===== */
.tkfoot-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.tkfoot-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; font-size: 13px; color: #B8CDD8; transition: all 0.3s ease; }
.tkfoot-badge:hover { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.4); transform: translateY(-2px); }
.tkfoot-badge-ico { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #0B2A3D; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.tkfoot-badge strong { color: #FFFFFF; font-weight: 700; }

/* ===== Bottom bar ===== */
.tkfoot-bottom { background: #061B28; padding: 20px 0; color: #6B8FA0; font-size: 13px; }
.tkfoot-bottom-grid { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
@media (min-width: 768px) { .tkfoot-bottom-grid { flex-direction: row; justify-content: space-between; text-align: left; } }
.tkfoot-bottom a { color: #6B8FA0; }
.tkfoot-bottom a:hover { color: #FBBF24; }
.tkfoot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.tkfoot-bottom-credit { font-size: 12.5px; }
.tkfoot-bottom-credit strong { color: #B8CDD8; font-weight: 600; }

/* Adjust for sticky mobile call bar (homepage adds .tkph2-page-pad) */
@media (max-width: 767px) { .tkfoot-bottom { padding-bottom: 80px; } }
