:root {
  --apq-blue: #29CDFF;
  --apq-violet: #812dff;
  --apq-ink: #102645;
  --apq-muted: #667a99;
  --apq-line: #d8e2f1;
  --apq-soft: #f5f8ff;
  --apq-cyan: #25c9ef;
  --apq-green: #10b981;
}

body.apq-is-open {
  overflow: hidden;
}

.apq-modal,
.apq-modal *,
.apq-modal *::before,
.apq-modal *::after {
  box-sizing: border-box;
}

.elementor-element-d95b081 .elementor-price-table__integer-part {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #00b74a !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

/* Corpo do card comercial: fundo branco, mantendo o cabeçalho azul. */
.elementor-element-d95b081 .elementor-price-table {
  background: #fff !important;
}

.elementor-element-d95b081 .ap-quote-price-prefix {
  color: #00b74a !important;
  font-size: clamp(.78rem, 1vw, .92rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
}

.elementor-element-d95b081 .ap-quote-price-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  color: #00b74a !important;
  white-space: nowrap;
}

.elementor-element-d95b081 .ap-quote-price-currency,
.elementor-element-d95b081 .ap-quote-price-decimal {
  color: #00b74a !important;
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1;
}

.elementor-element-d95b081 .ap-quote-price-integer {
  color: #00b74a !important;
  font-family: "Bricolage Grotesque", Inter, Arial, sans-serif;
  font-size: clamp(2.35rem, 3.2vw, 2.9rem);
  font-weight: 750;
  line-height: .9;
  letter-spacing: -.055em;
}

.elementor-element-d95b081 .ap-quote-card-copy {
  margin: 22px 24px 18px;
  color: #596c87;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.elementor-element-d95b081 .elementor-price-table__footer {
  padding-top: 0 !important;
}

.elementor-element-d95b081 .elementor-price-table__button {
  display: flex !important;
  width: calc(100% - 38px) !important;
  min-height: 54px;
  margin-inline: auto !important;
  padding: 13px 18px !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  text-align: center;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(100deg, #29CDFF, #872bff) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  box-shadow: 0 12px 28px rgba(41, 205, 255, .18);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.elementor-element-d95b081 .elementor-price-table__button:hover,
.elementor-element-d95b081 .elementor-price-table__button:focus-visible {
  transform: translateY(-2px);
  color: #7de9ff !important;
  box-shadow: 0 16px 32px rgba(41, 205, 255, .24);
}

.apq-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  place-items: center;
  padding: 24px;
  font-family: Inter, Arial, sans-serif;
}

.apq-modal.is-open {
  display: grid;
}

.apq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 48, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.apq-dialog {
  position: relative;
  width: min(930px, 100%);
  min-width: 0;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(124, 153, 205, .28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(128, 45, 255, .08), transparent 31%),
    radial-gradient(circle at 0 100%, rgba(37, 201, 239, .08), transparent 31%),
    #fff;
  box-shadow: 0 28px 90px rgba(5, 21, 52, .32);
  color: var(--apq-ink);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 94, 255, .34) transparent;
}

/* Mantém a rolagem acessível, sem o trilho pesado do navegador no modal. */
.apq-dialog::-webkit-scrollbar {
  width: 6px;
}

.apq-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.apq-dialog::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(42, 94, 255, .34);
  background-clip: padding-box;
}

.apq-dialog::-webkit-scrollbar-thumb:hover {
  background-color: rgba(42, 94, 255, .58);
}

.apq-dialog::-webkit-scrollbar-button {
  display: none;
}

.apq-dialog__close {
  position: sticky;
  z-index: 8;
  top: 18px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 18px 18px -60px auto;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--apq-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--apq-ink);
  font-size: 0;
  line-height: 0;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(21, 57, 112, .08);
}

.apq-dialog__close svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.apq-header {
  padding: 38px 72px 10px;
  text-align: center;
}

