:root {
  --navy: #061f38;
  --navy-soft: #12304c;
  --gold: #b98b4e;
  --line: rgba(6, 31, 56, 0.20);
  --panel: rgba(255, 255, 255, 0.62);
  --bg: #f4f5f7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f6f7f8 0%, #f2f4f6 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/plane-bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  transform: scale(1.01);
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(246, 247, 248, 0.98) 0%, rgba(246, 247, 248, 0.96) 16%, rgba(246, 247, 248, 0.87) 28%, rgba(246, 247, 248, 0.62) 40%, rgba(246, 247, 248, 0.20) 55%, rgba(246, 247, 248, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.lang-switcher {
  position: absolute;
  top: 28px;
  right: clamp(18px, 3vw, 46px);
  z-index: 6;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(6, 31, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-switcher a {
  min-width: 42px;
  padding: 8px 12px 7px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--navy);
  color: #fff;
}


.site-logo {
  position: absolute;
  top: 8px;
  left: clamp(18px, 5.2vw, 96px);
  z-index: 6;
  display: block;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: clamp(48px, 4.2vw, 70px);
  height: auto;
}
.content {
  position: relative;
  z-index: 4;
  max-width: 430px;
  padding: 74px 30px 40px clamp(26px, 5.2vw, 88px);
}

.logo-block {
  display: inline-block;
  margin-bottom: 48px;
}

.logo-text {
  display: flex;
  align-items: flex-start;
  gap: 27px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.logo-j9 {
  display: block;
  font-size: 86px;
  line-height: 0.76;
  letter-spacing: -0.06em;
  font-weight: 400;
}

.logo-fly {
  display: block;
  margin-top: 28px;
  font-size: 49px;
  line-height: 0.8;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.logo-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  width: 278px;
}

.logo-divider::before,
.logo-divider::after {
  content: "";
  display: block;
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, rgba(185, 139, 78, 0.25), var(--gold), rgba(185, 139, 78, 0.25));
}

.logo-star {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.logo-tagline {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.45em;
  color: var(--navy);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.03;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-title-en {
  font-size: clamp(28px, 2.75vw, 31px);
  letter-spacing: 0.028em;
}

.short-line {
  width: 47px;
  height: 1px;
  margin: 18px 0 17px;
  background: var(--gold);
}

.lead {
  max-width: 300px;
  margin: 0 0 34px;
  color: #09263f;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: 0.012em;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 351px);
  margin: 0 0 38px;
}

.service-card {
  position: relative;
  min-height: 82px;
  padding: 0 11px;
  text-align: center;
}

.service-card + .service-card {
  border-left: 1px solid rgba(6, 31, 56, 0.21);
}

.service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin: 0 auto 9px;
}

.service-card:nth-child(4) .service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
}

.service-name {
  margin: 0;
  color: var(--navy);
  font-size: 9px;
  line-height: 1.14;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 350px);
  min-height: 48px;
  margin: 0 0 35px;
  padding: 0 18px;
  border: 1px solid rgba(6, 31, 56, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.53);
  box-shadow: 0 8px 24px rgba(6, 31, 56, 0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-style: normal;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.contact-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.55;
  fill: none;
}

.contact-separator {
  width: 1px;
  height: 25px;
  background: rgba(6, 31, 56, 0.28);
  margin: 0 9px;
}

.footer-line {
  width: 62px;
  height: 1px;
  margin: 0 0 16px;
  background: var(--gold);
}

.footer-note {
  margin: 0;
  color: var(--navy);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.33em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .content {
    padding-top: 74px;
    max-width: 460px;
  }

  .site-logo img {
    width: 70px;
  }
}

@media (max-width: 1024px) {
  .page::before {
    background-position: 68% center;
  }

  .page::after {
    background: linear-gradient(90deg, rgba(246, 247, 248, 0.96) 0%, rgba(246, 247, 248, 0.92) 24%, rgba(246, 247, 248, 0.74) 42%, rgba(246, 247, 248, 0.34) 62%, rgba(246, 247, 248, 0.10) 100%);
  }
}

@media (max-width: 820px) {
  .page {
    min-height: auto;
  }

  .page::before {
    background-position: 82% 22%;
    background-size: cover;
  }

  .page::after {
    background:
      linear-gradient(180deg, rgba(246, 247, 248, 0.88) 0%, rgba(246, 247, 248, 0.76) 32%, rgba(246, 247, 248, 0.70) 55%, rgba(246, 247, 248, 0.84) 100%),
      linear-gradient(90deg, rgba(246, 247, 248, 0.95) 0%, rgba(246, 247, 248, 0.60) 100%);
  }

  .content {
    max-width: 100%;
    padding: 92px 22px 34px 18px;
  }

  .site-logo {
    top: 8px;
    left: 18px;
  }

  .site-logo img {
    width: 66px;
  }

  .logo-block {
    margin-bottom: 34px;
  }

  .services,
  .contact-card {
    width: min(100%, 370px);
  }

  .footer-note {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .lang-switcher {
    top: 18px;
    right: 18px;
  }

  .site-logo {
    top: 8px;
    left: 16px;
  }

  .site-logo img {
    width: 62px;
  }

  .content {
    padding: 88px 18px 30px 16px;
  }

  .logo-block {
    display: block;
    margin-left: 0;
  }

  .logo-j9 {
    font-size: 70px;
  }

  .logo-fly {
    font-size: 39px;
    margin-top: 23px;
  }

  .logo-divider {
    width: 230px;
  }

  .logo-tagline {
    font-size: 9px;
    letter-spacing: 0.34em;
  }

  .hero-title,
  .hero-title-en {
    font-size: 25px;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    margin: 0 auto 38px;
  }

  .service-card:nth-child(3) {
    border-left: none;
  }

  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    margin: 0 auto 35px;
  }

  .contact-link {
    gap: 10px;
    font-size: 13px;
  }

  .contact-link svg {
    width: 18px;
    height: 18px;
  }

  .contact-separator {
    display: block;
    width: 1px;
    height: 22px;
    margin: 0 6px;
  }

  .footer-line {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-note {
    white-space: nowrap;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-align: center;
  }

  .page::before {
    background-position: 92% 28%;
    background-size: cover;
  }
}

@media (max-width: 390px) {
  .contact-card {
    padding: 13px 14px;
  }

  .contact-link {
    gap: 8px;
    font-size: 12px;
  }

  .footer-note {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .page::before {
    background-position: 95% 30%;
  }
}
