/*!
Theme Name: Stroiburg
Theme URI: http://underscores.me/
Author: Underscores.me
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: stroiburg
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.

stroiburg 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
--------------------------------------------------------------*/

/* 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.
 */

/* Import font Inter */
@import url('./fonts/inter.css');

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/* .header-top above */
.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	margin: 0;
	height: 80px;
}
.whatsapp,
.telegram,
.vk {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
	background: #3f75c90f;
	border-radius: 50%;
}
.whatsapp:hover,
.telegram:hover,
.vk:hover {
	background: #4d5c721a;
}
.section-item {
	display: flex;
	flex-direction: column;
	padding: 20px;
}
.footer.section-item,
.form-contact.section-item {
	padding: 75px;
	position: relative;
	justify-content: center;
}
.form-contact .section-title {
	position: absolute;
	left: 75px;
}
.form-contact .section-content {
	display: block;
}
.form-contact form {
	display: flex;
	flex-direction: column;
}
.carusel.section-item:first-child {
	flex-direction: column;
	padding-bottom: 0;
}
.carusel.section-item {
	flex-direction: column;
}

.contacts,
.carusel {
	background-color: rgba(63, 117, 201, 0.0588);
}

.carusel .section-title {
	margin-bottom: 30px;
	align-self: center;
}
.carusel .section-title {
	max-width: fit-content;
}
.footer-logo {
	height: 89px;
}
.footer-menu {
	display: flex;
	padding: 0;
	margin: 0;
}
.footer-menu-block-1,
ul.footer-menu-block-2 {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #fff;
	letter-spacing: -0.02em;
	margin-left: 40px;
}
.footer-menu-block-1 {
	padding: 0;
}
ul.footer-menu-block-1 {
	display: flex;
	padding: 0;
	margin: 0;
}
ul.footer-menu-block-1 li.menu-item {
	margin: 0 0 0 30px;
	height: 16px;
	max-width: 177px;
	display: flex;
    flex-direction: column;
}
ul.footer-menu-block-1 .sub-menu li.menu-item {
	height: auto;
}
ul.footer-menu-block-1 li.menu-item >a {
	color: #fff;
	min-width: 150px;
	max-width: 210px;
	justify-content: flex-start;
}
.footer-menu .menu-item-has-children > a::before,
.footer-menu .menu-item-has-children > a::after {
	content: none;
}
ul.footer-menu-block-1 li.menu-item ul.sub-menu {
	opacity: 1;
	visibility: visible;
	position: relative;
	background: transparent;
	box-shadow: none;
	max-width: 210px;
    padding: 0;
    margin: 0;
    border-left: 1px solid #9f9f9f;
}
ul.footer-menu-block-1 li.menu-item ul.sub-menu li {
	margin: 0;
}
.footer-menu-block-1 ul.sub-menu .menu-item a {
	color: #9f9f9f;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	padding: 0 0 10px 15px;
}
.footer-menu-block-1 ul.sub-menu .menu-item a:hover {
	background-color: transparent;
	color: #bdbdbd;
}
ul.footer-menu-block-2 {
	max-width: 120px;
	padding: 0;
	margin: 0 0 0 40px;
}
.footer-menu-block-1 ul li {
	 list-style-type: none;
	 padding: 0 0 12px;
	 margin-left: 15px;
	 font-size: 14px;
	 line-height: 16px;
	 font-weight: 400;
}
ul.footer-menu-block-2 li.menu-item {
	padding: 0;
	height: auto;
}
ul.footer-menu-block-2 li.menu-item >a {
	 list-style-type: none;
	 text-decoration: none;
	 color: #fff;
	 padding: 0 0 20px;
	 margin: 0;
	 font-size: 14px;
	 line-height: 16px;
	 font-weight: 400;
	 justify-content:flex-start;
}
.footer-menu-block-1 ul li a {
	text-decoration: none;
	color: #9f9f9f;
}
.footer-menu-block-1 ul li a:hover {
	color: #bfbfbf;
}
ul.footer-menu-block-2 li a:hover {
	color: #e5e5e5;
}
.footer-menu-block-3 {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.footer-social-contacts {
	display: inline-flex;
	gap: 8px;
	line-height: 0;
}
.footer-social-contacts .callback {
    font-size: 14px;
    font-weight: 400;
	width: 170px;
	height: 40px;
	background-color:  #3F75C9;
    padding: 0 8px;
    border-radius: 10px;
    border: 0;
	cursor: pointer;
}
.footer-telephone-email-address {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 30px;
	margin-top: 12px;
	font-size: 16px;
    font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}
.footer-telephone-email-address a {
	text-decoration: none;
	color: #fff;
}
.footer-telephone-email-address a:hover {
	color: #e5e5e5;
}
.footer-social-contacts-phones {
	display: none;
}
.border-radius-2 {
	border-radius: 2px;
}
.section-title {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.section-content {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
	margin-top: 35px;
}
.col-item {
	height: 326px;
	border: 1px solid #00000011;
	border-radius: 20px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.11);
}
.col-item-img {
	width: 100%;
	height: 204px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px 20px 0 0;
}
.col-item-content {
	padding: 20px 17px;
}
.col-item-content h4 {
	font-size: 18px;
	line-height: 22px;
	font-weight: 400;
	color: #000;
}
.col-item-content h5,
.col-item-content p {
	font-size: 14px;
	line-height: 17px;
	font-weight: 400;
	color: #8595AD;
}
.col-item-content p {
	margin: 0;
}
.col-item-content p span {
	color: #000;
	font-size: 18px;	
	font-weight: 400;
}
/* Catalog Paginator */
.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination-arrow {
    display: inline-block;
    height: 48px;
    transition: all 0.3s ease;
}

.pagination-arrow:hover:not(.disabled) {
    opacity: 0.8;
}

.pagination-arrow.disabled {
    display: none;
}

.pagination-info {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-info .current-page {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.21);
    padding: 2px 8px;
    font-size: 14px;
    font-weight: 400;
}

.pagination-info .page-link {
    display: inline-block;
    padding: 2px 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.71);
    border: 1px solid rgba(0, 0, 0, 0.71);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination-info .page-link:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.col-item-content-add-block {
	display: flex;
	align-items: center;
	margin-top: 15px;
	justify-content: space-between;
}
.col-item-content-add-block button {
	display: block;
	width: 106px;
	height: 26px;
	border-radius: 5px;
	background-color: #3F75C9;
	color: #fff;
	font-size: 14px;
	font-weight: 300;
	border: 0;
	line-height: 17px;
	cursor: pointer;
}

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
	font-family: 'Inter', sans-serif;
}

