/* Manchester Movers public marketing site — small utilities on top of Tailwind CDN */

:root {
  --brand-navy: #3d45aa;
  --brand-navy-dark: #2a3180;
  --brand-red: #da3d20;
  --brand-orange: #f8843f;
  --brand-cream: #fff19b;
  --brand-ink: #0f172a;
  --focus-ring: 0 0 0 3px rgba(61, 69, 170, 0.35);
}

[x-cloak] {
  display: none !important;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.75rem;
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Keyboard focus — prefer :focus-visible so mouse clicks stay clean */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Wave separator under hero */
.wave-bottom {
  line-height: 0;
}
.wave-bottom svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero tab buttons (role=tab) */
.hero-tabs [role="tab"][aria-selected="true"] {
  background: #fff;
  color: var(--brand-navy);
}
.hero-tabs [role="tab"][aria-selected="false"] {
  background: rgba(42, 49, 128, 0.55);
  color: rgba(255, 255, 255, 0.85);
}
.hero-tabs [role="tab"][aria-selected="false"]:hover {
  color: #fff;
}

/* Form control baseline used by quote wizard + contact */
.form-control {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  border-color: var(--brand-navy);
  box-shadow: var(--focus-ring);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.375rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: background-color 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--brand-orange);
}

/* Smooth scrolling only when preferred */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print: drop sticky chrome noise */
@media print {
  .skip-link,
  nav,
  .mobile-sticky-cta,
  .top-bar {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
}
