/* ============================================================
   CLEANFLO — footer.css  |  Premium Footer (v2 · 10/10)
   ============================================================ */

/* ── Pre-Footer CTA Band ─────────────────────────────────── */
.cf-prefooter{
  position:relative;
  padding:4.5rem 0;
  background:var(--cf-gradient-hero);
  overflow:hidden;
  isolation:isolate;
  margin-top:3rem;
}
.cf-prefooter::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse 55% 80% at 85% 50%, rgba(45,183,201,.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 70% at 8% 20%,  rgba(255,255,255,.10) 0%, transparent 65%);
}
.cf-prefooter::after{
  content:"";position:absolute;z-index:-1;
  bottom:-120px;right:-120px;
  width:420px;height:420px;border-radius:50%;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 0 40px rgba(255,255,255,.04),
    0 0 0 80px rgba(255,255,255,.03),
    0 0 0 140px rgba(255,255,255,.02);
}
.cf-prefooter__inner{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;
  gap:2.5rem;flex-wrap:wrap;
}
.cf-prefooter__text{flex:1;min-width:280px;}
.cf-prefooter__label{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.75);margin-bottom:.65rem;
}
.cf-prefooter__label::before{
  content:"";width:24px;height:1.5px;background:var(--cf-accent-100);border-radius:2px;
}
.cf-prefooter__heading{
  font-family:'Sora',sans-serif;
  font-size:clamp(1.5rem,3vw,2.25rem);
  font-weight:700;color:#fff;line-height:1.2;letter-spacing:-.01em;
}
.cf-prefooter__heading span{
  background:linear-gradient(120deg,#E1F8FB 0%,#7FE3EE 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.cf-prefooter__actions{display:flex;gap:.85rem;flex-wrap:wrap;}

.cf-btn{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.95rem 1.65rem;border-radius:var(--cf-radius);
  font-weight:700;font-size:.9rem;letter-spacing:.01em;
  transition:transform var(--cf-dur) var(--cf-ease),
             box-shadow var(--cf-dur) var(--cf-ease),
             background var(--cf-dur) var(--cf-ease);
}
.cf-btn svg{width:16px;height:16px;}
.cf-btn--white{
  background:#fff;color:var(--cf-primary-700);
  box-shadow:0 6px 22px rgba(0,0,0,.18);
}
.cf-btn--white:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.26);}
.cf-btn--outline-white{
  background:rgba(255,255,255,.10);color:#fff;
  border:1.5px solid rgba(255,255,255,.4);
  backdrop-filter:blur(10px);
}
.cf-btn--outline-white:hover{
  background:rgba(255,255,255,.2);border-color:#fff;transform:translateY(-2px);
}

/* ── Main Footer Shell ───────────────────────────────────── */
.cf-footer{
  position:relative;
  background:var(--cf-gradient-dark);
  color:rgba(255,255,255,.72);
  overflow:hidden;isolation:isolate;
}
.cf-footer__bg{position:absolute;inset:0;z-index:-2;pointer-events:none;}
.cf-footer__bg::before,
.cf-footer__bg::after{
  content:"";position:absolute;border-radius:50%;filter:blur(20px);
}
.cf-footer__bg::before{
  top:-160px;left:-160px;width:560px;height:560px;
  background:radial-gradient(circle,rgba(10,127,174,.22) 0%,transparent 70%);
}
.cf-footer__bg::after{
  bottom:-120px;right:-120px;width:440px;height:440px;
  background:radial-gradient(circle,rgba(20,154,135,.18) 0%,transparent 70%);
}
.cf-footer__grid-lines{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse at center,#000 35%,transparent 80%);
}

/* Top divider glow */
.cf-footer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(45,183,201,.6),transparent);
}

/* ── Top Section ─────────────────────────────────────────── */
.cf-footer__top{
  position:relative;padding:4.5rem 0 3.25rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.cf-footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.4fr;
  gap:3.5rem;align-items:start;
}

