/*
 * Level9Solutions design system: tokens and components.
 * Source: Level9Solutions_Design_Guidelines_Final.md + the approved section style screenshot.
 * Elementor elements get these classes through their "CSS Classes" field (set by scripts/seed.php).
 */

:root {
  --l9-blue: #235FF5;
  --l9-blue-hover: #1A4FD6;
  --l9-ink: #101B2A;
  --l9-navy: #0C192A;
  --l9-white: #FFFFFF;
  --l9-alt: #EAF1FE;
  --l9-slate: #526174;
  --l9-border: #E3E9F0;
  --l9-card-border: #D8E3FA;
  --l9-hero-glow: #1C3566;
  --l9-link-dark: #9DB8FF;
  --l9-on-dark: #F4F7FB;
  --l9-muted-dark: #A9B6C8;
  --l9-border-dark: #22324A;

  --l9-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --l9-container: 1200px;
  --l9-gutter: 32px;
  --l9-section-y: 96px;
  --l9-radius: 10px;
  --l9-radius-btn: 6px;
  --l9-header-h: 84px;
  --l9-ease: 180ms ease;
}
@media (max-width: 1024px) {
  :root { --l9-gutter: 24px; --l9-section-y: 76px; }
}
@media (max-width: 767px) {
  :root { --l9-gutter: 20px; --l9-section-y: 60px; --l9-header-h: 72px; }
}
@media (max-width: 374px) {
  :root { --l9-gutter: 16px; }
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--l9-header-h) + 16px); }
body {
  background: var(--l9-white);
  color: var(--l9-ink);
  font-family: var(--l9-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body h4 { font-family: var(--l9-font); color: inherit; }
body a { color: var(--l9-blue); }
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
.l9-flip:focus-within { outline: 2px solid var(--l9-blue); outline-offset: 3px; }
.l9-dark a:focus-visible, .l9-dark button:focus-visible { outline-color: var(--l9-on-dark); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/*
 * Elementor's own container padding, gaps and widget spacing are switched off inside the Level9
 * sections (the kit's global settings are left untouched), so spacing comes only from this file.
 */
:is(.l9-section, .l9-header, .l9-footer),
:is(.l9-section, .l9-header, .l9-footer) .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --kit-widget-spacing: 0px;
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
}
:is(.l9-section, .l9-header, .l9-footer) .elementor-widget:not(:last-child) { margin-block-end: 0; }
:is(.l9-section, .l9-header, .l9-footer) .e-con { min-height: 0; }
:is(.l9-section, .l9-header, .l9-footer) p:last-child { margin-bottom: 0; }
/* Elementor's kit typography (Roboto by default) would otherwise win on its widgets. */
:is(.l9-section, .l9-header, .l9-footer) :is(.elementor-heading-title, .elementor-widget-text-editor, .elementor-button, .elementor-item, .elementor-field-group, .elementor-field, .elementor-field-label, .elementor-message) {
  font-family: var(--l9-font);
}

/* ---------- Layout ---------- */
.e-con.l9-section { padding-block: var(--l9-section-y); background: var(--l9-white); }
.e-con.l9-section--alt { background: var(--l9-alt); }
.e-con.l9-section--tight { padding-block: calc(var(--l9-section-y) * 0.55); }
.e-con.l9-section > .e-con-inner,
.e-con.l9-header > .e-con-inner,
.e-con.l9-footer > .e-con-inner {
  max-width: calc(var(--l9-container) + 2 * var(--l9-gutter));
  padding-inline: var(--l9-gutter);
  width: 100%;
}
.e-con.l9-stack { gap: 18px; }
.e-con.l9-stack--lg { gap: 28px; }

/* Two columns: heading block left, supporting text right (stacks below 1025px). */
.e-con.l9-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.e-con.l9-split--top { align-items: start; }
.e-con.l9-split--wide { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
@media (max-width: 1024px) {
  .e-con.l9-split, .e-con.l9-split--wide { grid-template-columns: 1fr; align-items: start; }
}

.e-con.l9-grid { display: grid; gap: 24px; }
.e-con.l9-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-con.l9-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .e-con.l9-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .e-con.l9-grid--2, .e-con.l9-grid--3 { grid-template-columns: 1fr; }
}
.e-con.l9-after-head, .elementor-widget.l9-after-head { margin-top: 48px; }
@media (max-width: 767px) { .e-con.l9-after-head, .elementor-widget.l9-after-head { margin-top: 32px; } }

/* ---------- Type ---------- */
.l9-eyebrow .elementor-heading-title,
p.l9-eyebrow {
  margin: 0;
  color: var(--l9-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.l9-h1 .elementor-heading-title {
  margin: 0;
  color: var(--l9-ink);
  font-size: clamp(38px, 4.6vw + 8px, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
/* The page's single H2 is the hero's supporting statement, so it is set as a lead, not a heading. */
.l9-h2 .elementor-heading-title {
  margin: 0;
  color: var(--l9-slate);
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  max-width: 640px;
}
.l9-h3 .elementor-heading-title {
  margin: 0;
  color: var(--l9-ink);
  font-size: clamp(30px, 1.6vw + 20px, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.l9-h4 .elementor-heading-title,
.l9-card h4, .l9-step h4, .l9-tile h4, .l9-flip h4, .l9-trust h4 {
  margin: 0;
  color: var(--l9-ink);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.l9-lead, .l9-lead p { color: var(--l9-slate); font-size: 18px; line-height: 1.65; }
.l9-body, .l9-body p { color: var(--l9-slate); }
.l9-body p + p, .l9-lead p + p { margin-top: 1em; }
.l9-smallprint, .l9-smallprint p { color: var(--l9-slate); font-size: 14px; line-height: 1.6; }
.l9-dark .l9-h3 .elementor-heading-title,
.l9-dark .l9-h4 .elementor-heading-title,
.l9-dark h4 { color: var(--l9-on-dark); }
.l9-dark .l9-lead, .l9-dark .l9-lead p, .l9-dark .l9-body p { color: var(--l9-muted-dark); }
.l9-dark .l9-eyebrow .elementor-heading-title { color: #7FA2FF; }

/* ---------- Buttons and links ---------- */
.l9-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.e-con.l9-actions { flex-direction: row; gap: 14px 28px; align-items: center; }
.elementor-widget-button.l9-btn--primary .elementor-button,
.elementor-widget-form.l9-form .elementor-button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--l9-radius-btn);
  background: var(--l9-blue);
  color: var(--l9-white);
  font-family: var(--l9-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color var(--l9-ease);
}
.elementor-widget-button.l9-btn--primary .elementor-button:hover,
.elementor-widget-form.l9-form .elementor-button[type="submit"]:hover { background: var(--l9-blue-hover); color: var(--l9-white); }
.l9-link a, a.l9-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  color: var(--l9-blue);
  font-weight: 600;
  text-decoration: none;
}
.l9-link a:hover, a.l9-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.l9-link p { margin: 0; }

/* ---------- Icons ---------- */
.l9-icon { display: inline-flex; color: var(--l9-blue); }
.l9-icon svg { width: 40px; height: 40px; }
.l9-icon--sm svg { width: 28px; height: 28px; }

/* ---------- Header ---------- */
.e-con.l9-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--l9-white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--l9-ease), box-shadow var(--l9-ease);
}
.admin-bar .e-con.l9-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .e-con.l9-header { top: 46px; } }
.e-con.l9-header.is-scrolled { border-bottom-color: var(--l9-border); box-shadow: 0 1px 8px rgba(16, 27, 42, 0.05); }
.e-con.l9-header > .e-con-inner {
  min-height: var(--l9-header-h);
  flex-direction: row; flex-wrap: nowrap;
  align-items: center; justify-content: space-between;
  gap: 24px;
}
.l9-brand {
  display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
  text-decoration: none;
}
.l9-brand .l9-brand__logo { display: block; height: 36px; width: auto; max-width: none; }
/* Tagline: small caps line centered under the logo, the same in header and footer (RC). */
.l9-brand__tag { color: var(--l9-slate); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; text-align: center; }
@media (max-width: 374px) {
  .l9-brand .l9-brand__logo { height: 30px; }
  .l9-brand__tag { font-size: 10px; letter-spacing: 0.12em; }
}
.l9-header .l9-nav { flex: 1 1 auto; }
.e-con.l9-header .l9-header-cta { --width: auto; width: auto; flex: 0 0 auto; }
.l9-nav .elementor-nav-menu--main .elementor-item {
  color: var(--l9-ink); font-size: 15px; font-weight: 500;
  padding: 12px 16px;
}
.l9-nav .elementor-nav-menu--main .elementor-item:hover,
.l9-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--l9-blue); }
.l9-nav .elementor-nav-menu--main .elementor-item::after { background-color: var(--l9-blue) !important; height: 2px !important; }
.l9-nav .elementor-menu-toggle { color: var(--l9-ink); background: transparent; min-width: 44px; min-height: 44px; font-size: 24px; }
.l9-nav .elementor-nav-menu--dropdown { background: var(--l9-white); border-top: 1px solid var(--l9-border); border-bottom: 1px solid var(--l9-border); }
.l9-nav .elementor-nav-menu--dropdown a { color: var(--l9-ink) !important; min-height: 48px; font-size: 16px; padding-inline: var(--l9-gutter) !important; }
.l9-nav .elementor-nav-menu--dropdown a:hover,
.l9-nav .elementor-nav-menu--dropdown a.elementor-item-active { background: var(--l9-alt) !important; color: var(--l9-blue) !important; }
.l9-header .elementor-widget-button.l9-btn--primary .elementor-button { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 767px) {
  .l9-header .l9-header-cta { display: none; }
}

/* ---------- Hero ---------- */
.e-con.l9-hero { padding-block: calc(var(--l9-section-y) * 0.85) var(--l9-section-y); }
.e-con.l9-hero .l9-hero__copy { gap: 22px; }
.e-con.l9-hero .l9-actions { margin-top: 10px; }
.e-con.l9-hero > .e-con-inner > .e-con.l9-hero__copy { max-width: 900px; }

/* ---------- Placeholders (RC replaces these with real images) ---------- */
.l9-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  border: 1px dashed #C3CDDA;
  border-radius: var(--l9-radius);
  background:
    linear-gradient(135deg, rgba(35, 95, 245, 0.04), rgba(35, 95, 245, 0) 60%),
    var(--l9-alt);
  color: var(--l9-slate);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
}

/* ---------- Images ([l9_img], built by scripts/build-images.py) ---------- */
.l9-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--l9-radius);
}
.l9-hero .l9-img { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.l9-stack .l9-media .l9-img { max-width: 600px; border: 1px solid var(--l9-border); }

/* ---------- Trust strip ---------- */
.e-con.l9-trust-band { padding-block: 40px; background: var(--l9-alt); border-block: 1px solid var(--l9-border); }
.e-con.l9-trust { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
.e-con.l9-trust > .elementor-widget-html { grid-row: span 2; }
.l9-trust .l9-icon svg { width: 32px; height: 32px; }
.l9-trust h4 { font-size: 17px; }
.l9-trust p { margin: 0; color: var(--l9-slate); font-size: 15px; line-height: 1.55; }

/* ---------- Cards ---------- */
.l9-card, .e-con.l9-card {
  background: var(--l9-white);
  border: 1px solid var(--l9-border);
  border-radius: var(--l9-radius);
  padding: 32px;
}
@media (max-width: 767px) { .l9-card, .e-con.l9-card { padding: 24px; } }
.l9-section--alt .l9-card { background: var(--l9-white); }
.l9-section:not(.l9-section--alt) .l9-card--soft { background: var(--l9-alt); }

/* Service cards: icon, title, text, and "Learn More" pinned to the bottom. */
.e-con.l9-service-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.l9-service-card .l9-icon { margin-bottom: 8px; }
.l9-service-card p { margin: 0; color: var(--l9-slate); font-size: 16px; }
.l9-service-card .l9-link { margin-top: auto; padding-top: 6px; }
.elementor-widget.l9-fill, .l9-fill .elementor-widget-container { height: 100%; }

/* ---------- Work tiles ---------- */
.e-con.l9-tile { display: flex; flex-direction: column; gap: 6px; }
.l9-tile .l9-placeholder { margin-bottom: 14px; }
.l9-tile .l9-img { margin-bottom: 10px; border: 1px solid var(--l9-card-border); box-shadow: 0 1px 2px rgba(16, 27, 42, .05), 0 8px 24px rgba(35, 95, 245, .08); }
.l9-tile h4 { font-size: 19px; }
/* No client names (RC): the industry is the tile's label. */
.l9-tile p { margin: 0; color: var(--l9-ink); font-size: 16px; font-weight: 600; }

/* ---------- Flip boxes ---------- */
.l9-flip {
  position: relative;
  height: 100%;
  cursor: pointer;
  perspective: 1400px;
  border-radius: var(--l9-radius);
}
.l9-flip__inner {
  display: grid;
  height: 100%;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
/* Both faces share one grid cell, so the box is as tall as the longer face. */
.l9-flip__face {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 32px 84px;
  border: 1px solid var(--l9-border);
  border-radius: var(--l9-radius);
  background: var(--l9-white);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.l9-flip__face p { margin: 0; color: var(--l9-slate); font-size: 16px; }
.l9-flip__back { transform: rotateY(180deg); background: var(--l9-navy); border-color: var(--l9-navy); }
.l9-flip__back p, .l9-flip__back h4 { color: var(--l9-on-dark); }
.l9-flip__label { color: #7FA2FF; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.l9-flip.is-flipped .l9-flip__inner { transform: rotateY(180deg); }
.l9-flip__toggle {
  position: absolute; left: 32px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--l9-blue);
  font: 600 15px/1.2 var(--l9-font);
  cursor: pointer;
}
.l9-flip__toggle:hover, .l9-flip__toggle:focus { background: none; color: var(--l9-blue); }
.l9-flip.is-flipped .l9-flip__toggle, .l9-flip.is-flipped .l9-flip__toggle:hover { color: #A9C0FF; }
.l9-flip__toggle svg { width: 18px; height: 18px; transition: transform var(--l9-ease); }
.l9-flip.is-flipped .l9-flip__toggle svg { transform: rotate(180deg); }
@media (max-width: 767px) {
  .l9-flip__face { padding: 24px 24px 76px; }
  .l9-flip__toggle { left: 24px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  /* No 3D turn: swap faces instead. */
  .l9-flip__inner, .l9-flip.is-flipped .l9-flip__inner { transform: none; }
  .l9-flip__back { transform: none; visibility: hidden; }
  .l9-flip.is-flipped .l9-flip__back { visibility: visible; }
  .l9-flip.is-flipped .l9-flip__front { visibility: hidden; }
}
.e-con.l9-flip-note { margin-top: 40px; gap: 14px; max-width: 780px; }

/* ---------- Concierge band (navy) ---------- */
.e-con.l9-dark { background: var(--l9-navy); color: var(--l9-on-dark); }
.e-con.l9-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.e-con.l9-step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.l9-step__mark { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.l9-step__mark .l9-step__num { margin-bottom: 0; }
.l9-dark .l9-step__mark .l9-icon { color: #7FA2FF; }
.l9-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1.5px solid var(--l9-blue);
  border-radius: 50%;
  color: #7FA2FF;
  font-size: 16px; font-weight: 600;
  margin-bottom: 8px;
}
.l9-step p { margin: 0; color: var(--l9-slate); font-size: 16px; }
.l9-dark .l9-step p { color: var(--l9-muted-dark); }
/* Arrow between steps on wide screens. */
.l9-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 25px; left: 112px; right: -24px; bottom: auto; opacity: 1; mix-blend-mode: normal; border-radius: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(35, 95, 245, 0.7), rgba(35, 95, 245, 0.7)) left / calc(100% - 8px) 100% no-repeat;
}
.l9-step:not(:last-child)::before {
  content: "";
  position: absolute; top: 21px; right: -23px; left: auto; bottom: auto;
  width: 8px; height: 8px;
  background: none; opacity: 1; mix-blend-mode: normal; border-radius: 0;
  border-top: 1.5px solid rgba(35, 95, 245, 0.9);
  border-right: 1.5px solid rgba(35, 95, 245, 0.9);
  transform: rotate(45deg);
}
@media (max-width: 1024px) {
  .e-con.l9-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .l9-step::after, .l9-step::before { display: none; }
}
@media (max-width: 767px) {
  .e-con.l9-steps { grid-template-columns: 1fr; gap: 32px; }
}
/* Steps on light backgrounds (Contact page). */
.l9-steps--light .l9-step__num { color: var(--l9-blue); }
.e-con.l9-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l9-steps--3 .l9-step::after, .l9-steps--3 .l9-step::before { display: none; }
@media (max-width: 1024px) { .e-con.l9-steps--3 { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Checklists ---------- */
.l9-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0; padding: 0; list-style: none;
}
.l9-checklist--1 { grid-template-columns: 1fr; }
.l9-checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--l9-ink);
  font-size: 16px;
  line-height: 1.5;
}
.l9-checklist li::before {
  content: "";
  position: absolute; left: 2px; top: 5px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--l9-blue);
  border-bottom: 2px solid var(--l9-blue);
  transform: rotate(-45deg);
}
@media (max-width: 767px) { .l9-checklist { grid-template-columns: 1fr; } }

/* Plain bulleted lists in body copy. */
.l9-body ul { margin: 0; padding-left: 1.2em; }
.l9-body li { margin: 0.5em 0; color: var(--l9-slate); }
.l9-body li::marker { color: var(--l9-blue); }

/* ---------- Services page rows ---------- */
.e-con.l9-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 64px;
  align-items: start;
}
.e-con.l9-service-row .l9-service-row__copy { gap: 18px; }
@media (max-width: 1024px) { .e-con.l9-service-row { grid-template-columns: 1fr; } }
.l9-service-row .l9-card { padding: 32px; }

/* ---------- CTA ---------- */
.e-con.l9-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--l9-border);
  border-radius: var(--l9-radius);
  background: var(--l9-white);
}
@media (max-width: 767px) { .e-con.l9-cta-card { grid-template-columns: 1fr; padding: 28px 24px; } }

