/* Blueway Moving Co. — placeholder demo
   Design read: targeted, trust-first local moving service redesign
   Dials: variance 5 / motion 3 / density 5 */

:root {
  --bg: #f3f6f8;
  --bg-elevated: #ffffff;
  --ink: #142433;
  --ink-muted: #516274;
  --line: #d4dde5;
  --navy: #1a3550;
  --navy-deep: #102538;
  --teal: #2f6f7a;
  --teal-soft: #e5f0f2;
  --focus: #2f6f7a;
  --danger: #9b2c2c;
  --success: #1f6b4a;
  --shadow: 0 12px 30px rgba(20, 36, 51, 0.07);
  --radius: 10px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shell: min(1140px, calc(100% - 2rem));
  --header-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(3.5rem, 7vw, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
  border: 0;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  max-height: 80px;
  background: rgba(243, 246, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(20, 36, 51, 0.05);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--navy) 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 13.5rem;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-0.4rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.7rem 0.35rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}

.nav-list a:hover {
  color: var(--teal);
}

.btn-nav {
  width: 100%;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(26, 53, 80, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--navy-deep);
  border-color: var(--navy);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Hero: compact service proposition with supporting real-world media */
.hero {
  padding: 2.5rem 0 2.25rem;
  background: #eef3f6;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  max-width: 39rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--navy-deep);
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.65rem;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #d9e2e8;
  box-shadow: 0 20px 45px rgba(20, 36, 51, 0.12);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-media figcaption {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.hero-facts {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.facts-grid div {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.facts-grid div:nth-child(odd) {
  padding-right: 1rem;
}

.facts-grid div:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.facts-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.facts-grid dt {
  margin: 0 0 0.2rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 650;
}

.facts-grid dd {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 650;
}

/* Shared section head: left-aligned, no eyebrows */
.section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 38rem;
  margin: 0 0 2rem;
  text-align: left;
}

.section-head h2,
.process-rail h3,
.service-list h3,
.why-list h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3.2vw, 2.05rem);
  font-weight: 650;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  max-width: fit-content;
}

/* Services: 2-col divided list (not equal cards) */
.section-services {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3,
.why-list h3,
.process-rail h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.service-list p,
.why-list p,
.process-rail p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Process: numbered rail timeline */
.section-process {
  background: var(--bg);
}

.process-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-rail li {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
}

.process-rail li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Why: copy + photo split */
.section-why {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.why-layout {
  display: grid;
  gap: 2rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.why-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.why-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.why-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d9e2e8;
  min-height: 240px;
}

.why-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

/* Area: text + map */
.area-grid {
  display: grid;
  gap: 2rem;
}

.area-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.area-cities li {
  color: var(--ink);
  font-weight: 550;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.area-address {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.area-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dde5eb;
  min-height: 280px;
}

.area-map iframe {
  display: block;
  width: 100%;
  height: 300px;
}

/* Contact: wide horizontal callback bar */
.section-contact {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-head--contact {
  max-width: none;
  margin-bottom: 1.25rem;
}

.contact-form {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.site-form {
  display: grid;
  gap: 0.85rem;
}

.site-form--horizontal {
  align-items: end;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.req {
  color: var(--teal);
  font-weight: 700;
}

.optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a8b99;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 111, 122, 0.18);
  background: #fff;
}

.form-actions {
  display: flex;
  align-items: end;
}

.form-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  grid-column: 1 / -1;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 550;
}

.form-status.is-success {
  color: var(--success);
  background: #eaf6ef;
}

.form-status.is-error {
  color: var(--danger);
  background: #fff0ee;
}

.form-status.is-pending {
  color: var(--navy);
  background: #eef2f5;
}

.form-status[hidden] {
  display: none;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.78rem;
  line-height: 1.25;
}

.field-error:empty {
  display: none;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.site-form--horizontal .form-legal-note {
  grid-column: 1 / -1;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 5.5rem;
}

.footer-inner {
  display: grid;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  color: #fff;
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 0.55rem;
}

.site-footer a {
  color: #c5dde2;
}

.site-footer a:hover {
  color: #fff;
}

.footer-note {
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  min-height: 3.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(47, 111, 122, 0.35);
}

.mobile-call:hover {
  color: #fff;
  background: #28636d;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .site-nav {
    transition: none;
  }
}

@media (min-width: 640px) {
  .brand-name {
    max-width: none;
    white-space: normal;
    font-size: 1rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .service-list li:nth-child(odd) {
    padding-right: 0.75rem;
  }

  .service-list li:nth-child(even) {
    padding-left: 0.75rem;
  }

  .contact-form {
    padding: 1.1rem 1.25rem;
  }

  .site-form--horizontal {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .site-form--horizontal .form-actions {
    grid-column: 1 / -1;
  }

  .area-map iframe {
    height: 340px;
  }

  .why-media img {
    min-height: 320px;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }

  .nav-list a {
    padding: 0.4rem 0.65rem;
    font-size: 0.98rem;
  }

  .btn-nav {
    width: auto;
  }

  .hero {
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(3.5rem, 5vw, 4rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }

  .hero-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .hero-media {
    transform: translateY(0.75rem);
  }

  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts-grid div,
  .facts-grid div:nth-child(odd),
  .facts-grid div:nth-child(even) {
    padding: 1.35rem 1.5rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .facts-grid div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .facts-grid div:last-child {
    padding-right: 0;
  }

  .process-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .process-rail li {
    padding-left: 0;
    padding-top: 3.1rem;
  }

  .process-rail li::before {
    top: 0;
  }

  .why-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 2.75rem;
  }

  .why-media img {
    min-height: 100%;
    height: 100%;
  }

  .area-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 2.5rem;
  }

  .site-form--horizontal {
    grid-template-columns: minmax(9rem, 0.9fr) minmax(9rem, 0.9fr) minmax(12rem, 1.4fr) auto;
    gap: 0.85rem 0.9rem;
  }

  .site-form--horizontal .field--notes,
  .site-form--horizontal .form-actions {
    grid-column: auto;
  }

  .form-actions .btn {
    width: auto;
    height: 46px;
    padding-inline: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "brand contact"
      "note note";
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-contact {
    grid-area: contact;
    text-align: right;
  }

  .footer-note {
    grid-area: note;
  }

  .mobile-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 3rem;
  }
}

@media (min-width: 1100px) {
  :root {
    --shell: min(1180px, calc(100% - 3rem));
  }
}

/* Shared demo, form-privacy, and legal-footer styles */
.demo-notice {
  position: relative;
  z-index: 1000;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid #d8b84f;
  color: #403612;
  background: #fff3c4;
  font: 700 0.82rem/1.4 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.demo-notice a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.form-legal-note {
  margin: 0.85rem 0 0;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.78;
}

.form-legal-note a {
  color: inherit;
  font-weight: 750;
  text-underline-offset: 0.16em;
}

.legal-footer-bar {
  display: flex;
  width: min(calc(100% - 2rem), 1180px);
  margin-inline: auto;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid currentColor;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font: 600 0.78rem/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0.78;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.legal-footer-bar a {
  color: inherit;
  text-underline-offset: 0.16em;
}

@media (max-width: 680px) {
  .legal-footer-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 5rem;
  }
}
