/*
 * imexpert v3 design layer.
 *
 * Loaded after style.css (and audit-fixes.css on the homepage). Colours,
 * type and spacing come from the imexpert design system. Legacy rules in
 * style.css still style the pages this file does not touch.
 */

:root {
  --imx-blue: #239cd4;
  --imx-blue-dark: #216a9d;
  --imx-navy: #1c355e;
  --imx-navy-deep: #163b62;
  --imx-green: #8bc53f;
  --imx-ink: #30393c;
  --imx-text: #3d4a5c;
  --imx-muted: #53687b;
  --imx-on-navy: #dbe5ec;
  --imx-surface: #f4f6f8;
  --imx-sky: #f4f8fb;
  --imx-tint: #e8f5fb;
  --imx-chip: #f3f7fa;
  --imx-border: #dfe8ef;
  --imx-border-panel: #dbe5ec;
  --imx-row: #e3eaf0;
  --imx-field: #b9cbd8;
  --imx-radius: 12px;
  --imx-shadow-card: 0 2px 10px rgba(0, 0, 0, .08);
  --imx-shadow-hover: 0 8px 18px rgba(0, 0, 0, .12);
  --imx-shadow-panel: 0 20px 45px rgba(28, 53, 94, .22);
  --imx-display: 'Flexo', 'Lato', sans-serif;
  --imx-body: 'Lato', Tahoma, sans-serif;
}

/*
 * WordPress global styles print body{padding:0} after style.css, which let
 * the fixed header cover the top of every page. Restore the clearance here.
 */
body {
  color: var(--imx-text);
  padding-top: 90px;
}
@media only screen and (max-width: 767px) {
  body {
    padding-top: 71px;
  }
}

/* ---------- Buttons ---------- */

.v3-btn,
a.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--imx-green);
  border-radius: 999px;
  background: var(--imx-green);
  color: var(--imx-navy);
  font: 900 16px/1.1 var(--imx-body);
  letter-spacing: .3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.v3-btn:hover,
.v3-btn:focus-visible {
  background: #7fb536;
  border-color: #7fb536;
  color: var(--imx-navy);
}
.v3-btn--ghost,
a.v3-btn--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.v3-btn--ghost:hover,
.v3-btn--ghost:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--imx-navy);
}
.v3-btn--outline,
a.v3-btn--outline {
  background: transparent;
  border-color: var(--imx-navy);
  color: var(--imx-navy);
}
.v3-btn--outline:hover,
.v3-btn--outline:focus-visible {
  background: var(--imx-navy);
  border-color: var(--imx-navy);
  color: #fff;
}
.v3-btn--block {
  width: 100%;
}
.v3-btn:focus-visible,
.v3-card:focus-visible,
.v3-chip:focus-visible {
  outline: 3px solid var(--imx-blue);
  outline-offset: 3px;
}

/* Legacy outline button, brought in line with the new shapes. */
a.button {
  height: auto;
  min-height: 50px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--imx-blue-dark);
  border-radius: 999px;
  color: var(--imx-blue-dark);
  font-weight: 900;
}
a:hover.button {
  background: var(--imx-blue-dark);
  border-color: var(--imx-blue-dark);
  color: #fff;
}
a.button_white {
  border-color: #fff;
  color: #fff;
}

/* ---------- Shared type ---------- */

.v3-eyebrow {
  display: block;
  margin: 0;
  font: 700 13px/1.3 var(--imx-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
}
.v3-eyebrow--green {
  color: var(--imx-green);
  font-size: 14px;
  letter-spacing: .1em;
}
.v3-h2 {
  margin: 0;
  font: 600 45px/1.05 var(--imx-display);
  color: var(--imx-navy);
}
.v3-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--imx-text);
}
.v3-small {
  margin: 0;
  font-size: 13px;
  color: var(--imx-muted);
}

/* ---------- Header ---------- */

