/* enhance.css — styles for the reconstructed interactivity (enhance.js).
   Neutral, works across all sites; brand accent comes from --enh-primary
   (set at runtime by enhance.js). */

:root { --enh-primary: #e07820; }

/* ---- FAQ accordion panels (injected) ---- */
.enh-panel {
  padding: 0 20px 18px;
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.6;
}
.enh-panel[hidden] { display: none; }
/* chevron rotation is applied as an inline transform by enhance.js (setOpen),
   so the site's own chevron layout/centering is never altered. */

/* ---- Mobile menu ---- */
.enh-menu-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 9998;
}
.enh-menu-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 84vw);
  background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
  transform: translateX(100%); transition: transform .28s ease; z-index: 9999;
  display: flex; flex-direction: column; padding: 64px 22px 28px; gap: 4px;
  overflow-y: auto;
}
body.enh-menu-open .enh-menu-overlay { opacity: 1; visibility: visible; }
body.enh-menu-open .enh-menu-panel { transform: translateX(0); }
body.enh-menu-open { overflow: hidden; }
.enh-menu-close {
  position: absolute; top: 14px; right: 16px; border: 0; background: transparent;
  font-size: 30px; line-height: 1; color: #334155; cursor: pointer; padding: 4px 8px;
}
.enh-menu-link {
  display: block; padding: 13px 12px; border-radius: 10px; text-decoration: none;
  color: #1f2937; font-weight: 600; font-size: 1.02rem; transition: background .15s;
}
.enh-menu-link:hover { background: #f3f4f6; }
.enh-menu-cta {
  margin-top: 10px; text-align: center; color: #fff !important;
  background: var(--enh-primary); box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.enh-menu-cta:hover { filter: brightness(.94); background: var(--enh-primary); }

/* ---- Forms (mock) ---- */
.enh-form-msg {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: .92rem;
  font-weight: 600; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
  grid-column: 1 / -1;
}
.enh-form-msg.enh-err { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.enh-invalid { outline: 2px solid #ef4444 !important; outline-offset: 1px; }

/* inverted (low-contrast-fixed) buttons keep a hover */
.enh-invert:hover { filter: brightness(.97); }
