/* ==========================================================================
   SIDHU MOTORS INC. — inner-page layer
   Sits on top of style.css. Reuses the same tokens + components
   (.eq-card, .process__steps, .faq__*, .cta, .trust, .resources, .section-label)
   and adds the few pieces inner pages need: page hero, breadcrumb, prose,
   split layout, comparison table, callout, checklist.
   ========================================================================== */

/* ---------- Page hero (compact, no canvas) ---------- */
.page-hero {
  position: relative;
  padding: clamp(140px, 22vh, 230px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 120% at 85% 0%, var(--hero-inner) 0%, var(--bg) 55%);
}
.page-hero__crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3.5vh, 34px);
}
.page-hero__crumb a { color: var(--muted); transition: color 0.25s ease; }
.page-hero__crumb a:hover { color: var(--red); }
.page-hero__crumb .sep { color: var(--red); }
.page-hero__crumb [aria-current] { color: var(--text); }
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: clamp(14px, 2vh, 22px);
}
.page-hero__eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); margin: 0 10px; vertical-align: middle;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
  max-width: 16ch;
}
.page-hero__title em { color: var(--red); }
.page-hero__sub {
  margin-top: clamp(20px, 3vh, 30px);
  font-size: clamp(15px, 1.45vw, 19px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}
.page-hero__cta {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.page-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 54px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(26px, 4vh, 38px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.page-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 6px;
}

/* ---------- Generic section rhythm ---------- */
.section { padding: clamp(80px, 13vh, 160px) 0; }
.section--surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--tight { padding: clamp(60px, 9vh, 110px) 0; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 92px);
  line-height: 0.96;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.section__title em { color: var(--red); }
.section__title--mb0 { margin-bottom: 0; }

/* ---------- Lede (lead paragraph) ---------- */
.lede {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  max-width: 1120px;
}
.lede em { color: var(--red); }

/* ---------- Split: main content + sticky aside ---------- */
.split {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.aside-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 36px);
  position: sticky;
  top: 100px;
  background: var(--bg-surface);
}
.aside-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 18px;
}
.aside-card dl { display: grid; grid-template-columns: 1fr; gap: 0; }
.aside-card .row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-size: 14px;
}
.aside-card .row:first-child { border-top: 0; }
.aside-card dt { color: var(--muted); }
.aside-card dd { color: var(--text); text-align: right; font-weight: 500; }
.aside-card .btn { margin-top: 22px; width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* ---------- Prose (rich body copy) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 22px; }
.prose p { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.75; color: var(--text); }
.prose p.muted { color: var(--muted); }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: 0.02em;
  margin-top: 44px;
}
.prose h4 {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-top: 36px;
}
.prose strong { font-weight: 600; }
.prose a { color: var(--text); border-bottom: 1px solid var(--red); transition: color 0.2s ease; }
.prose a:hover { color: var(--red); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li {
  position: relative; padding-left: 26px; margin-top: 12px;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--text);
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; background: var(--red);
}
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 12px; color: var(--red);
}

/* ---------- Checklist (icon list) ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding-left: 34px;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6;
}
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  font-family: var(--font-mono); font-weight: 600; color: var(--red);
}
.checklist--no li::before { content: '✕'; color: var(--muted); }

/* ---------- Comparison / spec table ---------- */
.ctable-wrap { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; min-width: 520px; }
.ctable caption {
  text-align: left; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--muted); padding-bottom: 16px;
}
.ctable th, .ctable td {
  text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; vertical-align: top;
}
.ctable thead th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.ctable tbody th {
  font-weight: 600; color: var(--text); width: 30%;
}
.ctable td { color: var(--muted); }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }

/* ---------- Callout / pull-quote ---------- */
.callout {
  border-left: 3px solid var(--red);
  background: var(--bg-surface);
  padding: clamp(28px, 3vw, 44px);
  max-width: 880px;
}
.callout__q {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(20px, 2.3vw, 30px); line-height: 1.4; letter-spacing: -0.01em;
}
.callout__q em { color: var(--red); }
.callout__cite {
  display: block; margin-top: 20px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted);
}

/* ---------- Related pages (reuses .resources__grid feel) ---------- */
.related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px);
}
.link-card {
  border: 1px solid var(--line); padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; min-height: 180px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.link-card:hover { border-color: var(--red); transform: translateY(-6px); }
.link-card__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--red);
}
.link-card__name {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(22px, 2vw, 30px); margin: 14px 0 auto; text-transform: uppercase;
}
.link-card__meta { display: flex; justify-content: flex-end; margin-top: 24px; }
.link-card__arrow { font-size: 20px; color: var(--muted); transition: transform 0.3s ease, color 0.3s ease; }
.link-card:hover .link-card__arrow { transform: translate(5px, -5px); color: var(--red); }
@media (max-width: 880px) { .related__grid { grid-template-columns: 1fr; } }

/* ---------- Two-up media + copy ---------- */
.media-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.media-split__img {
  height: clamp(280px, 44vh, 520px); object-fit: cover;
  filter: grayscale(0.25) contrast(1.05); width: 100%;
}
.media-split--rev .media-split__copy { order: 2; }
@media (max-width: 820px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split--rev .media-split__copy { order: 0; }
}

/* ---------- Inline note ---------- */
.note {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted); opacity: 0.8; margin-top: 22px;
}

/* ---------- Contact / quote two-column ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.contact-list { list-style: none; display: grid; gap: 0; }
.contact-list li { border-top: 1px solid var(--line); padding: 20px 0; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--red); display: block; margin-bottom: 8px;
}
.contact-list .v { font-size: clamp(17px, 1.6vw, 22px); }
.contact-list .v a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-list .v a:hover { border-bottom-color: var(--red); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* form on a non-red surface (Contact / Quote pages) */
.form-panel {
  background: var(--red); color: var(--white);
  padding: clamp(28px, 3.5vw, 52px);
}
.form-panel .qf-field label { color: rgba(241,242,244,0.8); }
.form-panel .qf-field input,
.form-panel .qf-field select,
.form-panel .qf-field textarea {
  color: var(--white); border-bottom-color: rgba(241,242,244,0.45);
}
.form-panel .qf-field input::placeholder,
.form-panel .qf-field textarea::placeholder { color: rgba(241,242,244,0.6); }
.form-panel .qf-field select:invalid { color: rgba(241,242,244,0.7); }
.form-panel .qf-field select option { color: #111; }
.form-panel .qf-field input:focus,
.form-panel .qf-field select:focus,
.form-panel .qf-field textarea:focus { border-bottom-color: var(--white); }
.form-panel .quote-form__submit { background: var(--black); }
.form-panel .quote-form__submit::before { background: var(--white); }
.form-panel .quote-form__note { color: rgba(241,242,244,0.8); }
.form-panel .quote-form__success-title { color: var(--white); }
.form-panel .quote-form__success-link { color: var(--white); border-bottom-color: var(--white); }
