:root {
  --ink: #101d29;
  --ink-2: #1b2d3b;
  --blue: #2864f0;
  --blue-dark: #1648c5;
  --sky: #eaf1ff;
  --cream: #f5f3ed;
  --white: #fff;
  --muted: #64717c;
  --line: #dce2e6;
  --green: #44d095;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(16, 29, 41, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}
body::selection {
  background: var(--blue);
  color: white;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}
.narrow {
  width: min(840px, 92%);
}
.site-header {
  height: 78px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 226, 230, 0.8);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font:
    800 1.45rem 'Manrope',
    sans-serif;
  letter-spacing: -0.04em;
}
.logo span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px 11px 11px 4px;
  background: var(--blue);
  color: white;
  font-size: 1rem;
}
.nav nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav nav a:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  padding: 15px 23px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(40, 100, 240, 0.22);
  transition:
    0.2s transform,
    0.2s background;
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.button-small {
  padding: 11px 18px;
  font-size: 0.9rem;
  margin-left: 8px;
}
.text-link {
  font-weight: 700;
  text-decoration: none;
}
.text-link span {
  color: var(--blue);
  margin-left: 4px;
}
.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(246, 249, 255, 0.98) 0%,
      rgba(246, 249, 255, 0.93) 43%,
      rgba(246, 249, 255, 0.12) 68%
    ),
    url('hero-moving-team.png') center/cover no-repeat;
}
.hero-content {
  display: flex;
}
.hero-copy {
  max-width: 650px;
  padding: 96px 0 82px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}
