:root {
  --ink: #343434;
  --navy: #003b4a;
  --navy-dark: #001c27;
  --teal: #079bad;
  --cyan: #00d7f2;
  --surface: #f4f5f6;
  --white: #fff;
  --container: 1464px;
  --shadow: 0 5px 10px rgb(0 0 0 / 14%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Avenir, "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { scroll-margin-top: 72px; }
.section-title { margin: 0 0 54px; text-align: center; font-size: 48px; line-height: 1.1; }

.reveal-ready .scroll-reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x, -36px), var(--reveal-y, 18px), 0);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-ready .scroll-reveal.from-right { --reveal-x: 36px; }
.reveal-ready .scroll-reveal.from-bottom { --reveal-x: 0; --reveal-y: 32px; }
.reveal-ready .scroll-reveal.is-revealed { opacity: 1; transform: translate3d(0, 0, 0); }

.site-header {
  position: relative;
  min-height: 820px;
  color: var(--white);
  background-color: var(--white);
}
.site-header::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: calc(100% - 205px);
  background-color: var(--navy-dark);
  background-image: url("Assets/top-header-background.webp");
  background-image: -webkit-image-set(url("Assets/top-header-background.webp") 1x, url("Assets/top-header-background@2x.webp") 2x);
  background-image: image-set(url("Assets/top-header-background.webp") 1x, url("Assets/top-header-background@2x.webp") 2x);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 78% 88%, 31% 100%, 0 94%);
  content: "";
}
.site-header::after {
  content: none;
}
.nav { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 88px; transition: min-height 220ms ease; }
.nav::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; background: rgb(0 28 39 / 92%); box-shadow: 0 8px 24px rgb(0 0 0 / 18%); backdrop-filter: blur(12px); content: ""; opacity: 0; transform: translateX(-50%); transition: opacity 220ms ease; pointer-events: none; }
.nav.is-sticky { position: fixed; top: 0; left: 50%; width: min(calc(100% - 48px), var(--container)); min-height: 64px; transform: translateX(-50%); }
.nav.is-sticky::before { opacity: 1; }
.site-header.has-sticky-nav { padding-top: 88px; }
.logo-link img { width: 240px; height: auto; transition: width 220ms ease; }
.nav.is-sticky .logo-link img { width: 170px; }
.nav-links { display: flex; align-items: center; gap: clamp(28px, 3.5vw, 60px); }
.nav-links a { position: relative; text-decoration: none; font-size: 24px; }
.nav-links a::after { position: absolute; right: 50%; bottom: -7px; left: 50%; height: 2px; background: var(--cyan); content: ""; transition: right .2s, left .2s; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="location"]::after { right: 0; left: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--white); }
.hero { position: relative; z-index: 1; display: grid; min-height: 500px; place-items: center; text-align: center; }
.hero-copy { margin-top: -45px; }
.hero h1 { margin: 0 0 28px; font-size: clamp(42px, 4.25vw, 68px); line-height: 1.1; letter-spacing: 0; }
.hero p { margin: 0; font-size: clamp(26px, 2.6vw, 44px); }
.hero h1, .hero p { text-shadow: 0 1px 2px rgb(0 0 0 / 75%), 0 4px 12px rgb(0 0 0 / 45%); }
.hero-services { position: relative; z-index: 2; top: -50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; color: var(--ink); }
.hero-card { min-width: 0; min-height: 310px; padding: 45px 24px 24px; border: 1px solid #c9c9c9; border-radius: 16px; background: rgb(249 249 249 / 96%) url("Assets/services-shape.svg") center / cover; text-align: center; }
.hero-card img { width: 70px; height: 70px; margin: 0 auto 24px; }
.hero-card h2 { min-height: 54px; margin: 0 0 10px; font-size: 19px; line-height: 1.35; }
.hero-card p { margin: 0; font-size: 14px; }

.about { position: relative; overflow: hidden; padding: 250px 0 150px; }
.about::after { position: absolute; top: 160px; right: -185px; width: 420px; aspect-ratio: 562 / 558; background: url("Assets/tech-circle.svg") center / contain no-repeat; opacity: .6; content: ""; pointer-events: none; }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 70px; }
.about-visual img { width: 100%; }
.about-copy { position: relative; z-index: 1; }
.about-copy h2 { margin: 0 0 45px; font-size: clamp(40px, 3.5vw, 58px); line-height: 1.2; }
.about-copy h2 span { color: var(--teal); }
.about-copy p { max-width: 760px; margin: 0; font-size: 22px; }

