/* Shared form surfaces. The shortcode and the question sheet keep their existing controls and handlers. */
.dialectica-form-wrap,
.di-sidebar-form,
#cnpp-ask {
  --form-ink: #263e47;
  --form-muted: #526970;
  --form-surface: #f2f7f4;
  --form-border: #a4b8b5;
  --form-action: #3f6470;
  --form-gold: #b4843d;
}
.dialectica-form-wrap .dform-form > .grid { row-gap: 15px !important; }
.dialectica-form-wrap .dform-form > .grid > div,
.dialectica-form-wrap fieldset { min-width: 0; }
.dialectica-form-wrap .dform-form label:not(.dform-chip):not(.dform-consent-wrap),
.dialectica-form-wrap .dform-form legend,
#cnpp-ask .ca-l {
  color: var(--form-ink);
  line-height: 1.35;
  text-wrap: pretty;
}
.dialectica-form-wrap .dform-field,
body .di-sidebar-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea),
#cnpp-ask .ca-l :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 46px;
  padding: 10px 12px;
  scroll-margin-bottom: 92px;
  border: 1px solid var(--form-border);
  border-radius: 16px;
  background: var(--form-surface);
  color: var(--form-ink);
  line-height: 1.4;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.dialectica-form-wrap .dform-field::placeholder,
body .di-sidebar-form :is(input, textarea)::placeholder,
#cnpp-ask .ca-l :is(input, textarea)::placeholder {
  color: var(--form-muted);
  opacity: 1;
}
.dialectica-form-wrap select.dform-field { padding-right: 38px; }
.dialectica-form-wrap .dform-field:focus,
body .di-sidebar-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus,
#cnpp-ask .ca-l :is(input, select, textarea):focus {
  outline: 2px solid #4a747b !important;
  outline-offset: -2px;
  border-color: #4a747b;
  background: #fff;
  box-shadow: none;
}
.dialectica-form-wrap .dform-form .is-invalid,
#cnpp-ask .ca-l .is-bad { border-color: #ba5650; }
.dialectica-form-wrap .dform-chip,
.dialectica-form-wrap .dform-channel-wrap > label {
  min-height: 44px;
  padding-inline: 11px !important;
  border: 1px solid var(--form-border) !important;
  border-radius: 11px !important;
  background: #f8faf8 !important;
  color: var(--form-ink) !important;
  overflow-wrap: anywhere;
  transition: background-color 150ms ease, border-color 150ms ease !important;
}
.dialectica-form-wrap :is(.dform-chip, .dform-channel-wrap > label):has(input:checked) {
  border-color: var(--form-gold) !important;
  background: #f4ead7 !important;
}
.dialectica-form-wrap .dform-chip-dot { border-color: #819c99 !important; }
.dialectica-form-wrap .dform-chip:has(input:checked) .dform-chip-dot {
  border-color: var(--form-action) !important;
  background: var(--form-action) !important;
}
.dialectica-form-wrap :is(.dform-chip, .dform-consent-wrap, .dform-channel-wrap > label):has(input:focus-visible) {
  outline: 2px solid #4a747b;
  outline-offset: 2px;
}
.dialectica-form-wrap :is(.dform-error, .dform-consent-error, .dform-server-error) { color: #a33831; }
.dialectica-form-wrap .dform-submit,
body .di-sidebar-form .di-submit-btn,
#cnpp-ask .ca-btn:not(.ca-btn-2) {
  min-height: 46px;
  border-radius: 999px;
  background: var(--form-action);
  color: #fff;
  box-shadow: 0 5px 14px #2d525b2b;
  transition: background-color 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
}
.dialectica-form-wrap .dform-submit:not(:disabled):active,
body .di-sidebar-form .di-submit-btn:not(:disabled):active,
#cnpp-ask .ca-btn:not(:disabled):active { transform: scale(.985); }
body #cnpp-ask .ca-sheet {
  border-radius: 22px 22px 0 0;
  background: #fcfdfb;
  box-shadow: 0 -12px 36px #243b4733;
}
#cnpp-ask .ca-sub, #cnpp-ask .ca-hint { color: var(--form-muted); }