.site {
	max-width: 1440px;
	margin: 0 auto;
}

/**
 * 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 {
	color: #404040;
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #000;
	margin: 0;
	padding: 0;
	letter-spacing: -0.02em;
}
h3 {
	font-size: 26px;
	font-weight: 400;
	text-transform: uppercase;
}
.form-contact h3 {
	font-size: 40px;
	line-height: 46px;
	color: #fbbb50;	
}
h5 {
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
}
h5 a {
	color: #000;
	text-decoration: none;
}
h5 a:hover {
	color: #000000b9;
	text-decoration: underline;
}
p {
	margin-bottom: 1.5em;
}

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%;
}

/* Forms */
.input-label {
	display: block;
	color: #fbbb50;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin-top: 25px;
}
.input-label:first-child {
	margin-top: 0;
}
.input-field,
.textarea-field {
	width: 100%;
	height: 40px;
	background: #fff;
	border: 1px solid #C9C9C9 !important;
	border-radius: 7px;
	color: #C9C9C9;
	font-size: 22px;
	font-weight: 300;
}
.textarea-field {
	height: 108px;
}
.file-upload-label {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding-left: 12px;
	width: 368px;
	height: 42px;
	background: #ffecc9;
	border: 1px solid #fbbb50;
	color: #1b1b1b;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.02em;
	border-radius: 2px;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.file-upload-label:hover {
	background: #e6d2ae;
	transform: translateY(-2px);
}

.file-upload-label:active {
	transform: translateY(0);
}

.file-icon {
	width: 24px;
	height: 24px;
}

.file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
/* Базовый стиль для скрытия стандартного чекбокса */
.checkbox-container {
	display: inline;
	position: relative;
	padding-left: 25px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 300;
	color: #4A4A4A;
	text-align: center;
}

.checkbox-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Вариант 1: Простой кастомный чекбокс */
.checkmark {
	position: absolute;
	top: 0;
	left: 35px;
	height: 19px;
	width: 19px;
	background-color: #fff;
	border: 1px solid #a7a7a7;
	border-radius: 5px;
	transition: all 0.3s;
}

.checkbox-container:hover input ~ .checkmark {
	border-color: #969696;
}

.checkbox-container input:checked ~ .checkmark {
	background-color: #3F75C9;
	border-color: #3F75C9;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
	display: block;
}

.checkbox-container .checkmark:after {
	left: 5px;
    top: 2px;
    width: 7px;
    height: 10px;
    border: solid 2px #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}






/* Elements
--------------------------------------------- */
body {
	background-color: #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%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

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"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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

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"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 7px;
	padding: 3px;
}

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: flex;
	width: 100%;
	height: 40px;
	background-color: #f4f7fb;
	justify-content: center;
	align-items: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.desktop-menu li:hover > .sub-menu {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background-color: #fff;

}

.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;
	text-decoration: none;
	color: #171717;
	font-weight: 400;
}
.desktop-menu {
	height: 60px;
	margin: 0;
	display: flex;
	align-items: center;
}
.menu-item{
	height: 40px;
	color:#fff;
	display: flex;
	text-decoration: none;
	padding: 0 46px 0 0;
}
.menu-item:last-child {
	padding: 0;
}

.menu-item >a {
	display: flex;
	color:#3F75C9;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 16px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	width: 100%;
	height: 100%;
}
.menu-item >a:hover {
	color:#4d85dd;
}
.footer-menu-block-1 ul.sub-menu {
	opacity: 1;
	visibility: visible;
	position: relative;
	background: transparent;
	box-shadow: none;
	max-width: 177px;
    padding: 0;
    margin: 20px 0 0;
    border-left: 1px solid #9f9f9f;
}

.menu.desktop-menu a:hover {
	/* transform: translateX(-3px); */
	background: rgba(245, 245, 245, 0.2);
}
.menu.desktop-menu :hover {
	/* background: linear-gradient(to right, transparent 5%, rgba(253, 127, 1, 0.44) 100%); */
}
.menu-item-has-children > a::before,
.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.menu-item-has-children > a::before {
  right: 10px;
  transform: translateY(-50%) rotate(45deg);
}

.menu-item-has-children > a::after {
  right: 7px;
  transform: translateY(-50%) rotate(-45deg);
}

/* Анимация при наведении */
.menu-item-has-children:hover > a::before,
.menu-item-has-children.open-menu > a::before {
  transform: translateY(-50%) rotate(-45deg);
}

.menu-item-has-children:hover > a::after,
.menu-item-has-children.open-menu > a::after {
  transform: translateY(-50%) rotate(45deg);
}
/* Submenu */
.sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 10px 0;
  transition: opacity 0s, visibility 0.3s ease;
  z-index: 1000;
}