.apq-step-label {
  display: inline-flex;
  gap: 3px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ede8ff;
  color: #5634d7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.apq-header h2,
.apq-readiness__intro h3,
.apq-result h3 {
  margin: 15px auto 6px;
  max-width: 680px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  background: linear-gradient(90deg, #29CDFF, #20bde9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.apq-quote-preview {
  padding: 30px;
  border: 1px solid var(--apq-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(25, 58, 112, .06);
}

.apq-quote-preview__intro {
  text-align: center;
}

.apq-quote-preview__intro > small {
  display: block;
  margin-bottom: 6px;
  color: #078165;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.apq-quote-preview__intro h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.025em;
  background: linear-gradient(90deg, #29CDFF, #20bde9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.apq-quote-preview__intro p {
  margin: 10px auto 0;
  max-width: 560px;
  color: var(--apq-muted);
  font-size: 14px;
  line-height: 1.55;
}

.apq-quote--preview {
  margin: 22px 0;
}

.apq-quote-preview__call {
  margin: 0 auto 18px;
  max-width: 620px;
  color: #31496e;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.apq-quote-preview__billing {
  display: flex;
  justify-content: center;
  margin: -8px auto 18px;
  color: #58708f;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.apq-quote-preview > .apq-button {
  width: 100%;
}

.apq-quote-preview__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.apq-quote-preview__actions .apq-button {
  width: 100%;
}

.apq-button--whatsapp {
  border: 1px solid #8edcc8;
  background: #effcf7;
  color: #087c60;
}

.apq-button--whatsapp:hover {
  border-color: #6fd5ba;
  background: #e4f8f0;
  color: #066a52;
}

.apq-button--whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.apq-meet-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linejoin: round;
}

.apq-header > p {
  margin: 0;
  color: var(--apq-muted);
  font-size: 14px;
}

.apq-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(640px, 100%);
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.apq-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8291aa;
  font-size: 11px;
  font-weight: 650;
}

.apq-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: #dfe6f1;
}

.apq-progress li.is-complete:not(:last-child)::after {
  background: linear-gradient(90deg, var(--apq-green), var(--apq-blue));
}

.apq-progress li span {
  position: relative;
  z-index: 1;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 2px solid #dde5f1;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.apq-progress li.is-active,
.apq-progress li.is-complete {
  color: var(--apq-ink);
}

.apq-progress li.is-active span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--apq-blue), var(--apq-violet));
  color: #fff;
  box-shadow: 0 8px 20px rgba(78, 66, 240, .25);
}

.apq-progress li.is-complete span {
  border-color: var(--apq-green);
  background: var(--apq-green);
  color: #fff;
}

.apq-form {
  padding: 15px 72px 20px;
}

.apq-step {
  display: none;
}

.apq-step.is-active {
  display: block;
  animation: apq-enter .3s ease both;
}

@keyframes apq-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.apq-panel,
.apq-readiness,
.apq-result {
  padding: 28px;
  border: 1px solid var(--apq-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 38px rgba(25, 58, 112, .06);
}

.apq-panel > label:not(.apq-consent),
.apq-system-name {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--apq-ink);
  font-size: 13px;
  font-weight: 700;
}

.apq-panel em,
.apq-choice-group em {
  color: #e33d5e;
  font-style: normal;
}

.apq-label-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.apq-panel input[type="text"],
.apq-panel input[type="email"],
.apq-panel input[type="tel"],
.apq-panel input[type="number"] {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 0 15px;
  border: 1px solid #d6e0ee;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--apq-ink);
  font: 500 15px/1 Inter, sans-serif;
  transition: border-color .2s, box-shadow .2s;
}

.apq-panel input:focus {
  border-color: var(--apq-blue);
  box-shadow: 0 0 0 4px rgba(45, 92, 255, .1);
}

.apq-panel input[aria-invalid="true"] {
  border-color: #e33d5e;
}

.apq-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px;
  color: var(--apq-muted);
  font-size: 12px;
  line-height: 1.45;
}

.apq-consent input {
  margin-top: 2px;
  accent-color: var(--apq-blue);
}

