:root {
  --footer-text-color: #ffffff;
  --footer-accent-color: #c5d961;
  --footer-bg: #000000;
  --footer-border-color: #ffffff;
  --footer-input-bg: #1c1c1c;
  --footer-input-placeholder: #575656;
}
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  padding: clamp(1.5rem, 2vw, 3rem);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.top-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-left img {
  max-width: clamp(150px, 20vw, 260px);
  height: auto;
}

.footer-middle {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-middle h1 {
  color: var(--footer-text-color);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.footer-middle p {
  color: var(--footer-text-color);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer-middle form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-middle input[type="email"] {
  width: 100%;
  max-width: 323px;
  height: clamp(2.5rem, 6vh, 50px);
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background-color: var(--footer-input-bg);
  color: var(--footer-text-color);
  padding: 0 1rem;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.footer-middle input[type="email"]::placeholder {
  color: var(--footer-input-placeholder);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.3px;
}

.footer-middle button {
  width: 90%;
  max-width: 308px;
  height: clamp(2rem, 5vh, 36px);
  border: none;
  border-radius: 10px;
  background-color: var(--footer-accent-color);
  color: #000000;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-middle button:hover {
  background-color: var(--footer-accent-color);
}

.footer-right {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.footer-right h1 {
  color: var(--footer-text-color);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

.footer-right li {
  margin-bottom: 0.5rem;
}

.footer-right a {
  color: var(--footer-text-color);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--footer-accent-color);
}

footer hr {
  border: none;
  height: 1px;
  background-color: var(--footer-border-color);
  margin: clamp(1rem, 2vw, 2rem) 0;
}

.footer-bottom {
  text-align: center;
}

.social-icons a {
  text-decoration: none;
  outline: none;
}

.social-icons {
  margin-bottom: 1rem;
}

.social-icons a img {
  width: clamp(20px, 3vw, 30px);
  height: auto;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom p {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: var(--footer-text-color);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 992px) {
  .top-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.thank-you {
  display: none;
  color: var(--footer-accent-color);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.error-message {
  color: #ff6b6b;
  margin-top: 10px;
  padding: 8px;
  background: #ffebeb;
  border-radius: 4px;
  font-size: 14px;
}
