/* AdvaTech native lead form (replaces the Bigin embed). Brand: #FF3E25, black, white. */
.atl-form-embed { width: 100%; max-width: 820px; min-width: 0; box-sizing: border-box; margin: 1rem auto 0; font-family: Montserrat, Arial, sans-serif; }
.atl-form, .clean-block.clean-form form.atl-form { max-width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: 0; background: #fff; color: #111; border-radius: 12px; overflow: hidden; border-top: 6px solid #FF3E25 !important; box-shadow: 0 6px 24px rgba(0,0,0,.08); text-align: left; }
.atl-head { background: #111; color: #fff; padding: 22px 24px 18px; }
.atl-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 6px; color: inherit; }
.atl-head .atl-title { color: #fff; }
.atl-desc { margin: 0; color: #d9d9d9; font-size: .95rem; line-height: 1.45; }
.atl-body { padding: 22px 24px 24px; box-sizing: border-box; min-width: 0; max-width: 100%; }
.atl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.atl-full { grid-column: 1 / -1; }
@media (max-width: 575px) { .atl-grid { grid-template-columns: minmax(0, 1fr); } }
.atl-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; color: #111; }
.atl-req { color: #FF3E25; }
.atl-field input:not([type=radio]):not([type=checkbox]), .atl-field textarea, .atl-field select { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; border: 1.5px solid #cfcfcf; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 1rem; color: #111; background: #fff; transition: border-color .15s, box-shadow .15s; }
.atl-field textarea { resize: vertical; min-height: 120px; }
.atl-field input:not([type=radio]):not([type=checkbox]):focus, .atl-field textarea:focus, .atl-field select:focus { outline: none; border-color: #FF3E25; box-shadow: 0 0 0 3px rgba(255,62,37,.18); }
.atl-field.atl-invalid input:not([type=radio]):not([type=checkbox]), .atl-field.atl-invalid textarea, .atl-field.atl-invalid select { border-color: #c4200c; }
.atl-field-msg { display: block; color: #c4200c; font-size: .82rem; margin-top: 4px; }
.atl-help { display: block; color: #666; font-size: .8rem; margin-top: 5px; }
.atl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.atl-turnstile { margin: 16px 0 4px; min-height: 0; }
.atl-privacy { font-size: .8rem; color: #666; margin: 10px 0 14px; }
.atl-error { background: #fff1ef; border: 1px solid #FF3E25; color: #8a1606; border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin-bottom: 14px; }
.atl-btn { display: inline-block; background: #FF3E25; color: #fff; border: 2px solid #FF3E25; border-radius: 8px; padding: 12px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .15s, color .15s; }
.atl-btn:hover, .atl-btn:focus { background: #111; border-color: #111; color: #fff; }
.atl-btn[disabled] { opacity: .65; cursor: wait; }
.atl-alt { margin: 12px 0 0; font-size: .88rem; color: #444; }
.atl-alt a, .atl-thanks a { color: #FF3E25; font-weight: 600; }
.atl-thanks { padding: 36px 28px 40px; text-align: center; }
.atl-thanks:focus { outline: none; }
.atl-check { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #FF3E25; color: #fff; font-size: 34px; font-weight: 700; }
.atl-thanks p { color: #333; max-width: 460px; margin: 6px auto 0; }
.atl-form.atl-done .atl-head, .atl-form.atl-done .atl-body { display: none; }
.atl-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FF3E25' stroke-width='2.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.atl-field select:invalid { color: #777; }
.atl-field select option { color: #111; }
.atl-field[hidden] { display: none; }
/* Home or business: compact pill choices; orange only marks the selected one. */
.atl-property { scroll-margin-top: 110px; min-width: 0; max-width: 100%; }
.atl-property fieldset { border: 0; margin: 0; padding: 0; min-width: 0; max-width: 100%; box-sizing: border-box; }
.atl-property legend { float: none; width: 100%; font-weight: 600; font-size: .9rem; line-height: 1.35; margin: 0 0 8px; padding: 0; color: #111; }
.atl-choices { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; max-width: 100%; }
.atl-field label.atl-choice { box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; width: auto; max-width: 100%; margin: 0; min-height: 44px; padding: 9px 18px 9px 14px; border: 1.5px solid #cfcfcf; border-radius: 999px; background: #fff; color: #111; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.atl-field label.atl-choice:hover { border-color: #111; }
.atl-field .atl-choice input[type=radio] { -webkit-appearance: auto; appearance: auto; width: 1rem; height: 1rem; min-width: 0; flex: 0 0 auto; margin: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none; background: none; outline: none; accent-color: #FF3E25; }
.atl-field label.atl-choice:has(input:checked), .atl-field label.atl-choice.atl-on { border-color: #FF3E25; background: #fff5f3; box-shadow: none; }
.atl-field label.atl-choice:has(input:focus-visible) { outline: 2px solid #111; outline-offset: 2px; }
.atl-property.atl-invalid label.atl-choice { border-color: #c4200c; }
.atl-grid > .atl-commercial { min-width: 0; max-width: 100%; }
.atl-commercial { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s ease, opacity .22s ease; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.atl-commercial.atl-open { grid-template-rows: 1fr; opacity: 1; }
.atl-commercial[hidden] { display: none !important; }
.atl-commercial-clip { overflow: hidden; min-height: 0; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 2px 14px; }
.atl-commercial-card { margin-top: 2px; display: grid; gap: 14px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 16px; background: #fff8f6; color: #111; border: 1.5px solid #FF3E25; border-top: 6px solid #FF3E25; border-radius: 12px; box-shadow: 0 6px 18px rgba(255, 62, 37, .14); }
.atl-commercial-card .atl-field { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.atl-commercial-card input, .atl-commercial-card select { scroll-margin-top: 110px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 575.98px) {
  .atl-choices { display: flex; flex-wrap: wrap; gap: 10px; }
  .atl-field label.atl-choice {
    flex: 1 1 calc(50% - 10px);
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) { .atl-commercial { transition: none; } }
/* File uploads */
.atl-opt { font-weight: 400; color: #777; }
.atl-drop { position: relative; border: 2px dashed #bdbdbd; border-radius: 10px; background: #fafafa; padding: 22px 16px; text-align: center; transition: border-color .15s, background .15s; }
.atl-drop:hover, .atl-drop.atl-drag, .atl-drop:focus-within { border-color: #FF3E25; background: #fff5f3; }
.atl-file-input, .atl-field input.atl-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.atl-drop-inner { pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #111; font-size: .98rem; }
.atl-drop-link { color: #FF3E25; text-decoration: underline; }
.atl-file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.atl-file { display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 4px 10px; padding: 9px 10px 10px 12px; border: 1.5px solid #e2e2e2; border-left: 4px solid #111; border-radius: 8px; margin-top: 8px; background: #fff; }
.atl-file-done { border-left-color: #FF3E25; }
.atl-file-err { border-color: #c4200c; border-left-color: #c4200c; }
.atl-file-name { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.atl-file-meta { font-size: .82rem; color: #666; white-space: nowrap; }
.atl-file-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #f1f1f1; color: #111; font-size: 20px; line-height: 30px; padding: 0; cursor: pointer; }
.atl-file-x:hover, .atl-file-x:focus { background: #111; color: #fff; outline: none; }
.atl-file-x[disabled] { opacity: .35; cursor: default; }
.atl-bar { grid-column: 1 / -1; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.atl-bar-fill { display: block; height: 100%; width: 0; background: #FF3E25; transition: width .2s; }
.atl-file-err .atl-bar-fill { background: #c4200c; }
.atl-field.atl-invalid .atl-drop { border-color: #c4200c; }
@media (max-width: 575px) { .atl-drop { padding: 18px 12px; } .atl-file { grid-template-columns: 1fr 34px; } .atl-file-meta { grid-column: 1; grid-row: 2; } .atl-file-x { grid-column: 2; grid-row: 1 / span 2; } }
/* Desktop layout: paired fields line up even when one label wraps */
.atl-grid > .atl-field { display: flex; flex-direction: column; min-width: 0; }
.atl-grid > .atl-field > label { flex: 1 0 auto; }
.atl-grid > .atl-field[hidden] { display: none; }
@media (min-width: 992px) {
  .atl-head { padding: 26px 32px 22px; }
  .atl-body { padding: 26px 32px 30px; }
  .atl-grid { gap: 16px 20px; }
  .proposal-form .atl-form-embed { max-width: none; margin: 1.25rem 0 0; }
}
/* Landing pages: form beside the "Prefer to talk" column */
.proposal-form .lp-form-row .atl-form-embed { flex: 1 1 0; min-width: 0; max-width: none; margin: 0; }
@media (max-width: 991.98px) { .proposal-form .lp-form-row .atl-form-embed { flex: none; width: 100%; } }
/* /contact: details on the left, form on the right from 992px up.
   Below that, the black form header is the first thing under the nav. */
.atl-ctx { min-width: 0; max-width: 100%; }
.atl-ctx-form { min-width: 0; max-width: 100%; }
.atl-ctx-form .atl-form-embed { max-width: none; margin: 0; }
.atl-ctx-map { max-width: 100%; min-width: 0; }
.atl-ctx-map iframe { max-width: 100%; }
.atl-ctx-info { margin-top: 18px; min-width: 0; max-width: 100%; }
.atl-ctx-info > .d-flex { padding: 10px 0 !important; }
.atl-head h1.atl-title { color: #fff; font-size: 1.35rem; line-height: 1.25; margin: 0 0 6px; }
.atl-head-eval { margin: 2px 0 8px; }
.atl-head-eval a {
  display: inline-block;
  max-width: 100%;
  color: #FF3E25;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
}
.atl-head-eval a:hover,
.atl-head-eval a:focus-visible {
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.atl-head-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  margin-top: 4px;
  max-width: 100%;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.atl-head-quick a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  overflow-wrap: anywhere;
}
.atl-head-quick a:hover,
.atl-head-quick a:focus-visible {
  color: #FF3E25;
  outline: 2px solid #FF3E25;
  outline-offset: 2px;
}
@media (max-width: 991.98px) {
  .atl-ctx { display: flex; flex-direction: column; align-items: stretch; }
  .atl-ctx-form { order: 1; }
  .atl-ctx-lead { order: 2; margin-top: 1.35rem; text-align: center; }
  .atl-ctx-map { order: 3; }
  .atl-ctx-info { order: 4; align-items: stretch !important; text-align: left; }
}
@media (min-width: 992px) {
  .atl-ctx {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "lead form"
      "map form"
      "info form";
    column-gap: 1.5rem;
    row-gap: 0;
    align-items: start;
  }
  .atl-ctx-lead { grid-area: lead; margin-top: 0; text-align: left; }
  .atl-ctx-map { grid-area: map; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.08); --bs-aspect-ratio: 112%; }
  .atl-ctx-info { grid-area: info; text-align: left; }
  .atl-ctx-form { grid-area: form; }
}
@media (min-width: 1200px) { .atl-ctx { column-gap: 3rem; } }
/* Landing pages, desktop: "Prefer to talk" becomes a strip above a full-width form (no empty side column) */
/* Link from a proposal form to the Security Self-Evaluation. The form itself is unchanged. */
.atl-eval-banner { background: #111; color: #fff; border-radius: 12px; border-top: 6px solid #FF3E25; padding: 14px 16px; margin: 0 0 14px; font-family: Montserrat, Arial, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.atl-eval-banner p { margin: 0; line-height: 1.45; }
.atl-eval-banner a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.atl-eval-banner a:hover, .atl-eval-banner a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; color: #fff; }
@media (min-width: 992px) {
  .proposal-form .lp-form-row { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .proposal-form .lp-form-side { flex: none; display: grid; grid-template-columns: 1.15fr 1.5fr .85fr; gap: 28px; align-items: start;
    padding: 18px 24px; border: 1px solid rgba(255,255,255,.14); border-left: 4px solid #FF3E25; border-radius: 10px; background: rgba(255,255,255,.03); }
  .proposal-form .lp-form-side > * { margin: 0; }
  .proposal-form .lp-form-row .atl-form-embed { flex: none; width: 100%; margin: 0; }
}
