
.mb11 {
  margin-top: 50px;
}
.body {
  line-height: 1.5;
}
.myimg {
max-height: 300px;
}
.sectionimg {
  height: 350px;
}
.hero {
  height: auto;
    background-image: url(https://evrazsteelbox.ru/about/imageslight/BIGBOX_main.jpg);
    width: 100%;
    /* max-height: 300px; */
  aspect-ratio: 1320 / 450;      /* задаём пропорцию напрямую */
  background-size: cover;
  background-position: center;
  
}
.innertext{
  position: absolute;
  top: 580px;
  right: 79px;
  
  width: calc(50% - 79px);
}
.line0 {
  line-height: 0;
  
}
.paddinginner {
  padding: 48px;
}
.disabled-link {
  pointer-events: none;
  color: gray;
  text-decoration: none;
}
.hero__image {
  height: 300px;
  display: block;
}
.myshadow {
  box-shadow: 0 5px 35px rgba(0,0,0,0.1);
}
.myblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 96px;
  margin-top: 64px;
}

.myleft {
  display: flex;
  flex-direction: column;
}

.textblock1 {
  margin-top: auto; /* сдвигает текст вниз до начала картинки */
  margin-bottom: 32px; /* немного пространства между текстом и картинкой */
  margin-top: -4px;
  font-size: 17px;
}
.textblock2 {
  margin-top: 32px;
  font-size: 17px;
  margin-bottom: -4px;
}
.myright {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* текст сверху */
}


.myblock2 {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  margin: 0 auto;
  justify-content: space-between;
}

.myblock3 {  
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 96px;
  margin: 0 auto;

  
}
.mygridrow {
  display: grid;
  grid-template-columns: 1fr 1fr; /* картинка + текст */
  align-items: center;            /* вертикальное центрирование текста относительно картинки */
  gap: 32px;                       /* расстояние между картинкой и текстом */
}
.myblock4 {  
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 54px;
  margin: 0 auto;
}
.myblock5 {  
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 96px;
  margin: 0 auto;
}
.mysection {
  padding: 0 0 40px;
  margin: 0;
}
.myinnerblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: start;   /* элементы внутри grid выравниваются по левому краю */
    justify-content: start;
  
}
.orangebutton {
  background-color: #ffffff;        /* белый фон */
  color: #FF6600;                   /* оранжевый текст */
  border: 1px solid #FF6600;        /* оранжевая граница */
  border-radius: 4px;               /* маленькое скругление */
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 10px;                /* внутренние отступы */
  font-size: 15px;                  
  cursor: pointer;                  
  transition: all 0.2s ease;        /* плавный hover эффект */
}
.disabled-button {
  background-color: #ffffff;        /* белый фон */
  color: gray;                   /* оранжевый текст */
  border: 1px solid gray;        /* оранжевая граница */
  border-radius: 4px;               /* маленькое скругление */
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 10px;                /* внутренние отступы */
  font-size: 15px;                  
  cursor: pointer;                  
  transition: all 0.2s ease;
  pointer-events: none;
  text-decoration: none;
}
.micromargin {
  margin-left: -12px;
}
.micromargin1 {
  margin-left: -16px;
}
.micromargin2 {
  margin-left: -6px;
}
.bigtext {
  font-size: 64px;
}
.mygap64{
  gap: 64px;
}
.text32 {
  font-size: 32px;
}
.text42 {
  font-size: 42px;
}
.text16{
  font-size: 16px;
}
.text24 {
  font-size: 24px;
}
.text22 {
  font-size: 22px;
}
.text20 {
  font-size: 20px;
}
.orangetext {
  color: #FF6600;
}
.mygap32{
  gap: 32px;
}
.myblock1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 auto;
  gap: 0px;
  height: 7px;
}
.img-wrapper {
  max-height: 300px;
  position: relative;
  display: inline-block; /* чтобы размер под картинку */
}

.img-wrapper img {
  display: block;
  width: 100%; /* можно подогнать размер */
  max-height: 300px;
}

.img-wrapper .overlay {
  position: absolute;
  top: 40%;   /* смещение сверху, подкорректируй */
  left: 3%;  /* смещение слева */
  width: 42%; /* размер наложенной картинки */
  height: auto;
  pointer-events: none; /* чтобы не мешала кликам */
  background: white;   /* белый фон */
  padding: 32px;        /* отступ вокруг картинки */
}
.yellowblock {
  background-color: #FAB82E;
}
.orangeblock {
  background-color: #ED7818;
}
.purpleblock {
  background-color: #722082;
}
.mybold {
  font-weight: 500;
}
.subtext {
  font-size: 28px;
}
.myalligncenter {
  display: flex;
    flex-direction: column; /* элементы идут сверху вниз */
    justify-content: center; /* центрирует весь блок вертикально относительно родителя */
          /* чтобы текст внутри был по центру */
    height: 100%;        /* чтобы текст внутри элементов тоже был по центру */
       
}
.myblock img {
  
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}
.myblock3 img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}

.myblock5 img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}
.orangeborder {
  border-left: 2px solid #FF6600; /* оранжевая левая граница */
  padding-left: 12px;            /* отступ текста от границы */
  display: flex;
  flex-direction: column;
  height: 100%;
  
}