header {
  display: flex;
  align-items: center;
  padding-top: 0;
  border-bottom: 1px solid var(--imx-border-panel);
  box-shadow: 0 3px 10px rgba(28, 53, 94, .08);
  -webkit-box-shadow: 0 3px 10px rgba(28, 53, 94, .08);
  -moz-box-shadow: 0 3px 10px rgba(28, 53, 94, .08);
}
header > .width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0 24px;
  max-width: 1208px;
}
header > .width > a > img {
  display: block;
  width: 184px;
  height: auto;
}
.header_right {
  position: static;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header_right > a {
  font-size: 18px;
  font-weight: 900;
  color: var(--imx-navy);
  white-space: nowrap;
}
.header_right > a.header_cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--imx-green);
  color: var(--imx-navy);
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.header_right > a.header_cta:hover {
  background: #7fb536;
}
.navigation {
  color: var(--imx-navy);
  font-size: 16px;
  font-weight: 700;
}
.navigation > ul > li > a {
  padding: 0 11px;
}
.navigation > ul > li:not(:last-of-type):after {
  content: none;
}
.navigation > ul > li:hover,
.navigation > ul > li.active > a,
.navigation .with-dropdown a.visible {
  color: var(--imx-blue-dark);
}
.nav-accordion,
.search-dropdown .nav-accordion {
  background: var(--imx-navy);
  border-radius: 0 0 12px 12px;
}
@media only screen and (min-width: 768px) {
  .navigation .menu-subnav-level-1 {
    background: var(--imx-navy);
    border-radius: 0 0 12px 12px;
  }
  .navigation .menu-subnav-level-1 > li {
    border-bottom-color: rgba(255, 255, 255, .14);
  }
  .navigation .menu-subnav-level-1 > li > .menu-link:hover,
  .navigation .menu-subnav-level-1 > li > .menu-link:focus {
    background: rgba(255, 255, 255, .08);
  }
  .navigation .menu-subnav-level-2 {
    background: rgba(0, 0, 0, .14);
  }
  .navigation .menu-subnav-level-2 .menu-link:hover,
  .navigation .menu-subnav-level-2 .menu-link:focus {
    background: rgba(255, 255, 255, .08);
  }
  /* Mega menus keep their light card panels. */
  .navigation > ul > li.mega-menu--digital > .menu-subnav-level-1,
  .navigation > ul > li.mega-menu--guides > .menu-subnav-level-1 {
    background: var(--imx-sky);
  }
  .navigation .menu-subnav-level-1 > li.mega-menu-card {
    border-bottom: 1px solid #dce6ed;
  }
}
@media only screen and (max-width: 1100px) {
  .header_right > a.header_cta {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  header > .width {
    width: 100%;
    padding: 0 16px;
  }
  header > .width > a > img {
    width: 132px;
  }
  .navigation.active {
    background: rgba(28, 53, 94, .98);
  }
  .navigation > ul > li {
    border-bottom-color: rgba(255, 255, 255, .18);
  }
  .navigation .menu-subnav {
    background: rgba(255, 255, 255, .05);
    border-top-color: rgba(255, 255, 255, .14);
  }
  .navigation .menu-subnav-level-1 > li {
    border-bottom-color: rgba(255, 255, 255, .12);
  }
  .navigation .menu-subnav-level-2 {
    background: rgba(0, 0, 0, .14);
    border-top-color: rgba(255, 255, 255, .12);
  }
  .navigation .menu-subnav-level-2 li {
    border-bottom-color: rgba(255, 255, 255, .1);
  }
  .header_right > a.mobile_menu {
    color: var(--imx-navy);
  }
}

/* ---------- Hero ---------- */

.v3-hero,
section.v3-hero {
  background: var(--imx-navy);
  color: #fff;
  padding: 64px 0 80px;
}
.home-cards.v3-hero,
#home_cards.v3-hero {
  background: var(--imx-navy);
  padding: 64px 0 80px !important;
  min-height: 0 !important;
}
.v3-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 0 24px;
  max-width: 1208px;
}
.v3-hero__copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.v3-hero__h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v3-hero__title {
  display: block;
  font: 600 56px/1.02 var(--imx-display);
  letter-spacing: -1px;
  color: #fff;
}
.v3-hero__sub {
  margin: 0;
  font: 300 28px/1.2 var(--imx-display);
  color: #fff;
}
.v3-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--imx-on-navy);
}
.v3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}
.v3-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  font-size: 15px;
  color: #fff;
}
.v3-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.v3-tick {
  flex-shrink: 0;
  display: block;
}
.v3-hero__visual {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  padding-bottom: 40px;
}
.v3-hero__art {
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
  line-height: 0;
  background: var(--imx-blue);
}
.v3-hero__art svg,
.v3-hero__art img {
  display: block;
  width: 100%;
  height: auto;
}
.v3-ai-card {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(28, 53, 94, .24);
}
.v3-ai-card__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--imx-muted);
}
.v3-ai-card__q {
  min-height: 43px;
  font: 700 17px/1.25 var(--imx-display);
  color: var(--imx-navy);
  transition: opacity .2s ease;
}
.v3-ai-card__q.is-fading {
  opacity: 0;
}
.v3-ai-card__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--imx-ink);
}
.v3-ai-card__link {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
  text-decoration: none;
}
.v3-ai-card__link:hover {
  color: var(--imx-navy);
  text-decoration: underline;
}
.v3-ai-card__link[hidden] {
  display: none;
}
.v3-ai-card__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.v3-ai-card__dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--imx-border);
  transition: width .2s ease, background-color .2s ease;
}
.v3-ai-card__dots i.is-on {
  width: 18px;
  background: var(--imx-blue);
}
.v3-breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--imx-on-navy);
}
.v3-breadcrumb a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.v3-breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Platforms strip ---------- */

