@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --fresh-sky: #00a6fbff;
  --steel-blue: #0582caff;
  --baltic-blue: #006494ff;
  --deep-space-blue: #003554ff;
  --ink-black: #051923ff;
  --site-header-height: 79px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope";
  color: var(--ink-black);
  background: #ffffff;
}

section {
  scroll-margin-top: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid rgba(5, 25, 35, 0.08);
}

.navbar {
  width: min(100%, 1180px);
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink-black);
  white-space: nowrap;
}

.brand-accent {
  color: var(--fresh-sky);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.nav-link,
.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-black);
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--fresh-sky);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-cta,
.mobile-nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid var(--deep-space-blue);
  background: transparent;
  color: var(--deep-space-blue);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 220ms ease, color 220ms ease;
}

.nav-cta::before,
.mobile-nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 130%;
  height: 100%;
  z-index: 0;
  background: var(--deep-space-blue);
  transform: translateX(-112%) skewX(-18deg);
  transform-origin: left;
  transition: transform 620ms ease;
}

.nav-cta span,
.mobile-nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-cta:hover,
.mobile-nav-cta:hover {
  border-color: var(--deep-space-blue);
  color: #ffffff;
}

.nav-cta:hover::before,
.mobile-nav-cta:hover::before {
  transform: translateX(-8%) skewX(-18deg);
}

.hero {
  height: calc(100vh - var(--site-header-height));
  height: calc(100svh - var(--site-header-height));
  padding: 96px 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/hero_image.webp");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.hero-content {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--ink-black);
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-description {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(5, 25, 35, 0.78);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  border: 1px solid var(--deep-space-blue);
  font-size: 15px;
  font-weight: 700;
  transition: color 220ms ease, border-color 220ms ease;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 130%;
  height: 100%;
  z-index: 0;
  transform: translateX(-112%) skewX(-18deg);
  transform-origin: left;
  transition: transform 620ms ease;
}

.hero-cta span {
  position: relative;
  z-index: 1;
}

.hero-cta:hover::before {
  transform: translateX(-8%) skewX(-18deg);
}

.hero-cta-primary {
  background: var(--deep-space-blue);
  color: #ffffff;
}

.hero-cta-primary::before {
  background: #ffffff;
}

.hero-cta-primary:hover {
  color: var(--deep-space-blue);
}

.hero-cta-secondary {
  background: transparent;
  color: var(--deep-space-blue);
}

.hero-cta-secondary::before {
  background: var(--deep-space-blue);
}

.hero-cta-secondary:hover {
  color: #ffffff;
}

.about-section {
  padding: 104px 24px 118px;
  background: rgba(0, 166, 251, 0.06);
  color: var(--ink-black);
}

.about-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 76px;
  align-items: start;
}

.about-copy {
  max-width: 560px;
}

