/* ============================================================
   HYDRIFY ENERGY — GLOBAL FOOTER REDESIGN
   ============================================================ */

/* ── Reset old footers ── */
.footer, .prod-footer {
  all: unset; display: block;
}
.footer-inner, .pf-inner, .pf-bottom { all: unset; display: block; }

/* ══════════════════════════════════════════
   NEW FOOTER WRAPPER
══════════════════════════════════════════ */
.hf-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #020a16 0%, #030d1e 60%, #020810 100%);
  border-top: 1px solid rgba(61,214,232,.15);
}

/* animated top line */
.hf-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), var(--green), var(--cyan), transparent);
  background-size: 300%;
  animation: footerLine 5s linear infinite;
}
@keyframes footerLine { 0% { background-position: 0%; } 100% { background-position: 300%; } }

/* background grid */
.hf-footer::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(61,214,232,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,214,232,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* radial glows */
.hf-footer-glow {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(100px); opacity: .18;
}
.hf-footer-glow-1 { width: 600px; height: 400px; background: rgba(61,214,232,.4);  top: -100px; left: -160px; }
.hf-footer-glow-2 { width: 500px; height: 350px; background: rgba(91,141,238,.35); top: -80px;  right: -140px; }
.hf-footer-glow-3 { width: 400px; height: 300px; background: rgba(46,232,160,.25); bottom: 0;   left: 35%; }

/* ── CTA BAND ── */
.hf-cta-band {
  position: relative; z-index: 1;
  border-bottom: 1px solid rgba(61,214,232,.1);
  padding: clamp(44px,6vw,72px) clamp(16px,4vw,40px);
}
.hf-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.hf-cta-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem,3.5vw,2.2rem); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 8px;
}
.hf-cta-text p { font-size: .95rem; color: var(--muted); line-height: 1.7; max-width: 520px; }
.hf-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.hf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  background: var(--grad); color: #000;
  font-family: 'Orbitron', sans-serif; font-size: .8rem; font-weight: 900;
  letter-spacing: .5px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(61,214,232,.35);
  transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.hf-btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg); animation: btnShimmer 3.5s ease-in-out infinite;
}
.hf-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(61,214,232,.55); }
.hf-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  background: transparent; color: var(--cyan);
  font-family: 'Orbitron', sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .5px; text-decoration: none;
  border: 2px solid rgba(61,214,232,.4);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.hf-btn-outline:hover { border-color: var(--cyan); background: rgba(61,214,232,.1); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(61,214,232,.2); }

/* ── MAIN COLUMNS ── */
.hf-main {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(48px,6vw,80px) clamp(16px,4vw,40px) clamp(40px,5vw,60px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(28px,4vw,60px);
}

/* Brand col */
.hf-brand { display: flex; flex-direction: column; gap: 0; }
.hf-brand-logo {
  height: 62px; width: auto; object-fit: contain; margin-bottom: 18px;
  filter: brightness(1.25) drop-shadow(0 0 14px rgba(61,214,232,.55));
  transition: filter .3s;
}
.hf-brand-logo:hover { filter: brightness(1.4) drop-shadow(0 0 22px rgba(61,214,232,.8)); }
.hf-brand-tagline {
  font-family: 'Rajdhani', sans-serif; font-size: .95rem;
  color: var(--cyan); font-weight: 600; letter-spacing: 1.5px; margin-bottom: 14px;
}
.hf-brand-desc { font-size: .83rem; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }

/* Socials */
.hf-socials { display: flex; gap: 10px; margin-bottom: 28px; }
.hf-social {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(61,214,232,.07); border: 1px solid rgba(61,214,232,.18);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  text-decoration: none; transition: all .25s;
}
.hf-social:hover { background: rgba(61,214,232,.16); border-color: var(--cyan); transform: translateY(-3px) scale(1.08); box-shadow: 0 6px 20px rgba(61,214,232,.2); }

/* Contact chips */
.hf-contact-chips { display: flex; flex-direction: column; gap: 8px; }
.hf-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(61,214,232,.05); border: 1px solid rgba(61,214,232,.1);
  border-radius: 10px; padding: 9px 14px;
  font-size: .8rem; color: var(--muted); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.hf-chip:hover { background: rgba(61,214,232,.1); border-color: rgba(61,214,232,.3); color: var(--cyan); }
.hf-chip-icon { font-size: 1rem; flex-shrink: 0; }

/* Link columns */
.hf-col-title {
  font-family: 'Orbitron', sans-serif; font-size: .65rem;
  color: var(--cyan); letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.hf-col-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(61,214,232,.3), transparent); min-width: 20px; }
.hf-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.hf-links li a {
  color: rgba(138,180,196,.7); font-size: .84rem;
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  transition: color .2s, padding-left .2s;
}
.hf-links li a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(61,214,232,.3); flex-shrink: 0; transition: background .2s, transform .2s; }
.hf-links li a:hover { color: var(--cyan); padding-left: 4px; }
.hf-links li a:hover::before { background: var(--cyan); transform: scale(1.6); }

/* Newsletter col */
.hf-newsletter-text { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.hf-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.hf-newsletter-input {
  background: rgba(4,11,22,.8); border: 1px solid rgba(61,214,232,.18);
  border-radius: 12px; padding: 12px 16px;
  color: var(--text); font-size: .85rem; font-family: 'Inter', sans-serif;
  outline: none; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.hf-newsletter-input::placeholder { color: rgba(138,180,196,.35); }
.hf-newsletter-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(61,214,232,.1); }
.hf-newsletter-btn {
  width: 100%; padding: 12px; border: none; border-radius: 12px;
  background: var(--grad); color: #000;
  font-family: 'Orbitron', sans-serif; font-size: .75rem; font-weight: 900;
  cursor: pointer; letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(61,214,232,.3);
  transition: transform .25s, box-shadow .25s;
}
.hf-newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(61,214,232,.45); }

/* Certifications */
.hf-certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.hf-cert-badge {
  background: rgba(61,214,232,.06); border: 1px solid rgba(61,214,232,.18);
  border-radius: 8px; padding: 6px 12px;
  font-family: 'Orbitron', sans-serif; font-size: .58rem;
  color: rgba(61,214,232,.7); letter-spacing: 1px; font-weight: 700;
  transition: background .2s, border-color .2s;
}
.hf-cert-badge:hover { background: rgba(61,214,232,.12); border-color: rgba(61,214,232,.4); color: var(--cyan); }

/* ── BOTTOM BAR ── */
.hf-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(61,214,232,.08);
}
.hf-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 22px clamp(16px,4vw,40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.hf-copy { font-size: .78rem; color: rgba(138,180,196,.4); }
.hf-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.hf-bottom-links a { font-size: .78rem; color: rgba(138,180,196,.4); text-decoration: none; transition: color .2s; }
.hf-bottom-links a:hover { color: var(--cyan); }
.hf-made-in {
  font-size: .75rem; color: rgba(138,180,196,.3);
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hf-main { grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .hf-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .hf-brand-logo { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .hf-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hf-brand { grid-column: 1 / -1; display: flex; flex-direction: column; }
  .hf-cta-inner { flex-direction: column; text-align: center; }
  .hf-cta-btns { justify-content: center; }
  .hf-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .hf-bottom-links { justify-content: center; }
}
@media (max-width: 480px) {
  .hf-main { grid-template-columns: 1fr; }
  .hf-socials { flex-wrap: wrap; }
  .hf-cta-btns { flex-direction: column; }
  .hf-btn-primary, .hf-btn-outline { width: 100%; justify-content: center; }
}
