@media (orientation: portrait) {
.name-part {
	
	font-size: clamp(1vh, 3vh, 4vh);
	line-height: 1.4;
}
.info-block {
  bottom: 15%;
  right: 0;
   width: 100%;
   max-width: 100%;
    margin: 0 auto;
   text-align: center;
}
.specialization {
  font-size: clamp(1vh, 2.1vh, 4vh);
}
.contact-btn {
   font-size: clamp(1vh, 2.1vh, 4vh);
   min-width: 50%;
}
.registry-info p{
  font-size: clamp(1vh, 2.1vh, 4vh);
}
.about-block {
flex-direction: column;
justify-content: space-between;
  padding: 20px;
  margin: 0 auto;
  gap: 40px;
  height: 100vh;
}
.image-side {
  width: 100vw;
  height: 50vh;
}
.blure-fon {
  width: 80%;
  height: 70vh;
}
.text-side {
  margin-right: 0;
  flex: 1;
  width: 100%;
  height: 80%;
}
.achievements-list {
  list-style: none;
  margin: 0;
  margin-bottom: 15%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 40px;
}
.left-part {
  font-size: clamp(1vh, 3vh, 4vh);
}
.right-part {
  font-size: clamp(1vh, 2.1vh, 4vh);
}
.final-text p {
  font-size: clamp(1vh, 2.1vh, 4vh);
}
.achievements-list li::after {
  height: 2px;
}
.info-section {
	height: 100vh;
}
.services-title {
	font-size: clamp(1vh, 3vh, 4vh);
}
.services-grid {
	gap: 5%;
	max-width: 100%;
}
.service-card {
	font-size: clamp(1vh, 2.1vh, 4vh);
	display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.pyramid-services-section {
	margin-top: 50px;
}
.pyramid-grid1 {
	max-width: 100%;
}
.pyramid-grid2 {
	max-width: 100%;
}
.pyramid-card {
	padding: 8px;
	font-size: clamp(1vh, 2vh, 4vh);
	width: 40%;
}
.about-hero {
    background-image:
		linear-gradient(
			to top,
			transparent 85%, #272727 100%),
			linear-gradient(
			to bottom,
			transparent 85%, #272727 100%),
		url('../img/back4Med.jpg');
}
.about-hero-lead {
	font-size: clamp(1vh, 3vh, 4vh);
}

/* Текст */
.about-hero-text {
	width: 70%;
}

/* В вашем макете заголовок уже есть сверху, поэтому делаем "подзаголовки" как на картинке */
.about-hero-bold {
  font-size: clamp(1vh, 2.1vh, 4vh);
}

.about-hero-accent {
  font-size: clamp(1vh, 2.1vh, 4vh);
}

.about-hero-para {
  font-size: clamp(1vh, 2.1vh, 4vh);
}

.about-hero-sub {
  font-size: clamp(1vh, 2.1vh, 4vh);
}

.about-hero-list li {
  font-size: clamp(1vh, 2.1vh, 4vh);
}
.princ-section {
	height: 125vh;
}
.princ-zone {
	height: 85%;
	gap: 2%;
}
.princ-grid {
	width: 90%;
	height: 100vh;
  flex-direction: column;
justify-content: space-between;
  gap: 4%;
}
.princ-title {
	font-size: clamp(1vh, 3vh, 4vh);
	margin-top: 50px;
}
.princ-card {
	font-size: clamp(1vh, 2.1vh, 4vh);
	
}
.princ-accent {
  font-size: clamp(1vh, 2.1vh, 4vh);
}

.contacts {
	overflow: hidden;
	width: 100vw;
	height: 100vh;
    background-image:
		linear-gradient(
			to top,
			transparent 85%, #272727 100%),
		url('../img/back6Med.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	z-index: 2;
}
.contacts-title {
	font-size: clamp(1vh, 3vh, 4vh);
	color: white;
	margin-top: 8%;
}
.contacts-block {
	width: 40vw;
	height: 50vh;
	font-size: clamp(1vh, 2.1vh, 4vh);
	color: white;
	margin-left: 50%;
	margin-top: 10%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.contacts-info {
	border-top: 2px solid white;
	border-bottom: 2px solid white;
	margin-top: 5%;
	margin-bottom: 5%;
	height: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
}
@media (min-width: 376px) and (max-width: 428px) {
.info-section {
	height: 120vh;
  
}
.pyramid-services-section {
	margin-top: 5%;
}
.services-title {
	margin-bottom: 8%;
}
.specialization {
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.princ-section {
	height: 124vh;
}
.princ-grid {
	width: 90%;
	height: auto;
  flex-direction: column;
justify-content: space-between;
}
.princ-zone {
	height: 85%;
	gap: 0;
}
.contact-btn {
   font-size: clamp(1vh, 2.5vh, 4vh);
   min-width: 50%;
}
.registry-info p{
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.right-part {
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.final-text p {
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.service-card {
	font-size: clamp(1vh, 2.5vh, 4vh);
}
.pyramid-card {
	font-size: clamp(1vh, 2.5vh, 4vh);
}
.about-hero-bold {
  font-size: clamp(1vh, 2.5vh, 4vh);
}

.about-hero-accent {
  font-size: clamp(1vh, 2.5vh, 4vh);
}

.about-hero-para {
  font-size: clamp(1vh, 2.5vh, 4vh);
}

.about-hero-sub {
  font-size: clamp(1vh, 2.5vh, 4vh);
}

.about-hero-list li {
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.princ-card {
	font-size: clamp(1vh, 2.5vh, 4vh);
	height: auto;
	margin-top: 15px;
}
.princ-accent {
  font-size: clamp(1vh, 2.5vh, 4vh);
}
.contacts-block {
	font-size: clamp(1vh, 2.5vh, 4vh);
}

}