@charset "UTF-8";
/* ==========================================================================
   NSW Book Publishers — Get a Quote
   Fields follow queenslandbookpublishers.com.au/get-a-quote; the layout and
   styling are our own.
   ========================================================================== */

.quote {
  background: var(--bg-light);
  padding: 60px 0 70px;
}
.quote__container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 15px;
}

/* --- Header --------------------------------------------------------------- */
.quote__head { text-align: center; margin-bottom: 40px; }
.quote__head .eyebrow-pill { margin-bottom: 14px; }
.quote__title {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-700);
}
.quote__lede {
  max-width: 700px;
  margin: 14px auto 0;
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  line-height: 1.6;
  color: var(--muted);
}

/* --- Layout --------------------------------------------------------------- */
.quote__row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

/* --- Aside ---------------------------------------------------------------- */
.quote__aside {
  padding: 30px 28px;
  border-radius: 16px;
  background: var(--navy-900);
  color: #fff;
}
.quote__aside-h {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: #fff;
}
.quote__points { margin: 0; padding: 0; list-style: none; }
.quote__points li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}
.quote__points li + li { margin-top: 14px; }
.quote__points svg { width: 18px; height: 18px; margin-top: 2px; color: var(--lilac); }

.quote__contact {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.quote__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  transition: color var(--dur) var(--ease);
}
.quote__contact svg { width: 16px; height: 16px; color: var(--lilac); flex: 0 0 16px; }
.quote__contact a:hover { color: var(--lilac); }

.quote__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, .7);
}
.quote__hours svg { width: 14px; height: 14px; color: var(--lilac); flex: 0 0 14px; }

/* --- Form card ------------------------------------------------------------ */
.quote__card {
  padding: 32px 30px 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--sh-md);
}

.quote__services { border: 0; padding: 0; margin: 0 0 24px; }
.quote__services legend {
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--navy-700);
}
.quote__checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.quote__check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  line-height: 1.35;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.quote__check:hover { border-color: var(--navy-600); }
.quote__check input { flex: 0 0 auto; accent-color: var(--red-500); width: 16px; height: 16px; }
/* :has is safe here — without it the tile simply stays unhighlighted. */
.quote__check:has(input:checked) { border-color: var(--red-500); background: var(--red-100); }

.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote__field { display: block; margin-bottom: 18px; }
.quote__grid .quote__field { margin-bottom: 0; }
.quote__grid + .quote__field { margin-top: 18px; }
.quote__field > span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--navy-700);
}
.quote__field > span b { color: var(--red-500); }
.quote__field > span small { font-weight: 400; color: var(--muted); text-transform: none; }

.quote__field input,
.quote__field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quote__field textarea { resize: vertical; min-height: 120px; }
.quote__field input::placeholder,
.quote__field textarea::placeholder { color: var(--muted); opacity: .75; }
.quote__field input:focus,
.quote__field textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px var(--red-100);
}
/* The native file control cannot be restyled, so style the button part only. */
.quote__field input[type="file"] { padding: 9px 10px; font-size: var(--fs-micro); cursor: pointer; }
.quote__field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--navy-700);
  font-family: var(--font-sans);
  font-size: var(--fs-nano);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.quote__hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-nano);
  color: var(--muted);
}

.quote__captcha { margin: 4px 0 18px; }

.quote__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--r-pill);
  background: var(--red-500);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.quote__submit:hover { background: var(--red-600); transform: translateY(-2px); }
.quote__submit-icon {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.quote__submit-icon svg { width: 12px; height: 12px; }

.quote__note {
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-size: var(--fs-nano);
  line-height: 1.6;
  color: var(--muted);
}
.quote__form .form-status { margin-bottom: 14px; font-size: var(--fs-small); }

/* --- Breakpoints ---------------------------------------------------------- */
@media (max-width: 991px) {
  .quote__row { grid-template-columns: 1fr; }
  .quote__aside { order: 2; }
  .quote__card { order: 1; }
}
@media (max-width: 720px) {
  .quote__checks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .quote { padding: 44px 0 50px; }
  .quote__card { padding: 24px 18px 26px; }
  .quote__checks { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; gap: 18px; }
  .quote__grid .quote__field + .quote__field { margin-top: 0; }
}