/* ---------- Phones ---------- */
.l9-phones { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.l9-phones a { display: inline-flex; align-items: center; min-height: 44px; color: var(--l9-ink); font-weight: 600; text-decoration: none; }
.l9-phones a:hover { color: var(--l9-blue); }
.l9-footer .l9-phones { flex-direction: column; gap: 0; }
.l9-footer .l9-phones a { color: var(--l9-on-dark); font-weight: 500; min-height: 36px; }

/* ---------- Form ---------- */
.l9-form .elementor-field-group:not(.elementor-field-type-html) .elementor-field-subgroup { margin-top: 4px; }
.l9-card .l9-h3 .elementor-heading-title { font-size: clamp(26px, 1vw + 18px, 32px); }
.elementor-widget-form.l9-form .elementor-field-group > label.elementor-field-label { font-size: 15px; font-weight: 600; color: var(--l9-ink); margin-bottom: 6px; }
.elementor-widget-form.l9-form .elementor-field-group .elementor-field-textual,
.elementor-widget-form.l9-form .elementor-field-group select.elementor-field {
  min-height: 48px;
  border: 1px solid #C9D3DF !important;
  border-radius: var(--l9-radius-btn) !important;
  background: var(--l9-white);
  color: var(--l9-ink);
  font-size: 16px;
}
.l9-form textarea.elementor-field-textual { min-height: 140px; }
.l9-form .elementor-field-textual::placeholder { color: #6B7787; }
.l9-form .elementor-field-textual:focus,
.l9-form select.elementor-field:focus { border-color: var(--l9-blue) !important; box-shadow: 0 0 0 1px var(--l9-blue); outline: none; }
.l9-form .elementor-field-subgroup { display: flex; flex-direction: column; gap: 4px; }
.l9-form .elementor-field-subgroup .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; margin: 0; min-height: 34px; }
.l9-form .elementor-field-subgroup .elementor-field-option input { margin-top: 5px; flex: none; }
.elementor-widget-form.l9-form .elementor-field-subgroup label,
.elementor-widget-form.l9-form .elementor-field-type-acceptance label { font-size: 15px; color: var(--l9-ink); line-height: 1.5; }
.l9-form .elementor-field-type-html { color: var(--l9-slate); font-size: 14px; line-height: 1.5; margin-top: -10px; }
.l9-form .elementor-field-type-submit { margin-top: 8px; }
.l9-form .elementor-button { width: 100%; }
.l9-form .elementor-message { font-size: 16px; line-height: 1.6; }
/* Confirmation (RC): shown above the form in amber so it isn't missed; level9.js scrolls to it. It stays
   inside the form, where Elementor puts it, so Elementor still clears it before the next send. */
.l9-form form.elementor-form { display: flex; flex-direction: column; }
.l9-form .elementor-message.elementor-message-success {
  order: -1;
  margin: 0 0 24px;
  padding: 18px 20px;
  color: var(--l9-ink);
  font-weight: 500;
  background: #FFC107;
  border-radius: var(--l9-radius-btn);
  scroll-margin-top: 120px; /* clear of the sticky header */
}
.l9-form .elementor-message.elementor-message-success::before { display: none; }
.e-con.l9-contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
@media (max-width: 1024px) { .e-con.l9-contact-layout { grid-template-columns: 1fr; } }
.e-con.l9-sticky { position: sticky; top: calc(var(--l9-header-h) + 24px); }
@media (max-width: 1024px) { .e-con.l9-sticky { position: static; } }

/* ---------- Footer ---------- */
.e-con.l9-footer { background: var(--l9-navy); color: var(--l9-on-dark); padding-block: 72px 0; }
.e-con.l9-footer .l9-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 1024px) { .e-con.l9-footer .l9-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .e-con.l9-footer .l9-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.l9-footer .l9-footer__brand { gap: 18px; }
/* The logo's maroon and navy need a light ground, so it sits on a white plate in the navy footer. */
.l9-footer .l9-brand { padding: 14px 16px 12px; background: var(--l9-white); border-radius: 8px; }
.l9-footer .l9-brand .l9-brand__logo { height: 36px; }
.l9-footer p { color: var(--l9-muted-dark); font-size: 15px; line-height: 1.65; }
.l9-footer .l9-footer__title {
  margin: 0 0 14px;
  color: var(--l9-on-dark);
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.l9-footer ul { margin: 0; padding: 0; list-style: none; }
.l9-footer li a, .l9-footer li span { display: inline-flex; align-items: center; min-height: 36px; color: var(--l9-on-dark); font-size: 15px; text-decoration: none; }
.l9-footer li a:hover { color: #A9C0FF; text-decoration: underline; text-underline-offset: 4px; }
.l9-footer .l9-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--l9-border-dark);
}
.l9-footer .l9-footer__bottom p { margin: 0; font-size: 14px; }
.l9-footer .l9-footer__bottom a { color: var(--l9-on-dark); }
.l9-footer .l9-footer__bottom .elementor-widget-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; }
.l9-footer .elementor-widget.l9-footer__bottom-text { width: 100%; }