/* Показываем подменю при наведении на родительский элемент */
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Дополнительные стили для пунктов подменю */
.sub-menu .menu-item {
  padding: 0;
  margin: 0;
}

.sub-menu .menu-item a {
  display: flex;
  padding: 15px;
  color: #333;
  text-decoration: none;
  justify-content: left;
  transition: background-color 0.2s ease;
}

.sub-menu .menu-item a:hover {
  background-color: #fbbb50;
}

.menu.desktop-menu li {
	flex-grow: 1;
	text-align: center;
}
.social-contacts{
	display: flex;
	gap: 8px;
	align-items: center;
}
.callback {
    font-size: 14px;
    font-weight: 300;
	color: #fff;
	width: 170px;
	height: 40px;
	background-color:  #3F75C9;
    padding: 0 8px;
    border-radius: 10px;
    border: 0;
	cursor: pointer;
}
.telephone {
	font-size: 18px;
	font-weight: 400;
	color: #000;
	text-decoration: none;
}
.telephone:hover {
	color: #000000c3;
}
.right-contacts {
	display: flex;
    flex-direction: column;
    align-items: end;
	justify-content: center;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.main-navigation.toggled ul {
	display: flex;
}
.menu-toggle {
	border: 0;
    background: none;
    padding: 5px;
}
.hamburger-box {
	width: 22px;
	height: 17px;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	width: 100%;
	height: 3px;
	border-top-left-radius: 1.5px;
	border-top-right-radius: 1.5px;
	border-bottom-left-radius: 1.5px;
	border-bottom-right-radius: 1.5px;
	background-color: #D9D9D9;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
[aria-expanded="true"] .hamburger-inner {
	background-color: transparent;
}
[aria-expanded="true"] span.hamburger-inner::before {
    transform: rotate(45deg) translate(3px, 7px);
}
[aria-expanded="true"] span.hamburger-inner::after {
    transform: rotate(-45deg) translate(3px, -7px);
}
.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	width: 100%;
	height: 3px;
	border-top-left-radius: 1.5px;
	border-top-right-radius: 1.5px;
	border-bottom-left-radius: 1.5px;
	border-bottom-right-radius: 1.5px;
	background-color: #D9D9D9;
	position: absolute;
	left: 0;
}

.hamburger-inner::before {
	top: -7px;
}

.hamburger-inner::after {
	bottom: -7px;
}
@media screen and (min-width: 1024px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		height: auto;
		align-self: center;
	}
}

.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;
}
/* Slider */
.top-slider {
	display: flex;
	height: 440px;
	position: relative;
	overflow: hidden;
	margin: 20px;
	border-radius: 20px;
	background-image:
		url("img/bg-slider-desk-bottom.png"),
		url("img/bg-slider-desk-top.png"),
		linear-gradient(to right, #3F75C9 0%, #8CB3F1 100%);
	background-position: bottom right, top right;
	background-repeat: no-repeat;
}
.top-slider-left {
	width: 100%;
    height: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	padding-left: 40px;
}
.cover-right-roof {
	position: absolute;
	right: 0;
	bottom: 0;
}
.t-s-l-text-and-controls {
	display: block;
	max-width: 755px;
}
h1.entry-title {
	font-family: 'Inter', sans-serif;
	color: #fff;
	margin: 0;
	font-size: 56px;
	font-weight: bold;
}
h1.entry-title {
	display: inline;
    line-height: normal;
}
.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 50px;
	width: 621px;
}

.btn {
	display: inline-flex;
	gap: 19px;
	padding: 0;
	text-decoration: none;
	font-weight: 400;
	border-radius: 2px;
	text-align: center;
	transition: all 0.3s ease;
	width: 331px;
	height: 80px;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	color: #3F75C9;
	cursor: pointer;
}

