.se-site-footer {
    background-color: #101d39;
    background-image: linear-gradient(135deg, rgba(91, 133, 189, 0.06) 1px, transparent 1px), linear-gradient(45deg, rgba(91, 133, 189, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    color: #fff;
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

.se-site-footer::before {
    border: 1px solid rgba(124, 160, 207, 0.15);
    border-radius: 50%;
    bottom: -420px;
    box-shadow: 0 0 0 76px rgba(124, 160, 207, 0.035), 0 0 0 152px rgba(124, 160, 207, 0.02);
    content: "";
    height: 620px;
    pointer-events: none;
    position: absolute;
    right: -126px;
    width: 620px;
}

.se-site-footer__inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) minmax(170px, 0.88fr) minmax(260px, 1.2fr);
    gap: 40px;
    max-width: 1240px;
    min-height: 322px;
    margin: 0 auto;
    padding: 52px 28px 44px;
    position: relative;
    z-index: 1;
}

.se-site-footer h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
}

.se-site-footer p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
}

.se-site-footer__logo-link {
    display: inline-flex;
    margin-bottom: 30px;
    padding-bottom: 13px;
    position: relative;
}

.se-site-footer__logo {
    display: block;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
    height: auto;
    max-width: 184px;
    transition: filter 0.24s ease, transform 0.24s ease;
    width: 100%;
}

.se-site-footer__logo-link::after {
    background: #5e92d5;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0.32);
    transform-origin: left;
    transition: transform 0.24s ease;
    width: 100%;
}

.se-site-footer__logo-link:hover .se-site-footer__logo,
.se-site-footer__logo-link:focus-visible .se-site-footer__logo {
    filter: brightness(1.14) drop-shadow(0 10px 18px rgba(103, 151, 215, 0.32));
    transform: translateY(-2px);
}

.se-site-footer__logo-link:hover::after,
.se-site-footer__logo-link:focus-visible::after {
    transform: scaleX(1);
}

.se-site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.se-site-footer__menu li {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    padding: 0 0 12px;
}

.se-site-footer a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.se-site-footer a:hover,
.se-site-footer a:focus {
    color: #2e75c7;
}

.se-site-footer__contact p {
    margin-bottom: 18px;
}

.se-site-footer__contact-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.se-site-footer__contact-list li {
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    font-size: 14px;
    gap: 12px;
    line-height: 1.4;
}

.se-site-footer__contact-icon {
    color: #fff;
    display: inline-flex;
    flex: 0 0 20px;
    height: 20px;
    width: 20px;
}

.se-site-footer__social {
    display: grid;
    gap: 14px;
}

.se-site-footer__social-label {
    color: #8faad0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.se-site-footer__social-links {
    display: flex;
    gap: 10px;
}

.se-site-footer__social-links a {
    align-items: center;
    border: 1px solid rgba(214, 226, 244, 0.42);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 38px;
}

.se-site-footer__social-links a::after {
    background: #fff;
    border-radius: 3px;
    color: #101d39;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    left: 50%;
    opacity: 0;
    padding: 5px 7px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 9px);
    transform: translateX(-50%) translateY(-3px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    visibility: hidden;
    white-space: nowrap;
}

.se-site-footer__social-links a:hover,
.se-site-footer__social-links a:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #101d39;
    transform: translateY(-3px);
}

.se-site-footer__social-links a:hover::after,
.se-site-footer__social-links a:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.se-site-footer__social-links svg {
    fill: currentColor;
    height: 17px;
    width: 17px;
}

.se-site-footer__contact-icon svg {
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.se-floating-contact {
    display: grid;
    gap: 4px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.se-floating-contact__item {
    align-items: center;
    background: #fff;
    border: 1px solid #d4deea;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
    box-shadow: -4px 4px 0 #c7d3e1, -8px 10px 18px rgba(9, 35, 76, 0.18);
    color: #174d9a;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    padding: 0;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 46px;
}

.se-floating-contact__item:hover,
.se-floating-contact__item:focus,
.se-floating-contact__item.is-open {
    background: #f3f7fc;
    border-color: #174d9a;
    box-shadow: -2px 2px 0 #174d9a, -10px 12px 22px rgba(9, 35, 76, 0.22);
    color: #0d3e86;
    outline: none;
    transform: translateX(-5px);
}

.se-floating-contact__item:active {
    box-shadow: -1px 1px 0 #174d9a, -4px 5px 10px rgba(9, 35, 76, 0.2);
    transform: translateX(-2px) translateY(2px);
}

.se-floating-contact__item:focus-visible {
    outline: 2px solid #79a7df;
    outline-offset: 3px;
}

.se-floating-contact__icon {
    display: inline-flex;
    height: 25px;
    width: 25px;
}

.se-floating-contact__icon svg {
    display: block;
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.se-floating-contact__panel {
    background: #fff;
    border: 1px solid rgba(20, 33, 61, 0.18);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    color: #14213d;
    font-size: 14px;
    left: auto;
    line-height: 1.3;
    min-width: 168px;
    opacity: 0;
    padding: 10px 12px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    transform: translateY(-50%) translateX(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    visibility: hidden;
    white-space: nowrap;
}

.se-floating-contact__panel--image {
    box-sizing: border-box;
    height: 166px;
    min-width: 0;
    padding: 8px;
    width: 166px;
}

.se-floating-contact__panel img {
    display: block;
    flex: 0 0 150px;
    height: 150px;
    max-width: none;
    width: 150px;
}

.se-floating-contact__item:hover .se-floating-contact__panel,
.se-floating-contact__item:focus .se-floating-contact__panel,
.se-floating-contact__item.is-open .se-floating-contact__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    visibility: visible;
}

@media (max-width: 921px) {
    .se-site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 48px;
        padding: 42px 28px;
    }
}

@media (max-width: 640px) {
    .se-site-footer__inner {
        grid-template-columns: 1fr;
        padding: 34px 74px 34px 22px;
    }

    .se-floating-contact__item {
        height: 40px;
        width: 44px;
    }

    .se-floating-contact__icon {
        height: 22px;
        width: 22px;
    }

    .se-floating-contact__panel img {
        height: 132px;
        width: 132px;
    }

    .se-floating-contact__panel--image {
        height: 148px;
        width: 148px;
    }
}