.v3-platforms,
section.v3-platforms {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--imx-row);
}
.v3-platforms .width {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  padding: 0 24px;
}
.v3-platforms__label {
  margin-right: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--imx-muted);
}
.v3-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--imx-border);
  border-radius: 999px;
  background: var(--imx-chip);
  color: var(--imx-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
a.v3-chip {
  min-height: 44px;
  padding: 0 16px;
  transition: background-color .18s ease, border-color .18s ease;
}
a.v3-chip:hover {
  background: var(--imx-tint);
  border-color: var(--imx-blue);
  color: var(--imx-navy);
}
a.v3-chip.is-active {
  background: var(--imx-navy);
  border-color: var(--imx-navy);
  color: #fff;
}

/* ---------- Sections ---------- */

.v3-section,
section.v3-section {
  padding: 96px 0;
  background: #fff;
}
.v3-section--grey,
section.v3-section--grey {
  background: var(--imx-surface);
}
.v3-section > .width {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 24px;
  max-width: 1208px;
}
.v3-section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.v3-section__head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.v3-section__head--center {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}
.v3-link {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
  text-decoration: none;
}
.v3-link:hover {
  color: var(--imx-navy);
}

/* ---------- Service cards ---------- */

.v3-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v3-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: var(--imx-radius);
  box-shadow: var(--imx-shadow-card);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.v3-card:hover,
.v3-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--imx-shadow-hover);
  color: inherit;
}
.v3-card__media {
  display: block;
  aspect-ratio: 400 / 190;
  overflow: hidden;
  background: var(--imx-blue);
}
.v3-card__media svg,
.v3-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px 24px 24px;
}
.v3-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 12px/1.2 var(--imx-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
}
.v3-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--imx-green);
  color: var(--imx-navy);
  font: 900 11px/1.2 var(--imx-body);
  letter-spacing: .04em;
}
.v3-card__title {
  font: 700 23px/1.15 var(--imx-display);
  color: var(--imx-navy);
}
.v3-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--imx-text);
}
.v3-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
}

/* ---------- Steps ---------- */

.v3-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v3-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--imx-border);
  border-top: 4px solid var(--imx-blue);
  border-radius: var(--imx-radius);
}
.v3-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--imx-navy);
  color: #fff;
  font: 700 20px/1 var(--imx-display);
}
.v3-step h3 {
  margin: 0;
  font: 700 24px/1.2 var(--imx-display);
  color: var(--imx-navy);
}
.v3-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- AI readiness band ---------- */

