.footer {
    background: var(--color0401);
    padding: 60px 6% 40px;
    margin: 60px 0 0 0;
    border-top: 10px solid color-mix(in srgb, var(--color0402) 70%, transparent);
    padding-bottom: 120px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.footer-grid div h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color0403);
}
.footer-grid > div:first-child h4, .footer-grid > div:first-child h4 span {
    font-family: Sahel-Bold;
}
.footer-grid div h4 span {
    color: var(--color0402);
}
.footer-grid div p {
    color: color-mix(in srgb, var(--color0403) 80%, transparent);
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}
.footer-grid div a {
    display: block;
    text-decoration: none;
    color: color-mix(in srgb, var(--color0403) 80%, transparent);
    margin-bottom: 8px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-grid div a:hover {
    color: var(--color0403);
    padding-right: 5px;
}
.footer-grid div a i {
    color: var(--color0403);
    font-size: 16px;
}
.footer-grid div form {
    display: flex;
}
.footer-grid div form input {
    flex: 1;
    padding: 4px 16px;
    border-radius: 0 6px 6px 0;
    border: 2px solid color-mix(in srgb, var(--color0402) 30%, transparent);
    border-left: none;
    background: transparent;
    color: var(--color0403);
}
.footer-grid div form input::placeholder {
    font-family: Sahel-Light;
    font-size: 11px;
    color: color-mix(in srgb, var(--color0403) 70%, transparent);
}
.footer-grid div form button {
    padding: 4px 10px;
    border-radius: 6px 0 0 6px;
    border: none;
    background: color-mix(in srgb, var(--color0402) 86%, var(--color0401));;
    font-size: 14px;
    font-family: Sahel-Bold;
    cursor: pointer;
    color: var(--color0401);
}
.footer-grid div div {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}
.footer-grid div div a i {
    font-size: 24px;
    background: linear-gradient(90deg, var(--color0403) 0%, var(--color0402) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.footer-grid div div a i:hover {
    color: var(--color0403);
    scale: 1.1;
}
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--color0403) 10%, transparent);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: color-mix(in srgb, var(--color0403) 80%, transparent);
}
.footer-bottom p {
    margin-bottom: 4px;
}
.footer-bottom p span {
    display: inline-block;
    direction: ltr;
    font-family: Sahel-SemiBold;
}
.footer-bottom p a {
    font-family: Sahel-Bold;
    color: var(--color0403);
}
@media screen and (max-width: 768px) {
    .footer-grid div p {
        text-align: center;
    }
    .footer-grid div form input::placeholder {
        font-size: 12px;
    }
    .footer-bottom {
        font-size: 11px;
    }
    .footer {
        margin: 40px 0 0 0;
        padding: 40px 5% 100px;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 15px;
    }
    .footer-grid > div:nth-child(1), .footer-grid > div:nth-child(4) {
        grid-column: span 2;
    }
    .footer-grid > div:nth-child(2) {
        padding-right: 6px;
        text-align: right;
    }
    .footer-grid div div {
        justify-content: center;
    }
}