.service-page--tradein {
  --tradein-border: #dedfe2;
}
.tradein-eyebrow {
  color: #b51c08;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.tradein-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #f5f5f4;
  border-top: 4px solid #c41a02;
}
.tradein-hero__copy {
  align-self: center;
  padding: clamp(24px, 4vw, 48px);
}
.service-page--tradein h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}
.tradein-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.service-page--tradein .tradein-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #b51c08;
  border-radius: 2px;
  padding: 14px 20px;
  min-height: 48px;
  background: #c41a02;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
}
.service-page--tradein .tradein-button:hover {
  background: #a51904;
}
.service-page--tradein .tradein-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.tradein-hero__note {
  margin: 14px 0 0;
  color: #61616a;
  font-size: 13px;
}
.tradein-section {
  margin-top: clamp(32px, 5vw, 56px);
}
.service-page--tradein h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.tradein-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 24px 0 0;
}
.tradein-steps li {
  border: 1px solid var(--tradein-border);
  padding: 24px;
}
.tradein-steps li > span {
  display: block;
  color: #c41a02;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}
.tradein-steps h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.tradein-steps p {
  color: #565b64;
  font-size: 15px;
}
.tradein-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 48px;
}
.tradein-form-card {
  min-width: 0;
  border: 1px solid var(--tradein-border);
  padding: clamp(20px, 3vw, 36px);
  scroll-margin-top: 24px;
}
.tradein-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0 14px;
}
.tradein-switch a {
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid #d9dadd;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.tradein-switch a[aria-current='page'] {
  color: #a31a06;
  background: #fff3ef;
  border-color: #c41a02;
  box-shadow: inset 0 -2px #c41a02;
}
.tradein-form > fieldset {
  border: 0;
  border-top: 1px solid #e1e1e3;
  padding: 22px 0 0;
  margin: 26px 0;
  min-width: 0;
}
.tradein-form legend {
  font-weight: 750;
  font-size: 18px;
  padding: 0 12px 0 0;
}
.tradein-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tradein-field {
  min-width: 0;
}
.tradein-form label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 7px;
}
.homepage-2026
  #content.service-page--tradein
  :is(input:not([type='hidden']):not([type='checkbox']), textarea, select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #adb2bc;
  border-radius: 2px;
  color: #202126;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.homepage-2026 #content.service-page--tradein textarea {
  resize: vertical;
  margin-bottom: 22px;
}
.homepage-2026 #content.service-page--tradein :is(input, textarea, select):focus-visible {
  outline: 3px solid #b51c08;
  outline-offset: 2px;
}
.tradein-form select {
  margin-bottom: 20px !important;
}
.tradein-help {
  color: #60656f;
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 18px;
}
.tradein-optional {
  font-weight: 400;
  color: #60656f;
}
.tradein-components {
  padding: 16px;
  border: 1px solid #e1e1e3;
  margin: 20px 0;
  min-width: 0;
}
.tradein-components legend {
  font-size: 14px;
}
.tradein-components > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tradein-components label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-weight: 400;
  margin: 0;
}
.tradein-components input {
  accent-color: #c41a02;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
}
.tradein-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tradein-feedback {
  padding: 16px;
  margin: 20px 0;
  border-left: 4px solid #245a85;
  background: #f0f6fa;
  overflow-wrap: anywhere;
}
.tradein-feedback[data-state='error'] {
  border-color: #b51c08;
  background: #fff3ef;
}
.tradein-feedback[data-state='success'] {
  border-color: #1d753c;
  background: #eef8f1;
}
.tradein-feedback a {
  display: block;
  margin-top: 10px;
}
.tradein-sidebar {
  display: grid;
  gap: 20px;
}
.tradein-sidebar section {
  border: 1px solid var(--tradein-border);
  padding: 26px;
}
.service-page--tradein .tradein-sidebar h2 {
  font-size: 20px;
}
.tradein-sidebar p,
.tradein-sidebar li {
  font-size: 14px;
}
.tradein-sidebar ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.tradein-sidebar li {
  margin-bottom: 10px;
  list-style: disc;
}
.tradein-benefit {
  background: #f7f7f6;
  border-top: 3px solid #c41a02 !important;
}
.tradein-faq {
  max-width: 850px;
}
.tradein-faq details {
  border-top: 1px solid var(--tradein-border);
  padding: 18px 0;
}
.tradein-faq details:last-child {
  border-bottom: 1px solid var(--tradein-border);
}
.tradein-faq summary {
  font-weight: 700;
  cursor: pointer;
}
.tradein-faq details p {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .tradein-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tradein-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .tradein-sidebar section {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .tradein-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .tradein-hero > img {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    max-height: 300px;
  }
  .tradein-steps,
  .tradein-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .tradein-steps {
    gap: 12px;
  }
  .tradein-steps li {
    padding: 22px;
  }
  .tradein-steps li > span {
    font-size: 24px;
    margin-bottom: 12px;
  }
}
@media (max-width: 480px) {
  .tradein-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .tradein-form .tradein-button {
    width: 100%;
  }
  .tradein-switch a {
    padding: 12px 8px;
  }
}

.tradein-help a,
.service-page--tradein ~ #footer .social_plugins .grow a,
.service-page--tradein ~ #footer .contact_footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tradein-panels {
  display: flow-root;
}
@media (prefers-reduced-motion: no-preference) {
  .service-page--tradein .tradein-button,
  .tradein-switch a {
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }
  .tradein-button > span {
    transition: transform 180ms ease;
  }
  .tradein-button:is(:hover, :focus-visible):not(:disabled) > span {
    transform: translateX(4px);
  }
}
.tradein-switch a:hover {
  background: #fff3ef;
  border-color: #c41a02;
}
.service-page--tradein :is(.tradein-button, .tradein-switch a):focus-visible {
  outline: 3px solid #b51c08;
  outline-offset: 3px;
}
