/* Footer final polish */
.footer-logo{
  text-decoration:none;
}

.footer-logo img{
  display:none;
}

.footer-logo::before{
  content:"HomeTick Services";
  display:block;
  color:#fff;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:0;
}

.footer-brand p,
.footer-links a,
.footer-contact-item h4,
.footer-contact-item h4 span,
.footer-contact-item a,
.footer-bottom{
  font-weight:600;
}

@media(max-width:900px){
  .footer,
  .footer *{
    box-sizing:border-box;
  }

  .footer{
    width:100%;
    max-width:100%;
    overflow:hidden;
    padding:28px 20px 20px;
    border-radius:26px 26px 0 0;
  }

  .footer-main{
    grid-template-columns:1fr;
    gap:18px;
    width:100%;
    min-width:0;
  }

  .footer-brand{
    align-items:center;
    text-align:center;
    min-width:0;
  }

  .footer-logo{
    display:block;
    background:none;
    border:none;
    border-radius:0;
    padding:0;
    margin-bottom:10px;
  }

  .footer-logo::before{
    font-size:24px;
  }

  .footer-brand p{
    max-width:350px;
    width:100%;
    font-size:15px;
    line-height:1.45;
    margin-bottom:12px;
    overflow-wrap:normal;
  }

  .footer .support{
    padding:12px 20px;
    font-size:14px;
    margin-bottom:12px;
  }

  .footer-social{
    justify-content:center;
    gap:12px;
  }

  .footer-social a{
    width:42px;
    height:42px;
    font-size:18px;
  }

  .footer-links{
    gap:9px;
    max-width:360px;
    width:100%;
    margin:0 auto;
    justify-content:center;
    flex-wrap:wrap;
  }

  .footer-links a{
    font-size:14px;
  }

  .footer-links span{
    font-size:12px;
  }

  .footer-contact{
    gap:10px;
    width:100%;
    min-width:0;
  }

  .footer-contact-item{
    grid-template-columns:30px 1fr;
    gap:12px;
    padding-bottom:10px;
    min-width:0;
  }

  .footer-contact-item i{
    font-size:21px;
  }

  .footer-contact-item h4{
    font-size:15px;
    margin-bottom:4px;
  }

  .footer-contact-item h4 span,
  .footer-contact-item a{
    font-size:14px;
    overflow-wrap:anywhere;
  }

  .footer-bottom{
    margin-top:16px;
    padding-top:12px;
    font-size:13px;
  }
}

@media(max-width:420px){
  .footer{
    padding:26px 16px 18px;
  }

  .footer-brand p{
    font-size:14px;
    max-width:310px;
  }

  .footer-links a{
    font-size:13px;
  }
}

/* Homepage footer layout */
.home-footer{
  background:#081120;
  border-radius:0;
  padding:42px 20px 36px;
  overflow:hidden;
}

.home-footer .footer-main,
.home-footer .footer-bottom{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}

.home-footer .footer-main{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:34px;
  padding:58px 48px 34px;
  border:1px solid rgba(255,255,255,0.16);
  border-radius:28px 28px 0 0;
  background:rgba(255,255,255,0.025);
}

.home-footer .footer-brand{
  align-items:center;
  text-align:center;
}

.home-footer .footer-logo{
  margin:0 0 22px;
}

.home-footer .footer-logo::before{
  content:"HomeTick Services";
  font-size:44px;
  line-height:1.1;
  color:#fff;
  font-weight:800;
}

.home-footer .footer-brand p{
  max-width:760px;
  margin:0 auto 28px;
  color:#fff;
  font-size:25px;
  line-height:1.6;
  font-weight:500;
}

.home-footer .support{
  min-width:420px;
  padding:18px 34px;
  border-radius:999px;
  font-size:24px;
  font-weight:800;
  margin-bottom:36px;
}

.home-footer .footer-social{
  justify-content:center;
  gap:28px;
}

.home-footer .footer-social a{
  width:82px;
  height:82px;
  font-size:36px;
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.08);
  box-shadow:0 18px 34px rgba(0,0,0,0.18);
}

.home-footer .footer-links{
  width:100%;
  max-width:none;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
}

.home-footer .footer-links a{
  color:#6384ff;
  font-size:24px;
  font-weight:500;
}

.home-footer .footer-links span{
  color:rgba(255,255,255,0.45);
  font-size:24px;
}

.home-footer .footer-contact{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:28px;
}

.home-footer .footer-contact-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:28px 22px;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:14px;
  background:rgba(255,255,255,0.035);
}

.home-footer .footer-contact-item:last-child{
  grid-column:1 / -1;
  min-height:92px;
  flex-direction:row;
  gap:18px;
}

.home-footer .footer-contact-item i{
  color:#13a538;
  font-size:44px;
  margin-bottom:18px;
}

.home-footer .footer-contact-item:last-child i{
  margin-bottom:0;
}

.home-footer .footer-contact-item h4{
  color:#fff;
  font-size:28px;
  line-height:1.2;
  margin:0 0 18px;
  font-weight:800;
}

.home-footer .footer-contact-item:last-child h4{
  margin:0;
}

