:root {
  --blue: #0074e0;
  --blue-bright: #298eff;
  --blue-deep: #004592;
  --text: #2d3748;
  --muted: #7a7a7a;
  --heading: #1a202c;
  --white: #ffffff;
  --off: #f7fafc;
  --cream: #ebe8df;
  --slate: #b0becb;
  --max: 1200px;
  --header-h: 66px;
  --radius-xl: 40px;
  --shadow: 0 15px 25px -7px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Jages, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue-bright);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 2000;
  background: #fff;
  color: var(--heading);
  padding: 8px 12px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.lang-toggle:focus-visible {
  outline-color: var(--blue-deep);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0074e1;
  color: #fff;
}

.site-header.is-stuck {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 25px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 48px;
  min-width: 0;
  flex: 1;
}

.brand img {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav {
  display: none;
  gap: 22px;
  margin-right: 8px;
}

.header-nav a {
  color: #fff;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 10px 22px;
  background: #fff;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn:hover {
  box-shadow: var(--shadow);
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.contact-btn,
.icon-btn.search-open-btn {
  display: none;
}

.icon-btn,
.lang-toggle {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.icon-btn[data-open-menu] {
  width: 26px;
  height: 26px;
  font-size: 22px;
}

.lang {
  position: relative;
}

.contact-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-btn:hover {
  background: #fff;
  color: var(--blue);
}

.lang-toggle {
  width: auto;
  min-width: 77px;
  height: 37px;
  padding: 0 15px;
  gap: 6px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
  background: var(--blue-bright);
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 72px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.lang.is-open .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--blue);
}

.lang-menu a:hover {
  background: #eef6ff;
}

.hero {
  position: relative;
  background: var(--blue-bright);
  color: #fff;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0074e1 url("../images/top_bg2.webp") top center / contain no-repeat;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: block;
  padding: 48px 8% 220px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 640px;
  padding: 0;
  z-index: 1;
}

.hero-play {
  display: none;
}

.hero h2 {
  margin: 0 5px;
  font-size: 21px;
  line-height: 39px;
  font-weight: 700;
}

.hero h1,
.hero h3.hero-title,
.hero .hero-title {
  margin: 10px 0 20px;
  font-size: clamp(31px, 5.7vw, 72px);
  line-height: 1em;
  font-weight: 200;
  color: #fff;
}

.hero p,
.hero h4 {
  margin: 0;
  padding-right: 10%;
  font-size: 22px;
  line-height: 2em;
  font-weight: 400;
}

.play-btn {
  display: none;
}

.support-band {
  position: relative;
  z-index: 1;
  margin: -160px 0 0;
  padding: 0 40px;
  background: linear-gradient(to bottom, transparent 45%, #fff 45%);
}

.support-card {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.support-card img {
  width: 1463px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.intro {
  text-align: center;
  padding: 28px 24px 8px;
  margin-top: 0;
  background: #fff;
}

.intro h2,
.intro h3 {
  width: min(820px, 100%);
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #3d4450;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 10px 20px;
  width: min(1200px, 100%);
  margin: 0 auto;
  background: transparent;
}

.feature {
  text-align: center;
  margin: 25px;
  padding: 30px;
  background: #298eff;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 14px 0 rgba(137, 229, 255, 0.7);
  min-height: 230px;
  transition: background 0.5s;
}

.feature:hover {
  background: #004592;
}

.feature .icon {
  width: auto;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.feature h3,
.feature h5 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: uppercase;
  color: #fff;
}

.feature p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5em;
  opacity: 1;
}

.mid-copy {
  text-align: center;
  padding: 5% 20px 20px;
}

.mid-copy h2,
.mid-copy h6 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #54595f;
}

.mid-copy img {
  margin: 16px auto;
  width: min(522px, 100%);
}

.mid-copy p {
  width: min(640px, 100%);
  margin: 0 auto;
  color: var(--muted);
}

.quote-band {
  position: relative;
  color: #fff;
  padding: 72px 20px;
  background: linear-gradient(#298eff 50%, #fff 100%);
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/mig-bg-3.webp") top center / auto repeat-x;
  opacity: 0.35;
}

.quote-inner {
  position: relative;
  width: min(640px, 100%);
}

.quote-band h2,
.quote-band h3 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
}

.quote-band p {
  margin: 0;
  font-size: 18px;
}

.services-block {
  padding: 48px 0 20px;
}

.services-head {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 28px;
}

.services-head h2,
.services-head h3 {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 400;
}

.services-head p {
  margin: 0 0 18px;
  max-width: 28em;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid #edf2f7;
  color: var(--heading);
}

.service-row img {
  width: 72px;
  height: 68px;
  object-fit: contain;
}

.service-row h2,
.service-row h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.vision {
  padding: 64px 20px;
  text-align: center;
  background: var(--cream) url("../images/customer-service-jages-3.webp") center / cover no-repeat;
}

.vision-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  color: var(--heading);
}

.vision h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
}

.clients-strip,
.partners-strip {
  padding: 28px 0 10px;
  text-align: center;
  overflow: hidden;
}

.clients-strip h2,
.partners-strip h2 {
  margin: 0 0 16px;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 700;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: slide 36s linear infinite;
}

.marquee img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.partners-strip .marquee img {
  height: 48px;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.expert {
  padding: 72px 20px;
  color: #fff;
  background: #6d8496 url("../images/The-Expert-in-Managed-Technology-1.webp") center / cover no-repeat;
}

.expert-inner {
  width: min(560px, 100%);
}

.expert h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
}

.page-hero {
  background: var(--blue);
  color: #fff;
  padding: 56px 20px 48px;
}

.page-hero h1 {
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 200;
  line-height: 1.15;
}

.page-hero p {
  width: min(var(--max), 100%);
  margin: 16px auto 0;
  font-size: 20px;
  max-width: 18em;
}

.page {
  padding: 48px 20px 72px;
}

.prose {
  width: min(860px, 100%);
  margin: 0 auto;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 22px;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose img.portrait {
  width: min(280px, 100%);
  border-radius: 12px;
  margin: 0 0 20px;
}

.split {
  display: grid;
  gap: 32px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.icon-grid {
  display: grid;
  gap: 20px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  align-items: center;
}

.logo-grid img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  margin: 0 auto;
}

.cards {
  display: grid;
  gap: 22px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 22px;
}

.card h2,
.card h3 {
  margin: 0 0 8px;
}

.accordion {
  width: min(860px, 100%);
  margin: 0 auto;
}

.acc-item {
  border-bottom: 1px solid #e2e8f0;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.acc-trigger i {
  color: var(--blue-bright);
}

.acc-panel {
  display: none;
  padding: 0 0 16px 28px;
  color: var(--muted);
}

.acc-item.is-open .acc-panel {
  display: block;
}

.contact-grid {
  display: grid;
  gap: 36px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.field {
  margin-bottom: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
}

.form-note {
  font-size: 14px;
  color: var(--muted);
}

.posts {
  display: grid;
  gap: 28px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.post-tease {
  display: grid;
  gap: 16px;
}

.post-tease img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.cta-row {
  display: grid;
  gap: 20px;
  width: min(var(--max), 100%);
  margin: 48px auto 0;
}

.cta-box {
  padding: 28px;
  background: #f7fafc;
  border-radius: 12px;
}

.site-footer {
  background: #0f1724;
  color: #edf2f7;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  width: min(var(--max), 100%);
  margin: 0 auto 28px;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 14px;
}

.site-footer a {
  color: #edf2f7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer h6 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-copy {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-copy + .footer-copy {
  border-top: 0;
  padding-top: 8px;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 190;
  visibility: hidden;
  pointer-events: none;
}

.menu-panel.is-open {
  visibility: visible;
  pointer-events: auto;
}

body.menu-open .site-header {
  background: transparent;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.92);
  color: #fff;
  overflow: auto;
  padding: calc(var(--header-h) + 24px) 8% 48px;
}

.menu-overlay .menu-logo {
  display: block;
  width: min(220px, 70%);
  margin: 0 auto 28px;
}

.menu-overlay .menu-logo img {
  width: 100%;
  height: auto;
}

.menu-acc {
  width: min(560px, 100%);
  margin: 0 auto 12px;
  background: #fff;
  color: var(--heading);
  border-radius: 8px;
}

.menu-acc.is-open {
  background: var(--blue-bright);
  color: #fff;
}

.menu-acc .acc-trigger {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 20px;
  justify-content: space-between;
}

.menu-acc .acc-trigger i {
  color: inherit;
}

.menu-acc .acc-panel {
  display: none;
  padding: 0 20px 16px;
  color: inherit;
}

.menu-acc.is-open .acc-panel {
  display: block;
}

.menu-acc .icon-open {
  display: none;
}

.menu-acc.is-open .icon-closed {
  display: none;
}

.menu-acc.is-open .icon-open {
  display: inline;
}

.menu-acc .acc-panel a {
  display: block;
  padding: 6px 0;
  color: inherit;
}

.menu-cols {
  width: min(560px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.menu-cols a {
  display: block;
  color: #fff;
  padding: 6px 0;
}

.menu-copy {
  width: min(560px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 340;
  background: #0b2a4a;
  color: #fff;
  display: none;
  padding: 48px 20px;
}

.search-panel.is-open {
  display: block;
}

.search-panel input {
  width: min(720px, 100%);
  margin: 24px auto;
  display: block;
  padding: 16px 18px;
  border: 0;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 28px;
}

.search-hits {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.search-hit {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.search-hit span {
  display: block;
  color: #c5d7ea;
  font-size: 14px;
}
.search-hint { color: #c5d7ea; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox iframe {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.cookie {
  background: #16324f;
  color: #fff;
  padding: 14px 20px;
}

.cookie-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie p {
  margin: 0;
  font-size: 13px;
}

body.menu-open,
body.search-open,
body.lightbox-open {
  overflow: hidden;
}

.desktop-only { display: block; }
.mobile-only { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { color: #fff; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: var(--blue);
}
.service-list-wide {
  width: min(720px, 100%);
  margin: 32px auto;
}
.project-cards {
  grid-template-columns: 1fr;
  max-width: 900px;
}
.spaced-expert {
  margin-top: 48px;
  border-radius: 12px;
}
.cta-gap { margin-top: 24px; }

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards,
  .posts,
  .cta-row,
  .contact-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .post-tease {
    grid-template-columns: 220px 1fr;
    align-items: center;
  }

  .hero-inner {
    display: block;
    padding: 56px 6% 240px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .quote-band {
    padding-left: 8%;
  }
}

@media (min-width: 1025px) {
  .header-nav,
  .contact-btn,
  .icon-btn.search-open-btn {
    display: inline-flex;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list {
    width: min(520px, 100%);
    margin-left: auto;
  }

  .services-block .wrap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    align-items: start;
  }

  .intro h2,
  .intro h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .hero h2 {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero p,
  .hero h4 {
    font-size: 14px;
    line-height: 1.8em;
    padding-right: 0;
  }

  .hero-inner {
    padding: 36px 6% 140px;
  }

  .features {
    padding: 24px 20px 36px;
    gap: 16px;
  }

  .feature {
    margin: 0;
    padding: 24px 18px;
  }

  .feature .icon {
    width: auto;
    height: auto;
    font-size: 30px;
    background: transparent;
  }
  .feature h5 { font-size: 14px; }
  .feature p { font-size: 13px; }

  .intro h3 {
    font-size: 15px;
  }

  .support-band {
    margin: -20% 0 -5%;
    padding: 0 10px;
  }

  .service-row h2,
  .service-row h3 {
    font-size: 18px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .search-panel input {
    font-size: 20px;
  }

  .desktop-only { display: none; }
  .mobile-only { display: block; }
}