/* ---------- Services dropdown (desktop) ---------- */
.l9-nav .elementor-nav-menu--main .sub-menu {
  min-width: 260px;
  padding: 8px 0;
  border: 1px solid var(--l9-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 27, 42, 0.1);
}
.l9-nav .elementor-nav-menu--main .sub-menu a {
  min-height: 44px;
  padding: 10px 20px !important;
  font-size: 15px;
  border-left: 0 !important;
}
.l9-nav .sub-arrow { padding-left: 6px; }
.l9-nav .sub-arrow svg { fill: currentColor; }
/* Phone menu: Elementor's defaults turn the open parent dark grey and shrink the sub-links. */
.l9-nav .elementor-nav-menu--dropdown a.highlighted { background: var(--l9-alt) !important; color: var(--l9-blue) !important; }
.l9-nav .elementor-nav-menu--dropdown .elementor-sub-item { font-size: 15px; }
.l9-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item { padding-left: calc(var(--l9-gutter) + 16px) !important; border-left: 0 !important; }

/* ---------- Service subpages ---------- */
.l9-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 4px; padding: 0; list-style: none; font-size: 14px; }
.l9-breadcrumb li { display: inline-flex; align-items: center; color: var(--l9-slate); }
.l9-breadcrumb li + li::before { content: "›"; margin: 0 10px; color: #8A96A6; }
.l9-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--l9-slate); text-decoration: none; }
.l9-breadcrumb a:hover { color: var(--l9-blue); text-decoration: underline; text-underline-offset: 4px; }
.l9-breadcrumb [aria-current="page"] { color: var(--l9-ink); font-weight: 500; }
.e-con.l9-hero--sub .l9-hero__intro { max-width: 760px; margin-top: 4px; }
/* Page headings (RC): the H1 is a short keyword line in the old eyebrow's place; the big statement and
   subhead keep their H1/H2 look as plain text (.l9-display); the single H2 opens the band below the hero. */
