/* Footer polish: color, spacing and typography only. */
.footer {
  background: linear-gradient(180deg, #383838 0%, #303030 100%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
  padding: 48px 0 28px;
  position: relative;
}

.footer::before {
  background: var(--okay-second-company, #f5c343);
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.footer .row {
  row-gap: 28px;
}

.footer .foot {
  margin-bottom: 0;
  padding-right: 28px;
}

.footer .foot,
.footer .foot_work,
.footer .foot_address,
.footer .foot_mail,
.footer .foot_phone {
  color: rgba(255, 255, 255, 0.74);
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer a:hover {
  color: var(--okay-second-company, #f5c343);
}

.footer ul,
.footer ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin: 0 0 7px;
}

.foot_heading {
  color: var(--okay-second-company, #f5c343);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.foot_work {
  max-width: 280px;
  padding-top: 2px;
}

.foot_address,
.foot_mail,
.foot_phone {
  margin-bottom: 12px;
  min-height: 22px;
  padding-left: 28px;
}

.foot_address::before,
.foot_mail::before,
.foot_phone::before {
  background-color: rgba(245, 195, 67, 0.15);
  background-image: none;
  border: 1px solid rgba(245, 195, 67, 0.34);
  border-radius: 6px;
  height: 18px;
  left: 0;
  top: 2px;
  width: 18px;
}

.subscribe_form {
  margin: 14px 0 22px;
  max-width: 320px;
}

.subscribe_form_group {
  display: flex;
  gap: 8px;
}

.subscribe_input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  height: 42px;
  min-width: 0;
  padding: 0 14px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.subscribe_input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.subscribe_input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 195, 67, 0.72);
  outline: none;
}

.subscribe_button {
  border-radius: 8px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 42px;
  line-height: 42px;
  min-width: 108px;
  padding: 0 16px;
  position: static;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  width: auto;
}

.subscribe_button:hover {
  background: #ffd766;
  color: #252525;
  transform: translateY(-1px);
}

.foot_social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.foot_social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 17px;
  height: 36px;
  justify-content: center;
  line-height: 36px;
  margin: 0;
  width: 36px;
}

.foot_social a:hover {
  background: var(--okay-second-company, #f5c343);
  border-color: var(--okay-second-company, #f5c343);
  color: #252525;
}

.copyright {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 22px;
}

.copyright .d-flex {
  gap: 10px;
}

@media (max-width: 991px) {
  .footer {
    padding: 42px 0 26px;
  }

  .footer .foot {
    padding-right: 18px;
  }
}

@media (max-width: 767px) {
  .footer {
    font-size: 14px;
    padding: 36px 0 92px;
  }

  .footer .foot {
    margin-bottom: 4px;
    padding-right: 15px;
  }

  .foot_heading {
    margin-bottom: 12px;
  }

  .subscribe_form_group {
    display: block;
  }

  .subscribe_input,
  .subscribe_button {
    width: 100%;
  }

  .subscribe_button {
    margin-top: 8px;
  }

  .copyright {
    align-items: flex-start;
    display: block;
    margin-top: 18px;
  }
}
