/* ============================================================
   QDOS Bodyshop Landing Page — page styles
   Built against the QDOS design-system tokens (css/design-system).
   Faithful recreation of the approved design handoff.
   ============================================================ */

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--gray-0);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
p, li, span { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--text-link); }

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

/* ---------- Layout helpers ---------- */
.container { max-width: 1180px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); }
.container--narrow { max-width: 940px; }
.container--wide { max-width: 1180px; }
.section { padding-block: clamp(64px, 9vw, 104px); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.eyebrow--light { color: var(--red-300); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 14px 0 0;
}
.h2--light { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-md);
  padding: 0 22px;
  height: 42px;
  transition: background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.btn--primary { background: var(--brand); color: var(--brand-on); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { background: var(--brand-active); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--lg { height: 56px; font-size: 18px; padding: 0 30px; }
.btn--block { display: flex; width: 100%; height: 54px; font-size: 18px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 13px clamp(18px, 4vw, 32px);
  max-width: 1180px;
  margin: 0 auto;
}
.site-header__logo { height: 34px; width: auto; flex: none; }
.site-header__spacer { flex: 1; min-width: 8px; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}
.phone-link svg { flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--gray-900); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: 0.44;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,20,22,0.95) 0%, rgba(18,20,22,0.82) 42%, rgba(18,20,22,0.42) 100%);
}
.hero__inner {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(72px, 10vw, 116px) clamp(18px, 4vw, 32px) clamp(64px, 8vw, 100px);
}
.hero__content { max-width: 700px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 22px;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
  color: rgba(255,255,255,0.84);
  margin: 0 0 34px;
  max-width: 610px;
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.trust-point {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.trust-point svg { flex: none; }

/* ---------- Proof band ---------- */
.proof-band { background: var(--brand); }
.proof-band__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 32px);
  display: flex; gap: 24px 56px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.stat { color: #fff; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}

/* ---------- Problem ---------- */
.prose { max-width: 680px; font-size: 18px; line-height: 1.72; color: var(--text-body); }
.prose p { margin: 0 0 20px; }
.problem__lead h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 14px 0 28px;
  max-width: 760px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 0 0 30px;
}
.option-card {
  background: var(--gray-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.option-card__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.option-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.option-card strong { color: var(--text-strong); }
.quote-card {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  padding: 28px 30px;
  max-width: 760px;
}
.quote-card p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
}
.quote-card .accent { color: var(--red-300); font-weight: 700; }

/* ---------- Solution ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.solution h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 14px 0 24px;
}
.solution p { margin: 0 0 18px; font-size: 18px; line-height: 1.72; color: var(--text-body); }
.solution p + p { margin: 0 0 26px; }
.callout {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.callout svg { flex: none; }
.callout span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text-strong);
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
.media-frame img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

/* ---------- Benefits ---------- */
.section-head { max-width: 720px; margin-bottom: 44px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.benefit-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand);
  margin-bottom: 14px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.benefit-card p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--text-body); }
.hire-banner {
  margin-top: 22px;
  display: flex; align-items: center; gap: 14px;
  background: var(--brand-subtle);
  border: 1px solid var(--red-100);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
.hire-banner svg { flex: none; }
.hire-banner p { margin: 0; font-size: clamp(16px, 2vw, 18px); line-height: 1.55; color: var(--text-strong); }
.hire-banner strong { font-family: var(--font-display); }

/* ---------- Offer (dark) ---------- */
.offer { background: var(--gray-900); position: relative; overflow: hidden; }
.offer__glow {
  position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(192,0,0,0.16); filter: blur(20px);
  pointer-events: none;
}
.offer__inner { position: relative; max-width: 760px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); text-align: center; }
.offer h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 12px;
}
.offer__sub { margin: 0 auto 36px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 520px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  text-align: left;
  margin-bottom: 38px;
}
.offer-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.offer-item svg { flex: none; margin-top: 1px; }
.offer-item span { font-size: 16.5px; line-height: 1.5; color: #fff; }
.offer__note { margin: 0 0 30px; font-size: 15px; color: rgba(255,255,255,0.6); }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.step-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  color: var(--gray-200);
}
.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-strong);
  margin: 28px 0 10px;
}
.step-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-body); }
.step-card--brand {
  background: var(--brand);
  border: 0;
  color: #fff;
  position: relative;
}
.step-card--brand .step-card__num { color: rgba(255,255,255,0.4); }
.step-card--brand h3 { color: #fff; margin-top: 0; }
.step-card--brand p { color: rgba(255,255,255,0.88); }
.step-pill {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 14px 0 12px;
}

/* ---------- Why QDOS ---------- */
.why h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 14px 0 22px;
}
.why p { margin: 0 0 18px; font-size: 18px; line-height: 1.72; color: var(--text-body); }
.why p + p { margin: 0 0 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cred-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text-strong);
}
.cred-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.testimonial-wrap { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.testimonial {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}
.testimonial svg { margin-bottom: 8px; }
.testimonial blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  color: var(--text-strong);
}
.testimonial cite { font-style: normal; font-size: 15px; font-weight: 700; color: var(--text-strong); }