.apq-consent a {
  color: var(--apq-blue);
  text-decoration: underline;
}

.apq-button {
  min-height: 50px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: 750 14px/1.25 Inter, sans-serif;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, color .2s, background .2s;
}

.apq-button:hover {
  transform: translateY(-1px);
}

.apq-button--primary {
  background: linear-gradient(105deg, var(--apq-blue), var(--apq-violet));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(75, 71, 238, .22);
}

.apq-button--primary:hover,
.apq-button--primary:focus-visible {
  color: #7de9ff !important;
  box-shadow: 0 14px 30px rgba(75, 71, 238, .3);
}

.apq-button--secondary {
  border-color: var(--apq-line);
  background: #fff;
  color: #174fd3 !important;
}

.apq-button--secondary:hover,
.apq-button--secondary:focus-visible {
  border-color: #9eb5dc;
  background: #f8faff;
  color: #174fd3 !important;
}

/* Mantém o CTA de agenda imune aos estados rosa herdados do tema. */
.apq-button[data-apq-booking],
.apq-button[data-apq-booking]:hover,
.apq-button[data-apq-booking]:focus,
.apq-button[data-apq-booking]:focus-visible,
.apq-button[data-apq-booking]:active {
  border-color: #9eb5dc !important;
  background: #fff !important;
  color: #174fd3 !important;
  box-shadow: 0 0 0 3px rgba(42, 71, 255, 0) !important;
}

.apq-button[data-apq-booking]:hover,
.apq-button[data-apq-booking]:focus-visible {
  border-color: #2a47ff !important;
  background: #f5f8ff !important;
  box-shadow: 0 0 0 3px rgba(42, 71, 255, .12) !important;
}

.apq-button[data-apq-booking]:active {
  background: #eaf0ff !important;
}

.apq-panel > .apq-button--primary {
  width: 100%;
}

.apq-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 14px;
  margin-top: 20px;
}

.apq-choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.apq-choice-group legend {
  margin-bottom: 18px;
  color: var(--apq-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.apq-choice {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--apq-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.apq-choice:has(input:checked) {
  border-color: var(--apq-blue);
  background: #f5f7ff;
}

.apq-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--apq-blue);
}

.apq-choice span {
  display: grid;
  gap: 5px;
}

.apq-choice b {
  color: var(--apq-ink);
  font-size: 14px;
}

.apq-choice small {
  color: var(--apq-muted);
  font-size: 12px;
}

.apq-system-name {
  margin: -3px 0 14px 34px !important;
  padding: 15px;
  border-left: 3px solid var(--apq-blue);
  background: #f7f9ff;
}

.apq-system-name[hidden] {
  display: none !important;
}

.apq-honeypot {
  position: absolute !important;
  left: -99999px !important;
}

.apq-readiness__intro h3,
.apq-result h3 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--apq-ink);
}

.apq-readiness__intro p,
.apq-diagnostic-summary p {
  margin: 0;
  color: var(--apq-muted);
  font-size: 14px;
  line-height: 1.55;
}

.apq-groups {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.apq-group {
  border: 1px solid var(--apq-line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}

.apq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 17px;
  cursor: pointer;
  list-style: none;
}

.apq-group summary::-webkit-details-marker {
  display: none;
}

.apq-group summary span {
  display: grid;
  gap: 3px;
}

.apq-group summary b {
  color: var(--apq-ink);
  font-size: 14px;
}

.apq-group summary small {
  color: var(--apq-muted);
  font-size: 11px;
}

.apq-group summary em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: #3158df;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.apq-group__body {
  padding: 0 17px 17px;
  border-top: 1px solid #edf1f7;
}

.apq-select-all {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: 12px 0;
  padding: 7px 10px;
  border: 1px solid rgba(42, 71, 255, .16);
  border-radius: 8px;
  background: transparent;
  color: #2155dc;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.apq-select-all:hover,
.apq-select-all:focus-visible {
  border-color: #2a47ff;
  background: #2a47ff;
  color: #fff;
  outline: 0;
}

.apq-select-all:active {
  transform: translateY(1px);
}

.apq-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.apq-field-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e4eaf3;
  border-radius: 9px;
  color: #3d5274;
  font-size: 12px;
  cursor: pointer;
}

