/* ==========================================================================
   page-beat-my-car-repair-quote.css
   Hidden quote comparison page.
   ========================================================================== */

body.page-beat-my-car-repair-quote .s-quote {
  --quote-hero-min: 580px;
  --quote-hero-gap: 72px;
  --quote-hero-photo-max: 600px;
  --quote-copy-max: 540px;
  --quote-head-max: 720px;
  --quote-faq-max: 860px;
  --quote-panel-max: 440px;
  --quote-hero-title: 56px;
  --quote-title-wide: 36px;
  --quote-title-mid: 36px;
  --quote-title-mobile: 26px;
  --quote-lead: 19px;
  --quote-lead-mobile: 17px;
  --quote-h3: 26px;
  --quote-form-max: 560px;
  --quote-field-min: 50px;
  --quote-field-focus: 0 0 0 3px rgba(232,0,14,.16);
  --quote-copy-dark: #45423E;
  --quote-copy-muted: #55524E;
  --quote-on-dark: #fff;
  --quote-mask-solid: #000;
  --quote-hero-bg: radial-gradient(120% 90% at 88% 18%, var(--color-page) 0%, var(--color-tint) 60%, var(--color-alt) 100%);
  --quote-white-soft: #FFE4E6;
  --quote-sticky-bg: rgba(28,31,38,.96);
  --quote-sticky-border: rgba(255,255,255,.12);
  --quote-panel-copy: #EDEBE8;
  --quote-card-shadow: 0 1px 4px rgba(0,0,0,.06), 0 5px 14px rgba(0,0,0,.05);
  --quote-success-bg: #E9F9EF;
  --quote-success-title: #064E3B;
  --quote-success-copy: #14532D;
  --quote-success-border-width: 3px;
  --quote-success-shadow: 0 14px 30px rgba(22,163,74,.18);

  color: var(--color-ink);
  background: var(--color-page);
  font-family: var(--font-body);
}

body.page-beat-my-car-repair-quote .s-quote__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-right: var(--container-pad);
  padding-left: var(--container-pad);
}

body.page-beat-my-car-repair-quote .s-quote h1,
body.page-beat-my-car-repair-quote .s-quote h2,
body.page-beat-my-car-repair-quote .s-quote h3 {
  font-family: var(--font-heading);
  line-height: var(--line-tight);
  letter-spacing: var(--letter-normal);
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote__eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-red);
  font-family: var(--font-heading);
  font-size: var(--text-eyebrow);
  font-weight: var(--font-bold);
  letter-spacing: var(--letter-eyebrow);
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote-hero {
  overflow: hidden;
  background: var(--quote-hero-bg);
}

body.page-beat-my-car-repair-quote .s-quote-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  column-gap: var(--quote-hero-gap);
  align-items: end;
  min-height: var(--quote-hero-min);
}

body.page-beat-my-car-repair-quote .s-quote-hero__photo {
  align-self: end;
  justify-self: start;
  margin-bottom: -1px;
  margin-left: calc(var(--container-pad) * -1);
}

body.page-beat-my-car-repair-quote .s-quote-hero__photo img {
  display: block;
  width: 100%;
  max-width: var(--quote-hero-photo-max);
  height: auto;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to bottom, var(--quote-mask-solid) 80%, transparent 100%), linear-gradient(to left, var(--quote-mask-solid) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, var(--quote-mask-solid) 80%, transparent 100%), linear-gradient(to left, var(--quote-mask-solid) 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body.page-beat-my-car-repair-quote .s-quote-hero__copy {
  align-self: center;
  max-width: var(--quote-copy-max);
  padding-top: var(--space-11);
  padding-bottom: var(--space-11);
}

body.page-beat-my-car-repair-quote .s-quote-hero__title {
  margin-bottom: var(--space-5);
  color: var(--color-ink);
  font-size: var(--quote-hero-title);
  font-weight: var(--font-black);
}

body.page-beat-my-car-repair-quote .s-quote-hero__title span {
  color: var(--color-red);
}

body.page-beat-my-car-repair-quote .s-quote-hero__lead {
  margin-bottom: var(--space-7);
  color: var(--quote-copy-dark);
  font-size: var(--quote-lead);
  line-height: var(--line-lead);
}

body.page-beat-my-car-repair-quote .s-quote-hero__proof {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  color: var(--quote-copy-muted);
  font-size: var(--text-small);
  list-style: none;
}

body.page-beat-my-car-repair-quote .s-quote-hero__proof li {
  position: relative;
  padding-left: var(--space-7);
}

body.page-beat-my-car-repair-quote .s-quote-hero__proof li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-success);
  font-weight: var(--font-bold);
  content: "✓";
}