.about-copy h2 {
  margin: 0;
  color: var(--deep-space-blue);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.about-copy p {
  max-width: 600px;
  margin: 46px 0 0;
  padding-left: 36px;
  color: rgba(5, 25, 35, 0.74);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.about-photo-placeholder {
  position: relative;
  overflow: hidden;
  width: min(100%, 390px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(0, 53, 84, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(0, 166, 251, 0.08);
}

.about-photo-placeholder::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(0, 53, 84, 0.2);
  border-radius: 999px;
  transform: translateX(-50%);
}

.about-photo-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: 190px;
  height: 118px;
  border: 1px solid rgba(0, 53, 84, 0.2);
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.about-photo-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--deep-space-blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}

.about-stats li {
  min-width: 0;
  text-align: center;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--deep-space-blue);
  font-size: 58px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.count-up {
  display: inline-flex;
  align-items: baseline;
  height: 1.12em;
  overflow: hidden;
}

.stat-suffix {
  color: var(--fresh-sky);
  font-size: 34px;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 14px;
  color: rgba(5, 25, 35, 0.72);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-transform: uppercase;
}

.odometer-digit {
  width: 0.72em;
  height: 1.12em;
  overflow: hidden;
  opacity: 1;
  transition: width 220ms ease, opacity 220ms ease;
}

.odometer-digit.is-hidden-leading {
  width: 0;
  opacity: 0;
}

.odometer-strip {
  display: flex;
  flex-direction: column;
  transition: transform 140ms ease-out;
}

.odometer-strip span {
  height: 1.12em;
  line-height: 1.12;
  text-align: center;
}

.services-section {
  padding: 110px 24px 124px;
  background: #ffffff;
  color: var(--ink-black);
}

.services-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.services-header {
  max-width: 560px;
}

.services-header h2 {
  margin: 0;
  color: var(--deep-space-blue);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.services-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.service-card {
  --service-accent: var(--fresh-sky);
  --service-tint: rgba(0, 166, 251, 0.045);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 296px;
  padding: 34px 30px 32px;
  border: 1px solid rgba(0, 53, 84, 0.14);
  border-radius: 8px;
  background: #ffffff;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.service-card:nth-child(1) {
  grid-column: span 5;
}

.service-card:nth-child(2) {
  --service-accent: var(--steel-blue);
  --service-tint: rgba(5, 130, 202, 0.045);
  grid-column: span 4;
  margin-top: 28px;
}

.service-card:nth-child(3) {
  --service-accent: var(--baltic-blue);
  --service-tint: rgba(0, 100, 148, 0.04);
  grid-column: span 3;
}

.service-card:nth-child(4) {
  --service-accent: var(--baltic-blue);
  --service-tint: rgba(0, 100, 148, 0.04);
  grid-column: span 3;
  margin-top: 18px;
}

.service-card:nth-child(5) {
  grid-column: span 5;
}

.service-card:nth-child(6) {
  --service-accent: var(--steel-blue);
  --service-tint: rgba(5, 130, 202, 0.045);
  grid-column: span 4;
  margin-top: 38px;
}

.service-card:nth-child(1),
.service-card:nth-child(5) {
  min-height: 324px;
  padding: 40px 36px 36px;
  background: rgba(0, 166, 251, 0.035);
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(5) .service-icon {
  width: 66px;
  height: 66px;
}

.service-card:nth-child(1) .service-icon svg,
.service-card:nth-child(5) .service-icon svg {
  width: 34px;
  height: 34px;
}

.service-card:nth-child(1) h3,
.service-card:nth-child(5) h3 {
  margin-top: 74px;
  font-size: 28px;
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  transition: transform 420ms ease, opacity 420ms ease;
}

.service-card::before {
  top: 0;
  right: 0;
  width: 104px;
  height: 104px;
  background: var(--service-tint);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.7;
  transform: translate(16px, -16px);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 53, 84, 0.3);
  background: var(--service-tint);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::before {
  transform: translate(0, 0);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0, 53, 84, 0.16);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-space-blue);
  background: rgba(0, 166, 251, 0.06);
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.service-card:hover .service-icon {
  border-color: var(--deep-space-blue);
  color: #ffffff;
  background: var(--deep-space-blue);
  transform: translateY(-2px);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-number {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 30px;
  min-width: 44px;
  height: 30px;
  border: 1px solid rgba(0, 53, 84, 0.16);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 260ms ease, color 260ms ease, background-color 260ms ease;
}

.service-card:hover .service-number {
  border-color: var(--deep-space-blue);
  color: #ffffff;
  background: var(--deep-space-blue);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 68px 0 0;
  color: var(--ink-black);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding-bottom: 34px;
  color: rgba(5, 25, 35, 0.7);
  font-size: 15px;
  line-height: 1.68;
  font-weight: 500;
}

.burger-menu {
  width: 42px;
  height: 42px;
  border: 0;
  padding: 9px 7px;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--ink-black);
  transition: width 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.burger-menu span:nth-child(1) {
  width: 28px;
}

.burger-menu span:nth-child(2) {
  width: 18px;
}

.burger-menu span:nth-child(3) {
  width: 24px;
}

.burger-menu.is-open span:nth-child(1) {
  width: 28px;
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.is-open span:nth-child(3) {
  width: 28px;
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 116px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 24px;
}

.mobile-nav-cta {
  min-width: 220px;
}

@media (max-width: 860px) {
  :root {
    --site-header-height: 73px;
  }

  .navbar {
    min-height: 72px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .brand {
    font-size: 17px;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .hero {
    padding: 52px 18px 0;
    align-items: flex-start;
    background-position: bottom center;
    background-size: 960px auto;
  }

  .hero h1 {
    max-width: 460px;
    font-size: 40px;
  }

  .hero-description {
    max-width: 480px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .about-section {
    padding: 74px 18px 82px;
  }

  .about-inner {
    width: min(100%, 680px);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-copy h2 {
    font-size: 38px;
  }

  .about-copy p {
    max-width: 560px;
    margin-top: 18px;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.72;
  }

  .about-copy p + p {
    margin-top: 16px;
  }

  .about-visual {
    min-height: auto;
    justify-content: center;
  }

  .about-photo-placeholder {
    width: min(100%, 320px);
  }

  .about-stats {
    margin-top: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .stat-value {
    font-size: 36px;
  }

  .stat-suffix {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
  }

  .services-section {
    padding: 78px 18px 90px;
  }

  .services-inner {
    width: min(100%, 680px);
  }

  .services-header h2 {
    font-size: 38px;
  }

  .services-grid {
    margin-top: 42px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
    padding: 28px 24px 26px;
  }

  .service-card {
    min-height: 284px;
  }

  .service-card:nth-child(n) .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-card:nth-child(n) .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .service-card:nth-child(n) h3 {
    margin-top: 60px;
    font-size: 25px;
  }

  .service-card:nth-child(n) p {
    padding-bottom: 34px;
  }

}

@media (max-width: 640px) {
  .hero {
    background-size: 860px auto;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 44px;
    background-size: 730px auto;
    background-position: bottom center;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .about-section {
    padding: 58px 18px 66px;
  }

  .about-visual {
    width: 100%;
  }

  .about-photo-placeholder {
    width: min(100%, 280px);
  }

  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-value {
    font-size: 28px;
    gap: 4px;
  }

  .stat-suffix {
    font-size: 17px;
  }

  .stat-label {
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.3;
  }

  .services-section {
    padding: 64px 18px 76px;
  }

  .services-header h2 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 24px 22px 24px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  }

  .service-card:nth-child(n) {
    padding: 24px 22px 24px;
  }

  .service-card::before {
    width: 84px;
    height: 84px;
    transform: translate(12px, -12px);
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .service-card:nth-child(n) .service-icon {
    width: 52px;
    height: 52px;
  }

  .service-icon svg {
    width: 27px;
    height: 27px;
  }

  .service-card:nth-child(n) .service-icon svg {
    width: 27px;
    height: 27px;
  }

  .service-number {
    top: 24px;
    right: 22px;
    min-width: 40px;
    height: 28px;
    font-size: 12px;
  }

  .service-card h3 {
    margin-top: 44px;
    font-size: 23px;
  }

  .service-card:nth-child(n) h3 {
    margin-top: 44px;
    font-size: 23px;
  }

  .service-card p {
    margin-top: 16px;
    padding-bottom: 30px;
  }

}

@media (max-width: 420px) {
  .about-copy h2 {
    font-size: 34px;
  }

  .about-copy p {
    padding-left: 0;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-suffix {
    font-size: 15px;
  }

  .stat-label {
    font-size: 8px;
  }

  .services-header h2 {
    font-size: 34px;
  }

  .service-card p {
    font-size: 14px;
  }

}

@media (max-width: 380px) {
  .hero {
    padding-top: 36px;
    background-size: 660px auto;
  }
}
