/* =========================================
   BYALL AUTOMATION — FOOTER
   footer.css
========================================= */

.byall-footer{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:86px 20px 44px;
  color:#fff;
  background:
    radial-gradient(ellipse at 88% 8%,rgba(26,159,224,.16),transparent 52%),
    radial-gradient(ellipse at 12% 92%,rgba(245,197,24,.09),transparent 44%),
    linear-gradient(145deg,#020617,#03111d 55%,#071428);
}

.byall-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:260px;
  height:2px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--blue),var(--gold),transparent);
  opacity:.75;
}

.byall-container{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 20px;
}

.byall-top{
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:70px;
  align-items:start;
}

.byall-brand h2{
  margin-bottom:14px;
  font-family:var(--font-display);
  font-size:28px;
  line-height:1.22;
  font-weight:750;
  color:var(--blue);
  letter-spacing:-.5px;
}

.byall-brand h2 span{
  font-size:15px;
  color:rgba(26,159,224,.68);
}

.byall-brand > p{
  max-width:640px;
  color:#c8d5e4;
  font-size:15px;
  line-height:1.75;
  font-weight:300;
}

.byall-services{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.byall-services span{
  padding:7px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#c0cfdf;
  font-size:12px;
  white-space:nowrap;
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.byall-services span:hover{
  transform:translateY(-3px);
  background:rgba(26,159,224,.12);
  border-color:rgba(26,159,224,.45);
  color:#fff;
  box-shadow:0 10px 24px rgba(26,159,224,.18);
}

.byall-soft-cta{
  margin-top:26px;
  color:#c0cfdf;
  font-size:15px;
  font-weight:300;
}

.byall-soft-cta a{
  color:var(--gold);
  font-weight:700;
  transition:color .25s ease, letter-spacing .25s ease;
}

.byall-soft-cta a:hover{
  color:#f5c518;
  letter-spacing:.35px;
}

.byall-social{
  margin-top:30px;
  display:flex;
  gap:12px;
}

.byall-social a{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(245,197,24,.12);
  color:var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid rgba(245,197,24,.32);
  font-size:15px;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.byall-social a:hover{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
  transform:translateY(-5px) scale(1.06);
  box-shadow:0 14px 28px rgba(26,159,224,.28);
}

.byall-card{
  padding:32px;
  border-radius:var(--r-lg);
  background:rgba(255,255,255,.045);
  border:1px solid rgba(26,159,224,.28);
  box-shadow:
    0 24px 56px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.byall-card:hover{
  transform:translateY(-6px);
  background:rgba(255,255,255,.06);
  border-color:rgba(26,159,224,.55);
  box-shadow:
    0 30px 70px rgba(0,0,0,.30),
    0 0 30px rgba(26,159,224,.12);
}

.byall-card span{
  display:block;
  margin-bottom:6px;
  color:#8a9ab0;
  font-size:11.5px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
}

.byall-card a{
  position:relative;
  display:block;
  width:max-content;
  max-width:100%;
  margin-bottom:22px;
  color:#fff;
  font-family:var(--font-display);
  font-size:17px;
  font-weight:700;
  transition:color .22s ease;
}

.byall-card a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:1px;
  background:var(--gold);
  transition:width .25s ease;
}

.byall-card a:hover{
  color:var(--gold);
}

.byall-card a:hover::after{
  width:100%;
}

.byall-card p{
  margin:0;
}

.byall-bottom{
  margin-top:64px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#7a8fa8;
  font-size:12.5px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* =========================================
   FOOTER RESPONSIVE
========================================= */

@media(max-width:900px){

  .byall-top{
    grid-template-columns:1fr;
    gap:50px;
  }

}

@media(max-width:768px){

  .byall-footer{
    padding:56px 18px 36px;
  }

  .byall-top,
  .byall-brand,
  .byall-card{
    text-align:center;
  }

  .byall-brand h2{
    font-size:22px;
  }

  .byall-brand > p{
    margin:0 auto;
    font-size:14px;
  }

  .byall-services,
  .byall-social{
    justify-content:center;
  }

  .byall-card{
    padding:24px 20px;
    border-radius:18px;
  }

  .byall-card a{
    width:auto;
    margin-left:auto;
    margin-right:auto;
    font-size:15px;
  }

  .byall-bottom{
    flex-direction:column;
    gap:8px;
    text-align:center;
    margin-top:40px;
  }

}

@media(max-width:480px){

  .byall-footer{
    padding:48px 16px 32px;
  }

  .byall-brand h2{
    font-size:20px;
  }

}