h1,
h2,
h3 {
  font-family: 'Manrope', sans-serif;
  margin-top: 0;
}
h1 {
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
  margin-bottom: 27px;
}
h1 em {
  font-style: normal;
  color: var(--blue);
}
h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
h3 {
  letter-spacing: -0.025em;
}
.hero-text {
  font-size: 1.22rem;
  color: #4f5f6c;
  max-width: 570px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  color: #4f5f6c;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-proof span::first-letter {
  color: var(--blue);
}
.trust-strip {
  background: var(--ink);
  color: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-grid div {
  padding: 29px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}
.trust-grid div:first-child {
  padding-left: 0;
}
.trust-grid div:last-child {
  border: 0;
}
.trust-grid strong,
.trust-grid span {
  display: block;
}
.trust-grid strong {
  font-family: 'Manrope';
  font-size: 1rem;
}
.trust-grid span {
  color: #aebac2;
  font-size: 0.85rem;
}
.section {
  padding: 112px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}
.section-heading h2 {
  max-width: 680px;
  margin: 0;
}
.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  margin-bottom: 8px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 275px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  position: relative;
  overflow: hidden;
  transition:
    0.2s transform,
    0.2s box-shadow;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card.featured {
  grid-row: span 2;
  min-height: 568px;
  padding-top: 275px;
  background:
    linear-gradient(0deg, rgba(16, 29, 41, 0.98), rgba(16, 29, 41, 0.18)),
    url('hero-moving-team.png') center/cover;
  color: white;
}
.service-number {
  position: absolute;
  right: 27px;
  top: 24px;
  color: var(--blue);
  font: 800 0.8rem 'Manrope';
}
.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  max-width: 440px;
}
.featured p {
  color: #cbd4da;
}
.service-card ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #dfe6eb;
  font-size: 0.84rem;
}
.service-card li::before {
  content: '✓ ';
  color: var(--green);
}
.dark-section {
  background: var(--ink);
  color: white;
}
.light-eyebrow {
  color: #7ca3ff;
}
.process-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}
.process-intro {
  color: #aebac2;
  max-width: 430px;
}
.steps {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.steps article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 800;
}
.steps h3 {
  font-size: 1.25rem;
  margin: 0 0 4px;
}
.steps p {
  color: #aebac2;
  margin: 0;
}
.standards-section {
  background: var(--cream);
}
.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.standards-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.disclosure {
  margin-top: 32px;
  padding: 23px;
  border-left: 4px solid var(--blue);
  background: white;
}
.disclosure p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.standards-list {
  display: grid;
  gap: 14px;
}
.standards-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  background: white;
  border-radius: 16px;
  padding: 21px;
}
.standards-list article > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
}
.standards-list h3 {
  font-size: 1rem;
  margin: 1px 0;
}
.standards-list p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}
.quote-section {
  background: var(--blue);
  color: white;
}
.quote-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.quote-copy {
  position: sticky;
  top: 120px;
}
.quote-copy > p:not(.eyebrow) {
  color: #dce7ff;
  font-size: 1.05rem;
}
.quote-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 38px;
}
.quote-contact span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bcd0ff;
}
.quote-contact a {
  font-weight: 700;
  text-decoration: none;
}
.quote-form {
  background: white;
  color: var(--ink);
  border-radius: 26px;
  padding: 38px;
  box-shadow: 0 30px 90px rgba(9, 35, 95, 0.28);
}
.form-progress {
  display: flex;
  gap: 7px;
  margin-bottom: 32px;
}
.form-progress span {
  height: 5px;
  flex: 1;
  border-radius: 5px;
  background: #e6eaf0;
}
.form-progress span.active {
  background: var(--blue);
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 5px;
}
.form-step h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.quote-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 17px;
}
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid #ccd5dc;
  background: #fafbfc;
  border-radius: 9px;
  padding: 12px 13px;
  margin-top: 6px;
  color: var(--ink);
  outline: none;
}
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 100, 240, 0.12);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 3px 0 20px;
}
legend {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
}
.check-grid input,
.consent input {
  width: auto;
  margin: 0;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.back-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  font-weight: 500 !important;
}
.privacy-note {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}
.form-success {
  text-align: center;
  padding: 52px 20px;
}
.form-success > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dff8eb;
  color: #168755;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 1.8rem;
}
.form-success p {
  color: var(--muted);
}
.reference {
  font-size: 0.82rem;
}
.faq-section {
  background: #fafbfc;
}
.faq-section h2 {
  margin-bottom: 38px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font: 700 1.05rem 'Manrope';
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  color: var(--blue);
  font-size: 1.35rem;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  color: var(--muted);
  max-width: 700px;
}
.terms-section {
  padding: 85px 0;
}
.terms-section h2 {
  font-size: 2.2rem;
}
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.terms-grid p {
  padding: 20px;
  background: var(--cream);
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.88rem;
}
.terms-grid strong {
  color: var(--ink);
}
.legal-note {
  font-size: 0.76rem;
  color: var(--muted);
}
.cta-section {
  background: var(--ink);
  color: white;
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-inner h2 {
  margin: 0;
}
.button-white {
  background: white;
  color: var(--ink);
  box-shadow: none;
}
.button-white:hover {
  background: var(--sky);
  color: var(--blue);
}
footer {
  background: #0a131b;
  color: white;
  padding: 55px 0 25px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding-bottom: 42px;
}
.footer-logo span {
  background: white;
  color: var(--blue);
}
.footer-top p {
  color: #8998a3;
  margin: 8px 0;
}
.footer-top > div {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.footer-top a {
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: #8998a3;
  font-size: 0.73rem;
}
.footer-bottom a {
  color: #8998a3;
}
@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .hero {
    min-height: 650px;
    background:
      linear-gradient(
        90deg,
        rgba(246, 249, 255, 0.98),
        rgba(246, 249, 255, 0.78)
      ),
      url('hero-moving-team.png') 65% center/cover;
  }
  .process-layout,
  .standards-grid,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .quote-copy {
    position: static;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 22px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid div,
  .trust-grid div:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-top > div {
    text-align: left;
  }
}
@media (max-width: 650px) {
  .section {
    padding: 78px 0;
  }
  .button-small {
    display: none;
  }
  .hero {
    min-height: 620px;
  }
  .hero-copy {
    padding: 75px 0;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  h1 {
    font-size: 4.2rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card.featured {
    grid-row: auto;
    min-height: 470px;
    padding-top: 245px;
  }
  .field-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }
  .quote-form {
    padding: 25px 20px;
  }
  .quote-layout {
    gap: 35px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .hero-proof {
    gap: 10px 18px;
  }
}
.field-help {
  display: block;
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  color: #6b7280;
}
.hidden-field {
  display: none !important;
}
/* Address autocomplete — custom input + dropdown (Place Autocomplete Data API).
   The .address-input reuses the existing .quote-form input styling automatically. */
.address-field {
  position: relative;
}
.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 18px 50px rgba(16, 29, 41, 0.16);
  max-height: 280px;
  overflow-y: auto;
}
.address-suggestion {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.address-suggestion:hover,
.address-suggestion.active {
  background: var(--sky);
}
.addr-main {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.addr-secondary {
  font-size: 0.78rem;
  color: var(--muted);
}
.address-empty {
  padding: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Homepage quote CTA (replaces the embedded form) ---- */
.quote-cta-section {
  background: var(--blue);
  color: white;
  text-align: center;
}
.quote-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.quote-cta-inner h2 {
  color: white;
}
.quote-cta-inner > p:not(.eyebrow) {
  color: #dce7ff;
  font-size: 1.05rem;
}
.quote-cta-inner .eyebrow {
  justify-content: center;
}
.quote-cta-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0 8px;
}
.quote-cta-actions .text-link {
  color: white;
}
.quote-cta-actions .text-link span {
  color: #bcd0ff;
}
.quote-cta-section .quote-contact {
  align-items: center;
  margin-top: 26px;
}

/* ---- /request-quote standalone wizard page ---- */
.quote-page {
  background: var(--cream);
  min-height: calc(100vh - 200px);
  padding: 60px 0 90px;
}
.quote-page-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.quote-page .quote-copy {
  position: sticky;
  top: 110px;
}
.quote-page .quote-copy h1 {
  font-size: 3.1rem;
  line-height: 1.05;
  margin: 14px 0 18px;
}
.quote-page .quote-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.quote-page .quote-contact span {
  color: var(--muted);
}
.quote-page .quote-contact a {
  color: var(--blue);
}

/* ---- Numbered wizard stepper ---- */
.wizard-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
  counter-reset: none;
}
.wizard-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.wizard-steps li .dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6eaf0;
  color: var(--muted);
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}
/* connector line between dots */
.wizard-steps li::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: #e6eaf0;
  z-index: 0;
}
.wizard-steps li:first-child::before {
  display: none;
}
.wizard-steps li .dot {
  position: relative;
  z-index: 1;
}
.wizard-steps li.active {
  color: var(--ink);
}
.wizard-steps li.active .dot {
  background: var(--blue);
  color: white;
}
.wizard-steps li.done .dot {
  background: var(--green);
  color: white;
}
.wizard-steps li.done .dot::after {
  content: "✓";
}
.wizard-steps li.done .dot {
  font-size: 0; /* hide the number, show the tick */
}
.wizard-steps li.done .dot::after {
  font-size: 1rem;
}
.wizard-steps li.done::before,
.wizard-steps li.active:not(:first-child)::before {
  background: var(--green);
}

/* ---- Celebration success card ---- */
.form-success {
  animation: successPop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}
.form-success > span {
  animation: checkPop 0.5s 0.15s cubic-bezier(0.2, 0.8, 0.3, 1.4) both;
}
.form-success h3 {
  margin-bottom: 10px;
}
.emergency-note {
  margin-top: 14px;
  font-weight: 600;
}
.emergency-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.form-success .reference {
  margin-top: 18px;
}
@keyframes successPop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes checkPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---- Confetti overlay ---- */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

@media (max-width: 900px) {
  .quote-page-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .quote-page .quote-copy {
    position: static;
  }
  .quote-cta-actions {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .quote-page .quote-copy h1 {
    font-size: 2.5rem;
  }
  .wizard-steps li {
    font-size: 0;
    gap: 0;
  }
  .wizard-steps li .dot {
    font-size: 0.95rem;
  }
  .wizard-steps li.done .dot {
    font-size: 0;
  }
}
