/* Футер — footer.php */

/* FOOTER */
.site-footer-wrapper {
    width: 100%;
    background-color: var(--color-black); 
    box-sizing: border-box;
    padding: 70px 0 60px 0;
}

.site-footer {
    max-width: 100%;
    padding: 0 50px; 
    margin: 0 auto;
    box-sizing: border-box;
}

.site-footer .unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__logo-container {
    margin-bottom: 75px; 
}

.footer__logo-text {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: var(--color-white); 
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

.site-footer .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.site-footer .grid__item {
    box-sizing: border-box;
}

footer .contact-form br{
  display: none;
}

footer .newsletter-form > p{
  display: flex;
  width: 100%;
}

.footer__block__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white); 
    margin: 0 0 24px 0;
}

.footer__quicklinks li {
    margin-bottom: 12px;
}

.footer__quicklinks li a {
    font-size: 13.5px;
    font-weight: 400;
    color: #cccccc; 
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer__quicklinks li a:hover {
    color: var(--color-white); 
}

.footer__newsletter__text p {
   font-size: 13.5px;
    line-height: 1.5;
    color: #cccccc;
    margin: 0 0 24px 0;
    max-width: 340px;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-white); 
    height: 3rem; 
}

.newsletter-form .input-group-field {
    flex: 1;
    width: 100%;
    
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.8125rem;
    color: var(--color-white);
    padding: 0 1rem;
    height: 2.875rem;
}

.newsletter-form .input-group-field::placeholder {
    color: #888888;
}

.newsletter-form .btn {
    background: var(--color-white);
    border: none;
    outline: none;
    padding: 0 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-black) !important; 
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: auto;
    height: 100%;
    transition: opacity 0.2s;
}

.newsletter-form .btn:hover {
   opacity: 0.6;
}

form .newsletter-form .wpcf7-form-control-wrap{
  width: auto;
  flex: 1 1 0;
  height: auto;
}

.footer__secondary {
    width: 100%;
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-900); 
}

.footer__copyright {
    display: flex;
    gap: 30px;
}

.footer__copyright li a {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666666; 
    text-decoration: none;
    transition: color 0.2s;
}

.footer__copyright li a:hover {
    color: var(--color-white);
}
.footer__logo-text img{
    filter: invert(1) brightness(2);
}
@media (max-width: 1024px) {
    .site-footer .grid {
		grid-template-columns: repeat(2, 1fr);
	}
    .footer__block {
        margin-bottom: 45px;
    }
    .site-footer {
        padding: 0 30px;
    }
    .footer__logo-container {
        margin-bottom: 50px;
    }
	.newsletter-form{
		height: 2.5rem;
	}
	.newsletter-form .btn,
	.newsletter-form .input-group-field {
		padding: 0 0.5rem;
		font-size: 0.5rem;
		font-weight: 500;
		height: 2.5rem;
	}
}

@media (max-width: 640px) {
    .site-footer .grid {
		grid-template-columns: repeat(1, 1fr);
	}
    .footer__block {
        margin-bottom: 40px;
    }
    .site-footer {
        padding: 0 20px;
    }
    .newsletter-form {
        max-width: 100%;
    }
    .footer__secondary {
        margin-top: 40px;
    }
    .footer__copyright {
        flex-direction: column;
        gap: 12px;
    }
}