.v3-band,
section.v3-band {
  padding: 88px 0;
  background: var(--imx-blue-dark);
  color: #fff;
}
.v3-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  max-width: 1208px;
}
.v3-band__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v3-band__copy .v3-eyebrow,
.v3-band__copy .v3-h2,
.v3-band__copy .v3-lead {
  color: #fff;
}
.v3-audit-card {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
}
.v3-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--imx-navy);
}
.v3-field input,
.v3-audit-card .home-audit-bar__input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--imx-field);
  border-radius: 10px;
  background: #fff;
  font: 400 16px var(--imx-body);
  color: var(--imx-ink);
}
.v3-field input:focus,
.v3-audit-card .home-audit-bar__input:focus {
  outline: 3px solid rgba(35, 156, 212, .35);
  border-color: var(--imx-blue);
}
.v3-audit-card .v3-small {
  text-align: center;
}

/* ---------- Guide cards ---------- */

.v3-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v3-guide {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 28px;
  background: var(--imx-sky);
  border: 1px solid var(--imx-border-panel);
  border-radius: var(--imx-radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.v3-section--grey .v3-guide {
  background: #fff;
  box-shadow: var(--imx-shadow-card);
  border-color: transparent;
}
.v3-guide:hover {
  border-color: var(--imx-blue);
  transform: translateY(-2px);
  color: inherit;
}
.v3-tag {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--imx-tint);
  color: var(--imx-navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}
.v3-guide__title {
  font: 700 24px/1.2 var(--imx-display);
  color: var(--imx-navy);
}
.v3-guide__text {
  font-size: 15px;
  line-height: 1.6;
}
.v3-guide__cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
}

/* ---------- Closing call to action ---------- */

.v3-cta,
section.v3-cta {
  padding: 80px 0;
  background: var(--imx-navy);
  color: #fff;
}
.v3-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 24px;
  max-width: 1208px;
}
.v3-cta__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v3-cta h2 {
  margin: 0;
  font: 600 45px/1.05 var(--imx-display);
  color: #fff;
}
.v3-cta p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--imx-on-navy);
}
.v3-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */

footer.v3-footer {
  padding: 56px 0 32px;
  background: var(--imx-navy-deep);
  border-top: 3px solid var(--imx-green);
  color: var(--imx-on-navy);
}
.v3-footer > .width {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 24px;
  max-width: 1208px;
}
.v3-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}
.v3-footer__brand {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v3-footer__brand img {
  display: block;
  width: 180px;
  height: auto;
}
.v3-footer__brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
footer.v3-footer a {
  color: #fff;
  text-decoration: none;
}
footer.v3-footer a:hover {
  text-decoration: underline;
}
.v3-footer__phone {
  font-size: 24px;
  font-weight: 900;
}
.v3-footer__nav {
  flex: 0 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.v3-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v3-footer__heading {
  font: 700 13px/1.3 var(--imx-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--imx-green);
}
.v3-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
}
.v3-footer__bottom span {
  display: flex;
  gap: 20px;
}
footer.v3-footer .v3-footer__bottom a {
  color: var(--imx-on-navy);
}

/* ---------- Homepage child sections ---------- */

.section_content {
  padding-top: 72px;
  padding-bottom: 72px;
}
.section_content h1,
.section_content h2,
.section_services h2 {
  font: 600 40px/1.1 var(--imx-display);
  color: var(--imx-navy);
}
.section_content h3 {
  color: var(--imx-navy);
}
.section_content p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--imx-text);
}
.section_services {
  background: var(--imx-surface);
}
.section_services h2 {
  margin-bottom: 1.4em;
}
.section_services h3 {
  font: 700 20px/1.25 var(--imx-display);
  color: var(--imx-navy);
}
.section_services li a {
  color: var(--imx-navy);
}
.section_services li div {
  color: var(--imx-text);
}

/* ---------- Service pages ---------- */

.v3-subnav {
  background: var(--imx-sky);
  border-bottom: 1px solid var(--imx-border-panel);
}
.v3-subnav .width {
  padding: 16px 24px;
  max-width: 1208px;
}
.v3-subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.section_summary--services a {
  color: var(--imx-blue-dark);
}
.section_summary--services ol > li::before {
  background: var(--imx-navy);
}

