/* ==========================================================================
   sanantoniomobilehometransport.com — Page Styles
   Industrial / logistics identity: steel + safety orange, route-line and
   mile-marker motifs, permit-stamp badge. Distinct from the dealer-lot
   sites — this is the moving crew, not a showroom. Nav/footer styles live
   in /nav.css. All text/background pairs computed >= 4.5:1 before shipping.
   ========================================================================== */

:root {
  --steel: #1E2A32;
  --steel-deep: #161F25;
  --slate: #2B3944;
  --slate-line: #3D4952;
  --bone: #F3F1EA;
  --card: #FFFFFF;
  --ink: #1A2126;
  --ink-soft: #55606A;
  --orange: #E8590C;
  --orange-bright: #FF7A2E;
  --orange-deep: #A83E08;
  --muted-dark: #A9B2BC;   /* muted text on steel: 6.8:1 */
  --rule-light: #DEDCD3;
  --sans: system-ui, "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SFMono-Regular", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-text-size-adjust: 100%;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }

a { color: var(--orange-deep); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.hero .eyebrow, .cta-band .eyebrow, .section--dark .eyebrow { color: var(--orange-bright); }

.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-deep);
  background: var(--orange);
  border-radius: 4px;
  padding: 4px 10px 3px;
}

.section { padding: 72px 0; }
.section--dark { background: var(--steel); color: var(--bone); }
.section--card { background: var(--card); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--tight { margin-bottom: 0; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--ink-soft); }
.section--dark .section-head p { color: var(--muted-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  padding: 15px 28px;
  min-height: 48px;
  cursor: pointer;
  border: 0;
}
.btn--orange { background: var(--orange); color: var(--steel-deep); }
.btn--orange:hover { background: var(--orange-bright); }
.btn--ghost-dark { border: 1.5px solid rgba(243, 241, 234, 0.5); color: var(--bone); background: none; }
.btn--ghost-dark:hover { border-color: var(--bone); }
.btn--steel { background: var(--steel); color: var(--bone); }
.btn--steel:hover { background: var(--slate); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hazard stripe rule (safety-tape motif) ---------- */
.hazard-rule {
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--orange) 0 18px, var(--steel-deep) 18px 36px);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--steel);
  color: var(--bone);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -160px auto;
  width: 420px;
  height: 420px;
  border: 2px dashed rgba(255, 122, 46, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 800;
  max-width: 760px;
}
.hero h1 em { font-style: normal; color: var(--orange-bright); }
.hero .lede {
  margin: 20px 0 30px;
  max-width: 640px;
  font-size: 1.12rem;
  color: var(--muted-dark);
}
.hero-points { display: flex; gap: 20px 28px; flex-wrap: wrap; margin-top: 34px; padding: 0; list-style: none; }
.hero-points li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bone);
  padding-left: 24px;
  position: relative;
}
.hero-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange-bright);
  font-weight: 800;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--steel-deep);
  color: var(--bone);
  padding: 26px 0;
  border-top: 1px solid var(--slate-line);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--orange-bright); }
.trust-item span { font-size: 0.78rem; color: var(--muted-dark); }

/* ---------- Steps (mile-marker motif) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  padding: 28px 22px 24px;
  position: relative;
}
.section--dark .step { background: var(--slate); border-color: var(--slate-line); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--steel-deep);
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 3px solid var(--bone);
  box-shadow: 0 0 0 2px var(--steel-deep);
}
.section--card .step-num,
.offer-band .step-num { box-shadow: 0 0 0 2px var(--card); }
.step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.section--dark .step h3 { color: var(--bone); }
.section--dark .step p { color: var(--muted-dark); }

/* ---------- Quote form ---------- */
.offer-band { background: var(--bone); }
.offer-ticket {
  background: var(--card);
  border: 2px dashed var(--orange);
  border-radius: 14px;
  padding: 40px clamp(20px, 4vw, 48px) 32px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.offer-ticket::before {
  content: "QUOTE REQUEST";
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--orange);
  color: var(--steel-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 4px;
}
.offer-ticket .offer-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.form-wrap { margin-top: 22px; }
.form-wrap iframe { width: 100%; border: none; border-radius: 8px; }

/* ---------- Service / process cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--orange);
}
.service .chip { align-self: flex-start; margin-bottom: 16px; }
.service h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.service p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.service a.service-link {
  margin-top: 18px;
  font-weight: 700;
  color: var(--orange-deep);
  text-decoration: none;
}
.service a.service-link:hover { text-decoration: underline; }

/* ---------- Permit-stamp badge ---------- */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  transform: rotate(-2deg);
}
.stamp .stamp-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--steel-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.stamp span.stamp-text {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.section--dark .stamp span.stamp-text { color: var(--orange-bright); }

/* ---------- Answer box (direct PAA answers) ---------- */
.answer-box {
  background: var(--steel);
  color: var(--bone);
  border-radius: 12px;
  padding: 30px 28px;
  margin: 28px 0 8px;
  border-left: 6px solid var(--orange);
}
.answer-box .chip { margin-bottom: 12px; }
.answer-box p { font-size: 1.03rem; color: var(--bone); }
.answer-box .answer-figure {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange-bright);
  display: block;
  margin-top: 6px;
}

/* ---------- Cost factor table ---------- */
.cost-scroll { overflow-x: auto; }
.cost-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.93rem;
}
.cost-table th, .cost-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.cost-table thead th {
  background: var(--steel);
  color: var(--bone);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cost-table tbody th { font-weight: 700; white-space: nowrap; }
.cost-table td.range { font-family: var(--mono); font-weight: 700; color: var(--orange-deep); white-space: nowrap; }
.cost-table td { color: var(--ink-soft); }

/* ---------- Factbox ---------- */
.factbox {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 26px 0;
}
.factbox p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 8px; }
.factbox strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 34px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 0 20px; color: var(--ink-soft); font-size: 0.97rem; }
.faq .faq-a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--steel);
  color: var(--bone);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.cta-band p { margin: 14px auto 28px; max-width: 560px; color: var(--muted-dark); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Subpage head ---------- */
.page-head {
  background: var(--steel);
  color: var(--bone);
  padding: 64px 0 52px;
}
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 800; max-width: 760px; }
.page-head .lede { margin-top: 16px; max-width: 640px; font-size: 1.08rem; color: var(--muted-dark); }
.page-head .updated { margin-top: 14px; font-size: 0.82rem; color: var(--muted-dark); }
.page-head .btn-row { margin-top: 26px; }

.page-body { padding: 64px 0; }

/* ---------- Prose (long-form / legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange-deep); }
.section--dark .prose p { color: var(--muted-dark); }
.section--dark .prose a { color: var(--orange-bright); }

/* ---------- Info cards (contact) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  padding: 26px 24px;
}
.info-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.info-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 8px; }
.info-card a { color: var(--orange-deep); font-weight: 600; }

.contact-form-block { padding: 64px 0 0; }

/* ---------- Service-area radius diagram ---------- */
.radius-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .radius-wrap { grid-template-columns: 1fr; } }
.radius-diagram { width: 100%; max-width: 380px; margin: 0 auto; }
.radius-legend { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.radius-legend .legend-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); }
.radius-legend .swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; }

.county-groups { display: grid; gap: 22px; }
.county-group {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  padding: 22px 24px;
}
.county-group h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 4px; }
.county-group .band-note { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 14px; }
.county-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.county-list li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- 404 ---------- */
.err-list { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.err-list li { border-bottom: 1px solid var(--rule-light); }
.err-list a {
  display: block;
  padding: 15px 4px;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.err-list a:hover { color: var(--orange-deep); text-decoration: underline; }
