@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

body{
	margin: 0;
	padding: 0;
	color: #3b4d5b;
	font-family: "Inter", sans-serif;
	cursor: default;

	background: url('https://crmedical.kz/assets/images/site_images/CRMedical%20%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F%20%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0.png') center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

main {
	height: calc(100vh - 50px);
	overflow: auto;
	padding: 25px;
}

body:has(.leavRequest.active ) main {
	overflow: hidden;
}

.main_inner {
	width: calc(100% - 40px);
	max-width: 1000px;

	display: flex;
	flex-direction: column;
	grid-gap: 100px;
	justify-content: flex-start;

	margin: 0 auto;
	padding: 40px 20px 80px;
	border-radius: 10px;

	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	background-color: rgba(255, 255, 255, 0.7);

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

@media (max-width: 550px) {
	main {
		padding: 5px;
	}
}

.intro {
	display: flex;
	flex-direction: column;
	grid-gap: 40px;
}

.intro h2 {
	width: fit-content;
	position: relative;

	margin: 0 auto;
	padding: 20px 30px 10px 120px;
}

.intro h2 span {
	color: #282826;
	font-size: 60px;
	font-weight: 300;
}

.intro h2:before {
	content: "Акция";

	position: absolute;
	top: 0px;
	left: 0px;

	color: #fff;
	font-size: 30px;
	font-weight: 200;

	padding: 10px;
	border-radius: 6px 18px 0 18px;

	background-color: rgb(252, 28, 82);
	background: -webkit-linear-gradient(135deg, rgb(254, 54, 2), rgb(252, 28, 82));
	background: -moz-linear-gradient(135deg, rgb(254, 54, 2), rgb(252, 28, 82));
	background: linear-gradient(135deg, rgb(254, 54, 2), rgb(252, 28, 82));

	-webkit-box-shadow: 8px 8px 8px 0px rgba(252, 28, 82, 0.2);
	-moz-box-shadow: 8px 8px 8px 0px rgba(252, 28, 82, 0.2);
	box-shadow: 8px 8px 8px 0px rgba(252, 28, 82, 0.2);
}

.intro h2:after {
	content: "от CRMedical";

	position: absolute;
	bottom: 0px;
	right: 0px;

	color: #21a2ba;
	font-size: 16px;
	font-weight: 400;
}

.intro_info {
	display: flex;
	position: relative;


	padding: 0 100px 10px 0;
}

.intro_info h1 {
	color: #3b4d5b;
	font-size: 50px;
	font-weight: 400;
	line-height: 1.1;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);

	margin: 0;
}

.intro_info_discount {
	width: 200px;

	display: flex;
	flex-direction: column;
	align-items: center;

	position: absolute;
	bottom: 0;
	right: 10px;

	color: #282826;
	font-size: 22px;
	font-weight: 700;
	text-align: center;

	padding: 10px;
	border-radius: 10px;
	transform: rotate(-7deg);
	transition: all 0.2s linear;

	background-color: #13a538;
	background: -webkit-linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));
	background: -moz-linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));
	background: linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

.intro_info_discount:hover {
	scale: 1.1;
}

.intro_info_discount span {
	font-size: 12px;
	font-weight: 400;
	font-family: "Inter", sans-serif;
}

.blink {
  animation: blink 1s linear infinite;
}

@media (max-width: 970px) {
	.intro_info_discount {
		bottom: -60px;
	}
}

@media (max-width: 540px) {
	.intro {
		margin-bottom: 30px;
	}

	.intro h2 span {
		font-size: 40px;
	}

	.intro_info h1 {
		font-size: 30px;
	}

	.intro h2:after {
		right: 20px;
	}

	.intro_info_discount {
		font-size: 20px;
		padding: 7px;
	}

	.intro_info_discount span {
		font-size: 10px;
	}
}

/* ===== conditions ===== */

.conditions {
	display: flex;
	flex-direction: column;
	grid-gap: 20px;
	margin-top: -30px;
}

.conditions h2 {
	color: #21a2ba;
	font-size: 28px;
	font-weight: 400;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);

	margin: 0;
}

.conditions ul {
 padding-left: 20px;
 margin: 0;
}

.conditions ul li {
	color: #282826;
	font-size: 17px;
	font-weight: 300;
	list-style-type: none;
  padding-left: 0;

	margin-bottom: 10px;
}

.conditions ul li::marker {
  content: "✔ ";
  color: #37b1c8;
  font-size: 18px;
}

.conditions ul li span {
	color: #63686c;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.conditions_notice {
	color: #f71010;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.conditions_notice b {
	font-weight: 600;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.conditions_notice .days_left {
    font-weight: 600;
    padding: 0.5%;
    border-radius: 10px;
    color: white;
    background: linear-gradient(135deg, rgb(254, 54, 2), rgb(252, 28, 82));
    margin-left: 5px;
    color: white;
}

/* ===== aboutBastau ===== */

.aboutBastau {
	display: flex;
	flex-direction: column;
	grid-gap: 40px;
}

.aboutBastau > h2 {
	color: #21a2ba;
	font-size: 28px;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);
}

