/* Footer Waves */
.footer-waves {
    width: 100%;
    line-height: 0;
    background-color: #f3f7fb;
    overflow: hidden;
}

.footer-waves svg {
    display: block;
    width: 100%;
    height: var(--footer-wave-h);
    margin-bottom: 0;
    transform: translateY(1px);
}

.footer-waves__parallax > use {
    animation: footer-wave-move 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.footer-waves__parallax > use:nth-child(1) {
    fill: rgba(23, 41, 140, 0.35);
    animation-delay: -2s;
    animation-duration: 7s;
}

.footer-waves__parallax > use:nth-child(2) {
    fill: rgba(23, 41, 140, 0.55);
    animation-delay: -3s;
    animation-duration: 10s;
}

.footer-waves__parallax > use:nth-child(3) {
    fill: rgba(23, 41, 140, 0.75);
    animation-delay: -4s;
    animation-duration: 13s;
}

.footer-waves__parallax > use:nth-child(4) {
    fill: var(--color-primary);
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes footer-wave-move {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.site-footer {
    background-color: var(--color-primary);
    color: #fff;
    padding-top: var(--footer-pt);
    padding-bottom: var(--footer-pb);
    font-size: var(--footer-text);
    margin-top: -1px;
}

/* Left 65% + Right 25%, gap 10% */
.site-footer__main {
    display: flex;
    flex-direction: column;
    gap: var(--footer-section-gap);
    margin-bottom: var(--footer-section-gap);
}

@media (min-width: 1024px) {
    .site-footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 0;
    }

    .site-footer__left {
        width: 65%;
        flex-shrink: 0;
    }

    .site-footer__right {
        width: 25%;
        flex-shrink: 0;
    }
}

@media (max-width: 1439px) {
    .site-footer__right {
        display: none;
    }

    .site-footer__left {
        width: 100%;
    }
}

@media (min-width: 1440px) {
    .site-footer__left {
        width: 63%;
    }

    .site-footer__right {
        width: 27%;
    }
}

@media (min-width: 1680px) {
    .site-footer__main {
        margin-bottom: var(--footer-section-gap);
    }
}

/* Left top: 3 columns */
.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--footer-block-gap);
    padding-bottom: var(--footer-block-gap);
}

@media (min-width: 768px) {
    .site-footer__top {
        grid-template-columns: 1.25fr 1.25fr 0.75fr;
    }
}

@media (max-width: 767px) {
    .site-footer__nav-col {
        display: none;
    }
}

/* Horizontal divider */
.site-footer__divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: var(--footer-block-gap);
}

/* Left bottom: 2 columns */
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--footer-block-gap);
}

@media (min-width: 768px) {
    .site-footer__bottom {
        grid-template-columns: 2fr 1fr;
    }
}

/* Brand */
.site-footer__logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.site-footer__logo:hover,
.site-footer__logo:focus {
    text-decoration: none;
}

.site-footer__logo-img {
    height: var(--footer-logo-h);
}

.site-footer__desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--footer-text);
    line-height: 1.6;
    margin: 0;
    max-width: var(--footer-desc-max-w);
}

/* Contact */
.site-footer__company-name {
    font-size: calc(var(--footer-heading) + 1px);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.4;
}

.site-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: var(--footer-text);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.site-footer__contact-item svg,
.site-footer__contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.site-footer__contact-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

/* Nav */
.site-footer__heading {
    font-family: var(--font-display);
    font-size: var(--footer-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    color: #fff;
}

.site-footer__link-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: var(--footer-text);
    color: rgba(255, 255, 255, 0.75);
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__link-list--caps a {
    text-transform: uppercase;
   
}

.site-footer__link-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__link-list a:hover,
.site-footer__link-list a:focus {
    color: #ffb84d;
    text-decoration: none;
}

/* Social */
.site-footer__social-col {
    display: flex;
    align-items: flex-start;
}

.site-footer__social {
    display: grid;
    grid-template-columns: repeat(3, var(--footer-social-size));
    gap: 16px 20px;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--footer-social-size);
    height: var(--footer-social-size);
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link img {
    width: var(--footer-social-icon-w);
    height: var(--footer-social-icon-h);
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover img {
    opacity: 0.85;
}

.site-footer__social-link:hover {
    color: #ffb84d;
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-footer__social-col {
        width: 100%;
        justify-content: center;
    }

    .site-footer__social {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .site-footer__social-link {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: auto;
    }

    .site-footer__social-link img {
        width: 100%;
        max-width: 32px;
        height: auto;
        margin: 0 auto;
    }
}

/* Form */
.site-footer__form-card {
    background-color: rgba(50, 72, 212, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: var(--footer-form-pad);
    height: 100%;
    box-sizing: border-box;
}

.site-footer__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 1280px) {
    .site-footer__form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.site-footer__input {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: var(--footer-input-padding);
    font-size: var(--fs-xs);
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__input--textarea {
    resize: none;
    min-height: var(--footer-textarea-min-h);
}

.site-footer__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.site-footer__input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(234, 179, 90, 0.12);
    outline: none;
}

.site-footer__input--code {
    flex: 1;
    width: auto;
    min-width: 0;
}

.site-footer__captcha-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.site-footer__captcha {
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 8px;
    height: auto;
    min-height: 40px;
    cursor: pointer;
}

.site-footer__submit-wrap {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.site-footer__submit {
    min-width: min(var(--footer-submit-min-w), 100%);
}

.site-footer__submit:hover {
    background-color: #fff;
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.22);
}

/* Copyright */
.site-footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    padding-bottom: 4px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
    opacity: 1;
    visibility: visible;
}

.site-footer__copyright a {
    color: inherit;
    text-decoration: none;
}

.site-footer__copyright a:hover,
.site-footer__copyright a:focus {
    color: #ffb84d;
    text-decoration: none;
}

.site-footer__copyright p {
    margin: 0;
}

.site-footer__top .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.site-footer__top .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.site-footer__top .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }

.site-footer__bottom .animate-on-scroll:nth-child(1) { transition-delay: 0.08s; }
.site-footer__bottom .animate-on-scroll:nth-child(2) { transition-delay: 0.16s; }

.site-footer__right .animate-on-scroll { transition-delay: 0.2s; }