/* ---------- FAQ ---------- */
.faq-head { margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px;
  list-style: none;
  cursor: pointer;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-strong);
  transition: color var(--dur-base) var(--ease-standard);
}
.faq-chev { flex: none; transition: transform var(--dur-base) var(--ease-standard); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item[open] .faq-q { color: var(--brand); }
.faq-item > p { margin: 0; padding: 0 4px 24px; font-size: 16.5px; line-height: 1.68; color: var(--text-body); }

/* ---------- Enquiry ---------- */
.enquiry { background: var(--gray-900); position: relative; overflow: hidden; }
.enquiry__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.16;
}
.enquiry__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,20,22,0.96) 0%, rgba(18,20,22,0.86) 55%, rgba(18,20,22,0.78) 100%);
}
.enquiry__inner {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 32px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.enquiry h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 20px;
}
.enquiry__lead { margin: 0 0 28px; font-size: 18px; line-height: 1.62; color: rgba(255,255,255,0.82); max-width: 460px; }
.enquiry__contact { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; }
.enquiry__office { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
.enquiry__office a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; }

/* PhoneCTA */
.phone-cta {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none;
  border-radius: var(--radius-md);
}
.phone-cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: rgba(192,0,0,0.22);
  border: 1px solid rgba(232,128,128,0.4);
}
.phone-cta__text { display: flex; flex-direction: column; line-height: 1.15; }
.phone-cta__label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.phone-cta__number { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; }
.phone-cta:hover .phone-cta__number { color: var(--red-300); }

/* Lead form card */
.form-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 3vw, 38px);
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form__head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-strong);
  margin: 0 0 4px;
}
.lead-form__head p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.field .req { color: var(--brand); }
.field input {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-strong);
  box-shadow: var(--shadow-xs);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus { border-color: var(--brand); box-shadow: var(--shadow-focus); }
.field input:user-invalid { border-color: var(--danger); }
.lead-form__fineprint { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); text-align: center; }
/* Honeypot — visually hidden, off-screen, not announced */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
/* Form error state */
.form-error {
  display: none;
  gap: 10px; align-items: flex-start;
  background: var(--danger-subtle);
  border: 1px solid var(--red-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px; line-height: 1.5;
  color: var(--red-700);
}
.form-error.is-visible { display: flex; }
.form-error a { color: var(--red-700); font-weight: 700; white-space: nowrap; }

/* Success state */
.form-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding: 18px 4px;
}
.form-success__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--success-subtle);
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-strong);
  margin: 0;
}
.form-success p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-body); max-width: 300px; }
.form-success a { color: var(--text-link); text-decoration: none; font-weight: 600; white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px clamp(18px, 4vw, 32px) 40px;
}
.site-footer__inner { max-width: 1080px; margin: 0 auto; }
.site-footer__top {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand { max-width: 380px; }
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { margin: 0; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.62); }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer__contact > div { display: flex; align-items: center; gap: 9px; }
.site-footer__contact svg { flex: none; }
.site-footer__contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer__legal {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  justify-content: space-between; align-items: center;
}
.site-footer__legal p { margin: 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.45); }
.site-footer__legal .compliance { max-width: 680px; }
.site-footer__legal .copyright { white-space: nowrap; }

@media (max-width: 560px) {
  .phone-link { font-size: 15px; }
  .site-header__inner { gap: 12px; }
  /* Keep the CTA label on one line — shrink to fit narrow screens */
  .btn { font-size: 15px; padding-inline: 16px; white-space: nowrap; }
  .btn--lg { font-size: 15px; height: 52px; }
  .btn--block { font-size: 15px; }
}
