/* Mobile hardening shared by requests, tracking, directories and visual guide. */
html.abq-request-page,
body.abq-request-page {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}

body.abq-request-page {
  touch-action: pan-y pinch-zoom;
}

body.abq-request-page > header,
body.abq-request-page > main,
body.abq-request-page > footer,
body.abq-request-page .content-shell,
body.abq-request-page .content-card,
body.abq-request-page .entry-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.abq-request-page .container {
  max-width: 100%;
  min-width: 0;
}

body.abq-request-page .content-shell,
body.abq-request-page .content-card,
body.abq-request-page .entry-content {
  overflow-x: hidden;
}

.abq-system,
.abq-smart-system,
.abq-visual-guide,
.abq-request-form,
.abq-tracking,
.abq-card-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.abq-system *,
.abq-visual-guide * {
  min-width: 0;
}

.abq-request-form,
.abq-request-form fieldset,
.abq-request-form details,
.abq-request-form summary,
.abq-request-form label,
.abq-request-form input,
.abq-request-form select,
.abq-request-form textarea,
.abq-request-form button,
.abq-request-form article,
.abq-request-form div {
  max-width: 100%;
}

.abq-request-form summary,
.abq-request-form label,
.abq-request-form article,
.abq-request-form p,
.abq-request-form span,
.abq-request-form strong,
.abq-request-form small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.abq-mode-grid input,
.abq-recipient-group input,
.abq-choice input,
.abq-upload input,
.abq-honeypot input {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@supports (overflow: clip) {
  html.abq-request-page,
  body.abq-request-page,
  body.abq-request-page .content-shell,
  body.abq-request-page .content-card,
  body.abq-request-page .entry-content {
    overflow-x: clip !important;
  }
}

.abq-honeypot {
  top: 0 !important;
  right: auto !important;
  left: 2px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.abq-honeypot label,
.abq-honeypot input {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  left: 0 !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none !important;
  overflow: hidden !important;
}

.abq-system img,
.abq-system svg,
.abq-system video,
.abq-system iframe,
.abq-visual-guide img,
.abq-visual-guide svg {
  max-width: 100%;
}

.abq-system h1,
.abq-system h2,
.abq-system h3,
.abq-system h4,
.abq-system p,
.abq-system a,
.abq-system strong,
.abq-system bdi,
.abq-guide-copy,
.abq-guide-copy p,
.abq-guide-copy li {
  overflow-wrap: anywhere;
}

.abq-field input,
.abq-field select,
.abq-field textarea,
.abq-track-form input,
.abq-button {
  max-width: 100%;
}

.abq-button {
  text-align: center;
  white-space: normal;
}

.abq-service-price {
  position: relative;
  display: grid;
  margin: 0 0 24px;
  padding: 22px 26px;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 28px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(234, 211, 153, 0.26);
  border-radius: 20px;
  background: linear-gradient(135deg, #082c22, #174a3b);
  box-shadow: 0 18px 45px rgba(8, 44, 34, 0.14);
}

.abq-service-price::after {
  position: absolute;
  top: -65px;
  left: -35px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(234, 211, 153, 0.18);
  border-radius: 50%;
}

.abq-service-price > div {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 170px;
  flex-direction: column;
}

.abq-service-price small {
  color: #ead399;
  font-size: 11px;
  font-weight: 800;
}

.abq-service-price strong {
  color: #fff;
  font-family: "Readex Pro", sans-serif;
  font-size: 38px;
  line-height: 1.25;
}

.abq-service-price strong span {
  color: #ead399;
  font-size: 14px;
}

.abq-service-price p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 13px;
  line-height: 1.9;
}

.abq-intelligence-actions {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 14px;
}

.abq-button-ai {
  flex: 0 0 auto;
  color: #fff !important;
  border-color: #b78a38 !important;
  background: linear-gradient(135deg, #b78a38, #8f6726) !important;
  box-shadow: 0 12px 28px rgba(145, 103, 38, 0.2);
}

.abq-button-ai span {
  color: #fff6d8;
  font-size: 18px;
}

.abq-button-ai.is-loading span {
  animation: abqAiSpin 1s linear infinite;
}

.abq-intelligence-actions small {
  color: #71837a;
  font-size: 11px;
  line-height: 1.7;
}

.abq-ai-result {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(183, 138, 56, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf7, #faf6eb);
  box-shadow: 0 18px 45px rgba(8, 44, 34, 0.08);
}

.abq-ai-result[hidden] {
  display: none !important;
}

.abq-ai-result.is-ready {
  animation: abqAiReveal 0.38s ease both;
}

.abq-ai-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.abq-ai-result-head small {
  color: #b78a38;
  font-weight: 800;
}

.abq-ai-result-head h4 {
  margin: 4px 0 0;
  color: #082c22;
  font-size: 22px;
}

.abq-ai-result-head > span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  background: #174a3b;
  font-weight: 800;
}

.abq-ai-summary {
  margin: 18px 0;
  padding: 14px 16px;
  color: #46645a;
  border-right: 3px solid #b78a38;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  line-height: 1.85;
}

.abq-ai-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.abq-ai-columns > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(16, 60, 48, 0.1);
  border-radius: 15px;
  background: #fff;
}

.abq-ai-columns > div > strong {
  display: block;
  margin-bottom: 11px;
  color: #082c22;
  font-size: 13px;
}

.abq-ai-columns article {
  padding: 10px 0;
  border-top: 1px solid rgba(16, 60, 48, 0.08);
}

.abq-ai-columns article:first-child {
  padding-top: 0;
  border-top: 0;
}

.abq-ai-columns article span {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 3px 7px;
  color: #8b6425;
  border-radius: 99px;
  background: #f7ecd2;
  font-size: 9px;
  font-weight: 800;
}

.abq-ai-columns article strong {
  display: block;
  color: #15362c;
  font-size: 13px;
}

.abq-ai-columns article p,
.abq-ai-columns li {
  margin: 4px 0 0;
  color: #6b7d75;
  font-size: 11px;
  line-height: 1.7;
}

.abq-ai-columns ul {
  display: grid;
  margin: 0;
  padding: 0 17px 0 0;
  gap: 7px;
}

.abq-ai-draft {
  margin: 18px 0 0;
}

.abq-ai-draft textarea {
  min-height: 280px;
  background: #fff !important;
  line-height: 2 !important;
}

.abq-ai-warning {
  margin: 12px 0 0;
  color: #80662f;
  font-size: 10px;
}

@keyframes abqAiSpin {
  to { transform: rotate(360deg); }
}

@keyframes abqAiReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.abq-steps button,
.abq-choice,
.abq-directory-card,
.abq-order-grid > div,
.abq-recipient-group label,
.abq-mode-grid label,
.abq-guide-jump a {
  min-width: 0;
}

@media (max-width: 560px) {
  .abq-request-form,
  .abq-success,
  .abq-order-result,
  .abq-guide-hero {
    border-radius: 19px;
  }

  .abq-step-panel {
    padding: 25px 14px;
  }

  .abq-panel-heading h3,
  .abq-success h2,
  .abq-order-head h3 {
    font-size: clamp(22px, 7.5vw, 29px);
    line-height: 1.45;
  }

  .abq-track-form {
    padding: 18px 14px;
  }

  .abq-service-price {
    padding: 20px 17px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .abq-service-price > div {
    min-width: 0;
  }

  .abq-service-price strong {
    font-size: 34px;
  }

  .abq-intelligence-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .abq-button-ai {
    width: 100%;
  }

  .abq-ai-result {
    padding: 18px 14px;
  }

  .abq-ai-result-head h4 {
    font-size: 18px;
  }

  .abq-ai-columns {
    grid-template-columns: 1fr;
  }

  .abq-field input,
  .abq-field select,
  .abq-field textarea,
  .abq-track-form input,
  .abq-voice-button,
  .abq-button {
    font-size: 16px;
  }

  .abq-tracking-code strong,
  .abq-tracking-code a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .abq-smart-hero {
    padding: 25px 18px;
    gap: 18px;
    border-radius: 19px;
  }

  .abq-smart-hero h2 {
    font-size: clamp(26px, 9vw, 36px);
    line-height: 1.45;
  }

  .abq-smart-promise,
  .abq-guidance-banner,
  .abq-voice-row,
  .abq-final-completion,
  .abq-followup-fields {
    max-width: 100%;
  }

  .abq-guide-hero h2 {
    font-size: clamp(27px, 9vw, 38px);
  }

  .abq-guide-hero > p:last-of-type,
  .abq-guide-copy > p {
    font-size: 14px;
  }

  .abq-guide-step,
  .abq-guide-step figure,
  .abq-guide-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .abq-guide-step figure::before {
    inset-inline: 8px -6px;
  }

  .abq-guide-note {
    margin-top: 65px;
  }
}

@media (max-width: 360px) {
  .abq-guide-jump {
    grid-template-columns: 1fr;
  }

  .abq-guide-jump a {
    min-height: 52px;
  }

  .abq-steps button {
    padding-inline: 5px;
  }

  .abq-step-panel {
    padding-inline: 11px;
  }

  .abq-upload,
  .abq-success,
  .abq-order-result {
    padding-inline: 14px;
  }

  .abq-smart-hero,
  .abq-guide-hero {
    padding-inline: 14px;
  }
}
