/* The quote page. Loaded on /contact/ only; everything hangs off .ts-contact.
 *
 * Every button on the site lands here, so this is the page that has to work.
 * Left: what the page is for, and the three facts a person wants before they
 * type (phone, hours, where). Right: the form, as a card, labels above fields,
 * one button that says what it does. The form's names, hidden fields, classes
 * and the Turnstile mount are untouched; the handler depends on them. */

.ts-brand .entry-content .ts-contact { padding: 72px 0 88px; }
.ts-brand .entry-content .ts-contact .ts-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.ts-brand .entry-content .ts-contact .ts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.ts-brand .entry-content .ts-contact p { max-width: none; }

.ts-brand .entry-content .ts-contact h1 { font-size: var(--ts-step-3); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .45em; }
.ts-brand .entry-content .ts-contact .ts-lede { font-size: var(--ts-step-1); line-height: 1.45; color: var(--ts-ink-2); max-width: 32ch; margin: 0 0 1.8em; }

.ts-brand .entry-content .ts-facts { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 18px; }
.ts-brand .entry-content .ts-facts li { margin: 0; display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.ts-brand .entry-content .ts-facts li::marker { content: none; }
.ts-brand .entry-content .ts-facts svg { width: 22px; height: 22px; color: var(--ts-sky-deep); margin-top: 1px; }
.ts-brand .entry-content .ts-facts b { display: block; font-family: var(--ts-display); font-weight: 700; font-size: var(--ts-step-0); line-height: 1.25; }
.ts-brand .entry-content .ts-facts span { display: block; color: var(--ts-ink-2); font-size: var(--ts-step--1); margin-top: 2px; }
.ts-brand .entry-content .ts-facts a { color: inherit; text-decoration-color: var(--ts-rule); }
.ts-brand .entry-content .ts-facts a:hover { text-decoration-color: var(--ts-ink); }

.ts-brand .entry-content .ts-send { border-left: 3px solid var(--ts-sky); padding: .2em 0 .2em 1.1em; }
.ts-brand .entry-content .ts-send b { font-family: var(--ts-display); font-weight: 700; display: block; margin-bottom: .3em; }
.ts-brand .entry-content .ts-send p { margin: 0; color: var(--ts-ink-2); font-size: var(--ts-step--1); }

/* ── the card ─────────────────────────────────────────────────────────────── */
.ts-brand .entry-content .ts-form-card { background: var(--ts-paper); border: 1px solid var(--ts-rule); border-radius: 16px; padding: 34px 36px 32px; box-shadow: 0 30px 60px -40px rgba(16,23,26,.35); }
.ts-brand .entry-content .ts-form-card .ts-kicker { margin-bottom: .6em; }
.ts-brand .entry-content .ts-form-card h2 { font-size: var(--ts-step-1); margin: 0 0 1.2em; }

/* The theme's cn-7 grid alternated field indents. Flat grid, two columns. */
.ts-brand .entry-content .ts-form-card .cn-7 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.ts-brand .entry-content .ts-form-card .cn-field { margin: 0; }
/* The theme sizes .cn-50 at calc(50% - 20px) and inline-block, for a float
   layout this grid replaced. Inside a grid cell that made each field 111px. */
.ts-brand .entry-content .ts-form-card .cn-field.cn-50, .ts-brand .entry-content .ts-form-card .cn-field.cn-100 { width: auto; display: block; max-width: none; float: none; }
.ts-brand .entry-content .ts-form-card .cn-100 { grid-column: 1 / -1; }
.ts-brand .entry-content .ts-form-card .cn-field p { margin: 0; }
.ts-brand .entry-content .ts-form-card .wpcf7-form-control-wrap { display: block; }

.ts-brand .entry-content .ts-form-card label.ts-label { display: block; font: 600 13px/1.2 var(--ts-text); letter-spacing: .02em; color: var(--ts-ink-2); margin: 0 0 7px; }
.ts-brand .entry-content .ts-form-card label.ts-label i { font-style: normal; color: var(--ts-orange-ink); }

.ts-brand .entry-content .ts-form-card input[type="text"],
.ts-brand .entry-content .ts-form-card input[type="email"],
.ts-brand .entry-content .ts-form-card input[type="tel"],
.ts-brand .entry-content .ts-form-card textarea {
  width: 100%; box-sizing: border-box;
  font: 400 16px/1.4 var(--ts-text); color: var(--ts-ink);
  background: #fff; border: 1.5px solid var(--ts-rule); border-radius: 9px;
  padding: 13px 14px; margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ts-brand .entry-content .ts-form-card textarea { min-height: 112px; resize: vertical; }
.ts-brand .entry-content .ts-form-card input::placeholder, .ts-brand .entry-content .ts-form-card textarea::placeholder { color: var(--ts-ink-3); }
.ts-brand .entry-content .ts-form-card input:focus, .ts-brand .entry-content .ts-form-card textarea:focus {
  outline: none; border-color: var(--ts-sky-deep); box-shadow: 0 0 0 4px rgba(158, 211, 228, .45);
}

/* The three install types as one segmented control, not three loose radios. */
.ts-brand .entry-content .ts-form-card .wpcf7-radio { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-brand .entry-content .ts-form-card .wpcf7-radio .wpcf7-list-item { margin: 0; }
.ts-brand .entry-content .ts-form-card .wpcf7-radio label { position: relative; display: inline-block; cursor: pointer; }
.ts-brand .entry-content .ts-form-card .wpcf7-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ts-brand .entry-content .ts-form-card .wpcf7-radio .wpcf7-list-item-label {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ts-rule); border-radius: 999px;
  font: 600 14.5px/1 var(--ts-display); color: var(--ts-ink); background: #fff; transition: all .15s ease;
}
.ts-brand .entry-content .ts-form-card .wpcf7-radio input:checked + .wpcf7-list-item-label { background: var(--ts-ink); border-color: var(--ts-ink); color: #fff; }
.ts-brand .entry-content .ts-form-card .wpcf7-radio input:focus-visible + .wpcf7-list-item-label { box-shadow: 0 0 0 4px rgba(158, 211, 228, .45); }

/* Consent: the words the carrier requires, at the size the law allows. */
.ts-brand .entry-content .ts-form-card .wpcf7-checkbox label { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.ts-brand .entry-content .ts-form-card .wpcf7-checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ts-orange); }
.ts-brand .entry-content .ts-form-card .wpcf7-checkbox .wpcf7-list-item-label { font-size: 13px; line-height: 1.5; color: var(--ts-ink-3); }
.ts-brand .entry-content .ts-form-card .wpcf7-checkbox .wpcf7-list-item-label a { color: var(--ts-ink-2); }

.ts-brand .entry-content .ts-form-card .cf7-cf-turnstile { margin: 4px 0 14px; }
.ts-brand .entry-content .ts-form-card .cf-turnstile-br { display: none; }
.ts-brand .entry-content .ts-form-card .ts-submit-row br { display: none; }

.ts-brand .entry-content .ts-form-card input[type="submit"] {
  display: block; width: 100%;
  font: 700 17px/1 var(--ts-display); letter-spacing: .01em; color: #fff;
  background: var(--ts-orange); border: 0; border-radius: 10px; padding: 18px 22px; cursor: pointer;
  transition: background .15s ease;
}
.ts-brand .entry-content .ts-form-card input[type="submit"]:hover { background: #d85f12; }
.ts-brand .entry-content .ts-form-card input[type="submit"]:focus-visible { outline: 3px solid var(--ts-sky-deep); outline-offset: 3px; }
.ts-brand .entry-content .ts-form-card .ts-after { margin: 12px 0 0; font-size: 13px; color: var(--ts-ink-3); text-align: center; }

.ts-brand .entry-content .ts-form-card .form-result { margin-top: 14px; font-size: 15px; }
.ts-brand .entry-content .ts-form-card .form-result:empty { display: none; }
.ts-brand .entry-content .ts-form-card .wpcf7-not-valid-tip { display: block; font-size: 13px; color: #9b2c2c; margin-top: 6px; }
.ts-brand .entry-content .ts-form-card .wpcf7-response-output { border: 0; margin: 14px 0 0; padding: 12px 14px; border-radius: 9px; background: var(--ts-sky-pale); font-size: 15px; }

@media (max-width: 900px) {
  .ts-brand .entry-content .ts-contact { padding: 48px 0 64px; }
  .ts-brand .entry-content .ts-contact .ts-wrap { padding: 0 24px; }
  .ts-brand .entry-content .ts-contact .ts-grid { grid-template-columns: 1fr; gap: 36px; }
  .ts-brand .entry-content .ts-contact .ts-lede { max-width: none; }
  .ts-brand .entry-content .ts-form-card { padding: 26px 20px 24px; }
}
@media (max-width: 560px) {
  .ts-brand .entry-content .ts-form-card .cn-7 { grid-template-columns: 1fr; }
}
