@import 'reset.css';
@import 'all.min.css';

/**************************************
*
*         GLOBAL   
*
***************************************/

* {
	box-sizing: border-box;
}

:root {
	--color-dark: #212121;
	--color-white: #ffffff;
	--color-red-dark: #c02e2e;
	--color-red-light: #da1f27;
	--color-gray-light: #f3f4f8;
	--color-gray-dark: #727272;
}

body {
	font-family: Arial, Helvetica, sans-serif;
}

a {
	display: inline-block;
	text-decoration: none;
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.wrapper {
	width: 100%;
	max-width: 1920px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	margin: 0 auto;
	font-size: 16px;
	color: var(--color-gray-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	color: var(--color-dark);
	text-transform: capitalize;
}

.flex-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.container {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 15px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.btn {
	display: inline-block;
	border-radius: 3px;
	background-color: var(--color-red-light);
	color: var(--color-white);
	padding: 20px 25px;
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
}



.btn:hover {
	background-color: var(--color-red-dark);
	-webkit-box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
	box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
}

.ptb-100 {
	padding-top: 100px;
	padding-bottom: 100px;
}

#scroll-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 100;
}

.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--color-dark);
	z-index: 102;
}

#openmenu,
#closemenu {
	color: var(--color-white);
	font-size: 30px;
	text-decoration: none;
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	display: none;
}

#openmenu:hover,
#closemenu:hover {
	color: var(--color-red-light);
}

#closemenu {
	float: right;
}

@-webkit-keyframes load {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes load {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

#preload {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--color-dark);
	z-index: 100000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#preload img {
	width: 40px;
	height: auto;
	-webkit-animation-name: load;
	animation-name: load;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.res-request,
.res {
	display: none;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
}

.res-request .error,
.res .error {
	color: var(--color-red-light);
	font-weight: bold;
}

.res-request .send,
.res .send {
	color: #4aa85c;
}

.res {
	padding: 10px 0;
}


/**************************************
*
*         HEADER 
*
***************************************/


header {
	background-repeat: no-repeat;
	background-position: right center;
	background-attachment: fixed;
	background-size: cover;
	min-height: 800px;
	position: relative;
}

.header {
	padding: 15px 0px;
	background-image: linear-gradient(rgba(26, 23, 23, 0.5), rgba(20, 20, 20, 0.611));
	backdrop-filter: blur(10px);
}

.wrapper-logo-menu {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.wrapper-logo-menu a {
	text-decoration: none;
}

#logo img {
	max-width: 100%;
	height: 50px;
	display: block;
}

#logo-main img {
	height: 40px;
}

.menu li {
	float: left;
	margin-left: 30px;
}

.menu li a {
	color: var(--color-white);
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 20px;
	display: inline-block;
	text-transform: capitalize;
}

.menu li a:hover {
	color: var(--color-red-light);
}

.wrapper-header-content {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	color: var(--color-white);
}

.wrapper-header-content h1 {
	font-size: 90px;
	margin-bottom: 20px;
	color: var(--color-white);
	width: 60%;
}

.wrapper-header-content .btn {
	margin-top: 30px;
	text-transform: capitalize;
}

.wrapper-header-content p {
	max-width: 450px;
	font-size: 18px;
}


/**************************************
*
*         ABOUT 
*
***************************************/


#about {
	position: relative;
	padding-top: 200px;
	background-repeat: no-repeat;
	background-position: left top;
	background-attachment: fixed;
	background-size: cover;
}

.wrapper-info {
	position: absolute;
	top: 0;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.wrapper-info-phone {
	background-color: var(--color-white);
}

.wrapper-info-request {
	background-color: var(--color-dark);
}

.wrapper-info-phone,
.wrapper-info-request {
	padding: 40px 55px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 49%;
	border-radius: 3px;
	-webkit-box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
	box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
}

.wrapper-info h2 {
	font-size: 35px;
	margin-bottom: 30px;
}

.wrapper-info-request h2 {
	color: var(--color-white);
}

.wrapper-info-phone .flex-row {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.wrapper-info-phone .flex-row i {
	font-size: 50px;
	color: var(--color-dark);
	margin-right: 30px;
}

.wrapper-info-phone .flex-row a {
	display: inline-block;
	font-size: 35px;
	margin-top: 10px;
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	color: var(--color-red-light);
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.wrapper-info-phone .flex-row a:hover {
	color: var(--color-red-dark);
}

.wrapper-about {
	max-width: 1500px;
	margin: 0 auto;
	padding: 60px 20px;
}

.catalog-title {
	font-size: 56px;
	margin-bottom: 40px;
	text-align: center;
	color: #212121;
}

.wrapper-about-content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}


.product-item--full-screen .product-wrapper {
	width: 50%;
}

.product-item--full-screen .product-block {
	display: flex;
	gap: 60px
}

.product-item {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-title {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 10px;
	color: #111;
}

.product-price {
	font-size: 28px;
	font-weight: 700;
	color: #b22222;
	margin-bottom: 24px;
}

.product-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 160px);
	gap: 20px;
	align-items: stretch;
	margin-bottom: 24px;
	min-height: 320px;
	font-size: 22px;
	color: #212121;
}

.product-content {
	font-size: 22px;
	color: #212121;
}

.product-content ul {
	margin: 0;
	padding-left: 22px;
	list-style: disc;
}

.product-content li {
	margin-bottom: 10px;
	line-height: 1.15;
}

.product-image-top,
.product-image-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
}

.product-image-top {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f7f7;
	border-radius: 10px;
	padding: 20px;
	padding: 20px;
	min-height: 320px;
}


.product-image-top img {
	width: 100%;
	max-width: 320px;
	height: 320px;
	object-fit: contain;
}

