/* Additions for pages copied from GoHighLevel: open submenus, the enquiry form, footer credit.
   --dw-accent is set per site (finish.py writes it into :root below). */
:root { --dw-accent: #333; --dw-accent-text: #fff; }

.menu-item.dw-open > .submenu,
.menu-item.dw-open > .mega-menu { visibility: visible !important; opacity: 1 !important; position: static !important; }
.nav-menu-mobile { cursor: pointer; }

/* Review widgets lose GHL's auto-resize script; give them room. */
iframe.lc_reviews_widget { min-height: 420px; }

.dw-form, .dw-form input, .dw-form select, .dw-form textarea, .dw-form button { font-family: var(--dw-font, var(--contentfont, inherit)) !important; }
.dw-form { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; padding: 4px 0; text-align: left; font: inherit; }
.dw-form .dw-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .dw-form .dw-row { grid-template-columns: 1fr; } }
.dw-form label { display: grid; gap: 4px; font-size: 15px; font-weight: 600; color: inherit; }
.dw-form input[type="text"], .dw-form input[type="email"], .dw-form input[type="tel"],
.dw-form select, .dw-form textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit; font-weight: 400; font-size: 15px;
  color: #1a1a1a; background: #fff; border: 1px solid #c9ccd1; border-radius: 6px;
}
.dw-form textarea { min-height: 120px; resize: vertical; }
.dw-form input:focus, .dw-form textarea:focus, .dw-form select:focus { outline: 2px solid var(--dw-accent); outline-offset: 1px; }
.dw-form .dw-consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.dw-form .dw-consent input { margin-top: 3px; }
.dw-form .dw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dw-form button {
  justify-self: start; padding: 12px 28px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  color: var(--dw-accent-text); background: var(--dw-accent); border: 0; border-radius: 8px;
}
.dw-form button:disabled { opacity: .6; cursor: wait; }
.dw-status { min-height: 1.2em; font-size: 15px; }
.dw-status.dw-ok { color: #1d7a35; font-weight: 600; }
.dw-status.dw-error { color: #b3261e; font-weight: 600; }
.dw-credit a { color: inherit; text-decoration: underline; }
.dw-credit-bar { padding: 18px 16px; text-align: center; font-size: 14px; color: #555; background: #f4f4f4; }
.dw-credit-bar p { margin: 0; }

/* Sections that hold only custom code (finish.py adds .dw-full): drop GHL's 1170px row max width
   and the row/column padding, so hand-built designs run edge to edge as designed. */
.dw-full, .dw-full .c-row, .dw-full .c-column { padding-left: 0 !important; padding-right: 0 !important; }
.dw-full > .inner, .dw-full .c-row, .dw-full .c-row > .inner, .dw-full .c-column, .dw-full .c-column > .inner {
  max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important;
}

/* Reviews (replace GHL review widgets; built by reviews.py) */
.dw-reviews, .dw-survey { font-family: var(--dw-font, var(--contentfont, inherit)); }
.dw-reviews { color: inherit; text-align: left; }
.dw-reviews-head { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dw-reviews-head > div:first-child { flex: 1 1 320px; }
.dw-reviews-head h3 { margin: 0 0 4px; font-size: 24px; color: inherit; }
.dw-reviews-head p { margin: 0; opacity: .75; font-size: 15px; }
.dw-reviews-score { display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; }
.dw-reviews-score strong { grid-row: span 2; font-size: 40px; line-height: 1; }
.dw-reviews-score span:last-child { opacity: .75; font-size: 14px; }
.dw-stars { display: inline-flex; gap: 2px; color: #f5b301; }
.dw-stars svg { width: 18px; height: 18px; fill: currentColor; }
.dw-reviews-write { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none !important;
  background: var(--dw-accent); color: var(--dw-accent-text) !important; }
.dw-reviews-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dw-review { margin: 0; padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 4px 14px rgba(16,24,40,.06);
  display: flex; flex-direction: column; gap: 12px; color: #1f2937; }
.dw-review-top { display: flex; justify-content: space-between; align-items: center; }
.dw-review-date { color: #667085; font-size: 13px; }
.dw-review blockquote { margin: 0; flex: 1; font-size: 15px; line-height: 1.55; }
.dw-review blockquote.dw-clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.dw-more { align-self: flex-start; margin-top: -6px; padding: 0; border: 0; background: none; color: var(--dw-accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.dw-review figcaption { font-size: 14px; font-weight: 600; color: #344054; }
.dw-review-src { font-weight: 400; color: #667085; }
@media (max-width: 600px) {
  .dw-reviews-list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .dw-review { scroll-snap-align: start; }
}
/* Review survey */
.dw-survey { max-width: 560px; margin: 0 auto; text-align: center; color: #1f2937; }
.dw-survey fieldset { border: 0; margin: 0; padding: 0; }
.dw-survey legend { font-size: 20px; font-weight: 700; margin: 0 auto 12px; }
.dw-rate { display: inline-flex; gap: 6px; }
.dw-rate input { position: absolute; opacity: 0; }
.dw-rate label { cursor: pointer; color: #d0d5dd; }
.dw-rate label svg { width: 40px; height: 40px; fill: currentColor; }
.dw-rate label:hover, .dw-rate label.dw-on { color: #f5b301; }
.dw-rate input:focus-visible + span { outline: 2px solid var(--dw-accent); }
.dw-rate-ends { display: flex; justify-content: space-between; max-width: 240px; margin: 6px auto 0; font-size: 13px; color: #667085; }
.dw-survey-happy, .dw-survey-sad { margin-top: 20px; }
.dw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
