@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #13182b;
  --navy2: #202a4a;
  --gold: #2f71c6;
  --gold-l: #5e9af2;
  --text: #171d2f;
  --muted: #677084;
  --border: #dfe5ee;
  --bg: #f4f7fb;
  --white: #ffffff;
  --r: 12px;
  --r2: 24px;
  --trans: 0.25s cubic-bezier(0.2, 0.65, 0.3, 1);
  --font: "Montserrat", Arial, sans-serif;
}

html {
  background: #fff;
}

body {
  font-family: var(--font);
  letter-spacing: -0.01em;
  background:
    radial-gradient(circle at 78% 8%, rgba(53, 126, 221, 0.08), transparent 25rem),
    #fff;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
}

.wrap {
  max-width: 1240px;
  padding-inline: clamp(20px, 4vw, 42px);
}

.header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(19, 24, 43, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
}

body.home-page .header .logo {
  transform: translateX(clamp(-170px, calc((1240px - 100vw) / 4), 0px));
}

.header-inner {
  min-height: 78px;
  height: 78px;
  gap: 34px;
}

.logo-mark {
  width: 116px !important;
  height: 64px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.site-logo--header {
  width: 116px !important;
  height: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.nav {
  gap: 4px;
}

.nav a {
  color: #5f687a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: 999px;
}

body.home-page .nav a {
  font-size: 0.85rem;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: rgba(53, 126, 221, 0.1);
}

.header-phone {
  font-size: 0.82rem;
}

body.home-page .header-phone {
  font-weight: 700;
}

.header-phone svg {
  color: var(--gold);
}

.btn {
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--navy);
  box-shadow: 0 10px 25px rgba(19, 24, 43, 0.13);
}

.btn-primary:hover {
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(53, 126, 221, 0.24);
}

.btn-gold {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(53, 126, 221, 0.2);
}

.btn-gold:hover {
  color: #fff;
  background: var(--navy);
}

.btn-outline {
  border-color: rgba(19, 24, 43, 0.13);
  background: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  padding: 142px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(53, 126, 221, 0.06), transparent 43%),
    transparent;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  right: -260px;
  top: 100px;
  border: 1px solid rgba(53, 126, 221, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(53, 126, 221, 0.025),
    0 0 0 140px rgba(53, 126, 221, 0.018);
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.65rem, 4.6vw, 4.05rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero h1 strong {
  color: var(--gold);
}

.hero .lead {
  max-width: 600px;
  color: #667085;
  font-size: 1rem;
  line-height: 1.75;
}

/* Homepage billboard overrides stay isolated from service and career heroes. */
body.home-page .hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  background: #fefcfd;
}

body.home-page .hero::after {
  display: none;
}

body.home-page .hero-stage {
  position: relative;
  min-height: clamp(620px, 51.8vw, 746px);
  overflow: hidden;
  background: #fefcfd;
}

body.home-page .hero .hero-stage-inner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: inherit;
  padding-inline: clamp(28px, 4vw, 58px);
}

body.home-page .hero-copy {
  position: relative;
  z-index: 3;
  width: min(57%, 760px);
  padding-top: clamp(130px, 11vw, 160px);
}

