.qbd-shell {
  --qbd-green: #315f45;
  --qbd-green-2: #789b80;
  --qbd-green-soft: #edf4ef;
  --qbd-ink: #1e2b23;
  --qbd-muted: #68736c;
  --qbd-line: #dce6df;
  --qbd-warn: #8a5b1f;
  color: var(--qbd-ink);
  max-width: 1040px;
  margin: 76px auto 40px;
  padding: 0 22px;
}

.qbd-shell * { box-sizing: border-box; }
.qbd-shell [hidden] { display: none !important; }

.qbd-intro {
  text-align: center;
  margin-bottom: 34px;
}

.qbd-kicker {
  display: inline-block;
  color: var(--qbd-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.qbd-intro h2 {
  margin: 0 auto 12px;
  max-width: 760px;
  color: var(--qbd-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.qbd-intro > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--qbd-muted);
  font-size: 17px;
}

.qbd-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.qbd-flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--qbd-line);
  border-radius: 14px;
  background: #fff;
  color: #3c4b41;
  font-size: 14px;
  font-weight: 650;
}

.qbd-flow b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--qbd-green-soft);
  color: var(--qbd-green);
}

.qbd-form,
.qbd-loading,
.qbd-result {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--qbd-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(35, 64, 45, .08);
}

.qbd-progress {
  height: 7px;
  overflow: hidden;
  margin: -8px 0 13px;
  border-radius: 99px;
  background: #edf0ee;
}

.qbd-progress span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--qbd-green), #8bab91);
  transition: width .28s ease;
}

.qbd-step-counter {
  margin: 0 0 25px;
  color: var(--qbd-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.qbd-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: qbd-in .24s ease-out;
}

.qbd-step.is-active { display: block; }

@keyframes qbd-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.qbd-step legend {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  color: var(--qbd-ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

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

.qbd-form label,
.qbd-question {
  display: block;
  margin: 0 0 19px;
  color: #26352b;
  font-size: 15px;
  font-weight: 650;
}

.qbd-form label small,
.qbd-question small {
  color: var(--qbd-muted);
  font-weight: 400;
}

.qbd-form input[type="text"],
.qbd-form input[type="email"],
.qbd-form input[type="number"],
.qbd-form select,
.qbd-form textarea {
  display: block;
  width: 100%;
  min-height: 51px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #cbd8cf;
  border-radius: 11px;
  background: #fbfcfb;
  color: var(--qbd-ink);
  font: inherit;
  font-weight: 400;
  outline: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.qbd-form textarea { min-height: 108px; resize: vertical; }

.qbd-form input:focus,
.qbd-form select:focus,
.qbd-form textarea:focus {
  border-color: var(--qbd-green-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(120, 155, 128, .14);
}

.qbd-form .qbd-invalid {
  border-color: #b83c3c !important;
  box-shadow: 0 0 0 3px rgba(184, 60, 60, .1) !important;
}

.qbd-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 22px;
}

.qbd-field-group { margin-bottom: 19px; }
.qbd-field-group .qbd-question { margin-bottom: 8px; }
.qbd-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.qbd-choice-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--qbd-line);
  border-radius: 11px;
  background: #fbfcfb;
  font-weight: 600;
  cursor: pointer;
}
.qbd-choice-row label:has(input:checked) {
  border-color: #9ab7a1;
  background: var(--qbd-green-soft);
}
.qbd-choice-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--qbd-green);
}

.qbd-checks label,
.qbd-consents label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--qbd-line);
  border-radius: 11px;
  background: #fbfcfb;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.qbd-checks label:has(input:checked),
.qbd-consents label:has(input:checked) {
  border-color: #9ab7a1;
  background: var(--qbd-green-soft);
}

.qbd-checks input,
.qbd-consents input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--qbd-green);
}

.qbd-alert {
  margin: 20px 0;
  padding: 15px 17px;
  border-left: 4px solid var(--qbd-green-2);
  border-radius: 8px;
  background: var(--qbd-green-soft);
  color: #33483a;
  font-size: 14px;
  line-height: 1.55;
}

.qbd-alert-warning {
  border-left-color: #c49347;
  background: #fff8ed;
  color: #6a481d;
}

.qbd-photo-guide {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 16px;
  background: var(--qbd-green-soft);
}

.qbd-photo-guide h3 { margin: 0 0 8px; font-size: 18px; }
.qbd-photo-guide ul { margin: 0; padding-left: 20px; color: #47584c; }
.qbd-photo-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #abc3b1;
  border-radius: 50%;
  color: var(--qbd-green);
  font-size: 40px;
  line-height: 1;
}

