/* Shiftpack Moving & Logistics — main stylesheet
   Mobile first (360px) → 768 → 1024 → 1280+.
   Flat design: borders, colour blocks, type scale. No gradients, no shadows. */

:root {
  --navy: #1E3A8A;
  --navy-dark: #172C6B;   /* shade of navy for footer base / hover */
  --blue: #2563EB;
  --blue-dark: #1D4FC4;  /* shade for hover */
  --amber: #F59E0B;
  --amber-dark: #B45309; /* accessible amber text on white */
  --yellow: #FBBF24;
  --ink: #1F2937;
  --grey: #E5E7EB;
  --grey-50: #F9FAFB;
  --grey-dark: #6B7280;
  --placeholder: #9CA3AF;
  --blue-50: #DBEAFE;
  --white: #FFFFFF;
  --err: #B91C1C;
  --ok: #166534;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* corners: subtle, per screen size — mobile smaller, desktop slightly larger */
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-chip: 3px;
  --maxw: 1140px;
  --maxw-narrow: 720px;

  /* image slot aspect ratios — one variable per slot, adjust to the real photos */
  --ar-card: 4 / 3;
  --ar-lead: 4 / 3;
  --ar-square: 1 / 1;
  --ar-wide: 21 / 9;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(30, 58, 138, .06);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }
[id] { scroll-margin-top: 80px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: 2rem; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; letter-spacing: -0.01em; }
h3, .h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
::placeholder { color: var(--placeholder); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: var(--maxw-narrow); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 0; color: var(--white); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (min-width: 768px) {
  :root { --radius-card: 8px; --radius-btn: 6px; }
}

/* ---------- signature element: route mark ---------- */
/* A dot — dashed amber line — dot. Used under section heads & between steps. */
.route-mark,
.section-head h2,
.cta-panel h2 { position: relative; }

.section-head h2::after,
.page-head h1::after {
  content: "";
  display: block;
  width: 72px; height: 6px; margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23F59E0B'/%3E%3Cline x1='10' y1='3' x2='62' y2='3' stroke='%23F59E0B' stroke-width='2.5' stroke-dasharray='6 6'/%3E%3Ccircle cx='69' cy='3' r='3' fill='%23F59E0B'/%3E%3C/svg%3E") no-repeat left center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; text-align: center;
}
.btn-cta { background: var(--amber); color: var(--navy); }
.btn-cta:hover { background: var(--yellow); color: var(--navy); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--grey); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn:active { transform: translateY(1px); }

.text-link { font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
/* logo artwork is navy — white chip keeps it readable on the navy header */
.brand-logo {
  display: block; height: 44px; width: auto; max-width: 62vw;
  object-fit: contain;
  background: var(--white); padding: 6px 12px;
  border-radius: var(--radius-btn);
}
.brand-logo-footer { height: 52px; }

.site-nav {
  display: none; /* mobile: toggled */
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px 16px;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.site-nav a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 1rem;
}
.site-nav a[aria-current="page"] { color: var(--yellow); }
.nav-quote { margin-top: 12px; width: 100%; }

.nav-toggle {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--radius-btn);
  background: transparent;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 10px; cursor: pointer;
}
.nav-toggle:hover { border-color: rgba(255,255,255,.8); }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 32px 0 40px; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.eyebrow {
  color: var(--yellow); font-weight: 700; font-size: .8125rem;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.lede { font-size: 1.125rem; line-height: 1.6; max-width: 60ch; }
.hero .lede { color: var(--blue-50); }
.hero-actions {
  display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 20px;
}
/* mobile: two equal buttons on one line, compact but still tappable */
.hero-actions .btn {
  flex: 1 1 0; min-width: 0;
  min-height: 42px; padding: 9px 10px;
  font-size: .875rem; white-space: nowrap;
}
@media (min-width: 768px) {
  .hero-actions { gap: 10px; flex-wrap: wrap; }
  .hero-actions .btn { flex: 0 1 auto; min-height: 44px; padding: 10px 20px; font-size: 1rem; }
}

.hero-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-card); padding: 20px;
  margin-top: 28px;
}
.hero-card h2 { font-size: 1.125rem; }
.hero-note { font-size: .8125rem; color: var(--grey-dark); margin: 12px 0 0; }

