/*
Theme Name: USV Dynamic Corporate v15.1 — Scroll to Top
Theme URI: https://www.us-bizhub.com
Author: Urban Solutions Valley
Description: Dynamic corporate WordPress theme for Urban Solutions Valley, with enforceable prior-consent controls, bilingual privacy and cookie notices, data-subject request channels, hardened security headers, optimized media, 3D interaction, persistent enquiries, and customer confirmation emails.
Version: 15.1.0
Text Domain: usv-dynamic-corporate
*/

html, body {
  margin: 0;
  padding: 0;
}


/* Accessible scroll-to-top control */
.usv-scroll-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 9997;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(15, 30, 54, 0.12);
  border-radius: 17px;
  background: linear-gradient(135deg, #4d89d8, #8a66c8);
  color: #fff;
  box-shadow: 0 16px 34px rgba(49, 92, 170, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.92);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}

.usv-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.usv-scroll-top:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 42px rgba(49, 92, 170, 0.36);
}

.usv-scroll-top:focus-visible {
  outline: 3px solid rgba(242, 197, 51, .95);
  outline-offset: 4px;
}

.usv-scroll-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .usv-scroll-top {
    right: 18px;
    bottom: 88px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .usv-scroll-top { transition: none; }
}