body.page-beat-my-car-repair-quote .s-quote-form-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  background: var(--color-ink);
  color: var(--quote-on-dark);
}

body.page-beat-my-car-repair-quote .s-quote-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, var(--quote-form-max));
  gap: var(--space-9);
  align-items: start;
}

body.page-beat-my-car-repair-quote .s-quote-form-copy {
  max-width: var(--quote-copy-max);
}

body.page-beat-my-car-repair-quote .s-quote-form-copy h2 {
  margin-bottom: var(--space-4);
  color: var(--quote-on-dark);
  font-size: var(--quote-title-wide);
  font-weight: var(--font-heavy);
}

body.page-beat-my-car-repair-quote .s-quote-form-copy p {
  color: var(--quote-panel-copy);
  font-size: 17px;
  line-height: var(--line-body);
}

body.page-beat-my-car-repair-quote .s-quote-form-points {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

body.page-beat-my-car-repair-quote .s-quote-form-points li {
  position: relative;
  padding-left: var(--space-7);
  color: var(--quote-panel-copy);
}

body.page-beat-my-car-repair-quote .s-quote-form-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-red);
  font-weight: var(--font-bold);
  content: "✓";
}

body.page-beat-my-car-repair-quote .s-quote-form-card {
  padding: var(--space-7);
  border: 1px solid var(--quote-sticky-border);
  border-radius: var(--radius-md);
  background: var(--color-page);
  box-shadow: var(--quote-card-shadow);
  color: var(--color-ink);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--color-red);
  border-radius: var(--radius-md);
  background: var(--color-tint);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert--success {
  border-width: var(--quote-success-border-width);
  border-color: var(--color-success);
  background: var(--quote-success-bg);
  box-shadow: var(--quote-success-shadow);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert--success h3 {
  color: var(--quote-success-title);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert--success p {
  color: var(--quote-success-copy);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-h3);
}

body.page-beat-my-car-repair-quote .s-quote-form-alert p {
  color: var(--quote-copy-muted);
}

body.page-beat-my-car-repair-quote .s-quote-upload {
  display: grid;
  gap: var(--space-4);
}

body.page-beat-my-car-repair-quote .s-quote-upload__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.page-beat-my-car-repair-quote .s-quote-upload__row {
  display: grid;
  gap: var(--space-2);
}

body.page-beat-my-car-repair-quote .s-quote-upload label {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: var(--font-bold);
  line-height: 1;
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote-upload label span {
  color: var(--color-red);
}

body.page-beat-my-car-repair-quote .s-quote-upload input,
body.page-beat-my-car-repair-quote .s-quote-upload select,
body.page-beat-my-car-repair-quote .s-quote-upload textarea {
  width: 100%;
  min-height: var(--quote-field-min);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-field-border);
  border-radius: var(--radius-md);
  background: var(--color-page);
  color: var(--color-ink);
  font: inherit;
}

body.page-beat-my-car-repair-quote .s-quote-upload textarea {
  resize: vertical;
}

body.page-beat-my-car-repair-quote .s-quote-upload input:focus-visible,
body.page-beat-my-car-repair-quote .s-quote-upload select:focus-visible,
body.page-beat-my-car-repair-quote .s-quote-upload textarea:focus-visible {
  border-color: var(--color-red);
  box-shadow: var(--quote-field-focus);
  outline: 0;
}

body.page-beat-my-car-repair-quote .s-quote-upload__hint {
  color: var(--quote-copy-muted);
  font-size: var(--text-small);
}

body.page-beat-my-car-repair-quote .s-quote-upload .c-btn {
  width: 100%;
}

body.page-beat-my-car-repair-quote .s-quote-section {
  padding-top: var(--space-11);
  padding-bottom: var(--space-11);
}

body.page-beat-my-car-repair-quote .s-quote-section--alt {
  background: var(--color-alt);
}

body.page-beat-my-car-repair-quote .s-quote__head {
  max-width: var(--quote-head-max);
  margin: 0 auto var(--space-9);
  text-align: center;
}

body.page-beat-my-car-repair-quote .s-quote__head h2,
body.page-beat-my-car-repair-quote .s-quote-rights h2,
body.page-beat-my-car-repair-quote .s-quote-final h2 {
  margin-bottom: var(--space-4);
  font-size: var(--quote-title-wide);
  font-weight: var(--font-heavy);
}

body.page-beat-my-car-repair-quote .s-quote__head p:not(.s-quote__eyebrow),
body.page-beat-my-car-repair-quote .s-quote-split p,
body.page-beat-my-car-repair-quote .s-quote-rights p {
  color: var(--quote-copy-muted);
  font-size: 17px;
  line-height: var(--line-body);
}

body.page-beat-my-car-repair-quote .s-quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7);
}

