/* ==========================================================================
   moving.io — Northern Utah moving lead matcher
   Shared design system. Bold & local / mountain-outdoorsy.
   ========================================================================== */

:root {
  /* Mountain / Wasatch palette ------------------------------------------- */
  --bg:        oklch(0.972 0.011 92);    /* warm bone / snowfield        */
  --bg-2:      oklch(0.945 0.014 92);    /* slightly deeper card bg      */
  --ink:       oklch(0.255 0.022 158);   /* deep pine-charcoal text      */
  --ink-soft:  oklch(0.44 0.02 158);     /* muted body text              */
  --line:      oklch(0.88 0.012 120);    /* hairline borders             */

  --pine:      oklch(0.38 0.052 158);    /* primary brand green          */
  --pine-deep: oklch(0.285 0.045 160);   /* darkest green sections       */
  --pine-tint: oklch(0.93 0.022 158);    /* pale green wash              */

  --canyon:    oklch(0.605 0.158 47);    /* rust/orange CTA (red rock)   */
  --canyon-dk: oklch(0.52 0.155 44);     /* hover                        */
  --sky:       oklch(0.62 0.09 232);     /* cool lake-blue accent        */
  --gold:      oklch(0.78 0.13 80);      /* star / rating gold           */

  --white:     oklch(0.99 0.006 92);

  /* Type ----------------------------------------------------------------- */
  --display: "Anton", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;

  /* Spacing / radius ----------------------------------------------------- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px oklch(0.3 0.03 158 / 0.08), 0 2px 6px oklch(0.3 0.03 158 / 0.06);
  --shadow:    0 12px 30px oklch(0.3 0.04 158 / 0.12), 0 4px 10px oklch(0.3 0.04 158 / 0.08);
  --shadow-lg: 0 28px 60px oklch(0.3 0.05 158 / 0.20);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--canyon); }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.04; color: var(--ink); }
p { margin: 0 0 1em; }

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .005em;
  text-transform: uppercase;
  line-height: 0.96;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--canyon);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--canyon);
  display: inline-block;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }

.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: 1.02rem;
  padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer;
  letter-spacing: .01em; transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--canyon); color: var(--white); box-shadow: 0 8px 20px oklch(0.605 0.158 47 / .35); }
.btn-primary:hover { background: var(--canyon-dk); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--white); color: var(--pine-deep); }
.btn-light:hover { background: var(--bg); color: var(--pine-deep); transform: translateY(-2px); }
.btn-lg { padding: 20px 38px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.972 0.011 92 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 900; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--pine);
  display: grid; place-items: center; color: var(--white); flex: none;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand b { color: var(--canyon); }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 620px){ .brand-logo { height: 34px; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--canyon); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle svg { width: 28px; height: 28px; color: var(--ink); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; background: var(--pine-deep); color: var(--white); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, oklch(0.45 0.06 160 / .8), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, oklch(0.3 0.05 200 / .5), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 96px; }
.hero h1 { color: var(--white); font-size: clamp(2.7rem, 5.6vw, 4.6rem); }
.hero h1 .accent { color: var(--gold); }
.hero .sub { font-size: 1.25rem; color: oklch(0.9 0.02 120); max-width: 46ch; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: oklch(0.92 0.02 120); font-size: 1rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* topo lines decoration */
.topo { position: absolute; inset: 0; opacity: .10; z-index: 1; pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 80% 30%, transparent 0 34px, oklch(0.9 0.02 120 / .9) 34px 35px);
}

/* Quote form card --------------------------------------------------------- */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 30px; position: relative;
}
.quote-card .qc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.quote-card h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.quote-card .qc-sub { color: var(--ink-soft); font-size: .98rem; margin-bottom: 20px; }
.free-pill { background: var(--pine-tint); color: var(--pine-deep); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: var(--canyon); }
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--pine);
  box-shadow: 0 0 0 3px oklch(0.38 0.052 158 / .15); background: var(--white);
}
.field input::placeholder { color: oklch(0.6 0.01 158); }
.toggle-row { display: flex; gap: 10px; }
.toggle-row .toggle {
  flex: 1; text-align: center; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); cursor: pointer; font-weight: 700; font-size: .95rem; transition: all .14s ease;
}
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row input:checked + .toggle { border-color: var(--pine); background: var(--pine-tint); color: var(--pine-deep); }
.form-foot { margin-top: 18px; }
.form-disclaimer { font-size: .76rem; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.45; text-align: center; }
.quote-form .form-success {
  display: none; text-align: center; padding: 22px 6px;
}
.quote-form.is-done .form-body { display: none; }
.quote-form.is-done .form-success { display: block; }
.form-success .check { width: 62px; height: 62px; border-radius: 50%; background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; font-weight: 900; }

/* Star rating ------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.rating-badge { display: inline-flex; align-items: center; gap: 11px; background: var(--white); color: var(--ink); border-radius: 999px; padding: 9px 16px 9px 12px; box-shadow: var(--shadow-sm); font-weight: 700; }
.rating-badge .num { font-size: 1.15rem; font-weight: 900; }
.rating-badge small { color: var(--ink-soft); font-weight: 600; }

/* Mountain ridge divider -------------------------------------------------- */
.ridge { display: block; width: 100%; height: 70px; }
.ridge path { fill: var(--bg); }

