
/* =========================================================
   RUSHD CUSTOM FOOTER — KNOWLEDGE WEB
   Brand system:
   Navy #0E1F3D | Deep #081327 | Red #E43036 | Cream #F7F4EE
========================================================= */

#rushd-custom-footer{
  --r-navy:#0E1F3D;
  --r-deep:#081327;
  --r-red:#E43036;
  --r-cream:#F7F4EE;
  --r-white:#FFFFFF;
  --r-muted:rgba(255,255,255,.66);
  --r-line:rgba(255,255,255,.10);

  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%,rgba(228,48,54,.16),transparent 26%),
    radial-gradient(circle at 88% 72%,rgba(255,255,255,.055),transparent 22%),
    linear-gradient(145deg,#081327 0%,#0E1F3D 56%,#09172C 100%);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
}

/* Knowledge-web pattern */
#rushd-custom-footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  opacity:.34;
  background:
    radial-gradient(circle at 14% 30%,rgba(228,48,54,.33) 0 2px,transparent 3px),
    radial-gradient(circle at 76% 24%,rgba(255,255,255,.18) 0 2px,transparent 3px),
    radial-gradient(circle at 61% 78%,rgba(228,48,54,.22) 0 2px,transparent 3px),
    linear-gradient(31deg,transparent 49%,rgba(255,255,255,.055) 49.4%,rgba(255,255,255,.055) 49.9%,transparent 50.3%) 0 0/150px 150px,
    linear-gradient(-31deg,transparent 49%,rgba(228,48,54,.055) 49.4%,rgba(228,48,54,.055) 49.9%,transparent 50.3%) 0 0/150px 150px;
  -webkit-mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.8) 70%,transparent);
  mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.8) 70%,transparent);
}

#rushd-custom-footer::after{
  content:"";
  position:absolute;
  width:430px;
  height:430px;
  left:-190px;
  bottom:-250px;
  border-radius:50%;
  z-index:-1;
  pointer-events:none;
  opacity:.14;
  background:
    repeating-radial-gradient(circle,transparent 0 25px,rgba(255,255,255,.23) 26px 27px,transparent 28px 50px),
    conic-gradient(from 0deg,rgba(228,48,54,.28) 0 1deg,transparent 1deg 29deg,rgba(228,48,54,.28) 29deg 30deg,transparent 30deg 59deg,rgba(228,48,54,.28) 59deg 60deg,transparent 60deg 89deg,rgba(228,48,54,.28) 89deg 90deg,transparent 90deg);
}

#rushd-custom-footer *{box-sizing:border-box}

#rushd-custom-footer .rf-shell{
  width:min(1180px,calc(100% - 36px));
  margin:auto;
  padding:58px 0 24px;
}

#rushd-custom-footer .rf-main{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr);
  gap:48px;
  align-items:start;
}

#rushd-custom-footer .rf-brand{
  max-width:650px;
}

#rushd-custom-footer .rf-logo{
  width:76px;
  height:76px;
  object-fit:contain;
  display:block;
  margin-bottom:18px;
  filter:drop-shadow(0 10px 28px rgba(0,0,0,.22));
}

#rushd-custom-footer .rf-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:rgba(255,255,255,.58);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  direction:ltr;
}

#rushd-custom-footer .rf-kicker::before{
  content:"";
  width:22px;
  height:2px;
  border-radius:99px;
  background:var(--r-red);
  box-shadow:0 0 14px rgba(228,48,54,.5);
}

#rushd-custom-footer .rf-title{
  margin:0 0 14px;
  font-size:clamp(30px,4vw,52px);
  line-height:1.14;
  font-weight:800;
  letter-spacing:-.045em;
}

#rushd-custom-footer .rf-title span{color:var(--r-red)}

#rushd-custom-footer .rf-copy{
  margin:0;
  max-width:600px;
  color:var(--r-muted);
  font-size:15px;
  line-height:2;
}

#rushd-custom-footer .rf-contact{
  padding:24px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:0 20px 54px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.07);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

#rushd-custom-footer .rf-contact h3{
  margin:0 0 8px;
  font-size:20px;
  font-weight:800;
}

#rushd-custom-footer .rf-contact p{
  margin:0 0 18px;
  color:var(--r-muted);
  font-size:13px;
  line-height:1.8;
}

#rushd-custom-footer .rf-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

#rushd-custom-footer .rf-social{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.055);
  color:#fff;
  text-decoration:none;
  transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease;
  will-change:transform;
}

#rushd-custom-footer .rf-social svg{
  width:22px;
  height:22px;
  fill:currentColor;
}

#rushd-custom-footer .rf-social:hover,
#rushd-custom-footer .rf-social:focus-visible{
  transform:translateY(-4px) scale(1.04);
  outline:none;
}

/* Platform hover colors */
#rushd-custom-footer .rf-social--facebook:hover,
#rushd-custom-footer .rf-social--facebook:focus-visible{
  background:#1877F2;
  border-color:#1877F2;
  box-shadow:0 12px 28px rgba(24,119,242,.30);
}

#rushd-custom-footer .rf-social--instagram:hover,
#rushd-custom-footer .rf-social--instagram:focus-visible{
  background:linear-gradient(135deg,#833AB4,#FD1D1D,#FCAF45);
  border-color:rgba(255,255,255,.28);
  box-shadow:0 12px 28px rgba(253,29,29,.24);
}