body.page-beat-my-car-repair-quote .s-quote-step,
body.page-beat-my-car-repair-quote .s-quote-why__card,
body.page-beat-my-car-repair-quote .s-quote-faq details {
  border: 1px solid var(--color-light);
  border-radius: var(--radius-md);
  background: var(--color-page);
  box-shadow: var(--quote-card-shadow);
}

body.page-beat-my-car-repair-quote .s-quote-step {
  padding: var(--space-7);
}

body.page-beat-my-car-repair-quote .s-quote-step__num {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-red);
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: var(--font-heavy);
  line-height: 1;
}

body.page-beat-my-car-repair-quote .s-quote-step h3 {
  margin-bottom: var(--space-3);
  font-size: var(--quote-h3);
  font-weight: var(--font-heavy);
}

body.page-beat-my-car-repair-quote .s-quote-step p,
body.page-beat-my-car-repair-quote .s-quote-why__card p,
body.page-beat-my-car-repair-quote .s-quote-faq__answer {
  color: var(--quote-copy-muted);
  font-size: 15px;
  line-height: var(--line-body);
}

body.page-beat-my-car-repair-quote .s-quote-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, var(--quote-panel-max));
  gap: var(--space-9);
  align-items: center;
}

body.page-beat-my-car-repair-quote .s-quote-split h2 {
  margin-bottom: var(--space-4);
  font-size: var(--quote-title-mid);
  font-weight: var(--font-heavy);
}

body.page-beat-my-car-repair-quote .s-quote-checklist {
  display: grid;
  gap: 0;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

body.page-beat-my-car-repair-quote .s-quote-checklist li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-8);
  border-bottom: 1px solid var(--color-light);
}

body.page-beat-my-car-repair-quote .s-quote-checklist li::before {
  position: absolute;
  top: var(--space-3);
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--quote-on-dark);
  font-size: 14px;
  font-weight: var(--font-bold);
  line-height: 22px;
  text-align: center;
  content: "✓";
}

body.page-beat-my-car-repair-quote .s-quote-panel {
  padding: var(--space-8);
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: var(--quote-on-dark);
}

body.page-beat-my-car-repair-quote .s-quote-panel p {
  color: var(--quote-panel-copy);
}

body.page-beat-my-car-repair-quote .s-quote-panel__title {
  margin-bottom: var(--space-4);
  color: var(--color-red);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: var(--font-heavy);
  line-height: 1.05;
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote-rights {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-8);
  align-items: center;
}

body.page-beat-my-car-repair-quote .s-quote-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

body.page-beat-my-car-repair-quote .s-quote-why__card {
  padding: var(--space-7) var(--space-5);
  text-align: center;
}

body.page-beat-my-car-repair-quote .s-quote-why__card strong,
body.page-beat-my-car-repair-quote .s-quote-why__card span {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote-why__card strong {
  margin-bottom: var(--space-2);
  color: var(--color-red);
  font-size: 40px;
  font-weight: var(--font-heavy);
  line-height: 1;
}

body.page-beat-my-car-repair-quote .s-quote-why__card span {
  margin-bottom: var(--space-2);
  color: var(--color-ink);
  font-size: 18px;
  font-weight: var(--font-bold);
}

body.page-beat-my-car-repair-quote .s-quote-faq {
  max-width: var(--quote-faq-max);
  margin: 0 auto;
}

body.page-beat-my-car-repair-quote .s-quote-faq details {
  margin-bottom: var(--space-4);
  overflow: hidden;
  border-left: 3px solid var(--color-red);
}

body.page-beat-my-car-repair-quote .s-quote-faq summary {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-black);
  line-height: 1.1;
  list-style: none;
  text-transform: uppercase;
}

