/* Block_2 */
.page_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page_layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left block */
.page_left {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page_img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.page_left h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: rgb(0, 64, 133);
  text-align: left;
  align-self: flex-start;
  margin: 50px 0 30px;
}

.page_left h2 span {
  display: inline-block;
  border-bottom: 3px solid rgb(0, 64, 133);
  padding-bottom: 4px;
}

.page_left p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.page_description p {
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 15px;
  width: 100%;
  line-height: 2;
  word-wrap: break-word;
  color: black;
}

.page_description h3 {
  margin-bottom: 25px;
  text-decoration: underline;
}

.page_description h4 {
  margin: 20px 0 8px;
}

.page_description ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  margin-bottom: 15px;
  color: black;
}

.page_description ul li {
  font-size: 14px;
  line-height: 2.4;
}

.page_description ul li::marker {
  font-size: 1.2em;
  color: rgb(0, 64, 133);
}

.price {
  text-align: center;
  margin-top: 45px;
}

table {
  margin: 20px 0;
  font-size: 15px;
  width: 100%;
}

tr {
  width: 100%;
  background-color: rgb(238, 238, 238);
}

td {
  color: #555;
  padding: 10px;
  font-weight: 400;
}

tr.color {
  background-color: rgb(217, 220, 221);
}

tr:hover {
  background-color: #7ba9db;
}

th {
  background: #333;
  color: #fff;
  text-align: left;
  padding: 10px;
}


/* Block_mobile */
.block_mobile {
  height: fit-content;
  position: relative;
  width: 100%;
  min-height: 23vh;
  overflow: hidden;
  background-color: white;
  background-image: url('../img/block-9.jpg');
  background-size: cover;
  background-position: center;
  margin: 30px 0;
  padding-bottom: 40px;
}

.block_mobile-container {
  height: fit-content;
  position: relative;
  max-width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.block_mobile h2,
.block_mobile h3 {
  font-family: Roboto, sans-serif;
  display: block;
  width: fit-content;
  margin: 0 auto 12px auto;
  font-size: 27px;
  font-weight: 900;
  line-height: 39px;
  color: white;
  border-radius: 50px;
  padding: 40px 30px 3px;
  text-transform: uppercase;
  text-align: center;
}

 .block_mobile-button {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  background-color: rgb(22, 105, 160);
  color: #fff;
  padding: 18px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin: 70px auto 0;
  margin-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  transition: all 0.3s ease;
  box-shadow: rgb(15, 2, 75) 0 3px 0 0;
}

.ph-icon {
  width: 23px;
  height: auto;
  margin-right: 10px;
  filter: invert(1);
}

.block_mobile-button:hover {
  transform: scale(1.05);
}

.block_mobile-button:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* End Block_mobile */



/* Right block */
.page_right {
  flex: 1;
}

.page_right h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: left;
  font-size: 28px;
  color: #333;
  margin-top: 45px;
  margin-bottom: 20px;
  line-height: 54px;
}

.page_right h2 span {
  display: inline-block;
  border-bottom: 3px solid #333;
  padding-bottom: 1px;
}

.page_right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page_right ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.page_right ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent #004085;
}

.page_right ul li span {
   text-decoration: underline;
   font-weight: 500;
  }



/* Block_2 */
@media (max-width: 767px) {
  .page_layout {
    display: block;
    padding: 20px;
    margin-top: -125px;
  }

  /* Left block */
  .page_left {
    width: 100%;
    text-align: center;
  }

  .page_img {
    width: 100%;
  }

  .page_left h2 {
    font-size: 24px;
    text-align: center;
    margin: 0;
    margin-top: 115px;
    margin-bottom: 15px;
  }

  .page_description p {
    font-size: 14px;
  }

  .page_description h3,
  .page_description h4 {
    text-align: left;
  }

  .page_left .price {
    display: block;
    text-align: center;
    font-size: 18px;
    margin-top: 30px;
    width: 100%; 
  }

  table {
    font-size: 14px;
  }


  /* Right block */
  .page_right {
    width: 100%;
    text-align: center;
  }

  .page_right h2 {
    margin-top: 20px;
   }

  .page_right li {
    font-size: 14px;
    text-align: left;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .page_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  .page_layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: -80px;
  }

  /* Left block */
  .page_left {
    flex: 2;
    text-align: left;
  }

  .page_img {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
  }

  .page_left h2 {
    font-size: 30px;
    margin-top: 100px;
  }

  .page_description p {
    font-size: 14px;
    line-height: 1.8;
  }

  .page_description h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page_description h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page_description ul li {
    font-size: 14px;
  }

  .price {
    text-align: center;
    font-size: 18px;
    margin-top: 30px;
  }

  table {
    width: 100%;
    font-size: 14px;
  }

  td, th {
    padding: 8px;
  }

  /* Right block */
  .page_right {
    flex: 1;
    text-align: left;
  }

  .page_right h2 {
    font-size: 24px;
    margin-top: 90px;
  }

  .page_right li {
    font-size: 16px;
  }
}


@media (min-width: 1024px) and (max-width: 1260px) {
  .page_container {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
  }

  .page_left h2 span {
    margin-top: 80px;
  }

  .page_left h2 {
    font-size: 36px;
    margin-top: 30px;
  }

  .page_right h2 {
    margin-top: 100px;
  }
}




/* Block_mobile */
@media (max-width: 767px) {
  .block_mobile {
    min-height: 20vh;
    background-image: url('../img/block-9m.jpg');
    height: fit-content;
    padding-bottom: 20px;
  }

  .block_mobile-container {
    height: fit-content;
    max-width: 100%;
    margin-bottom: 7px;
  }

  .block_mobile h2,
  .block_mobile h3 {
    display: block;
    width: fit-content;
    margin: 10px auto 12px auto;
    font-size: 18px;
    line-height: 28px;
    padding: 28px 30px 3px;
    text-align: center;
  }

  .block_mobile-button {
    font-size: 18px;
    padding: 10px 17px;
    box-shadow: rgb(14, 14, 14) 0 3px 0 0;
    margin-top: 5px;
    margin-bottom: 3px;
  }

  .ph-icon {
    width: 13px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .block_mobile {
    height: fit-content;
    min-height: 21vh;
    background-image: url('../img/block-9p.jpg');
  }

  .block_mobile-container {
    height: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 0 10px;
  }

  .block_mobile h2,
  .block_mobile h3 {
    display: block;
    width: fit-content;
    margin: 10px auto 12px auto;
    font-size: 24px;
    line-height: 32px;
    padding: 40px 30px 3px;
  }

  .block_mobile-button {
    font-size: 18px;
    padding: 13px 20px;
    box-shadow: rgb(14, 14, 14) 0 3px 0 0;
    margin-top: 17px;
    margin-bottom: 7px;
  }

  .ph-icon {
    width: 19px;
  }
}
