/*!
Theme Name: stroioptorg
Theme URI: http://underscores.me/
Author: Shulepov Code
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stroioptorg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

stroioptorg is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root {
	--black: #242424;
	--white: #fff;
	--green: #00a953;
	--red: #ff6f61;
	--dark-gray: #595959;
	--beige: #f2e8dc;
	--dark-beige: #c9bba0;
	--gray: #949494;
	--gray6: #666666;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	font-family: "Manrope", sans-serif;
  	font-optical-sizing: auto;
  	font-style: normal;
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.37;
	color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	clear: both;
}

h1, .page-title {
	font-size: 2.875rem;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--white);
}

h2, .section-title {
	font-size: 2rem;
	line-height: 1.37;
}

p {
	margin-bottom: 1.5rem;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

label {
	display: block;
}

/* Links
--------------------------------------------- */
a {
	color: var(--green);
	transition: all 0.4s ease;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	height: 48px;
	border-radius: 8px;
	border: none;
	background: var(--green);
	font-weight: 600;
	font-size: 18px;
	line-height: 144%;
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: 2rem;
	transition: all 0.4s ease;
	cursor: pointer;
}

.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--red);
}

.button--red {
	background: var(--red);
	color: var(--white);
}

.button--red:hover {
	background: var(--green);
	color: var(--white);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
select,
textarea {
	height: 48px;
	border: 1px solid var(--gray);
	border-radius: 8px;
	padding-inline: 33px;
	width: 100%;
	color: var(--black);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.37;
	background: transparent;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
	color: var(--gray);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	justify-content: space-between;
	column-gap: 1.5rem;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.37;
	color: var(--white);
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Contact form 7
--------------------------------------------- */
.modal-content {
	background-clip: inherit;
	border: none;
	border-radius: 8px;
	padding: 32px;
	max-width: 412px;
}

.modal-content .modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
}
.wpcf7-acceptance {
	font-weight: 400;
	font-size: 14px;
	line-height: 171%;
	color: var(--black);
}

p:has(.wpcf7-acceptance) {
	margin-bottom: 0;
}

.wpcf7-acceptance a {
	color: var(--red);
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 0 0 1rem;
}

.popup__thanks {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.3);
	z-index: 99999;
} 

.popup__thanks .popup__content {
	background: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	max-width: 412px;
	min-height: 195px;
	position: relative;
	padding: 32px;
	border-radius: 8px;
}

.popup__thanks .popup__title {
	font-weight: 600;
	font-size: 32px;
	line-height: 1.37;
	color: var(--green);
	margin-bottom: 8px;
}

.popup__thanks .popup__text {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.37;
	text-align: center;
	color: var(--black);
}

.popup__thanks .popup__logo {
	margin-top: auto;
}

.popup__thanks .popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	cursor: pointer;
}

.wpcf7-spinner {
	opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    bottom: 0;
}

.form__title {
	font-weight: 600;
	font-size: 32px;
	line-height: 137%;
	color: var(--green);
	margin-bottom: 0.5rem;
}

.form__title p {
	margin-bottom: 0;
}

.form__text {
	font-weight: 400;
	font-size: 16px;
	line-height: 137%;
	color: var(--black);
	margin-bottom: 1.5rem;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
}

/* Header
--------------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 999;
	padding: 1.5rem 0;
	transition: all 0.4s ease;
}

.error404 .header,
.page-template-default .header {
	background: var(--dark-gray);
}

.header.active {
	background: var(--dark-gray);
	padding: 1rem 0;
}

.header__contacts {
	display: flex;
	align-items: center;
	column-gap: 1.5rem;
}

.header__phones {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.header__phones-link {
	font-weight: 600;
	font-size: 20px;
	line-height: 1.4;
	color: var(--white);
}

.header__phones-link--small {
	font-size: 16px;
	line-height: 1.37;
}


.header__phones-link:hover {
	color: var(--green);
}

.logo {
	max-width: 264px;
}

/* Hero
--------------------------------------------- */

