/* ==========================================================================
   Classic Moving & Storage / Reliable Movers Inc. — Global Stylesheet
   Modern, centered, responsive design system.
   ========================================================================== */

:root {
  --navy: #14325c;
  --navy-dark: #0d2140;
  --navy-soft: #1d4478;
  --red: #c8102e;
  --red-dark: #a30d25;
  --gold: #f0b429;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #24313f;
  --muted: #5b6b7b;
  --line: #dfe6ee;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(13, 33, 64, .08), 0 8px 24px rgba(13, 33, 64, .06);
  --shadow-lg: 0 4px 12px rgba(13, 33, 64, .10), 0 16px 40px rgba(13, 33, 64, .10);
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--navy); }
a:hover { color: var(--red); }

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-dark); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }

/* ---------- Layout: everything centered ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section--tight { padding: 28px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

main { display: block; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.topbar { background: var(--navy); color: #e8eef6; font-size: .88rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .licensed { color: #b9c8dc; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 58px; width: auto; background: #fff; }
.brand-name { display: flex; flex-direction: column; }
.brand-name b { color: var(--navy-dark); font-size: 1.15rem; line-height: 1.2; }
.brand-name span { color: var(--muted); font-size: .82rem; }
.head-cta { text-align: right; }
.head-cta .phone { display: block; font-size: 1.25rem; font-weight: 800; color: var(--red); text-decoration: none; white-space: nowrap; }
.head-cta .phone:hover { color: var(--red-dark); }
.head-cta small { color: var(--muted); display: block; }

.mainnav { background: var(--navy); }
.mainnav .wrap { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.nav-toggle {
  display: none; background: none; border: 1px solid #46618f; color: #fff; padding: 10px 16px;
  font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; margin-block: 8px;
}
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav li { flex: 0 0 auto; }
.mainnav a {
  display: block; color: #dbe5f1; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 14px 18px; border-bottom: 3px solid transparent;
}
.mainnav a:hover, .mainnav a[aria-current="page"] { background: var(--navy-dark); color: #fff; border-bottom-color: var(--red); }
.mainnav .nav-estimate { margin-left: auto; }
.mainnav .nav-estimate a { background: var(--red); color: #fff; border-bottom-color: transparent; }
.mainnav .nav-estimate a:hover { background: var(--red-dark); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 14px 0 0; font-size: .85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--navy-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #123055 100%);
  color: #eef3f9; padding: 56px 0 60px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(200, 16, 46, .25), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .kicker { color: var(--gold); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin: 0 0 10px; }
.hero h1 { color: #fff; max-width: 820px; margin-bottom: .4em; }
.hero .lead { font-size: 1.12rem; color: #cdd9e8; max-width: 760px; margin-bottom: 26px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #e7eef7;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}

.hero-media { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(2px);
}
.hero-card h2 { color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.hero-card ul { margin: 0; padding-left: 18px; color: #cdd9e8; }
.hero-card li { margin-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover, .btn-outline:focus { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card--accent { border-top: 4px solid var(--red); }
.card--navy { border-top: 4px solid var(--navy); }
.card img { border-radius: 8px; margin-bottom: 14px; }

/* Feature list with check icons */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; width: 21px; height: 21px;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}

/* ---------- Figures & galleries ---------- */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.gallery a { display: block; text-decoration: none; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s; }
.gallery a:hover img { transform: translateY(-3px); }

/* ---------- Quote / testimonial style ---------- */
.quote {
  background: var(--surface); border-left: 5px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 28px; margin: 0;
}
.quote footer { margin-top: 12px; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { color: #c9d6e6; margin: 0; }
.cta-band .btn-primary { box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.data tbody tr:nth-child(even) { background: #f8fafc; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data .price { font-weight: 800; color: var(--red); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--red); font-weight: 800; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Timeline (moving checklist) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.timeline > li { position: relative; padding-left: 56px; margin-bottom: 34px; }
.timeline > li::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--red);
}
.timeline h3 { margin: 0 0 6px; font-size: 1.1rem; }
.timeline .when { color: var(--red); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.timeline ul { color: var(--muted); margin: 6px 0 0; padding-left: 18px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-note { background: #eef5ff; border: 1px solid #cfe0f5; color: var(--navy-dark); border-radius: 8px; padding: 14px 18px; font-size: .95rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; margin: 0 0 22px; }
legend { font-weight: 800; color: var(--navy); padding: 0 8px; font-size: 1.02rem; }
.field { margin-bottom: 16px; }
.field label, .field .flabel { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; color: var(--navy-dark); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"],
.field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #c3cfdc; border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(20,50,92,.25); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; }
.choice-grid label { display: flex; align-items: flex-start; gap: 8px; font-size: .93rem; color: var(--text); }
.choice-grid input { margin-top: 4px; }
.count-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 20px; }
.count-grid .cfield { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line); padding-bottom: 6px; }
.count-grid .cfield label { font-size: .92rem; color: var(--text); flex: 1; }
.count-grid select { padding: 6px 8px; border: 1px solid #c3cfdc; border-radius: 6px; font: inherit; }
.form-success { background: #e9f7ee; border: 1px solid #bfe4cc; color: #14532d; border-radius: 8px; padding: 16px 20px; display: none; }
.form-success.show { display: block; }

/* ---------- Audio ---------- */
.audio-box { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.audio-box audio { flex: 1 1 320px; min-width: 260px; }

/* ---------- Article (tips) ---------- */
.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); font-size: .92rem; }
.toc h2 { font-size: 1rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; color: var(--muted); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2 { scroll-margin-top: 20px; }
.prose img { display: inline-block; vertical-align: middle; margin: 0 2px; }
.prose blockquote { margin: 0 0 1em; padding: 10px 20px; border-left: 3px solid var(--line); color: var(--muted); }
.prose ul { padding-left: 22px; }
.backlink { font-size: .85rem; }
.totop { display: inline-block; font-size: .85rem; margin: 10px 0 0; text-decoration: none; }
.totop:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b7c5d8; margin-top: 56px; font-size: .92rem; }
.site-footer a { color: #d7e1ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding: 44px 0 30px; }
.footer-grid h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand img { height: 52px; background: #fff; border-radius: 6px; padding: 4px; margin-bottom: 12px; }
.footer-addr { font-style: normal; line-height: 1.7; }
.footer-contacts a { font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.08rem; color: var(--muted); }
.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;
}
.phone-link { font-weight: 800; color: var(--red); text-decoration: none; white-space: nowrap; }
.phone-link:hover { color: var(--red-dark); }
.notice {
  background: #fff8e6; border: 1px solid #f0dca0; color: #6b5410; border-radius: 8px;
  padding: 14px 18px; font-size: .95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-media { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .hero { padding: 40px 0; }
  .head-cta { text-align: left; }
  .brand img { height: 46px; }
  .cta-band { flex-direction: column; align-items: flex-start; }

  /* Collapsible mobile nav */
  .nav-toggle { display: block; }
  .mainnav .wrap { flex-direction: column; align-items: stretch; }
  .mainnav ul { flex-direction: column; display: none; padding-bottom: 10px; }
  .mainnav ul.open { display: flex; }
  .mainnav a { padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mainnav .nav-estimate { margin-left: 0; }
  .mainnav .nav-estimate a { display: block; text-align: center; border-radius: 8px; }
}

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