/* Viewport and accessibility adjustments; no hardware or device scanning. */
html {
  min-width: 320px;
  scroll-padding-top: 7rem;
}

body,
main,
section,
article,
.container,
.nav,
.footer-row,
.card,
.quote-form {
  min-width: 0;
}

body {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

iframe,
video {
  max-width: 100%;
}

.language-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  color: var(--text);
  font-size: 0.875rem;
}

.language-voice-tools {
  flex: 0 1 15rem;
  font-size: 0.75rem;
}

.language-tools label {
  font-weight: 700;
}

.language-tools select,
.language-tools button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: var(--card);
  color: var(--text);
}

.language-tools button {
  cursor: pointer;
}

.language-tools button:focus-visible,
.language-tools select:focus-visible,
.sound-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.sound-toggle {
  white-space: nowrap;
  min-height: 44px;
  padding-inline: 0.9rem;
}

.nav nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: clamp(0.45rem, 1vw, 1rem);
}

.nav nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-tools {
  flex: 1 1 100%;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.page-tools h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.page-tools .language-tools {
  align-items: center;
}

.page-tools .language-tools small {
  flex-basis: 100%;
}

@media (max-width: 900px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.75rem;
    min-height: 0;
    padding: 0.6rem 0;
  }

  .nav nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    gap: 1.15rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.5rem 0.15rem 0.65rem;
    scrollbar-width: thin;
  }

  .nav nav a {
    font-size: 0.86rem;
  }

  .nav > .btn {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
}

@media (max-width: 1100px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0;
  }

  .nav nav {
    order: 5;
    width: 100%;
    overflow-x: auto;
    padding: 0.4rem 0;
    scrollbar-width: none;
  }

  .nav nav::-webkit-scrollbar {
    display: none;
  }

  .language-voice-tools {
    order: 2;
    flex: 1 1 14rem;
  }

  .nav > .sound-toggle {
    order: 3;
    margin-left: 0;
  }

  .nav > a.btn {
    order: 4;
    margin-left: auto;
  }
}

.language-tools small,
.language-status {
  flex-basis: 100%;
  line-height: 1.4;
}

.language-tools small {
  color: var(--muted);
}

@media (max-width: 600px) {
  .language-tools {
    align-items: stretch;
  }

  .language-tools label,
  .language-tools select,
  .language-tools button {
    flex: 1 1 100%;
  }

  .language-voice-tools {
    flex: 1 1 100%;
  }

  .language-tools select,
  .language-tools button {
    min-width: 0;
  }

  .page-tools {
    padding: 0.85rem;
  }

  .page-tools .sound-toggle {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 1rem);
  }

  .nav > .btn {
    padding-inline: 0.7rem;
    font-size: 0.85rem;
  }
}

.van-button-motion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button-van {
  position: absolute;
  z-index: 2;
  left: -2.2rem;
  bottom: 1px;
  width: 1.85rem;
  height: 1rem;
  background: url("/static/button-van.svg") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}

.van-button-motion:hover .button-van,
.van-button-motion:focus-visible .button-van {
  left: calc(100% - 1.75rem);
  opacity: 0.95;
  transition: left 0.32s ease, opacity 0.2s ease;
}

