/* ==========================================================================
   Sell Your Caravan Today: "classic" quote page
   Deliberately old-fashioned. Plain Arial and Verdana, boxed sections,
   bright banners and big text, so older sellers feel at home on it.
   Only the offer form converts; every button scrolls to it.
   ========================================================================== */

:root {
  --navy: #0a2a8a;
  --navy-dark: #061c5e;
  --yellow: #ffe600;
  --cream: #ffffc6;
  --cyan: #bff4ff;
  --red: #e0060c;
  --red-dark: #b00008;
  --green: #2e8b1f;
  --grey: #dedede;
  --line: #2b2b2b;
  --ink: #111111;
  --err-bg: #ffe3e3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grey);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

:focus-visible { outline: 4px solid #ff9800; outline-offset: 2px; }

.page {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--grey);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.center { text-align: center; }

/* ---------- Banner --------------------------------------------------- */

.banner {
  background: var(--navy);
  background-image: linear-gradient(180deg, #1239b0 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: #fff;
  padding: 18px 20px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 4px solid var(--yellow);
}
.banner__title {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 50px);
  line-height: 1.05;
  color: var(--yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
}
.banner__sub {
  margin: 6px 0 10px;
  font-weight: bold;
  font-size: clamp(15px, 2vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.banner__tag {
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.35;
}
.banner__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.flag {
  width: 120px;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 #000;
}
.flag-note {
  font-weight: bold;
  font-size: 14px;
  color: var(--yellow);
  text-align: center;
  line-height: 1.2;
}
.stamp {
  display: inline-block;
  background: var(--yellow);
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 50%;
  width: 104px;
  height: 104px;
  padding-top: 20px;
  text-align: center;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 #000;
}
@media (max-width: 640px) {
  .banner { grid-template-columns: 1fr; text-align: center; }
  .banner__side { flex-direction: row; justify-content: center; }
  .flag { width: 90px; }
  .stamp { width: 88px; height: 88px; padding-top: 16px; font-size: 13px; }
}

/* ---------- Strips ---------------------------------------------------- */

.strip-cyan {
  background: var(--cyan);
  border-bottom: 2px solid #7fd6e8;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-weight: bold;
  font-size: 20px;
}
.strip-cyan a { color: var(--navy); }

.slogan {
  margin: 0;
  padding: 16px 20px;
  text-align: center;
  font-style: italic;
  font-weight: bold;
  font-size: clamp(15px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0;
  padding: 12px 20px;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: clamp(20px, 3.4vw, 32px);
  line-height: 1.2;
}
.bar--black { background: #000; color: var(--yellow); }
.bar--navy {
  background: var(--navy);
  color: #fff;
  justify-content: center;
  font-family: "Arial Black", Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bar__arrow { flex: none; width: 34px; height: 44px; }
.bar__text { flex: 1; }
.bar .tick { flex: none; width: 48px; height: 48px; }

/* ---------- Boxes ------------------------------------------------------ */

.box {
  background: #fff;
  border: 1px solid #bdbdbd;
  margin: 0 0 8px;
  padding: 20px;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  align-items: center;
}
.showcase__img img { border: 1px solid #999; }
.showcase__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}
.showcase__title .tick { width: 44px; height: 44px; display: inline-block; vertical-align: middle; }
@media (max-width: 700px) {
  .showcase { grid-template-columns: 1fr; }
  /* Headline and button first on phones, photo after. */
  .showcase__img { order: 2; }
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  padding: 20px;
}
.split p { font-weight: bold; }
.split--center p { text-align: center; font-size: 20px; }
.split img { border: 6px solid #fff; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

.lead-text {
  padding: 0 24px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.lead-text p { margin: 0 0 14px; }

.twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 10px 0;
}
@media (max-width: 700px) { .twin { grid-template-columns: 1fr; } }

.panel {
  border: 1px solid var(--line);
  background: var(--cream);
}
.panel__head {
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
}
.panel__body {
  padding: 14px 18px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 19px;
  line-height: 1.45;
}
.panel__body--center { text-align: center; }
.panel ul { margin: 0; padding-left: 24px; }
.panel li { margin: 2px 0; }

.checklist {
  border: 2px solid var(--green);
  background: #f4ffd9;
}
.checklist__head {
  margin: 0;
  padding: 6px 10px;
  background: var(--green);
  color: #fff;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  text-align: center;
}
.checklist ul {
  margin: 0;
  padding: 12px 14px 14px 36px;
  font-weight: bold;
  font-size: 17px;
}

.makes {
  background: #fff;
  border: 1px solid #bdbdbd;
  padding: 18px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 21px;
}
.makes span:nth-child(3n+1) { color: var(--navy); }
.makes span:nth-child(3n+2) { color: var(--red); }
.makes span:nth-child(3n+3) { color: var(--green); }

.note-line {
  margin: 14px 0;
  text-align: center;
  font-weight: bold;
  font-size: 19px;
}

/* ---------- How it works ---------------------------------------------- */

.how-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 12px;
}
.how-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}
.covered {
  background: var(--red);
  color: var(--yellow);
  border: 2px solid #7a0004;
  border-radius: 6px;
  padding: 6px 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.25;
}
.covered span { color: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 14px 10px 4px;
  list-style: none;
  margin: 0;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 18px;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
}
.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.step__n {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 58px;
  line-height: 1;
  color: var(--red);
}
.step__title {
  margin: 0;
  flex: 1;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: normal;
}
.step .tick { width: 44px; height: 44px; }
.step p { margin: 12px 0 0; font-size: 18px; }

/* ---------- Buttons --------------------------------------------------- */

.btn-red {
  display: inline-block;
  background: var(--red);
  background-image: linear-gradient(180deg, #ff2a2f 0%, var(--red) 50%, var(--red-dark) 100%);
  color: #fff;
  border: 2px solid #7a0004;
  border-radius: 6px;
  padding: 12px 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 3px 0 #5c0003;
  touch-action: manipulation;
}
.btn-red:hover { background-image: linear-gradient(180deg, #ff3a3f 0%, #f00a10 50%, var(--red) 100%); }
.btn-red:active { transform: translateY(2px); box-shadow: 0 1px 0 #5c0003; }
.btn-red--big { width: 100%; font-size: 24px; padding: 18px 20px; }
.btn-red[disabled] { opacity: 0.6; cursor: wait; }

.btn-row { text-align: center; margin: 20px 0 26px; }

/* ---------- Form ------------------------------------------------------ */

.quote {
  margin: 30px 0;
  background: #fff;
  border: 3px solid var(--navy);
  scroll-margin-top: 10px;
}
.quote__head {
  margin: 0;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--yellow);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
.quote__intro {
  margin: 0;
  padding: 12px 16px;
  background: var(--cream);
  border-bottom: 1px solid #c9c98f;
  text-align: center;
  font-weight: bold;
  font-size: 19px;
}
.quote__body { padding: 20px 22px 24px; }
@media (max-width: 520px) { .quote__body { padding: 16px 14px 20px; } }

.quote fieldset.wstep { border: 0; margin: 0; padding: 0; min-width: 0; }

.group {
  border: 1px solid #9a9a9a;
  margin: 0 0 18px;
  padding: 10px 16px 6px;
  background: #fafafa;
}
.group legend {
  padding: 0 8px;
  font-weight: bold;
  font-size: 20px;
  color: var(--navy);
  text-transform: uppercase;
}

.field {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dotted #c4c4c4;
}
.field:last-child { border-bottom: 0; }
@media (max-width: 640px) { .field { grid-template-columns: 1fr; } }

.lbl {
  padding-top: 10px;
  font-weight: bold;
  font-size: 19px;
}
.req { color: var(--red); }

.ctrl {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 2px solid #7a7a7a;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.3;
}
.ctrl:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px #ffcc00; }
select.ctrl { cursor: pointer; }
textarea.ctrl { min-height: 130px; resize: vertical; }

.money { display: flex; align-items: center; gap: 8px; }
.money b { font-size: 24px; }

.help {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: #444;
}

.field__input { min-width: 0; }

.err {
  display: none;
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--err-bg);
  border-left: 5px solid var(--red);
  color: #8a0005;
  font-weight: bold;
  font-size: 17px;
}
.err.is-shown { display: block; }
.field.is-invalid .ctrl { border-color: var(--red); background: var(--err-bg); }
.field.is-valid .ctrl { border-color: var(--green); }

.hp { position: absolute !important; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  font-weight: bold;
  font-size: 19px;
}
.form-status.is-shown { display: block; }
.form-status--error { background: var(--err-bg); border: 2px solid var(--red); color: #8a0005; }
.form-status--ok { background: #e3f7df; border: 2px solid var(--green); color: #1c5c12; }

.is-busy { opacity: 0.75; }

.privacy-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.quote__done {
  display: none;
  padding: 34px 22px 38px;
  text-align: center;
}
.quote__done.is-shown { display: block; }
.quote__done .tick { width: 80px; height: 80px; margin: 0 auto 10px; }
.quote__done h3 { margin: 0 0 10px; font-size: 28px; color: var(--green); }
.quote__done p { margin: 0 auto; max-width: 560px; font-size: 20px; font-weight: bold; }

/* ---------- Plain FAQ ------------------------------------------------- */

.faq { padding: 6px 20px 10px; }
.faq h2 { margin: 0 0 12px; font-size: clamp(24px, 3.6vw, 32px); }
.faq dl { margin: 0; }
.faq dt {
  margin-top: 16px;
  font-weight: bold;
  font-size: 20px;
  color: var(--navy);
}
.faq dd { margin: 4px 0 0; font-size: 19px; }

/* ---------- Footer ---------------------------------------------------- */

.foot {
  margin-top: 26px;
  padding: 18px 20px 26px;
  background: #cfcfcf;
  border-top: 3px solid var(--navy);
  text-align: center;
  font-size: 16px;
}
.foot ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot p { margin: 0; color: #333; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