.l9-page-title .elementor-heading-title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: 0.005em; line-height: 1.3; color: var(--l9-blue); }
.l9-hero .l9-page-title .elementor-heading-title { color: #7FA2FF; }
@media (max-width: 767px) { .l9-page-title .elementor-heading-title { font-size: 17px; } }
.l9-display .elementor-heading-title { margin: 0; }
.l9-intro__title .elementor-heading-title { margin: 0 0 18px; color: var(--l9-ink); font-size: clamp(28px, 1.4vw + 18px, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.l9-trust-band .l9-intro__title .elementor-heading-title { font-size: clamp(24px, 0.8vw + 18px, 30px); margin-bottom: 28px; }
.l9-intro:not(:has(.l9-hero__intro)) .l9-intro__title .elementor-heading-title { margin-bottom: 0; }
.l9-legal .l9-intro__title .elementor-heading-title { font-size: clamp(24px, 0.8vw + 17px, 28px); margin-bottom: 0; }

/* Service pages: smaller page title than Home's, so long headlines sit level with the hero image (RC). */
.l9-hero--sub .l9-h1 .elementor-heading-title { font-size: clamp(32px, 2.6vw + 8px, 44px); line-height: 1.1; }
/* Service hero with an image: equal halves; its intro paragraph sits in .l9-intro below the hero. */
.e-con.l9-split--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
@media (max-width: 1024px) { .e-con.l9-split--hero { grid-template-columns: 1fr; gap: 40px; } }
.e-con.l9-intro { padding-block: 56px; border-bottom: 1px solid var(--l9-border); }
.l9-intro .l9-hero__intro { max-width: 820px; margin: 0; }
.l9-intro .l9-hero__intro p { margin: 0; color: var(--l9-ink); }

/* Section title in a narrow left column, content on the right (stacks below 1025px). */
.e-con.l9-split--sub { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.l9-split--sub .l9-h3 .elementor-heading-title { font-size: clamp(28px, 1.2vw + 20px, 36px); }
@media (max-width: 1024px) { .e-con.l9-split--sub { grid-template-columns: 1fr; } }

/* Signs / outcomes lists. */
.l9-bullets ul { padding-left: 1.2em; }
.l9-bullets li { color: var(--l9-ink); font-size: 17px; }

/* Steps listed vertically, joined by a line. */
.e-con.l9-steplist { display: flex; flex-direction: column; gap: 0; }
.e-con.l9-steplist .l9-step { gap: 6px; padding: 0 0 26px 26px; border-left: 2px solid var(--l9-border); }
.e-con.l9-steplist .l9-step:last-child { padding-bottom: 0; }
.e-con.l9-steplist .l9-step::before {
  content: ""; position: absolute; left: -7px; top: 6px; right: auto; bottom: auto;
  width: 12px; height: 12px; border: 2px solid var(--l9-blue); border-radius: 50%;
  background: var(--l9-white); transform: none; opacity: 1;
}
.e-con.l9-steplist .l9-step::after { display: none; }
.l9-steplist .l9-step h4 { font-size: 19px; }

/* H4 + answer pairs: FAQs and the "three routes". */
.e-con.l9-points { display: flex; flex-direction: column; gap: 0; }
.e-con.l9-point { gap: 8px; padding-block: 22px; border-top: 1px solid var(--l9-border); }
.e-con.l9-point:first-child { padding-top: 0; border-top: 0; }
.e-con.l9-point:last-child { padding-bottom: 0; }
.l9-point h4 { font-size: 19px; }

/* Closing CTA: "Prefer to call?" with both numbers. */
.e-con.l9-phone-line { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.l9-phone-line p { margin: 0; color: var(--l9-slate); font-size: 16px; }

/* Services hub summary cards. */
.l9-summary-card .l9-eyebrow .elementor-heading-title { font-size: 12px; }

/* ---------- Color refresh (0.3.0): navy hero, blue-tinted sections, lifted cards ---------- */
.l9-card, .e-con.l9-card {
  border-color: var(--l9-card-border);
  box-shadow: 0 1px 2px rgba(16, 27, 42, 0.05), 0 8px 24px rgba(35, 95, 245, 0.08);
}
.e-con.l9-trust-band { border-block-color: var(--l9-card-border); }

/* Every page opens on navy; the body below stays light. */
.e-con.l9-hero {
  background: radial-gradient(900px 400px at 80% 10%, var(--l9-hero-glow) 0%, var(--l9-navy) 70%);
  color: var(--l9-on-dark);
}
.l9-hero .l9-h1 .elementor-heading-title { color: var(--l9-white); }
.l9-hero .l9-h2 .elementor-heading-title,
.l9-hero .l9-lead, .l9-hero .l9-lead p, .l9-hero .l9-body p { color: #C9D5E6; }
.l9-hero .l9-eyebrow .elementor-heading-title { color: #7FA2FF; }
.l9-hero .l9-link a, .l9-hero a.l9-link { color: var(--l9-link-dark); }
.l9-hero a:focus-visible, .l9-hero button:focus-visible { outline-color: var(--l9-on-dark); }
.l9-hero .l9-placeholder { border-color: var(--l9-border-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.l9-hero .l9-breadcrumb li, .l9-hero .l9-breadcrumb a { color: var(--l9-muted-dark); }
.l9-hero .l9-breadcrumb li + li::before { color: #6F7E94; }
.l9-hero .l9-breadcrumb a:hover { color: var(--l9-white); }
.l9-hero .l9-breadcrumb [aria-current="page"] { color: var(--l9-white); }

/* ---------- Legal pages (accessibility statement, privacy policy): one readable column ---------- */
.e-con.l9-legal { gap: 40px; max-width: 760px; }
.e-con.l9-legal__section { gap: 14px; padding-top: 32px; border-top: 1px solid var(--l9-border); }
.l9-legal__section .elementor-heading-title { margin: 0; color: var(--l9-ink); font-size: 24px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.l9-legal h4 { margin: 1.6em 0 0.5em; color: var(--l9-ink); font-size: 18px; font-weight: 650; }
.l9-legal p + p { margin-top: 1em; }
.l9-legal ul { margin: 0.8em 0 0; padding-left: 1.25em; color: var(--l9-slate); }
.l9-legal li + li { margin-top: 0.5em; }
.l9-legal strong { color: var(--l9-ink); font-weight: 600; }
.l9-legal__intro p { color: var(--l9-slate); font-size: 15px; }
.l9-form-privacy p { margin: 0; }
.l9-footer .l9-footer__bottom span[aria-hidden] { margin: 0 8px; opacity: 0.5; }
/* Links inside running text are underlined, not just colored (WCAG 1.4.1). */
.l9-legal p a, .l9-legal li a, .l9-form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
