.footer-title {
    font-family: "Spartan", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.context-dark .footer-title {
    color: #fff;
}

.footer-default .footer-row {
    padding: 3.125rem 0;
}

.footer-default .footer-row-accent {
    padding: 2.5rem 0;
    background-color: #343538;
}

.footer-default .footer-row + .footer-row {
    border-top: 1px solid #dbdbdb;
}

.footer-default .footer-row + .footer-row-accent,
.footer-default .footer-row-accent + .footer-row {
    border-top: none;
}

.footer-default .footer-form textarea {
    min-height: 6.9375rem;
    max-height: 8.125rem;
}

.footer-default .rights {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
}

.footer-default .footer-menu {
    text-align: center;
    margin-left: -1.25rem;
}

.footer-default .footer-menu > * {
    margin-left: 1.25rem;
}

.footer-default .footer-menu-link {
    display: inline-block;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-default .footer-menu-link:hover {
    color: #fff;
}

.footer-default * + .group-offset-1 {
    margin-top: 0.9375rem;
}

.footer-default .footer-title + * {
    margin-top: 0.9375rem;
}

.footer-default .footer-post + .footer-post {
    margin-top: 0.75rem;
}

.footer-default.context-dark {
    color: rgba(255, 255, 255, 0.5);
}

.footer-default.context-dark .footer-row + .footer-row {
    border-color: rgba(255, 255, 255, 0.05);
}

.footer-default.context-dark .footer-post .post-title a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-default.context-dark .footer-post .post-title a:hover {
    color: #fff;
}

@media (min-width: 992px) {
    .footer-default .footer-row {
        padding: 3.75rem 0;
    }
    .footer-default .footer-row-accent {
        padding: 2.5rem 0rem;
    }
    .footer-default .footer-menu {
        margin-left: -3rem;
    }
    .footer-default .footer-menu > * {
        margin-left: 3rem;
    }
    .footer-default .footer-title + * {
        margin-top: 2.125rem;
    }
    .footer-default .footer-post + .footer-post {
        margin-top: 1rem;
    }
    .footer-default .footer-title + .footer-form {
        margin-top: 2.625rem;
    }
}

@media (min-width: 1200px) {
    .footer-default .footer-row {
        padding: 4.625rem 0;
    }
    .footer-default .footer-row-1 {
        padding: 80px 0;
    }
    .footer-default .footer-row-2 {
        padding: 5rem 0rem 5.75rem;
    }
    .footer-default .footer-row-3 {
        padding: 150px 0 90px;
    }
    .footer-default .footer-row-accent {
        padding: 3.0625rem 0rem;
    }
}

.footer-default-light .post-title a {
    opacity: 0.7;
}

.footer-default-light .post-title a:hover {
    color: #0a0a0b;
    opacity: 1;
}

.footer-default-light .link-inherit {
    opacity: 0.5;
}

.footer-default-light .link-inherit:hover {
    color: #0a0a0b;
    opacity: 1;
}

.footer-default-light .rights {
    color: rgba(255, 255, 255, 0.6);
}

.footer-gallery {
    background: linear-gradient(111deg, #3a4453 6%, #2f343d 94%);
}

.footer-gallery .footer-row {
    padding: 3.125rem 0;
}

.footer-gallery .footer-row + .footer-row {
    border-top: 1px solid #dbdbdb;
}

.footer-gallery .footer-title {
    position: relative;
    padding-left: 0.875rem;
    letter-spacing: 0.03em;
}

.footer-gallery .footer-title::before {
    position: absolute;
    left: 0;
    top: 0.2em;
    height: 0.5em;
    width: 0.5em;
    background-color: #ed930d;
    content: "";
}

.footer-gallery .footer-menu-item + .footer-menu-item {
    margin-top: 0.5625rem;
}

.footer-gallery .footer-title + * {
    margin-top: 0.9375rem;
}

.footer-gallery.context-dark {
    color: rgba(255, 255, 255, 0.5);
}

.footer-gallery.context-dark .footer-row + .footer-row {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-gallery.context-dark .footer-menu-link {
    color: rgba(255, 255, 255, 0.5);
}

.footer-gallery.context-dark .footer-menu-link:hover {
    color: #fff;
}

.footer-gallery.context-dark .privacy-link {
    color: rgba(255, 255, 255, 0.6);
}

.footer-gallery.context-dark .privacy-link:hover {
    color: #fff;
}

.footer-gallery.context-dark .icon-link {
    color: rgba(255, 255, 255, 0.2);
}

.footer-gallery.context-dark .icon-link:hover {
    color: #fff;
}

.footer-gallery.context-dark .rights {
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 992px) {
    .footer-gallery .footer-row {
        padding: 3.75rem 0;
    }
    .footer-gallery .footer-row-3 {
        padding: 2.5rem 0rem;
    }
    .footer-gallery .footer-title + * {
        margin-top: 1.4375rem;
    }
}

@media (min-width: 1200px) {
    .footer-gallery .footer-row {
        padding: 6.375rem 0;
    }
    .footer-gallery .footer-row-2 {
        padding: 4.5625rem 0rem 5.25rem;
    }
    .footer-gallery .footer-row-3 {
        padding: 3.9375rem 0rem;
    }
}

.footer-contacts .footer-row-accent {
    padding: 3.125rem 0;
    background: #3e3e3f url("../../images/bg-pattern.png");
}

.footer-contacts .footer-col {
    padding: 3.4375rem 0;
}

.footer-contacts .footer-col + .footer-col {
    border-top: 1px solid #dbdbdb;
}

.footer-contacts .footer-title {
    position: relative;
    padding-left: 0.875rem;
    padding-bottom: 1.5rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid;
}

.footer-contacts .footer-title::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 1em;
    border-left: 2px solid #1c77ff;
    content: "";
}

.footer-contacts .footer-menu-item + .footer-menu-item {
    margin-top: 0.5rem;
}

.footer-contacts .footer-menu-link {
    position: relative;
    display: inline-block;
    padding-left: 1.125rem;
}

.footer-contacts .footer-menu-link::before {
    display: inline-block;
    vertical-align: middle;
    content: "";
    width: 0.38em;
    height: 0.38em;
    margin-left: -1.125rem;
    margin-top: -1px;
    margin-right: 0.5625rem;
    border-radius: 50%;
    background: #1c77ff;
    transition: all 0.2s ease-in-out;
}

.footer-contacts .footer-title + * {
    margin-top: 1.25rem;
}

.footer-contacts.context-dark {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contacts.context-dark .footer-col {
    border-color: rgba(255, 255, 255, 0.05);
}

.footer-contacts.context-dark .list-icons a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contacts.context-dark .list-icons a:hover {
    color: #fff;
}

.footer-contacts.context-dark .list-icon {
    color: #fff;
}

.footer-contacts.context-dark .footer-title {
    border-color: rgba(255, 255, 255, 0.05);
}

.footer-contacts.context-dark .footer-post .post-title a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts.context-dark .footer-post .post-title a:hover {
    color: #fff;
}

.footer-contacts.context-dark .footer-menu-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts.context-dark .footer-menu-link::before {
    background: rgba(255, 255, 255, 0.2);
}

.footer-contacts.context-dark .footer-menu-link:hover {
    color: #fff;
}

.footer-contacts.context-dark .footer-menu-link:hover::before {
    background: #ed930d;
}

.footer-contacts.context-dark .form-control {
    color: #fff;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-contacts.context-dark .form-control::placeholder {
    color: #fff;
}

.footer-contacts.context-dark .footer-text {
    color: rgba(255, 255, 255, 0.4);
}

.footer-contacts.context-dark .btn-outline {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    transition: 0.5s;
}

.footer-contacts.context-dark .btn-outline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -1px;
    bottom: -1px;
    z-index: -1;
    width: 50%;
    background: inherit;
    transform: translateX(-50%);
    opacity: 0;
    border-radius: inherit;
    transition: inherit;
    pointer-events: none;
}

.footer-contacts.context-dark .btn-outline:hover,
.footer-contacts.context-dark .btn-outline:focus {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.footer-contacts.context-dark .btn-outline:hover::before,
.footer-contacts.context-dark .btn-outline:focus::before {
    width: 100%;
    background-color: #1c77ff;
    opacity: 1;
}

.footer-contacts.context-dark .rights {
    color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 992px) {
    .footer-contacts .footer-col {
        padding: 4.4375rem 0rem;
    }
    .footer-contacts .footer-col-1 {
        padding: 3.8125rem 0rem;
    }
    .footer-contacts .footer-title + * {
        margin-top: 1.8125rem;
    }
}

@media (min-width: 1600px) {
    .footer-contacts .footer-row-accent {
        padding: 6.3125rem 0rem;
    }
}

.footer-classic {
    background-color: #2b5368;
}

.footer-classic .footer-row {
    padding: 3.125rem 0;
}

.footer-classic .footer-row-accent {
    padding: 2.5rem 0;
}

.footer-classic .footer-row + .footer-row {
    border-top: 1px solid #dbdbdb;
}

.footer-classic .footer-row + .footer-row-accent,
.footer-classic .footer-row-accent + .footer-row {
    border-top: 1px solid #fff;
}

.footer-classic .footer-form textarea {
    min-height: 6.9375rem;
    max-height: 8.125rem;
}

.footer-classic .rights {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-classic .footer-menu {
    text-align: center;
    margin-left: -1.25rem;
}

.footer-classic .footer-menu > * {
    margin-left: 1.25rem;
}

.footer-classic .footer-menu-link {
    display: inline-block;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-classic .footer-menu-link:hover {
    color: #fff;
}

.footer-classic * + .group-offset-1 {
    margin-top: 0.9375rem;
}

.footer-classic .footer-title + * {
    margin-top: 0.9375rem;
}

.footer-classic .footer-post + .footer-post {
    margin-top: 0.75rem;
}

.footer-classic.context-dark {
    color: rgba(255, 255, 255, 0.5);
}

.footer-classic.context-dark .footer-post .post-title a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-classic.context-dark .footer-post .post-title a:hover {
    color: #fff;
}

@media (min-width: 992px) {
    .footer-classic .footer-row {
        padding: 3.75rem 0;
    }
    .footer-classic .footer-row-accent {
        padding: 2.5rem 0rem;
    }
    .footer-classic .footer-menu {
        margin-left: -3rem;
    }
    .footer-classic .footer-menu > * {
        margin-left: 3rem;
    }
    .footer-classic .footer-title + * {
        margin-top: 2.125rem;
    }
    .footer-classic .footer-post + .footer-post {
        margin-top: 1rem;
    }
    .footer-classic .footer-title + .footer-form {
        margin-top: 2.625rem;
    }
}

@media (min-width: 1200px) {
    .footer-classic .footer-row {
        padding: 4.625rem 0;
    }
    .footer-classic .footer-row-2 {
        padding: 114px 0 65px;
    }
    .footer-classic .footer-row-accent {
        padding: 3.0625rem 0rem;
    }
}

.footer-roller .footer-row {
    padding: 3.125rem 0;
}

.footer-roller .footer-row + .footer-row {
    border-top: 1px solid #dbdbdb;
}

.footer-roller .footer-title {
    color: #0a0a0b;
    letter-spacing: 0.03em;
}

.footer-roller .footer-title + * {
    margin-top: 0.9375rem;
}

.footer-roller .footer-menu-item + .footer-menu-item {
    margin-top: 0.5625rem;
}

.footer-roller .rd-form-boxed .btn-outline {
    color: #0a0a0b;
}

.footer-roller .footer-row-2 {
    color: rgba(10, 10, 11, 0.5);
}

.footer-roller .footer-row-2 a:not(.btn) {
    color: inherit;
}

.footer-roller .footer-row-2 a:not(.btn):hover {
    color: #0a0a0b;
}

.footer-roller .footer-row-3 {
    color: rgba(10, 10, 11, 0.6);
}

.footer-roller .footer-row-3 a {
    color: inherit;
}

.footer-roller .footer-row-3 a:hover {
    color: #0a0a0b;
}

.footer-roller .footer-row-3 .icon-link {
    color: rgba(10, 10, 11, 0.2);
}

.footer-roller .footer-row-3 .icon-link:hover {
    color: #1c77ff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    order: 1;
    text-align: left;
}

.footer-center {
    order: 2;
    text-align: center;
}

.footer-right {
    order: 3;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Optional: Additional styling for responsive behavior */
@media (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        order: unset;
        text-align: center;
    }
    .footer-right {
        align-items: center;
    }
}

@media (min-width: 992px) {
    .footer-roller .footer-row {
        padding: 3.75rem 0;
    }
    .footer-roller .footer-row-3 {
        padding: 2.5rem 0rem;
    }
    .footer-roller .footer-title + * {
        margin-top: 1.4375rem;
    }
}

@media (min-width: 1200px) {
    .footer-roller .footer-row {
        padding: 6.375rem 0;
    }
    .footer-roller .footer-row-2 {
        padding: 4.5625rem 0rem 5.25rem;
    }
    .footer-roller .footer-row-3 {
        padding: 3.9375rem 0rem;
    }
}
