:root {
  color-scheme: light;
  --navy: #0c2747;
  --navy-deep: #071a30;
  --blue: #286ca7;
  --blue-light: #a8d6fa;
  --ink: #14283d;
  --muted: #5b6b7b;
  --line: #dce5ed;
  --paper: #f5f8fb;
  --white: #fff;
  --page: 1240px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

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

button,
a,
summary {
  touch-action: manipulation;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #78b8ed;
  outline-offset: 5px;
}

::selection {
  background: #b6dafa;
  color: var(--navy-deep);
}

.container {
  width: min(calc(100% - 80px), var(--page));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.site-header__top {
  min-height: 30px;
  background: var(--navy);
  color: #c9d6e4;
}

.site-header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  width: 184px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 42px);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav > a:not(.nav-contact) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  transition: color 180ms ease;
}

.desktop-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav > a:not(.nav-contact):hover {
  color: var(--blue);
}

.desktop-nav > a:not(.nav-contact):hover::after,
.desktop-nav > a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
}

.nav-contact,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.005em;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-contact {
  background: var(--navy);
  color: #fff;
}

.nav-contact:hover,
.button--blue:hover {
  background: #1b527e;
}

.nav-contact span,
.button span,
.text-link span {
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  height: min(760px, calc(100vh - 148px));
  height: min(760px, calc(100svh - 148px));
  background: var(--navy-deep);
  color: #fff;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center 52%;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 22, 41, 0.93) 0%, rgba(5, 22, 41, 0.79) 32%, rgba(5, 22, 41, 0.26) 67%, rgba(5, 22, 41, 0.06) 100%),
    linear-gradient(0deg, rgba(5, 22, 41, 0.64) 0%, rgba(5, 22, 41, 0) 38%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: clamp(110px, 12vh, 155px);
  padding-bottom: 32px;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 29px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.21em;
  line-height: 1.5;
}

.eyebrow__line {
  display: inline-block;
  flex: 0 0 27px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--blue-light);
}

.hero h1,
.section h2,
.about h2,
.contact h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(64px, 7.4vw, 110px);
  line-height: 0.99;
}

.hero h1 em,
.contact h2 em {
  color: var(--blue-light);
  font-style: normal;
}

.hero__lead {
  max-width: 560px;
  margin: 32px 0 0;
  color: #e2eaf2;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.button--white {
  min-width: 205px;
  background: #fff;
  color: var(--navy);
}