body.home-page .hero-brand-line {
  margin-bottom: 34px;
  color: #13182b;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

body.home-page .hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #13182b;
  font-size: clamp(3.7rem, 6.4vw, 5.75rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

body.home-page .hero-title-first-line {
  display: block;
  white-space: nowrap;
}

body.home-page .hero h1 strong {
  display: block;
  color: #2f71c6;
  font-weight: 800;
}

body.home-page .hero .lead {
  max-width: 560px;
  margin: 0 0 76px;
  color: #31394a;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

body.home-page .hero-actions {
  margin: 0;
}

body.home-page .hero-actions .btn-primary {
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #2f71c6;
  box-shadow: none;
}

body.home-page .hero-actions .btn-primary:hover {
  background: #245fa9;
}

body.home-page .hero-visual {
  position: absolute;
  z-index: 1;
  inset: 79px 0 0;
  display: block;
  pointer-events: none;
}

body.home-page .hero-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fefcfd;
  box-shadow: none;
}

body.home-page .hero-img-main img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

body.home-page .hero-img-main::before,
body.home-page .hero-img-main::after,
body.home-page .hero-shield,
body.home-page .hero-label-abs {
  display: none;
}

body.home-page .hero-support {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 28px;
  background: #fefcfd;
}

body.home-page .hero-stats {
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 55px rgba(19, 24, 43, 0.09);
}

.hstat {
  padding: 19px 17px;
  border-right-color: rgba(19, 24, 43, 0.08);
}

.hstat-num {
  color: var(--navy);
  font-size: 1.55rem;
}

.hstat-num sup {
  color: var(--gold);
}

.hstat-label {
  color: #6a717f;
  font-size: 0.64rem;
  font-weight: 600;
}

body.home-page .hstat-label {
  color: #5f6878;
  font-size: 0.68rem;
  font-weight: 700;
}

body.home-page .hero-cards-row {
  gap: 14px;
}

body.home-page .hero-mini-card {
  padding: 17px 18px;
  border-color: rgba(19, 24, 43, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(19, 24, 43, 0.07);
}

body.home-page .hero-mini-card svg {
  color: var(--gold);
}

.trust {
  padding: 21px 0;
  border-color: rgba(19, 24, 43, 0.07);
  background: rgba(244, 247, 251, 0.7);
}

.trust-item {
  color: #667085;
  font-size: 0.76rem;
}

.services,
.why,
.branches,
.contact {
  padding-block: clamp(76px, 9vw, 118px);
}

.section-head {
  margin-bottom: 46px;
}

.svc-card,
.branch-card,
.cform,
.why-card {
  border-color: rgba(19, 24, 43, 0.09);
  border-radius: 22px;
}

.svc-card {
  padding: 30px 28px 26px;
  box-shadow: 0 10px 30px rgba(19, 24, 43, 0.035);
}

.svc-card:hover {
  border-color: rgba(53, 126, 221, 0.35);
  box-shadow: 0 22px 50px rgba(19, 24, 43, 0.11);
  transform: translateY(-6px);
}

.svc-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  border: 0;
  border-radius: 14px;
  background: rgba(53, 126, 221, 0.1);
}

.svc-card:hover .svc-icon {
  color: #fff;
  background: var(--gold);
}

.svc-card h3 {
  font-size: 1rem;
}

body.home-page .svc-card {
  min-height: 320px;
  padding: 42px 40px 36px;
  border: 0;
  border-radius: 28px;
  background: #f5f7fa;
  box-shadow: none;
}

body.home-page .services > .wrap {
  max-width: none;
  padding-inline: clamp(12px, 1.5vw, 24px);
}

body.home-page .services .section-head {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-inline: clamp(20px, 4vw, 42px);
}

body.home-page .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 20px);
}

body.home-page .svc-card:hover {
  border-color: transparent;
  background: #f1f4f8;
  box-shadow: 0 24px 55px rgba(19, 24, 43, 0.1);
  transform: translateY(-4px);
}

body.home-page .svc-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  color: var(--gold);
  border: 0;
  border-radius: 18px;
  background: rgba(53, 126, 221, 0.11);
}

body.home-page .svc-icon svg {
  width: 25px;
  height: 25px;
}

body.home-page .svc-card:hover .svc-icon {
  color: #fff;
  background: var(--gold);
}

body.home-page .svc-card h3 {
  max-width: 26rem;
  margin-bottom: 14px;
  color: #1d2433;
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

body.home-page .svc-card p {
  max-width: 31rem;
  color: #626b7b;
  font-size: 0.98rem;
  line-height: 1.65;
}

body.home-page .svc-more {
  margin-top: 32px;
  color: #2f71c6;
  font-size: 0.92rem;
  font-weight: 600;
}

body.home-page .svc-card:hover .svc-more {
  color: #245fa9;
}

.why {
  background:
    radial-gradient(circle at 88% 12%, rgba(53, 126, 221, 0.12), transparent 28rem),
    var(--bg);
}

.footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(53, 126, 221, 0.2), transparent 24rem),
    var(--navy);
}

.footer-logo .site-logo--footer {
  height: 48px;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.mobile-call {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(53, 126, 221, 0.3);
}

input,
select,
textarea {
  font-family: var(--font);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(53, 126, 221, 0.38);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 22px;
  }

  .nav a {
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  body.home-page .nav a {
    font-size: 0.77rem;
  }
}

@media (max-width: 900px) {
  body.home-page .hero-stage {
    min-height: auto;
    padding-top: 96px;
  }

  body.home-page .hero .hero-stage-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-inline: clamp(24px, 6vw, 56px);
  }

  body.home-page .hero-copy {
    width: min(100%, 620px);
    padding-top: 54px;
  }

  body.home-page .hero h1 {
    font-size: clamp(3rem, 9.5vw, 4.8rem);
  }

  body.home-page .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 46vw, 380px);
    margin-top: 30px;
  }

  body.home-page .hero-img-main {
    position: absolute;
    inset: 0;
  }

  body.home-page .hero-img-main img {
    object-position: right top;
  }

  body.home-page .hero-img-main::after {
    display: none;
  }

  body.home-page .hero-support {
    grid-template-columns: 1fr;
  }

  body.home-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
    height: 70px;
  }

  .logo-mark,
  .site-logo--header {
    width: 96px !important;
    height: 54px !important;
  }

  .hero {
    padding: 112px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.1rem);
  }
}