.section_packages {
  background: var(--imx-surface);
}
.section_packages h2 {
  font: 600 45px/1.05 var(--imx-display);
  color: var(--imx-navy);
  margin-bottom: .9em;
}
.section_packages ul {
  gap: 24px;
}
.section_packages li {
  flex: 1 1 250px;
  width: auto !important;
  gap: 12px;
  padding: 32px 26px;
  background: #fff;
  border-top: 4px solid var(--imx-blue);
  border-radius: var(--imx-radius);
  box-shadow: var(--imx-shadow-card);
  color: var(--imx-text);
}
.section_packages h3 {
  margin: 4px 0 0;
  font: 700 26px/1.1 var(--imx-display);
  color: var(--imx-navy);
  text-transform: none;
}
.section_packages h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--imx-blue-dark);
}
.section_packages h5 {
  margin: 6px 0;
  font: 300 44px/1 var(--imx-display);
  color: var(--imx-navy);
}
.section_packages h5 small {
  font: 700 16px var(--imx-body);
  color: var(--imx-muted);
}
.section_packages li p {
  max-width: none;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
}
.section_packages li .v3-btn {
  align-self: stretch;
}

.section_inclusions h2,
.section_inclusions h3 {
  color: var(--imx-navy);
}
.section_inclusions h2 {
  border-bottom-color: var(--imx-border);
}

