/* ==========================================================================
   LES rebrand 2026: palette + type from the LES logo kit
   Loaded last by mu-plugins/les-rebrand.php. Remove that file to revert.
   ========================================================================== */
:root {
  --les-bg: #080c10;
  --les-surface: #111820;
  --les-surface-2: #161e28;
  --les-cyan: #00d4ff;
  --les-green: #00cc66;
  --les-accent: #00ff88;
  --les-text: #e8edf2;
  --les-muted: #8a9ab0;
  --les-dim: #4a5a70;
  --les-light: #f4f7fa;
  --les-ink: #0d1117;
  --les-grad: linear-gradient(135deg, #00d4ff 0%, #00cc66 100%);
  --les-head: 'Syne', 'Arial Black', Arial, sans-serif;
  --les-body: 'DM Sans', Arial, sans-serif;
}

/* ---------- Typography ---------- */
body, p, li, td, th, blockquote, .wpb_text_column, .wpb_wrapper, input, textarea, select, label {
  font-family: var(--les-body) !important;
}
body { color: #4a5568 !important; }
h1, h2, h3, h4, h5, h6,
h1.vc_custom_heading, h2.vc_custom_heading, h3.vc_custom_heading, h4.vc_custom_heading,
#page-title-pro h1.entry-title-pro,
#page-title-pro h2,
footer#site-footer h4.widget-title,
.post-container-pro h1.blog-title-pro { font-family: var(--les-head) !important; letter-spacing: -0.01em; }
h1, h2, h3, h4, h5, h6 { color: var(--les-ink); }
nav#site-navigation, .sf-menu a, .sf-menu li li a, a.cart-icon-pro,
.vc_btn3, .progression-button, input[type="submit"], button {
  font-family: var(--les-body) !important;
}
.sf-menu a { letter-spacing: 0.08em; font-weight: 500; }

/* ---------- Links ---------- */
a { color: #00a8cc; }
a:hover, .post-meta-pro a:hover { color: var(--les-green); }

/* ---------- Header / nav ---------- */
header#masthead-pro { background: transparent; }
#sticky-header-pro.menu-resized-pro header#masthead-pro,
#sticky-header-pro.menu-resized-pro header#masthead-pro:after {
  background: rgba(8, 12, 16, 0.94) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
#sticky-header-pro.menu-resized-pro header#masthead-pro { border-bottom: 1px solid rgba(0, 212, 255, 0.12); }
body #logo-pro, body #logo-pro img { max-width: 230px; }
body #sticky-header-pro.menu-resized-pro #logo-pro,
body #sticky-header-pro.menu-resized-pro #logo-pro img { max-width: 170px; }
.sf-menu a { color: var(--les-muted) !important; }
a.cart-icon-pro:hover, .sf-menu li.current-menu-item a, .sf-menu a:hover,
.sf-menu li.sfHover a, .menu-show-hide-pro { color: var(--les-text) !important; }
.sf-menu li.current-menu-item a:before, .sf-menu a:hover:before, .sf-menu li.sfHover a:before,
header#masthead-pro .sf-menu li.highlight-button a:before { background: var(--les-grad) !important; }
.sf-menu ul { background: rgba(8, 12, 16, 0.97) !important; border-top: 2px solid var(--les-cyan); }
.sf-menu li li a:hover { color: var(--les-accent) !important; }
#main-nav-mobile { background: var(--les-bg) !important; }

/* ---------- Hero (Revolution Slider): neutralise old purple, add brand tint ---------- */
#rev_slider_1_1_wrapper, #rev_slider_1_1 { background-color: var(--les-bg) !important; }
#rev_slider_1_1 .slotholder { filter: grayscale(1) brightness(0.85) contrast(1.05); }
#rev_slider_1_1 .slotholder::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(0, 212, 255, 0.28), transparent 60%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 204, 102, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.35), rgba(8, 12, 16, 0.75));
}
#rev_slider_1_1 .tp-caption { font-family: var(--les-head) !important; }
#rev_slider_1_1 .tp-caption[id$="-layer-2"] { color: rgba(232, 237, 242, 0.78) !important; font-family: var(--les-body) !important; }
#rev_slider_1_1 .rev-btn { font-family: var(--les-body) !important; border-radius: 10px !important; font-weight: 700 !important; }
#rev_slider_1_1 .rev-btn[id$="-layer-18"] {
  background: var(--les-grad) !important; color: var(--les-ink) !important; border-color: transparent !important;
  box-shadow: 0 8px 24px -8px rgba(0, 212, 255, 0.65) !important;
}
#rev_slider_1_1 .rev-btn[id$="-layer-4"] { border-color: var(--les-cyan) !important; color: var(--les-text) !important; background: transparent !important; }
#rev_slider_1_1 .rev-btn[id$="-layer-4"]:hover { background: rgba(0, 212, 255, 0.12) !important; }

/* ---------- Content sections (WPBakery rows) ----------
   "html body" prefix: WPBakery prints its row CSS after this file, so equal-specificity rules lose. */
/* "What We Do" band: was #07abd6 + blue photo */
html body .vc_custom_1467391940717 {
  background-color: var(--les-bg) !important;
  background-image: linear-gradient(120deg, rgba(8, 12, 16, 0.96) 35%, rgba(0, 212, 255, 0.55) 75%, rgba(0, 204, 102, 0.6)),
                    url(/wp-content/uploads/2015/12/blue-bg-services.jpg) !important;
}
html body .vc_custom_1467391940717 h3 { color: var(--les-text) !important; }
html body .vc_custom_1467391940717 p { color: var(--les-muted) !important; }
/* Service grid rows: was #28282b */
html body .vc_custom_1463003566101, html body .vc_custom_1462814357303 { background-color: var(--les-surface) !important; }
html body [class*="vc_custom_14631731"] { border-color: rgba(0, 212, 255, 0.14) !important; }
/* "Get reliable support" band: cyan photo -> dark with brand glow */
html body .vc_custom_1467392028307 {
  background-color: var(--les-bg) !important;
  background-image: linear-gradient(110deg, rgba(8, 12, 16, 0.97) 30%, rgba(8, 12, 16, 0.75) 55%, rgba(0, 204, 102, 0.35)),
                    url(/wp-content/uploads/2015/12/managed-services.jpg) !important;
}
html body .vc_custom_1467392028307 h3 { color: var(--les-text) !important; }
html body .vc_custom_1467392028307 p { color: var(--les-muted) !important; }
/* Contact row: was #efefef */
html body .vc_custom_1465236384135 { background-color: var(--les-light) !important; }

/* Icons inside content take the brand cyan */
.wpb_wrapper .vc_icon_element-color-blue .vc_icon_element-icon,
.wpb_wrapper i.fa, .wpb_wrapper .vc_icon_element-icon { color: var(--les-cyan) !important; }

/* ---------- Buttons ---------- */
.vc_btn3.vc_btn3-color-blue, .vc_btn3.vc_btn3-color-turquoise, .vc_btn3.vc_btn3-color-sky,
.vc_btn3.vc_btn3-style-modern, .vc_btn3.vc_btn3-style-flat,
body footer#site-footer a.progression-button, a.progression-button,
input[type="submit"], .wpcf7-submit, button.button, a.button {
  background: var(--les-grad) !important; background-image: var(--les-grad) !important;
  color: var(--les-ink) !important; border: 0 !important; border-radius: 10px !important;
  font-weight: 700 !important; letter-spacing: 0.04em; text-shadow: none !important;
  box-shadow: 0 6px 20px -8px rgba(0, 212, 255, 0.6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.vc_btn3:hover, a.progression-button:hover, input[type="submit"]:hover, .wpcf7-submit:hover, a.button:hover {
  transform: translateY(-1px); filter: brightness(1.08);
  box-shadow: 0 10px 26px -8px rgba(0, 204, 102, 0.7);
}
.vc_btn3.vc_btn3-style-outline, .vc_btn3.vc_btn3-style-outline-custom {
  background: transparent !important; color: var(--les-cyan) !important;
  border: 2px solid var(--les-cyan) !important; box-shadow: none;
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  border-radius: 8px; border: 1px solid #d5dde6;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--les-cyan) !important; outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
}

/* ---------- Inner page title band ---------- */
#page-title-pro { background-color: var(--les-bg) !important; position: relative; }
#page-title-pro::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--les-grad);
}
#page-title-pro h1.entry-title-pro { letter-spacing: 0.06em !important; }

/* ---------- Footer ---------- */
footer#site-footer, #widget-area-pro, #copyright-pro {
  background-color: var(--les-bg) !important; color: var(--les-muted) !important;
}
footer#site-footer { border-top: 1px solid rgba(0, 212, 255, 0.12); }
footer#site-footer h4.widget-title { color: var(--les-text) !important; font-size: 22px !important; }
footer#site-footer a { color: var(--les-muted); }
footer#site-footer a:hover { color: var(--les-accent); }
#copyright-pro { border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* ---------- Misc accents ---------- */
::selection { background: var(--les-cyan); color: var(--les-ink); }
#sidebar .tagcloud a:hover, #site-footer .tagcloud a:hover { background: var(--les-cyan) !important; color: var(--les-ink) !important; }
.flex-control-paging li a.flex-active { border-color: var(--les-cyan) !important; }

/* ---------- Body copy built as WPBakery "custom heading" divs ---------- */
html body div.vc_custom_heading, html body p.vc_custom_heading {
  font-family: var(--les-body) !important; line-height: 1.7 !important; letter-spacing: 0;
}
/* Muted copy on dark/gradient bands: lift contrast */
html body .vc_custom_1467391940717 div.vc_custom_heading,
html body .vc_custom_1467391940717 p,
html body .vc_custom_1467392028307 div.vc_custom_heading,
html body .vc_custom_1467392028307 p { color: rgba(232, 237, 242, 0.86) !important; }
html body .vc_custom_1463003566101 div.vc_custom_heading,
html body .vc_custom_1462814357303 div.vc_custom_heading { color: var(--les-muted) !important; }

/* ---------- Service icons: brand line icons replace old CMYK clip-art ---------- */
img[src*="1462831354_cmyk-07"] { content: url(/wp-content/uploads/les-brand/les-ico-pc-repair.svg); }
img[src*="1462830982_cmyk-03"] { content: url(/wp-content/uploads/les-brand/les-ico-managed-it.svg); }
img[src*="1462831568_cmyk-02"] { content: url(/wp-content/uploads/les-brand/les-ico-email.svg); }
img[src*="1462831313_cmyk-08"] { content: url(/wp-content/uploads/les-brand/les-ico-web-dev.svg); }
img[src*="_cmyk-0"] { width: 96px !important; height: 96px !important; }

/* ---------- Contact Form 7 + CAPTCHA ---------- */
.wpcf7 img.wpcf7-captchac { vertical-align: middle; border-radius: 8px; border: 1px solid #d5dde6; margin-right: 10px; background: #fff; }
.wpcf7 .wpcf7-captchar { max-width: 220px; display: inline-block; vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { border-radius: 8px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--les-green); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #ff5a5f; }

/* ==========================================================================
   Mobile
   ========================================================================== */
/* Menu button: logo gradient tile */
.mobile-menu-icon-pro {
  background: var(--les-grad) !important; color: var(--les-ink) !important;
  border: 0 !important; border-radius: 12px !important;
  box-shadow: 0 6px 18px -6px rgba(0, 212, 255, 0.55);
}
.mobile-menu-icon-pro i, .mobile-menu-icon-pro .fa { color: var(--les-ink) !important; }
.mobile-menu-icon-pro:hover, .mobile-menu-icon-pro:active { filter: brightness(1.08); }

/* Mobile menu: bright, readable */
#main-nav-mobile { background: rgba(8, 12, 16, 0.98) !important; border-top: 2px solid var(--les-cyan); }
#main-nav-mobile ul.mobile-menu-pro li a {
  color: var(--les-text) !important; font-family: var(--les-body) !important; opacity: 1 !important;
}
#main-nav-mobile ul.mobile-menu-pro li a i,
#main-nav-mobile ul.mobile-menu-pro .fa { color: var(--les-cyan) !important; opacity: 1 !important; }
#main-nav-mobile, #main-nav-mobile ul.mobile-menu-pro, #main-nav-mobile ul.mobile-menu-pro ul {
  background-color: #080c10 !important; opacity: 1 !important;
}
#main-nav-mobile ul.mobile-menu-pro > li > a { font-weight: 600 !important; letter-spacing: 0.08em; font-size: 15px !important; }
#main-nav-mobile ul.mobile-menu-pro li { border-color: rgba(0, 212, 255, 0.14) !important; }
#main-nav-mobile ul.mobile-menu-pro ul li a { color: var(--les-muted) !important; font-size: 14px !important; }
#main-nav-mobile ul.mobile-menu-pro li.current-menu-item > a,
#main-nav-mobile ul.mobile-menu-pro li a:hover,
#main-nav-mobile ul.mobile-menu-pro ul li a:hover { color: var(--les-accent) !important; }
#main-nav-mobile ul.mobile-menu-pro li.current-menu-item > a i { color: var(--les-accent) !important; }

@media (max-width: 767px) {
  /* No sideways scrolling (news grid ran 15px past the screen) */
  html, body { overflow-x: hidden; }
  .vc_grid-container-wrapper, .vc_grid-container { overflow: hidden; }

  /* Headings sized for phones (page builder sets 35-38px inline) */
  html body h3.vc_custom_heading[style*="font-size: 38px"],
  html body h3.vc_custom_heading[style*="font-size: 35px"] { font-size: 28px !important; line-height: 1.2 !important; }
  html body h3.vc_custom_heading[style*="font-size: 23px"] { font-size: 21px !important; }

  /* Narrow columns: left-align instead of justify (avoids word gaps) */
  html body .wpb_wrapper, html body div.vc_custom_heading, html body .wpb_text_column, html body .wpb_wrapper p {
    text-align: left !important;
  }

  /* Tighter vertical rhythm */
  html body .vc_custom_1463003566101 { padding-top: 40px !important; }
  html body .vc_custom_1462814357303 { padding-bottom: 40px !important; }
  html body .vc_custom_1469225322753 { margin-top: 40px !important; }
  html body .vc_custom_1462830084530 { padding-top: 32px !important; }
  html body .vc_row { margin-left: 0; margin-right: 0; }

  /* Service grid: icon above text, no wrap-around */
  img[src*="_cmyk-0"] { width: 64px !important; height: 64px !important; }
  html body [class*="vc_custom_14631731"] .wpb_single_image,
  html body [class*="vc_custom_14631731"] .vc_single_image-wrapper,
  html body [class*="vc_custom_14631731"] figure {
    float: none !important; display: block !important; margin: 0 0 14px 0 !important;
  }
  html body [class*="vc_custom_14631731"] {
    border-right: 0 !important; padding-left: 20px !important; padding-right: 20px !important;
  }

  /* Contact form: full-width fields, thumb-friendly */
  .wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
  .wpcf7 input[type="number"], .wpcf7 textarea { width: 100% !important; max-width: 100% !important; font-size: 16px !important; box-sizing: border-box !important; }
  .wpcf7, .wpcf7 form, .wpcf7 p, .wpcf7 .wpcf7-form-control-wrap { max-width: 100% !important; box-sizing: border-box; }
  .wpcf7 .wpcf7-captchar { width: calc(100% - 96px) !important; max-width: 220px; }
  .wpcf7 input[type="submit"] { width: 100%; padding: 16px !important; }

  /* Footer */
  footer#site-footer h4.widget-title { font-size: 20px !important; }
}
