/* Drivon site enhancements: form feedback, mobile call/book bar, article call to action. */
:root {
  --drivon-navy: #183046;
  --drivon-green: #378a51;
  --drivon-green-dark: #2c6f41;
  --drivon-ink: #13263a;
  --drivon-mist: #eef2f5;
}

/* Form feedback */
.drivon-form-notice {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font: 500 15px/1.45 "Work Sans", system-ui, sans-serif;
}
.drivon-form-notice[hidden] { display: none; }
.drivon-form-notice.is-success { background: #edf8f0; border: 1px solid #9fd0ad; color: var(--drivon-ink); }
.drivon-form-notice.is-error { background: #fff4ef; border: 1px solid #f0b9a4; color: #5a2614; }
.drivon-form-notice a { color: inherit; font-weight: 600; text-decoration: underline; }
/* Cloudflare Turnstile (invisible unless a visitor needs to tick the box) */
.drivon-turnstile { width: 100%; margin: 0 0 10px; }
.drivon-turnstile:empty { display: none; }
form[data-drivon-form] button[type="submit"],
form[data-drivon-form] input[type="submit"] { cursor: pointer; }
form[data-drivon-form] button[disabled] { opacity: .65; cursor: progress; }
.drivon-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Mobile submenu toggles (kept from the previous site script) */
.menu-item-has-children.poc-open > .sub-menu { display: block !important; opacity: 1 !important; visibility: visible !important; }

/* Mobile call / book bar */
.drivon-cta-bar { display: none; }
@media (max-width: 767px) {
  .drivon-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(24, 48, 70, .97); box-shadow: 0 -6px 18px rgba(0, 0, 0, .18);
  }
  .drivon-cta-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 46px; border-radius: 8px; text-decoration: none;
    font: 600 15px/1.2 "Work Sans", system-ui, sans-serif; letter-spacing: .01em;
  }
  .drivon-cta-bar .call { background: #fff; color: var(--drivon-navy); }
  .drivon-cta-bar .book { background: var(--drivon-green); color: #fff; }
  body.has-drivon-cta-bar { padding-bottom: 72px; }
  /* Lift the site's floating message button above the bar */
  body.has-drivon-cta-bar .elementor-element-b01d16e { bottom: 76px !important; }
}

/* End-of-article call to action */
.drivon-article-cta {
  margin: 40px 0 8px; padding: 28px 28px 26px; border-radius: 10px;
  background: var(--drivon-navy); color: #fff;
}
.drivon-article-cta h2 {
  margin: 0 0 8px; color: #fff; font: 600 26px/1.25 "Work Sans", system-ui, sans-serif; text-transform: none; letter-spacing: 0;
}
.drivon-article-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, .88); font: 400 17px/1.5 "Work Sans", system-ui, sans-serif; }
.drivon-article-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.drivon-article-cta a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 8px;
  text-decoration: none; font: 600 16px/1 "Work Sans", system-ui, sans-serif;
}
.drivon-article-cta a.book { background: var(--drivon-green); color: #fff; }
.drivon-article-cta a.book:hover { background: var(--drivon-green-dark); }
.drivon-article-cta a.call { background: #fff; color: var(--drivon-navy); }
.drivon-article-cta a:focus-visible, .drivon-cta-bar a:focus-visible { outline: 3px solid #9fd0ad; outline-offset: 2px; }