/* Brand */
.cf-footer__logo{
  display:inline-flex;align-items:center;gap:.65rem;margin-bottom:1.35rem;
}
.cf-footer__logo-img{height:42px;width:auto;filter:brightness(0) invert(1);opacity:.95;}
.cf-footer__logo-text{
  font-family:'Sora',sans-serif;font-size:1.5rem;font-weight:800;
  color:#fff;letter-spacing:-.015em;
  background:linear-gradient(120deg,#fff 0%,#B8E6F2 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.cf-footer__desc{
  font-size:.88rem;line-height:1.75;
  color:rgba(255,255,255,.58);margin-bottom:1.5rem;max-width:300px;
}
.cf-footer__certs{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.75rem;}
.cf-footer__cert{
  display:flex;align-items:center;gap:.65rem;
  font-size:.82rem;font-weight:600;color:rgba(255,255,255,.78);
}
.cf-footer__cert-dot{
  width:22px;height:22px;border-radius:7px;
  background:var(--cf-gradient-primary);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 2px 8px rgba(10,127,174,.45);
}
.cf-footer__cert-dot svg{width:12px;height:12px;color:#fff;}

.cf-footer__since{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.45rem 1rem;border-radius:24px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  font-size:.75rem;font-weight:600;letter-spacing:.04em;
  color:rgba(255,255,255,.7);
  backdrop-filter:blur(6px);
}
.cf-footer__since::before{
  content:"";width:7px;height:7px;border-radius:50%;
  background:var(--cf-accent);
  box-shadow:0 0 0 4px rgba(45,183,201,.2);
  animation:cf-pulse 2s infinite;
}
@keyframes cf-pulse{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:.55;transform:scale(1.4);}
}

/* Nav columns */
.cf-footer__col-title{
  display:flex;align-items:center;gap:.6rem;
  font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--cf-accent);margin-bottom:1.35rem;
}
.cf-footer__col-title::after{
  content:"";flex:1;height:1px;
  background:linear-gradient(90deg,rgba(45,183,201,.35),transparent);
}
.cf-footer__links{display:flex;flex-direction:column;gap:.1rem;}
.cf-footer__link{
  position:relative;
  display:flex;align-items:center;gap:.5rem;
  padding:.55rem 0 .55rem .85rem;
  font-size:.88rem;color:rgba(255,255,255,.62);
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:color var(--cf-dur) var(--cf-ease),
             padding var(--cf-dur) var(--cf-ease);
}
.cf-footer__link::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:5px;height:5px;border-radius:50%;
  background:var(--cf-accent);opacity:0;
  transition:opacity var(--cf-dur) var(--cf-ease),
             transform var(--cf-dur) var(--cf-ease);
}
.cf-footer__link:hover{color:#fff;padding-left:1.15rem;}
.cf-footer__link:hover::before{opacity:1;transform:translateY(-50%) scale(1.2);}
.cf-footer__link-arrow{
  width:14px;height:14px;margin-left:auto;
  color:var(--cf-accent);opacity:0;
  transform:translateX(-4px);
  transition:opacity var(--cf-dur) var(--cf-ease),
             transform var(--cf-dur) var(--cf-ease);
}
.cf-footer__link:hover .cf-footer__link-arrow{opacity:1;transform:translateX(0);}

.cf-footer__view-all{
  display:inline-flex;align-items:center;gap:.45rem;
  margin-top:.9rem;font-size:.82rem;font-weight:700;
  color:var(--cf-accent);letter-spacing:.02em;
  transition:gap var(--cf-dur) var(--cf-ease),color var(--cf-dur) var(--cf-ease);
}
.cf-footer__view-all:hover{gap:.75rem;color:var(--cf-accent-100);}
.cf-footer__view-all svg{width:14px;height:14px;}

/* Contact column */
.cf-footer__contact-items{display:flex;flex-direction:column;gap:1.1rem;margin-bottom:1.6rem;}
.cf-footer__contact-item{display:flex;align-items:flex-start;gap:.85rem;}
.cf-footer__contact-icon{
  width:36px;height:36px;border-radius:11px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;
  transition:background var(--cf-dur) var(--cf-ease),
             border-color var(--cf-dur) var(--cf-ease),
             transform var(--cf-dur) var(--cf-ease);
}
.cf-footer__contact-item:hover .cf-footer__contact-icon{
  background:var(--cf-gradient-primary);
  border-color:transparent;transform:translateY(-2px);
}
.cf-footer__contact-icon svg{width:15px;height:15px;color:var(--cf-accent);transition:color var(--cf-dur) var(--cf-ease);}
.cf-footer__contact-item:hover .cf-footer__contact-icon svg{color:#fff;}
.cf-footer__contact-text{display:flex;flex-direction:column;gap:.2rem;}
.cf-footer__contact-label{
  font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.4);
}
.cf-footer__contact-value{
  font-size:.88rem;font-weight:500;color:rgba(255,255,255,.82);line-height:1.55;
  transition:color var(--cf-dur) var(--cf-ease);
}
.cf-footer__contact-item:hover .cf-footer__contact-value{color:#fff;}
a.cf-footer__contact-value:hover{color:var(--cf-accent-100);}

.cf-footer__quote-btn{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;gap:.55rem;
  width:100%;padding:.95rem 1.35rem;border-radius:var(--cf-radius);
  background:var(--cf-gradient-primary);color:#fff;
  font-weight:700;font-size:.9rem;letter-spacing:.02em;
  box-shadow:0 6px 22px rgba(10,127,174,.45);
  transition:box-shadow var(--cf-dur) var(--cf-ease),transform var(--cf-dur) var(--cf-ease);
}
.cf-footer__quote-btn::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.25) 50%,transparent 70%);
  transform:translateX(-100%);transition:transform .7s var(--cf-ease);
}
.cf-footer__quote-btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(10,127,174,.6);}
.cf-footer__quote-btn:hover::before{transform:translateX(100%);}
.cf-footer__quote-btn svg{width:16px;height:16px;position:relative;z-index:1;}
.cf-footer__quote-btn span{position:relative;z-index:1;}