#rushd-custom-footer .rf-social--tiktok:hover,
#rushd-custom-footer .rf-social--tiktok:focus-visible{
  background:#111;
  border-color:#25F4EE;
  color:#fff;
  box-shadow:-5px 0 0 rgba(37,244,238,.14),5px 0 0 rgba(254,44,85,.14),0 12px 28px rgba(0,0,0,.28);
}

#rushd-custom-footer .rf-social--whatsapp:hover,
#rushd-custom-footer .rf-social--whatsapp:focus-visible{
  background:#25D366;
  border-color:#25D366;
  box-shadow:0 12px 28px rgba(37,211,102,.28);
}

#rushd-custom-footer .rf-wa{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 15px;
  border-radius:16px;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  transition:.22s ease;
}

#rushd-custom-footer .rf-wa:hover{
  background:rgba(37,211,102,.13);
  border-color:rgba(37,211,102,.45);
  transform:translateY(-2px);
}

#rushd-custom-footer .rf-wa strong{
  display:block;
  font-size:14px;
}

#rushd-custom-footer .rf-wa span{
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.58);
  font-size:11px;
  direction:ltr;
}

#rushd-custom-footer .rf-wa svg{
  width:22px;
  height:22px;
  fill:#25D366;
  flex:0 0 auto;
}

#rushd-custom-footer .rf-bottom{
  margin-top:42px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.09);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

#rushd-custom-footer .rf-store-credit{
  color:rgba(255,255,255,.58);
  font-size:12px;
}

#rushd-custom-footer .rf-dev-credit{
  color:rgba(255,255,255,.56);
  font-size:11px;
  letter-spacing:.04em;
  direction:ltr;
}

#rushd-custom-footer .rf-dev-credit a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(228,48,54,.55);
  transition:.2s ease;
}

#rushd-custom-footer .rf-dev-credit a:hover{
  color:var(--r-red);
  border-bottom-color:var(--r-red);
}

@media(max-width:767px){
  #rushd-custom-footer .rf-shell{
    width:min(100% - 24px,620px);
    padding:42px 0 20px;
  }

  #rushd-custom-footer .rf-main{
    grid-template-columns:1fr;
    gap:26px;
  }

  #rushd-custom-footer .rf-logo{
    width:62px;
    height:62px;
    margin-bottom:14px;
  }

  #rushd-custom-footer .rf-title{
    font-size:32px;
  }

  #rushd-custom-footer .rf-copy{
    font-size:13px;
    line-height:1.9;
  }

  #rushd-custom-footer .rf-contact{
    padding:18px;
    border-radius:20px;
  }

  #rushd-custom-footer .rf-social{
    width:48px;
    height:48px;
    border-radius:15px;
  }

  #rushd-custom-footer .rf-bottom{
    margin-top:30px;
    padding-top:17px;
    display:block;
    text-align:center;
  }

  #rushd-custom-footer .rf-dev-credit{
    margin-top:9px;
  }
}


/* =========================================================
   V2 — NAV COLUMNS (SECTIONS + PAGES)
========================================================= */

#rushd-custom-footer .rf-main{
  grid-template-columns:minmax(0,1.25fr) minmax(190px,.55fr) minmax(190px,.55fr) minmax(260px,.85fr);
  gap:34px;
}

#rushd-custom-footer .rf-nav-col{
  min-width:0;
}

#rushd-custom-footer .rf-nav-title{
  margin:0 0 16px;
  color:#fff;
  font-size:15px;
  font-weight:800;
  position:relative;
  padding-right:14px;
}

#rushd-custom-footer .rf-nav-title::before{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:4px;
  height:16px;
  transform:translateY(-50%);
  border-radius:99px;
  background:var(--r-red);
  box-shadow:0 0 14px rgba(228,48,54,.35);
}

#rushd-custom-footer .rf-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

#rushd-custom-footer .rf-nav-list a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.7;
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}

#rushd-custom-footer .rf-nav-list a::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  border:1px solid rgba(228,48,54,.75);
  background:rgba(228,48,54,.15);
  transition:.2s ease;
}

#rushd-custom-footer .rf-nav-list a:hover,
#rushd-custom-footer .rf-nav-list a:focus-visible{
  color:#fff;
  transform:translateX(-3px);
  outline:none;
}

#rushd-custom-footer .rf-nav-list a:hover::before,
#rushd-custom-footer .rf-nav-list a:focus-visible::before{
  background:var(--r-red);
  box-shadow:0 0 12px rgba(228,48,54,.42);
}

@media(max-width:1050px){
  #rushd-custom-footer .rf-main{
    grid-template-columns:1.2fr .8fr .8fr;
  }

  #rushd-custom-footer .rf-contact{
    grid-column:1 / -1;
  }
}

@media(max-width:767px){
  #rushd-custom-footer .rf-main{
    grid-template-columns:1fr 1fr;
    gap:26px 18px;
  }

  #rushd-custom-footer .rf-brand,
  #rushd-custom-footer .rf-contact{
    grid-column:1 / -1;
  }

  #rushd-custom-footer .rf-nav-col{
    padding:15px 14px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background:rgba(255,255,255,.03);
  }

  #rushd-custom-footer .rf-nav-title{
    margin-bottom:12px;
    font-size:14px;
  }

  #rushd-custom-footer .rf-nav-list{
    gap:8px;
  }

  #rushd-custom-footer .rf-nav-list a{
    font-size:12px;
  }
}
