footer{
    background-color: black;
    padding: var(--section-spacing-md) clamp(0px, 3.3334vw, 0px);
}
footer .footer-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* No grid gap — the form and content sit flush; the breathing room
       that used to show up as a gap between them lives as leading padding
       on the left edge of .footer-content instead (below), so the content
       column keeps its distance from the form without touching it. */
    gap: 0;
    align-items: stretch;
}
footer .footer-form {
    grid-column: 1 / 2;
    padding: 32px;
    background-color: white;
    display: flex;
    flex-direction: column;
    /* .footer-form__top stays at its natural top position; .footer-form__bottom
       (flex: 1, below) grows to fill whatever height is left, so it — not this
       panel — is what centers the fields as the panel's height changes. */
    gap: 32px;
}
footer .footer-form--panel{
    position: relative;
    z-index: 10;
    align-self: stretch;
}
footer .footer-form__eyebrow{
    position: relative;
    margin: 0;
    font-size: var(--text-sm);
    padding-left: 18px;
    color: #000000;
}
footer .footer-form__eyebrow::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--color-accent-secondary);
    transform: translateY(-50%) rotate(45deg);
}
footer .footer-form--tech .footer-form__eyebrow::before{
    background: #F35EF2;
}
footer .footer-form__title{
    margin: 0;
    font-size: var(--text-1xl);
    font-family: var(--font-primary);
    font-weight: 400;
}
footer .footer-form__title-accent{
    color: var(--color-accent-secondary);
}
footer .footer-form--tech .footer-form__title-accent{
    color: #F35EF2;
}
footer .footer-content .link-text .link-item_group ul li a {
    font-size: var(--text-lg);
}
footer .footer-form .footer-form__top{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
footer .footer-form .footer-form__bottom{
    margin-top: 0;
    width: 100%;
    flex: 1;
    display: flex;
}
footer .footer-content {
    grid-column: 2 / 5;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
  justify-content: space-between;

}
footer .footer-form h3{
  margin-top: 0;
}
footer .footer-form .news-form{
    /* Fields row is 1fr (flexible) so it fills whatever space is left
       between the heading and the button, and the fields wrapper below
       centers itself within it; the submit row is auto-sized, which pins
       the button to the panel's actual bottom edge. */
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
    margin-top: 0;
    width: 100%;
}
footer .footer-form__fields{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
footer .footer-form__submit{
    padding-top: 30px;
    width: 100%;
}
footer .footer-form__submit .btn-animated{
    width: 100%;
    display: flex;
}
footer .footer-form__status{
    margin: 12px 0 0;
    font-size: var(--text-sm);
}
footer .footer-form__status--success{
    color: #1f9d55;
}
footer .footer-form__status--error{
    color: #d64545;
}
footer .field-error{
    display: block;
    margin-top: 6px;
    font-size: var(--text-sm);
    color: #d64545;
}
footer .footer-form .news-form label{
    display: block;
    width: 100%;
}
footer .footer-form .news-form input{
    display: block;
    box-sizing: border-box;
    width: 100%;
    border: none;
    outline: none;
    border-bottom: 1px solid var(--color-text-grey-3);
    padding:12px 0;
    color: var(--color-accent-black);
}
footer .footer-form .news-form input::placeholder{
    color: var(--color-accent-black);
}
footer .footer-content .logo-text{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #D9D9D9;
}
footer .footer-content .logo-text p{
    color: var(--color-accent-white);
}
footer .footer-content .logo-text .footer-logo{
    width: clamp(44px, 4vw, 60px);
    height: auto;
}
footer .footer-content__about{
    margin: 0;
    font-size: var(--text-lg);
    /* Wraps to exactly two lines on large screens instead of three, so
       its block height pairs with the logo instead of towering over it. */
    max-width: clamp(280px, 45vw, 620px);
    line-height: 1.4;
}
.footer-content .link-text {
  color: var(--color-accent-white);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .footer-content .link-text {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content .link-text {
    grid-template-columns: 1fr;
  }
  footer .footer-content__about{
    max-width: 100%;
  }
}
footer .footer-content .link-text .link-item_group h3{
    font-size: var(--text-lg);
    font-family: var(--font-primary);
    font-weight: 400;

}
footer .footer-content .link-text .link-item_group ul{
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
footer .footer-content .link-text .link-item_group ul li{
    display: flex;
    align-items: center;
    gap: 10px;
}
footer .footer-content .link-text .link-item_group ul li a{
    color: var(--color-accent-white);
}
.link-text ul li a:hover{
    opacity: 0.8;
}
.text-social p span a:hover{
    opacity: 0.8;
}
footer .footer-content .text-social{
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #D9D9D9;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
footer .footer-content .text-social p{
    color: var(--color-accent-white);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 200;
}
footer .footer-content__legal{
    margin: 0;
    font-size: 12px;
}
footer .footer-content__legal-links{
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
footer .footer-content .text-social p a{
    color: var(--color-accent-white);
}
footer .footer-btn{
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    display: none;
}
footer .footer-btn .text-style{
    color: var(--color-accent-white);
}
footer .footer-btn .text-style::before{
    background: white;
}
footer .footer-btn .para-text{
    color: white;
}
footer .footer-btn h3{
    font-size: 28px;
    font-family: var(--font-primary);
}

@media (max-width:1024px) {
    .footer .footer-form{
        display: none;
    }
    footer .footer-btn{
        display: flex;
    }
    footer .footer-wrapper{
        display: flex;
        flex-wrap: wrap;
    }
    footer .footer-form,
    footer .footer-content{
        width: 100%;
    }
    footer .footer-content{
        padding-left: 0;
    }
    footer .footer-form{
        margin-right: 0;
        display: none;
        gap: 32px;
    }
    footer .footer-content .logo-text,
    footer .footer-content .text-social{
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    footer .footer-content .text-social .social-footer{
           margin-top: 15px;
    }
    footer .footer-content .link-text .link-item_group.nav-links ul{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    footer .footer-content .link-text{
      font-size: var(--text-lg);

    }
}

@media (min-width: 2560px) {
.social-media.social-footer ul li svg {
    width: clamp(40px, 4vw, 72px);
    height: clamp(40px, 4vw, 72px);
}
}