.apq-field-check:has(input:checked) {
  border-color: #a9e4d0;
  background: #f1fcf8;
  color: #08795b;
}

.apq-field-check input {
  accent-color: var(--apq-green);
}

.apq-course-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2f5fa;
  color: var(--apq-muted);
  font-size: 11px;
  line-height: 1.5;
}

.apq-result__hero {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.apq-result__check {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--apq-green), var(--apq-cyan));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.apq-result__hero small {
  display: block;
  margin-bottom: 4px;
  color: #078165;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.apq-quote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 17px;
  border-radius: 15px;
  background: linear-gradient(120deg, #29CDFF, #5d3cff 62%, #872bff);
  color: #fff;
}

.apq-quote > div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
}

.apq-quote small {
  display: block;
  margin-bottom: 5px;
  color: #c9d8ff;
  font-size: 10px;
}

.apq-quote strong {
  font-size: 19px;
  line-height: 1.2;
}

.apq-quote > p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #d8e5ff;
  font-size: 11px;
  line-height: 1.5;
}

.apq-diagnostic-summary {
  margin: 22px 0 14px;
}

.apq-diagnostic-summary h3 {
  font-size: 20px;
}

.apq-missing-report {
  display: grid;
  gap: 10px;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}

.apq-missing-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #fff;
}

.apq-missing-item > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff2e8;
  color: #d86c17;
  font-size: 17px;
  font-weight: 800;
}

.apq-missing-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--apq-ink);
  font-size: 13px;
}

.apq-missing-item small {
  color: #7a8ba4;
  font-size: 10px;
}

.apq-missing-item p {
  margin: 7px 0 0;
  color: #5e7291;
  font-size: 11px;
  line-height: 1.5;
}

.apq-missing-item p b {
  color: #2e466b;
}

.apq-ready-state {
  padding: 18px;
  border: 1px solid #b9ebd9;
  border-radius: 13px;
  background: #effcf7;
  color: #08795b;
  font-size: 13px;
  line-height: 1.55;
}

