.pa360-site-footer-root .container {
    width: min(1600px, 100% - 32px);
    margin-inline: auto;
}

.pa360-site-footer-root.footer {
    margin-top: 56px;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,0.035), transparent 55%),
        #0e0f12;
    color: rgba(255,255,255,0.88);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    position: relative;
}

/* Cabinet / sidebar pages: flush dark column into footer, no white gap */
@media (min-width: 901px) {
    body:has(.cabinet-layout) .pa360-site-footer-root.footer {
        margin-top: 0;
        border-radius: 0 28px 0 0;
    }
}
.pa360-site-footer-root.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}
.pa360-site-footer-root .footer-inner { position: relative; z-index: 1; }

.pa360-site-footer-root .footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pa360-site-footer-root .footer-cta-text h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.pa360-site-footer-root .footer-cta-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    max-width: 420px;
}
.pa360-site-footer-root .footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #cefe24;
    color: #272824;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}
.pa360-site-footer-root .footer-cta-btn:hover {
    background: #b8e820;
    transform: translateY(-2px);
}

.pa360-site-footer-root .footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
    .pa360-site-footer-root .footer-main { grid-template-columns: 1fr; gap: 36px; }
}

.pa360-site-footer-root .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.pa360-site-footer-root .footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
}
.pa360-site-footer-root .footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    max-width: 320px;
    margin-bottom: 24px;
}
.pa360-site-footer-root .footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.pa360-site-footer-root .footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.pa360-site-footer-root .footer-contact:hover { color: #fff; }
.pa360-site-footer-root .footer-contact svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    flex-shrink: 0;
}

.pa360-site-footer-root .footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .pa360-site-footer-root .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .pa360-site-footer-root .footer-nav { grid-template-columns: 1fr; }
}
.pa360-site-footer-root .footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.pa360-site-footer-root .footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s, transform 0.2s;
}
.pa360-site-footer-root .footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.pa360-site-footer-root .footer-ecosystem {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pa360-site-footer-root .footer-ecosystem-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
}
.pa360-site-footer-root .footer-eco-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pa360-site-footer-root .footer-eco-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}
.pa360-site-footer-root .footer-eco-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-2px);
}
.pa360-site-footer-root .footer-eco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.pa360-site-footer-root .footer-brand-watermark {
    padding: 24px 0 8px;
    overflow: hidden;
    font-size: clamp(3rem, 12vw, 7.5rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.07);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.pa360-site-footer-root .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 32px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.pa360-site-footer-root .footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.pa360-site-footer-root .footer-legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.pa360-site-footer-root .footer-legal a:hover { color: rgba(255,255,255,0.75); }
.pa360-site-footer-root .footer-social { display: flex; gap: 8px; }
.pa360-site-footer-root .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pa360-site-footer-root .footer-social a:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
    transform: translateY(-2px);
}
.pa360-site-footer-root .footer-social svg { width: 18px; height: 18px; }


/* —— Scroll to top —— */
.pa360-scroll-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 850;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.86);
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.28s;
}
.pa360-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.pa360-scroll-top-inner {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #15161a;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.pa360-scroll-top-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(206, 254, 36, 0.22), transparent 58%);
    opacity: 0.85;
    pointer-events: none;
}
.pa360-scroll-top:hover .pa360-scroll-top-inner {
    background: #171714;
    transform: scale(1.04);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(206, 254, 36, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.pa360-scroll-top:active .pa360-scroll-top-inner {
    transform: scale(0.96);
}
.pa360-scroll-top-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.pa360-scroll-top-ring circle {
    fill: none;
    stroke-width: 2.75;
}
.pa360-scroll-top-ring .track {
    stroke: rgba(255, 255, 255, 0.12);
}
.pa360-scroll-top-ring .progress {
    stroke: #cefe24;
    stroke-linecap: round;
    stroke-dasharray: 150.8;
    stroke-dashoffset: 150.8;
    transition: stroke-dashoffset 0.15s linear;
    filter: drop-shadow(0 0 3px rgba(206, 254, 36, 0.4));
}
.pa360-scroll-top-arrow {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: #cefe24;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.pa360-scroll-top:hover .pa360-scroll-top-arrow {
    transform: translateY(-2px);
}
.pa360-scroll-top.is-flying .pa360-scroll-top-inner {
    animation: pa360ScrollFly 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.pa360-scroll-top.is-flying .pa360-scroll-top-arrow {
    animation: pa360ScrollLaunch 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pa360ScrollFly {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
@keyframes pa360ScrollLaunch {
    0% { transform: translateY(0); opacity: 1; }
    45% { transform: translateY(-12px); opacity: 0.4; }
    46% { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 560px) {
    .pa360-scroll-top {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 16px;
        border-radius: 50%;
    }
    .pa360-scroll-top-inner { border-radius: 50%; inset: 4px; }
}

body:has(.pa360-cookie-banner.is-visible) .pa360-scroll-top {
    bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 88px));
}

.pa360-site-footer-root .footer-logo--pill { gap: 0; }
.pa360-site-footer-root .footer-logo-pill-img { display:block; height:40px; width:auto; max-width:220px; object-fit:contain; }
