  /* ===== Shared footer rules (so every page's footer matches) ===== */
  :where(footer) .container{max-width:1200px}
  :where(footer) .ic{width:1em;height:1em;display:inline-block;vertical-align:-0.125em;fill:currentColor;flex-shrink:0}

  .dev-credit{
    display:inline-flex;align-items:center;gap:8px;
    background:rgba(22,163,74,.08);
    border:1px solid rgba(22,163,74,.18);
    padding:7px 16px;
    border-radius:999px;
    font-size:12.5px;
    color:#cbd5e1;
    transition:all .25s;
    text-decoration:none;
  }
  .dev-credit:hover{
    background:rgba(22,163,74,.15);
    border-color:rgba(22,163,74,.4);
    transform:translateY(-1px);
  }
  .dev-credit .heart{
    color:#ef4444;
    display:inline-block;
    animation:beat 1.6s ease-in-out infinite;
  }
  @keyframes beat{
    0%,100%{transform:scale(1)}
    25%{transform:scale(1.18)}
    40%{transform:scale(1)}
    60%{transform:scale(1.12)}
  }
  .dev-credit .dev-name{color:#fff;font-weight:600}

  @media (max-width: 1024px){
    :where(footer) .container{padding:0 36px}
    .footer-grid{grid-template-columns:repeat(2,1fr);gap:40px}
  }
  @media (max-width: 768px){
    .footer-grid{grid-template-columns:repeat(2,1fr);gap:36px}
    .footer-brand{grid-column:1 / -1}
    .footer-brand p{max-width:none}
  }
  @media (max-width: 640px){
    :where(footer) .container{padding:0 24px}
    .footer-grid{grid-template-columns:1fr;gap:36px}
    .footer-brand{grid-column:auto}
    .footer-brand .footer-logo{height:54px;max-width:220px}
    .footer-inner{padding:48px 0 0}
    .footer-bottom{flex-direction:column;text-align:center;gap:14px;padding:20px 0}
    .dev-credit{font-size:12px;padding:6px 14px}
    .footer-bottom-links{justify-content:center;flex-wrap:wrap;gap:14px}
  }
  @media (max-width: 420px){
    :where(footer) .container{padding:0 18px}
    .footer-col h5{font-size:13px}
  }


  /* FOOTER */
  footer{
    background:linear-gradient(180deg, var(--navy) 0%, #051428 100%);
    color:#cbd5e1;
    padding:0;
    position:relative;
    overflow:hidden;
  }
  /* Decorative top brand wave */
  footer::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;height:1px;
    background:linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
  }
  footer::after{
    content:'';
    position:absolute;
    top:-200px;right:-150px;
    width:500px;height:500px;
    background:radial-gradient(circle, rgba(22,163,74,.15), transparent 65%);
    border-radius:50%;
    pointer-events:none;
  }

  .footer-inner{padding:72px 0 0;position:relative;z-index:2}
  .footer-grid{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1.2fr;
    gap:50px;
    margin-bottom:50px;
  }
  .footer-brand .footer-logo{
    height:64px;width:auto;max-width:240px;margin-bottom:22px;
    object-fit:contain;display:block;
    filter:brightness(0) invert(1);
  }
  .footer-brand p{
    font-size:14.5px;line-height:1.75;
    margin-bottom:24px;max-width:340px;
    color:#94a3b8;
  }
  /* Brand badges row (uptime / fiber / local) */
  .footer-badges{
    display:flex;gap:8px;flex-wrap:wrap;
    margin-bottom:28px;
  }
  .footer-badge{
    display:inline-flex;align-items:center;gap:6px;
    background:rgba(22,163,74,.12);
    border:1px solid rgba(22,163,74,.25);
    color:#86efac;
    padding:6px 12px;
    border-radius:999px;
    font-size:11.5px;
    font-weight:600;
    letter-spacing:.04em;
  }
  .footer-badge .ic{color:var(--brand);font-size:10px}

  .footer-social{display:flex;gap:10px}
  .footer-social a{
    width:42px;height:42px;border-radius:50%;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    display:flex;align-items:center;justify-content:center;
    transition:all .25s ease;
    color:#cbd5e1;font-size:15px;
  }
  .footer-social a:hover{
    background:var(--brand);
    border-color:var(--brand);
    color:#fff;transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(22,163,74,.4);
  }

  /* Column headers with animated underline accent */
  .footer-col h5{
    color:#fff;
    font-size:14px;
    font-weight:700;
    margin-bottom:22px;
    font-family:'Sora',sans-serif;
    letter-spacing:.18em;
    text-transform:uppercase;
    position:relative;
    padding-bottom:12px;
  }
  .footer-col h5::after{
    content:'';
    position:absolute;
    bottom:0;left:0;
    width:32px;height:2px;
    background:var(--brand);
    border-radius:2px;
  }
  .footer-col ul{list-style:none;display:flex;flex-direction:column;gap:11px}
  .footer-col a{
    font-size:14px;
    color:#94a3b8;
    transition:all .2s ease;
    display:inline-flex;align-items:center;gap:10px;
    position:relative;
    padding-left:0;
  }
  .footer-col a::before{
    content:'';
    width:0;height:1px;
    background:var(--brand);
    transition:width .25s ease;
  }
  .footer-col a:hover{color:#fff;transform:translateX(2px)}
  .footer-col a:hover::before{width:14px;margin-right:4px}
  .footer-col a .ic{font-size:11px;color:var(--brand);opacity:.85;flex-shrink:0}

  /* Bottom strip */
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:22px 0;
    margin-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    font-size:13px;
    color:#64748b;
  }
  .footer-bottom a{color:var(--brand);transition:opacity .2s}
  .footer-bottom a:hover{opacity:.85}
  .footer-bottom-links{display:flex;gap:24px;align-items:center}
  .footer-bottom-links a{color:#94a3b8;font-size:13px}
  .footer-bottom-links a:hover{color:#fff}


