html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

html,
body {
  color: #101719;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

body {
  background: #fcfaf6;
}
body .site-header .primary-nav a[aria-current=true] {
  background: #1f6feb;
  border-radius: 8px;
  color: #fff;
  padding: 0.55rem 0.7rem;
}
body .site-header .primary-nav a[aria-current=true]:hover {
  color: #fff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

h1:focus {
  outline: none;
}

.site-shell {
  overflow: hidden;
}

.site-header .header-logo {
  display: block !important;
  height: 40px !important;
  width: clamp(130px, 14vw, 190px) !important;
}

.site-header .header-logo img {
  display: block !important;
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

.nav-toggle,
.nav-toggle-button,
.nav-spacer,
.mobile-call {
  display: none;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.eyebrow {
  color: #1261d1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.section h2,
.contact-hero h1,
.hero-copy h1 {
  letter-spacing: 0;
}

.contact-hero h1,
.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin: 0;
  max-width: 820px;
}

.lead {
  color: #536166;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin: 1.2rem 0 0;
  max-width: 720px;
}

.hero {
  align-items: stretch;
  background: #101719;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(680px, 100svh - 120px);
  position: relative;
}

.hero-copy {
  align-content: center;
  display: grid;
  min-height: min(680px, 100svh - 120px);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  background: linear-gradient(90deg, rgba(16, 23, 25, 0.78), rgba(16, 23, 25, 0.34));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.96;
  margin: 0;
  max-width: 820px;
}

.hero-copy p {
  color: #d9e0de;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin: 1.4rem 0 0;
  max-width: 660px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  gap: 0.6rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.button-primary {
  background: #1f6feb;
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #195fc9;
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
}

.button-dark {
  background: #101719;
  color: #fff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #243033;
  color: #fff;
}

.button-light {
  border: 1px solid rgba(16, 23, 25, 0.18);
  color: #101719;
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
  border-color: rgba(16, 23, 25, 0.34);
  color: #101719;
}

.hero-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  padding-top: 1.4rem;
}

.hero-meta strong,
.stat strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.hero-meta span,
.stat span {
  color: #b8c3c0;
  display: block;
  line-height: 1.4;
  margin-top: 0.35rem;
}

.hero-media {
  inset: 0;
  min-height: 100%;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(16, 23, 25, 0.2), rgba(16, 23, 25, 0.06));
  content: "";
  inset: 0;
  position: absolute;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(18, 30, 34, 0.1);
  border-radius: 8px;
  min-height: 280px;
  padding: 1.2rem;
}

.service-icon {
  align-items: center;
  background: #101719;
  border-radius: 8px;
  color: #7bb7ff;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 1.3rem 0 0.7rem;
}

.service-card p {
  color: #5a676b;
  line-height: 1.65;
  margin: 0;
}

.service-link {
  color: #1f6feb;
  display: inline-flex;
  font-weight: 800;
  margin-top: 1rem;
  text-decoration: none;
}

.seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.seo-link-row a {
  border: 1px solid rgba(16, 23, 25, 0.12);
  border-radius: 8px;
  color: #101719;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
}

.split-section {
  background: #edf2f0;
}

.split-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.work-panel {
  background: transparent;
  border-radius: 0;
  container-type: inline-size;
  color: #101719;
}

.stat-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 23, 25, 0.1);
  border-radius: 8px;
  padding: 1.2rem;
}

.stat strong {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.stat span {
  color: #536166;
  font-size: 0.98rem;
}

@container (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
.check-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  color: #314044;
  display: flex;
  gap: 0.75rem;
  line-height: 1.55;
}

.check-list li::before {
  background: #1f6feb;
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 0.62rem;
  margin-top: 0.48rem;
  width: 0.62rem;
}

.references {
  background: #101719;
  color: #fff;
}

.references .lead {
  color: #bfcbc8;
}

.reference-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
}

.reference-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-height: 150px;
  padding: 1rem;
}

.reference-item strong {
  display: block;
  font-size: 1.15rem;
}

.reference-item span {
  color: #bac6c3;
  display: block;
  line-height: 1.5;
  margin-top: 0.6rem;
}

.contact {
  background: #dcecff;
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
}

