:root {
  --ink: #071f5c;
  --blue: #1d6df2;
  --navy: #082c66;
  --soft: #f0f5ff;
  --line: #d8e3f8;
  --muted: #52658f;
  --white: #fff;
  --shadow: 0 18px 42px rgba(8, 44, 102, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header,
.hero,
.section,
.life-section,
.site-footer {
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  padding: 28px 0 18px;
}

.brand {
  display: block;
  width: clamp(295px, 28vw, 360px);
  flex: 0 0 clamp(295px, 28vw, 360px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand {
  width: min(250px, 100%);
  flex-basis: auto;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex: 1;
  max-width: 520px;
  color: #17264f;
  font-size: 24px;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: var(--ink);
}

.btn-outline {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 465px) 1fr;
  align-items: center;
  gap: 44px;
  min-height: 590px;
  padding: 36px 0 74px;
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Arial", "Roboto Condensed", Arial, sans-serif;
  font-weight: 700;
  line-height: .95;
  letter-spacing: 0;
  /*text-transform: uppercase;*/
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(62px, 8vw, 100px);
}

h1 span,
h2 span {
  display: block;
  color: var(--ink);
}

h1,
h2 {
  color: var(--blue);
}

.lead {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.25;
}

.hero-text p:not(.lead) {
  max-width: 450px;
  margin-bottom: 12px;
  color: #203765;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  width: min(100%, 360px);
}

.hero-actions > .btn {
  width: 100%;
}

.hero-signup {
  display: grid;
  gap: 18px;
  width: 100%;
}

.hero-signup .btn {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}

.hero-visual {
  position: relative;
  min-height: 410px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 -80px 40px 110px;

}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 100px;
  bottom: 18px;
  width: 270px;
  height: 230px;

  z-index: 1;
}

.hero-visual img {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: min(615px, 100%);
  border-radius: 0 0 0 130px;
  z-index: 2;
}

.network {
  position: absolute;
  inset: 10px 0 auto 20px;
  height: 170px;
  z-index: 3;
  background:
    linear-gradient(35deg, transparent 41%, #9cb9ef 42% 43%, transparent 44%),
    linear-gradient(137deg, transparent 38%, #9cb9ef 39% 40%, transparent 41%);
  opacity: .8;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 28px max(32px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--navy);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.benefit > i {
  width: 48px;
  min-width: 48px;
  font-size: 42px;
  text-align: center;
}

.benefit strong,
.benefit span {
  display: block;
}

.benefit strong {
  font-size: 16px;
  margin-bottom: 5px;
}

.benefit span {
  color: #d7e6ff;
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.bts-section {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 46px;
  align-items: start;
}

.section-intro h2,
.pro-content h2 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 64px);
}

.section-intro h2::after,
.pro-content h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 18px;
  background: var(--blue);
}

.section-intro p,
.pro-content > p {
  color: #39517e;
  font-weight: 600;
}

.section-intro .btn {
  margin-top: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.training-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(8, 44, 102, .07);
  text-align: center;
}

.training-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 158px;
  object-fit: cover;
}

.card-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px auto 17px;
  border: 4px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 22px;
}

.training-card h3 {
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1;
}

.training-card strong {
  display: block;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.45;
}

.training-card p {
  margin-bottom: 0;
  padding: 16px 22px 20px;
  color: #425a87;
  font-size: 13px;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: auto 22px 24px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pro-section {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(320px, 560px);
  justify-content: center;
  gap: clamp(48px, 8vw, 100px);
  padding: 72px 32px;
  background: var(--soft);
}

.pro-image {
  position: relative;
}

.pro-image span {
  position: absolute;
  top: -22px;
  left: -14px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: -16px 22px 0 -5px var(--white);
}

.pro-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.pro-content {
  position: relative;
  padding-top: 8px;
}

.pro-list {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 470px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.pro-list li {
  display: flex;
  gap: 18px;
}

.pro-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  color: var(--blue);
  font-size: 22px;
}

.pro-list strong {
  display: block;
  margin-bottom: 3px;
}

.pro-list p {
  margin: 0;
  color: #425a87;
  font-size: 14px;
  font-weight: 600;
}

.pro-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.life-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 52px;
  padding: 70px 0 58px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.life-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
}

.life-grid h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.life-grid p {
  color: #52658f;
  font-size: 14px;
  font-weight: 600;
}

.join-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: center;
  gap: 46px;
  padding: 36px max(32px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.join-section h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(36px, 4vw, 51px);
}

.join-section h3 {
  margin: 0 0 10px;
  color: #e1ecff;
  font-size: 20px;
}

.join-section p {
  margin: 0;
  max-width: 430px;
  color: #e1ecff;
  font-weight: 800;
}

.join-contact {
  margin-top: 14px;
}

.join-contact a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.join-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.join-card {
  display: block;
  min-height: 122px;
  padding: 24px 26px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.join-card strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 17px;
  text-transform: uppercase;
}

.join-card span {
  color: #405989;
}

.rocket {
  color: var(--blue);
  font-size: 72px;
  transform: rotate(-24deg);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 36px;
  padding: 42px 0 46px;
  color: #25406f;
  font-size: 14px;
  text-align: center;
}

.site-footer > * {
  justify-self: center;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.footer-title {
  font-size: 18px;
  line-height: 1.2;
}

address {
  font-style: normal;
  line-height: 1.75;
}

.site-footer address,
.site-footer address + div {
  align-self: start;
}

.footer-contact-line {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-line i {
  width: 16px;
  margin-top: 5px;
  color: var(--blue);
}

.footer-address-link {
  color: #25406f;
}

.footer-phone,
.footer-email {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 400;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 1050px) {

  .hero,
  .bts-section,
  .life-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-visual img {
    position: relative;
    right: auto;
    bottom: auto;
    margin-left: auto;
  }

  .benefits,
  .cards,
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-intro {
    max-width: 420px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .hero,
  .section,
  .life-section,
  .site-footer {
    width: min(100% - 36px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 0;
    padding-top: 16px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    right: auto;
    width: 100%;
  }

  .hero-actions,
  .benefits,
  .cards,
  .pro-section,
  .life-grid,
  .join-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding: 28px 18px;
  }

  .pro-section {
    padding-inline: 18px;
  }

  .join-section {
    gap: 24px;
    padding: 34px 18px;
  }

  .join-actions {
    grid-template-columns: 1fr;
  }

  .rocket {
    display: none;
  }

  .site-footer {
    gap: 28px;
    padding: 36px 0 40px;
  }
}

@media (max-width: 460px) {
  .brand {
    width: 240px;
    flex-basis: 240px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
  }

  .benefit {
    align-items: flex-start;
  }
}