/* Generic section heading ------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.025em; }

/* How it works ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step .n { counter-increment: step; font-family: var(--display); font-size: 2.6rem; color: var(--canyon); line-height: 1; margin-bottom: 14px; display: block; }
.step .n::before { content: "0" counter(step); }
.step h3 { font-size: 1.3rem; font-weight: 800; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* Services grid ----------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc .ico { width: 50px; height: 50px; border-radius: 13px; background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; margin-bottom: 10px; }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.22rem; font-weight: 800; }
.svc p { color: var(--ink-soft); font-size: .98rem; margin: 0; flex: 1; }
.svc .more { font-weight: 800; font-size: .9rem; color: var(--canyon); margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }

/* Areas grid -------------------------------------------------------------- */
.areas { background: var(--pine-deep); color: var(--white); position: relative; }
.areas h2, .areas .sec-head { color: var(--white); }
.areas .lead { color: oklch(0.88 0.02 120); }
.areas .eyebrow { color: var(--gold); }
.areas .eyebrow::before { background: var(--gold); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area {
  display: flex; flex-direction: column; gap: 4px; padding: 22px;
  background: oklch(0.32 0.045 160); border: 1px solid oklch(0.42 0.05 160);
  border-radius: var(--r); color: var(--white); transition: all .15s ease;
}
.area:hover { background: oklch(0.37 0.05 160); color: var(--white); transform: translateY(-3px); border-color: var(--gold); }
.area .city { font-weight: 800; font-size: 1.18rem; }
.area .meta { color: oklch(0.82 0.02 120); font-size: .88rem; }
.area .arrow { margin-top: 8px; color: var(--gold); font-weight: 800; font-size: .85rem; }

/* Why / trust ------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why {
  display: flex; gap: 18px; padding: 26px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.why .ico { width: 52px; height: 52px; flex: none; border-radius: 13px; background: var(--canyon); color: var(--white); display: grid; place-items: center; }
.why .ico svg { width: 27px; height: 27px; }
.why h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.why p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Stat band --------------------------------------------------------------- */
.stat-band { background: var(--canyon); color: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .big { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; }
.stat .lbl { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; opacity: .9; margin-top: 8px; }

/* Testimonials ------------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review .stars { margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--pine-tint); color: var(--pine-deep); display: grid; place-items: center; font-weight: 900; flex: none; }
.review .who .nm { font-weight: 800; font-size: .98rem; }
.review .who .loc { color: var(--ink-soft); font-size: .85rem; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.7rem; font-weight: 400; color: var(--canyon); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 44px 20px 0; color: var(--ink-soft); font-size: 1.02rem; }
.faq .ans p { margin: 0 0 .7em; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { background: var(--pine-deep); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 120%, oklch(0.605 0.158 47 / .35), transparent 60%); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.95fr; gap: 50px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; letter-spacing: -.025em; }
.cta-band .lead { color: oklch(0.9 0.02 120); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: oklch(0.21 0.025 160); color: oklch(0.82 0.015 120); padding: 64px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid oklch(0.32 0.03 160); }
.site-footer .brand { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: oklch(0.82 0.015 120); }
.site-footer a:hover { color: var(--gold); }
.foot-about { max-width: 34ch; line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; color: oklch(0.7 0.015 120); font-size: .85rem; }
.disclaimer { background: oklch(0.18 0.022 160); color: oklch(0.7 0.015 120); font-size: .8rem; line-height: 1.6; padding: 22px 0; }
.disclaimer .wrap { max-width: 980px; }

/* Sub-page hero (city/service) -------------------------------------------- */
.subhero { background: var(--pine-deep); color: var(--white); position: relative; overflow: hidden; }
.subhero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 460px at 88% -20%, oklch(0.45 0.06 160 / .75), transparent 60%); }
.subhero .wrap { position: relative; z-index: 2; padding: 64px 24px 80px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.subhero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.subhero .sub { color: oklch(0.9 0.02 120); font-size: 1.18rem; max-width: 48ch; }
.crumbs { font-size: .85rem; color: oklch(0.78 0.02 120); margin-bottom: 18px; }
.crumbs a { color: var(--gold); }
.crumbs span { opacity: .6; margin: 0 6px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; font-weight: 800; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.08rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: start; }
.sticky-form { position: sticky; top: 92px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip { background: var(--pine-tint); color: var(--pine-deep); font-weight: 700; font-size: .9rem; padding: 8px 15px; border-radius: 999px; }

/* Placeholder imagery ----------------------------------------------------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background-color: oklch(0.4 0.05 160);
  background-image: repeating-linear-gradient(135deg, oklch(0.44 0.05 160) 0 14px, oklch(0.4 0.05 160) 14px 28px);
  display: grid; place-items: center; color: oklch(0.9 0.02 120); min-height: 280px;
}
.ph span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; letter-spacing: .04em; padding: 8px 14px; background: oklch(0.2 0.02 160 / .6); border-radius: 8px; text-align: center; }

/* Local link cluster ------------------------------------------------------ */
.nearby { display: flex; flex-wrap: wrap; gap: 10px; }
.nearby a { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.nearby a:hover { border-color: var(--canyon); color: var(--canyon); }

/* Mobile nav -------------------------------------------------------------- */
.mobile-nav { display: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .wrap, .cta-inner, .subhero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 60px; gap: 36px; }
  .steps, .svc-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sticky-form { position: static; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .steps, .svc-grid, .reviews, .area-grid, .stat-grid, .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .quote-card { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
}

/* Mobile nav panel */
.mobile-nav.open { display: block; position: fixed; inset: 72px 0 0; background: var(--bg); z-index: 55; padding: 24px; }
.mobile-nav a { display: block; padding: 16px 0; font-size: 1.3rem; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
