/* DGA Consulting — site styles.
   Recreates the look of the former BeTheme + WPBakery WordPress theme without any of its code. */

@font-face {
  font-family: 'Nexa Bold';
  src: url('/fonts/nexa-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nexa Heavy';
  src: url('/fonts/nexa-heavy.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #03254c;
  --blue: #2a9df4;
  --steel: #7092b8;
  --text: #54554e;
  --heading-dark: #444444;
  --container: 1220px;
  --gutter: 15px;
  --header-h: 100px;
  --font-body: Verdana, 'DejaVu Sans', Tahoma, Arial, sans-serif;
  --font-head: 'Nexa Bold', Arial, Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 32px;
  font-weight: 200;
  letter-spacing: -1px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--steel); }
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 40px; }
hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .08); margin: 0 0 15px; }
strong, b { font-weight: 700; }
table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
table th, table td { text-align: left; padding: 10px; border: 1px solid rgba(0, 0, 0, .08); }
table tr:nth-child(2n) td { background: rgba(194, 211, 232, .22); }
blockquote { font-family: var(--font-head); color: var(--heading-dark); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; }
h1, h2, h3, h4 { font-family: var(--font-head); }
h1 { font-size: 65px; line-height: 90px; font-weight: 700; letter-spacing: -2px; color: #fff; }
h2 { font-size: 35px; line-height: 65px; font-weight: 300; letter-spacing: 0; color: var(--navy); }
h3 { font-size: 30px; line-height: 45px; font-weight: 300; letter-spacing: 0; color: var(--navy); }
h4 { font-size: 20px; line-height: 35px; font-weight: 300; letter-spacing: 0; color: var(--heading-dark); }
h5 { font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: 0; color: var(--navy); }
h6 { font-size: 11px; line-height: 19px; font-weight: 400; letter-spacing: 0; color: var(--navy); }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  height: var(--header-h);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.header-inner { display: flex; align-items: center; height: 100%; max-width: none; padding: 0 34px; }
.logo { flex: 0 0 auto; display: block; }
.logo img { width: 278px; height: auto; }
.site-nav { flex: 1; display: flex; justify-content: center; padding-right: 278px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: block; padding: 0 16px; line-height: 40px;
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0; font-weight: 400;
  color: #333;
  position: relative;
}
.site-nav > ul > li > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s ease;
}
.site-nav > ul > li > a:hover, .site-nav > ul > li.active > a { color: var(--blue); }
.site-nav > ul > li > a:hover::after, .site-nav > ul > li.active > a::after { transform: scaleX(1); }
.site-nav .sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0;
  min-width: 290px; background: #fff; box-shadow: 0 8px 24px rgba(3, 37, 76, .12);
  border-top: 2px solid var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: 8px 20px; font-size: 14px; line-height: 22px; letter-spacing: 0; color: #333; }
.site-nav .sub a:hover, .site-nav .sub a[aria-current='page'] { color: var(--blue); background: rgba(42, 157, 244, .06); }
.sub-toggle, .menu-toggle { display: none; }

/* ---------- Main / footer ---------- */
.site-main { min-height: 50vh; }
.content { padding-top: 40px; padding-bottom: 40px; }
.content > .row.full:first-child { margin-top: -40px; }