.van-button-driving .button-van {
  animation: van-button-drive 0.62s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes van-button-drive {
  0% { left: -2.2rem; opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { left: calc(100% - 1.75rem); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .van-button-motion:hover .button-van,
  .van-button-motion:focus-visible .button-van {
    left: -2.2rem;
    opacity: 0;
    transition: none;
  }

  .van-button-driving .button-van {
    animation: none;
    left: calc(100% - 1.75rem);
    opacity: 0.95;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #34433e;
    --border: rgba(10, 30, 24, 0.35);
  }
}

@media (forced-colors: active) {
  .btn,
  .language-tools select,
  .language-tools button {
    border: 1px solid ButtonText;
  }
}

/* Liquid Glass-inspired visual system: glass is reserved for navigation and controls. */
:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #101b2d;
  --muted: #56647a;
  --primary: #d32443;
  --primary-dark: #a91632;
  --accent: #214b8f;
  --border: rgba(21, 42, 73, 0.12);
  --glass: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 64px rgba(24, 43, 73, 0.09);
  --shadow-soft: 0 12px 32px rgba(24, 43, 73, 0.07);
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

body {
  overflow-x: clip;
}

main {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #f4f6fa 0%, #f8faff 52%, #f2f5fa 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.7rem 0 0.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav {
  position: relative;
  isolation: isolate;
  min-height: 70px;
  padding: 0.55rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(250, 252, 255, 0.68);
  box-shadow: 0 12px 34px rgba(19, 39, 70, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(185%) blur(28px);
  backdrop-filter: saturate(185%) blur(28px);
}

.nav::before {
  position: absolute;
  inset: 0 1px auto;
  height: 54%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.nav > * {
  position: relative;
  z-index: 1;
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 7px 18px rgba(18, 42, 78, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav nav {
  gap: clamp(0.1rem, 0.6vw, 0.65rem);
}

.nav nav a {
  min-height: 42px;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: #34445e;
  font-size: 0.84rem;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav nav a:hover,
.nav nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(22, 43, 74, 0.09), inset 0 1px 0 #fff;
}

.nav > .btn-primary {
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  box-shadow: 0 7px 18px rgba(169, 22, 50, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn {
  min-height: 50px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #e23852 0%, #c81d3d 56%, #a91632 100%);
  box-shadow: 0 10px 24px rgba(169, 22, 50, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 14px 30px rgba(169, 22, 50, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 5px 16px rgba(24, 43, 73, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(175%) blur(16px);
  backdrop-filter: saturate(175%) blur(16px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  box-shadow: 0 9px 22px rgba(24, 43, 73, 0.12), inset 0 1px 0 #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(850px, calc(100svh - 5.5rem));
  align-items: center;
  margin: 0 0.85rem 1.15rem;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 38px;
  background: #0a172a;
  box-shadow: 0 24px 60px rgba(13, 28, 50, 0.2);
}

.site-video-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a172a;
  pointer-events: none;
}

.site-background-video,
.site-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-background-video {
  object-fit: cover;
  object-position: center 58%;
}

.site-video-overlay {
  background:
    radial-gradient(ellipse at 76% 40%, rgba(35, 75, 143, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(7, 17, 32, 0.94) 0%, rgba(8, 20, 38, 0.82) 46%, rgba(8, 20, 38, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 17, 32, 0.58), transparent 40%);
}

.hero::before {
  top: 10%;
  right: 8%;
  width: min(38vw, 480px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.035), 0 0 0 68px rgba(255, 255, 255, 0.025);
}

.hero::after {
  position: absolute;
  right: 5%;
  bottom: -18rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 36, 67, 0.18), transparent 70%);
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero > .container {
  z-index: 2;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 740px;
  animation: hero-arrive 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .eyebrow {
  color: #f3c9d1;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.15rem, 6vw, 6.1rem);
  letter-spacing: -0.068em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy .lead {
  max-width: 600px;
  color: rgba(244, 247, 252, 0.82);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
}

.hero .cta-row {
  gap: 0.8rem;
  margin: 1.8rem 0 1.35rem;
}

.hero .btn-primary {
  box-shadow: 0 12px 30px rgba(187, 25, 54, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(235, 242, 252, 0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero .btn-secondary:hover {
  background: rgba(235, 242, 252, 0.28);
  color: #fff;
}

.hero .mini-stats li {
  min-width: 148px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(9, 21, 39, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-card {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 24px 70px rgba(1, 10, 24, 0.28), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: hero-arrive 780ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-card::after {
  background: radial-gradient(circle, rgba(57, 103, 170, 0.14), transparent 70%);
}

.hero-card h3 {
  max-width: 340px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.045em;
}

.hero-card ul,
.contact-list {
  padding-left: 1.15rem;
}

.hero-card li::marker {
  color: var(--primary);
}

.card-tag {
  margin-bottom: 1rem;
  background: #e8eef8;
  color: var(--accent);
}

.section {
  width: min(1440px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: clamp(3.5rem, 6vw, 5.75rem) clamp(1.3rem, 3vw, 2.5rem);
  border: 1px solid rgba(20, 44, 78, 0.055);
  border-radius: 34px;
  background: #fff;
}

.section.alt {
  border-color: rgba(33, 75, 143, 0.07);
  background: linear-gradient(140deg, #f0f4fb, #eaf0f8);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow,
.section .eyebrow {
  color: var(--primary);
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section .lead {
  color: var(--muted);
}

.branch-card,
.card,
.process-card,
.feature-box,
.quote-form,
blockquote,
.login-card,
.faq-item,
.faq-contact,
.video-carousel {
  border-color: rgba(22, 43, 73, 0.09);
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 43, 73, 0.065), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.branch-card,
.card,
.process-card,
.feature-box,
blockquote,
.faq-item,
.faq-contact,
.video-carousel,
.quote-form,
.login-card {
  border-radius: 24px;
}

.branch-card:hover,
.card:hover,
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(24, 43, 73, 0.12);
}

.card.service-card {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #14243c;
  background-image:
    linear-gradient(180deg, rgba(12, 24, 41, 0.02) 12%, rgba(12, 24, 41, 0.78) 50%, #0c1829 100%),
    var(--service-photo);
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 32px rgba(24, 43, 73, 0.12);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 0.35rem;
  color: inherit;
}

.service-card p {
  margin: 0;
  color: #f0f4fa;
}

.service-card--removals {
  --service-photo: url("images/services/removals.jpg");
}

.service-card--commercial {
  --service-photo: url("images/services/commercial.jpg");
}

.service-card--furniture {
  --service-photo: url("images/services/furniture.jpg");
}

.service-card--courier {
  --service-photo: url("images/services/courier.jpg");
}

.service-card--man-van {
  --service-photo: url("images/services/man-van.jpg");
}

.service-card--packing {
  --service-photo: url("images/services/packing.jpg");
}

.branch-logo {
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 16px rgba(16, 35, 65, 0.14);
}

.branch-st-helens .branch-logo {
  background: linear-gradient(145deg, #d32443, #a91632);
}

.branch-culcheth .branch-logo {
  background: linear-gradient(145deg, #2b64aa, #173f78);
}

.branch-northwich .branch-logo {
  background: linear-gradient(145deg, #7c9ac6, #4b6591);
}

.section.video-section {
  background: linear-gradient(145deg, #edf2fa, #f8faff);
}

.video-carousel {
  max-width: 1020px;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 30px;
}

.video-frame {
  border-radius: 24px;
  background: #0a172a;
  box-shadow: 0 20px 42px rgba(13, 28, 50, 0.2);
}

.video-caption a,
.branch-link a {
  color: var(--accent);
}

.process-card span {
  background: #edf2fa;
  color: var(--accent);
}

.trust-pill {
  border-color: rgba(22, 43, 73, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 43, 73, 0.055);
}

.cta-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 6%, rgba(44, 94, 164, 0.45), transparent 32rem),
    linear-gradient(135deg, #0a172a, #102846 68%, #142e54);
  color: #f7f9fd;
}

.cta-section h2,
.cta-section p,
.cta-section .contact-list,
.cta-section .contact-list a {
  color: #f7f9fd;
}

.cta-section .contact-list a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  min-height: 48px;
  border-color: rgba(22, 43, 73, 0.14);
  border-radius: 14px;
  background: #f8faff;
}

.quote-form textarea {
  min-height: 120px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 75, 143, 0.13);
}

.page-tools {
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 43, 73, 0.07);
}

.messenger-float {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(145deg, #3478d4, #174a92);
  box-shadow: 0 12px 28px rgba(19, 56, 109, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.footer {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-row {
  color: var(--text);
}

.footer-row a {
  color: var(--accent);
}

.faq-page {
  background: linear-gradient(145deg, #f5f7fb, #eaf0f8);
}

.faq-item {
  margin-block: 0.9rem;
}

.faq-item[open] {
  border-color: rgba(33, 75, 143, 0.2);
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .topbar {
    padding-top: 0.45rem;
  }

  .nav {
    padding: 0.65rem 0.8rem;
    border-radius: 24px;
  }

  .nav nav {
    grid-row: 2;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(25, 48, 80, 0.08);
  }

  .hero {
    min-height: 760px;
    min-height: min(820px, calc(100svh - 5rem));
    margin-inline: 0.5rem;
    padding: 4rem 0;
    border-radius: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 2rem;
  }

  .section {
    width: calc(100% - 1rem);
    margin-block: 0.5rem;
    padding: 3.5rem 1.25rem;
    border-radius: 28px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding: 4.5rem 0 3.25rem;
  }

  .site-video-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 32, 0.72), rgba(7, 17, 32, 0.9)),
      linear-gradient(90deg, rgba(7, 17, 32, 0.4), transparent);
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 520px;
    padding: 1.45rem;
    border-radius: 24px;
  }

  .hero .cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .cta-row .btn {
    width: 100%;
  }

  .mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-stats li {
    min-width: 0;
  }

  .section {
    padding: 3rem 1rem;
    border-radius: 24px;
  }

  .branch-card,
  .card,
  .process-card,
  blockquote,
  .trust-pill {
    border-radius: 20px;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav {
    background: rgba(250, 252, 255, 0.96);
  }

  .btn-secondary {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-card {
    animation: none;
  }
}