.hero {
	height: 100vh;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 250px 0 48px;
	position: relative;
	overflow: hidden;
	margin-top: -140px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(6.5px);
	background: rgba(0, 0, 0, 0.7);
	transform: rotate(-180deg);
}

.hero .container {
	z-index: 10;
	position: relative;
}

.hero__title {
	margin-bottom: 1rem;
}

.hero__text {
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.44;
	color: var(--white);
	margin-bottom: 1.5rem;
}


/* Advantages
--------------------------------------------- */

.advantages__item {
	border-radius: 8px;
	background: var(--white);
	display: flex;
	flex-direction: column;
	row-gap: 8px;
	padding: 1.5rem;
	align-items: center;
	height: 100%;
}

.advantages__item-text {
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.44;
	text-align: center;
	color: var(--black);
}

/* Production
--------------------------------------------- */

.production {
	padding: 6rem 0;
}

.production__download {
	display: inline-flex;
	align-items: center;
	column-gap: 0.5rem;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.44;
}

.production__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
	background: var(--white);
	border-radius: 8px;
	padding: 24px;
}

.production__item-content {
	display: flex;
	flex-direction: column;
}

.production__item-image {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1.5rem;
	flex: 1 1 auto;
}

.production__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.production__item-title {
	font-weight: 500;
	font-size: 18px;
	line-height: 144%;
	color: var(--black);
	margin-bottom: 8px;
}

.production__item-price {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.44;
	color: var(--black);
	margin-bottom: 1.5rem;
}

.production__item-price span {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.37;
	color: var(--dark-gray);
}

.production__item-button {
	width: 100%;
	margin-top: auto;
}

/* Consultation
--------------------------------------------- */

.consultation {
	padding: 6rem 0;
	position: relative;
	background: var(--beige);
}

.consultation__image {
	width: 43.6458333333%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
}

.consultation__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.consultation__text {
	margin-bottom: 1.5rem;
}

/* About
--------------------------------------------- */

.about {
	padding: 6rem 0;
	overflow: hidden;
}

.about__images {
	display: flex;
	align-items: center;
	column-gap: 1.5rem;
}

.about__images img {
	border-radius: 8px;
}

/* License
--------------------------------------------- */

.license {
	padding-bottom: 6rem;
}

.license__image {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
	background: var(--white);
	padding: 1.5rem;
	border-radius: 8px;
}

.license-arrows {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 1.5rem;
	margin: 1rem auto 0;
}

/* Order
--------------------------------------------- */

.order {
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #008642 0%, #00a953 100%);
}

.order .container {
	z-index: 1;
	position: relative;
}

.order__title {
	color: var(--white);
}

.order__text {
	color: var(--white);
	margin-bottom: 1.5rem;
}

.order__buttons {
	display: flex;
	align-items: center;
	column-gap: 1.5rem;
}

.order__button {
	background: var(--white);
	min-width: 306px;
	height: 48px;
	padding-inline: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	column-gap: 0.5rem;
	font-weight: 600;
	font-size: 18px;
	line-height: 144%;
	color: var(--green);
	transition: all 0.4s ease;
	border-radius: 8px;
	border: none;
}

.order__button:hover {
	color: var(--white);
	background: var(--red);
}

svg path {
	transition: all 0.4s ease;
}

.order__button:hover svg path {
	fill: var(--white);
}

.order__image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	aspect-ratio: 618 / 358;
}

.order__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Contacts
--------------------------------------------- */

.contacts {
	padding: 6rem 0;
}

.contacts__block {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
	background: var(--beige);
	border-radius: 8px;
}

.contacts__block-content {
	padding: 3rem 3rem 1rem;
}

.contacts__block-wrapper {
	display: flex;
	flex-direction: column;
	row-gap: 1.5rem;
}

.contacts__block-text {
	padding-left: 32px;
	font-weight: 600;
	font-size: 18px;
	line-height: 144%;
	color: var(--black);
	background-position: left center;
	background-repeat: no-repeat;
}

