/*Pieminekli*/

#header {
	background-color: #0c0c0ce7;
	height: 90px;
}

.wrapper {
	background: #000;
}

.top-wrapper {
	padding-top: 140px;
	background: url('../images/pam-header-bg.jpg') no-repeat;
	background-size: cover;
	animation-name: shrink2;
	animation-duration: 8s;
	animation-fill-mode: forwards;
	background-size: 125%
}

@keyframes shrink2 {
	from {
		background-size: 130%;
	}

	to {
		background-size: 125%;
	}
}

.hero {
	display: flex;
	flex-direction: row;
	gap: 30px;
	padding-bottom: 30px;
}

.hero-left {
	display: flex;
}

.hero-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero .pam_header_img {
	max-width: 274px
}

.hero .pam_header_lv_map {
	display: flex;
	flex-direction: row;
	align-items: center;
	color: #333;
	font-size: 22px;
	gap: 15px;
}


.hero .pam_header_lv_map img {
	max-width: 314px;
	mix-blend-mode: multiply;
}


.pam_benefits {
	display: flex;
	flex-direction: row;
	gap: 60px;
}

.pam_benefits div {
	display: flex;
	flex-direction: row;
	gap: 16px;
	color: #333;
	font-size: 18px;
	align-items: center;
	line-height: 1.25;
}

.pam_benefits img {
	max-width: 70px;
}


.hero h1 {
	font-size: 45px;
	color: #F8CF1C;
	line-height: 1.1;
	text-transform: uppercase;
}

.hero h1 span {
	color: #333;
	display: block;
}

.section_consultation {
	display: flex;
	align-items: center;
	background: url('../images/pam_uslugi_back.jpg') no-repeat center center;
	background-size: cover;
	min-height: 430px;
	margin: 0 auto;
}

.consultation_items {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 15px;
}

.consultation_items .item {
	flex: 0 0 calc((100% - 30px) / 3);
	/* 100% минус 2 гапа, делим на 3 */
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 25px;
	background: #0007;
	padding: 15px;
	color: #fff;
	border-radius: 8px;
}

.consultation_items .item.big_letters {
	font-family: "EB Garamond";
	font-size: 40px;
	font-weight: 900;
	gap: 10px;
	background: url('../images/pam_stone_back.jpg') no-repeat top center;
	background-size: cover;
	color: #000;
	box-shadow: inset -3px -3px 0px rgba(0, 0, 0, 0.36);
	border-radius: 8px;
	justify-content: center;
}

.consultation_items .item.big_letters span {
	/* color: #F8CF1C */
}

.consultation_items .item.granit {
	flex-basis: 100%;
	gap: 30px;
	border: 2px solid #f8cf1c;
	padding: 20px;
	justify-content: center;
}


.btn_consultation {
	margin: 0px auto;
	margin-top: 40px;
	border-radius: 5px;
	font-size: 20px;
	color: #000;
	background: #F8CF1C;
	text-align: center;
	text-decoration: none;
	display: block;
	width: fit-content;
	padding: 6px 12px;
}

.btn_consultation:hover {
	filter: brightness(90%);
}

.header_btn_consultation {
	border-radius: 3px;
	font-size: 14px;
	color: #000;
	background: #F8CF1C;
	text-align: center;
	text-decoration: none;
	display: block;
	width: fit-content;
	padding: 3px 6px;
	text-transform: uppercase;
	margin-left: 20px;
}

.header_btn_consultation:hover {
	filter: brightness(90%);
}


.section_pam_gallery {
	background: url('../images/pam_gallery-back.jpg') no-repeat top center;
	background-size: cover;
}


.pam_gallery_nav {
	display: flex;
	flex-direction: row;
	gap: 20px;
	padding: 30px 0;
	border-bottom: 1px solid #777777;
}

.pam_gallery_nav a {
	color: #000;
	padding: 6px 12px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 18px;
	border: 1px solid #000;
}

.pam_gallery_nav a:hover,
.pam_gallery_nav a.active {
	background: #F8CF1C;
	border: 1px solid #F8CF1C;
}


.pam_gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
	padding: 30px 0;
}

.pam_gallery_item {
	display: flex;
	flex-direction: row;
	padding: 20px 0 30px;
	border-bottom: 1px solid #777777;
	gap: 40px;
	flex-basis: 100%;
}

.pam_gallery_item:last-of-type {
	border-bottom: 0;
}

.pam_gallery_item_before {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.pam_gallery_item_after {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.pam_head {
	font-size: 16px;
	margin-bottom: 5px;
	font-weight: bold;
}

.pam_column {
	display: flex;
	flex-direction: column;
	gap: 8px;
}


.pam_photo img {
	width: auto;
	height: 135px;
	border-radius: 5px;
}

#before_after {
	padding: 0;
}

.section_pam_form {
	background: #fff;
	padding: 40px 10px;
	border-top: 1px solid #777777
}

.section_pam_form #consultForm {
	max-width: 400px;
	margin: auto;
	scroll-margin-top: 110px;
}

#ourWorks {
	scroll-margin-top: 90px;
}


.section_pam_form label {
	display: block;
	margin-top: 15px;
}

.section_pam_form input {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	box-sizing: border-box;
}