body.page-beat-my-car-repair-quote .s-quote-faq summary::-webkit-details-marker {
  display: none;
}

body.page-beat-my-car-repair-quote .s-quote-faq summary span {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--color-red);
}

body.page-beat-my-car-repair-quote .s-quote-faq summary span::before,
body.page-beat-my-car-repair-quote .s-quote-faq summary span::after {
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
}

body.page-beat-my-car-repair-quote .s-quote-faq summary span::after {
  transform: rotate(90deg);
}

body.page-beat-my-car-repair-quote .s-quote-faq details[open] summary span::after {
  transform: rotate(0deg);
}

body.page-beat-my-car-repair-quote .s-quote-faq__answer {
  padding: 0 var(--space-6) var(--space-6);
}

body.page-beat-my-car-repair-quote .s-quote-final {
  padding-top: var(--space-11);
  padding-bottom: var(--space-11);
  background: var(--color-red);
  color: var(--quote-on-dark);
  text-align: center;
}

body.page-beat-my-car-repair-quote .s-quote-final h2 {
  color: var(--quote-on-dark);
  font-size: 46px;
}

body.page-beat-my-car-repair-quote .s-quote-final p {
  margin-bottom: var(--space-7);
  color: var(--quote-on-dark);
  font-size: 19px;
}

body.page-beat-my-car-repair-quote .s-quote-final .c-btn {
  border-color: var(--quote-on-dark);
  background: var(--quote-on-dark);
  color: var(--color-red);
}

body.page-beat-my-car-repair-quote .s-quote-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-nav);
  display: none;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--quote-sticky-border);
  background: var(--quote-sticky-bg);
}

body.page-beat-my-car-repair-quote .s-quote-sticky .c-btn {
  width: 100%;
}

@media (max-width: 1024px) {
  body.page-beat-my-car-repair-quote .s-quote__container {
    padding-right: var(--container-pad-tablet);
    padding-left: var(--container-pad-tablet);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__photo {
    order: 2;
    justify-self: center;
    margin-left: 0;
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__photo img {
    max-width: 380px;
    transform: none;
    -webkit-mask-image: linear-gradient(to bottom, var(--quote-mask-solid) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, var(--quote-mask-solid) 86%, transparent 100%);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__copy {
    order: 1;
    padding-top: var(--space-10);
    padding-bottom: var(--space-4);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__title {
    font-size: var(--text-h1-tablet);
  }

  body.page-beat-my-car-repair-quote .s-quote-steps,
  body.page-beat-my-car-repair-quote .s-quote-split,
  body.page-beat-my-car-repair-quote .s-quote-rights,
  body.page-beat-my-car-repair-quote .s-quote-form-grid {
    grid-template-columns: 1fr;
  }

  body.page-beat-my-car-repair-quote .s-quote-why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.page-beat-my-car-repair-quote .s-quote__container {
    padding-right: var(--container-pad-mobile);
    padding-left: var(--container-pad-mobile);
  }

  body.page-beat-my-car-repair-quote .s-quote-section,
  body.page-beat-my-car-repair-quote .s-quote-final {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__title {
    font-size: var(--text-h1-mobile);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero__lead {
    font-size: var(--quote-lead-mobile);
  }

  body.page-beat-my-car-repair-quote .s-quote-hero .c-btn {
    width: 100%;
  }

  body.page-beat-my-car-repair-quote .s-quote__head h2,
  body.page-beat-my-car-repair-quote .s-quote-split h2,
  body.page-beat-my-car-repair-quote .s-quote-rights h2,
  body.page-beat-my-car-repair-quote .s-quote-form-copy h2,
  body.page-beat-my-car-repair-quote .s-quote-final h2 {
    font-size: var(--quote-title-mobile);
  }

  body.page-beat-my-car-repair-quote .s-quote-form-card {
    padding: var(--space-5);
  }

  body.page-beat-my-car-repair-quote .s-quote-why {
    grid-template-columns: 1fr;
  }

  body.page-beat-my-car-repair-quote .s-quote-sticky {
    display: block;
  }
}