.contacts__block--address {
	background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C17.4762 1 21.9155 5.3843 21.9155 10.7926C21.9155 14.3714 18.9163 18.1554 13.0447 22.2775L12 23L11.3696 22.5656C5.2249 18.3315 2.08453 14.4547 2.08453 10.7926C2.08453 5.3843 6.52385 1 12 1ZM12 7.6C10.7831 7.6 9.79658 8.58497 9.79658 9.8C9.79658 11.015 10.7831 12 12 12C13.217 12 14.2035 11.015 14.2035 9.8C14.2035 8.58497 13.217 7.6 12 7.6Z" fill="%23FF6F61" /></svg>');
}

.contacts__block--worktime {
	background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2Z" fill="%23FF6F61" /><path d="M12.9933 7.88338C12.9355 7.38604 12.5128 7 12 7C11.4477 7 11 7.44772 11 8V13L11.0087 13.1314C11.0374 13.3481 11.1366 13.5508 11.2929 13.7071L13.2929 15.7071L13.3871 15.7903C13.7794 16.0953 14.3466 16.0676 14.7071 15.7071C15.0976 15.3166 15.0976 14.6834 14.7071 14.2929L13 12.5858V8L12.9933 7.88338Z" fill="white" /></svg>');
}

.contacts__block--phone {
	background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.5547 9.83205C9.8329 9.64658 10 9.33435 10 9V5C10 3.34315 8.65685 2 7 2H3C2.44772 2 2 2.44772 2 3C2 12.9411 11.0589 22 21 22C21.5523 22 22 21.5523 22 21V17C22 15.3431 20.6569 14 19 14H15C14.6656 14 14.3534 14.1671 14.1679 14.4453L12.2626 17.3033C10.1874 15.9615 8.36925 14.1892 6.97074 12.149L6.69668 11.7374L9.5547 9.83205ZM15.5352 16H19C19.5523 16 20 16.4477 20 17V19.9653C18.0628 19.8313 16.1721 19.3132 14.4087 18.4916L14.0041 18.2966L15.5352 16ZM4.03467 4H7C7.55228 4 8 4.44772 8 5V8.46482L5.70338 9.9959C4.76882 8.11845 4.17903 6.08626 4.03467 4Z" fill="%23FF6F61" /><path d="M8 3H3L3.5 7L5.5 11L8 9.5L9 8V4.5L8 3Z" fill="%23FF6F61" /><path d="M15 15L13 18.5L15.5 20.5L20.5 21L21.5 17L20 15H15Z" fill="%23FF6F61" /></svg>');
}

.contacts__block--email {
	background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.7318 15.7092L23 7.24672V5.71875C23 4.76953 22.2305 4 21.2812 4H2.71875C1.76953 4 1 4.76953 1 5.71875V7.24672L11.2682 15.7092C11.6922 16.0587 12.3078 16.0586 12.7318 15.7092Z" fill="%23FF6F61" /><path d="M12 17.6891C11.3518 17.6891 10.7038 17.4713 10.175 17.0354L1 9.47388V18.8638C1 19.813 1.76953 20.5825 2.71875 20.5825H21.2812C22.2305 20.5825 23 19.813 23 18.8638V9.47388L13.8249 17.0355C13.2963 17.4711 12.6481 17.6891 12 17.6891Z" fill="%23FF6F61" /></svg>');
}

.contacts__block-requisites {
	background: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	column-gap: 0.5rem;
	padding: 1.5rem;
}

