/* V.E. White & Co for Elementor: theme styles.
   Section layouts carry inline styles from the approved design.
   This file holds base rules, shared classes, the header menu, phone fixes and the chat widget. */

:root {
  --vew-plum: #4C1855;
  --vew-indigo: #2C2036;
  --vew-magenta: #9E1F63;
  --vew-tint: #F6F2F8;
  --vew-line: #E7E0EB;
  --vew-text: #2E2A38;
  --vew-muted: #5B5566;
  --vew-serif: 'Newsreader', Georgia, serif;
  --vew-sans: 'Fira Sans', system-ui, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; font-family: var(--vew-sans); color: var(--vew-text); font-size: 17px; line-height: 1.6; }
a { color: var(--vew-plum); }
a:hover { color: var(--vew-indigo); }
input, select, textarea, button { font: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--vew-magenta); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; left: -9999px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #FFFFFF; color: var(--vew-plum); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* ---------- Shared building blocks ---------- */
.vew { font-family: var(--vew-sans); color: var(--vew-text); font-size: 17px; line-height: 1.6; }
.vew-wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.vew-sec { padding-top: 88px; padding-bottom: 88px; }
.vew-sec--sm { padding-top: 56px; padding-bottom: 56px; }
.vew-h1 { margin: 0 0 14px; font-family: var(--vew-serif); font-weight: 500; font-size: 54px; line-height: 1.08; }
.vew-h2 { margin: 0 0 12px; font-family: var(--vew-serif); font-weight: 500; font-size: 42px; line-height: 1.15; color: var(--vew-plum); }
.vew-h3 { margin: 0; font-family: var(--vew-serif); font-weight: 600; font-size: 25px; color: var(--vew-plum); }
.vew-lead { margin: 0; color: var(--vew-muted); }
.vew-muted { color: var(--vew-muted); }
.vew-more { font-weight: 600; color: var(--vew-magenta); }
.vew-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 600; min-height: 48px; box-sizing: border-box; border: 1.5px solid transparent; cursor: pointer; font-size: 16px; }
.vew-btn--primary { background: var(--vew-magenta); color: #FFFFFF; }
.vew-btn--primary:hover { background: #861A54; color: #FFFFFF; }
.vew-btn--white { background: #FFFFFF; color: var(--vew-plum); }
.vew-btn--ghost { border-color: #FFFFFF; color: #FFFFFF; background: transparent; }
.vew-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #FFFFFF; }
.vew-btn--outline { border-color: var(--vew-plum); color: var(--vew-plum); background: #FFFFFF; }
.vew-card { border: 1px solid var(--vew-line); border-radius: 14px; overflow: hidden; background: #FFFFFF; }
.vew-stars { color: var(--vew-magenta); letter-spacing: 2px; }
.vew-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.vew-field input, .vew-field select, .vew-field textarea { border: 1px solid #B9AFC2; border-radius: 8px; padding: 12px; min-height: 46px; box-sizing: border-box; font-weight: 400; background: #FFFFFF; }
.vew-form-msg { margin: 0; font-weight: 600; }
.vew-form-msg.is-error { color: var(--vew-magenta); }
.vew-form-msg.is-ok { color: #1E6B3A; }
.vew-hp { position: absolute !important; left: -9999px !important; }

/* Rich text written in Elementor's editor */
.vew-rich p { margin: 0 0 12px; }
.vew-rich p:last-child { margin-bottom: 0; }

/* Inside a narrow Elementor column, sections drop their own gutters */
.vew-col .vew-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.vew-col .vew-sec, .vew-col .vew-sec--sm { padding-top: 0; padding-bottom: 0; }
.vew-col .vew-h2 { font-size: 32px; }

/* ---------- Header ---------- */
.vew-fraud { background: var(--vew-indigo); color: #FFFFFF; font-size: 14px; text-align: center; padding: 9px 16px; }
.vew-fraud a { color: #FFFFFF; font-weight: 600; }
.vew-header { background: #FFFFFF; border-bottom: 1px solid var(--vew-line); }
.vew-header-top { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.vew-logo { display: flex; align-items: center; min-height: 44px; }
.vew-logo img { width: 300px; height: auto; display: block; }
.vew-header-side { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.hdr-phones { display: flex; gap: 22px; font-size: 15px; color: var(--vew-muted); }
.hdr-phones a { font-weight: 600; text-decoration: none; }
.hdr-cta { padding: 12px 22px; min-height: 44px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--vew-line); border-radius: 10px; background: #FFFFFF; color: var(--vew-plum); align-items: center; justify-content: center; cursor: pointer; }
.main-nav { border-top: 1px solid var(--vew-line); }
.vew-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 36px; font-weight: 500; font-size: 16px; }
.vew-menu li { position: relative; margin: 0; }
.vew-menu a { display: block; text-decoration: none; color: var(--vew-indigo); padding: 14px 0; }
.vew-menu a:hover, .vew-menu .current-menu-item > a, .vew-menu .current_page_item > a, .vew-menu .current-menu-ancestor > a { color: var(--vew-magenta); box-shadow: inset 0 -3px 0 var(--vew-magenta); }
.vew-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: -16px; top: 100%; min-width: 240px; background: #FFFFFF; border: 1px solid var(--vew-line); border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(44,32,54,0.14); z-index: 40; display: none; }
.vew-menu li:hover > .sub-menu, .vew-menu li:focus-within > .sub-menu { display: block; }
.vew-menu .sub-menu a { padding: 10px 16px; box-shadow: none !important; }
.vew-menu .sub-menu a:hover { background: var(--vew-tint); }

/* ---------- Blog and plain pages ---------- */
.vew-page-title { background: var(--vew-tint); padding: 40px 0 44px; }
.vew-page-title h1 { color: var(--vew-plum); margin: 0; }
.vew-content { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.vew-content h2, .vew-content h3 { font-family: var(--vew-serif); font-weight: 500; color: var(--vew-plum); line-height: 1.2; }
.vew-content h2 { font-size: 32px; }
.vew-post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-top: 48px; padding-bottom: 72px; }
.vew-post-list article { display: flex; flex-direction: column; }
.vew-post-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.vew-post-list .vew-post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vew-pagination { padding-bottom: 72px; text-align: center; }
.vew-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--vew-line); border-radius: 999px; text-decoration: none; margin: 0 2px; }
.vew-pagination .current { background: var(--vew-plum); color: #FFFFFF; border-color: var(--vew-plum); }

/* ---------- Elementor layout helpers ---------- */
.e-con.vew-row { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.e-con.vew-body { --padding-top: 48px; --padding-bottom: 72px; --padding-left: 24px; --padding-right: 24px; }

/* Sticky call / quote bar (phones only) */
.mobile-bar { display: none; }

@media (max-width: 760px) {
  .vew h1, .vew-h1 { font-size: 36px !important; line-height: 1.12 !important; }
  .vew h2, .vew-h2 { font-size: 29px !important; line-height: 1.2 !important; }
  .vew-sec { padding-top: 56px; padding-bottom: 56px; }

  .vew-logo img { width: 220px; }
  .hdr-phones, .hdr-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .vew-menu { flex-direction: column; gap: 0; }
  .vew-menu a { padding: 12px 0; border-bottom: 1px solid var(--vew-line); box-shadow: none !important; }
  .vew-menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }

  .vew .hero { flex-direction: column !important; min-height: 0 !important; }
  .vew .hero-img { position: static !important; height: 220px !important; }
  .vew .hero-panel { width: 100% !important; margin-left: 0 !important; clip-path: none !important; padding: 28px 22px 60px !important; background: var(--vew-plum) !important; }
  .vew .quote-summary { position: static !important; }
  .vew [style*="minmax(340px"], .vew [style*="minmax(300px"] { grid-template-columns: 1fr !important; }
  .vew [style*="padding: 56px 48px"], .vew [style*="padding: 44px 48px"] { padding: 32px 22px !important; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #FFFFFF; border-top: 1px solid var(--vew-line); box-shadow: 0 -6px 18px rgba(44,32,54,0.12); padding: 12px 16px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .mobile-bar .call { background: var(--vew-magenta); color: #FFFFFF; }
  .mobile-bar .quote { border: 1.5px solid var(--vew-plum); color: var(--vew-plum); }
}

/* ---------- Chat assistant ---------- */
.chat-root { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--vew-sans); color: var(--vew-text); font-size: 15px; line-height: 1.5; }
.chat-panel { width: 380px; height: 560px; max-height: calc(100vh - 110px); background: #FFFFFF; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 48px rgba(44,32,54,0.28); border: 1px solid var(--vew-line); }
.chat-head { background: var(--vew-plum); color: #FFFFFF; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; color: var(--vew-plum); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chat-title strong { font-size: 16px; }
.chat-title span { font-size: 13px; color: #F1E9F3; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #7BE0A5; display: inline-block; }
.chat-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-log { flex: 1; overflow-y: auto; background: #FBF9FC; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 13px; white-space: pre-line; }
.chat-msg.bot { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--vew-line); border-radius: 14px 14px 14px 4px; }
.chat-msg.user { align-self: flex-end; background: var(--vew-plum); color: #FFFFFF; border-radius: 14px 14px 4px 14px; }
.chat-msg a.chat-link { display: inline-flex; margin-top: 8px; text-decoration: none; background: var(--vew-magenta); color: #FFFFFF; padding: 9px 14px; border-radius: 999px; font-weight: 600; white-space: normal; }
.chat-typing { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--vew-line); border-radius: 14px; padding: 8px 13px; color: var(--vew-muted); font-style: italic; }
.chat-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chat-replies button { border: 1.5px solid var(--vew-plum); background: #FFFFFF; color: var(--vew-plum); border-radius: 999px; padding: 8px 13px; min-height: 40px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chat-replies button:hover { background: var(--vew-tint); }
.chat-form { border-top: 1px solid var(--vew-line); padding: 10px 12px; display: flex; gap: 8px; align-items: center; background: #FFFFFF; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid #B9AFC2; border-radius: 999px; padding: 11px 14px; min-height: 44px; box-sizing: border-box; }
.chat-send { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--vew-magenta); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: 12px; color: var(--vew-muted); background: #FFFFFF; }
.chat-teaser { background: #FFFFFF; border: 1px solid var(--vew-line); border-radius: 14px 14px 4px 14px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(44,32,54,0.16); max-width: 240px; }
.chat-launch { border: 0; cursor: pointer; background: var(--vew-magenta); color: #FFFFFF; border-radius: 999px; padding: 0 20px 0 16px; height: 56px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; box-shadow: 0 10px 26px rgba(158,31,99,0.35); }

@media (max-width: 760px) {
  .chat-root { right: 12px; bottom: 88px; }
  .chat-panel { width: calc(100vw - 24px); height: min(70vh, 560px); }
  .chat-launch { width: 56px; padding: 0; justify-content: center; }
  .chat-launch .chat-launch-text { display: none; }
  .chat-teaser { display: none; }
}

/* ---------- Additions for the staging design ---------- */
.vew-ico-open { display: none !important; }
[data-vew-menu][aria-expanded="true"] .vew-ico-open { display: contents !important; }
[data-vew-menu][aria-expanded="true"] .vew-ico-closed { display: none !important; }
.vew-nav-row a.nav-link.is-current { color: #9E1F63 !important; box-shadow: inset 0 -3px 0 #9E1F63 !important; }
.admin-bar .vew-sticky-hdr { top: 32px; }
.elementor-widget-html [data-vew-step][hidden], [data-vew-variant][hidden] { display: none !important; }

/* Hoowla quote button (the quote tool itself opens in Hoowla's own window). Hoowla's stylesheet loads
   after ours, so these need !important to keep the button in the site's style. */
body a.hoowla-quote-button {
  display: inline-flex !important; align-items: center; gap: 10px; min-height: 52px; box-sizing: border-box;
  margin: 0 !important; padding: 14px 28px !important; border: 0 !important; border-radius: 999px !important;
  background: #9E1F63 !important; color: #FFFFFF !important; opacity: 1 !important;
  font-family: 'Fira Sans', system-ui, sans-serif !important; font-size: 17px !important; font-weight: 600 !important;
  letter-spacing: 0; text-transform: none !important; white-space: nowrap; text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(158, 31, 99, 0.22); transition: background 0.15s ease, transform 0.15s ease;
}
body a.hoowla-quote-button::after { content: "\2192"; font-size: 18px; }
body a.hoowla-quote-button:hover { background: #861853 !important; transform: translateY(-1px); }
body a.hoowla-quote-button:focus-visible { outline: 3px solid #4C1855 !important; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { body a.hoowla-quote-button { transition: none; } body a.hoowla-quote-button:hover { transform: none; } }
@media (max-width: 600px) {
  body .vew-quote-card { padding: 20px !important; gap: 18px !important; }
  body .vew-quote-icon { width: 44px !important; height: 44px !important; border-radius: 12px !important; }
  body .vew-quote-title { font-size: 22px !important; }
  body a.hoowla-quote-button { width: 100%; justify-content: center; }
}

/* News articles */
.vew-content figure { margin: 28px 0; }
.vew-content figure img, .vew-content img { max-width: 100%; height: auto; border-radius: 14px; display: block; }
.vew-content .vew-post-photo { margin: 0 0 32px; }
.vew-content .vew-post-photo img { width: 100%; max-height: 460px; object-fit: cover; }
.vew-content p { margin: 0 0 18px; }
.vew-content h2 { margin: 36px 0 12px; font-size: 28px; }
.vew-content a { color: var(--vew-plum); }
.vew-post-cta { margin-top: 44px; padding: 28px; border-radius: 16px; background: var(--vew-tint); }
.vew-post-cta h2 { margin: 0 0 8px; font-size: 26px; }
.vew-post-cta .vew-post-cta-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 18px 0 0; }
.vew-post-cta .vew-btn--primary { color: #FFFFFF; }
.vew-post-list .vew-card img { border-radius: 0; }

/* Page not found */
.vew-404 .vew-page-title { padding: 48px 0 52px; }
.vew-404-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vew-magenta); }
.vew-404-lead { max-width: 640px; margin: 14px 0 0; font-size: 19px; color: #5B5566; }
.vew-404-guess { margin: 18px 0 0; font-size: 18px; }
.vew-404-guess a { color: var(--vew-magenta); font-weight: 600; }
.vew-404-search { display: flex; gap: 10px; max-width: 560px; margin-top: 26px; }
.vew-404-search input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid #CFC3D6; border-radius: 999px; font: inherit; font-size: 17px; background: #FFFFFF; }
.vew-404-search input:focus { outline: none; border-color: var(--vew-magenta); box-shadow: 0 0 0 3px rgba(158, 31, 99, 0.2); }
.vew-404-search button { min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--vew-magenta); color: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; }
.vew-404-search button:hover { background: #861853; }
.vew-404-body { padding-top: 48px; padding-bottom: 72px; }
.vew-404-h2 { margin: 0 0 20px; font-family: var(--vew-serif); font-weight: 500; font-size: 32px; color: var(--vew-plum); }
.vew-404-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vew-404-grid a { display: flex; gap: 14px; align-items: center; height: 100%; box-sizing: border-box; padding: 16px 18px; border: 1px solid var(--vew-line); border-radius: 14px; background: #FFFFFF; text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.vew-404-grid a:hover, .vew-404-grid a:focus-visible { border-color: var(--vew-magenta); box-shadow: 0 10px 24px rgba(44, 32, 54, 0.08); transform: translateY(-1px); }
.vew-404-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--vew-tint); color: var(--vew-plum); display: flex; align-items: center; justify-content: center; }
.vew-404-grid strong { display: block; color: #2C2036; font-size: 17px; }
.vew-404-grid strong + span { display: block; color: #5B5566; font-size: 14px; line-height: 1.4; }
.vew-404-call { margin-top: 32px; padding: 24px 28px; border-radius: 16px; background: var(--vew-plum); color: #FFFFFF; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.vew-404-call > div { flex: 1 1 220px; display: flex; flex-direction: column; }
.vew-404-call > div strong { font-size: 20px; }
.vew-404-call > div span { color: #E9DDEE; font-size: 15px; }
.vew-404-call > a:not(.vew-btn) { color: #FFFFFF; text-decoration: none; font-size: 22px; font-weight: 700; display: flex; flex-direction: column; line-height: 1.2; }
.vew-404-call > a:not(.vew-btn) span { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #E9DDEE; }
.vew-404-call .vew-btn--primary { background: #FFFFFF; color: var(--vew-plum); }
@media (prefers-reduced-motion: reduce) { .vew-404-grid a { transition: none; } .vew-404-grid a:hover { transform: none; } }
@media (max-width: 600px) { .vew-404-search { flex-direction: column; } .vew-404-call .vew-btn { width: 100%; } }
@media (min-width: 1200px) { .vew-404-grid { grid-template-columns: repeat(5, 1fr); } .vew-404-grid a { flex-direction: column; align-items: flex-start; } }
