/* O07 — public surfaces only; technical plugin pages are excluded at enqueue.
 * Preserve layout, chart/status colors, native validation and the O02 focus ring.
 */
.lc-accordion article { border-color: var(--lc-surface-peach-strong); }
.lc-accordion button[aria-expanded="true"],
.lc-accordion article > div { background: var(--lc-surface-peach); }
.lc-accordion button[aria-expanded="true"] { color: var(--lc-action-hover); }
.lc-accordion article > div p { color: var(--lc-text-muted); }
.lc-contact-section { background: var(--lc-surface-peach); }
.lc-contact-section__intro p { color: var(--lc-text-muted); }
.lc-contact-form {
  border-color: var(--lc-surface-peach-strong);
  box-shadow: 0 22px 60px rgba(var(--lc-brand-primary-rgb), .08);
}
.lc-contact-form :is(input[type="text"], input[type="email"], textarea):hover:not(:focus) {
  border-color: var(--lc-action-primary);
}
/* Errors remain red and are also described by native validation or a notice. */
.lc-contact-form :is(input, textarea):user-invalid {
  border-color: #8a1c1c;
  background: #fff0f0;
}
.lc-contact-form .lc-form-notice { border-inline-start: 4px solid currentColor; }
.lc-contact-form .lc-form-notice.is-error { color: #8a1c1c; background: #fff0f0; }
.lc-contact-form .lc-form-notice.is-success { color: #07593e; background: #e7f8f1; }
.lc-support-drawer__panel {
  border-color: var(--lc-border-control);
  background: var(--lc-surface-peach);
  box-shadow: -20px 20px 70px rgba(var(--lc-brand-primary-rgb), .12);
}
.lc-support-drawer__panel h2 { color: var(--lc-action-hover); }
.lc-support-drawer__panel > p,
.lc-support-drawer__panel > a small { color: var(--lc-text-muted); }
.lc-support-drawer__panel > a {
  color: var(--lc-text);
  background: var(--lc-surface);
  border-color: var(--lc-surface-peach-strong);
}
.lc-support-drawer__panel > a:hover { border-color: var(--lc-action-primary); }
.lc-support-drawer__note { border-color: var(--lc-border-control); }

/* Strong orange conclusion; white text passes even at the brightest endpoint. */
.lc-final-cta, .la-cta, .logesco-pricing {
  background: linear-gradient(135deg, var(--lc-action-primary), var(--lc-action-hover));
  color: var(--lc-on-action);
}
.lc-final-cta p, .la-cta p, .logesco-pricing p { color: var(--lc-on-action); opacity: 1; }
.lc-final-cta aside {
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
}
.lc-final-cta aside span { color: var(--lc-action-hover); }
.lc-final-cta .lc-ghost-button { border-color: var(--lc-on-action); }
.lc-final-cta .lc-light-button { color: var(--lc-action-hover); }

/* Shared footer identity for the Softro front page and WordPress public pages. */
.lc-footer, .logesco-footer {
  background: var(--lc-action-hover);
  color: var(--lc-on-action);
  box-shadow: inset 0 4px var(--lc-brand-primary);
}
.lc-footer-brand p, .lc-footer nav span, .lc-footer-bottom,
.logesco-footer p, .logesco-footer-bottom { color: var(--lc-surface-peach-strong); }
.lc-footer nav a, .lc-footer-brand a, .lc-footer nav h2,
.logesco-footer a, .logesco-footer h2 { color: var(--lc-on-action); }
.lc-footer a:hover, .logesco-footer a:hover {
  color: var(--lc-on-action);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.lc-footer-bottom, .logesco-footer-bottom { border-color: var(--lc-surface-peach-strong); }

/* Existing secondary-page layouts remain intact. */
.la-hero, .logesco-hero {
  background: linear-gradient(135deg, var(--lc-surface-peach), var(--lc-surface));
}
.la-muted { background: var(--lc-surface-peach); }
.la-card { border-color: var(--lc-surface-peach-strong); }
.la-btn-secondary, .logesco-button-secondary, .logesco-login-link {
  color: var(--lc-action-hover);
  background: var(--lc-surface-peach);
  border-color: var(--lc-action-primary);
}
.logesco-header-actions::before { background: var(--lc-action-primary); }
/* Narrow overrides for the historical inline public-brand rules. */
body.logesco-alpha-theme .logesco-footer { background: var(--lc-action-hover) !important; }
body.logesco-alpha-theme .logesco-service-client,
body.logesco-alpha-theme .logesco-service-client span { color: var(--lc-action-hover) !important; }
.logesco-main .elementor-icon-box-icon .elementor-icon,
.logesco-main .elementor-icon-box-icon .elementor-icon svg {
  color: var(--lc-action-primary) !important;
  fill: var(--lc-action-primary) !important;
}
.logesco-nav li:first-child a::before { color: var(--lc-action-primary); }
/* The imported secondary pages end with a contact CTA without a named class. */
.logesco-elementor-content > .elementor > section:last-child:has(a[href$="/contact/"]) {
  background: linear-gradient(135deg, var(--lc-action-primary), var(--lc-action-hover)) !important;
}
body.logesco-alpha-theme .logesco-elementor-content > .elementor > section:last-child:has(a[href$="/contact/"])
:is(.elementor-heading-title, .elementor-widget-text-editor, p) {
  color: var(--lc-on-action) !important;
}
body.logesco-alpha-theme .logesco-elementor-content > .elementor > section:last-child:has(a[href$="/contact/"]) .elementor-button {
  color: var(--lc-action-hover) !important;
  background: var(--lc-surface) !important;
  border-color: var(--lc-surface) !important;
}
body.logesco-alpha-theme .logesco-elementor-content > .elementor > section:last-child:has(a[href$="/contact/"]) .elementor-button:hover {
  background: var(--lc-surface-peach-strong) !important;
}
body.logesco-alpha-theme .la-kicker,
body.logesco-alpha-theme .elementor-widget-heading h6.elementor-heading-title {
  color: var(--lc-action-hover) !important;
}
body.logesco-alpha-theme :is(.elementor-widget-button.la-secondary, .la-secondary) .elementor-button {
  color: var(--lc-action-hover) !important;
  background: var(--lc-surface-peach) !important;
  border-color: var(--lc-action-primary) !important;
}