.button--white:hover {
  background: var(--blue-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 35px;
  color: var(--navy);
}

.text-link--light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.text-link--light:hover {
  color: var(--blue-light);
}

.hero__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.hero__index {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero__index-line {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

.principles {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.principles__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles__inner > div {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 111px;
  padding: 0 32px;
  border-right: 1px solid var(--line);
  font-size: 16px;
  font-weight: 720;
}

.principles__inner > div:first-child {
  padding-left: 0;
}

.principles__inner > div:last-child {
  border-right: 0;
}

.principles__number {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section {
  padding: 132px 0;
}

.services {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 55px;
}

.section-heading h2,
.about h2 {
  max-width: 780px;
  font-size: clamp(46px, 5.1vw, 72px);
  line-height: 1.06;
}

.section-heading h2 span,
.about h2 span {
  color: var(--blue);
}

.section-heading > p {
  max-width: 340px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  max-width: 250px;
  margin: 0 0 17px;
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.service-card p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-card__rule {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 35px;
  background: var(--blue);
}

.about {
  padding: 115px 0;
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(65px, 8vw, 130px);
}

.about__photo {
  position: relative;
  overflow: hidden;
  min-height: 565px;
  margin: 0;
  background: #d9e3ec;
}

.about__photo img {
  width: 100%;
  height: 565px;
  object-fit: cover;
  object-position: 45% center;
}

.about__content {
  padding-block: 35px;
}

.about__content .eyebrow {
  margin-bottom: 27px;
}

.about__content p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about__content .about__lead {
  margin-top: 30px;
  color: var(--ink) !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
}

.about__content .text-link {
  margin-top: 24px;
}

.process {
  background: var(--paper);
}

.section-heading--process {
  margin-bottom: 77px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__steps li {
  position: relative;
  min-height: 245px;
  padding: 40px 34px 25px 0;
  border-top: 1px solid #b5c6d5;
}

.process__steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.process__number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process__steps h3 {
  margin: 32px 0 13px;
  font-size: 26px;
  font-weight: 730;
  letter-spacing: -0.045em;
}

.process__steps p {
  max-width: 315px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background: radial-gradient(circle at 7% 50%, #1a4a72 0, transparent 42%), var(--navy);
  color: #fff;
}

.contact::after {
  content: "";
  position: absolute;
  top: -250px;
  right: -220px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.53fr);
  align-items: center;
  gap: 100px;
}

.contact h2 {
  max-width: 730px;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1.06;
}

.contact__intro > p:last-child {
  max-width: 550px;
  margin: 29px 0 0;
  color: #d2e0ec;
  font-size: 18px;
  line-height: 1.75;
}

.contact-card {
  min-height: 340px;
  padding: 39px;
  border-top: 5px solid #78b8ed;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(4, 18, 36, 0.2);
}

.contact-card__label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.contact-card address {
  margin: 23px 0 33px;
  font-size: clamp(23px, 2.1vw, 28px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.37;
}

.button--blue {
  background: var(--blue);
  color: #fff;
}

.footer {
  background: #fff;
  color: var(--ink);
}

.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-top: 75px;
  padding-bottom: 64px;
}

.footer__brand {
  display: inline-block;
}

.footer__brand img {
  width: 168px;
  height: auto;
}

.footer__main p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.footer__company {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 300px;
  font-size: 14px;
  line-height: 1.45;
}

.footer__company strong {
  margin-bottom: 5px;
  color: var(--navy-deep);
  font-size: 16px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer__bottom a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__bottom a:hover {
  color: var(--navy-deep);
}

@media (max-width: 1050px) {
  .section-heading,
  .contact__grid {
    gap: 50px;
  }

  .about__grid {
    gap: 55px;
  }

  .about__photo,
  .about__photo img {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 24px;
    height: 2px;
    background: var(--navy);
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 19px);
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(290px, calc(100vw - 32px));
    padding: 14px 24px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 40px rgba(7, 26, 48, 0.18);
  }

  .mobile-nav nav a {
    display: flex;
    align-items: center;
    min-height: 51px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-nav nav a:last-child {
    border: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p {
    max-width: 600px;
  }

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

  .about__photo,
  .about__photo img {
    min-height: 430px;
    height: 430px;
  }

  .about__content {
    padding-block: 0;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contact-card {
    max-width: 490px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 85px;
  }

  .container {
    width: min(calc(100% - 40px), var(--page));
  }

  .site-header__top {
    display: none;
  }

  .site-header__main {
    min-height: 84px;
  }

  .brand__logo {
    width: 132px;
  }

  .hero {
    min-height: 710px;
    height: auto;
  }

  .hero__image {
    object-position: 63% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 22, 41, 0.89) 0%, rgba(5, 22, 41, 0.7) 63%, rgba(5, 22, 41, 0.45) 100%),
      linear-gradient(0deg, rgba(5, 22, 41, 0.65) 0%, rgba(5, 22, 41, 0) 42%);
  }

  .hero__inner {
    min-height: 710px;
    padding-top: 104px;
    padding-bottom: 24px;
  }

  .hero h1 {
    max-width: 610px;
    font-size: clamp(58px, 11vw, 82px);
  }

  .hero__lead {
    max-width: 500px;
    margin-top: 27px;
  }

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

  .principles__inner > div,
  .principles__inner > div:first-child {
    min-height: 73px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles__inner > div:last-child {
    border-bottom: 0;
  }

  .section,
  .about,
  .contact {
    padding: 85px 0;
  }

  .section-heading h2,
  .about h2 {
    font-size: clamp(45px, 9vw, 62px);
  }

  .service-grid,
  .process__steps {
    grid-template-columns: 1fr;
  }

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

  .process__steps {
    gap: 6px;
  }

  .process__steps li {
    min-height: 200px;
  }

  .footer__main {
    flex-direction: column;
    gap: 53px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0 28px;
  }
}

@media (max-width: 440px) {
  .hero {
    min-height: 735px;
  }

  .hero__inner {
    min-height: 735px;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(50px, 12vw, 60px);
  }

  .hero__actions {
    gap: 18px;
    margin-top: 32px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__bottom {
    align-items: start;
    flex-direction: column;
  }

  .hero__index-line {
    width: 34px;
  }

  .contact h2 {
    font-size: 50px;
  }

  .contact-card {
    padding: 30px;
  }

  .footer__company {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