.apq-result__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.apq-schedule-note {
  margin: 10px 0 0;
  color: var(--apq-muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.apq-scheduler {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cbdaf0;
  border-radius: 15px;
  background: #f8faff;
}

.apq-scheduler__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.apq-scheduler__head small {
  display: block;
  margin-bottom: 4px;
  color: #087b67;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.apq-scheduler__head h3 {
  margin: 0;
  font-size: 19px;
}

.apq-scheduler__head button {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--apq-line);
  border-radius: 50%;
  background: #fff;
  color: var(--apq-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.apq-scheduler__status {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 9px;
  background: #eef3fb;
  color: #5d7090;
  font-size: 12px;
  line-height: 1.5;
}

.apq-slots {
  display: grid;
  gap: 12px;
  max-height: 300px;
  overflow: auto;
  margin-top: 15px;
  padding-right: 3px;
}

.apq-slot-day {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.apq-slot-day > strong {
  color: var(--apq-ink);
  font-size: 12px;
  text-transform: capitalize;
}

.apq-slot-day > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.apq-slot-day button {
  min-width: 62px;
  padding: 8px 10px;
  border: 1px solid #cbd8ea;
  border-radius: 8px;
  background: #fff;
  color: #174fd3;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.apq-slot-day button:hover,
.apq-slot-day button.is-selected {
  border-color: var(--apq-blue);
  background: var(--apq-blue);
  color: #fff;
}

.apq-confirm-slot {
  width: 100%;
  margin-top: 16px;
}

.apq-confirm-slot:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.apq-booking-success {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #b6ead7;
  border-radius: 12px;
  background: #effcf7;
  color: #17634f;
}

.apq-booking-success > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--apq-green);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.apq-booking-success strong {
  color: #075c46;
}

.apq-booking-success p {
  margin: 4px 0;
  font-size: 12px;
  line-height: 1.5;
}

.apq-booking-success a {
  color: #174fd3;
  font-size: 12px;
  font-weight: 750;
}

.apq-toast {
  position: fixed;
  z-index: 1000001;
  left: 50%;
  bottom: 28px;
  max-width: calc(100vw - 30px);
  transform: translateX(-50%);
  padding: 12px 17px;
  border-radius: 999px;
  background: #102645;
  color: #fff;
  font: 650 12px/1.3 Inter, sans-serif;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

@media (max-width: 720px) {
  .elementor-element-d95b081 .elementor-price-table__button {
    white-space: normal !important;
  }

  .apq-modal {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    align-items: end;
    overflow: hidden;
  }

  .apq-dialog {
    width: 100vw;
    min-width: 0 !important;
    max-width: 100vw;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
  }

  .apq-dialog__close {
    top: 10px;
    margin: 12px 12px -54px auto;
  }

  .apq-header {
    width: 100%;
    min-width: 0;
    padding: 28px 20px 8px;
    overflow: hidden;
  }

  .apq-header h2 {
    width: 100%;
    max-width: 100%;
    padding-inline: 22px;
    font-size: 1.7rem;
    overflow-wrap: anywhere;
  }

  .apq-progress {
    width: 100%;
    min-width: 0;
    margin-top: 23px;
  }

  .apq-progress li small {
    max-width: 90px;
    line-height: 1.25;
  }

  .apq-form {
    width: 100%;
    min-width: 0;
    padding: 12px 14px 18px;
    overflow: hidden;
  }

  .apq-panel,
  .apq-quote-preview,
  .apq-readiness,
  .apq-result {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 18px;
  }

  .apq-field-grid,
  .apq-quote-preview__actions,
  .apq-result__actions,
  .apq-actions {
    grid-template-columns: 1fr;
  }

  .apq-quote {
    grid-template-columns: 1fr;
  }

  .apq-quote > p {
    grid-column: 1;
  }

  .apq-slot-day {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .apq-group summary,
  .apq-choice,
  .apq-missing-item,
  .apq-booking-success {
    min-width: 0;
  }

  .apq-group summary span,
  .apq-choice span,
  .apq-missing-item > div,
  .apq-booking-success > div,
  .apq-consent span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .apq-modal {
    padding: 8px;
    align-items: center;
    justify-items: center;
  }

  .apq-dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    height: auto;
    align-self: center;
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .apq-dialog__close {
    top: 8px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 10px 10px -50px auto;
  }

  .apq-header {
    padding: 22px 16px 5px;
  }

  .apq-header h2 {
    max-width: 320px;
    padding-inline: 0;
    font-size: 1.32rem;
    line-height: 1.08;
  }

  .apq-header > p {
    padding-inline: 0;
    font-size: 12px;
  }

  .apq-progress {
    margin-top: 18px;
  }

  .apq-progress li {
    gap: 5px;
    font-size: 8px;
    line-height: 1.15;
  }

  .apq-progress li span {
    width: 31px;
    height: 31px;
  }

  .apq-progress li:not(:last-child)::after {
    top: 15px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
  }

  .apq-progress li small {
    max-width: 86px;
    font-size: 8px;
    line-height: 1.2;
  }

  .apq-form {
    padding: 8px 12px 14px;
  }

  .apq-panel,
  .apq-quote-preview,
  .apq-readiness,
  .apq-result {
    padding: 14px;
  }

  .apq-panel > label:not(.apq-consent) {
    gap: 6px;
    margin-bottom: 13px;
  }

  .apq-panel input[type="text"],
  .apq-panel input[type="email"],
  .apq-panel input[type="tel"],
  .apq-panel input[type="number"] {
    min-height: 46px;
    padding-inline: 14px;
  }

  .apq-consent {
    margin-bottom: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .apq-step.is-active {
    animation: none;
  }
  .apq-button {
    transition: none;
  }
}