.contact-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 23, 25, 0.16);
  border-radius: 8px;
  padding: 1.2rem;
}

.contact-card dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-card dt {
  color: #174d9a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
}

.contact-card a {
  color: #101719;
}

.contact-hero {
  background: #edf2f0;
  padding-top: clamp(4rem, 8vw, 7rem);
}

.contact-page-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
}

.contact-page-card {
  background: #fff;
}

.contact-details-section {
  background: #fcfaf6;
}

.contact-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.info-panel {
  background: #fff;
  border: 1px solid rgba(18, 30, 34, 0.1);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.info-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.seo-page .section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.seo-hero {
  background: #edf2f0;
}

.seo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dark-panel {
  background: #101719;
  color: #fff;
}

.dark-panel .eyebrow {
  color: #7bb7ff;
}

.compact-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.compact-service-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #dce4e1;
  font-weight: 800;
  padding: 0.75rem 0.85rem;
}

.site-footer {
  background: #101719;
  color: #dce4e1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
}

.site-footer a {
  color: #7bb7ff;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .service-grid,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid,
  .contact-grid,
  .contact-page-grid,
  .contact-detail-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 777px) {
  .site-header {
    align-items: center !important;
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  }
  .site-header .header-logo {
    height: 36px !important;
    width: min(140px, 38vw) !important;
  }
  .nav-toggle-button {
    align-items: center !important;
    display: inline-flex !important;
    height: 44px !important;
    justify-content: center !important;
    width: 44px !important;
  }
  .nav-toggle-button {
    border: 1px solid rgba(18, 30, 34, 0.14) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    flex-direction: column !important;
    gap: 0.28rem !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
  .nav-toggle-button span {
    background: currentColor !important;
    border-radius: 999px !important;
    display: block !important;
    height: 2px !important;
    width: 18px !important;
  }
  .brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: center !important;
    justify-self: center !important;
  }
  .nav-spacer {
    display: none !important;
  }
  .primary-nav {
    background: rgba(252, 250, 246, 0.98) !important;
    border: 1px solid rgba(18, 30, 34, 0.12) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 30px rgba(16, 23, 25, 0.08) !important;
    display: none !important;
    gap: 0.25rem !important;
    grid-column: 1/-1 !important;
    justify-items: center !important;
    padding: 0.5rem !important;
    text-align: center !important;
    width: 100% !important;
  }
  .primary-nav a,
  .mobile-call {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  .mobile-call {
    border: 1px solid rgba(18, 30, 34, 0.18) !important;
    border-radius: 8px !important;
    color: inherit !important;
    font-weight: 700 !important;
    margin-top: 0.25rem !important;
    padding: 0.72rem 0.95rem !important;
    text-align: center !important;
    text-decoration: none !important;
  }
  .nav-toggle:checked ~ .primary-nav {
    display: grid !important;
  }
  .header-call {
    display: inline-flex !important;
    font-size: clamp(0.72rem, 2.8vw, 0.82rem) !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-height: 44px !important;
    padding: 0.65rem clamp(0.45rem, 1.8vw, 0.7rem) !important;
  }
  html {
    scroll-padding-top: 16px;
  }
  .section {
    padding: 3.5rem 1rem;
  }
  .hero {
    min-height: 540px;
    position: relative;
  }
  .hero-copy {
    align-content: end;
    min-height: 540px;
    padding: 2.5rem 1rem 2rem;
  }
  .hero-copy::before {
    background: linear-gradient(180deg, rgba(16, 23, 25, 0.18), rgba(16, 23, 25, 0.82));
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
  }
  .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 4.3rem);
  }
  .hero-media {
    inset: 0;
    min-height: 100%;
    order: 0;
    position: absolute;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(16, 23, 25, 0.18), rgba(16, 23, 25, 0.28));
  }
  .hero-meta,
  .service-grid,
  .reference-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
  .button {
    width: 100%;
  }
  .site-footer {
    display: grid;
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 0.45rem !important;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .site-header .header-logo {
    width: min(118px, 36vw) !important;
  }
  .header-call {
    font-size: 0.7rem !important;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
}
.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTI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ZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
  border-color: #929292;
}