/* Home contact area and shared first-consultation section. */
.cnpp-home-faq-contact {
  background: #eaf1ee;
  background: linear-gradient(158deg, #edf4ef, #e5efec);
  color: #263e47;
}
.cnpp-mobile-home .cnpp-home-faq-contact .cnpp-contact-card,
.cnpp-home-faq-contact .cnpp-contact-card {
  padding: clamp(16px, 4.8vw, 32px);
  border: 1px solid #d5e1dd;
  border-radius: 23px;
  background: #fdfefb;
  box-shadow: 0 12px 28px -16px #26485070;
}
.cnpp-mobile-home .cnpp-home-faq-contact h2,
.cnpp-mobile-home .cnpp-home-faq-contact .cnpp-contact-card h3 {
  color: #263e47;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  text-wrap: balance;
}
.cnpp-mobile-home .cnpp-home-faq-contact .cnpp-contact-card h3 {
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.08;
  margin-bottom: 8px;
}
.cnpp-home-faq-contact .cnpp-contact-card > p { color: #526970; text-wrap: pretty; margin-bottom: 21px; }
.cnpp-mobile-home .cnpp-home-faq-contact #home-faq > div {
  border: 1px solid #d3e0db;
  border-radius: 14px;
  background: #f7faf7;
}
.cnpp-mobile-home .cnpp-home-faq-contact #home-faq .faq-answer { color: #425c64; }
.cnpp-mobile-home .cnpp-home-faq-contact .faq-toggle svg { color: #456974; }

.cnpp-first-meeting { background: #edf3f0; }
.cnpp-first-meeting h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.cnpp-first-meeting > div > p:not(:first-child) { text-wrap: pretty; }
.cnpp-first-meeting-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding: 7px 23px;
  margin: 0 0 13px;
  list-style: none;
  border: 1px solid #d5e1dd;
  border-radius: 20px;
  background: #fcfdfb;
  box-shadow: 0 10px 26px -17px #2d4d5566;
}
.cnpp-meeting-step { display: flex; min-width: 0; align-items: flex-start; gap: 12px; padding-block: 15px; }
.cnpp-meeting-step:nth-child(n+3) { border-top: 1px solid #dce7e2; }
.cnpp-meeting-step p { color: #4c666c; text-wrap: pretty; }
.cnpp-meeting-number {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e6efeb;
  color: #355965;
  font-size: 13px;
  font-weight: 700;
}
.cnpp-first-meeting-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid #e4d6b8;
  border-radius: 13px;
  background: #f6eedc;
  color: #4b4433;
  font-weight: 600;
  line-height: 1.45;
}
.cnpp-first-meeting-note svg { color: #855f2b; flex: 0 0 21px; }
.cnpp-first-meeting-note p { margin: 0; text-wrap: pretty; }

.partners-section .partner-card {
  justify-content: center;
  min-width: 0;
  border-radius: 18px;
  background: #fbfdf9;
  box-shadow: 0 10px 24px -17px #294b5266;
}
.partners-section .partner-card .partner-logo { filter: none; mix-blend-mode: multiply; }
.partners-section .partner-card .partner-name {
  color: #3f5e67 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (max-width: 767.98px) {
  .cnpp-mobile-home .cnpp-home-faq-contact {
    background: linear-gradient(158deg, #edf4ef, #e5efec);
    color: #263e47;
  }
  .dialectica-form-wrap .dform-field,
  body .di-sidebar-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea),
  #cnpp-ask .ca-l :is(input, textarea, select) { font-size: 16px; }
}
@media (max-width: 639.98px) {
  .dialectica-form-wrap .dform-form > .grid { grid-template-columns: minmax(0, 1fr) !important; }
  .cnpp-first-meeting-steps { grid-template-columns: minmax(0, 1fr); padding: 4px 14px; }
  .cnpp-meeting-step + .cnpp-meeting-step { border-top: 1px solid #dce7e2; }
  .cnpp-first-meeting-note { font-size: 14px; }
}
@media (min-width: 641px) {
  body #cnpp-ask .ca-sheet { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dialectica-form-wrap :is(.dform-chip, .dform-submit, .dform-channel-wrap > label),
  body .di-sidebar-form .di-submit-btn,
  #cnpp-ask .ca-btn { transform: none !important; transition: none !important; }
}