.mymargin48{
  margin-top: 48px;
}
.myheight{
    height: 107px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.mymargin80{
  margin-top: 80px;
}
.mymargin20{
  margin-top: 20px;
}
.mypadding{
  padding: 64px;
}
.downtext {
  /* display: flex; */
  /* align-items: flex-start; */
}
.orangeborder .text20 {
  margin-top: 10px;
}

.top {
  display: flex;
  align-items: baseline;
  /* gap: 4px; */
}
.line09 {
  line-height: 0.9;
}
.line045 {
  line-height: 0.45;
}
.mytext {
  display: flex;
  align-items: center;
}
.callback__map-map{
  height: 769px !important;
}
.backwhite {
  
  
  background-color: white;
}

@media (max-width: 768px) {
  .text24 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .body {
    font-size: 15px;
  }
  .innertext {
    width: 100%;
    position: static;
  }
}
@media (max-width: 1200px) {
  .innertext {
    width: 100%;
    position: static;
  }
  .myblock2 {
  
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    padding-top: 48px;
    margin-top: auto;
  }
  .myblock2 > :nth-child(2) {margin-left: 48px;}
  .myblock2 > :nth-child(3) { margin-top: 54px;}
  .myblock2 > :nth-child(4) { margin-top: 54px; margin-left: 48px;}
}
@media (max-width: 768px) {
  .mypadding {
    padding: 0;
  }
  .myblock2 > :nth-child(2) {margin: 0;}
  .myblock2 > :nth-child(3) { margin: 0;}
  .myblock2 > :nth-child(4) { margin: 0;}
}

@media (max-width: 768px) {
  .mypaddingmobile {
    padding: 36px 16px;
  }
}

@media (max-width: 768px) {
  .myblock {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-top: 24px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    background-image: url(https://evrazsteelbox.ru/about/imageslight/BIGBOX_main.jpg);
    width: 100%;
  aspect-ratio: 16 / 9;      /* задаём пропорцию напрямую */
  background-size: cover;
  background-position: center;
    
  }
}

@media (max-width: 768px) {
  .myblock {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  /* Левая колонка: текст первым, картинка после */
  .myleft .textblock1 {
    order: 2;
  }
  .myleft img {
    order: 1;
  }

  /* Правая колонка: текст первым, картинка после */
  .myright .textblock2 {
    order: 4;
  }
  .myright img {
    order: 3;
  }
}
@media (max-width: 768px) {
  .myheight{
    height: auto;
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .sectionimg {
    height: 228px;
  }
  .img-wrapper .overlay {
    padding: 22px;        /* отступ вокруг картинки */
  }
  .img-wrapper {
    height: 198px;
  }
  .img-wrapper img {
    display: block;
    width: 100%; /* можно подогнать размер */
    height: 198px;
  }
  .myimg {
    height: 198px;
  }
  .textblock1 {
    margin-top: 24px; /* сдвигает текст вниз до начала картинки */
    margin-bottom: 0px;
    font-size: 15px; 
  }
  .textblock2 {
    margin-top: 24px;
    margin-bottom: 0px;
    font-size: 15px;
  }
  .buttonhref {
    display: inline-block;
    background-color: #ffffff;        /* белый фон */
  color: black;                   /* оранжевый текст */
  border: 1px solid gray;        /* оранжевая граница */
  border-radius: 4px;               /* маленькое скругление */
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
            /* внутренние отступы */
  font-size: 15px;                  
  cursor: pointer;
  width: 100%;                  
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  }
  .myblock2 {
  
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin: 0 auto;
  }
.mobmargin {
  margin-bottom: 48px;
}
  .mymargin80 {
    margin-top: 44px;
  }
  .disabled-link {
    pointer-events: none;
    color: gray;
    text-decoration: none;
  }
  .myblock3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mobmargin2 {
    margin-top: 24px;
  }
  .mobpadding {
    padding: 0 16px;
  }
  .mobmargin3 {
    margin-top: 32px;
  }
  .myblock4 {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .myblock3 {
    display: flex;
    flex-direction: column;
  }
  .myblock5 {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .myinnerblock {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .myblock5 > :nth-child(3) { order: 4; }
  .myblock5 > :nth-child(4) { order: 3; }

  /* поменять 3 и 4 */
  .myblock3 > :nth-child(3) { order: 4; }
  .myblock3 > :nth-child(4) { order: 3; }

  /* поменять 7 и 8 */
  .myblock3 > :nth-child(7) { order: 8; }
  .myblock3 > :nth-child(8) { order: 7; }
}
@media (max-width: 1200px) {
  .notepad-break {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-break {
    display: none;
  }
  .subtext {
    font-size: 24px;
    line-height: 34px;
  }
  .textpluses {
    font-size: 22px;
    line-height: 34px;
    margin-top: 9px;
    margin-bottom: 9px;
  }
  .marginmobile32 {
    margin-bottom: 32px;
  }
  .marginmobile27 {
    padding-top: 27px;
  }
  .mymarginmobile0 {
    margin-top: 0px;
  }
  .mymarginmobile26 {
    margin-top: 26px;
  }
  .text16 {
    font-size: 15px;
  }
  .text22mob {
    font-size: 22px;
  }
  .mymarginmobile24 {
    margin-top: 24px;
  }
  .mymarginmobile20 {
    padding-top: 20px;
  }
}

@media (min-width: 1319px) {
  .innertext{
    position: absolute;
    top: 580px;
    right: calc(50% - 660px + 64px);
    
    width: 596px;
  }
}