.qbd-upload {
  padding: 20px !important;
  border: 2px dashed #b9cbbf;
  border-radius: 14px;
  background: #fbfcfb;
  text-align: center;
}

.qbd-upload input[type="file"] {
  display: block;
  max-width: 100%;
  margin: 13px auto 9px;
  font-weight: 400;
}

.qbd-file-name { display: block; color: var(--qbd-muted); font-size: 13px; font-weight: 400; }
.qbd-consents { display: grid; gap: 12px; }
.qbd-consents p { margin: 3px 0 0; }
.qbd-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.qbd-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--qbd-line);
}

.qbd-btn {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s, opacity .18s;
}

.qbd-btn:hover { transform: translateY(-1px); }
.qbd-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.qbd-btn-primary { margin-left: auto; background: var(--qbd-green); color: #fff; }
.qbd-btn-primary:hover { background: #274f39; color: #fff; }
.qbd-btn-secondary { border-color: #cbd8cf; background: #fff; color: var(--qbd-green); }
.qbd-submit { display: none; }
.qbd-form.is-last-step .qbd-next { display: none; }
.qbd-form.is-last-step .qbd-submit { display: inline-block; }
.qbd-form.is-first-step .qbd-prev { visibility: hidden; }
.qbd-form-error { min-height: 21px; margin: 14px 0 0; color: #a52727; font-size: 14px; }

.qbd-loading { text-align: center; }
.qbd-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border: 4px solid #dce8df;
  border-top-color: var(--qbd-green);
  border-radius: 50%;
  animation: qbd-spin .8s linear infinite;
}

@keyframes qbd-spin { to { transform: rotate(360deg); } }

.qbd-result h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); }
.qbd-result h3 { margin: 26px 0 10px; font-size: 20px; }
.qbd-result p, .qbd-result li { line-height: 1.62; }
.qbd-result ul { padding-left: 20px; }
.qbd-result-card {
  margin: 14px 0;
  padding: 18px 20px;
  border: 1px solid var(--qbd-line);
  border-left: 4px solid var(--qbd-green-2);
  border-radius: 12px;
  background: #fbfcfb;
}
.qbd-result-card h4 { margin: 0 0 7px; font-size: 18px; }
.qbd-result-card p { margin: 0; }
.qbd-confidence { display: inline-block; margin-top: 8px; color: var(--qbd-muted); font-size: 12px; font-weight: 650; text-transform: uppercase; }
.qbd-result-note { margin-top: 28px; padding: 17px; border-radius: 10px; background: var(--qbd-green-soft); }
.qbd-red-flags { border-left-color: #c26a4c; background: #fff3ef; }

@media (max-width: 760px) {
  .qbd-shell { margin-top: 52px; padding: 0 14px; }
  .qbd-flow { grid-template-columns: 1fr; }
  .qbd-form, .qbd-loading, .qbd-result { padding: 24px 18px; border-radius: 18px; }
  .qbd-grid-2, .qbd-checks { grid-template-columns: 1fr; }
  .qbd-photo-guide { grid-template-columns: 1fr; }
  .qbd-photo-icon { display: none; }
  .qbd-actions { position: sticky; bottom: 0; margin: 26px -18px -24px; padding: 14px 18px; background: rgba(255,255,255,.96); z-index: 2; }
  .qbd-btn { padding: 11px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .qbd-step, .qbd-spinner { animation: none; }
  .qbd-progress span, .qbd-btn { transition: none; }
}

/* Contact page */
.qbc-shell { --qbc-green:#315f45; --qbc-soft:#edf4ef; --qbc-ink:#1e2b23; --qbc-muted:#68736c; --qbc-line:#dce6df; max-width:1180px; margin:70px auto; padding:0 22px; color:var(--qbc-ink); }
.qbc-shell * { box-sizing:border-box; }
.qbc-hero { max-width:790px; margin:0 auto 42px; text-align:center; }
.qbc-kicker { display:inline-block; margin-bottom:10px; color:var(--qbc-green); font-size:13px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.qbc-hero h1 { margin:0 0 16px; font-size:clamp(38px,6vw,66px); line-height:1.05; color:var(--qbc-ink); }
.qbc-hero p { margin:0; color:var(--qbc-muted); font-size:18px; line-height:1.7; }
.qbc-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.qbc-contact-card { display:grid; grid-template-columns:50px 1fr; column-gap:14px; padding:24px; border:1px solid var(--qbc-line); border-radius:18px; background:#fff; color:var(--qbc-ink); text-decoration:none; box-shadow:0 12px 35px rgba(35,64,45,.06); transition:transform .18s,border-color .18s; }
.qbc-contact-card:hover { transform:translateY(-2px); border-color:#9ab7a1; color:var(--qbc-ink); }
.qbc-icon { grid-row:1/4; display:grid; place-items:center; width:50px; height:50px; border-radius:50%; background:var(--qbc-soft); color:var(--qbc-green); font-size:22px; font-weight:800; }
.qbc-contact-card small { color:var(--qbc-muted); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.qbc-contact-card strong { margin:2px 0; font-size:18px; }
.qbc-contact-card span:last-child { color:var(--qbc-muted); font-size:14px; }
.qbc-main-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:22px; align-items:stretch; }
.qbc-panel { padding:clamp(28px,4vw,48px); border:1px solid var(--qbc-line); border-radius:22px; background:#fff; box-shadow:0 18px 45px rgba(35,64,45,.07); }
.qbc-info { background:linear-gradient(145deg,#f8fbf8,#edf4ef); }
.qbc-panel h2,.qbc-note h2 { margin:0 0 14px; color:var(--qbc-ink); font-size:clamp(27px,3vw,38px); line-height:1.15; }
.qbc-panel p,.qbc-panel li,.qbc-note p { color:var(--qbc-muted); line-height:1.7; }
.qbc-panel ul { margin:22px 0 28px; padding-left:20px; }
.qbc-panel li { margin:8px 0; }
.qbc-form-wrap .wpcf7 p { margin:0 0 16px; }
.qbc-form-wrap .wpcf7-form-control-wrap { display:block; margin-top:7px; }
.qbc-form-wrap input:not([type="submit"]):not([type="checkbox"]),.qbc-form-wrap textarea { width:100%; min-height:50px; padding:12px 14px; border:1px solid #cbd8cf; border-radius:10px; background:#fbfcfb; font:inherit; }
.qbc-form-wrap .wpcf7-acceptance label { display:flex; align-items:flex-start; gap:9px; cursor:pointer; }
.qbc-form-wrap .wpcf7-acceptance input[type="checkbox"] { flex:0 0 auto; width:18px; height:18px; min-height:0; margin:2px 0 0; padding:0; accent-color:var(--qbc-green); }
.qbc-form-wrap .wpcf7-acceptance .wpcf7-list-item { margin:0; }
.qbc-form-wrap .qbc-consent { margin:4px 0 18px; color:var(--qbc-muted); font-size:13px; line-height:1.5; }
.qbc-form-wrap textarea { min-height:130px; resize:vertical; }
.qbc-form-wrap input:focus,.qbc-form-wrap textarea:focus { outline:0; border-color:#789b80; box-shadow:0 0 0 4px rgba(120,155,128,.14); background:#fff; }
.qbc-form-wrap input[type="submit"],.qbc-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 22px; border:1px solid var(--qbc-green); border-radius:11px; background:var(--qbc-green); color:#fff; font-weight:750; text-decoration:none; cursor:pointer; }
.qbc-form-wrap input[type="submit"]:hover,.qbc-button:hover { background:#274f39; color:#fff; }
.qbc-button-secondary { background:transparent; color:var(--qbc-green); }
.qbc-note { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:28px; padding:clamp(28px,4vw,46px); border-radius:22px; background:#1f3f2d; color:#fff; }
.qbc-note .qbc-kicker,.qbc-note h2,.qbc-note p { color:#fff; }
.qbc-note p { margin:0; opacity:.8; }
.qbc-note .qbc-button { flex:0 0 auto; border-color:#fff; background:#fff; color:#274f39; }
.qbc-note .qbc-button:hover { background:#edf4ef; color:#274f39; }
@media (max-width:850px) { .qbc-contact-grid,.qbc-main-grid { grid-template-columns:1fr; } .qbc-note { align-items:flex-start; flex-direction:column; } }
@media (max-width:520px) { .qbc-shell { margin:45px auto; padding:0 14px; } .qbc-contact-card { padding:19px; } .qbc-panel { padding:25px 20px; } }

/* Information pages */
.qbi-shell { --qbi-green:#315f45; --qbi-soft:#edf4ef; --qbi-ink:#1e2b23; --qbi-muted:#68736c; --qbi-line:#dce6df; max-width:1180px; margin:70px auto; padding:0 22px; color:var(--qbi-ink); }
.qbi-shell * { box-sizing:border-box; }
.qbi-hero { max-width:850px; margin:0 auto 46px; text-align:center; }
.qbi-kicker { display:inline-block; margin-bottom:10px; color:var(--qbi-green); font-size:13px; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.qbi-hero h2 { margin:0 0 17px; color:var(--qbi-ink); font-size:clamp(40px,6vw,68px); line-height:1.05; }
.qbi-hero p { margin:0; color:var(--qbi-muted); font-size:18px; line-height:1.72; }
.qbi-card-grid { display:grid; gap:18px; margin:28px 0; }
.qbi-card-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.qbi-card { padding:30px; border:1px solid var(--qbi-line); border-radius:20px; background:#fff; box-shadow:0 14px 38px rgba(35,64,45,.06); }
.qbi-card>span { color:var(--qbi-green); font-size:12px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.qbi-card h2 { margin:12px 0 10px; color:var(--qbi-ink); font-size:24px; }
.qbi-card p,.qbi-split p,.qbi-split li,.qbi-process p,.qbi-faq p,.qbi-safety p { color:var(--qbi-muted); line-height:1.7; }
.qbi-link-card { color:inherit; text-decoration:none; transition:transform .18s,border-color .18s; }
.qbi-link-card:hover { transform:translateY(-3px); border-color:#9ab7a1; color:inherit; }
.qbi-link-card strong { color:var(--qbi-green); }
.qbi-split { display:grid; grid-template-columns:1.25fr .75fr; gap:26px; align-items:center; margin:30px 0; padding:clamp(30px,5vw,58px); border-radius:24px; background:#f7faf7; }
.qbi-split h2,.qbi-process h2,.qbi-faq h2,.qbi-safety h2 { margin:0 0 14px; color:var(--qbi-ink); font-size:clamp(28px,4vw,42px); line-height:1.14; }
.qbi-split ul { padding-left:20px; }
.qbi-split li { margin:10px 0; }
.qbi-soft { padding:28px; border-radius:18px; background:var(--qbi-green); color:#fff; }
.qbi-soft h3,.qbi-soft p { color:#fff; }
.qbi-soft p { opacity:.82; }
.qbi-process,.qbi-faq { margin:30px 0; padding:clamp(30px,5vw,56px); border:1px solid var(--qbi-line); border-radius:24px; background:#fff; }
.qbi-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:28px; }
.qbi-steps div { padding:24px; border-radius:16px; background:var(--qbi-soft); }
.qbi-steps b { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--qbi-green); color:#fff; }
.qbi-steps h3 { margin:14px 0 7px; }
.qbi-safety { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-top:30px; padding:clamp(30px,5vw,52px); border-radius:24px; background:#1f3f2d; }
.qbi-safety .qbi-kicker,.qbi-safety h2,.qbi-safety p { color:#fff; }
.qbi-safety p { margin:0; opacity:.82; }
.qbi-button { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-height:50px; padding:13px 23px; border-radius:11px; background:#fff; color:var(--qbi-green); font-weight:750; text-decoration:none; }
.qbi-button:hover { background:var(--qbi-soft); color:var(--qbi-green); }
.qbi-faq details { border-top:1px solid var(--qbi-line); }
.qbi-faq details:last-child { border-bottom:1px solid var(--qbi-line); }
.qbi-faq summary { padding:20px 4px; color:var(--qbi-ink); font-size:17px; font-weight:700; cursor:pointer; }
.qbi-faq details p { margin:0; padding:0 4px 20px; max-width:900px; }
@media (max-width:850px) { .qbi-card-grid-3,.qbi-split,.qbi-steps { grid-template-columns:1fr; } .qbi-safety { align-items:flex-start; flex-direction:column; } }
@media (max-width:520px) { .qbi-shell { margin:45px auto; padding:0 14px; } .qbi-card,.qbi-process,.qbi-faq { padding:24px 20px; } .qbi-split,.qbi-safety { padding:27px 21px; } }

/* Information pages use the full content width; theme demo widgets are not relevant here. */
.page-id-29403 .content-layout-wrapper > .sidebar-container,
.page-id-29404 .content-layout-wrapper > .sidebar-container { display:none !important; }
.page-id-29403 .content-layout-wrapper > .site-content,
.page-id-29404 .content-layout-wrapper > .site-content { grid-column:1 / -1 !important; width:100% !important; max-width:100% !important; }