.aboutBastau_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-gap: 30px;
}

.aboutBastau_item {
	width: 100%;
	max-width: 270px;

	display: flex;
	flex-direction: column;
	grid-gap: 10px;

	padding: 20px;
	border-radius: 14px;
	background-color: #fff;
	transition: scale 0.2s linear;

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

.aboutBastau_item:hover {
	scale: 1.1;
}

.aboutBastau_item h3 {
	color: #21a2ba;
	font-size: 18px;
	text-align: center;

	margin: 0;
}

.aboutBastau_item p {
	color: #282826;
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	line-height: 1.2;

	margin: 0;
}

/* ===== aboutCRM ===== */

.aboutCRM {
	display: flex;
	grid-gap: 20px;
}


@media (max-width: 830px) {
	.aboutCRM {
		flex-wrap: wrap;
		justify-content: center;
	}
}

.aboutCRM img {
	width: 100%;
	max-width: 320px;
}

.aboutCRM_info {
	width: 100%;

	display: flex;
	flex-direction: column;
	grid-gap: 10px;

	padding: 10px;
}

.aboutCRM h2 {
	color: #21a2ba;
	font-size: 28px;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);
	margin: 0;
}

.aboutCRM p {
	color: #282826;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
	text-align: center;

	margin: 0;
	transition: all 0.2s linear;
}

.aboutCRM p b {
	color: #0b93ad;
	font-weight: 600;
}

/* ===== bestOffer ===== */

.bestOffer {
	display: flex;
	flex-direction: column;
	grid-gap: 40px;
}

.bestOffer > h2 {
	color: #21a2ba;
	font-size: 28px;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);

	margin: 0;
}

.bestOffer_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-gap: 30px;
}

.bestOffer_item {
	width: 100%;
	max-width: 280px;

	display: flex;
	flex-direction: column;
	grid-gap: 30px;
	position: relative;

	padding: 20px;
	border: 1px solid rgba(34, 60, 80, 0.1);
	border-radius: 14px;
	background-color: #fff;

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

.bestOffer_item h3 {
	color: #282826;
	font-size: 19px;
	font-weight: 300;
	text-align: center;

	margin: 0;
}

.bestOffer_item_price {
	color: #37b1c8;
	font-size: 48px;
	font-weight: 300;
	text-align: center;

	margin: 0;
}

.bestOffer_item p {
	color: #b0b3b6;
	font-size: 16px;
	font-weight: 300;
	text-align: center;

	margin: 0;
	margin-top: -30px;
}

.bestOffer_item ul {
	padding-left: 20px;
	margin: 0 auto;
}

.bestOffer_item ul li {
	color: #282826;
	font-size: 17px;
	font-weight: 300;
	list-style-type: none;
  padding-left: 0;

	margin-bottom: 10px;
}

.bestOffer_item ul li::marker {
  content: "✔ ";
  color: #37b1c8;
  font-size: 18px;
}

.bestOffer_item ul li.none::marker {
  content: "✖ ";
  color: #f71010;
  font-size: 18px;
}

.bestOffer_item button {
	height: 40px;
	width: 100%;
	position: relative;

	color: #fff;
	font-size: 16px;
	font-weight: 300;
	font-family: inherit;
	letter-spacing: 0.5px;

	padding: 10px;
	border: none;
	border-radius: 200px;
	cursor: pointer;
	overflow: hidden;

	background-color: #21a2ba;
	background: -webkit-linear-gradient(135deg, rgb(0, 216, 186), rgb(0, 189, 157));
	background: -moz-linear-gradient(135deg, rgb(0, 216, 186), rgb(0, 189, 157));
	background: linear-gradient(135deg, rgb(0, 216, 186), rgb(0, 189, 157));

	-webkit-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
}

.bestOffer_item button:before {
	content: "";
	width: 0%;
	height: 100%;

	position: absolute;
	top: 0;
	left: 0;

	background-color: #37b1c8;
	background: -webkit-linear-gradient(315deg, rgb(0, 216, 186), rgb(0, 189, 157));
	background: -moz-linear-gradient(315deg, rgb(0, 216, 186), rgb(0, 189, 157));
	background: linear-gradient(315deg, rgb(0, 216, 186), rgb(0, 189, 157));

	border-radius: 0 0 20px 0;
	transition: all 0.2s linear;
	z-index: 1;
}

.bestOffer_item button:after {
	width: 100%;
	content: "Оставить заявку";

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);

	z-index: 10;
}

.bestOffer_item button:hover:before {
	width: 100%;
}