/* Rank Math FAQ blocks */
.rank-math-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-math-list-item {
  padding: 0 24px;
  background: #fff;
  border: 1px solid var(--imx-border);
  border-radius: var(--imx-radius);
}
.rank-math-question {
  margin: 0;
  padding: 20px 0;
  font: 700 20px/1.3 var(--imx-display);
  color: var(--imx-navy);
  cursor: pointer;
}
.rank-math-answer {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

/* Related articles */
.v3-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v3-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: var(--imx-radius);
  box-shadow: var(--imx-shadow-card);
}
.v3-post__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
  background-color: var(--imx-tint);
}
.v3-post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 24px 24px;
}
.v3-post__title {
  margin: 0;
  font: 700 21px/1.25 var(--imx-display);
}
.v3-post__title a {
  color: var(--imx-navy);
  text-decoration: none;
}
.v3-post__title a:hover {
  color: var(--imx-blue-dark);
}
.v3-post__excerpt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.v3-post__cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--imx-blue-dark);
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 900px) {
  .v3-cards,
  .v3-guides,
  .v3-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v3-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .v3-hero__title {
    font-size: 48px;
  }
}
@media only screen and (max-width: 767px) {
  .v3-hero,
  section.v3-hero,
  .home-cards.v3-hero,
  #home_cards.v3-hero {
    padding: 48px 0 56px !important;
  }
  .v3-hero__inner,
  .v3-section > .width,
  .v3-band__inner,
  .v3-cta__inner,
  .v3-footer > .width,
  .v3-platforms .width,
  .v3-subnav .width {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .v3-hero__title {
    font-size: 38px;
  }
  .v3-hero__sub {
    font-size: 22px;
  }
  .v3-hero__lead {
    font-size: 18px;
  }
  .v3-hero__visual {
    padding-bottom: 0;
  }
  .v3-ai-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: -24px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .v3-section,
  section.v3-section,
  .v3-band,
  section.v3-band {
    padding: 64px 0;
  }
  .v3-h2,
  .v3-cta h2,
  .section_packages h2 {
    font-size: 32px;
  }
  .v3-section > .width {
    gap: 32px;
  }
  .section_content h1,
  .section_content h2,
  .section_services h2 {
    font-size: 28px;
  }
  .v3-btn,
  a.v3-btn {
    width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  .v3-cards,
  .v3-guides,
  .v3-posts {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ---------- Mobile: tighter hero so the key message fits the first screen ---------- */
@media only screen and (max-width: 767px) {
  .v3-hero,
  section.v3-hero,
  .home-cards.v3-hero,
  #home_cards.v3-hero {
    padding: 28px 0 40px !important;
  }
  .v3-hero__inner {
    gap: 24px;
  }
  .v3-hero__copy {
    gap: 16px;
  }
  .v3-hero__h1 {
    gap: 10px;
  }
  .v3-eyebrow--green {
    font-size: 12px;
    letter-spacing: .06em;
  }
  .v3-hero__title {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -.5px;
  }
  .v3-hero__sub {
    font-size: 20px;
  }
  .v3-hero__lead {
    font-size: 17px;
    line-height: 1.5;
  }
  .v3-hero__actions {
    gap: 10px;
    padding-top: 4px;
  }
  .v3-hero__actions .v3-btn {
    min-height: 50px;
    font-size: 15px;
  }
  .v3-checks {
    gap: 6px 18px;
    padding-top: 2px;
    font-size: 14px;
  }
  .v3-hero__art,
  .v3-hero--service .v3-hero__visual {
    display: none;
  }
  .v3-hero__visual {
    flex-basis: 100%;
  }
  .v3-ai-card {
    margin: 0;
  }
  .v3-platforms,
  section.v3-platforms {
    padding: 16px 0;
  }
  .v3-platforms .width {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .v3-platforms .width::-webkit-scrollbar {
    display: none;
  }
  .v3-platforms__label,
  .v3-chip {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .v3-section,
  section.v3-section,
  .v3-band,
  section.v3-band,
  .v3-cta,
  section.v3-cta {
    padding: 56px 0;
  }
  .v3-section > .width {
    gap: 28px;
  }
  .v3-cards,
  .v3-guides,
  .v3-posts,
  .v3-steps {
    gap: 16px;
  }
  .v3-step,
  .v3-audit-card {
    padding: 24px;
  }
  .v3-footer__cols {
    gap: 32px;
  }
}
/* ---------- Answer pages ---------- */
.v3-hero__title--answer {
  font-size: 46px;
  line-height: 1.08;
}
@media only screen and (max-width: 767px) {
  .v3-hero__title--answer {
    font-size: 30px;
  }
  .v3-hero--answer .v3-hero__visual {
    display: none;
  }
}

/* ---------- Mobile menu ---------- */
.navigation > ul > li.menu-mobile-cta {
  display: none;
}
@media only screen and (max-width: 767px) {
  .navigation.active {
    background: var(--imx-navy);
    padding-bottom: 120px;
  }
  .navigation > ul > li:hover,
  .navigation > ul > li.active > a {
    color: #fff;
  }
  .navigation > ul > li > a {
    padding: 0 20px;
    font-size: 17px;
    font-weight: 700;
  }
  .navigation > ul > li.has-menu-children > .menu-submenu-toggle {
    color: var(--imx-green);
  }
  .navigation .mega-menu-intro,
  .navigation .mega-menu-card__cta {
    display: none !important;
  }
  .navigation .menu-subnav {
    background: rgba(0, 0, 0, .16);
    border-top-color: rgba(255, 255, 255, .1);
  }
  .navigation .menu-subnav-level-1 > li > .menu-link {
    padding-left: 36px;
    font-size: 16px;
    font-weight: 600;
  }
  .navigation .menu-subnav-level-2 {
    background: rgba(0, 0, 0, .16);
  }
  .navigation .menu-subnav-level-2 .menu-link {
    padding-left: 52px;
    color: var(--imx-on-navy);
    font-size: 15px;
  }
  .navigation .search-dropdown {
    border-bottom: 0;
  }
  .navigation .search-dropdown > a {
    display: none;
  }
  .navigation .search-dropdown .nav-accordion {
    margin: 0;
    padding: 20px 20px 4px;
    border-top: 0;
    border-radius: 0;
    background: transparent;
  }
  .navigation .search-dropdown form {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 4px 4px 18px;
    background: #fff;
    border-radius: 999px;
  }
  .search-dropdown input.text {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 42px;
    padding: 0;
    line-height: 42px;
    background: transparent;
    color: var(--imx-ink);
    font-size: 16px;
  }
  .search-dropdown button {
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: var(--imx-blue-dark);
    color: #fff;
    font-size: 16px;
  }
  .navigation > ul > li.menu-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 24px;
    border-bottom: 0;
    line-height: normal;
  }
  .navigation > ul > li.menu-mobile-cta > a.v3-btn {
    flex: none;
    width: 100%;
    min-height: 50px;
    padding: 0 24px;
    color: var(--imx-navy);
    font-size: 15px;
    font-weight: 900;
  }
  .navigation > ul > li.menu-mobile-cta > a.v3-btn--ghost {
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v3-card,
  .v3-guide,
  .v3-ai-card__q,
  .v3-ai-card__dots i {
    transition: none;
  }
  .v3-card:hover,
  .v3-guide:hover {
    transform: none;
  }
}