/* ── Bottom Bar ──────────────────────────────────────────── */
.cf-footer__bottom{position:relative;padding:1.6rem 0;}
.cf-footer__bottom-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;flex-wrap:wrap;
}
.cf-footer__copy{font-size:.8rem;color:rgba(255,255,255,.4);}
.cf-footer__tagline{
  display:flex;align-items:center;gap:.5rem;
  font-size:.8rem;font-weight:500;color:rgba(255,255,255,.5);
}
.cf-footer__tagline svg{width:14px;height:14px;color:var(--cf-accent);}

.cf-footer__socials{display:flex;align-items:center;gap:.55rem;}
.cf-footer__social{
  position:relative;
  width:38px;height:38px;border-radius:11px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.6);
  overflow:hidden;
  transition:color var(--cf-dur) var(--cf-ease),
             transform var(--cf-dur) var(--cf-ease),
             border-color var(--cf-dur) var(--cf-ease);
}
.cf-footer__social::before{
  content:"";position:absolute;inset:0;
  background:var(--cf-gradient-primary);
  transform:scale(0);border-radius:50%;
  transition:transform .35s var(--cf-ease);
}
.cf-footer__social:hover{color:#fff;border-color:transparent;transform:translateY(-3px);}
.cf-footer__social:hover::before{transform:scale(1.5);}
.cf-footer__social svg{width:16px;height:16px;position:relative;z-index:1;}

/* ── Scroll to Top ───────────────────────────────────────── */
.cf-scroll-top{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:999;
  width:46px;height:46px;border-radius:13px;
  background:var(--cf-gradient-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(10,127,174,.45);
  opacity:0;pointer-events:none;transform:translateY(14px);
  transition:opacity var(--cf-dur) var(--cf-ease),
             transform var(--cf-dur) var(--cf-ease),
             box-shadow var(--cf-dur) var(--cf-ease);
  cursor:pointer;
}
.cf-scroll-top.visible{opacity:1;pointer-events:auto;transform:translateY(0);}
.cf-scroll-top:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(10,127,174,.6);}
.cf-scroll-top svg{width:18px;height:18px;}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width:1024px){
  .cf-footer__grid{grid-template-columns:1fr 1fr;gap:2.5rem;}
  .cf-footer__brand,.cf-footer__col--contact{grid-column:1 / -1;}
}
@media (max-width:640px){
  .cf-prefooter{padding:3rem 0;}
  .cf-prefooter__inner{flex-direction:column;align-items:flex-start;}
  .cf-prefooter__actions{width:100%;}
  .cf-prefooter__actions .cf-btn{flex:1;justify-content:center;}
  .cf-footer__top{padding:3rem 0 2.25rem;}
  .cf-footer__grid{grid-template-columns:1fr;gap:2.25rem;}
  .cf-footer__bottom-inner{flex-direction:column;text-align:center;}
  .cf-scroll-top{bottom:1rem;right:1rem;width:42px;height:42px;}
}