.bestOffer_item span {
	position: absolute;
	top: -16px;
	right: 20px;

	color: #282826;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;

	padding: 5px 10px;
	border-radius: 100px;

	background-color: #13a538;
	background: -webkit-linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));
	background: -moz-linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));
	background: linear-gradient(135deg, rgb(169, 253, 33), rgb(232, 255, 43));

	-webkit-box-shadow: 4px 4px 4px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 4px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 4px 0px rgba(34, 60, 80, 0.2);
}

/* ===== leavRequest ===== */

.leavRequest {
	width: 100%;
	height: 100%;

	position: absolute;
	top: 0;
	left: 0;

	display: none;
	justify-content: center;
	align-items: flex-start;
	overflow: auto;

	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	background-color: rgba(255, 255, 255, 0.7);

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

.leavRequest.active {
	display: flex;
}

.leavRequest_inner {
	width: 100%;
	max-width: 600px;

	display: flex;
	flex-direction: column;
	grid-gap: 30px;
	position: relative;

	margin: 20px;
	padding: 20px;
	border: 1px solid rgba(34, 60, 80, 0.15);
	border-radius: 10px;
	background-color: #fff;

	-webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	-moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
	box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.15);
}

.leavRequest_closeBtn {
	width: 28px;
	height: 28px;

	position: absolute;
	top: 5px;
	right: 5px;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;

	padding: 0;
	border: 1px solid #f71010;
	border-radius: 4px;
	cursor: pointer;
	background-color: #f71010;
	transition: all 0.2s linear;
}

.leavRequest_closeBtn:hover {
	color: #f71010;
	background-color: #fff;
}

.leavRequest_inner span {
	color: #21a2ba;
	font-size: 28px;
	font-weight: 200;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(34, 60, 80, 0.15);

	margin: 0;
}

.leavRequest_inner p {
	color: #282826;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	line-height: 1.2;

	margin: 0;
}

.contact-form {
	display: flex;
	flex-direction: column;
	grid-gap: 15px;
}

.form-group {
	display: flex;
	flex-direction: column;
	grid-gap: 5px;
}

.form-group label {
	color: #282826;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
}

.form-group input {
	color: #282826;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  font-family: inherit;

  padding: 10px;
  outline: none;
  border: 1px solid #b0b3b6;
  border-radius: 4px;
  
  background-color: #fff;
  transition: all 0.1s linear;
}

.form-group input:focus {
	border-color: #37b1c8;

	-webkit-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
}

.form-group textarea {
	height: 120px;
	color: #282826;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  font-family: inherit;

  padding: 10px;
  outline: none;
  border: 1px solid #b0b3b6;
  border-radius: 4px;
  resize: none;
  background-color: #fff;
  transition: all 0.1s linear;
}

.form-group textarea:focus {
	border-color: #37b1c8;

	-webkit-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
}

.contact-form button {
	width: 100%;
	max-width: 280px;

	color: #fff;
	font-size: 16px;
	font-weight: 300;
	font-family: inherit;
	letter-spacing: 0.5px;

	padding: 10px;
	margin: 20px auto 0;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.2s linear;
	background-color: #37b1c8;
}

.contact-form button:hover {
	background-color: #21a2ba;

	-webkit-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 6px 0px rgba(34, 60, 80, 0.2);
}

.success-message {
		color: white;
    background: -webkit-linear-gradient(135deg, rgb(0, 216, 186), rgb(0, 189, 157));
    padding: 0.5%;
    border-radius: 5px;
}

/* ===== placeholder ===== */

::-webkit-input-placeholder {
  color: #576a7b;
  font-size: 15px;
  font-weight: 300;
  text-overflow: ellipsis;
}

::-moz-placeholder {
  color: #576a7b;
  font-size: 15px;
  font-weight: 300;
  text-overflow: ellipsis;
}

:-moz-placeholder {
  color: #576a7b;
  font-size: 15px;
  font-weight: 300;
  text-overflow: ellipsis;
}

:-ms-input-placeholder {
  color: #576a7b;
  font-size: 15px;
  font-weight: 300;
  text-overflow: ellipsis;
}

::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.2s ease;}
::-moz-placeholder                {opacity: 1; transition: opacity 0.2s ease;}
:-moz-placeholder                 {opacity: 1; transition: opacity 0.2s ease;}
:-ms-input-placeholder            {opacity: 1; transition: opacity 0.2s ease;}
:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.2s ease;}
:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.2s ease;}
:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.2s ease;}
:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.2s ease;}

/* ===== bastauFooter ===== */

.bastauFooter {
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-gap: 10px;

	padding: 40px 0;

}

.bastauFooter span {
	color: #0b93ad;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}

.bastauFooter p {
	color: #282826;
	font-size: 14px;
	font-weight: 300;
	margin: 0;
}