* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e9f2;
}

.header-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: #081d34;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    -1px -1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff,
    0 2px 0 #2e3964;
}

.phone {
  position: relative;
  color: #1f2b4f;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.phone::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  background: #1f2b4f;
  vertical-align: -1px;
}

.hero {
  background: #081d34;
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(280px, 460px) minmax(320px, 1fr);
  align-items: center;
  gap: 64px;
  padding: 5px 0;
}

.hero-copy {
  padding: 28px 26px;
  background: transparent;
}

.hero-copy h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
}

.hero-copy h1 span {
  display: block;
}

.image-slot {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 2px dashed rgba(63, 77, 130, 0.5);
  background:
    linear-gradient(135deg, rgba(63, 77, 130, 0.22), rgba(6, 16, 28, 0.06)),
    #f1f4fb;
  color: #3f4d82;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame .photo {
  min-height: 430px;
  aspect-ratio: 1.12 / 1;
}

.hero-grid .photo {
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.hero-photo {
  background: #081d34;
}

.map-area .photo {
  min-height: 86px;
}

.hero-image {
  min-height: 225px;
  border-color: rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at 64% 42%, rgba(255, 255, 255, 0.22), transparent 27%),
    radial-gradient(circle at 46% 58%, rgba(224, 76, 69, 0.28), transparent 26%),
    linear-gradient(135deg, #101b2c, #111c35 52%, #07111f);
  color: #ffffff;
}

.section {
  padding: 56px 0;
}

.section-intro {
  padding-top: 50px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 74px;
}

.split-layout-reverse {
  align-items: center;
}

.image-frame {
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(63, 77, 130, 0.3);
}

.image-slot-large {
  min-height: 430px;
  aspect-ratio: 1.12 / 1;
}

.content-block h2 {
  position: relative;
  margin: 0 0 28px;
  color: #05070d;
  font-size: 31px;
  line-height: 1.12;
}

.content-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 200px;
  height: 6px;
  background: #3f4d82;
}

.content-block p {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.quote-band {
  margin-top: 8px;
}

.band-background {
  min-height: 360px;
  border: 0;
  background:
    linear-gradient(rgba(6, 16, 28, 0.4), rgba(6, 16, 28, 0.4)),
    url("training-4.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.quote-panel {
  width: min(880px, calc(100% - 32px));
  padding: 26px 34px;
  text-align: center;
}

.quote-panel p {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.38;
}

.features-section {
  padding: 56px 0 62px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

.feature {
  min-width: 0;
}

.feature-icon {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: #152a48;
  font-size: 12px;
  font-weight: 800;
}

.feature h3 {
  margin: 0 0 10px;
  color: #05070d;
  font-size: 17px;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: #333b4d;
  font-size: 14px;
  line-height: 1.28;
}

.site-footer {
  color: #ffffff;
  background: #152a48;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 58px;
  padding: 34px 0 22px;
  align-items: end;
}

.contacts h2 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.contact-list li {
  position: relative;
  padding-left: 22px;
}

.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #ffffff;
}

.map-placeholder {
  min-height: 86px;
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(228, 237, 255, 0.95)),
    #dce8fa;
  color: #3f4d82;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .split-layout {
    gap: 38px;
  }

  .split-layout-reverse .image-frame {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    align-items: stretch;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .header-inner {
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .logo {
    font-size: 30px;
  }

  .hero-grid {
    min-height: auto;
    gap: 0;
    padding: 18px 0 12px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    margin-bottom: -64px;
    padding: 22px 20px;
  }

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(20px, 6vw, 34px);
  line-height: 1.12;
}

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .hero-grid .photo {
    position: relative;
    z-index: 1;
    height: clamp(260px, 72vw, 360px);
    min-height: 0;
    margin-top:5px;
    object-fit: contain;
    object-position: center top;
  }

  .hero-image {
    min-height: 230px;
  }

  .section {
    padding: 40px 0;
  }

  .image-slot-large {
    min-height: 285px;
  }

  .content-block h2 {
    font-size: 26px;
  }

  .content-block p {
    font-size: 14px;
  }

  .quote-panel {
    padding: 22px 18px;
  }

  .quote-panel p {
    font-size: 23px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  
  .section-intro .content-block {
    order: 1;
  }

  .section-intro .image-frame {
    order: 2;
  }

  .split-layout-reverse .content-block {
    order: 1;
  }

  .split-layout-reverse .image-frame {
    order: 2;
  }
}
