/* =================================================================
   24-Hour Movers — Design System
   Style: Flat Design (bold, touch-first, conversion-optimized)
   Brand: Navy + Gold  ·  Fonts: Lexend / Source Sans 3
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy-deep: #172554;
  --navy: #1e3a8a;
  --blue: #1d4ed8;
  --blue-bright: #2563eb;
  --gold: #f5b301;
  --gold-bright: #fbbf24;
  --gold-deep: #d99700;

  /* Neutrals */
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #64748b;
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-softer: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;

  /* Feedback */
  --success: #16a34a;
  --danger: #dc2626;

  /* Scale */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1180px;

  /* Typography */
  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Motion */
  --t-fast: 150ms ease;
  --t: 220ms ease;

  /* Layout helpers */
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* leave room for the mobile sticky call bar */
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.display {
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
p { color: var(--slate); }
.lead { font-size: 1.22rem; color: var(--slate); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section-navy p { color: #c7d2e8; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-head p { margin-top: 12px; font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.section-navy .eyebrow { color: var(--gold-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  min-height: 52px;
  transition: transform var(--t-fast), background var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 6px 20px rgba(245,179,1,0.4); }

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

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { font-size: 1.12rem; padding: 17px 32px; min-height: 58px; }
.btn-block { width: 100%; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #dbe4f5;
  font-size: 0.9rem;
  font-weight: 600;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar .badge { display: inline-flex; align-items: center; gap: 7px; }
.topbar .badge svg { width: 15px; height: 15px; color: var(--gold-bright); }
.topbar a:hover { color: var(--gold-bright); }
.topbar .topbar-phone { font-weight: 700; color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--blue); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--gold); margin-top: 4px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  width: 48px; height: 48px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(15,23,42,0.94) 0%, rgba(23,37,84,0.86) 45%, rgba(29,78,216,0.62) 100%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::after { /* placeholder photo texture note */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(245,179,1,0.18), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-block: 80px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); color: var(--white); }
.hero h1 .gold { color: var(--gold-bright); }
.hero .lead { color: #dbe4f5; margin-top: 18px; font-size: 1.25rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #eaf0fb; }
.hero-points svg { width: 20px; height: 20px; color: var(--gold-bright); flex-shrink: 0; }

/* Hero photo placeholder card */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(245,179,1,0.55);
  background: rgba(255,255,255,0.06);
  min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px; gap: 12px;
}
.hero-photo .ph-icon { width: 56px; height: 56px; color: var(--gold-bright); }
.hero-photo strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--white); }
.hero-photo span { font-size: 0.92rem; color: #c7d2e8; }

/* tagline ribbon */
.ribbon {
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
  padding: 14px 0;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 30px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ico {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item .ico svg { width: 26px; height: 26px; }
.trust-item strong { font-family: var(--font-head); display: block; font-size: 1rem; color: var(--ink); }
.trust-item span { font-size: 0.9rem; color: var(--slate-light); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 12px 28px rgba(29,78,216,0.1); }
.service-card .tile {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card .tile svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service-card p { font-size: 0.97rem; }

/* ---------- Why us (on navy) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { text-align: left; }
.why-item .tile {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.why-item .tile svg { width: 28px; height: 28px; }
.why-item h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 16px 40px rgba(245,179,1,0.18); }
.price-card:hover { transform: translateY(-4px); }
.price-tag {
  position: absolute; top: -14px; right: 22px;
  background: var(--gold); color: var(--navy-deep);
  font-family: var(--font-head); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; color: var(--navy); }
.price-amount { font-family: var(--font-head); margin: 14px 0 4px; }
.price-amount .num { font-size: 3rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-amount .per { font-size: 1.05rem; color: var(--slate-light); font-weight: 600; }
.price-card .desc { font-weight: 600; color: var(--slate); margin-bottom: 18px; }
.price-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.98rem; color: var(--ink); }
.price-features svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

.price-note {
  margin-top: 30px; text-align: center;
  background: var(--navy); color: #dbe4f5;
  border-radius: var(--radius); padding: 18px 24px;
  font-weight: 600;
}
.price-note strong { color: var(--gold-bright); }

/* ---------- Quote form ---------- */
.quote-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.quote-side h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.quote-side .lead { margin-top: 14px; }
.quote-side .contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote-side .contact-list a, .quote-side .contact-list div { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.quote-side .contact-list .ico { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--navy); color: var(--gold-bright); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quote-side .contact-list .ico svg { width: 24px; height: 24px; }
.quote-side .contact-list small { display: block; font-weight: 500; color: var(--slate-light); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 40px rgba(15,23,42,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: 13px 14px; min-height: 50px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-softer); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.field .helper { font-size: 0.85rem; color: var(--slate-light); margin-top: 6px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .error-msg { display: none; color: var(--danger); font-size: 0.85rem; margin-top: 6px; font-weight: 600; }
.field.error .error-msg { display: block; }

.form-success {
  display: none;
  text-align: center; padding: 20px;
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: var(--radius);
  color: #166534;
}
.form-success.show { display: block; }
.form-success svg { width: 48px; height: 48px; color: var(--success); margin: 0 auto 12px; }
.form-success h3 { color: #166534; margin-bottom: 6px; }
.form-success p { color: #15803d; }

.form-error {
  display: none;
  text-align: center; padding: 18px 20px; margin-top: 16px;
  background: #fef2f2; border: 1.5px solid #fecaca; border-radius: var(--radius);
}
.form-error.show { display: block; }
.form-error h3 { color: #991b1b; margin-bottom: 6px; }
.form-error p { color: #b91c1c; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--navy-deep), var(--blue));
  color: var(--white); text-align: center;
  border-radius: var(--radius-lg);
  padding: 52px 32px;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); }
.cta-band p { color: #dbe4f5; margin: 12px auto 28px; max-width: 560px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c7d2e8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-grid a { color: #c7d2e8; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-brand p { color: #9fb0d0; margin-top: 14px; max-width: 320px; }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.88rem; color: #8ea2c4;
}

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none;
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.call-bar .btn { flex: 1; min-height: 52px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(100deg, var(--navy-deep), var(--navy));
  color: var(--white); text-align: center; padding: 60px 0;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--white); }
.page-hero p { color: #dbe4f5; margin-top: 12px; font-size: 1.15rem; }
.breadcrumb { font-size: 0.9rem; color: #9fb0d0; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.placeholder-note {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; color: var(--gold-deep);
  background: #fffbeb; border: 1px solid #fde68a;
  padding: 5px 11px; border-radius: 999px;
}
.placeholder-note svg { width: 14px; height: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .hero-photo { min-height: 240px; }
  .quote-wrap { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 18px 18px; gap: 4px;
    box-shadow: 0 20px 30px rgba(15,23,42,0.1);
  }
  .nav-links.open a { padding: 14px; font-size: 1.05rem; }
  .nav-links.open a.active::after { display: none; }
  .topbar .badge.hide-sm { display: none; }
  .section { padding: 52px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-bar { display: flex; }
  body { padding-bottom: 78px; } /* clear the call bar */
}

@media (max-width: 460px) {
  .trust-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid.cols-3, .why-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Reviews / Google carousel ---------- */
.reviews { background: var(--bg-soft); padding: 46px 0 42px; }
.reviews .container { position: relative; }
.reviews-head { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.reviews-head .eyebrow { margin-bottom: 12px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
.rating-badge .gicon { width: 26px; height: 26px; flex-shrink: 0; }
.rating-badge .score { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.rating-badge .rb-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.rating-badge .rb-sub { font-size: 0.8rem; color: var(--slate-light); font-weight: 600; margin-top: 3px; }
.rating-badge .rb-left { text-align: left; }

.reviews-track {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px 4px 18px; scroll-padding-left: 4px;
}
.reviews-track::-webkit-scrollbar { height: 8px; }
.reviews-track::-webkit-scrollbar-track { background: transparent; }
.reviews-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.review-card {
  scroll-snap-align: start; flex: 0 0 300px; max-width: 300px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 20px;
  display: flex; flex-direction: column; gap: 11px;
}
.review-card .rc-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; line-height: 1; }
.review-card .rc-text {
  color: var(--ink); font-size: 0.92rem; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card .rc-foot { display: flex; align-items: center; gap: 11px; margin-top: 4px; }
.review-card .rc-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.review-card .rc-name { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.review-card .rc-meta { font-size: 0.78rem; color: var(--slate-light); }
.reviews-cta { text-align: center; margin-top: 20px; }
.reviews-hint { text-align: center; font-size: 0.8rem; color: var(--slate-light); margin-top: 2px; }
@media (max-width: 720px) {
  .review-card { flex-basis: 78vw; max-width: 78vw; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
