/* Nash Moving — marketing site.
   Palette: crate green + packing tape on warm paper.
   Display face: Bricolage Grotesque. Body: system stack. */

:root {
  --paper: #f8f9fc;
  --ink: #141b33;
  --ink-soft: #565f78;
  --pine: #0033cc;
  --pine-deep: #001a70;
  --pine-bright: #2952e0;
  --moss: #e8edfb;
  --tape: #eaa83b;
  --tape-soft: #f8e9c8;
  --line: #d9def0;
  --white: #ffffff;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px -12px rgba(20, 27, 51, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--pine); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell { max-width: 1100px; margin-inline: auto; padding-inline: 1.25rem; }

.section { padding-block: 4rem; }
.section--tight { padding-block: 3rem; }

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 44rem; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---- Tape label (signature) ---- */

.tape {
  display: inline-block;
  background: var(--tape);
  color: var(--pine-deep);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.32em 1.1em 0.28em;
  transform: rotate(-1.6deg);
  clip-path: polygon(1.5% 8%, 99% 0, 98.5% 92%, 0 100%);
  margin-bottom: 1.1rem;
}

.tape--moss { background: var(--moss); color: var(--pine); }
.tape--right { transform: rotate(1.4deg); }

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78em 1.6em;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--pine); color: var(--white); }
.btn--primary:hover { background: var(--pine-bright); }

.btn--tape { background: var(--tape); color: var(--pine-deep); }
.btn--tape:hover { background: #f2b95c; }

.btn--ghost {
  background: transparent;
  color: var(--pine);
  box-shadow: inset 0 0 0 2px var(--pine);
}
.btn--ghost:hover { background: var(--moss); }

.btn--big { font-size: 1.1rem; padding: 0.9em 2em; }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand svg { flex: none; }
.brand em { font-style: normal; color: var(--pine); }

.site-nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--pine); }
.site-nav a[aria-current="page"] {
  color: var(--pine);
  border-bottom-color: var(--tape);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.phone-link:hover { color: var(--pine); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle .bars { display: block; width: 26px; }
.nav-toggle .bars span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav a { padding: 0.7rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }

  .nav-open .site-nav { display: flex; }
  .nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .header-actions { margin-left: auto; }
  .header-actions .phone-link { display: none; }
  .header-actions .btn { font-size: 0.9rem; padding: 0.6em 1.2em; }

  .header-row { gap: 0.75rem; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.15rem; }
  .header-actions .btn { font-size: 0.82rem; padding: 0.55em 1em; }
}

/* ---- Hero ---- */

.hero { padding-block: 4rem 3.5rem; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.hero h1 { margin-bottom: 0.4em; }

.hero .lead { font-size: 1.2rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin: 1.6rem 0 1.2rem;
}

.hero-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-assure li::before { content: "✓ "; color: var(--pine); font-weight: 700; }

.hero-art { text-align: center; }

@media (max-width: 860px) {
  .hero { padding-block: 2.75rem 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 240px; }
}

/* ---- Trust band / counters ---- */

.band {
  background: var(--pine-deep);
  color: #eaeefb;
}

.band .tape { margin-bottom: 0.8rem; }

.band-intro { color: #aebbe8; max-width: 40rem; margin-bottom: 2rem; }

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.75rem 2rem;
}

.counter .num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 800;
  color: var(--tape);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.counter .lbl {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aebbe8;
}

/* ---- Steps ---- */

.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.step {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  position: relative;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--moss);
  color: var(--pine);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.step--human::before { background: var(--tape); color: var(--pine-deep); }

.step h3 { margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---- Guarantee cards (landing) ---- */

.guarantee-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  margin-top: 2rem;
}

.guarantee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
}

.guarantee-card h3 { margin-bottom: 0.35em; }

.guarantee-card p { color: var(--ink-soft); font-size: 0.95rem; }

.note { color: var(--ink-soft); font-size: 0.92rem; margin-top: 1.6rem; max-width: 46rem; }

/* ---- Feature cards (services) ---- */

.feature-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.6rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature h3 { margin-bottom: 0.35em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.section--moss { background: var(--moss); }

/* ---- Green band (tub teaser) ---- */

.tub-teaser {
  background: var(--pine);
  color: #eaeefb;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 3fr) auto;
  align-items: center;
}

.tub-teaser h2 { color: var(--white); margin-bottom: 0.3em; }
.tub-teaser p { margin: 0; color: #c4d0f0; }

@media (max-width: 700px) {
  .tub-teaser { grid-template-columns: 1fr; }
}

/* ---- Service area ---- */

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.5rem 0 1rem;
  list-style: none;
}

.area-chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  font-size: 0.98rem;
}

.area-chips li::before { content: "📍 "; }

/* ---- Testimonials ---- */

.quote-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.quote-card .stars {
  color: var(--tape);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.quote-card blockquote { margin: 0 0 1rem; flex: 1; font-size: 1rem; }
.quote-card blockquote p { margin: 0; }

.quote-card figcaption {
  font-family: var(--display);
  font-weight: 700;
  color: var(--pine);
}

/* ---- FAQ (native details) ---- */

.faq-list { margin-top: 1.8rem; max-width: 46rem; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pine);
  transition: transform 0.15s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details > p {
  padding: 0 1.25rem 1.15rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---- Tub guide table ---- */

.tub-table {
  width: 100%;
  max-width: 34rem;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tub-table th, .tub-table td {
  text-align: left;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.tub-table th {
  font-family: var(--display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--moss);
  color: var(--pine);
}

.tub-table tr:last-child td { border-bottom: 0; }
.tub-table td:last-child { font-weight: 700; color: var(--pine); }

/* ---- Timeline (about) ---- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-left: 3px solid var(--line);
}

.timeline li { padding: 0 0 1.8rem 1.5rem; position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--tape);
  border: 3px solid var(--paper);
}

.timeline .year {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--pine);
  display: block;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.8rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 { margin-bottom: 0.4em; }
.contact-card p { margin: 0 0 0.4em; color: var(--ink-soft); }
.contact-card a { font-weight: 700; }

/* ---- Final CTA ---- */

.cta-final { background: var(--pine-deep); color: #eaeefb; text-align: center; }
.cta-final h2 { color: var(--white); }
.cta-final .lead { color: #aebbe8; margin-inline: auto; }
.cta-final .hero-ctas { justify-content: center; }
.cta-final .phone-line { color: #c4d0f0; }
.cta-final .phone-line a { color: var(--tape); font-weight: 700; text-decoration: none; }

/* ---- Footer ---- */

.site-footer {
  background: #0d1440;
  color: #aebbe8;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8em;
}

.site-footer a { color: #dfe9da; text-decoration: none; }
.site-footer a:hover { color: var(--tape); }

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.22rem 0; }

.footer-brand .brand { color: var(--white); margin-bottom: 0.6rem; }
.footer-brand p { color: #93a88e; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #7e947a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}

/* ---- Sticky mobile CTA bar ---- */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}

.sticky-cta .btn { flex: 1; text-align: center; padding: 0.7em 0.5em; }

@media (max-width: 860px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 4.25rem; }
}

/* ---- Motion ---- */

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

/* Specialty move photo grid */
.move-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.move-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.move-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 399 / 270;
  object-fit: cover;
}
.move-label {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  background: var(--tape);
  color: var(--pine-deep);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  padding: .25rem .6rem;
  border-radius: 3px;
  transform: rotate(-1.5deg);
  box-shadow: 0 2px 8px rgba(20, 27, 51, 0.25);
}