/* ---------- estimator ---------- */
.est-types { border: 0; margin: 0 0 12px; padding: 0; display: flex; gap: 8px; }
.est-type { flex: 1; }
.est-type input { position: absolute; opacity: 0; }
.est-type span {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; border: 2px solid var(--grey); border-radius: var(--radius-btn);
  font-weight: 700; cursor: pointer;
}
.est-type input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }
.est-type input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.est-fields { display: grid; gap: 12px; }
.est-result {
  margin-top: 14px; padding: 14px; border: 2px solid var(--navy);
  border-radius: var(--radius-btn); font-size: .9375rem;
}
.est-result strong { font-size: 1.25rem; color: var(--navy); display: block; }
.est-result a { font-weight: 700; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--blue-50); border-bottom: 1px solid var(--grey); padding: 20px 0; }
.trust-grid { display: grid; gap: 14px; }
.trust-item {
  background: var(--white); border: 1px solid var(--grey);
  border-radius: var(--radius-card); padding: 14px;
}
.trust-item strong { display: block; color: var(--navy); font-size: .9375rem; margin-bottom: 4px; }
.trust-item span { font-size: .875rem; color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 40px 0; }
.section-tint { background: var(--blue-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .check-list li::before { background-color: var(--amber); }
.section-cta { padding: 32px 0; }
.section-head { margin-bottom: 24px; max-width: 60ch; }
.section-head p { color: var(--grey-dark); margin-top: 8px; }
.section-more { margin-top: 20px; }

/* ---------- photo heroes ---------- */
/* Flat navy overlay (rgba — not a gradient) keeps text legible over photos. */
.has-photo {
  position: relative;
  background-image: var(--page-img);
  background-size: cover;
  background-position: center;
}
.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(30, 58, 138, 0.84);
}
.has-photo > .container, .has-photo > * { position: relative; }
.page-head.has-photo { border-bottom: 0; }
.page-head.has-photo h1 { color: var(--white); }
.page-head.has-photo .lede { color: var(--blue-50); }
.page-head.has-photo .crumbs, .page-head.has-photo .crumbs a { color: var(--blue-50); }
.page-head.has-photo .post-meta { color: var(--blue-50); }

/* ---------- image slots ---------- */
.img-slot {
  position: relative; overflow: hidden;
  background: var(--blue-50); border: 1px solid var(--grey);
  border-radius: var(--radius-card);
  aspect-ratio: var(--ar, 4 / 3);
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.post-hero { margin-bottom: 24px; }

/* ---------- services ---------- */
.services-layout { display: grid; gap: 24px; }
.service-lead {
  position: relative;
  border: 1px solid var(--grey); border-radius: var(--radius-card);
  overflow: hidden; background: var(--white); padding-bottom: 16px;
}
.service-lead:hover { border-color: var(--blue); }
.service-lead .img-slot { border: 0; border-radius: 0; }
.service-lead h3 { margin: 14px 16px 4px; }
.service-lead h3 a { color: var(--navy); text-decoration: none; }
.service-lead h3 a::after { content: ""; position: absolute; inset: 0; }
.service-lead p { margin: 0 16px 10px; }
.service-lead .text-link { margin-left: 16px; position: relative; }
.price-tag { font-weight: 800; color: var(--navy); font-size: 1.125rem; }
.price-custom { font-size: .9375rem; color: var(--amber-dark); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey); }
.service-list li { border-bottom: 1px solid var(--grey); }
.service-row {
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px;
  padding: 14px 4px; text-decoration: none; color: var(--ink);
}
.service-row > * { grid-column: 1; }
.service-row::after {
  content: ""; grid-column: 2; grid-row: 1 / -1; align-self: center;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.service-row:hover { background: var(--blue-50); }
.service-row:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E3A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
.service-row-name { font-weight: 700; color: var(--navy); }
.service-row-desc { font-size: .875rem; color: var(--grey-dark); }
.service-row-price { font-weight: 800; color: var(--navy); }

.service-cards { display: grid; gap: 20px; }
.service-card {
  position: relative;
  border: 1px solid var(--grey); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; background: var(--white);
}
.service-card:hover { border-color: var(--blue); }
/* image fills the card head — no double border/radius inside the card */
.service-card .img-slot { border: 0; border-radius: 0; }
/* whole card activates the heading link */
.service-card-body h2 a::after { content: ""; position: absolute; inset: 0; }
.service-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.service-card-body h2 { font-size: 1.125rem; margin: 0; }
.service-card-body h2 a { color: var(--navy); text-decoration: none; }
.service-card-body h2 a:hover { color: var(--blue); }
.service-card-body p { margin: 0; font-size: .9375rem; }
.service-card-body .text-link { margin-top: auto; padding-top: 8px; position: relative; }
.post-meta { font-size: .8125rem; color: var(--grey-dark); }

/* ---------- steps (route-line connector) ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
}
.steps li {
  position: relative; padding: 0 0 28px 28px;
  border-left: 3px dashed var(--amber);
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: ""; position: absolute; left: -9px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--amber);
}
.section-navy .steps li::before { background: var(--navy); }
.steps h3, .steps .h3 { margin: 0 0 6px; }
.steps p { margin: 0 0 8px; font-size: .9375rem; }
.steps-detail li { padding-bottom: 36px; }
.steps-detail p { font-size: 1rem; }

/* ---------- split layouts ---------- */
.split { display: grid; gap: 24px; align-items: start; }
.split-copy > :last-child, .split-side > :last-child { margin-bottom: 0; }

/* ---------- lists ---------- */
.check-list { list-style: none; margin: 0 0 20px; padding: 0; }
.check-list li {
  position: relative; padding: 8px 0 8px 30px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section-navy .check-list li, .check-list-light li { border-bottom-color: rgba(255,255,255,.15); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 16px; height: 16px; border-radius: 50%;
  background-color: var(--blue-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231E3A8A' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.2 5.6z'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.plain-list { padding-left: 20px; margin: 0; }
.plain-list li { margin-bottom: 8px; }
.plain-list-lg li { margin-bottom: 14px; font-size: 1.0625rem; }
.extra-list { list-style: none; margin: 0 0 16px; padding: 0; }
.extra-list li { padding: 8px 0; border-bottom: 1px solid var(--grey); }
.extra-list small { color: var(--grey-dark); }

/* ---------- reviews: looping marquee (one row, all screens) ---------- */
.reviews-marquee {
  overflow: hidden;
  margin: 0 -16px;               /* bleed to screen edge on mobile */
  padding: 4px 0;
}
.reviews-track {
  display: flex; gap: 14px;
  width: max-content;
  padding: 0 14px;
  animation: review-marquee 90s linear infinite;
}
.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes review-marquee {
  to { transform: translateX(-50%); }
}
.review {
  flex: 0 0 290px;
  margin: 0; padding: 20px 18px 18px; border: 1px solid var(--grey);
  border-radius: var(--radius-card);
  background: var(--white);
  display: flex; flex-direction: column;
}
.review::before {
  content: "\201C";
  display: block; height: 22px;
  font-size: 40px; line-height: .8; font-weight: 800;
  color: var(--amber);
}
.review-stars { color: var(--amber-dark); font-size: .9375rem; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 12px; font-size: .9375rem; flex: 1; }
.review figcaption { font-size: .8125rem; font-weight: 700; color: var(--navy); }
@media (min-width: 768px) {
  .review { flex-basis: 330px; }
  .reviews-marquee { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee { overflow-x: auto; }
  .reviews-track { animation: none; }
}

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--amber); color: var(--navy);
  border-radius: var(--radius-card); padding: 24px;
  display: grid; gap: 16px; align-items: center;
}
.cta-panel h2 { color: var(--navy); margin: 0 0 8px; }
.cta-panel p { margin: 0; max-width: 55ch; }
.cta-panel-sm { padding: 20px; margin-top: 32px; }
.cta-panel-sm .h3 { color: var(--navy); margin: 0 0 4px; }

/* ---------- FAQ & posts ---------- */
.faq-list, .faq-teaser { border-top: 1px solid var(--grey); }
.faq-item { border-bottom: 1px solid var(--grey); }
.faq-item summary {
  display: block; /* removes the default marker consistently */
  position: relative; cursor: pointer; list-style: none;
  padding: 14px 40px 14px 0; min-height: 44px;
  font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; line-height: 1;
  color: var(--amber-dark);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--blue); }
.faq-item .faq-a { margin: 0; padding: 0 0 16px; font-size: .9375rem; max-width: 68ch; }
.faq-blog-grid { display: grid; gap: 36px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey); }
.post-list li { border-bottom: 1px solid var(--grey); }
.post-row {
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px;
  padding: 12px 4px; text-decoration: none; color: var(--ink);
}
.post-row > * { grid-column: 1; }
.post-row::after {
  content: ""; grid-column: 2; grid-row: 1 / -1; align-self: center;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.post-row:hover { background: var(--blue-50); }
.post-row:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E3A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
.post-row-title { font-weight: 700; color: var(--navy); }
.post-row-date { font-size: .8125rem; color: var(--grey-dark); }
.prose p, .prose li { max-width: 68ch; font-size: 1.0625rem; }
.prose h2 { margin-top: 32px; font-size: 1.25rem; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; }
.price-table, .mini-table, .admin-table {
  width: 100%; border-collapse: collapse; font-size: .9375rem;
}
.price-table th, .price-table td,
.mini-table th, .mini-table td,
.admin-table th, .admin-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--grey);
}
.price-table th, .mini-table th, .admin-table th {
  color: var(--navy); font-weight: 700; white-space: nowrap;
}
.price-table tbody tr:nth-child(even),
.admin-table tbody tr:nth-child(even) { background: var(--grey-50); }
.price-table td strong, .mini-table td strong { color: var(--navy); }
.price-table td:first-child { font-weight: 600; }
.table-note { font-size: .875rem; color: var(--grey-dark); margin-top: 10px; }
.mini-table { margin: 16px 0 20px; max-width: 380px; }

/* ---------- page head / cards ---------- */
.page-head { background: var(--blue-50); padding: 32px 0; border-bottom: 1px solid var(--grey); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lede { margin: 0; }
.crumbs { font-size: .875rem; margin-bottom: 12px; color: var(--grey-dark); }
.crumbs a { color: var(--navy); }

.card {
  background: var(--white); border: 1px solid var(--grey);
  border-radius: var(--radius-card); padding: 20px;
}
.table-card { margin-top: 20px; }
.notes-card h2::after {
  content: "";
  display: block;
  width: 72px; height: 6px; margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23F59E0B'/%3E%3Cline x1='10' y1='3' x2='62' y2='3' stroke='%23F59E0B' stroke-width='2.5' stroke-dasharray='6 6'/%3E%3Ccircle cx='69' cy='3' r='3' fill='%23F59E0B'/%3E%3C/svg%3E") no-repeat left center;
}
.side-card { margin-top: 16px; }
.side-card .h3, .side-card h3 { margin-top: 0; }
.side-note { font-size: .875rem; color: var(--grey-dark); }
.slot { color: var(--grey-dark); font-style: italic; }
.empty {
  color: var(--grey-dark);
  padding: 20px; border: 1px dashed var(--grey);
  border-radius: var(--radius-card); background: var(--grey-50);
}

/* ---------- forms ---------- */
.form-layout { display: grid; gap: 24px; }
.form-card fieldset { border: 0; border-top: 1px solid var(--grey); margin: 20px 0 0; padding: 16px 0 0; }
.form-card legend {
  font-weight: 800; color: var(--navy); font-size: 1rem;
  padding-right: 12px;
}
.form-card h2 { margin-top: 0; }
.form-narrow { max-width: 420px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.field label, .field-label { font-weight: 600; font-size: .9375rem; }
.field small { font-weight: 400; color: var(--grey-dark); }
.field input, .field select, .field textarea,
.news-form input, .news-form select {
  font: inherit; font-size: 16px; /* no iOS zoom */
  min-height: 44px;
  padding: 10px 12px; border: 1.5px solid var(--grey); border-radius: var(--radius-btn);
  background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 110px; }
.field select, .news-form select, .status-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E3A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center; background-size: 16px;
  padding-right: 36px;
}
.field input[type="file"] {
  border-style: dashed; background: var(--grey-50);
  padding: 12px; line-height: 1.4;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
}
.field-row { display: grid; gap: 0 14px; }
.req { color: var(--err); }
.field-err { color: var(--err); font-size: .875rem; margin: 0; }
.form-note { padding: 12px 14px; border-radius: var(--radius-btn); margin: 0 0 14px; }
.form-ok { background: #DCFCE7; color: var(--ok); border: 1px solid var(--ok); }
.form-err { background: #FEE2E2; color: var(--err); border: 1px solid var(--err); }
.check {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; font-size: .9375rem; cursor: pointer;
}
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
/* choice chips: selectable options as bordered cards */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices .check {
  align-items: center; margin: 0;
  padding: 10px 12px; min-height: 44px;
  border: 1.5px solid var(--grey); border-radius: var(--radius-btn);
  background: var(--white);
}
.choices .check input { margin-top: 0; }
.choices .check:hover { border-color: var(--blue); }
.choices .check:has(input:checked) {
  border-color: var(--blue); background: var(--blue-50);
}
.choices .check:has(input:focus-visible) {
  outline: 3px solid var(--amber); outline-offset: 2px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-summary {
  background: var(--blue-50); border: 1px solid var(--grey);
  padding: 12px 14px; border-radius: var(--radius-btn); margin: 16px 0;
  font-size: .9375rem;
}
.form-summary p { margin: 0; }
.form-side { display: grid; gap: 16px; align-content: start; }

/* estimate page */
.estimate-layout { display: grid; gap: 24px; }
.estimate-tool h2 { margin-top: 0; }
.result-card { border: 2px solid var(--navy); border-radius: var(--radius-card); padding: 20px; }
.result-error { border-color: var(--err); }
.result-empty { border-color: var(--grey); color: var(--grey-dark); }
.result-route { font-weight: 700; color: var(--grey-dark); margin-bottom: 10px; }
.result-lines { margin: 0 0 12px; }
.result-lines > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--grey);
}
.result-lines dt { color: var(--grey-dark); }
.result-lines dd { margin: 0; font-weight: 700; }
.result-total dd, .result-total dt { color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.result-vehicle { font-size: .9375rem; margin: 8px 0; }
.result-note { font-size: .875rem; color: var(--grey-dark); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* confirmation */
.confirm-layout { display: grid; gap: 24px; }
.confirm-ref-label { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-dark); margin: 0; }
.confirm-ref { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 14px; letter-spacing: .02em; }

/* contact */
.contact-layout { display: grid; gap: 24px; }
.contact-methods { display: grid; gap: 12px; align-content: start; }
.contact-tile {
  display: block; padding: 16px; border: 1px solid var(--grey);
  border-radius: var(--radius-card);
  text-decoration: none; color: var(--ink); background: var(--white);
}
a.contact-tile:hover, a.contact-tile:focus-visible { border-color: var(--blue); }
.contact-tile strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-tile span { font-size: .9375rem; }

/* ---------- photo gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-grid .img-slot { border-radius: var(--radius-card); }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--blue-50); margin-top: 0; }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.footer-about p { font-size: .9375rem; margin: 12px 0; max-width: 40ch; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.footer-contact li { margin-bottom: 6px; }
.footer-title { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { color: var(--blue-50); text-decoration: none; font-size: .9375rem; padding: 4px 0; display: inline-block; }
.footer-col a:hover { color: var(--yellow); }
.news-form { display: grid; gap: 10px; }
.news-form .check { font-size: .8125rem; color: var(--blue-50); }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8125rem;
}
.footer-base p { margin: 0; }
.footer-base ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-base a { color: var(--blue-50); }
.footer-base a:hover { color: var(--yellow); }
.footer-credit a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- floating contact & sticky CTA ---------- */
.float-contact {
  position: fixed; right: 12px; bottom: 16px;
  display: flex; flex-direction: column; gap: 10px; z-index: 60;
}
.float-btn {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
}
.float-wa { background: #25D366; } /* official WhatsApp brand green */
.float-wa:hover { background: #1FB859; }
.float-call { background: var(--blue); }
.float-call:hover { background: var(--blue-dark); }
.float-btn:hover { color: var(--white); }
.float-btn:focus-visible { outline-offset: 3px; }

/* ---------- admin ---------- */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-grid { display: grid; gap: 20px; }
.admin-card h2 { margin-top: 0; font-size: 1.125rem; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { padding: 10px 0; border-bottom: 1px solid var(--grey); font-size: .9375rem; }
.status-form { display: flex; gap: 6px; align-items: center; }
.status-form select, .status-form input { font: inherit; font-size: .8125rem; padding: 6px 8px; border: 1px solid var(--grey); border-radius: var(--radius-btn); }
.status-form input { width: 120px; }

/* ================= 768px ================= */
@media (min-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .container { padding: 0 24px; }

  .hero { padding: 48px 0 56px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
  .hero-card { margin-top: 0; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }

  .est-fields { grid-template-columns: 1fr 1fr; }
  .est-submit { grid-column: 1 / -1; }

  .services-layout { grid-template-columns: 1fr 1.2fr; gap: 36px; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: 1 / -1; flex-direction: row; }
  .service-card-wide .img-slot { flex: 0 0 44%; }
  .service-card-wide .service-card-body { flex: 1; padding: 20px; }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .steps li { border-left: 0; border-top: 3px dashed var(--amber); padding: 20px 8px 0 0; }
  .steps li:last-child { border-top-color: var(--amber); }
  .steps li::before { left: 0; top: -9px; }
  .steps-detail { grid-template-columns: 1fr 1fr; }
  .steps-detail li { border-top: 0; border-left: 3px dashed var(--amber); padding: 0 0 32px 28px; }
  .steps-detail li::before { left: -9px; top: 6px; }
  .steps-detail li:last-child { border-left-color: transparent; }

  .split { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .split-rev .split-media { order: -1; }

  .cta-panel { grid-template-columns: 1fr auto; padding: 32px; }
  .faq-blog-grid { grid-template-columns: 1fr 1fr; gap: 48px; }

  .form-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .estimate-layout { grid-template-columns: .9fr 1.1fr; gap: 32px; }
  .confirm-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 36px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
}

/* ================= 1024px ================= */
@media (min-width: 1024px) {
  .float-contact { bottom: 20px; right: 20px; }

  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; align-items: center; gap: 24px;
    background: transparent; border: 0; padding: 0;
  }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li { border: 0; }
  .site-nav a:not(.btn) { padding: 8px 10px; font-size: .9375rem; }
  .site-nav a:not(.btn):hover { color: var(--yellow); }
  .nav-quote { margin: 0; width: auto; min-height: 40px; padding: 8px 16px; }

  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 56px 0; }
}

/* ================= 1280px ================= */
@media (min-width: 1280px) {
  h1 { font-size: 2.75rem; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
}

/* ================= mobile (< 768px) spacing & 2-per-line cards =================
   One media block for all mobile overrides:
   edge padding = card gap = card padding = 6px. */
@media (max-width: 767.98px) {
  .container { padding: 0 6px; }
  .page-head { padding: 26px 0; }
  .reviews-marquee { margin: 0 -6px; }

  /* button pairs share one line, equal width, compact */
  .result-actions { display: flex; flex-wrap: nowrap; gap: 6px; }
  .result-actions .btn {
    flex: 1 1 0; min-width: 0;
    min-height: 42px; padding: 9px 8px;
    font-size: .875rem; white-space: nowrap;
  }

  /* 2-per-line grids — only cards that stay readable at half width */
  .service-cards,
  .trust-grid,
  .contact-methods,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .service-card-wide { grid-column: 1 / -1; }

  /* card padding: 6px horizontal everywhere it applies */
  .service-card-body { padding: 10px 6px; }
  .contact-tile { padding: 10px 6px; }
  .trust-grid { gap: 12px 6px; }
  .trust-item { padding: 10px 6px; }

  /* tighter type inside half-width cards */
  .service-card-body h2 { font-size: .9375rem; }
  .service-card-body p { font-size: .8125rem; }
  .service-card-body .price-tag { font-size: .875rem; }
  .post-meta { font-size: .75rem; }
  .trust-item strong { font-size: .8125rem; }
  .trust-item span { font-size: .75rem; line-height: 1.45; }
  .contact-tile strong { font-size: .875rem; }
  .contact-tile span { font-size: .8125rem; }

  /* keep single-column: steps, forms, split/prose, list rows, tables — unchanged */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .float-contact, .hero-actions { display: none; }
}