.contacts__map {
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.contacts__map > div {
	height: 100%;
}

.contacts__map iframe {
	width: 100%;
	height: 100%;
}

/* Footer
--------------------------------------------- */

.footer {
	background: var(--dark-gray);
	padding: 3rem 0;
}

.footer__contacts {
	display: flex;
	justify-content: space-between;
	column-gap: 1rem;
}

.footer__phones {
	display: flex;
	flex-direction: column;
	row-gap: 0.5rem;
}

.footer__phones-link {
	font-weight: 600;
	font-size: 20px;
	line-height: 140%;
	color: var(--white);
}

.footer__messangers .messangers__item {
	font-weight: 500;
	font-size: 16px;
	line-height: 137%;
	color: var(--white);
	column-gap: 1rem;
	display: inline-flex;
	align-items: center;
}

.footer-copyright {
	padding: 1rem 0;
	background: var(--white);
}

.footer__link {
	font-weight: 500;
	font-size: 1rem;
	line-height: 137%;
	color: var(--dark-gray);
}

.footer-navigation ul.menu {
	column-count: 2;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-navigation ul.menu a {
	font-weight: 500;
	font-size: 1rem;
	padding: 0.5rem 0;
	display: inline-block;
	line-height: 1.37;
	color: var(--white);
}

/* MOBILE MENU */

.mobile__wrapper {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease;
}

.mobile__menu {
	padding-bottom: 3rem;
}

.mobile__info {
	border-top: 1px solid #939393;
	padding: 1.5rem 0;
	display: grid;
	row-gap: 1rem;
}

.mobile__close {
	position: fixed;
	top: 30px;
	right: 12px;
	z-index: 2;
	background: transparent;
	padding: 0;
	height: auto;
	width: auto;
	min-width: inherit;
	padding: 0;
	line-height: 1;
	display: block;
	border: none;
}

.mobile__close svg {
	width: 32px;
	height: 32px;
}

.open--bottom .mobile__close {
	display: block;
}

.mobile__wrapper.open {
	opacity: 1;
	visibility: visible;
}

.mobile__navigation {
	background: var(--gray6);
	padding: 3rem 12px 3rem;
	z-index: 999;
	width: 100%;
	overflow-y: scroll;
	transition: all 0.4s ease;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.07);
	z-index: 1;
	position: relative;
	height: 100%;
	transform: translateX(-100%);
}

.mobile__wrapper.open .mobile__navigation {
	transform: translateX(0);
}

.mobile-active {
	overflow: hidden;
}

.mobile__logo {
	margin-bottom: 20px;
	max-width: 240px;
}

#mobile_menu {
	padding: 0;
	margin: 0;
	display: grid;
	row-gap: 16px;
	list-style: none;
}

.mobile__menu ul a {
	font-weight: 400;
	font-size: 16px;
	line-height: 162%;
	color: var(--white);
}

.mobile__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 0;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
	display: grid;
	row-gap: 16px;
}

.mobile__menu ul.sub-menu a {
	font-weight: 500;
	font-size: 14px;
	line-height: 150%;
	padding-left: 8px;
	color: var(--white);
	display: block;
}

.mobile__button {
	width: 25px;
	flex: 0 0 25px;
	height: 20px;
	position: relative;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
 	display: none;
	padding: 0;
	border: none;
	background: transparent;
}

.mobile__button:hover {
	background: transparent;
}

.mobile__button-line {
	display: block;
  	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--green);
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

.mobile__button span:nth-child(1) {
	top: 0px;
}

.mobile__button span:nth-child(2) {
	top: 10px;
}

.mobile__button span:nth-child(3) {
	top: 20px;
}

.mobile__button.open span:nth-child(1) {
	width: 0%;
}

.mobile__button.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mobile__button.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 10px;
}

.mobile__toggle {
	height: auto;
	line-height: 1;
	width: auto;
	padding: 0;
	border: none;
	position: absolute;
	top: 0;
	right: 8px;
	background: transparent !important;
}

.mobile__toggle svg {
	fill: var(--green);
}

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children.open .sub-menu {
	height: auto;
	opacity: 1;
	visibility: visible;
	padding-top: 1rem;
}

.menu-item-has-children.open .mobile__toggle {
	rotate: -90deg;
}

.mobile__social {
	padding-top: 20px;
}