.btn-primary {
	background-color: #fff;
	border-radius: 15px;
}

.btn-primary:hover {
	background-color: #ffffffc5;
	border: 1px solid #3F75C9;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
	background-color: transparent;
	color: #fbbb50 !important;
	border: 1px solid #fbbb50;
}

.btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid #ffe090;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
/* Forms */
.request-form {
	display: flex;
	height: 310px;
	position: relative;
	overflow: hidden;
	margin: 20px;
	border-radius: 20px;
	padding: 30px;
	background-image:
		url("img/bg-form-request-desk-top-left.png"),
		url("img/bg-form-request-desk-center.png"),
		linear-gradient(to right, #3F75C9 0%, #8CB3F1 100%);
	background-position: top left, center center;
	background-repeat: no-repeat;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.request-form-title h3 {
	font-size: 36px;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
}
.request-form-title h4 {
	font-size: 28px;
	line-height: 29px;
	font-weight: 200;
	color: #fff;
}
.request-form-title p {
	font-size: 16px;
	font-weight: 200;
	color: #fff;
	margin: 0;
}
.request-form-wrapper {
	position: relative;
	background-color: #fff;
	border-radius: 20px;
	width: 438px;
	height: 250px;
}
.request-form form,
.popup-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 20px;
}
.request-form input,
.popup-form input {
	width: 100%;
	height: 40px;
	background: #fff;
	border: 1px solid #C9C9C9 !important;
	border-radius: 7px;
	color: #3c3c3c !important;
	font-size: 22px;
	font-weight: 300;
}
.request-form input[type="checkbox"],
.popup-form input[type="checkbox"] {
	width: 1px;
	height: 1px;
	display: block;
	position: absolute;
}
.request-form input::placeholder,
.popup-form input::placeholder {
	color: #C9C9C9 !important;
}
.request-form-submit {
	width: 100%;
	height: 40px;
	background: #3F75C9;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	font-weight: 300;
	text-transform: uppercase;
	transition: all 0.3s ease;
}
.request-form-submit:hover {
	background: #4a83dd;
	transform: translateY(-2px);
}
.request-form-submit:active {
	transform: translateY(0);
}

/* Media queries */
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .menu-item {
	padding: 0 18px 0 0;
  }
  .menu-item > a {
	font-size: 11px;
    line-height: 13px;
  }
  .top-slider-left {
	padding-left: 20px;
  }
  .entry-title {
	font-size: 50px !important;
    line-height: 70px !important;
  }
  .buttons {
	width: 100%;
  }
  .cover-right-roof {
	max-width: 620px;
    right: -60px;
  }
}
@media screen and (max-width: 768px) {
  .scheme-of-work .col-item::after {
	content: '';
	width: 60px;
	height: 69px;
	background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2022%2069%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L21%2036.1543L1%2068%22%20stroke%3D%22%23FBBB50%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center; 
  }
  .scheme-of-work .col-item {
	margin-right: 5px;
	padding: 15px 5px 0 0;
	max-width: 200px;
  }
  .scheme-of-work .col-item .col-content p {
	font-size: 13px;
	margin: 5px 0;
  }	
  .footer {
	height: 348px !important;
	background-size: cover;
  }
  .footer-logo {
	width: auto;
	height: 39px !important;
  }
  .footer-menu-block-3 .whatsapp,
  .footer-menu-block-3 .telegram,
  .footer-menu-block-3 .vk {
	width: 24px;
	height: 24px;
  }
  .footer-menu-block-3 .callback {
	display: block;
	width: 124px;
	height: 24px;
	font-size: 12px;
  }
  .footer-telephone-email-address span {
	font-size: 12px;
	text-align: right;
  }
  .footer-menu-block-1,
  .footer-menu-block-2,
  .footer-menu-block-1 ul li,
  .footer-menu-block-2 ul li {
	font-size: 12px;
	line-height: 14px;
  }
}
@media screen and (max-width: 1024px) {
  .footer {
	height: 380px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1100px) {
  .main-navigation {
    gap: 5px;
  }
  .section-item,
  .footer.section-item,
  .form-contact.section-item {
	padding: 26px;
	position: relative;
	justify-content: center;
  }
  .form-contact .section-title {
	left: 26px;
  }
  .footer-menu-block-1,
  .footer-menu-block-2 {
	margin-left: 10px;
  }
  .footer-logo {
	width: auto;
	height: 59px;
  }
  .footer-menu-block-2 ul {
	margin-left: 5px;
  }
  .form-contact .section-title h3 {
	font-size: 22px;
	line-height: 26px;
	width: 160px;
  }
  h3 {
	font-size: 20px;
	line-height: 24px;
  }
  h5 {
	font-size: 16px;
	line-height: 19px;
  }
  .col-content {
	margin-left: 15px;
  }
  .col-content p {
	font-size: 13px;
  }
  .col-content-icon {
	height: 45px;
	margin-bottom: 16px;
  }
  .kinds-1 .col-content-icon,
  .kinds-3 .col-content-icon {
	height: 110px;
	margin-bottom: 16px;
  }
  .advantages-works .col-content-icon {
	height: 55px;
	margin-bottom: 16px;
  }
  .section-title {
	min-width: 225px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1100px) {
  .section-title {
	min-width: 205px;
	max-width: 205px;
  }
}
@media screen and (min-width: 1100px) and (max-width: 1200px) {
  .form-contact .section-title h3 {
	font-size: 26px;
	line-height: 29px;
  }
  h3 {
	font-size: 26px;
	line-height: 29px;
  }
  .section-item,
  .footer.section-item,
  .form-contact.section-item {
	padding: 46px;
	position: relative;
	justify-content: space-between;
  }
  .form-contact .section-title {
	left: 46px;
  }
  .section-title {
	min-width: 275px;
  }
  .footer-menu-block-1,
  .footer-menu-block-2 {
	margin-left: 20px;
  }
  .footer-logo {
	width: auto;
	height: 69px;
  }
  .footer-menu-block-2 ul {
	margin-left: 10px;
  }
}
@media screen and (max-width: 1023px) {
  .main-navigation {
	position: relative;
  }
  .desktop-menu {
    position: absolute;
    top: 91px;
    z-index: 1000; 
    width: 100%;
	height: auto;
	align-items: start;
    flex-direction: column;
  }
  .desktop-menu.active {
	display: flex;
	padding-left: 25px;
  }
  .callback {
	display: none;
  }
  .right-contacts {
	flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .telephone {
	font-size: 14px;
  }
  .mail {
	font-size: 12px;
  }
  .menu-item-has-children.open-menu {
    flex-direction: column;
  }
  .menu-item a {
	justify-content: left;
  }
  .menu-item-has-children.open-menu > .sub-menu {
	opacity: 1;
	visibility: visible;
	display: flex;
	flex-direction: column;
    left: 0;
	background-color: #fff9ee;
  }
}
@media screen and (max-width: 480px) {
  .header-top {
	padding: 0 20px;
  }
  .social-contacts {
	gap: 3px;
  }
  .main-navigation {
	display: none;
	position: absolute;
	gap: 8px;
	height: auto;
	z-index: 1000;
	padding: 30px 10px;
  }
  .main-navigation.active {
	display: flex;
  }
  .desktop-menu {
	position: initial;
  }
  .site-logo img {
	width: 110px;
	min-width: 110px;
  }
  .whatsapp,
  .telegram,
  .vk {
	width: 38px;
	height: 38px;
  }
  .whatsapp svg,
  .telegram svg,
  .vk svg {
	width: 22px;
	height: 22px;
  }
  .telephone {
	text-wrap: nowrap;
  }
  .top-slider {
	flex-direction: row;
    height: auto;
	margin: 0;
	background-image:
		url("img/bg-slider-desk-bottom.png"),
		url("img/bg-slider-mob-top.png"),
		linear-gradient(to right, #3F75C9 0%, #8CB3F1 100%);
	background-position: bottom right, top right;
	background-size: 95% auto, auto, auto;
  }
  .top-slider-left {
	width: 100%;
	padding: 10px 15px;
	min-height: 440px;
	justify-content: flex-start;
  }
  h1.entry-title {
	font-size: 28px;
    line-height: initial;
    display: block;
	text-align: center;
	margin-top: 50px;
  }
  .buttons {
	margin-top: 50px;
    width: 100%;
	justify-content: center;
  }
  .btn {
	width: 331px;
    height: 80px;
    padding: 0 !important;
  }
  .request-form {
	background-image:
		url("img/bg-form-request-desk-top-left.png"),
		linear-gradient(to right, #3F75C9 0%, #8CB3F1 100%);
	background-position: top left;
	background-repeat: no-repeat;
	flex-direction: column;
	height: auto;
  }
  .request-form-wrapper {
	width: auto;
	height: auto;
  }
  .section-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 33px 0;
  }
  .footer-logo {
	width: 203px;
	height: 67px !important;
  }
  .footer-menu,
  .footer-telephone-email-address,
  .footer-social-contacts {
	display: none;
  }
  .footer-social-contacts-phones {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 25px;
  }
  .footer-social-contacts-phones .callback {
	width: 185px;
	height: 46px;
	font-size: 16px;
	letter-spacing: -0.02em;
  }
  .footer-social-contacts-phones .social {
	display: flex;
	gap: 8px;
  }
  .footer-social-contacts-phones .social .whatsapp,
  .footer-social-contacts-phones .social .telegram,
  .footer-social-contacts-phones .social .vk {
	width: 34px;
	height: 34px;
  }
  .footer-social-contacts-phones .telephone,
  .footer-social-contacts-phones .mail {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	padding-top: 5px;
  }
  .footer-social-contacts-phones .mail {
	font-weight: 400;
	padding: 0 0 5px;
  }
  .footer-social-contacts-phones .telephone:hover,
  .footer-social-contacts-phones .mail:hover {
	color: #f2f2f2;
  }
  .footer-social-contacts-phones .address {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	padding-top: 25px;
  }
  .form-contact {
	background-size: contain;
  }
  .section-item,
  .footer.section-item,
  .form-contact.section-item {
	padding: 16px;
	flex-direction: column;
	position: initial;
  }
  .footer.section-item,
  .form-contact.section-item {
	align-items: center;
	padding: 50px;
  }
  .form-contact.section-item {
	padding: 30px;
  }
  .form-contact .section-title {
	position: relative;
	left: auto;
	margin-right: auto;
  }
  .section-title {
	max-width: fit-content;
	min-width: fit-content;
	padding: 30px 0 0;
	align-self: center;
  }
  .form-contact .section-title h3 {
	font-size: 22px;
	line-height: 26px;
  }
  .request-form {
	margin: 16px;
  }
  .request-form-title h3 {
	font-size: 26px;
	font-weight: 400;
	text-align: center;
	margin: 25px 0 10px;
  }
  .request-form-title h4 {
	font-size: 20px;
	line-height: 21px;
	text-align: center;
  }
  .request-form-title p {
	font-size: 14px;
	font-weight: 200;
	text-align: center;
	margin-bottom: 30px;
  }
  .checkmark {
	left: 0;
  }
  h3 {
	font-size: 20px;
	line-height: 24px;
  }
  h5 {
	font-size: 16px;
	line-height: 19px;
  }
  .col-content {
	margin-left: 15px;
  }
  .col-content p {
	font-size: 13px;
	margin-right: 15px;
  }
  .col-content-icon {
	height: 45px;
	margin-bottom: 16px;
  }
  .footer {
	height: 454px;
    background-size: contain;
	background-repeat: repeat-y;
  }
}
@media screen and (max-width: 375px) {
	.site-logo img {
		width: 100px;
		min-width: 100px;
	}
	.telephone {
		font-size: 12px;
	}
	h1.entry-title {
		font-size: 24px;
	}
}
@media screen and (max-width: 415px) {
  .top-slider-left {
	padding: 10px 10px;
	min-height: 320px;
  }
  .buttons {
	margin-top: 25px;
    width: 100%;
  }

  .form-contact {
	background-size: contain;
  }
  .section-item,
  .footer.section-item,
  .form-contact.section-item {
	padding: 10px;
	flex-direction: column;
	position: initial;
  }
  .form-contact.section-item {
	padding: 10px;
  }
  .form-contact .section-title {
	position: relative;
	left: auto;
	margin-right: auto;
  }
  .form-contact .section-title h3 {
	font-size: 20px;
	line-height: 22px;
  }
  h3 {
	font-size: 18px;
	line-height: 20px;
  }
}
@media screen and (min-width: 320px) and (max-width: 375px) {
	.header-top {
      padding: 0 10px;
    }
}
@media screen and (min-width: 320px) and (max-width: 395px) {
    .whatsapp,
	.telegram,
	.vk {
		width: 34px;
		height: 34px;
	}
	.whatsapp svg,
	.telegram svg,
	.vk svg {
		width: 20px;
		height: 20px;
	}
	.telephone {
        font-size: 11px;
    }
}
@media screen and (min-width: 396px) and (max-width: 430px) {
	.telephone {
        font-size: 12px;
    }
}
@media screen and (min-width: 500px) and (max-width:750px) {
  .cover-right-roof {
    right: -165px;
	max-width: 500px;
  }
  .buttons {
	flex-direction: column;
	width: auto;
  }
  .entry-title {
    font-size: 30px !important;
    line-height: 37px !important;
	margin-left: 22px !important;
    display: block !important;
  }
  .section-title {
	margin-bottom: 20px;
  }
  h3{
	font-size: 18px;
    line-height: 22px;
  }
  .form-contact .section-content {
	display: flex;
    justify-content: center;
  }
  .form-contact
  .section-title h3 {
    font-size: 20px;
    line-height: 22px;
  }
  .form-contact
  .section-title {
	position: relative;
	left: auto;
  }
  .telephone {
    font-size: 13px;
  }
  .section-item,
  .footer.section-item,
  .form-contact.section-item {
    padding: 15px;
    flex-direction: column;
    position: initial;
  }
  .footer.section-item {
	align-items: center;
	padding-top: 50px;
  }
  .section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .col-item-content h4,
  .col-item-content p span {
	font-size: 15px;
  }
  .col-item-content h5,
  .col-item-content p {
	font-size: 12px;
  }
  .footer-menu,
  .footer-telephone-email-address,
  .footer-social-contacts {
    display: none;
  }
  .footer-logo {
    width: 203px;
    height: 67px !important;
  }
  .footer-social-contacts-phones {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 25px;
  }
  .footer-social-contacts-phones .callback {
	width: 185px;
	height: 46px;
	font-size: 16px;
	letter-spacing: -0.02em;
  }
  .footer-social-contacts-phones .social {
	display: flex;
	gap: 8px;
  }
  .footer-social-contacts-phones .social .whatsapp,
  .footer-social-contacts-phones .social .telegram,
  .footer-social-contacts-phones .social .vk {
	width: 34px;
	height: 34px;
  }
  .footer-social-contacts-phones .telephone,
  .footer-social-contacts-phones .mail {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	padding-top: 5px;
  }
  .footer-social-contacts-phones .mail {
	font-weight: 400;
	padding: 0 0 5px;
  }
  .footer-social-contacts-phones .telephone:hover,
  .footer-social-contacts-phones .mail:hover {
	color: #f2f2f2;
  }
  .footer-social-contacts-phones .address {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	padding-top: 25px;
  }
  .main-navigation {
	display: none;
	position: absolute;
	gap: 8px;
	height: auto;
	z-index: 1000;
	padding: 30px 10px;
  }
  .main-navigation.active {
	display: flex;
  }
  .desktop-menu {
	position: initial;
  }
  .nav-links {
    display: none;
  }
}
@media screen and (min-width: 751px) and (max-width: 768px) {
  .col-item-content h5,
  .col-item-content p {
	font-size: 12px;
  }
  .request-form .checkmark {
	left: 10px;
  }
}
@media screen and (min-width: 751px) and (max-width: 1023px) {
  .section-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .col-item-content h4,
  .col-item-content p span {
	font-size: 12px;
  }
  .main-navigation {
	display: none;
	position: absolute;
	gap: 8px;
	height: auto;
	z-index: 1000;
	padding: 30px 10px;
  }
  .main-navigation.active {
	display: flex;
  }
  .desktop-menu {
	position: initial;
  }
  .nav-links {
    display: none;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .col-item-content h5,
  .col-item-content p {
	font-size: 11px;
  }
  .col-item-content p span {
	font-size: 12px !important;
  }
}
/* Media queries */
/* Slider */


.post,
.page {
	margin: 0 0 1.5em;
}
.page {
	margin-bottom: 0;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}
.entry-content-inner-page {
	padding: 45px;
}

.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;
}
.site-logo {
	/* padding: 15px; */
}

.site-logo img {
	display: flex;
	width: 157px;
	/* height: 63px; */
}

/* 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;
}

/* Popups
--------------------------------------------- */
.custom-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.custom-popup-overlay.active {
	opacity: 1;
	visibility: visible;
}

.custom-popup {
	background: white;
	border-radius: 15px;
	padding: 30px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	transform: translateY(50px);
	transition: transform 0.4s ease;
}

.custom-popup-overlay.active .custom-popup {
	transform: translateY(0);
}

.popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
	color: #777;
	background: none;
	border: none;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup-close:hover {
	color: #333;
}

.popup-title {
	margin-top: 0;
	color: #222;
	font-size: 24px;
}

.popup-content {
	margin: 10px 0;
	line-height: 1.6;
	color: #555;
}
.popup-content p {
	margin: 0;
}
.popup-content-success,
.request-form-success {
	color: #00a30b;
}
.popup-content-error,
.request-form-error {
	color: #ff0000;
}
.request-form-success,
.request-form-error {
	display: block;
    position: absolute;
    width: 100%;
    text-align: center;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: 300;
}
/* Адаптивность */
@media (max-width: 600px) {
	.custom-popup {
		padding: 20px;
		width: 95%;
	}
}

/* FAQ */
.faq-section {
	display: flex;
	flex-direction: column;
	padding: 20px;
}
.faq-section .section-title {
	margin-bottom: 15px;
}
/* Десктопная версия - 2 колонки */
.faq-container {
	display: grid;
	grid-template-columns: 1fr 415px;
	gap: 60px;
	align-items: start;
}

/* Левая колонка - вопросы */
.questions-column {
	padding: 0;
}

.faq-item {
	border-bottom: 1px solid #DEE2E6;
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.faq-item:first-child {
	border-top: 1px solid #DEE2E6;
}

.faq-item:hover {
	background: #f8f9fa;
	margin: 0 -20px;
	padding: 20px;
}

.question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 400;
	font-size: 18px;
	color: #8595AD;
}

.answer {
	margin-top: 15px;
	font-size: 14px;
	font-weight: 300;
	color: #000;
	display: none;
}

.faq-item.active .answer {
	display: block;
}
.toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 16px;
	transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
	transform: rotate(180deg);
}

/* Правая колонка - менеджер */
.manager-column {
	background: white;
	border-radius: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.21);
    padding: 20px;
	text-align: center;
}

.manager-avatar {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: url(img/manager.jpg) no-repeat center center / cover;
	margin: 0 auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 48px;
	font-weight: bold;
}

.manager-name {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #000;
}

.manager-position {
	color: #8595AD;
	margin: 0;
	font-size: 14px;
	font-weight: 300;
}

.manager-description {
	display: block;
	background-color: rgba(63, 117, 201, 0.1216);
	color: #090C0E;
	font-size: 14px;
	font-weight: 300;
	padding: 20px 23px;
	margin: 15px 0 20px;
	line-height: 1.2;
	letter-spacing: 0.05em;
	border-radius: 10px 0 10px 10px;
	text-align: left;
}

.consultation-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-input {
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: #3498db;
}

.submit-btn {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
	height: 40px;
    padding: 0;
	background: #3F75C9;
	color: #fff;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 300;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background: #4a83dd;
    transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
	.faq-section {
		padding: 0;
	}

	.faq-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.questions-column {
		padding: 0;
		order: 1;
	}

	.manager-column {
		padding: 20px;
		margin: 12px;
		order: 2;
	}

	.manager-avatar {
		width: 80px;
		height: 80px;
		font-size: 32px;
	}

	.manager-name {
		font-size: 20px;
	}

	.faq-item {
		padding: 16px;
	}

	.faq-item:hover {
		margin: 0 -10px;
		padding: 15px;
	}

	.question {
		font-size: 14px;
	}
}

/* Анимация для аккордеона */
.faq-item.active .answer {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}


/* Footer */
.footer {
	background: #EBF1F9;
	padding: 60px 20px 20px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Десктопная версия */
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 30px;
	align-items: start;
}

.logo-section {
	grid-column: 1;
	grid-row: 1;
}

.footer .logo-section .logo img {
	width: 257px;
}

.footer .logo-section .description {
	color: rgba(103, 123, 152, 0.81);
	font-size: 14px;
	font-weight: 300;
	margin: 0 0 45px 0;
	line-height: 1.5;
}

.callback-btn {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 243px;
	height: 50px;
    padding: 0;
	background: #3F75C9;
	color: #fff;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 300;
	transition: all 0.3s ease;
}

.callback-btn:hover {
	background: #4a83dd;
    transform: translateY(-2px);
}

.nav-section {
	grid-column: 2;
	grid-row: 1;
}

.nav-links {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
}

.nav-links li {
	height: auto;
	margin-bottom: 25px;
}

.nav-links a {
	color: #677B98;
	font-size: 20px;
	font-weight: 300;
	text-decoration: none;
	transition: color 0.3s;
	letter-spacing: 0.10em;
    justify-content: start;
}

.nav-links a:hover {
	color: #7c93b4;
}

.contacts-section {
	grid-column: 3;
	grid-row: 1;
	text-align: right;
}
.contacts-section .title {
	color: #000;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.10em;
}

.contacts-section .phone {
	font-size: 22px;
	font-weight: 400;
	line-height: 24px;
	margin-top: 5px;
}
.contacts-section .phone a {
	color: #000;
	text-decoration: none;
}
.contacts-section .phone a:hover {
	color: #000000c3;
}
.contacts-section .messengers {
	display: flex;
	gap: 8px;
	justify-content: end;
}
.contacts-section .schedule {
	color: rgba(103, 123, 152, 0.61);
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 26px;
	font-weight: 300;
	border-bottom: 1px solid rgba(103, 123, 152, 0.21);
}

.contacts-section .address {
	display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
	color: rgba(103, 123, 152, 0.61);
	font-size: 14px;
	line-height: 16px;
	font-weight: 300;
}


/* Мобильная версия */
@media (max-width: 768px) {
	.footer-grid {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto auto;
		gap: 5px;
		text-align: center;
	}

	.logo-section {
		grid-column: 1;
		grid-row: 1;
		order: 1;
	}

	.logo {
		font-size: 22px;
	}

	.description {
		font-size: 14px;
	}

	.contacts-section {
		grid-column: 1;
		grid-row: 2;
		order: 2;
		text-align: center;
	}

	.phone {
		font-size: 20px;
	}

	.callback-btn {
		grid-column: 1;
		grid-row: 3;
		order: 3;
		width: 100%;
		max-width: 250px;
		margin: 0 auto;
		padding: 15px;
		font-size: 16px;
	}

	.nav-section {
		grid-column: 1;
		grid-row: 4;
		order: 4;
	}
	.nav-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}

	.nav-links li {
		margin-bottom: 0;
	}
	.nav-links {
		display: none;
	}
	.footer {
		padding: 7px;
	}
	.footer .logo-section .description {
		margin-bottom: 15px;
	}
	.contacts-section .address,
	.contacts-section .messengers {
		justify-content: center;
		margin-bottom: 5px;
	}
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
	.footer {
		padding: 30px 20px;
		height: auto !important;
	}
	.footer-grid {
		gap: 0;
	}
	.nav-links {
		display: none;
	}
	.callback-btn {
		max-width: 100%;
	}
	.contacts-section {
		display: flex;
        flex-direction: column;
        align-items: center;
	}
	.contacts-section .title {
		margin-top: 45px;
	}
	.contacts-section .schedule {
		min-width: 250px;
		margin-bottom: 10px;
	}
	.contacts-section .address,
	.contacts-section .messengers {
		justify-content: center;
		margin-bottom: 5px;
	}

}