/* Contact (contact-us/). Loads after category.css and quote.css and reuses the quote
   page's hero (.rq) and taped form card (.wq). Left: the intro, the quote route as a
   kraft slip and the contact details on the dark shipping label. Right: the message
   form, routed by enquiry type, with the "what helps" slip under it. */

/* No format strip here, so the hero does not reserve room for one. */
@media (min-width: 768px) {
  .ct { min-height: 0; padding-bottom: 5.5rem; align-items: start; }
}
.ct { grid-template-columns: minmax(0, 1fr) minmax(0, 38rem); }
.ct .chero__grid {
  -webkit-mask-image: radial-gradient(ellipse 45% 55% at 22% 30%, #000 10%, transparent 78%);
          mask-image: radial-gradient(ellipse 45% 55% at 22% 30%, #000 10%, transparent 78%);
}
@media (min-width: 1101px) {
  .ct__head { position: sticky; top: 7rem; }
}

/* ---------- Quote route: a kraft slip inside the cut line ---------- */
.ct__route {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 2rem; padding: 1.125rem 1.375rem;
  background: var(--kraft);
  border-radius: 1rem;
  color: var(--ink);
  transition: background-color 0.3s;
}
.ct__route::after {
  content: ""; position: absolute; inset: 0.3125rem;
  border: 1px dashed rgba(194, 83, 15, 0.38); border-radius: 0.75rem;
  pointer-events: none; transition: border-color 0.3s;
}
.ct__route-q { font-size: max(15px, 1rem); line-height: 1.4; }
.ct__route-go {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--orange-deep); white-space: nowrap;
  transition: gap 0.45s var(--ease-soft);
}
.ct__route-go svg { width: 1rem; height: 1rem; }
.ct__route:hover { background: #efe3d3; }
.ct__route:hover::after { border-color: var(--orange); }
.ct__route:hover .ct__route-go { gap: 0.875rem; }
.ct__route:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 4px; }

/* ---------- Contact details: the dark label, laid flat, two columns ---------- */
.ct__desk {
  position: relative; inset: auto; left: auto; right: auto; bottom: auto;
  display: block;
  margin-top: 1.25rem;
  padding: 1rem 1.375rem 1.25rem;
  rotate: 0deg;
}
.is-loading .ct__desk { rotate: 0deg; }
.ct__desk .label__head { margin-bottom: 0.25rem; }
.ct__desk h2 { margin: 0; font: inherit; color: inherit; }
.ct__status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.4375rem;
  padding: 0.1875rem 0.625rem 0.1875rem 0.5rem;
  border: 1px solid rgba(246, 241, 232, 0.24); border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; color: rgba(246, 241, 232, 0.78);
  white-space: nowrap;
}
.ct__status::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: rgba(246, 241, 232, 0.45); }
.ct__status.is-open { border-color: rgba(240, 138, 69, 0.55); color: #fbf7f0; }
.ct__status.is-open::before { background: #f08a45; box-shadow: 0 0 0 0 rgba(240, 138, 69, 0.6); animation: ct-pulse 2.4s var(--ease-soft) infinite; }
@keyframes ct-pulse { 70%, 100% { box-shadow: 0 0 0 0.4375rem rgba(240, 138, 69, 0); } }
@media (prefers-reduced-motion: reduce) { .ct__status.is-open::before { animation: none; } }

.ct__rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
.ct__cell { display: flex; flex-direction: column; gap: 0.3125rem; padding: 0.875rem 0; border-top: 1px dashed rgba(246, 241, 232, 0.2); }
.ct__cell--r { padding-left: 1.125rem; border-left: 1px dashed rgba(246, 241, 232, 0.2); }
.ct__cell:not(.ct__cell--r):not(.ct__cell--wide) { padding-right: 1.125rem; }
.ct__cell--wide { grid-column: 1 / -1; border-top: 0; padding-top: 0.75rem; }
.ct__cell:last-child, .ct__cell:nth-last-child(2) { padding-bottom: 0; }
.ct__desk dt { font-size: 0.75rem; color: rgba(246, 241, 232, 0.66); }
.ct__desk dd { margin: 0; font-family: var(--serif); font-size: max(16px, 1.1875rem); line-height: 1.25; color: #fbf7f0; white-space: normal; overflow-wrap: anywhere; }
.ct__desk dd a {
  color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3rem;
  text-decoration-color: rgba(240, 138, 69, 0.45);
  transition: text-decoration-color 0.3s, color 0.3s;
}
.ct__desk dd a:hover { color: #fff; text-decoration-color: #f08a45; }
.ct__desk dd a:focus-visible { outline: 2px solid #f08a45; outline-offset: 3px; border-radius: 0.25rem; }
.ct__sub { display: block; margin-top: 0.1875rem; font-family: var(--sans); font-size: 0.8125rem; color: rgba(246, 241, 232, 0.66); }

/* ---------- The form: the quote page's card and grid, unchanged ---------- */
.ct__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct__form textarea { min-height: 6rem; }
#ct-ref:not([hidden]) { animation: card-in 0.45s var(--ease-soft) both; }
.ct__form select { appearance: none; padding-right: 2.5rem; cursor: pointer; font-weight: 500; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231a1712' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 0.875rem; }

.ct__foot { margin-top: 1.5rem; align-items: center; }
.ct__privacy { flex: 1 1 15rem; margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }
.ct__privacy a { color: var(--ink-strong); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(26, 23, 18, 0.3); transition: text-decoration-color 0.25s; }
.ct__privacy a:hover { text-decoration-color: currentColor; }

/* ---------- What helps: kraft slip under the form ---------- */
.ct__helps {
  margin-top: 1.25rem; padding: 1.375rem 1.625rem 1.25rem;
  border: 1px dashed rgba(26, 23, 18, 0.22); border-radius: 1.25rem;
}
.ct__helps h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.15; color: var(--ink-strong); }
.ct__helps .ticks { margin-top: 0.5rem; }
.ct__helps .ticks li { font-size: max(15px, 0.9375rem); color: var(--ink-soft); }

/* ---------- What happens next (dark band) ---------- */
.ctp .steps { margin-top: 0; }
.ct-next__actions { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; }
.ct-next__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem; font-weight: 600; color: #f4efe6;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.375rem;
  text-decoration-color: rgba(244, 239, 230, 0.3);
  transition: text-decoration-color 0.3s, gap 0.45s var(--ease-soft);
}
.ct-next__link svg { width: 1rem; height: 1rem; color: var(--light-orange); }
.ct-next__link:hover { text-decoration-color: currentColor; gap: 0.875rem; }
.ct-next .btn svg { width: 1rem; height: 1rem; }
.ct-next .btn:focus-visible, .ct-next__link:focus-visible { outline: 2px solid #f4efe6; outline-offset: 4px; }
.ctp .faq__a a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }

/* Entrance: the label and the helps slip join the quote page's load timeline. */
.ct__route, .ct__helps { transition: opacity 1.2s var(--ease-soft), translate 1.4s var(--ease-soft), filter 1.2s var(--ease-soft); }
.ct__route { transition-delay: 0.36s; }
.ct__helps { transition-delay: 0.6s; }
.is-loading .ct__route, .is-loading .ct__helps { opacity: 0; translate: 0 1.5rem; filter: blur(0.5rem); }
@media (prefers-reduced-motion: reduce) {
  .is-loading .ct__route, .is-loading .ct__helps { translate: none; filter: none; }
}

/* Tablet: stacked, the label beside nothing, so it keeps two columns. */
@media (max-width: 1100px) {
  .ct { grid-template-columns: minmax(0, 1fr); }
  .ct__head, .ct .rq__formcol { max-width: 46rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  .ct { padding-bottom: 3rem; }
  /* Intro, quote route, form, then the contact label. */
  .ct__route { order: -1; margin-top: -0.5rem; }
  .ct__desk { order: 2; margin-top: 0; }
  .ct__form textarea { min-height: 5.5rem; height: auto; }
  .ct__desk dd { font-size: 1.0625rem; }
  .ct .rq__formcol { order: 1; }
  .ct__helps { padding: 1.25rem 1.125rem 1rem; }
  .ct-next__actions { justify-self: start; }
}
@media (max-width: 380px) {
  .ct__rows { grid-template-columns: minmax(0, 1fr); }
  .ct__cell, .ct__cell--r { grid-column: 1 / -1; padding: 0.875rem 0; border-left: 0; }
  .ct__cell--wide { padding-top: 0.75rem; }
  .ct__cell:last-child { padding-bottom: 0; }
}
