/* ==========================================================================
   buysellmovemobilehomestexas.com — Page Styles
   "The Deal Desk" — action/offer-oriented. Dark graphite + gold, heavy type,
   big-number steps, offer-ticket motif. Nav/footer styles live in /nav.css.
   All text/background pairs computed >= 4.5:1 before shipping.
   ========================================================================== */

:root {
  --graphite: #191D21;
  --graphite-deep: #14171A;
  --slate: #22272D;
  --slate-line: #343B43;
  --bone: #F2F1EC;
  --card: #FFFFFF;
  --ink: #1B1F23;
  --ink-soft: #565D66;
  --gold: #E8A33D;
  --gold-bright: #F0B65A;
  --gold-deep: #7A4F0B;
  --muted-dark: #A9B2BC;   /* muted text on graphite: 7.8:1 */
  --rule-light: #DEDCD3;
  --sans: system-ui, "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { 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 { 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(--gold-deep); }

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

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

.section { padding: 72px 0; }
.section--dark { background: var(--graphite); 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: 28px;
  padding: 15px 28px;
  min-height: 48px;
  cursor: pointer;
  border: 0;
}
.btn--gold { background: var(--gold); color: var(--graphite); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost-dark { border: 1.5px solid rgba(242, 241, 236, 0.5); color: var(--bone); background: none; }
.btn--ghost-dark:hover { border-color: var(--bone); }
.btn--graphite { background: var(--graphite); color: var(--bone); }
.btn--graphite:hover { background: var(--slate); }

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

/* ---------- Hero ---------- */
.hero {
  background: var(--graphite);
  color: var(--bone);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -180px auto;
  width: 460px;
  height: 460px;
  border: 2px dashed rgba(232, 163, 61, 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(--gold); }
.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(--gold);
  font-weight: 800;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--graphite-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(--gold); }
.trust-item span { font-size: 0.78rem; color: var(--muted-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 30px 26px 26px;
  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: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--graphite);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
.section--dark .step h3 { color: var(--bone); }
.section--dark .step p { color: var(--muted-dark); }

/* ---------- Offer ticket / form ---------- */
.offer-band { background: var(--bone); }
.offer-ticket {
  background: var(--card);
  border: 2px dashed var(--gold);
  border-radius: 16px;
  padding: 40px clamp(20px, 4vw, 48px) 32px;
  max-width: 860px;
  margin: 0 auto;
}
.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 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: 12px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.service .chip { align-self: flex-start; margin-bottom: 16px; }
.service h3 { font-size: 1.25rem; 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(--gold-deep);
  text-decoration: none;
}
.service a.service-link:hover { text-decoration: underline; }

/* ---------- Compare table ---------- */
.compare-scroll { overflow-x: auto; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.93rem;
}
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.compare thead th {
  background: var(--graphite);
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare td { color: var(--ink-soft); }
.compare tr.compare-hl td, .compare tr.compare-hl th { background: #FBF3E3; }

/* ---------- Factbox ---------- */
.factbox {
  background: var(--card);
  border: 1px solid var(--rule-light);
  border-top: 4px solid var(--gold);
  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(--gold-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(--graphite);
  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(--graphite);
  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(--gold-deep); }
.section--dark .prose p { color: var(--muted-dark); }
.section--dark .prose a { color: var(--gold); }

/* ---------- 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: 12px;
  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(--gold-deep); font-weight: 600; }

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

/* ---------- 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(--gold-deep); text-decoration: underline; }
