/* ==========================================================================
   Jasper Moving — Design System
   Palette: deep navy (trust) + warm amber/orange (energy, CTAs)
   ========================================================================== */

:root {
  --navy-900: #0a2540;
  --navy-800: #0f3a63;
  --navy-700: #15477a;
  --navy-100: #e8eef5;
  --orange-600: #d9560f;
  --orange-500: #f2740f;
  --orange-100: #fef1e6;
  --ink: #1a2433;
  --ink-soft: #4b5768;
  --paper: #ffffff;
  --paper-alt: #f6f8fb;
  --border: #e1e7ef;
  --success: #1f8a4c;

  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--orange-600); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); color: #fff; }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-block { width: 100%; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-900);
}
.brand svg { flex-shrink: 0; }
.brand .brand-accent { color: inherit; font-weight: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.97rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--orange-500);
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-phone { display: none; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(242, 116, 15, 0.25), transparent 45%);
  pointer-events: none;
}
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 88px 24px 96px;
}
.hero h1 { color: #fff; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 116, 15, 0.15);
  border: 1px solid rgba(242, 116, 15, 0.4);
  color: var(--orange-500);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero p.lead { color: #cfdcee; font-size: 1.1rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats .stat strong { display: block; font-size: 1.8rem; font-family: var(--font-heading); color: #fff; }
.hero-stats .stat span { color: #9fb3ca; font-size: 0.85rem; }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.hero-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.hero-card .sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 20px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 64px; }
}

/* ── Sections ── */
section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #b9c8db; }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow-sm {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--orange-600);
}
.card-illustration { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); margin-bottom: 20px; }
.card ul { padding-left: 20px; margin: 12px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }
.card a.card-link { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }

/* ── Process steps ── */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Testimonials ── */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial .stars { color: var(--orange-500); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial .who { font-weight: 600; color: var(--navy-900); margin-top: 14px; font-size: 0.92rem; }
.testimonial .who span { color: var(--ink-soft); font-weight: 400; display: block; font-size: 0.85rem; }

/* ── Areas list (chips) ── */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.area-chip {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy-900);
}
.area-chip svg { margin-right: 6px; vertical-align: -2px; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(120deg, var(--orange-500), var(--orange-600));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 4px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }

/* ── Forms ── */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy-900); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 116, 15, 0.15);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.form-success {
  display: none;
  background: #eafaf0;
  border: 1px solid var(--success);
  color: #14602f;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  font-weight: 500;
}
.form-success.visible { display: block; }
.form-success.form-error {
  background: #fdecea;
  border-color: #c0392b;
  color: #8a2c20;
}

/* ── Contact info blocks ── */
.contact-block {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; }
.contact-block .icon-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Breadcrumb / page header ── */
.page-header {
  background: var(--navy-900);
  color: #fff;
  padding: 64px 0 56px;
}
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: #b9c8db; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: #9fb3ca; margin-bottom: 16px; }
.breadcrumb a { color: #cfdcee; }
.breadcrumb a:hover { color: var(--orange-500); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-900);
  color: #b9c8db;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b9c8db; font-size: 0.92rem; }
.site-footer a:hover { color: var(--orange-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #7f93aa;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-links a:hover { background: var(--orange-500); }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge-list span {
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