.product-image-bottom {
	padding-top: 18px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.product-image-bottom img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 400px;
}


/**************************************
*
*         EDGE
*
***************************************/


.edge {
	background-color: var(--color-dark);
	padding-top: 30px;
	padding-bottom: 30px;
}

.wrapper-edge {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.single-edge {
	width: 25%;
	padding: 30px 20px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
}

.single-edge h3 {
	color: var(--color-white);
	margin-bottom: 20px;
	font-size: 20px;
}

.single-edge img {
	display: inline-block;
	margin-bottom: 20px;
	max-width: 100%;
}


/**************************************
*
*         order
*
***************************************/


#contact {
	background-color: var(--color-gray-light);
}

#contact h2 {
	font-size: 56px;
	margin-bottom: 30px;
}

#contact label span::after{
	content:"";
}

#contact label span:has(+ input[required])::after{
	content:" *";
	color:#e53935;
	font-weight:bold;
}

input:invalid{
border:2px solid #e53935;
}

input:focus{
outline:none;
}

.email-error{
  color:#e53935;
  font-size:13px;
  text-align:right;

  opacity:0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.email-error.show{
  opacity:1;
  transform: translateY(0);
}

.wrapper-order {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.wrapper-order article {
	width: calc(33.333333% - 20px);
	margin: 10px;
	background-color: var(--color-white);
	padding: 30px 20px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 3px;
	-webkit-box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
	box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -7px rgb(0 0 0 / 20%);
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
}

.order-form {
	width: 100%;
}

.order-form__wrapper {
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	gap: 24px;
	width: 100%;
}

.form-section {
	background: #ffffff;
	border-radius: 18px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid #e7e7e7;
	width: 100%;
}

.form-section h3 {
	margin: 0;
	padding: 16px 24px;
	background: #111111;
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 24px;
	padding: 24px;
}

.form-grid--contact {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.form-grid label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.form-grid label.full {
	grid-column: 1 / -1;
}

.form-grid label span {
	display: block;
	min-height: 15px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	color: #222222;
}

.form-grid input {
	width: 100%;
	height: 44px;
	border: 1px solid #d7d7d7;
	border-radius: 12px;
	background: #f8f8f8;
	padding: 0 14px;
	font-size: 16px;
	color: #111111;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-grid input:focus {
	border-color: #414141;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(68, 59, 58, 0.12);
}

.form-grid input::placeholder {
	color: #9b9b9b;
}

/* если нужно, чтобы date выглядел так же аккуратно */
.form-grid input[type="date"] {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
}

/* лёгкое выравнивание секций */
.form-section+.form-section {
	margin-top: 0;
}

.form-section {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-section:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-grid label.full {
		grid-column: auto;
	}

	.form-grid label span {
		min-height: auto;
	}
}


/* SECTION */
.form-section {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

}

.form-sectio--order {
	margin: 20px auto;
}

/* HEADER */
.form-section h3 {
	background: #111;
	color: #fff;
	padding: 16px 22px;
	font-size: 18px;
	letter-spacing: 0.5px;
	margin: 0;
}

/* TABLE WRAP */
.order-table-wrap {
	padding: 25px;
	overflow-x: auto;
}

/* TABLE */
.order-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

/* HEAD */
.order-table thead th {
	text-align: left;
	font-weight: 600;
	color: #333;
	padding: 12px 10px;
	border-bottom: 2px solid #eee;
}

/* BODY */
.order-table tbody td {
	padding: 12px 10px;
	border-bottom: 1px solid #eee;
	color: #444;
}

/* ROW HOVER */
.order-table tbody tr:hover {
	background: #fafafa;
}

/* PRICE ALIGN */
.order-table td:nth-child(3),
.order-table td:nth-child(5) {
	font-weight: 500;
}

.order-table td:nth-child(5) {
	min-width: 110px;
}

/* QUANTITY INPUT */
.order-table input {
	width: 70px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #ddd;
	text-align: center;
	font-size: 14px;
	outline: none;
}

.order-table input:focus {
	border-color: #e53935;
}

/* FOOTER */
.order-table tfoot td {
	padding: 16px 10px;
	font-weight: 600;
}

/* TOTAL ROW */
#order-total {
	font-size: 18px;
	font-weight: 700;
}

/* DEPOSIT ROW */
#order-deposit {
	font-size: 16px;
	color: #e53935;
}

/* RIGHT ALIGN */
.text-right {
	text-align: right;
}

/* NOTE TEXT */
.order-table em {
	font-weight: 400;
	color: #777;
	font-size: 12px;
}

.place-wrapper {
	display: flex;
    justify-content: flex-end;
    margin-right: 14%;
}

.contact-info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info {
  background: #ffffff;
  color: #1f1f1f;
  padding: 32px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-bottom: 40px;
}

.contact-info::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 50%;
  width: 1px;
  background: #e5e5e5;
}


.contact-info__left {
  max-width: 40%;
}

.contact-info__title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 12px;
}

.contact-info__title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-red-light);
  border-radius: 2px;
}

.contact-info__subtitle {
  font-size: 16px;
  color: #555;
}

.contact-info__right {
 text-align: right;
 flex: 1;
}

.contact-info__name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info__role {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 10px;
}

.contact-info__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info__links a {
  color: var(--color-red-light);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  transition: 0.2s;
}

.contact-info__links a:hover {
  color: var(--color-red-dark);
}

/**************************************
*
*         CONTACT 
*
***************************************/


footer {
	background-color: var(--color-dark);
}

footer h2 {
	font-size: 60px;
	margin-bottom: 50px;
	color: var(--color-white);
}

.wrapper-contact {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.wrapper-copyright {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	padding-bottom: 30px;
	color: var(--color-white);
	font-size: 14px;
}

.wrapper-copyright a {
	color: var(--color-white);
}