* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.konteyner {
  width: 82%;
  max-width: 1120px;
  margin: 0 auto;
}

.bosh-qism {
  padding: 24px 0;
  position: relative;
  z-index: 5;
}

.bosh-ichki {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img,
.past-logo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.manzil,
.telefon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e8e8e8;
  font-size: 13px;
  line-height: 1.5;
}

.qahramon {
  min-height: 650px;
  margin-top: -40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.qahramon-ichki {
  position: relative;
  min-height: 650px;
  padding-top: 120px;
}

.qahramon-rasm {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-22%);
  width: 690px;
  height: 750px;
  overflow: hidden;
  border-top-left-radius: 375px;
  border-top-right-radius: 375px;
  z-index: 1;
}

.qahramon-rasm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(65%);
}

.qahramon-matn,
.qahramon h1,
.qahramon-past {
  position: relative;
  z-index: 2;
}

.qahramon h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  white-space: nowrap;
}

.qahramon-past {
  margin-top: 120px;
  display: flex;
  align-items: center;
  gap: 70px;
}

.qahramon-past p {
  width: 420px;
  font-size: 14px;
  line-height: 1.6;
}

.tugma {
  width: 190px;
  height: 40px;
  border-radius: 20px;
  background: #f5aa3d;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.tugma:hover {
  background: #ffbf5a;
  transform: translateY(-2px);
}

.maktab {
  padding: 70px 0 90px;
}

.maktab-ichki {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.maktab-rasmlar {
  position: relative;
}

.asosiy-rasm {
  width: 470px;
  height: 560px;
  filter: grayscale(100%);
  border-top-left-radius: 170px;
}

.dumaloq-rasm {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px solid #fff;
  position: absolute;
  right: 0;
  bottom: -55px;
  filter: grayscale(100%);
}

.maktab-matn h2,
.trenerlar h2,
.yonalishlar h2,
.jadval h2,
.instagram h2 {
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 45px;
}

.maktab-matn p {
  font-size: 14px;
  line-height: 1.8;
  color: #e3e3e3;
  margin-bottom: 18px;
}

.maktab-matn .tugma {
  margin-top: 25px;
}

.trenerlar {
  padding: 80px 0;
}

.trenerlar-qatori {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.trener-karta {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.trener-karta img {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

.trener-info {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 28px;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
}

.trener-info h3 {
  font-size: 35px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.trener-info h3 span {
  color: #fff;
  -webkit-text-stroke: 0;
}

.trener-info p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #eee;
}

.yonalishlar {
  padding: 55px 0 100px;
}

.yonalishlar-qatori {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.yonalish {
  height: 420px;
  position: relative;
  overflow: hidden;
}

.yonalish img {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  transition: .3s;
}

.yonalish::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}

.yonalish h3 {
  position: absolute;
  left: 28px;
  bottom: 42px;
  z-index: 2;
  font-size: 27px;
  font-weight: 900;
  text-shadow: 0 2px 6px #000;
}

.yonalish:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.jadval {
  padding: 45px 0 90px;
}

.narxlar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.narx-karta {
  background: #15151b;
  padding: 26px 24px 24px;
  min-height: 280px;
}

.narx-tepa {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.narx-tepa h3 {
  font-size: 20px;
}

.narx-tepa span {
  font-size: 11px;
  color: #d1d1d1;
}

.narx-karta p {
  font-size: 13px;
  line-height: 1.65;
  color: #ededed;
  margin-bottom: 28px;
}

.narx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.narx b {
  font-size: 22px;
}

.narx del {
  font-size: 13px;
  color: #ddd;
}

.narx-karta .tugma {
  width: 100%;
}

.instagram {
  padding: 50px 0 110px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.instagram-grid img {
  width: 100%;
  height: 270px;
  filter: grayscale(100%);
}

.pastki-qism {
  padding: 60px 0 70px;
}

.pastki-ichki {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 80px;
}

.past-logo p,
.past-menu a,
.past-aloqa p {
  font-size: 13px;
  line-height: 1.7;
  color: #dcdcdc;
}

.past-logo p {
  margin: 22px 0;
  max-width: 310px;
}

.ijtimoiy {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.ijtimoiy a {
  font-size: 16px;
}

.past-menu h4,
.past-aloqa h4 {
  font-size: 16px;
  margin-bottom: 25px;
}

.past-menu {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.past-aloqa p {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .konteyner {
    width: 90%;
  }

  .bosh-ichki {
    gap: 20px;
  }

  .manzil {
    display: none;
  }

  .qahramon {
    min-height: 620px;
    background-size: cover;
  }

  .qahramon h1 {
    font-size: 34px;
    white-space: normal;
  }

  .qahramon-past {
    margin-top: 70px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .qahramon-past p {
    width: 100%;
  }

  .maktab-ichki,
  .trenerlar-qatori,
  .pastki-ichki {
    grid-template-columns: 1fr;
  }

  .asosiy-rasm {
    width: 100%;
    height: 480px;
  }

  .narxlar {
    grid-template-columns: repeat(2, 1fr);
  }

  .yonalishlar-qatori {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .bosh-ichki {
    align-items: flex-start;
  }

  .telefon {
    font-size: 11px;
  }

  .logo img {
    width: 58px;
    height: 58px;
  }

  .qahramon {
    min-height: 560px;
  }

  .qahramon-matn {
    width: 100%;
    font-size: 15px;
    margin-bottom: 55px;
  }

  .qahramon h1 {
    font-size: 28px;
  }

  .maktab-matn h2,
  .trenerlar h2,
  .yonalishlar h2,
  .jadval h2,
  .instagram h2 {
    font-size: 30px;
  }

  .dumaloq-rasm {
    width: 150px;
    height: 150px;
    bottom: -35px;
  }

  .trener-karta {
    height: 300px;
  }

  .trener-info h3 {
    font-size: 25px;
  }

  .yonalishlar-qatori,
  .narxlar,
  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .yonalish {
    height: 300px;
  }

  .instagram-grid img {
    height: 240px;
  }
}