.services { position: relative; overflow: hidden; padding: 120px 0 145px; background: var(--surface); clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
.services::before { position: absolute; bottom: 0; left: 0; width: 190px; height: 647px; background: url("Assets/decorative-lines.svg") center / contain no-repeat; content: ""; }
.services-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.service-card { min-height: 310px; padding: 38px 44px; border-top: 8px solid #12667a; border-radius: 7px; background: var(--white); box-shadow: var(--shadow); }
.service-heading { display: flex; align-items: center; gap: 34px; margin-bottom: 25px; }
.service-heading img { flex: 0 0 92px; width: 92px; height: 92px; }
.service-card h3 { margin: 0; font-size: 23px; line-height: 1.45; }
.service-card p { margin: 0; font-size: 17px; line-height: 1.45; }

.process { padding: 120px 0 145px; }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.accordion { display: grid; gap: 14px; }
.accordion-item { overflow: hidden; border: 1px solid #c8c8c8; border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.accordion-item h3 { margin: 0; }
.accordion-item button { display: flex; width: 100%; min-height: 66px; align-items: center; justify-content: space-between; border: 0; background: transparent; padding: 13px 26px; color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; }
.accordion-item.is-open button { color: var(--teal); }
.accordion-symbol { position: relative; flex: 0 0 20px; width: 20px; height: 20px; font-size: 0; }
.accordion-symbol::before, .accordion-symbol::after { position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; border-radius: 1px; background: currentColor; content: ""; transform: translate(-50%, -50%); transition: transform 220ms cubic-bezier(.22, 1, .36, 1); }
.accordion-symbol::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(1); }
.accordion-item.is-open .accordion-symbol::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; border-top: 1px solid transparent; transition: grid-template-rows 240ms cubic-bezier(.22, 1, .36, 1), opacity 160ms ease, visibility 0s linear 240ms, border-color 160ms ease; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; border-top-color: #ccc; transition-delay: 0s; }
.accordion-panel-inner { min-height: 0; overflow: hidden; }
.accordion-panel p { margin: 0; padding: 16px 32px 20px; font-size: 16px}
.process-visual img { width: 100%; }

.advantages { position: relative; overflow: hidden; padding: 115px 0 145px; color: var(--white); background: var(--navy); clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%); }
.advantages::after { position: absolute; right: -80px; bottom: -80px; width: 620px; height: 620px; background: url("Assets/tech-circle.svg") center / contain no-repeat; opacity: .2; content: ""; }
.section-title-light span { color: var(--cyan); }
.advantages-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.advantage-card { position: relative; min-height: 430px; padding: 40px 28px; border-radius: 16px; color: var(--ink); background: #f7f7f7; text-align: center; }
.advantage-card img { width: 94px; height: 94px; margin: 0 auto 28px; }
.advantage-card h3 { min-height: 58px; margin: 0 0 24px; color: var(--teal); font-size: 25px; line-height: 1.35; }
.advantage-card p { margin: 0; font-size: 21px; }

@media (min-width: 851px) and (hover: hover) and (pointer: fine) {
  .advantage-card, .hero-card, .service-card { transition: transform 240ms cubic-bezier(.22, 1, .36, 1), box-shadow 240ms ease; }
  .advantage-card:hover, .hero-card:hover, .service-card:hover { position: relative; z-index: 2; transform: scale(1.05); box-shadow: 0 14px 30px rgb(0 0 0 / 22%); }
}

.contact { position: relative; overflow: hidden; padding: 85px 0 95px; background: var(--surface); }
.contact::before { position: absolute; bottom: 0; left: 0; width: 647px; aspect-ratio: 647 / 190; background: url("Assets/footer-decor.svg") left bottom / contain no-repeat; content: ""; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr .8fr 1.15fr; align-items: center; gap: 60px; }
.contact-intro h2 { margin: 0 0 25px; font-size: 48px; }
.contact-intro p { margin: 0; font-size: 22px; }
.contact-logo { width: 300px; }
.contact-details { display: grid; gap: 44px; font-style: normal; font-weight: 700; }
.contact-details a { display: flex; align-items: center; gap: 26px; text-decoration: none; font-size: 21px; }
.contact-details a img { flex: 0 0 42px; width: 42px; height: 42px; }
.contact-image { width: 100%; border-radius: 16px; }

.back-to-top { position: fixed; z-index: 9; right: 28px; bottom: 28px; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; color: var(--white); background: rgb(0 59 74 / 92%); box-shadow: 0 8px 22px rgb(0 0 0 / 22%); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.92); transition: opacity 200ms ease, visibility 0s linear 200ms, transform 240ms cubic-bezier(.22, 1, .36, 1), background-color 180ms ease; cursor: pointer; pointer-events: none; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition-delay: 0s; pointer-events: auto; }
.back-to-top span { position: relative; width: 16px; height: 18px; }
.back-to-top span::before { position: absolute; top: 2px; left: 3px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; content: ""; transform: rotate(45deg); }
.back-to-top span::after { position: absolute; top: 3px; left: 7px; width: 2px; height: 15px; border-radius: 1px; background: currentColor; content: ""; }
.back-to-top:hover { background: var(--teal); transform: translateY(-2px) scale(1.04); }
.back-to-top:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1200px) {
  .hero-services { gap: 14px; }
  .hero-card { padding-inline: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-image { grid-column: 1 / -1; width: min(100%, 650px); margin-inline: auto; }
}

@media (min-width: 851px) {
  :root { --container: 1098px; }
  body { font-size: 14px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .section { scroll-margin-top: 54px; }
  .section-title { margin-bottom: 40px; font-size: 36px; }

  .site-header { min-height: 615px; }
  .site-header::before { height: calc(100% - 166px); }
  .nav { min-height: 66px; }
  .nav.is-sticky { width: min(calc(100% - 36px), var(--container)); min-height: 54px; }
  .site-header.has-sticky-nav { padding-top: 66px; }
  .logo-link img { width: 180px; }
  .nav.is-sticky .logo-link img { width: 145px; }
  .nav-links { gap: clamp(21px, 2.6vw, 45px); }
  .nav-links a { font-size: 18px; }
  .hero { min-height: 375px; }
  .hero-copy { margin-top: -34px; }
  .hero h1 { margin-bottom: 21px; font-size: clamp(32px, 3.2vw, 51px); }
  .hero p { font-size: clamp(20px, 2vw, 33px); }
  .hero-services { gap: 24px; }
  .hero-card { min-height: 233px; padding: 34px 18px 18px; border-radius: 12px; }
  .hero-card img { width: 53px; height: 53px; margin-bottom: 18px; }
  .hero-card h2 { min-height: 41px; margin-bottom: 8px; font-size: 14px; }
  .hero-card p { font-size: 14px; }

  .about { padding: 80px 0 80px; }
  .about::after { top: 120px; right: -139px; width: 315px; }
  .about-inner { gap: 53px; }
  .about-inner > *, .process-layout > *, .contact-grid > * { min-width: 0; }
  .about-copy h2 { margin-bottom: 34px; font-size: clamp(30px, 2.6vw, 44px); }
  .about-copy p { max-width: 570px; font-size: 17px; }

  .services { padding: 90px 0 109px; }
  .services::before { width: 143px; height: 485px; }
  .services-grid { gap: 26px 21px; }
  .service-card { min-height: 233px; padding: 29px 33px; border-top-width: 6px; border-radius: 5px; }
  .service-heading { gap: 26px; margin-bottom: 19px; }
  .service-heading img { flex-basis: 69px; width: 69px; height: 69px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; }

  .process { padding: 90px 0 109px; }
  .process-layout { gap: 23px; }
  .accordion { gap: 11px; }
  .accordion-item { border-radius: 11px; }
  .accordion-item button { min-height: 50px; padding: 10px 20px; }
  .accordion-symbol { font-size: 24px; }
  .accordion-panel p { padding: 12px 24px 15px; }

  .advantages { padding: 86px 0 109px; }
  .advantages::after { right: -60px; bottom: -60px; width: 465px; height: 465px; }
  .advantages-grid { gap: 24px; }
  .advantage-card { min-height: 323px; padding: 30px 21px; border-radius: 12px; }
  .advantage-card img { width: 71px; height: 71px; margin-bottom: 21px; }
  .advantage-card h3 { min-height: 44px; margin-bottom: 18px; font-size: 19px; }
  .advantage-card p { font-size: 16px; }

  .contact { padding: 64px 0 71px; }
  .contact::before { width: 300px; bottom: -10px}
  .contact-grid { gap: 45px; }
  .contact-intro h2 { margin-bottom: 19px; font-size: 36px; }
  .contact-intro p { font-size: 17px; }
  .contact-logo { width: 225px; }
  .contact-details { gap: 33px; }
  .contact-details a { gap: 20px; font-size: 16px; }
  .contact-details a img { flex-basis: 32px; width: 32px; height: 32px; }
  .contact-image { border-radius: 12px; }
}

@media (max-width: 850px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section-title { margin-bottom: 36px; font-size: 38px; }
  .site-header { min-height: auto; padding-bottom: 10px; }
  .site-header.has-sticky-nav { padding-top: 72px; }
  .site-header::before { height: 577px; background-position: center top; clip-path: polygon(0 0, 100% 0, 100% 96%, 70% 92%, 30% 100%, 0 96%); }
  .nav { min-height: 72px; }
  .nav.is-sticky { width: min(calc(100% - 32px), var(--container)); min-height: 56px; }
  .logo-link img { width: 190px; }
  .nav.is-sticky .logo-link img { width: 155px; }
  .nav-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .nav-links { position: absolute; z-index: 1; top: 100%; right: 0; display: none; width: min(290px, 100%); align-items: stretch; gap: 0; border: 1px solid rgb(255 255 255 / 15%); background: rgb(0 28 39 / 98%); box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding: 15px 20px; font-size: 18px; text-decoration: none; }
  .nav-links a::after { display: none; }
  .hero { min-height: 420px; }
  .hero-copy { margin-top: -10px; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .hero p { font-size: 25px; }
  .hero-services { grid-template-columns: repeat(2, 1fr); }
  .hero-card { min-height: 270px; padding-top: 30px; }
  .hero-card:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .about { padding: 30px 0 30px 0; }
  .about::after { display: none; }
  .about-inner, .process-layout { grid-template-columns: 1fr; gap: 45px; }
  .about-copy h2 { margin-bottom: 25px; font-size: 40px; }
  .about-copy p { font-size: 18px; }
  .services { padding: 95px 0 90px; clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 100%); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px; }
  .process { padding: 40px 0; }
  .process-visual { grid-row: 1; }
  .advantages { padding: 90px 0; clip-path: polygon(0 0, 100% 1%, 100% 100%, 0 100%); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .advantage-card { min-height: 390px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact::before { width: min(85vw, 485px); }
  .contact-image { grid-column: auto; }
}

@media (max-width: 560px) {
  .back-to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
  .site-header::before { height: 517px; }
  .hero { min-height: 370px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 21px; }
  .hero-services { grid-template-columns: 1fr; }
  .hero-card, .hero-card:last-child { grid-column: auto; width: 100%; min-height: auto; padding: 26px 22px; }
  .hero-card h2 { min-height: auto; }
  .about-copy h2 { font-size: 34px; }
  .service-heading { align-items: flex-start; gap: 20px; }
  .service-heading img { flex-basis: 70px; width: 70px; height: 70px; }
  .service-card h3 { font-size: 20px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: auto; }
  .advantage-card h3 { min-height: auto; }
  .contact-intro h2 { font-size: 38px; }
  .contact-details a { gap: 18px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal-ready .scroll-reveal { opacity: 1; transform: none; }
  .advantage-card:hover, .hero-card:hover, .service-card:hover { transform: none; }
  .back-to-top, .back-to-top:hover { transform: none; }
}