footer{
  margin-top: auto;
  position: relative;
}
footer::after{
  position: absolute;
  content: "";
  left: 0;
  top: -0.3rem;
  width: 100%;
  height: calc(100% + 0.3rem);
  background: linear-gradient(0deg, #FFFFFF 0%, #ECECEC 35%, #ECECEC 100%);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
main:has(.sec-contact:last-child) + footer::after{
  background: linear-gradient(0deg, #CCE2E1 0%, #ECECEC 35%, #ECECEC 100%);
}
main:has(.bg-gary-gradient:last-child) + footer::after{
  background: linear-gradient(0deg, #ECECEC 0%, #ECECEC 65%, #FFFFFF 100%);
}
main:has(.sec-block + .sec-contact-v1:last-child) + footer::after,
main:has(.sec-contact-v2 + .sec-cat-box-v2:last-child) + footer::after{
  background: linear-gradient(0deg, #DBE5E5 0%, #ECECEC 35%, #ECECEC 100%);
}
.footer-top-block{
  position: relative;
  z-index: 1;
  margin: -0.3rem -4rem 0;
  width: calc(100% + 8rem);
  background: linear-gradient(180deg, #338A85 0%, #006D67 100%);
  padding: 3.1rem 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-top-item {
  width: 31.4%;
  margin-left: 4.2%;
  display: flex;
  align-items: center;
}
.footer-top-item:last-child{
  width: 28.8%;
}
.footer-top-item:nth-child(3n + 1){
  margin-left: 0;
}
.footer-top-icon{
  width: 4rem;
  height: 4rem;
  -ms-flex-nagative: 0;
  flex-shrink: 0;
  margin-right: 1.2rem;
}
.footer-top-text span{
  display: block;
  color: #CCE2E1;
  font-size: 1.2rem;
  line-height: 160%;
  display: block;
  margin-bottom: 0.2rem;
}
.footer-top-text span:last-child{
  margin-bottom: 0;
}
.footer-top-text p{
  font-size: 1.4rem;
  line-height: 120%;
  color: #FFFFFF;
}
.footer-center{
  padding: 4rem 0 6.4rem;
  position: relative;
  z-index: 1;
}
.footer-head{
  margin-bottom: 1.2rem;
}
.footer-body{
  display: flex;
  flex-wrap: wrap;
}
.footer-link{
  margin-right: 6.4rem;
  max-width: 17.6rem;
}
.footer-link:last-child{
  margin-right: 0;
}
.footer-link li{
  margin: 0 0 1rem;
  padding: 0;
  font-size: 1.4rem;
  line-height: 160%;
}
.footer-link li::after{
  content: none;
}
.footer-link li a{
  color: #6E8087;
}
.footer-link li a:hover{
  color: #006D67;
  text-decoration: underline !important;
}
.footer-bottom{
  border-top: 1px solid #CCE2E1;
  padding: 2rem 0 2.8rem;
  position: relative;
  z-index: 1;
}
.footer-bottom-block{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.4rem;
  line-height: 160%;
  color: #6E8087;
}
.copytext{
  margin-right: 1.6rem;
}
.footer-bottom-link ul{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom-link li{
  padding: 0;
  margin: 0 1.6rem 0 0;
}
.footer-bottom-link li::after{
  content: none;
}
.footer-bottom-link li a{
  color: #6E8087;
}
.footer-bottom-link li a:hover,
.developby a:hover{
  color: #006D67;
  text-decoration: underline !important;
}
.developby{
  margin-left: auto;
}
.developby a{
  color: #00413E;
}
@media(min-width:1200px) and (max-width:1339.98px){
  .footer-top-item {
    margin-left: 3.2%;
  }
  .footer-top-item:last-child {
    width: 30.8%;
  }
  .footer-link {
    margin-right: 5.6rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .footer-top-block {
    padding: 2.8rem 3rem;
  }
  .footer-top-item {
    margin-left: 2.4%;
  }
  .footer-top-item:last-child {
    width: 32.3%;
  }
  .footer-top-item br{
    display: none;
  }
  .footer-top-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin-right: 1rem;
  }
  .footer-top-text p {
    font-size: 1.3rem;
  }
  .footer-center {
    padding: 4rem 0 4.8rem;
  }
  .footer-link {
    margin-right: 3.2rem;
  }
  .footer-link li {
    font-size: 1.3rem;
  }
  .footer-bottom-block {
    font-size: 1.3rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .footer-top-block {
    margin: -0.3rem -3rem 0;
    width: calc(100% + 6rem);
    padding: 2.4rem 2rem;
  }
  .footer-top-item {
    margin-left: 2.4%;
  }
  .footer-top-item:last-child {
    width: 32.4%;
  }
  .footer-top-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin-right: 0.8rem;
  }
  .footer-top-text p {
    font-size: 1.3rem;
  }
  .footer-center {
    padding: 4rem 0;
  }
  .footer-columns {
    width: 25%;
  }
  .footer-link {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-link + .footer-link{
    margin-top: 1rem;
  }
  .footer-bottom-link {
    margin-left: auto;
  }
  .developby {
    width: 100%;
    margin-top: 0.5rem;
  }
  .footer-bottom-link li:last-child{
    margin-right: 0;
  }
}
@media(max-width:767.98px){
  .footer-top-block {
    margin: 0 -2rem;
    width: calc(100% + 4rem);
    padding: 3.2rem 2rem;
  }
  .footer-top-item {
    width: 100% !important;
    margin-left: 0;
  }
  .footer-top-item:nth-child(n + 2){
    margin-top: 2.4rem;
  }
  .footer-top-text p br{
    display: none;
  }
  .footer-center {
    padding: 2.4rem 0 2rem;
  }
  .footer-item {
    margin: 0 -2rem;
    width: calc(100% + 4rem);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #CCE2E1;
  }
  .footer-columns:first-child .footer-item{
    padding-top: 0;
  }
  .footer-columns:last-child .footer-item{
    border-bottom: 0;
    padding-bottom: 0;
  }
  .footer-head {
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
  }
  .footer-head::after{
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 1rem;
    height: 0.7rem;
    background: url(../images/icon-down.png);
    background-size: cover;
    background-position: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  .footer-head.open::after{
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .footer-body {
    display: none;
  }
  .footer-link {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
    padding-top: 1rem;
  }
  .footer-bottom {
    padding: 2rem 0;
  }
  .footer-bottom-block {
    font-size: 1.25rem;
  }
  .copytext {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
  .footer-bottom-link {
    width: 100%;
    margin-top: 0.5rem;
  }
  .footer-bottom-link ul {
    justify-content: center;
  }
  .developby {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}