.home-footer .footer-contact-item h4 span,
.home-footer .footer-contact-item a{
  color:#6384ff;
  font-size:25px;
  line-height:1.3;
  font-weight:500;
}

.home-footer .footer-contact-item h4 span{
  color:#fff;
}

.home-footer .footer-bottom{
  padding:28px 20px 0;
  border:1px solid rgba(255,255,255,0.16);
  border-top:none;
  border-radius:0 0 28px 28px;
  text-align:center;
  color:rgba(255,255,255,0.72);
  font-size:24px;
  line-height:1.5;
}

@media(max-width:900px){
  .home-footer{
    padding:28px 14px 24px;
  }

  .home-footer .footer-main{
    gap:22px;
    padding:36px 18px 24px;
    border-radius:22px 22px 0 0;
  }

  .home-footer .footer-logo{
    margin-bottom:14px;
  }

  .home-footer .footer-logo::before{
    font-size:32px;
  }

  .home-footer .footer-brand p{
    max-width:320px;
    font-size:16px;
    line-height:1.55;
    margin-bottom:18px;
  }

  .home-footer .support{
    min-width:0;
    width:min(280px, 100%);
    padding:13px 18px;
    font-size:16px;
    margin-bottom:20px;
  }

  .home-footer .footer-social{
    gap:18px;
  }

  .home-footer .footer-social a{
    width:56px;
    height:56px;
    font-size:25px;
  }

  .home-footer .footer-links{
    gap:6px;
    flex-wrap:nowrap;
  }

  .home-footer .footer-links a,
  .home-footer .footer-links span{
    font-size:12px;
    white-space:nowrap;
  }

  .home-footer .footer-contact{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .home-footer .footer-contact-item{
    min-height:auto;
    padding:16px 6px;
    justify-content:flex-start;
  }

  .home-footer .footer-contact-item:last-child{
    grid-column:1 / -1;
    min-height:auto;
    padding:14px 12px;
  }

  .home-footer .footer-contact-item i{
    font-size:28px;
    margin-bottom:12px;
  }

  .home-footer .footer-contact-item:last-child i{
    margin-bottom:0;
  }

  .home-footer .footer-contact-item h4{
    font-size:13px;
    margin-bottom:9px;
    min-height:16px;
    white-space:nowrap;
  }

  .home-footer .footer-contact-item h4 span,
  .home-footer .footer-contact-item a{
    font-size:10px;
    line-height:1.2;
    white-space:nowrap;
  }

  .home-footer .footer-bottom{
    padding:18px 16px 0;
    border-radius:0 0 22px 22px;
    font-size:15px;
  }
}

@media(min-width:901px){
  .home-footer{
    padding:30px max(34px, calc((100vw - 1180px) / 2 + 24px)) 26px;
  }

  .home-footer .footer-main{
    max-width:1180px;
    display:grid;
    grid-template-columns:1.05fr 1.25fr 1.15fr;
    align-items:center;
    gap:28px;
    padding:28px 30px 24px;
    text-align:left;
  }

  .home-footer .footer-brand{
    align-items:flex-start;
    text-align:left;
  }

  .home-footer .footer-logo{
    margin:0 0 16px;
    width:170px;
    height:58px;
    overflow:hidden;
    display:block;
  }

  .home-footer .footer-logo img{
    display:block;
    width:170px;
    height:auto;
    max-width:100%;
    margin:0;
    transform:translateY(-57px);
    filter:drop-shadow(0 10px 22px rgba(0,0,0,0.2));
  }

  .home-footer .footer-logo::before{
    content:none;
  }

  .home-footer .footer-brand p{
    max-width:330px;
    margin:0 0 18px;
    font-size:15px;
    line-height:1.5;
  }

  .home-footer .support{
    min-width:0;
    padding:11px 20px;
    font-size:15px;
    margin-bottom:16px;
  }

  .home-footer .footer-social{
    justify-content:flex-start;
    gap:14px;
  }

  .home-footer .footer-social a{
    width:48px;
    height:48px;
    font-size:20px;
    box-shadow:none;
  }

  .home-footer .footer-links{
    align-self:center;
    gap:10px;
    line-height:1.8;
  }

  .home-footer .footer-links a,
  .home-footer .footer-links span{
    font-size:15px;
  }

  .home-footer .footer-contact{
    grid-template-columns:1fr;
    gap:10px;
  }

  .home-footer .footer-contact-item,
  .home-footer .footer-contact-item:last-child{
    grid-column:auto;
    min-height:auto;
    display:grid;
    grid-template-columns:34px 1fr;
    align-items:center;
    justify-content:normal;
    gap:12px;
    padding:12px 15px;
    text-align:left;
  }

  .home-footer .footer-contact-item i,
  .home-footer .footer-contact-item:last-child i{
    font-size:24px;
    margin:0;
  }

  .home-footer .footer-contact-item h4,
  .home-footer .footer-contact-item:last-child h4{
    font-size:16px;
    margin:0 0 4px;
  }

  .home-footer .footer-contact-item h4 span,
  .home-footer .footer-contact-item a{
    font-size:14px;
  }

  .home-footer .footer-bottom{
    max-width:1180px;
    padding:16px 24px 0;
    font-size:15px;
  }
}
