:root {
  --footer-section-max-width: 1360px;
}

footer {
  display: flex;
  width: 100%;
  justify-content: center;
  background: #004D33;
  padding: 65px 0;
}

.footer_sz {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(100% - 20px);
  max-width: var(--footer-section-max-width);
  background-image: url('/wp-content/themes/webstudios-rgaa/assets/img/bg_footer.svg');
  background-repeat: no-repeat;
  background-size: 294px auto;
  background-position: 250px center;
  gap: 40px;
}

.footer_logo_c {
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
}

.footer_logo img {
  display: block;
  width: auto;
  height: 76px;
  object-fit: contain;
}

.footer_addr_c {
  color: #FFFFFF;
  font-family: 'Industry_Regular', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 380px;
}

.footer_menu_c {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
  justify-content: flex-end;
}

.footer_menu_i {
  display: flex;
  flex-direction: column;
}

.footer_menu_i_title {
  color: #FFFFFF;
  font-family: 'Industry_Regular', sans-serif;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer_menu_links {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.footer_menu_links ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.footer_menu_links li {
  margin: 0;
  padding: 0;
}

.footer_menu_links a {
  display: block;
  color: #A1C854;
  text-decoration: none;
  font-family: 'Industry_Regular', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.footer_menu_links a:hover,
.footer_menu_links a:focus {
  color: #cde6a1;
}

.footer_rs_c {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding-top: 10px;
}

.footer_rs_c a {
  display: flex;
  text-decoration: none;
  padding: 8px;
  transition: transform 0.3s ease;
}

.footer_rs_c a:hover,
.footer_rs_c a:focus {
  transform: translateY(-2px);
}

.footer_rs_c img {
  display: block;
  height: 20px;
  width: auto;
}

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 1024px) {
  .footer_sz {
    background-position: 100px center;
    background-size: 250px auto;
    gap: 30px;
  }

  .footer_logo_c {
    flex: 0 0 250px;
  }

  .footer_menu_c {
    justify-content: space-around;
    gap: 30px;
  }

  .footer_menu_links {
    min-width: 180px;
  }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  footer {
    padding: 40px 0;
  }

  .footer_sz {
    flex-direction: column;
    background-size: 180px auto;
    background-position: 120% bottom;
    gap: 30px;
    width: calc(100% - 40px);
    padding: 0 20px;
  }

  .footer_logo_c {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .footer_logo img {
    height: 60px;
  }

  .footer_addr_c {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
    margin-top: 15px;
  }

  .footer_menu_c {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    justify-content: flex-start;
  }

  .footer_menu_i {
    width: 100%;
    text-align: center;
  }

  .footer_menu_i_title {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .footer_menu_links {
    min-width: 100%;
  }

  .footer_menu_links ul {
    gap: 5px;
  }

  .footer_menu_links a {
    font-size: 15px;
    padding: 8px 0;
  }

  .footer_rs_c {
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    gap: 10px;
  }

  .footer_rs_c a {
    padding: 6px;
  }

  .footer_rs_c img {
    height: 18px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  footer {
    padding: 30px 0;
  }

  .footer_sz {
    background-size: 150px auto;
    background-position: 130% bottom;
    gap: 25px;
  }

  .footer_logo img {
    height: 50px;
  }

  .footer_addr_c {
    font-size: 15px;
  }

  .footer_menu_i_title {
    font-size: 16px;
  }

  .footer_menu_links a {
    font-size: 14px;
  }

  .footer_rs_c {
    gap: 8px;
  }

  .footer_rs_c img {
    height: 16px;
  }
}
