:root {
    --c2rb-footer-pink: #c4769f;
    --c2rb-footer-white: #ffffff;
    --c2rb-footer-width: 86%;
}

.c2rb-site-footer,
.c2rb-site-footer * { box-sizing: border-box; }

.c2rb-site-footer {
    position: relative;
    width: 100%;
    margin: 0;
    color: var(--c2rb-footer-white);
    background: var(--c2rb-footer-pink);
}

.c2rb-footer__inner {
    width: min(var(--c2rb-footer-width), 1440px);
    margin: 0 auto;
    padding: 64px 0 28px;
}

.c2rb-footer-menu {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 1fr 1.15fr;
    gap: 42px 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.28);
}

.c2rb-footer-menu__column { min-width: 0; }

.c2rb-footer-menu__title {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 13px;
    color: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
}

.c2rb-footer-menu__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: rgba(255,255,255,.95);
}

.c2rb-footer-menu__title a,
.c2rb-footer-menu__links a,
.c2rb-footer-group__title,
.c2rb-footer-contact a,
.c2rb-footer-legal a {
    color: var(--c2rb-footer-white);
    text-decoration: none;
}

.c2rb-footer-menu__links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c2rb-footer-menu__links a,
.c2rb-footer-contact,
.c2rb-footer-contact a {
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.55;
}

.c2rb-footer-menu__links a,
.c2rb-footer-contact { opacity: .9; }

.c2rb-footer-menu a:hover,
.c2rb-footer-menu a:focus-visible,
.c2rb-footer-contact a:hover,
.c2rb-footer-contact a:focus-visible,
.c2rb-footer-legal a:hover,
.c2rb-footer-legal a:focus-visible {
    color: #fff;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.c2rb-footer-groups { display: grid; gap: 18px; }
.c2rb-footer-group { display: grid; gap: 8px; }
.c2rb-footer-group__title { font-size: .98rem; font-weight: 500; line-height: 1.4; }
.c2rb-footer-menu__links--nested { gap: 6px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); }
.c2rb-footer-menu__links--nested a { font-size: .88rem; }

.c2rb-footer-contact p { margin: 0 0 10px; }
.c2rb-footer-contact__name { font-weight: 500; opacity: 1; }
.c2rb-footer-contact__address { white-space: normal; }

.c2rb-footer-contact__menu {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}


.c2rb-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.c2rb-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
}

.c2rb-footer-socials a:hover,
.c2rb-footer-socials a:focus-visible { background: #fff; color: var(--c2rb-footer-pink); text-decoration: none; }
.c2rb-footer-socials svg { width: 17px; height: 17px; fill: currentColor; }

.c2rb-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;
    padding: 38px 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
}

.c2rb-footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px 70px;
    min-height: 160px;
    padding: 38px 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
}

.c2rb-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(250px, 28vw);
    min-height: 78px;
}

.c2rb-footer-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 92px;
    margin: 0;
    object-fit: contain;
}

.c2rb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px 36px;
    padding-top: 28px;
    font-size: .9rem;
    line-height: 1.5;
}

.c2rb-footer-bottom__copyright,
.c2rb-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.c2rb-footer-bottom__copyright span + span::before,
.c2rb-footer-legal a + a::before { content: "•"; display: inline-block; margin-right: 18px; opacity: .65; }

.c2rb-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--c2rb-footer-pink);
    font: inherit;
    font-size: 1.4rem;
    cursor: pointer;
    border: 1px solid rgba(196,118,159,.3);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(38,63,66,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.c2rb-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.c2rb-back-to-top:hover,
.c2rb-back-to-top:focus-visible { color: #fff; background: var(--c2rb-footer-pink); }

@media (max-width: 1000px) {
    .c2rb-footer__inner { width: min(90%, 860px); padding-top: 52px; }
    .c2rb-footer-menu { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .c2rb-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .c2rb-footer__inner { width: calc(100% - 40px); padding: 42px 0 24px; }
    .c2rb-footer-menu { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
    .c2rb-footer-menu__title { margin-bottom: 18px; }
    .c2rb-footer-logos { flex-direction: column; gap: 28px; min-height: 0; padding: 36px 0; }
    .c2rb-footer-logo { width: 100%; }
    .c2rb-footer-bottom__copyright,
    .c2rb-footer-legal { align-items: flex-start; flex-direction: column; gap: 8px; }
    .c2rb-footer-bottom__copyright span + span::before,
    .c2rb-footer-legal a + a::before { display: none; }
    .c2rb-back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .c2rb-back-to-top,
    .c2rb-footer-socials a { transition: none; }
}

.c2rb-footer-details{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid rgba(255,255,255,.18)}.c2rb-footer-contact-details p{margin:0 0 6px}.c2rb-footer-contact-details a{color:inherit}.c2rb-footer-socials{display:flex;flex-wrap:wrap;gap:10px}.c2rb-footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid currentColor;border-radius:50%;color:inherit}.c2rb-footer-socials svg{width:18px;height:18px;fill:currentColor}@media(max-width:700px){.c2rb-footer-details{flex-direction:column}}
