/* Valunxt UK – site footer and back-to-top button, matched to valunxt.com
   (its style.css and responsive.css footer rules, carried over as they are).
   Loaded after the theme sheets on every page. The footer keeps the UK
   content: company links, services, email, registered office, regional
   websites, disclaimer and the UK legal pages. */

.site-footer { --ftr-line: rgba(255, 255, 255, .18); --ftr-soft: rgba(255, 255, 255, .64); --ftr-text: rgba(255, 255, 255, .9); background: var(--gradient); color: var(--white); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 44px var(--pad) 28px; }
.site-footer__nav a, .site-footer__services a, .site-footer__contact a, .site-footer__legal a { color: var(--ftr-text); background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px; transition: color .3s var(--ease), background-size .4s var(--ease); }
.site-footer__nav a:hover, .site-footer__services a:hover, .site-footer__contact a:hover, .site-footer__legal a:hover, .site-footer__nav a:focus-visible, .site-footer__services a:focus-visible, .site-footer__contact a:focus-visible, .site-footer__legal a:focus-visible { color: var(--white); background-size: 100% 1px; }
.site-footer__label { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--ftr-soft); }
.site-footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--ftr-line); }
.site-footer .brand img { width: clamp(180px, 15vw, 260px); height: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.site-footer__nav a { font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.site-footer__partner { display: flex; align-items: stretch; gap: 18px; color: var(--white); }
.site-footer__partner-label { display: flex; flex-direction: column; justify-content: center; width: min-content; padding-right: calc(18px - .14em); border-right: 1px solid var(--ftr-line); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; text-align: right; text-transform: uppercase; color: var(--ftr-soft); }
.site-footer__partner-logo { flex: none; width: 100px; height: auto; transition: transform .4s var(--ease-out); }
.site-footer__partner:hover .site-footer__partner-logo, .site-footer__partner:focus-visible .site-footer__partner-logo { transform: translateY(-2px); }
.site-footer__mid { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 22px 0; border-bottom: 1px solid var(--ftr-line); }
.site-footer__services { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.site-footer__services a { font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: -.005em; color: var(--white); }
.site-footer__social { display: flex; flex: none; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-footer__social a { display: grid; place-items: center; width: 30px; height: 30px; color: var(--white); opacity: .88; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { opacity: 1; transform: translateY(-2px); }
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; padding: 24px 0; border-bottom: 1px solid var(--ftr-line); }
.site-footer__reach { display: flex; flex-wrap: wrap; gap: 16px 56px; margin: 0; }
.site-footer__reach dd { margin: 6px 0 0; }
.site-footer__reach a { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; color: var(--white); }
.site-footer__offices { text-align: right; }
.site-footer__cities { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 0; margin: 6px 0 0; padding: 0; list-style: none; }
.site-footer__cities li { display: flex; align-items: center; }
.site-footer__cities li + li::before { content: ""; width: 3px; height: 3px; margin: 0 12px; background: var(--ftr-soft); }
.site-footer__cities a { font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.site-footer__note { padding-top: 20px; }
.site-footer__note-text { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ftr-line); font-size: var(--fs-xs); line-height: 1.5; }
.site-footer__bottom p { color: var(--ftr-soft); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.site-footer__legal span { color: var(--ftr-soft); }
@media (max-width: 1700px) {
    .site-footer__bottom { padding-right: 56px; }
}
@media (max-width: 1365px) {
    .site-footer__services { gap: 10px 24px; }
    .site-footer__services a { font-size: 14px; }
}
@media (min-width: 641px) and (max-width: 1199px) {
    .site-footer__services { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; }
}
@media (max-width: 1099px) {
    .site-footer__inner { padding: 40px var(--pad) 26px; }
    .site-footer__top { grid-template-columns: auto auto; justify-content: space-between; }
    .site-footer__nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; gap: 10px 28px; }
    .site-footer__mid { flex-wrap: wrap; }
    .site-footer__contact { align-items: flex-start; }
    .site-footer__offices { text-align: left; }
    .site-footer__cities { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .site-footer__inner { padding: 36px var(--pad) 24px; }
    .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
    .site-footer__partner { justify-self: start; }
    .site-footer__nav, .site-footer__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; width: 100%; }
    .site-footer__nav a, .site-footer__services a { justify-self: start; }
    .site-footer__nav a { font-size: 16px; }
    .site-footer__mid { flex-direction: column; align-items: flex-start; gap: 22px; }
    .site-footer__social { margin-left: -5px; }
    .site-footer__contact { flex-direction: column; gap: 18px; }
    .site-footer__reach { gap: 16px 32px; }
    .site-footer__reach a { font-size: 17px; }
    .site-footer__cities { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; }
    .site-footer__cities li + li::before { content: none; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .site-footer__partner-logo, .site-footer__social a { transition: none; }
}
.vx-top { position: fixed; right: 24px; bottom: 26px; z-index: 70; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, #2952e8 0%, var(--blue) 100%); box-shadow: 0 8px 18px rgba(9, 45, 182, .26), 0 3px 8px rgba(9, 45, 182, .16); color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .25s linear, visibility .25s linear, transform .35s var(--ease-out), box-shadow .3s var(--ease); }
.vx-top.is-on { opacity: 1; visibility: visible; transform: none; }
.vx-top:hover, .vx-top:focus-visible { box-shadow: 0 14px 30px rgba(9, 45, 182, .38), 0 6px 14px rgba(9, 45, 182, .22); transform: translateY(-3px); }
.vx-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vx-top__ring circle { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: calc(289px * (1 - var(--p, 0))); }
.vx-top .icon { position: relative; width: 15px; height: 15px; transform: rotate(-90deg); transition: transform .25s var(--ease); }
.vx-top:hover .icon { transform: rotate(-90deg) translateX(2px); }
@media (max-width: 767px) {
    .vx-top { right: 14px; bottom: 18px; width: 34px; height: 34px; }
    .vx-top .icon { width: 13px; height: 13px; }
    .site-footer__legal { gap: 8px 18px; }
    .site-footer__legal span { display: none; }
}
@media (max-width: 640px) {
    .site-footer__nav, .site-footer__services, .site-footer__legal { row-gap: 0; }
    .site-footer__nav a, .site-footer__services a { padding-block: 9px; background-origin: content-box; }
    .site-footer__legal a { padding-block: 8px; background-origin: content-box; }
}

/* UK: email and registered office sit where valunxt.com has telephone and email */
.site-footer__reach dd { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; color: var(--white); }
@media (max-width: 640px) { .site-footer__reach dd { font-size: 17px; } }

/* Social icons: solid like valunxt.com (the UK theme's general .icon rule draws outlines) */
.site-footer__social .icon:not([data-i="instagram"]) { fill: currentColor; stroke: none; }
.site-footer__social .icon[data-i="instagram"] { fill: none; stroke: currentColor; }

/* 29 Nov 2026: newsletter band photograph. The band itself comes from the
   group theme (uae-parts.css); only its photograph is replaced here with a
   London one. The Contact page opens with the same Westminster view, so it
   gets a different photograph. */
.signup::after { background-image: url("../images/london/westminster-band.webp?v=1"); background-position: 62% 50%; }
.page-contact .signup::after { background-image: url("../images/london/city-buses-motion-band.webp?v=1"); background-position: 50% 50%; }