@media (max-width: 768px) {
  body.home-page .header-inner {
    min-height: 70px;
    height: 70px;
  }

  body.home-page .logo-mark,
  body.home-page .site-logo--header {
    width: 96px !important;
  }

  body.home-page .logo-mark,
  body.home-page .site-logo--header {
    height: 54px !important;
  }

  body.home-page .hero {
    padding: 0;
  }

  body.home-page .hero-stage {
    padding-top: 70px;
  }

  body.home-page .hero-copy {
    padding-top: 44px;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.25rem, 11.5vw, 4rem);
  }

  body.home-page .hero .lead {
    max-width: 34rem;
    font-size: 0.98rem;
  }

  body.home-page .hero-visual {
    display: block;
    width: 100%;
    height: clamp(230px, 62vw, 300px);
    margin-top: 22px;
  }

  body.home-page .hero-img-main {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
  }

  body.home-page .hero-cards-row {
    grid-template-columns: 1fr;
  }

  body.home-page .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(19, 24, 43, 0.07);
  }

  body.home-page .hstat {
    margin: 0;
    border: 0;
    border-right: 1px solid rgba(19, 24, 43, 0.07);
    border-bottom: 1px solid rgba(19, 24, 43, 0.07);
    border-radius: 0;
  }

  body.home-page .hstat:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 768px) {
  body.home-page .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.home-page .svc-card {
    min-height: 280px;
    padding: 32px 28px 28px;
    border-radius: 24px;
  }

  body.home-page .svc-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared mobile navigation for every page template. */
.site-menu-toggle {
  appearance: none;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.site-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #171d2f;
  transition: transform .2s ease, opacity .2s ease;
}

.site-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-site-nav {
  display: none;
  position: fixed;
  top: var(--site-header-height, 70px);
  left: 0;
  right: 0;
  z-index: 890;
  max-height: calc(100vh - var(--site-header-height, 70px));
  overflow-y: auto;
  padding: 18px 20px 24px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #dfe5ee;
  box-shadow: 0 18px 40px rgba(19,24,43,.14);
}

.mobile-site-nav a {
  display: block;
  padding: 14px 4px;
  color: #171d2f;
  border-bottom: 1px solid #e4e9ef;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-site-nav a.active { color: #2f71c6; }
.mobile-site-nav .mobile-site-nav-phone { color: #fff; background: #13182b; border: 0; border-radius: 10px; margin-top: 16px; padding-inline: 16px; text-align: center; }

.history-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(940px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px 22px;
  color: #fff;
  background: #13182b;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(19,24,43,.35);
}

.cookie-consent-copy { max-width: 620px; }
.cookie-consent-copy strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.cookie-consent-copy p { color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.55; }
.cookie-consent-copy a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; flex-shrink: 0; gap: 10px; }
.cookie-consent-actions button {
  min-height: 44px;
  padding: 10px 15px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-consent-actions button.primary { color: #13182b; background: #fff; border-color: #fff; }

.faq-q:focus-visible,
.cookie-consent button:focus-visible,
.site-menu-toggle:focus-visible,
.mobile-site-nav a:focus-visible {
  outline: 3px solid #2f71c6;
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; width: auto; display: block; padding: 18px; }
  .cookie-consent-actions { margin-top: 15px; }
  .cookie-consent-actions button { flex: 1; }
}

@media (max-width: 768px) {
  .site-menu-toggle { display: flex !important; margin-left: auto; flex-shrink: 0; }
  .mobile-site-nav.is-open { display: block !important; }
  body.site-menu-open { overflow: hidden; }
  header.header,
  header.topbar,
  body > header { z-index: 900; }
  header.topbar .brand,
  body > header .brand { display: flex !important; }
  .history-content-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .history-content-grid > * { min-width: 0; }
}
