.main_ban .image {
  max-height: 770px !important;
}

.main_ban .image img {
  object-position: top;
}

.cases-block {
  display: flex;
  justify-items: center;
  gap: 20px;
    flex-wrap: wrap;
  justify-content: center;
}

.case {
  flex: 0 0 385px;
  background: #F2F2F2;
  border-radius: 30px;
  padding: 30px;
}

.cases-block-whowant {
  justify-content: space-between;
}

.blue-block-wide {
  background: #005DAC;
  color: #fff;
  text-transform: uppercase;
  padding: 26px 50px;
  border-radius: 30px;
  overflow: hidden;
  font-weight: 700;
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 1280px) {
  .cases-block-whowant .case {
    flex: 0 0 23%;
  }
}

.case-icon img {
  min-width: 40px;
  max-width: 50px;
}

.case-text {
}

.case-line {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

.title1 {
  text-align: center;
}

.image-blocks {
  display: flex;
  margin-bottom: 44px;
      align-items: center;
}

.image-blocks--text .subtitle {
  padding: 0;
}

.image-blocks--text--text {
  margin-top: 10px;
}

.text-center {
  text-align: center;
}

.page .title_h2.white {
    color: white;
}

.form-block .title_h2.white{
  margin: 0 0 12px 0;
  text-align: left;
}

.page .title_h2 {
    margin: 0;
    color: #000;
    font-size: clamp(1.1875rem, 4vw, 1.875rem);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 90px 0 40px 0;
}

.grade-lines {
  justify-items: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: url('./line.svg') 50% 0 no-repeat;
  background-size: contain;
}

.grade-lines.mobile {
    display: none;
}

.grade-stage {  
  display: grid;
  grid-template-columns: 450px 100px 450px;
}

.grade-stage-title.subtitle {
  padding: 0;
  margin-bottom: 10px;
}

.grade-stage-text {
}

.grade-stage-num {
  color: white;
  background: #005DAC;
  font-weight: 700;
  font-size: 21px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
      display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
        align-self: center;
    position: relative;
}

.grade-stage-line {
  position: absolute;
  width: 2px;
  height: 100%;
  color: #005DAC;
}

.subtitle {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.325rem;
    color: #1a1a1a;
    text-transform: uppercase;
    font-weight: 700;
}

.image-blocks--img img {
  overflow: hidden;
  border-radius: 20px;
  max-height: 320px;
  min-width: 750px;
  object-fit: cover;
}

.image-blocks--text {
  max-width: 385px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .header_fix-block {
      display: none;
  }
}

.text-right {
  text-align: right;
}

.form-block {
  background: url("./triangle.png") 0 0 no-repeat;
  background-position: 93% 10%;
  display: grid;
  grid-template-columns: 52% 48%;
  background-color: #005DAC;
  border-radius: 30px;
  overflow: hidden;
  color: white;
  margin: 90px 0;
}

.form-block--first {
  padding: 44px;;
}

.form-block--second {
  padding: 44px 0 0 0;
  display: flex;
  align-items: end;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    width: 100%;
}

.contact-form input.error {
  border: 1px solid red !important;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 8px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus {
    border-color: #cccccc;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="tel"]::placeholder {
    color: #ffffff;
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #444444;
}

.submit-btn:active {
    background-color: #2a2a2a;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}


.consent-label {
    font-size: 12px;
    line-height: 1.5;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 600px) {
    .contact-form {
        gap: 15px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="tel"] {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .consent-label {
        font-size: 11px;
    }
}


.form-subtitle {
  margin-bottom: 24px;
}

.success-message {
  color: #05dc05;
  display: none;
}

#profile .ttl {
  margin-bottom: 20px;
}

.blue-text {
  color: #005DAC;
}

.no-wrap {
  white-space: nowrap;
}

#profile .image picture {
  position: absolute;
  top: -75%;
  margin: auto;
  left: 0;
  right: -140px;
  z-index: 2;
}

#profile .image::before {
  z-index: 33;
}

#profile .main_ban-bx {
  z-index: 222;
  top: 50%;
}


@media (max-width: 480px) {
  #profile .image picture {
    top: -55%;
  }
    
  .mt-10 {
    margin-top: 10px;
  }
}