/* Contact page: a layout for reaching the company. Loads after concept.css and shares only its
   tokens, type, buttons, form fields and chrome. Composition is its own so Contact never reads as a
   service page, a hub or About. */

.ct-page main figure { margin: 0; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-center-head { display: grid; justify-items: center; gap: 8px; margin: 0 auto 36px; max-width: 52rem; text-align: center; }
.ct-center-head h2, .ct-center-head .lede { margin: 0; }
.ct-hero .hero-lede a, .ct-after a {
  color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: var(--rule-link); text-underline-offset: 4px; transition: text-decoration-color .18s ease;
}
.ct-hero .hero-lede a:hover, .ct-after a:hover { text-decoration-color: currentColor; }

/* ---------- Hero: the homepage's full-bleed stage, the technician held right ---------- */
.ct-hero .hero-bg img { object-position: 70% 0%; }
.ct-hero .hero-inner { padding-top: clamp(40px, calc(100svh - var(--top) - 470px), 400px); }
.ct-hero .rating .r-sub { color: var(--on-ink); }
.ct-hero .cta-pair .btn svg { flex: none; }
.ct-note { order: 5; display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--on-ink); }
.ct-note svg { flex: none; margin-top: 2px; color: var(--orange-hi); }

/* ---------- Contact desk: the form and the black "what to expect" rail, joined ---------- */
.ct-desk-head { display: grid; gap: 8px; margin-bottom: 28px; }
.ct-desk-head h2, .ct-desk-head .lede { margin: 0; }
.ct-desk-card { display: grid; overflow: hidden; border-radius: 2px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 30px 60px -30px rgba(0,0,0,.35); }
.ct-form.form-card { border: 0; border-radius: 0; box-shadow: none; padding: 26px 18px 24px; }
.ct-form.form-card:before { left: 0; right: auto; width: 64px; border-radius: 0; }
.ct-form .form-top { justify-content: flex-start; margin-bottom: 20px; }
.ct-form .two { display: grid; gap: 14px; }
.ct-form .opts span { padding: 0 16px; }
.ct-consent { display: grid; gap: 14px; padding: 16px 0 4px; border-top: 1px solid var(--line); }
.ct-check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.ct-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-box { position: relative; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--grey); border-radius: 2px; background: var(--white); transition: background-color .15s ease, border-color .15s ease; }
.ct-box:after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 6px; height: 11px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); opacity: 0; }
.ct-check:hover .ct-box { border-color: var(--ink); }
.ct-check input:checked + .ct-box { background: var(--ink); border-color: var(--ink); }
.ct-check input:checked + .ct-box:after { opacity: 1; }
.ct-check input:focus-visible + .ct-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.ct-check-text { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ct-form .btn-orange:disabled { opacity: .72; }
.ct-hp {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ct-hp input { width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; }
.ct-form .field.is-invalid input,
.ct-form .field.is-invalid textarea { border-color: var(--orange); }
.ct-form .field-error { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ct-form .form-status.is-error { background: var(--white); color: var(--ink); border: 1px solid var(--orange); }
.ct-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 2px 0 0; font-size: 14.5px; color: var(--grey); }
.ct-legal a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 4px; }
.ct-legal a:hover { text-decoration-color: currentColor; }

.ct-expect { display: flex; flex-direction: column; gap: 10px; padding: 34px 20px 30px; background: var(--ink); color: var(--white); }
.ct-expect h2 { margin: 0; font-size: clamp(26px, 6.6vw, 34px); line-height: 1.12; }
.ct-expect .lede { margin: 0 0 14px; font-size: 16.5px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.ct-steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--grey); }
.ct-steps li:last-child { padding-bottom: 0; }
.ct-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--grey); border-radius: 2px; color: var(--orange-hi); transition: border-color .2s ease; }
.ct-steps li:hover .ct-ic { border-color: var(--orange); }
.ct-n { position: absolute; right: 0; top: 22px; font-family: var(--f-label); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.ct-steps h3 { margin: 2px 32px 6px 0; font-size: 19px; color: var(--white); }
.ct-steps p { font-size: 15.5px; line-height: 1.5; color: var(--on-ink-muted); }

/* ---------- Hours: the week as a ruled board ---------- */
.ct-hours-grid { display: grid; gap: 36px; }
.ct-hours-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ct-hours-head h2, .ct-hours-head .lede { margin: 0; }
.ct-clock { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 2px; background: var(--ink); color: var(--orange-hi); }
.ct-hours-head .ct-actions { margin-top: 22px; }
.ct-board { border-top: 2px solid var(--ink); }
.ct-week { list-style: none; margin: 0; padding: 0; }
.ct-week li { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.ct-day { font-family: var(--f-label); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.ct-dots { flex: 1 1 auto; min-width: 12px; border-bottom: 1.5px dotted #b4b4b4; transform: translateY(-4px); }
.ct-time { font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ct-closed .ct-day, .ct-closed .ct-time { color: var(--muted); }
.ct-week li.ct-today { margin: 0 -14px; padding-left: 14px; padding-right: 14px; background: var(--smoke); box-shadow: inset var(--rule) 0 0 var(--orange); }
.ct-board-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.ct-board-note svg { flex: none; margin-top: 1px; color: var(--orange); }

/* ---------- Areas: the service cities as a pinned directory ---------- */
.ct-areas-grid { display: grid; gap: 32px; }
.ct-areas-head { display: grid; gap: 8px; align-content: start; }
.ct-areas-head h2, .ct-areas-head .lede { margin: 0; }
.ct-after { margin-top: 10px; font-size: 16px; color: var(--muted); }
.ct-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-top: 2px solid var(--ink); }
/* An odd city count would leave one name alone. The last three share that row. */
.ct-cities:has(> li:nth-child(odd):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ct-cities:has(> li:nth-child(odd):last-child) > li { grid-column: span 3; }
.ct-cities:has(> li:nth-child(odd):last-child) > li:nth-last-child(-n + 3) { grid-column: span 2; }
.ct-cities li { border-bottom: 1px solid var(--line); }
.ct-cities a { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 6px 0; font-family: var(--f-label); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.ct-cities a > svg:first-child { color: var(--orange); }
.ct-cities a span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: var(--rule); text-underline-offset: var(--rule-gap); text-decoration-skip-ink: none; transition: text-decoration-color .18s ease; }
.ct-cities a:hover span, .ct-cities a:focus-visible span { text-decoration-color: var(--orange); }
.ct-go { margin-left: auto; color: var(--grey); transition: transform .2s ease, color .2s ease; }
.ct-cities a:hover .ct-go { transform: translateX(3px); color: var(--ink); }
.ct-home a > svg:first-child { color: var(--ink); }

/* ---------- FAQ: centered, full-width answers ---------- */
.ct-faq-list { max-width: 820px; margin: 0 auto; }

/* ---------- Close: the live call panel as the homepage final band, its own photo ---------- */
.ct-final { --final-w: 940px; }
.ct-final .final-bg { object-position: 58% 0%; opacity: .62; }

@media (max-width: 359px) {
  .ct-hero .hero-inner { padding-top: 24px; }
  .ct-cities a { font-size: 17px; }
  .ct-day { font-size: 18px; }
  .ct-time { font-size: 15px; }
}
@media (max-width: 559px) {
  .ct-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .ct-actions .btn, .ct-final .actions .btn { justify-content: center; }
  .ct-hero .cta-pair .btn { padding: 10px 12px; }
}
@media (min-width: 560px) {
  .ct-form .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 700px) {
  .ct-form.form-card { padding: 34px 32px 30px; }
  .ct-expect { padding: 40px 32px; }
  .ct-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .ct-cities:has(> li:nth-child(odd):last-child) > li { grid-column: auto; }
  /* 13 names: nine in three columns, then four that share the last row. */
  .ct-cities:has(> li:nth-child(3n + 1):last-child) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ct-cities:has(> li:nth-child(3n + 1):last-child) > li { grid-column: span 4; }
  .ct-cities:has(> li:nth-child(3n + 1):last-child) > li:nth-last-child(-n + 4) { grid-column: span 3; }
  .ct-week li { padding: 17px 0; }
  .ct-day { font-size: 22px; }
  .ct-time { font-size: 17px; }
}
@media (min-width: 1000px) {
  .ct-hero .hero-bg { transform: none; }
  .ct-hero .hero-bg img { object-position: 74% 40%; }
  .ct-hero .hero-inner { padding-top: 32px; padding-bottom: 96px; }
  .ct-hero .hero-lede { max-width: 35rem; }
  .ct-hero h1 { max-width: 12.5em; font-size: clamp(44px, 3.6vw, 56px); }
  .ct-note { margin-top: 18px; font-size: 16px; }

  .ct-desk-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 40px; }
  .ct-desk-card { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ct-form.form-card { padding: 44px 44px 36px; }
  .ct-expect { padding: 48px 40px; }
  .ct-expect h2 { font-size: clamp(28px, 2.4vw, 34px); }

  .ct-hours-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
  .ct-week li.ct-today { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }

  .ct-areas-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .ct-areas-head { position: sticky; top: calc(var(--hh) + 32px); }
  .ct-cities a { min-height: 64px; font-size: 21px; }

  .ct-final .final-bg { object-position: 50% 10%; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .ct-hero .hero-inner { padding-top: 24px; padding-bottom: 72px; }
  .ct-note { margin-top: 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-week li, .ct-ic, .ct-go, .ct-cities a span, .ct-box { transition: none; }
}