.mobile__social-title {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0.5rem;
	display: block;
}

.mobile__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: rgba(255,255,255,0.4);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.mobile__wrapper.open .mobile__overlay {
	opacity: 1;
}

.mobile__address,
.mobile__worktime,
.mobile__phone a,
.mobile__email a {
	font-weight: 600;
    font-size: 1rem;
    line-height: 1.62;
    color: var(--white);
}

.mobile-socials {
	margin-bottom: 16px;
}

.error-404 {
	padding: 6rem 0;
}

.error-404__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.error-404__title {
	font-weight: 600;
	font-size: 18px;
	line-height: 144%;
	color: #231f20;
	margin-bottom: 1.5rem;
}

.mobile__address,
.mobile__worktime,
.mobile__phone a,
.mobile__email a {
	padding-left: 32px;
	background-position: left center;
    background-repeat: no-repeat;
}

.mobile__logo {
	margin-bottom: 1rem;
}

.modal input[type="text"],
.modal input[type="tel"],
.modal input[type="email"] {
	border-color: #949494
}

.modal input[type="text"]::placeholder,
.modal input[type="tel"]::placeholder,
.modal input[type="email"]::placeholder {
	color: #949494
}


@media (max-width: 1400px) {
	.main-navigation ul { 
		column-gap: 1rem; 
	}
	.header__phones-link {
		font-size: 16px;
	}
	.header__contacts {
		column-gap: 1rem;
	}	
}

@media (max-width: 1199px) {
	.button, input[type="button"], input[type="reset"], input[type="submit"] {
		font-size: 16px;
		padding-inline: 1rem;
	}
}

@media (max-width: 991px) {
	.main-navigation { 
		display: none; 
	}
	.mobile__button { 
		display: flex;
	}
	.hero {
		height: auto;
		padding: 160px 0 48px;
	}
	.container--advantages {
		margin-top: 1.5rem;
	}
	
	.container--advantages .col {
		flex: 1 0 50%;
		margin-bottom: 1.5rem;
	}
	.consultation {
		display: flex;
		flex-direction: column-reverse;
	}
	.consultation__image {
		position: static;
		width: 100%;
	}
	.order__buttons {
		flex-direction: column;
		align-items: stretch;
		row-gap: 1rem;
	}
	.order::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1;
	}
	.footer {
		padding: 1.5rem 0;
	}
	.footer__contacts {
		flex-direction: column;
	}
	
	.consultation__image {
		display: none;
	}
}

@media (max-width: 767px) {
	.button--callback {
		display: none;
	}
	.header__contacts {
		margin-left: auto;
		margin-right: 1rem;
	}
	h1, .page-title {
		font-size: 2.5rem;
	}
	h2, .section-title {
		font-size: 1.75rem;
	}
	.production,
	.consultation,
	.about,
	.order,
	.contacts,
	.error-404 {
		padding: 3rem 0;
	}
	.license {
		padding-bottom: 3rem;
	}
	.about__images {
		flex-direction: column;
		row-gap: 1rem;
	}
	.about__images img {
		width: 100%;
	}
	.footer-navigation ul.menu {
		column-count: 1;
	}
	.footer-copyright {
		text-align: center;
	}
}

@media (max-width: 576px) {
	.header, .header.active { 
		padding: 0.5rem 0;
	}
	.header__phones {
		display: none;
	}
	h1, .page-title {
		font-size: 2rem;
	}
	h2, .section-title {
		font-size: 1.5rem;
	}
	.contacts__block-content {
		padding: 1.5rem 1.5rem 1rem;
	}
	.contacts__block-wrapper {
		row-gap: 1rem;
	}
	.contacts__block-text {
		font-size: 16px;
	}
	.contacts__map iframe {
		height: 400px;
	}
	.button, input[type="button"], input[type="reset"], input[type="submit"] {
		width: 100%;
	}
	.advantages__item {
		padding: 1rem;
	}
	.advantages__item-text {
		font-size: 1rem;
	}
}