.footer {
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0 20px;
    margin-top: 60px;
  }
  
  .footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }

  .footer__content-wrapper {
    margin-bottom: 40px;
  }

  .footer__main {
    display: grid;
    gap: 32px;
  }

  .footer__privacy-section {
    margin-top: 16px;
  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
  .footer__section {
    display: flex;
    flex-direction: column;
  }
  
  .footer__logo {
    width: 60px;
    height: auto;
    margin-bottom: 16px;
  }
  
  .footer__heading {
    font-family: var(--font-body);
    font-size: 16px;
    color: #030A03;
    margin: 0 0 16px 0;
  }
  
  .footer__links {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #030A03;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .footer__link {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer__link:hover {
    color: var(--color-text-primary);
  }
  
  .footer__newsletter-description {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0 0 20px 0;
    line-height: 1.5;
  }
  
  .footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .footer__input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .footer__email-input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.2s ease;
  }
  
  .footer__email-input:focus {
    outline: none;
    border-color: var(--color-brand-green);
    box-shadow: 0 0 0 3px var(--color-brand-green-muted);
  }
  
  .footer__email-input::placeholder {
    color: #9ca3af;
  }
  
  .footer__subscribe-btn {
    padding: 12px 24px;
    background-color: var(--color-text-secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .footer__subscribe-btn:hover {
    background-color: var(--color-brand-green-dark);
  }
  
  .footer__privacy-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
  }

  #footer-newsletter-message {
    margin-top: 12px;
  }

  #footer-newsletter-message p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 0;
  }

  #footer-newsletter-message .newsletter-block__message--success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
  }

  #footer-newsletter-message .newsletter-block__message--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
  }

  #footer-newsletter-message .newsletter-block__message--info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
  }
  
  .footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
  }
  
  .footer__social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  
  .footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text-secondary);
    background-color: #f9fafb;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  .footer__social-link:hover {
    color: #fff;
    background-color: var(--color-brand-green);
    transform: translateY(-2px);
  }
  
  .footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer__social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .footer__legal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  
  .footer__legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    min-width: fit-content;
    flex-shrink: 0;
  }
  
  .footer__legal-link {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: underline;
    transition: color 0.2s ease;
  }
  
  .footer__legal-link:hover {
    color: var(--color-text-primary);
  }
  
  .footer__copyright {
    flex-shrink: 1;
    min-width: 0;
  }

  .footer__copyright p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #6b7280;
    margin: 0;
  }
  
  @media (max-width : 767px) {
    .footer__bottom {
      flex-direction: column-reverse;
      align-items: flex-start;
    }
    .footer__legal {
      flex-direction: column-reverse;
      align-items: flex-start;
    }
    .footer__legal-links {
      flex-wrap: nowrap;
      flex-direction: column;
      text-align: left;
    }
    .footer__copyright {
      max-width: 100%;
    }
  }
  
  @media (min-width: 768px) {
    .footer {
      padding: 60px 0 30px;
    }

    .footer__main {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }

    .footer__section--newsletter {
      grid-column: span 2;
    }

    .footer__input-group {
      flex-direction: row;
    }

    .footer__email-input {
      flex: 1;
    }

    .footer__subscribe-btn {
      flex-shrink: 0;
      white-space: nowrap;
    }

    .footer__bottom {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .footer__legal {
      flex-direction: row;
      gap: 32px;
      align-items: flex-start;
    }

    .footer__copyright {
      max-width: 55%;
    }

    .footer__copyright p {
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .footer__legal-links {
      flex-direction: row;
      justify-content: flex-start;
    }

    .footer__social-icons {
      justify-content: flex-start;
    }
  }
  
  @media (min-width: 1024px) {
    .footer {
      padding: 80px 0 40px;
    }

    .footer__main {
      display: flex;
      gap: 60px;
      align-items: start;
    }

    .footer__section--logo {
      flex-shrink: 0;
    }

    .footer__links-wrapper {
      flex: 1;
      display: flex;
      gap: 60px;
      min-width: 0;
    }

    .footer__links-wrapper .footer__section {
      flex: 1;
      min-width: 0;
    }

    .footer__section--newsletter {
      flex-shrink: 0;
      min-width: 320px;
      max-width: 400px;
    }

    .footer__newsletter-description {
      max-width: 280px;
    }

    .footer__privacy-section {
      display: flex;
      justify-content: flex-end;
      margin-top: 16px;
    }

    .footer__privacy-text {
      max-width: 400px;
      text-align: left;
    }

    .footer__copyright {
      max-width: 65%;
    }
  }
  
  @media (min-width: 1200px) {
    .footer__main {
      gap: 80px;
    }

    .footer__links-wrapper {
      gap: 80px;
    }

    .footer__section--newsletter {
      min-width: 360px;
      max-width: 420px;
    }

    .footer__newsletter-description {
      max-width: 320px;
    }

    .footer__privacy-text {
      max-width: 420px;
    }

    .footer__copyright {
      max-width: 70%;
    }
  }