.section_pam_form .required {
	color: #FF0000;
}

.section_pam_form .error-message {
	color: red;
	font-size: 12px;
	height: 14px;
}

.section_pam_form #resultMessage {
	margin-top: 20px;
	color: green;
	font-weight: bold;
	text-align: center;
	margin-bottom: 15px;
	line-height: 1.25;
}

.section_pam_form button {
	background-color: #F8CF1C;
	border: none;
	padding: 10px;
	margin-top: 0px;
	width: 100%;
	cursor: pointer;
	font-size: 16px;
	border-radius: 6px;
}

.discount {
	display: flex;
	gap: 8px;
	flex-direction: row;
	margin-top: 15px;
	border: 2px solid #F8CF1C;
	border-radius: 8px;
	padding: 10px;
	font-size: 14px;
}

.discount img {
	height: 30px;
}

.discount_lbl span {
	color: #555
}

.top-wrapper .pam_phone {
	display: none;
}

.consult_text {
	margin: 15px 0;
	line-height: 1.25;
}

.section_pam_form .pam_phone {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0px 0 0 0;
	font-size: 18px;
}

.section_pam_form a.pam_phone {
	color: #333;
	font-weight: 600;
	text-decoration: none;
	margin: 5px 0;
}


@media (max-width:1023px) {


	.top-wrapper .pam_phone {
		display: flex;
		align-items: center;
		gap: 5px;
		margin: 20px 0 0 0;
		font-size: 18px;
	}

	.section_pam_form .pam_phone img,
	.top-wrapper a.pam_phone img {
		width: 22px
	}

	.top-wrapper a.pam_phone {
		color: #333;
		font-weight: 600;
		text-decoration: none;
	}

	#header {
		height: 55px;
	}

	#header .topmenu a:nth-child(1) {
		display: block;
	}

	#header .topmenu a:nth-child(2) {
		display: none;
	}

	#header::after {
		content: none;
	}

	#logo {
		width: 67px;
		background: none;
	}

	.site-changes .languages {
		margin: 0 0px 0 10px;
	}

	.header_btn_consultation {
		margin: 0 10px 0 0;
		font-size: 12px;
	}

	#ourWorks {
		scroll-margin-top: 45px;
	}

	.section_pam_form #consultForm {
		scroll-margin-top: 65px;
	}


	.top-wrapper {
		padding-top: 55px;
		position: relative;
		min-height: 500px;
		background: url('../images/pam_mobile_bg.jpg');
		background-size: cover;
		animation: none;
	}

	.hero {
		gap: 10px;
		padding: 120px 0 0 0
	}

	.hero-left,
	.hero-right {
		flex: 1 1 auto;
		justify-content: center;
	}

	.hero .pam_header_img {
		max-height: 242px;
		width: auto;
	}

	.hero h1 {
		position: absolute;
		top: 25px;
		left: 0;
		width: 100%;
		font-size: 24px;
		color: #333;
		text-align: center;
	}

	.hero span {
		color: #333
	}

	.hero .hero-right img {
		width: 173px
	}

	.hero .pam_header_lv_map {
		display: flex;
		flex-direction: column;
		font-size: 16px;
		text-align: center;
		line-height: 1.25;
		gap: 0;
	}

	.hero .pam_header_lv_map span {
		width: 130px;
	}

	.pam_benefits {
		display: flex;
		flex-direction: row;
		gap: 10px;
		position: absolute;
		bottom: 25px;
		left: 0;
		padding: 10px;
		width: 94vw;
		justify-content: space-evenly;
	}

	.pam_benefits img {
		width: 45px;
	}

	.pam_benefits div {
		display: flex;
		flex-direction: row;
		gap: 6px;
		color: #333;
		font-size: 14px;
		align-items: center;
		line-height: 1.25;
	}


	.consultation_items {
		gap: 6px;
	}

	.consultation_items .item {
		gap: 3px;
		padding: 3px;
		flex: 0 0 49%;
		font-size: 13px;
		height: 70px;
	}

	.consultation_items .item.big_letters {
		font-size: 25px;
		display: flex;
		flex-direction: column;
		gap: 0;
		justify-content: center;
		line-height: 0.85;
	}

	.consultation_items .item.granit {
		gap: 10px;
		justify-content:start;
	}


	.consultation_items .item img {
		max-width: 35px;
		height: auto;
	}

	.btn_consultation {
		margin-top: 20px;
	}

	.pam_gallery_nav {
		flex-direction: row;
		gap: 12px;
		padding: 20px 0;
		flex-wrap: wrap;
		justify-content: center;
	}

	.pam_gallery_item {
		gap: 15px;
		flex-direction: column;
		padding: 15px 0 20px;
	}

	.pam_gallery_item_before,
	.pam_gallery_item_after {
		row-gap: 6px;
	}

	.pam_column .pam_photo img {
		width: auto;
		height: 87px;
	}


	.pam_column {
		width: 100%;
	}

	.pam_head {
		text-align: center;
	}

	.pam_gallery,
	.pam_gallery_item_before,
	.pam_gallery_item_after {
		justify-content: center;
	}

	.pam_gallery_item {
		width: fit-content;
		align-items: flex-start;
	}

	h2 {
		line-height: 1;
	}
}