.site-footer { background: #fff; color: var(--navy); padding: 30px 0 40px; }
.site-footer .container { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.footer-follow { display: flex; align-items: center; gap: 46px; padding-left: 82px; }
.footer-follow h5 { margin: 0; font-weight: 700; font-family: var(--font-body); }
.footer-linkedin { font-size: 28px; line-height: 1; color: var(--navy); }
.footer-linkedin:hover { color: var(--blue); }
.footer-copy { font-family: var(--font-body); font-size: 14px; line-height: 22px; letter-spacing: 0; color: var(--navy); margin: 0; font-weight: 400; }
.footer-copy a { color: var(--navy); margin-right: 16px; }
.footer-copy a:hover { color: var(--blue); }
.footer-copy .sep { margin: 0 18px 0 14px; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .04); color: #888; font-size: 22px; z-index: 90;
}
.back-to-top:hover { color: var(--navy); background: rgba(0, 0, 0, .08); }

/* ---------- Page-builder grid (replaces WPBakery rows/columns) ---------- */
.row { display: flex; flex-wrap: wrap; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.row::after { content: none; }
.col { padding-left: var(--gutter); padding-right: var(--gutter); min-width: 0; width: 100%; }
.row.gap-35 > .col { padding-left: calc(var(--gutter) + 17.5px); padding-right: calc(var(--gutter) + 17.5px); }
.text > :last-child { margin-bottom: 0; }
.col-inner { height: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
.col:has(> .col-inner) { padding-left: 0; padding-right: 0; }
.row.gap-35 > .col:has(> .col-inner) { padding-left: 17.5px; padding-right: 17.5px; }
.row.fill > .col, .col.fill > .col-inner, .col.fill:not(:has(> .col-inner)) { padding-top: 35px; }
.row.eq > .col { display: flex; flex-direction: column; }
.row.eq > .col > .col-inner { flex: 1; }

@media (min-width: 768px) {
  .span-1 { width: 8.3333%; } .span-2 { width: 16.6667%; } .span-3 { width: 25%; }
  .span-4 { width: 33.3333%; } .span-5 { width: 41.6667%; } .span-6 { width: 50%; }
  .span-7 { width: 58.3333%; } .span-8 { width: 66.6667%; } .span-9 { width: 75%; }
  .span-10 { width: 83.3333%; } .span-11 { width: 91.6667%; } .span-12 { width: 100%; }
  .offset-1 { margin-left: 8.3333%; } .offset-2 { margin-left: 16.6667%; } .offset-3 { margin-left: 25%; }
}

/* Full-width ("stretched") rows break out of the content column to the window edges. */
.row.full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50% - var(--gutter));
  padding-right: calc(50vw - 50% - var(--gutter));
}
.row.full.stretch { padding-left: 0; padding-right: 0; }
.row.inner.full { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0; }
@media (max-width: 767px) {
  .row.full.stretch { padding-left: var(--gutter); padding-right: var(--gutter); }
}

.text, figure.img, .btn-wrap, .icon-boxes, .logo-grid { margin-bottom: 35px; }
.spacer { display: block; }
hr.sep { border-top: 1px solid #ebebeb; margin: 0 0 35px; }

figure.img { margin-left: 0; margin-right: 0; margin-top: 0; }
figure.img.align-center { text-align: center; }
figure.img.align-right { text-align: right; }
figure.img figcaption { font-size: 14px; line-height: 22px; letter-spacing: 0; margin-top: 8px; }

.btn-wrap.align-center { text-align: center; }
.btn-wrap.align-right { text-align: right; }
.btn {
  display: inline-block; padding: 14px 20px; border-radius: 0;
  background: #fff; color: #666; font-family: var(--font-body);
  font-size: 14px; line-height: 18px; letter-spacing: -0.5px; font-weight: 400;
  border: 1px solid #f0f0f0; transition: all .15s ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Case-study tiles on home/insights */
.imgBox { transition: box-shadow .2s ease; }
.imgBox:hover { box-shadow: 0 0 30px #ccc; }
.casestudy { background: rgba(193, 211, 233, .3); border-top: 4px solid #8aa3c2; }

/* Client logo wall (was an auto-scrolling carousel) */
.logos-title { text-align: center; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 32px; align-items: center; }
.logo-grid img { width: 100%; max-height: 80px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: all .2s ease; }
.logo-grid img:hover { filter: none; opacity: 1; }

/* Icon boxes (were a Visual Composer "services" add-on) */
.icon-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.icon-box { text-align: center; }
.icon-box .ib-icon { display: block; font-size: 42px; line-height: 1; color: var(--blue); margin-bottom: 18px; }
.icon-box h3 { font-size: 20px; line-height: 30px; margin-bottom: 8px; }
.icon-box .ib-text { font-size: 16px; line-height: 26px; }

/* ---------- People ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin-bottom: 50px; }
.member { text-align: center; }
.member-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; cursor: pointer;
  background: #eef3f9; overflow: hidden;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.member-photo .initials { font-family: var(--font-head); font-size: 64px; color: var(--steel); display: flex; align-items: center; justify-content: center; height: 100%; }
.member-photo::after {
  content: '\f067'; font-family: FontAwesome; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; background: rgba(3, 37, 76, .55); opacity: 0; transition: opacity .2s ease;
}
.member-photo:hover::after, .member-photo:focus-visible::after { opacity: 1; }
.member-photo:hover img { transform: scale(1.04); }
.member h2 { font-size: 22px; line-height: 30px; margin: 16px 0 4px; }
.member h4 { font-size: 15px; line-height: 22px; margin: 0 0 10px; color: var(--steel); }
.member ul { list-style: none; padding: 0; font-size: 14px; line-height: 22px; letter-spacing: 0; text-align: left; }
.member ul li { position: relative; padding-left: 14px; margin-bottom: 6px; }
.member ul li::before { content: '–'; position: absolute; left: 0; color: var(--blue); }
.member .li-link { font-size: 22px; color: var(--navy); }
.member .li-link:hover { color: var(--blue); }

dialog.bio {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
  box-shadow: 0 20px 60px rgba(3, 37, 76, .35);
}
dialog.bio::backdrop { background: rgba(3, 37, 76, .6); }
.bio-inner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px; }
.bio-inner img { width: 100%; }
.bio-inner h2 { margin: 0; line-height: 44px; }
.bio-inner h4 { color: var(--steel); margin-bottom: 10px; }
.bio-inner .bio-text { font-size: 16px; line-height: 27px; }
.bio-inner .bio-text h5 { font-size: 16px; margin-top: 20px; }
.bio-meta { font-size: 14px; letter-spacing: 0; margin-top: 12px; }
.bio-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none;
  font-size: 28px; color: var(--navy); cursor: pointer;
}

/* ---------- Contact form ---------- */
.contact-form .field { margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 15px; line-height: 22px; letter-spacing: 0;
  color: #333; background: #fff; border: 1px solid var(--navy); border-radius: 0;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.contact-form button {
  padding: 12px 24px; border: 0; background: var(--steel); color: #fff; font: inherit; font-size: 15px; letter-spacing: 0; cursor: pointer;
}
.contact-form button:hover { background: var(--navy); }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 16px; font-size: 15px; line-height: 24px; letter-spacing: 0; border-left: 4px solid; }
.form-status.ok { border-color: #2e9e5b; background: #eef8f2; color: #1d5e37; }
.form-status.err { border-color: #c0392b; background: #fbeeee; color: #7d241b; }
.form-status:empty { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { padding-right: 0; justify-content: flex-end; }
  .site-nav > ul > li > a { padding: 0 10px; }
}

@media (max-width: 946px) {
  :root { --header-h: 76px; }
  .header-inner { padding: 0 16px; justify-content: space-between; }
  .logo img { width: 200px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: all .2s ease;
  }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -7px; } .menu-toggle-bars::after { top: 7px; }
  .menu-toggle[aria-expanded='true'] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded='true'] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; padding: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(3, 37, 76, .12);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; padding: 8px 0 16px; }
  .site-nav > ul > li { border-bottom: 1px solid rgba(0, 0, 0, .05); }
  .site-nav > ul > li > a { padding: 6px 20px; line-height: 36px; font-size: 16px; }
  .site-nav > ul > li > a::after { display: none; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 8px 16px; min-width: 0; }
  .site-nav li.sub-open > .sub { display: block; }
  .site-nav li.has-sub:hover > .sub { display: none; }
  .site-nav li.has-sub.sub-open:hover > .sub { display: block; }
  .sub-toggle {
    display: block; position: absolute; right: 8px; top: 4px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  }
  .sub-toggle::after { content: '+'; font-size: 24px; color: var(--navy); }
  .sub-toggle[aria-expanded='true']::after { content: '–'; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 27px; letter-spacing: -.5px; }
  h1 { font-size: 40px; line-height: 50px; letter-spacing: -1px; }
  h2 { font-size: 28px; line-height: 40px; }
  h3 { font-size: 23px; line-height: 34px; }
  /* builder margins/paddings were tuned for desktop only */
  .content :is(.col, .col-inner, .text, figure.img, .btn-wrap)[class*='vc_custom_'] { margin-left: 0 !important; margin-right: 0 !important; }
  .content :is(.col, .col-inner, .text)[class*='vc_custom_'] { padding-left: 15px !important; padding-right: 15px !important; }
  .page-home .content .vc_custom_1689653355312 { margin-top: 90px !important; }
  .spacer { max-height: 30px; }
  .icon-boxes { grid-template-columns: 1fr; }
  .footer-follow { padding-left: 0; gap: 16px; }
  .bio-inner { grid-template-columns: 1fr; padding: 48px 20px 24px; }
  .bio-inner img { max-width: 200px; }
  .header-inner { padding: 0 12px; }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .icon-boxes { grid-template-columns: repeat(2, 1fr); }
}

/* Share bar on case studies (was the AccessPress Social Share plugin) */
.share { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 14px; letter-spacing: 0; }
.share-label { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--steel); }
.share a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(3, 37, 76, .06); color: var(--navy); font-size: 15px; }
.share a:hover { background: var(--blue); color: #fff; }
