/*!
Theme Name: stroy-t71
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: stroy-t71
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.

stroy-t71 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.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	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 {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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

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

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: 3px;
	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: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

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

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

.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-flex;
  align-items: center;
}

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

/*--------------------------------------------------------------
# Custom Header
--------------------------------------------------------------*/
.site-header {
  background: linear-gradient(to bottom, #ffffff00, #ffffff00);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: all 0.25s ease;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: transparent;
	z-index: 1;
	transition: background 0.25s ease, backdrop-filter 0.25s ease;
  	pointer-events: none;
}

.site-header.scrolled::before {
	background: #298c3bd3;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  display: block;
  height: 0.5px;
  background: #fff;
  margin-right: clamp(12px, 1.8vw, 48px);
}

.header-container,
.logo,
.header-btn,
.main-nav { 
  position: relative;
  z-index: 2;
}

.header-container {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  margin: 0 auto;
  padding: clamp(6px, 0.9vw, 24px);
  column-gap: clamp(3px, 0.45vw, 12px);
}

.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  z-index: 9999;
}

.custom-logo {
  display: block;
  height: clamp(24px, 3.6vw, 96px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.custom-logo:hover {
	transform: scale(1.15);
}


.header-container-inner { 
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: clamp(10px, 1.5vw, 40px);
}

.header-btn {
	justify-self: center;
	display: flex;
	align-items: center;
	z-index: 9999;
	transition: transform 0.35s ease;
}

.header-btn.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.5);
}

.header-btn .btn-consult {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: clamp(7px, 1.05vw, 28px);
  line-height: 1.56;
  letter-spacing: 0;
  background: #fff;
  color: #298C3B;
  padding: clamp(6px, 0.9vw, 24px) clamp(9px, 1.35vw, 36px);
  border-radius: 90px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

.header-btn .btn-consult:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

.main-nav {
  justify-self: center;
  display: flex;
}

.main-nav ul {
  display: flex;
  gap: clamp(12px, 1.8vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.5vw, 40px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.56;
  letter-spacing: 0;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  width: clamp(16px, 2.4vw, 64px);
  height: clamp(12px, 1.8vw, 48px);
  cursor: pointer;
  z-index: 10010;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  transform-origin: center;
  width: 100%;
}


/* Анимация бургера */
.burger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
background-color: #298C3B;
}
.burger.active span:nth-child(2) {
opacity: 0;
}
.burger.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
background-color: #298C3B;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.4s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav ul li {
  position: relative;
  z-index: 0;
}

.main-nav ul li > a {
  position: relative;
  z-index: 4;
  text-decoration: none;
  color: #fff;
}

.main-nav ul ul {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  transform-origin: top;
  background: #298c3bb9;
  border-radius: 6px;
  text-align: center;
  z-index: auto;
  padding-top: clamp(40px, 6vw, 160px);
  padding-bottom: clamp(3px, 0.45vw, 12px);

  display: flex;
  flex-direction: column;
  align-items: stretch;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 3;
  will-change: transform, opacity;
}

.main-nav ul li:hover > ul,
.main-nav ul li > ul:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; 
  transition:
    opacity 0.35s ease 0s,
    transform 0.35s ease 0s,
    visibility 0s linear 0s;
}


.main-nav ul ul li {
  display: block;
  margin: 0;
}

.main-nav ul ul a {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(6px, 0.9vw, 24px);
  display: block;
  padding: 0 clamp(10px, 1.5vw, 40px);
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease-in-out;
  letter-spacing: 1.1;
}

.main-nav ul ul a:hover {
  letter-spacing: 1.1;
}

.main-nav ul ul a::after {
  left: 10%;
  width: 80%;
}

body.admin-bar .site-header {
  top: 32px;
}

/* Отдельное меню */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  flex-direction: column;
  padding: 5px;
  overflow-y: auto;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms ease;
  pointer-events: none;
  z-index: 1;
}


.mobile-menu-overlay.opening,
.mobile-menu-overlay.active {
	display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
	.site-header::after {
		display: none;
	} 

	.header-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		/* padding: 10px; */
		/* padding: 20px; */
		padding: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}

	.custom-logo {
		/* height: 28px; */
		/* height: 58px; */
		height: clamp(28px, calc(6.69643vw + 6.57143px), 58px);
	}

	.header-right {
		gap: 0px;
	}

	.header-right-inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}

	.header-btn .btn-consult {
		/* font-size: 10px; */
		/* font-size: 20px; */
		font-size: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
		/* padding: 6px 10px; */
		/* padding: 12px 20px; */
		padding: clamp(6px, calc(1.33929vw + 1.71429px), 12px);
	}

	.main-nav {
		display: none;
		visibility: hidden;
		pointer-events: none;
	}
	
	.burger {
		display: flex;
		/* width: 22px; */
		/* width: 50px; */
		width: clamp(22px, calc(6.25000vw + 2.00000px), 50px);
		height: 100%;
		/* gap: 4px; */
		/* gap: 8px; */
		gap: clamp(4px, calc(0.89286vw + 1.14286px), 8px);
	}

	.burger span {
		/* height: 2px; */
		/* height: 5px; */
		height: clamp(2px, calc(0.66964vw + -0.14286px), 5px);
	}

	.burger.active span:nth-child(1) {
	transform: rotate(45deg) translate(1.3vw, 1.3vw);
	background-color: #298C3B;
	}
	.burger.active span:nth-child(2) {
	opacity: 0;
	}
	.burger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(1.3vw, -1.3vw);
	background-color: #298C3B;
	}

	.mobile-menu-overlay .mobile-nav {
		position: static;
		display: flex;
		align-items: start;
		list-style: none;
		/* margin: 0 10px; */
		/* margin: 0 20px; */
		margin: 0 clamp(10px, calc(2.23214vw + 2.85714px), 20px);
		padding: 0;
		padding-top: 40px;
		font-family: 'Unbounded', sans-serif;
	}

	.mobile-menu-overlay .mobile-nav ul {
		margin: 0;
		padding: 0;
	}

	.mobile-menu-overlay .mobile-nav li {
		list-style: none;
		/* margin-bottom: 10px; */
		/* margin-bottom: 30px; */
		margin-bottom: clamp(10px, calc(4.46429vw + -4.28571px), 30px);
		position: relative;
	}

	.mobile-menu-overlay .mobile-nav ul li ul li a {
		display: inline;
		border-bottom: 0.5px solid #298C3B;
	}

	.mobile-menu-overlay .mobile-nav li a {
	display: block;
	position: relative; 
	text-decoration: none;
	color: #298C3B;
	/* font-size: 16px; */
	/* font-size: 36px; */
	font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	font-weight: 500;
	/* padding: 10px 0; */
	/* padding: 30px 0; */
	padding: clamp(10px, calc(4.46429vw + -4.28571px), 30px) 0;
	}

	.mobile-menu-overlay .mobile-nav ul.sub-menu {
		list-style: none;
		padding: 0 16px;
		margin: 0;
		display: none;
		max-height: 0;
		opacity: 0;
		overflow: visible;
		transition: max-height 0.35s ease, opacity 0.35s ease;
	}

	.mobile-menu-overlay .mobile-nav .sub-menu a {
		line-height: 1;
		font-size: 12px;
		font-weight: 300px;
		padding: 0;
	}

	.mobile-menu-overlay .mobile-nav ul.sub-menu.active {
	display: block;
	max-height: 300px;
	opacity: 1;
	}


	.mobile-menu-overlay .submenu-toggle {
	position: absolute;
	right: 0;
	top: 0%;
	transform: translateY(-0%);
	width: 16px;
	height: 16px;
	cursor: pointer;
	background-size: contain;
	background-repeat: no-repeat;
	}


	.mobile-menu-overlay .mobile-nav li.current-menu-item > a,
	.mobile-menu-overlay .mobile-nav li.current_page_item > a {
		font-weight: 600;
		color: #37b34d;
	}

	.mobile-menu-overlay .mobile-nav li.menu-item-has-children > a { 
        display: inline-flex; 
        align-items: center; 
        position: relative; 
        padding-right: 40px; 
	}

	.mobile-menu-overlay .mobile-nav li.menu-item-has-children > a > .submenu-toggle { 
        position: absolute; 
        right: 8px; 
        top: 50%; 
        transform: 
        translateY(-50%); 
        width: 16px; 
        height: 16px; 
        display: inline-block; 
        cursor: pointer; 
        background-size: 
        contain; 
        background-repeat: no-repeat; 
        background-position: center; 
	}

	.mobile-menu-overlay .mobile-nav .sub-menu a { 
        display: inline; 
        line-height: 1; 
        /* font-size: 11px;  */
        /* font-size: 21px;  */
        font-size: clamp(11px, calc(2.23214vw + 3.85714px), 21px); 
        font-weight: 300; 
        padding: 8px 0; 
      }

	.mobile-header-btn {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		top: 85%;
		z-index: 9999;
		transition: transform 0.35s ease;
	}

	.mobile-header-btn .mobile-btn-consult {
		font-family: 'Unbounded', sans-serif;
		font-weight: 400;
		line-height: 1.56;
		letter-spacing: 0;
		background: #298C3B;
		color: #fff;
		border-radius: 90px;
		text-decoration: none;
		white-space: nowrap;
		overflow: hidden;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
		flex: 0 0 auto;
		/* font-size: 12px; */
		/* font-size: 30px; */
		font-size: clamp(12px, calc(4.01786vw + -0.85714px), 30px);
		/* padding: 8px 13px; */
		/* padding: 16px 26px; */
		padding: clamp(8px, calc(1.78571vw + 2.28571px), 16px) clamp(13px, calc(2.90179vw + 3.71429px), 26px);
		}

		.mobile-header-btn .mobile-btn-consult:hover {
		background: #fff;
		color: #298C3B;
		box-shadow: 0 0 12px 4px #ffffff99;
		}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
  top: 46px;
}
	body.admin-bar .mobile-menu-overlay .mobile-nav {
		margin-top: 68px;
	}

	body.admin-bar .mobile-menu-overlay .mobile-header-btn {
		top: 90%;
	}
}
/*--------------------------------------------------------------
# Custom Footer
--------------------------------------------------------------*/

.site-footer {
  background: #298C3B; /* основной зеленый */
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

/* grid 4 колонки */
.footer-grid {
  display: grid;
  grid-template-columns: max-content repeat(3, 1fr) 1.2fr;
  gap: 24px 40px;
  align-items: start;
}

.footer-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 0;
	transition: transform 0.25s ease;
}

.footer-logo:hover {
	transform: scale(1.15);
}

.footer-logo .custom-logo,
.footer-logo img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
}

/* колонки ссылок */
.footer-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  font-size: 16px;
  margin: 0 0 12px;
  color: #fff;
}

/* меню футера */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin: 28px 0;
  
}
.footer-menu a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 400;
  letter-spacing: 0;
}
.footer-menu a:hover {
  color: #e6f8ff;
  text-decoration: underline;
}

.contact-item { 
	margin: 16px 0;
    font-family: 'Montserrat', sans-serif;
	color: #fff; 
	font-size: 16px; 
	letter-spacing: 0;
}
.contact-item a { 
	color: #fff; 
	text-decoration: none; 
}

.footer-cta__btn {
  display: flex;
  background: #fff;
  color: #298C3B;
  padding: 12px 22px;
  border-radius: 90px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.56;
  letter-spacing: 0;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

.footer-cta__btn:visited {
	color: #298C3B;
}

.footer-cta__btn:hover {
  background: #73D584;
  color: #fff;
}

/* нижняя полоса / текст */
.footer-bottom {
  border-top: 1px solid #73D584;
  margin-top: 26px;
  padding-top: 18px;
}

.footer-bottom-inner {
	max-width: 1400;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.footer-bottom-left {
  max-width: calc(100% - 300px);
  color: #ffffff8f;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: clamp(6px, calc(2.00893vw + -0.42857px), 15px);
  line-height: 1;
  letter-spacing: 1.2px;
}

.footer-note {
	max-width: 77%;
}

.footer-legal-links {
	list-style: none;
	margin: clamp(6px, 0.9vw, 24px) 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-legal-link {
	color: #ffffff8f;
	text-decoration: none;
	font-size: clamp(6px, calc(2.00893vw + -0.42857px), 15px);
	transition: all 0.25s ease;
}

.footer-legal-link:visited {
	color: inherit;
}

.footer-legal-link:hover {
	color: #fff;
}

.footer-bottom-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	min-width: 180px;
}

.footer-social-icons {
	display: flex;
	gap: 25px;
	align-items: center;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(18px, 2.7vw, 72px);
	height: clamp(18px, 2.7vw, 72px);
	color: #fff;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-link:hover {
	transform: scale(1.15);
}

.social-link:focus {
	outline: none;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

/* Контейнер списка контактов */
.contacts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Каждый контактный пункт */
.contact-item {
  margin: clamp(8px, 1.2vw, 32px) 0;
}

/* Ссылка или просто контейнер (для выравнивания и иконок) */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

/* Для статичных элементов (без ссылки) */
.contact-link--static {
  cursor: default;
}

/* При наведении на кликабельные элементы */
.contact-link:hover {
  color: #e6f8ff;
  text-decoration: underline;
}

.contact-link--static:hover {
  text-decoration: none;
  color: #fff;
}

/* Иконки слева от текста */
.contact-icon {
  width: clamp(10px, 1.5vw, 40px);
  height: clamp(10px, 1.5vw, 40px);
  margin-right: clamp(8px, 1.2vw, 32px);
  flex-shrink: 0;
  opacity: 1;
}

/* Текст контакта */
.contact-text {
  display: inline-block;
  font-size: clamp(8px, calc(3.12500vw + -2.00000px), 22px);
}

.footer-our-social-mobile {
	display: none;
}

@media (max-width: 768px) {

	.footer-logo .custom-logo,
	.footer-logo img {
		/* height: 56; */
		/* height: 120; */
		height: clamp(56px, calc(14.28571vw + 10.28571px), 120px);
	}

	.footer-inner {
		/* padding: 20px 16px; */
		/* padding: 40px 32px; */
		padding: clamp(20px, calc(4.46429vw + 5.71429px), 40px) clamp(16px, calc(3.57143vw + 4.57143px), 32px);
	}

	.footer-grid {
		display: flex;
		flex-direction: column;
		/* gap: 5px; */
		/* gap: 10px; */
		gap: clamp(5px, calc(1.11607vw + 1.42857px), 10px);
	}

	.footer-cta__btn {
		width: 100%;
	}
	
	.footer-bottom-inner {
		flex-direction: column-reverse;
		align-items: center;
	}

	.footer-bottom-left {
		max-width: 100%;
		/* font-size: 6px; */
		/* font-size: 12px; */
		font-size: clamp(6px, calc(1.33929vw + 1.71429px), 12px);
	}

	
  .footer-note {
    max-width: 100%;
    margin-bottom: 8px;
  }

  .footer-legal-links {
    flex-direction: column;
    /* gap: 4px; */
    /* gap: 8px; */
    gap: clamp(4px, calc(0.89286vw + 1.14286px), 8px);
    margin-bottom: 8px;
  }

  .footer-bottom-right {
    align-items: center;
    min-width: auto;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-title {
	/* font-size: 12px; */
	/* font-size: 20px; */
	font-size: clamp(12px, calc(1.78571vw + 6.28571px), 20px);
  }

  .contact-text {
	/* font-size: 8px; */
	/* font-size: 20px; */
	font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.footer-our-social-mobile {
		display: flex;
		flex-direction: column;
		margin: 20px 0;
	}

	.footer-bottom-right {
		display: none;
	}

	.footer-social-icons {
		display: inline-block;
	}

	.social-link {
		/* width: 30px; */
		/* width: 90px; */
		width: clamp(30px, calc(13.39286vw + -12.85714px), 90px);
		/* height: 30px; */
		height: clamp(30px, calc(13.39286vw + -12.85714px), 90px);
		/* margin-right: 15px; */
		margin-right: 15px;
		padding: 10px;
	}

	.footer-menu li {
		margin: 8px 0;
	}

	.footer-menu a {
		/* font-size: 12px; */
		/* font-size: 24px; */
		font-size: clamp(12px, calc(2.67857vw + 3.42857px), 24px);
	}

	.footer-cta__btn {
		/* font-size: 12px; */
		/* font-size: 18px; */
		font-size: clamp(12px, calc(1.33929vw + 7.71429px), 18px);
		width: 100%;
	}

	.footer-legal-link {
		/* font-size: 7px; */
		/* font-size: 14px; */
		font-size: clamp(7px, calc(1.56250vw + 2.00000px), 14px);
	}

	.footer-logo .custom-logo,
	.footer-logo img {
		/* height: 56px; */
		/* height: 100px; */
		height: clamp(56px, calc(9.82143vw + 24.57143px), 100px);
	}
}

/* Тест                   домов  */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px;
}

.house-card {
  background: #298c3bda;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.house-card:hover {
  transform: scale(1.03);
}

.house-thumb {
  width: 100%;
  border-radius: 6px;
}

.house-title {
  color: #fff;
  font-size: 20px;
  margin: 10px;
}

.house-info p {
  color: #fff;
  margin: 5px 0;
}

/*--------------------------------------------------------------
# Страницы legal privacy/consent
--------------------------------------------------------------*/

.legal-hero {
	position: relative;
	background: url('/wp-content/uploads/contacts-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2564;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}


.legal-content {
	margin: 94px auto 80px;
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	/* margin-top: -150px; */
	/* margin-top: -2150px; */
	margin-top: clamp(-150px, calc(-446.42857vw + 1278.57143px), -2150px);
}

.legal-article {
	background: #ffffff;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 10px 30px #06140f0f;
	color:#111;
}

.legal-article__header {
	margin-bottom: 28px;
}
.legal-title {
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(11px, 1.65vw, 44px);
	font-weight: 500;
	margin: 0;
	color:#111;
}

.legal-article__body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #222;
	font-size: clamp(7px, 1.05vw, 28px);
	line-height: 1.6;
}
.legal-article__body h2 {
	font-size: clamp(7px, 1.05vw, 28px);
	margin: 28px 0 12px;
	font-weight: 600;
}
.legal-article__body p {
	margin: 0 0 14px;
}
.legal-article__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0 24px;
}
.legal-article__body th,
.legal-article__body td {
	padding:  10px 12px;
	border: 1px solid #e6e6e6;
	vertical-align: top;
}
.legal-article__body th {
	font-size: clamp(7px, 1.05vw, 28px);
	background: #f7f7f7;
	text-align: center;
}
.legal-article__body td {
	font-size: clamp(6px, 0.9vw, 24px);
}
.legal-article__body ul,
.legal-article__body ol {
	margin: 0 0 16px 1.15rem;
	padding-left: 1.15rem;
}
.legal-article__body li {
	margin: 0 0 8px;
}

.legal-article__body li::marker {
	color: #298C3B;
	font-weight: 600;
	font-size: clamp(6px, 0.9vw, 24px);
}

/*--------------------------------------------------------------
# Страница Контакты
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.contacts-hero {
	position: relative;
	background: url('/wp-content/uploads/contacts-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2564;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.contacts-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.contacts-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

h1.entry-title {
	color: transparent;
}

.contacts-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(8px, 3.5vw, 120px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.contacts-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.contacts-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);;
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacts-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент
--------------------------------------------- */
.contacts-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-400px, -30vw, -210px);
}
/* Контактный блок
--------------------------------------------- */
.contacts-content-connect {
	font-family: 'Unbounded', sans-serif;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: clamp(38px, 4vw, 152px) clamp(20px, 3vw, 80px);
	gap: clamp(20px, 2vw, 80px);
}

.contacts-content-connect__info {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.contacts-content-connect__title {
	color: #298C3B;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1.2;
}

.contacts-content-connect__text {
	color: #298C3B;
	font-size: clamp(12px, 1.65vw, 48px);
	line-height: 1;
	font-weight: 300;
}

.contacts-content-connect__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2vw;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacts-content-connect__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

/* Социальные сети
--------------------------------------------- */

.contacts-content-socials {
	position: relative;
	background: #fff;
}

.contacts-content-socials::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80vw;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url('/wp-content/uploads/social-house.png');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  transform: translateY(34.9%);
  z-index: 0;
  pointer-events: none;
}

.contacts-content-socials__title {
	padding: clamp(15px, 2vw, 60px) clamp(20px, 3vw, 80px);
	position: relative;
	display: inline-block;
	border-top-right-radius: 90px;
	border-bottom-right-radius: 90px;
	text-transform: uppercase;
	background-color: #298C3B;
	font-size: clamp(16px, 2.3vw, 64px);
	font-family: 'Unbounded', sans-serif;
	color: #fff;
	z-index: 1;
	font-weight: 500;
}

.contacts-content-socials__icons {
	margin-top: clamp(12px, 2vw, 30px);
	background: #298C3B;
}

.contacts-content-socials__icons > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 80px);
  padding: clamp(15px, 2vw, 60px) clamp(20px, 3vw, 80px);
  align-items: center;
  box-sizing: border-box;
  width: 35vw;
}

.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > .wp-block-image,
.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > .wp-block-image img,
.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure img {
  display: block;
  max-width: clamp(20px, 8vw, 200px);
  height: auto;
  transition: transform 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure img:hover {
  transform: scale(1.1);
}

.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure img:focus,
.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure:focus,
.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure img:active,
.contacts-content-socials__icons
  > .wp-block-group__inner-container
  > figure img:visited {
	outline: none;
}

.contacts-content-socials__icons a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Аккредитация
--------------------------------------------- */
.contacts-content-accreditation {
	font-family: 'Unbounded', sans-serif;
	display: block;
	align-items: center;
	padding: clamp(38px, 4vw, 152px) clamp(20px, 3vw, 80px);
	gap: clamp(20px, 2vw, 80px);
}

.contacts-content-accreditation__title {
	color: #298C3B;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 0.54;
}

.contacts-content-accreditation__text {
	color: #298C3B;
	font-size: clamp(12px, 1.65vw, 48px);
	line-height: 0.26;
	font-weight: 300;
}

.contacts-content-accreditation__content {
	position: relative;
	display: flex;
}

.contacts-content-accreditation__icons {
	display: flex;
	flex-wrap: wrap;             
	align-items: flex-end;
	gap: clamp(20px, 3vw, 100px);
}

.contacts-content-accreditation__icons img {
	display: block;
	width: clamp(80px, 16vw, 400px); 
	height: auto;
}

.contacts-content-accreditation__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2vw;
  width: fit-content;
  height: fit-content;
  font-size: clamp(10px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacts-content-accreditation__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

/* Расположение офиса
--------------------------------------------- */
.contacts-content-office {
	display: block;
	align-items: center;
	
}

.contacts-content-office__start {
	padding: clamp(38px, 4vw, 152px) clamp(20px, 3vw, 80px);
	gap: clamp(20px, 2vw, 80px);
}

.contacts-content-office__title {
	font-family: 'Unbounded', sans-serif;
	color: #298C3B;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1.2;
}

.contacts-content-office__text {
	font-family: 'Montserrat', sans-serif;
	color: #298C3B;
	font-size: clamp(12px, 1.65vw, 48px);
	line-height: 1.2;
	font-weight: 500;
	max-width: clamp(150px, 25vw, 600px);
}

.contacts-content-office > iframe {
	height: clamp(300px, 45vw, 900px);
}


.contacts-content-office__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  margin-top: 2vw;
  margin-right: clamp(20px, 3vw, 80px);
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacts-content-office__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}
/* Форма обратной связи
--------------------------------------------- */
.cf-contact-card {
  margin: clamp(57px, 6vw, 228px) clamp(20px, 3vw, 80px);
  display: block;
  border-radius: 36px;
  border: 1px solid #298C3B;
  padding: clamp(14px, 2.2vw, 32px);
  background: #fff;
  box-sizing: border-box;
}

.cf-contact-card .cf-title {
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	color: #298C3B;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	line-height: 1;
	margin: 0;
}

.cf-contact-card .cf-desc { 
	font-family: 'Unbounded', sans-serif;
	display:block; 
	color: #000;; 
	font-weight: 300;
	font-size: clamp(10px, 1.6vw, 40px);
	line-height: 1.54;
}

.cf-fields {
	display: flex;
	justify-content: start;
	gap: clamp(9px, 1.6vw, 36px);
	flex-wrap: wrap;
	margin: 1vw;
}

.cf-contact-card p {
	margin: 0;
}

.cf-fields input[type="text"],
.cf-fields input[type="tel"] {
	border-radius: 90px;
	border: 1px solid #298C3B;
	padding: clamp(5px, 1vw, 22px) clamp(13px, 2vw, 53px);
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(10px, 1.4vw, 40px);
	color: #298C3B;
	text-align: start;
	width: clamp(180px, 20vw, 500px);
	line-height: 1.4;
}

.cf-fields input::placeholder {
	color: #298C3B;
	opacity: 0.8;
}

.cf-fields input[type="text"]:focus,
.cf-fields input[type="tel"]:focus {
	box-shadow: 0 0 8px rgba(53, 179, 76, 0.3);
	outline: none;
}

.cf-contact-card .cf-submit {
  font-family: 'Unbounded', sans-serif;
  background: #298C3B;
  color: #fff;
  border: none;
  width: fit-content;
  height: fit-content;
  border-radius: 90px;
  cursor: pointer;
  font-weight: 400; 
  font-size: clamp(10px, 1.4vw, 40px);
  line-height: 1.56;
  transition: all 0.35s ease;
  z-index: 1;
  position: relative;
}

.cf-contact-card .cf-submit:hover { 
	background:#236a2e; 
}

.cf-contact-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35vw;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url('/wp-content/uploads/form-house.png');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  transform: translateY(12.8%);
  z-index: 0;
  pointer-events: none;
}

.cf-contact-card .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cf-contact-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-contact-card .wpcf7-list-item-label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: clamp(12px, 1.6vw, 24px);
  color: #000;
}

.cf-contact-card .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #298C3B;
  transition: all 0.35s ease;
}

.cf-contact-card .wpcf7-list-item-label:hover::before {
  box-shadow: 0 0 8px rgba(41, 140, 59, 0.6);
}

.cf-contact-card input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: #fff;
  border: 3px solid #298C3B;
}

.cf-contact-card input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
}

.cf-contact-card .wpcf7-acceptance {
	margin: 1vw;
}

.cf-contact-card .wpcf7-list-item-label {
	font-family: 'Montserrat', sans-serif;
	color: #000;
	font-weight: 300;
	font-size: clamp(10px, 1.6vw, 40px);
	line-height: 1.54;
}

.cf-contact-card .wpcf7-list-item-label a {
	color: #000;
	text-decoration: none;
	transition: all 0.35s ease;
}

.cf-contact-card .wpcf7-list-item-label a:hover {
	color: #298C3B;
	text-decoration: underline;
}

.wpcf7-not-valid-tip,
.wpcf7 form.sent .wpcf7-response-output {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(6px, 1vw, 24px);
	font-weight: 400;
	border-color: transparent;
	margin: 0;
}

@media (max-width: 768px) {

	.contacts-hero {
		aspect-ratio: 720 / 1248;
		background: url('/wp-content/uploads/contacts-hero-background_mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
	}

	.contacts-hero__title {
		/* padding-top: 40px; */
		padding-top: 40px;
		/* font-size: 6px; */
		/* font-size: 16px; */
		font-size: clamp(6px, calc(2.23214vw + -1.14286px), 16px);
	}

	.contacts-hero__subtitle {
		/* font-size: 18px; */
		/* font-size: 40px; */
		font-size: clamp(18px, calc(4.91071vw + 2.28571px), 40px);
		/* padding-top: 20px; */
		padding-top: 20px;
	}

	.contacts-hero__text {
		/* font-size: 10px; */
		/* font-size: 22px; */
		font-size: clamp(10px, calc(2.67857vw + 1.42857px), 22px);
	}

	.contacts-hero__btn .wp-block-button__link {
		/* font-size: 10px; */
		/* font-size: 22px; */
		font-size: clamp(10px, calc(2.67857vw + 1.42857px), 22px);
	}

	.contacts-content {
		border-radius: 24px;
		/* margin-top: -120px; */
		/* margin-top: -180px; */
		margin-top: clamp(-120px, calc(-13.39286vw + -77.14286px), -180px);
	}

	.contacts-content-connect {
		padding: 20px 15px;
		gap: 15px;
	}
	.contacts-content-connect__title {
		line-height: 1;
		/* font-size: 11px; */
		/* font-size: 28px; */
		font-size: clamp(11px, calc(3.79464vw + -1.14286px), 28px);
	}

	.contacts-content-connect__text {
		/* font-size: 7px; */
		/* font-size: 16px; */
		font-size: clamp(7px, calc(2.00893vw + 0.57143px), 16px);
	}

	.contacts-content-connect__btn .wp-block-button__link {
		/* font-size: 12px; */
		/* font-size: 24px; */
		font-size: clamp(12px, calc(2.67857vw + 3.42857px), 24px);
	}

	.contacts-content-socials__title {
		padding: 10px 20px;
		/* font-size: 9px; */
		/* font-size: 20px; */
		font-size: clamp(9px, calc(2.45536vw + 1.14286px), 20px);
	}

	.contacts-content-socials__icons > .wp-block-group__inner-container {
		gap: 8px;
	}

	.contacts-content-accreditation {
		padding: 20px 13px;
		gap: 12px;
	}

	.contacts-content-accreditation__title {
		/* font-size: 11px; */
		/* font-size: 28px; */
		font-size: clamp(11px, calc(3.79464vw + -1.14286px), 28px);
	}

	.contacts-content-accreditation__text {
		/* font-size: 7px; */
		/* font-size: 16px; */
		font-size: clamp(7px, calc(2.00893vw + 0.57143px), 16px);
	}

	.contacts-content-accreditation__content {
		flex-wrap: wrap;
	}

	.contacts-content-accreditation__icons {
		/* gap: 8px; */
		/* gap: 20px; */
		gap: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.contacts-content-accreditation__btn .wp-block-button__link {
		/* font-size: 10px; */
		/* font-size: 20px; */
		font-size: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}

	.contacts-content-office {
		display: flex; 
		flex-direction: column;
		align-items: flex-start; 
		justify-content: flex-start;
	}

	.contacts-content-office__start {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 15px 11px;
	}

	.contacts-content-office__title {
		/* font-size: 12px; */
		/* font-size: 28px; */
		font-size: clamp(12px, calc(3.57143vw + 0.57143px), 28px);
	}

	.contacts-content-office__text {
		/* font-size: 9px; */
		/* font-size: 18px; */
		font-size: clamp(9px, calc(2.00893vw + 2.57143px), 18px);
		max-width: 100%;
	}

	.contacts-content-office__icon img {
		width: 1em;
	}

	.contacts-content-office__btn .wp-block-button__link {
		margin: 25px 35px;
		/* font-size: 12px; */
		/* font-size: 24px; */
		font-size: clamp(12px, calc(2.67857vw + 3.42857px), 24px);
	}

	.cf-contact-card {
		margin: 25px 14px;
		border-radius: 20px;
		padding: 17px;
		text-align: center;
	}

	.cf-contact-card .cf-title {
		/* font-size: 14px; */
		/* font-size: 28px; */
		font-size: clamp(14px, calc(3.12500vw + 4.00000px), 28px);
		/* margin-bottom: 4px; */
		/* margin-bottom: 12px; */
		margin-bottom: clamp(4px, calc(1.78571vw + -1.71429px), 12px);
	}

	.cf-contact-card .cf-desc {
		/* font-size: 12px; */
		/* font-size: 20px; */
		font-size: clamp(12px, calc(1.78571vw + 6.28571px), 20px);
	}

	.cf-fields {
		/* gap: 15px; */
		/* gap: 30px; */
		gap: clamp(15px, calc(3.34821vw + 4.28571px), 30px);
	}

	.cf-contact-card .cf-submit {
		/* font-size: 10px; */
		/* font-size: 26px; */
		font-size: clamp(10px, calc(3.57143vw + -1.42857px), 26px);
	}

	.cf-fields input[type="text"],
	.cf-fields input[type="tel"] {
		width: 100%;
		/* font-size: 15px; */
		/* font-size: 30px; */
		font-size: clamp(15px, calc(3.34821vw + 4.28571px), 30px);
	}

	.cf-contact-card::before {
		display: none;
	}

	.wpcf7-not-valid-tip,
	.wpcf7 form.sent .wpcf7-response-output {
		/* font-size: 6px; */
		/* font-size: 16px; */
		font-size: clamp(6px, calc(2.23214vw + -1.14286px), 16px);
	}

	.cf-contact-card .wpcf7-list-item-label {
		/* font-size: 10px; */
		/* font-size: 20px; */
		font-size: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}
}


/*--------------------------------------------------------------
# Страница Инженерные сети
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.engineering-hero {
	position: relative;
	background: url('/wp-content/uploads/engineering-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2389;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.engineering-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.engineering-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.engineering-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(13px, 5.8vw, 200px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.engineering-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.engineering-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 23.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.engineering-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.engineering-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.engineering-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.engineering-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
	width:fit-content;
	height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.engineering-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.engineering-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-400px, -30vw, -210px);
}

/* Блок спектра услуг инженерных сетей
--------------------------------------------- */
.engineering-content-services {
	display: flex;
	flex-direction: column;
	padding: clamp(38px, 4vw, 152px) clamp(20px, 3vw, 80px);
	gap: clamp(20px, 2vw, 80px);
}

.engineering-content-services__title {
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.engineering-content-services .engineering-content-services__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

 .engineering-content-services-card {
	background: #298C3B;
	border-radius: 26px;
	padding: clamp(12px, 1.7vw, 48px) 0;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.7vw, 48px);
	overflow: hidden;
}

.engineering-content-services-card__title {
	margin: 0;
	color: #298C3B;
	background-color: #fff;

	display: block;
	width: fit-content;
	padding: 0 clamp(12px, 1.7vw, 48px);

	font-family: 'Unbounded', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 500;
	text-transform: uppercase;

	border-top-right-radius: 90px;
	border-bottom-right-radius: 90px;
}

.engineering-content-services-card__list {
	margin: clamp(10px, 1vw, 40px) clamp(10px, 1vw, 40px) 0;
	padding: 0;
	list-style: none;
}


.engineering-content-services-card__list li {
	color: #ffffff;
	font-weight: 300;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	position: relative;
	padding-left: clamp(38px, 4vw, 152px);
	margin-bottom: clamp(10px, 1vw, 40px);
	line-height: 1.4;
	vertical-align: middle;
}

.engineering-content-services-card__list li::before {
  content: "";
  position: absolute;
  left: clamp(10px, 1vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: 1vw;
  height: 1vw;
  border-radius: 50%;

  background: #298C3B;
  box-shadow: 0 0 0 4px #ffffff;
}

/* Блок этапов работы
--------------------------------------------- */

.engineering-content-stages {
	display: flex;
	flex-direction: column;
	padding: clamp(38px, 4vw, 152px) 0 clamp(200px, 21vw, 800px);
	gap: clamp(20px, 2vw, 80px);

	position: relative;
	overflow: visible;
}

.engineering-content-stages::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;

    width: 75vw;
    aspect-ratio: 1 / 1;

    background-image: url('/wp-content/uploads/stages-background.jpg');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;

    z-index: -1;
    pointer-events: none;

    transform: translateY(54.5%);
}

.engineering-content-stages__title {
	padding: 0 clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.engineering-content-stages .engineering-content-stages__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(26px, 4vw, 116px);
}

 .engineering-content-stages-card {
	background: #ffffff;
	border-radius: 26px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) 0;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.7vw, 48px);
	overflow: visible;
}

.engineering-content-stages-card h3, 
.engineering-content-stages-card h4 {
	color: #298C3B;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(16px, 2.4vw, 64px);
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.15;
	margin: clamp(10px, 1vw, 40px) clamp(10px, 1vw, 40px) 0;
 }

 /* Блок преимуществ работы с нами
--------------------------------------------- */
.engineering-content-adventages {
	display: flex;
	flex-direction: column;
	padding: clamp(80px, 8vw, 300px) 0 clamp(160px, 16vw, 600px);
	position: relative;
	overflow: visible;
}

.engineering-content-advantages__title {
	padding: 0 clamp(20px, 3vw, 80px) clamp(10px, 1vw, 40px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.engineering-content-adventages .engineering-content-advantages__grid {
	display: grid;
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

.engineering-content-advantages-card {
	background: #ffffff;
	border-radius: 26px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(80px, 8vw, 300px);
	overflow: visible;
}

.engineering-content-advantages-card h3 {
	color: #298C3B;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(16px, 2.4vw, 64px);
	font-weight: 500;
	text-transform: uppercase;
}

.engineering-content-advantages-card p {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.engineering-content-advantages-special-card {
	background: #298C3B;
	gap: clamp(40px, 4vw, 150px);
}

.engineering-content-advantages-special-card h3,
.engineering-content-advantages-special-card p {
	color: #ffffff;
}


@media (max-width: 768px) {
	.engineering-hero {
		background: url('/wp-content/uploads/engineering-hero-background-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1226;
	}

	.engineering-hero__title {
		/* padding-top: 40px; */
		padding-top: 40px;
	}

	.engineering-hero__subtitle {
		/* margin-top: 65px; */
		/* margin-top: 160px; */
		margin-top: clamp(65px, calc(21.20536vw + -2.85714px), 160px)
;
		/* font-size: 24px; */
		/* font-size: 58px; */
		font-size: clamp(24px, calc(7.58929vw + -0.28571px), 58px);
	}

	.engineering-hero__text {
		/* font-size: 11px; */
		/* font-size: 28px; */
		font-size: clamp(11px, calc(3.79464vw + -1.14286px), 28px);
	}

	.engineering-content {
		border-radius: 20px;
		margin-top: -120px;
	}

	.engineering-hero__btns {
		/* min-height: 220px; */
		/* min-height: 680px; */
		min-height: clamp(220px, calc(102.67857vw + -108.57143px), 680px);
	}

	.engineering-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.engineering-content-services {
		padding: 20px;
		gap: 0;
	}

	.engineering-content-services__title {
		font-size: 16px;
		line-height: 1.2;
	}

	.engineering-content-services .engineering-content-services__grid {
		display: flex;
		flex-direction: column;
		margin: 0;
	}

	.engineering-content-services-card {
		border-radius: 15px;
		padding: 15px 0;
		margin-top: 15px;
	}

	.engineering-content-services-card__title {
		padding: 10px 15px;
		/* font-size: 11px; */
		/* font-size: 24px; */
		font-size: clamp(11px, calc(2.90179vw + 1.71429px), 24px);
	}

	.engineering-content-services-card__list li {
		/* font-size: 10px; */
		/* font-size: 22px; */
		font-size: clamp(10px, calc(2.67857vw + 1.42857px), 22px);
		line-height: 1.4;
	}

	.engineering-content-services-card__list li::before {
		width: 2vw;
		height: 2vw;
	}

	.engineering-content-services__extra {
	overflow: hidden;
	max-height: 0;
	transition: max-height 1s ease, opacity 1s ease, transform 1s ease;
	opacity: 0;
	transform: translateY(-6px);
	}

	.engineering-content-services__extra.is-open {
	opacity: 1;
	transform: translateY(0);
	}

	.engineering-content-services__extra .engineering-content-services-card {
	transition: opacity 600ms ease, transform 600ms ease;
	opacity: 0;
	transform: translateY(8px);
	}

	.engineering-content-services__extra.is-open .engineering-content-services-card {
	opacity: 1;
	transform: translateY(0);
	}

	.services-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	font: inherit;
	color: #0b3b1f; 
	padding: 6px 8px;
	border-radius: 8px;
	}

	.services-more-btn__text {
	order: 1;
	}
	.services-more-btn__icon {
	width: 20px;
	height: 20px;
	order: 2;
	pointer-events: none;
	}

	.engineering-content-services__more-wrap {
	display: flex;
	justify-content: flex-start; 
	}

	.engineering-content-stages {
		/* padding: 18px 0; */
		/* padding-bottom: 18px; */
		padding-bottom: 170px;
	}

	.engineering-content-stages .engineering-content-stages__grid {
		/* gap: 4px; */
		/* gap: 10px; */
		gap: clamp(4px, calc(1.33929vw + -0.28571px), 10px);
		margin: 0 14px;
	}

	.engineering-content-stages__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	}

	.engineering-content-stages-card h3, 
	.engineering-content-stages-card h4 {
		/* font-size: 8px; */
		/* font-size: 19px; */
		font-size: clamp(8px, calc(2.45536vw + 0.14286px), 19px);
		margin: 4px;
	}

	.engineering-content-stages-card h3 {
		/* margin-bottom: 20px; */
		/* margin-bottom: 48px; */
		margin-bottom: clamp(20px, calc(6.25000vw + 0.00000px), 48px);
	}

	 .engineering-content-stages-card {
		border-radius: 10px;
		padding: 2px;
	 }

	 .engineering-content-stages::after {
		width: 85vw;
		/* transform: translateY(75.5%); */
		/* transform: translateY(55.5%); */
		transform: translateY(
			clamp(55.5%, 
				calc(55.5% + (75.5 - 55.5) * ((100vw - 320px)/448)), 
				75.5%)
		);
	 }

	 .engineering-content-advantages__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	 }

	 .engineering-content-adventages .engineering-content-advantages__grid {
		display: flex;
		flex-direction: column;
	 }

	 .engineering-content-advantages-card {
		/* border-radius: 10px; */
		/* border-radius: 20px; */
		border-radius: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
		gap: 20px;
	 }

	 .engineering-content-advantages-card h3 {
		/* font-size: 14px; */
		/* font-size: 28px; */
		font-size: clamp(14px, calc(3.12500vw + 4.00000px), 28px);
	 }

	 .engineering-content-advantages-card p {
		/* font-size: 11px; */
		/* font-size: 24px; */
		font-size: clamp(11px, calc(2.90179vw + 1.71429px), 24px);
	 }

	 .engineering-content-adventages {
		padding-bottom: 20px;
	 }
}


/*--------------------------------------------------------------
# Страница Строительство домов из газоблока
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.gas_block-hero {
	position: relative;
	background: url('/wp-content/uploads/gas-block_hero_background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2306;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.gas_block-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.gas_block-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.gas_block-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(23px, 4.8vw, 120px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.gas_block-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.gas_block-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 20.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.gas_block-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.gas_block-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.gas_block-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.gas_block-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gas_block-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.gas_block-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-300px, -22.5vw, -157px);
}
/* Общая информация
--------------------------------------------- */
.gas_block-info {
	font-family: 'Unbounded', sans-serif;
	display: flex;
	flex-direction: column;
	padding: 0 clamp(20px, 3vw, 80px);
	position: relative;
	overflow: visible;
}

.gas_block-info__title {
	color: #298C3B;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.gas_block-info__text {
	color: #298C3B;
	font-weight: 300;
	font-size: clamp(16px, 2.4vw, 64px);
	line-height: 1.37;
}

/* Преимущества газоблочных домов
--------------------------------------------- */
.gas_block-content-adventages {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: visible;
}

.gas_block-content-adventages::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
	width: 74vw;
	transform: translateY(12.8%); 
	aspect-ratio: 2304 / 2562;
	background: url('/wp-content/uploads/gas_block-advantages-background.png')  no-repeat left top / contain;
	z-index: 2;
	pointer-events: none;

}

.gas_block-content-advantages__title {
	padding: 0 clamp(20px, 3vw, 80px) clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.gas_block-content-adventages .gas_block-content-advantages__grid {
	display: grid;
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

.gas_block-content-advantages-card {
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(12px, 1.7vw, 48px);
	overflow: visible;
}

.gas_block-content-advantages-card h3 {
	color: #298C3B;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	line-height: 1.15;
	font-weight: 500;
	text-transform: uppercase;
}

.gas_block-content-advantages-card p {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.gas_block-content .gas_block-content-advantages-special-card {
    position: relative;
    overflow: visible;
	order: -1;
	background: #298C3B;
	gap: clamp(40px, 6vw, 150px);
	justify-content: end;
	border-radius: 36px 250px 36px 36px;
	padding: clamp(30px, 4.5vw, 120px) clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(30px, 4.5vw, 120px);
	z-index: 1;
}

.gas_block-content-advantages-special-card h3,
.gas_block-content-advantages-special-card p {
	color: #ffffff;
}

.gas_block-content-advantages-special-card h3 {
	font-size: clamp(24px, 3.4vw, 96px);
}

/* Почему выбирают нас
--------------------------------------------- */

.gas_block-content-why {
	padding: clamp(20px, 3vw, 80px);
	background-color: #298C3B;
	border-radius: 44px;
	margin: clamp(30px, 4.5vw, 120px) 0;
}

.gas_block-content-why__title {
	color: #ffffff;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.gas_block-content-why .gas_block-content-why__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(14px, 2.2vw, 32px);
}

.gas_block-content-why-card {
	color: #ffffff;
	border-radius: 20px;
	border: 1px solid #ffffff;
	padding: clamp(16px, 2vw, 48px);
	display: flex;
	align-items: center;
	text-align: left;
}

.gas_block-content-why-card h3 {
	font-family: 'Unbounded', sans-serif;
	font-weight: 300;
	font-size: clamp(12px, 1.7vw, 48px);
	text-transform: uppercase;
}
.gas_block-content-why-card .why-card-icon {
	flex: 0 0 auto;
	width: clamp(50px, 7vw, 140px);
	height: clamp(50px, 7vw, 140px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.why-card-icon img {
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.gas_block-hero {
		background: url('/wp-content/uploads/gas-block_hero_background_mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1248;
		top: -144px;
	}

	.gas_block-hero__title {
		/* padding-top: 80px; */
		/* padding-top: 80px; */
		padding-top: clamp(0px, calc(17.85714vw + -57.14286px), 80px);
		/* font-size: 6px; */
		/* font-size: 12px; */
		font-size: clamp(6px, calc(1.33929vw + 1.71429px), 12px);
	}

	.gas_block-hero__subtitle {
		/* margin-top: 40px; */
		/* margin-top: 70px; */
		margin-top: clamp(40px, calc(6.69643vw + 18.57143px), 70px);
		/* font-size: 19px; */
		/* font-size: 47px; */
		font-size: clamp(19px, calc(6.25000vw + -1.00000px), 47px);
	}

	.gas_block-hero__text {
		/* font-size: 12px; */
		/* font-size: 24px; */
		font-size: clamp(12px, calc(2.67857vw + 3.42857px), 24px);
	}

	.gas_block-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		margin-top: -180px;
	}

	.gas_block-hero__btns {
		/* min-height: 230px; */
		/* min-height: 630px; */
		min-height: clamp(230px, calc(89.28571vw + -55.71429px), 630px);
	}

	.gas_block-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.gas_block-info__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
		margin-top: 40px;
	}

	.gas_block-info__text {
		/* font-size: 9px; */
		/* font-size: 20px; */
		font-size: clamp(9px, calc(2.45536vw + 1.14286px), 20px);
		line-height: 1.2;
	}

	.gas_block-content-advantages__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	}

	.gas_block-content-adventages .gas_block-content-advantages__grid {
		grid-template-columns: auto;
		margin: 0;
	}

	.gas_block-content-adventages .gas_block-content-advantages__grid > * {
		/* margin: 0 20px; */
		margin: 0 clamp(20px, calc(4.46429vw + 5.71429px), 40px);
	}

	.gas_block-content .gas_block-content-advantages-special-card {
		order: 1;
		margin: 0;
		/* padding: 10px 5px 10px 150px; */
		/* padding: 30px 20px 30px 350px; */
		padding: clamp(10px, calc(4.46429vw + -4.28571px), 30px) 
		clamp(5px, calc(3.34821vw + -5.71429px), 20px) 
		clamp(10px, calc(4.46429vw + -4.28571px), 30px) 
		clamp(150px, calc(44.64286vw + 7.14286px), 350px);
		border-radius: 255px 0 0 0;
		/* gap: 10px; */
		/* gap: 20px; */
		gap: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}

	.gas_block-content .gas_block-content-advantages-special-card h3 {
		/* font-size: 12px; */
		/* font-size: 28px; */
		font-size: clamp(12px, calc(3.57143vw + 0.57143px), 28px);
	}

	.gas_block-content-advantages-card {
		/* border-radius: 10px; */
		/* border-radius: 20px; */
		border-radius: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}

	.gas_block-content-advantages-card h3,
	.gas_block-content-advantages-card p {
		/* font-size: 10px; */
		/* font-size: 24px; */
		font-size: clamp(10px, calc(3.12500vw + 0.00000px), 24px);
	}

	.gas_block-content-adventages::before {
		display: none;
	}

	.gas_block-content-why {
		border-radius: 20px;
	}

	.gas_block-content-why .gas_block-content-why__grid {
		grid-template-columns: auto;
	}

	.gas_block-content-advantages-special-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
	width: 74vw;
	transform: translateY(-5.8%); 
	aspect-ratio: 2304 / 2562;
	background: url('/wp-content/uploads/gas_block-advantages-background.png')  no-repeat left center / contain;
	z-index: 2;
	pointer-events: none;
	}
}

/*--------------------------------------------------------------
# Страница Отделочные работы
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.finishing-hero {
	position: relative;
	background: url('/wp-content/uploads/finishing-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2178;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.finishing-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.finishing-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.finishing-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(28px, 5.8vw, 146px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.finishing-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.finishing-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 31.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.finishing-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.finishing-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.finishing-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.finishing-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.finishing-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.finishing-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-240px, -18vw, -126px);
}
 /* Блок преимуществ работы с нами
--------------------------------------------- */
.finishing-content-adventages {
	display: flex;
	flex-direction: column;
	padding: clamp(30px, 3vw, 113px) 0;
	position: relative;
	overflow: visible;
}

.finishing-content-advantages__title {
	padding: 0 clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.finishing-content-adventages .finishing-content-advantages__grid {
	display: grid;
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

.finishing-content-advantages-card {
	background: #ffffff;
	border-radius: 26px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(40px, 4vw, 150px);
	overflow: visible;
}

.finishing-content-advantages-card h3 {
	color: #298C3B;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 500;
	text-transform: uppercase;
}

.finishing-content-advantages-card p {
	color: #298C3B;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.finishing-content-advantages-special-card {
	background: #298C3B;
	gap: clamp(40px, 4vw, 150px);
}

.finishing-content-advantages-special-card h3,
.finishing-content-advantages-special-card p {
	color: #ffffff;
}

 /* Блок наших проектов
--------------------------------------------- */
.finishing-content-adventages {
	display: flex;
	flex-direction: column;
	padding: clamp(30px, 3vw, 113px) 0 clamp(60px, 6vw, 226px);
	position: relative;
	overflow: visible;
}

@media (max-width: 768px) {
	.finishing-hero {
		background: url('/wp-content/uploads/finishing-hero-background-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1246;
		top: -144px;
	}

	.finishing-hero__title {
		/* padding-top: 80px; */
		padding-top: 80px;
		/* font-size: 12px; */
		font-size: 12px;
	}

	.finishing-hero__subtitle {
		/* margin-top: 40px; */
		/* margin-top: 100px; */
		margin-top: clamp(40px, calc(13.39286vw + -2.85714px), 100px);
		/* font-size: 23px; */
		/* font-size: 60px; */
		font-size: clamp(23px, calc(8.25893vw + -3.42857px), 60px);
	}

	.finishing-hero__text {
		/* font-size: 11px; */
		/* font-size: 26px; */
		font-size: clamp(11px, calc(3.34821vw + 0.28571px), 26px);
	}

	.finishing-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		margin-top: -170px;
	}

	.finishing-hero__btns {
		/* min-height: 220px; */
		/* min-height: 760px; */
		min-height: clamp(220px, calc(120.53571vw + -165.71429px), 760px);
	}

	.finishing-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.finishing-content-advantages__title {
		/* font-size: 15px; */
		/* font-size: 36px; */
		font-size: clamp(15px, calc(4.68750vw + 0.00000px), 36px);
	}

	.finishing-content-adventages .finishing-content-advantages__grid {
		display: flex;
		flex-direction: column;
	}

	.finishing-content-advantages-card {
		border-radius: 15px;
		gap: 15px;
	}

	.finishing-content-adventages {
		padding-bottom: 10px;
	}

	.finishing-content-advantages-card h3,
	.finishing-content-advantages-card p {
		/* font-size: 12px; */
		/* font-size: 24px; */
		font-size: clamp(12px, calc(2.67857vw + 3.42857px), 24px);
	}
}

/*--------------------------------------------------------------
# Страница Строительство каркасных домов
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.frame-hero {
	position: relative;
	background: url('/wp-content/uploads/frame-hero-block.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2412;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.frame-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.frame-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.frame-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(26px, 4.6vw, 105px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.frame-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.frame-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 35.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.frame-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.frame-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.frame-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.frame-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.frame-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.frame-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-240px, -18vw, -126px);
}

/* Общая информация
--------------------------------------------- */
.frame-info {
	font-family: 'Unbounded', sans-serif;
	display: flex;
	flex-direction: column;
	padding: 0 clamp(20px, 3vw, 80px);
	position: relative;
	overflow: visible;
	background-color: #298C3B;
	color: #ffffff;
	border-radius: 44px;
}

.frame-info__title {
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.2em;
}

.frame-info__text {
	font-weight: 300;
	font-size: clamp(16px, 2.4vw, 64px);
	line-height: 1.37;
	margin: 0;
}

.frame-info-items {
	display: inline-flex;
	position: relative;
	margin: clamp(16px, 2.4vw, 64px) 0;
}

.frame-info-item {
  color: #ffffff;
  background-color: #298C3B;
  border-radius: 999px;
  font-size: clamp(12px, 1.7vw, 48px);
  padding: 1em 2em 0.5em 2.6em;
  line-height: 1.12;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.frame-info-item::before {
  content: '';
  display: block;
  width: 2.4em;
  height: 2.4em;
  background-image: url('/wp-content/themes/stroy-t71/template-parts/assets/icons/frame/frame_check-up.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
}

/* Преимущества каркасных домов
--------------------------------------------- */
.frame-content-adventages {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: visible;
}

.frame-content-adventages::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 56vw;
    transform: translateY(2.5%); 
	aspect-ratio: 1808 / 3164;
    background: url('/wp-content/uploads/frame-advantages-background.png') no-repeat right top / contain;
    z-index: 2;
    pointer-events: none;
}

.frame-content-advantages__title {
	padding: clamp(12px, 1.7vw, 48px) clamp(20px, 3vw, 80px) clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.frame-content-adventages .frame-content-advantages__grid {
	display: grid;
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

.frame-content-advantages-card {
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(12px, 1.7vw, 48px);
	overflow: visible;
}

.frame-content-advantages-card h3 {
	color: #298C3B;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	line-height: 1.15;
	font-weight: 500;
	text-transform: uppercase;
}

.frame-content-advantages-card p {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.frame-content .frame-content-advantages-card--first {
	order: -2;
}

.frame-content .frame-content-advantages-special-card {
    position: relative;
    overflow: visible;
	order: -1;
	background: #298C3B;
	gap: clamp(40px, 6vw, 150px);
	justify-content: end;
	border-radius: 250px 36px 36px 36px;
	padding: clamp(30px, 4.5vw, 120px) clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(30px, 4.5vw, 120px);
	z-index: 1;
}

.frame-content-advantages-special-card h3,
.frame-content-advantages-special-card p {
	color: #ffffff;
	font-size: clamp(24px, 2.7vw, 96px);
}

.frame-content-advantages-special-card h3 {
	font-size: clamp(24px, 3.2vw, 96px);
}

/* Почему выбирают нас
--------------------------------------------- */

.frame-content-why {
	padding: clamp(20px, 3vw, 80px);
	background-color: #298C3B;
	border-radius: 44px;
	margin: clamp(30px, 4.5vw, 120px) 0;
}

.frame-content-why__title {
	color: #ffffff;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.frame-content-why .frame-content-why__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(14px, 2.2vw, 32px);
}

.frame-content-why-card {
	color: #ffffff;
	border-radius: 20px;
	border: 1px solid #ffffff;
	padding: clamp(16px, 2vw, 48px);
	display: flex;
	align-items: center;
	text-align: left;
}

.frame-content-why-card h3 {
	font-family: 'Unbounded', sans-serif;
	font-weight: 300;
	font-size: clamp(12px, 1.7vw, 48px);
	text-transform: uppercase;
}
.frame-content-why-card .why-card-icon {
	flex: 0 0 auto;
	width: clamp(50px, 7vw, 140px);
	height: clamp(50px, 7vw, 140px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.why-card-icon img {
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.frame-hero {
		background: url('/wp-content/uploads/frame-hero-block-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1248;
		top: -144px;
	}

	.frame-hero__title {
		/* padding-top: 80px; */
		/* padding-top: 140px; */
		padding-top: clamp(0px, calc(31.25000vw + -100.00000px), 140px);
		/* font-size: 12px; */
		font-size: 12px;
	}

	.frame-hero__subtitle {
		/* margin-top: 40px; */
		margin-top: 40px;
		/* font-size: 21px; */
		/* font-size: 50px; */
		font-size: clamp(21px, calc(6.47321vw + 0.28571px), 50px);
	}

	.frame-hero__text {
		/* font-size: 11px; */
		/* font-size: 26px; */
		font-size: clamp(11px, calc(3.34821vw + 0.28571px), 26px);
	}

	.frame-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		margin-top: -170px;
	}

	.frame-hero__btns {
		/* min-height: 260px; */
		/* min-height: 720px; */
		min-height: clamp(260px, calc(102.67857vw + -68.57143px), 720px);
	}

	.frame-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.frame-info {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		padding-right: 0;
	}

	.frame-info__title {
		/* font-size: 15px; */
		/* font-size: 37px; */
		font-size: clamp(15px, calc(4.91071vw + -0.71429px), 37px);
		padding-top: 20px;
	}

	.frame-info__text {
		/* font-size: 11px; */
		/* font-size: 28px; */
		font-size: clamp(11px, calc(3.79464vw + -1.14286px), 28px);
		margin-right: 10px;
	}

	.frame-info-item {
		/* font-size: 9px; */
		/* font-size: 20px; */
		font-size: clamp(9px, calc(2.45536vw + 1.14286px), 20px);
	}

	.frame-content-advantages__title {
		/* font-size: 15px; */
		/* font-size: 36px; */
		font-size: clamp(15px, calc(4.68750vw + 0.00000px), 36px);
	}

	.frame-content-adventages .frame-content-advantages__grid {
		grid-template-columns: auto;
		margin: 0;
	}

	.frame-content-adventages .frame-content-advantages__grid > * {
		/* margin: 0 20px; */
		/* margin: 0 35px; */
		margin: 0 clamp(20px, calc(3.34821vw + 9.28571px), 35px);
	}

	.frame-content .frame-content-advantages-special-card {
		order: 1;
		margin: 0;
		/* margin-left: 20px; */
		/* margin-left: 30px; */
		margin-left: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		/* border-radius: 20px 255px 20px 20px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px)
		 clamp(255px, calc(166.07143vw + -276.42857px), 999px)
		  clamp(20px, calc(2.23214vw + 12.85714px), 30px) clamp(20px, 
		  calc(2.23214vw + 12.85714px), 30px);
		/* gap: 40px; */
		/* gap: 100px; */
		gap: clamp(40px, calc(13.39286vw + -2.85714px), 100px);
		padding: 1em;
		padding-right: 50%;
	}

	.frame-content .frame-content-advantages-special-card h3 {
		/* font-size: 11px; */
		/* font-size: 32px; */
		font-size: clamp(11px, calc(4.68750vw + -4.00000px), 32px);
	}

	.frame-content-advantages-card {
		/* border-radius: 10px; */
		/* border-radius: 20px; */
		border-radius: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
	}

	.frame-content-advantages-card h3,
	.frame-content-advantages-card p {
		/* font-size: 10px; */
		/* font-size: 26px; */
		font-size: clamp(10px, calc(3.57143vw + -1.42857px), 26px);
	}

	.frame-content-adventages::before {
		display: none;
	}

	.frame-content-advantages-special-card::before {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		width: 56vw;
		transform: translateY(-18.5%); 
		aspect-ratio: 1808 / 3164;
		background: url('/wp-content/uploads/frame-advantages-background.png') no-repeat right center / contain;
		z-index: 2;
		pointer-events: none;
	}
}

/*--------------------------------------------------------------
# Страница Пристроек
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.outbuildings-hero {
	position: relative;
	background: url('/wp-content/uploads/outbuildings-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2224;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.outbuildings-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.outbuildings-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.outbuildings-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(26px, 4.3vw, 105px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.outbuildings-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.outbuildings-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 35.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.outbuildings-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.outbuildings-hero__btns > *:nth-child(1) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.outbuildings-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Контент основной
--------------------------------------------- */
.outbuildings-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-260px, -12vw, -126px);
}

/* Общая информация
--------------------------------------------- */
.outbuildings-info {
	font-family: 'Unbounded', sans-serif;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	grid-auto-rows: auto;
	padding: clamp(20px, 3vw, 80px);
	position: relative;
	background-color: #ffffff;
	color: #298C3B;
	border-radius: 44px;
}

.outbuildings-info__title {
	grid-column: 1 / 2;
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.2em;
	align-self: center;
}

.outbuildings-info__subtitle {
	grid-column: 2 / 3;
	border-radius: 90px;
	border:1px solid #298C3B;
	padding: 0.6em;
	font-size: clamp(16px, 1.8vw, 64px);
	font-weight: 300;
	line-height: 1;
	align-self: center;
	width: fit-content;
}

.outbuildings-info__text {
	padding-top: 2vw;
	grid-column: 1 / 3;
	font-weight: 300;
	font-size: clamp(16px, 1.8vw, 64px);
	line-height: 1.37;
	margin-right: 20vw;
}

/* Что входит в стоимость
--------------------------------------------- */

.outbuildings-content-price {
	padding: clamp(20px, 3vw, 80px);
	background-color: #298C3B;
	border-radius: 44px;
	margin-bottom: clamp(27px, 4vw, 108px);
}

.outbuildings-content-price::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 77.3vw;
    transform: translateY(45.3%); 
	aspect-ratio: 2294 / 2286;
    background: url('/wp-content/uploads/outbuildings-price-background.png') no-repeat left center / contain;
    z-index: 2;
    pointer-events: none;
}

.outbuildings-content-price__grid {
	font-family: 'Unbounded', sans-serif;
	color: #ffffff
}

.outbuildings-content-price__title {
	font-size: clamp(16px, 2vw, 64px);
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.15;
}

.outbuildings-content-price-items {
	display: flex;
	gap: clamp(16px, 1.8vw, 64px);
}

.outbuildings-content-price-item {
	border-radius: 20px;
	border: 1px solid #ffffff;
	padding: clamp(16px, 1.8vw, 64px);
	margin: clamp(16px, 1.8vw, 64px);
	gap: clamp(16px, 1.8vw, 64px);
}

.outbuildings-content-price-item h3 {
	font-size: clamp(16px, 1.8vw, 64px);
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.15;
}

.outbuildings-content-price-item p {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	line-height: 1.28;
	font-size: clamp(16px, 1.8vw, 64px);
}

/* Этапы строительства
--------------------------------------------- */
.outbuildings-content-stages {
	padding: clamp(20px, 3vw, 80px);
	padding-left: 0;

	color: #298C3B;
	border-radius: 44px;
	margin-bottom: clamp(27px, 4vw, 108px);
	font-family: 'Unbounded', sans-serif;
	background-color: #ffffff;
}

.outbuildings-content-stages__header {
	margin-left: clamp(20px, 3vw, 80px);
	padding-bottom: clamp(12px, 1.7vw, 48px);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.outbuildings-content-stages__title {
	font-size: clamp(16px, 2vw, 64px);
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.15;
}

.outbuildings-content-stages__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(10px, 1.7vw, 48px);;
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.outbuildings-content-stages__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

.outbuildings-content-stages__btns .outbuildings-content-stages__btn--second {
	display: none;
}

.outbuildings-content-stages__items {
	text-transform: uppercase;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(10px, 1.2vw, 40px);
	margin-left: clamp(20px, 3vw, 80px);
	padding-bottom: clamp(20px, 3vw, 80px);
}

.outbuildings-content-stages__item {
	border-radius: 90px;
	border: 1px solid #298C3B;
	padding: 0.7em;
}

.outbuildings-content-stages__item h3 {
	font-size: clamp(10px, 1.2vw, 40px);
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.outbuildings-content-stages__price {
	text-transform: uppercase;
	display: inline-block;
	font-size: clamp(16px, 2vw, 64px);
	padding: 0.7em 1.8em;
	border: 1px solid #298C3B;
	border-top-right-radius: 90px;
  	border-bottom-right-radius: 90px;
	border-left: none;

	color: #ffffff;
	background-color: #298C3B;
}

/* Наши проекты
--------------------------------------------- */
.outbuildings-content-projects {
	padding: 0;

	color: #298C3B;
	border-radius: 44px;
	font-family: 'Unbounded', sans-serif;
	background-color: #ffffff;
}

.outbuildings-content-projects__title {
	margin-left: clamp(20px, 3vw, 80px);
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.2em;
}

/* Беседка под ключ
--------------------------------------------- */
.outbuildings-content-pavilion {
	padding: clamp(20px, 3vw, 80px);

	color: #298C3B;
	border-radius: 44px;
	margin-bottom: clamp(27px, 4vw, 108px);
	font-family: 'Unbounded', sans-serif;
	background-color: #ffffff;
}

.outbuildings-content-pavilion__header {
	margin-bottom: clamp(12px, 1.7vw, 48px);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.outbuildings-content-pavilion__title {
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.2em;
}

.outbuildings-content-pavilion__text {
	font-size: clamp(16px, 1.8vw, 64px);
	font-weight: 300;
	margin-bottom: 0;
}

.outbuildings-content-pavilion__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 20vw, 520px);
  height: clamp(34px, 4.5vw, 138px);
  font-size: clamp(10px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.outbuildings-content-pavilion__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

.outbuildings-content-pavilion__btns .outbuildings-content-pavilion__btn--second {
	display: none;
}

.outbuildings-content-pavilion__items {
	text-transform: uppercase;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	grid-template-rows: auto 1fr;
}

.outbuildings-content-pavilion__info {
	position: relative;
	color: #ffffff;
	display: inline-block;
	padding: clamp(10px, 1.7vw, 48px);
	background-color: #298C3B;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}


.outbuildings-content-pavilion__info ul {
	padding-left: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.8vw, 44px);
}

.outbuildings-content-pavilion__info ul li {
	position: relative;
	font-size: clamp(12px, 1.8vw, 44px);
	font-weight: 300;
	padding-left: clamp(12px, 1.8vw, 44px);
	line-height: 1.2;
	margin: 0;
}

.outbuildings-content-pavilion__info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc((1.2em - 0.8em) / 2);
    width: 0.8em; 
    height: 0.8em;
    background-image: url('/wp-content/themes/stroy-t71/template-parts/assets/icons/povilion-marker.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	pointer-events: none;
}

.outbuildings-content-pavilion__image__wrapper {
	background-color: #298C3B;
	width: 100%;
	padding: 0;
	border-radius: 0 30px 30px 30px;
}

.outbuildings-content-pavilion__image {
	position: relative;
	border-radius: 20px;
	background: url('/wp-content/uploads/outbuildings-pavilion-image.png') no-repeat center center / contain;
	aspect-ratio: 1406 / 1312;
	width: 100%;
	max-width: 100%;
}

.outbuildings-content-pavilion__terms {
	font-size: clamp(12px, 1.8vw, 44px);
	font-weight: 500;
	line-height: 1;
}

/* Пристройки
--------------------------------------------- */
.outbuildings-content-add {
	padding: clamp(20px, 3vw, 80px);

	color: #298C3B;
	border-radius: 44px;
	margin-bottom: clamp(27px, 4vw, 108px);
	font-family: 'Unbounded', sans-serif;
	background-color: #ffffff;
}

.outbuildings-content-add__header {
	margin-bottom: clamp(12px, 1.7vw, 48px);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.outbuildings-content-add__title {
	text-transform: uppercase;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.2em;
}

.outbuildings-content-add__text {
	font-size: clamp(16px, 1.8vw, 64px);
	font-weight: 300;
	margin-bottom: 0;
}

.outbuildings-content-add__btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 20vw, 520px);
  height: clamp(34px, 4.5vw, 138px);
  font-size: clamp(10px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.outbuildings-content-add__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

.outbuildings-content-add__items {
	text-transform: uppercase;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(10px, 1.7vw, 48px);
	grid-template-rows: auto 1fr;
}

.outbuildings-content-add__info {
	position: relative;
	color: #ffffff;
	display: inline-block;
	padding: clamp(10px, 1.7vw, 48px);
	background-color: #298C3B;
	border-radius: 20px;
	border: 1px solid #298C3B;
}

.outbuildings-content-add__info--right {
	background-color: #ffffff;
	color: #298C3B;
}

.outbuildings-content-add__info h3 {
	font-size: clamp(12px, 1.8vw, 44px);
	font-weight: 400;
}


.outbuildings-content-add__info ul {
	padding-left: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.8vw, 44px);
}

.outbuildings-content-add__info ul li {
	position: relative;
	font-size: clamp(10px, 1.5vw, 36px);
	font-weight: 300;
	padding-left: clamp(12px, 1.8vw, 44px);
	line-height: 1.2;
	margin: 0;
}

.outbuildings-content-add__info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc((1.2em - 0.8em) / 2);
    width: 0.8em; 
    height: 0.8em;
    background-image: url('/wp-content/themes/stroy-t71/template-parts/assets/icons/povilion-marker.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	pointer-events: none;
}

.outbuildings-content-add__info--right ul li::before {
    background-image: url('/wp-content/themes/stroy-t71/template-parts/assets/icons/povilion-marker-green.svg');
}

.outbuildings-content-add__terms {
	font-size: clamp(12px, 1.8vw, 44px);
	font-weight: 500;
	line-height: 1;
}

@media (max-width: 768px) {
	.outbuildings-hero {
		background: url('/wp-content/uploads/outbuildings-hero-background-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1332;
		top: -144px;
	}

	.outbuildings-hero__title {
		padding-top: 80px;
		font-size: 12px;
	}

	.outbuildings-hero__subtitle {
		/* font-size: 21px; */
		/* font-size: 48px; */
		font-size: clamp(21px, calc(6.02679vw + 1.71429px), 48px);
	}

	.outbuildings-hero__text {
		/* font-size: 11px; */
		/* font-size: 28px; */
		font-size: clamp(11px, calc(3.79464vw + -1.14286px), 28px);
	}

	.outbuildings-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		/* margin-top: -210px; */
		/* margin-top: -300px; */
		margin-top: clamp(-210px, calc(-20.08929vw + -145.71429px), -300px);
	}

	.outbuildings-hero__btns {
		/* min-height: 255px; */
		/* min-height: 630px; */
		min-height: clamp(255px, calc(83.70536vw + -12.85714px), 630px);
	}

	.outbuildings-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.outbuildings-content .outbuildings-info {
		display: flex;
		flex-direction: column;
	}

	.outbuildings-content .outbuildings-info__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
		order: 1;
		align-self: start;
	}

	.outbuildings-content .outbuildings-info__subtitle {
		/* font-size: 9px; */
		/* font-size: 22px; */
		font-size: clamp(9px, calc(2.90179vw + -0.28571px), 22px);
		order: 3;
		align-self: start;
	}

	.outbuildings-content .outbuildings-info__text {
		/* font-size: 9px; */
		/* font-size: 22px; */
		font-size: clamp(9px, calc(2.90179vw + -0.28571px), 22px);
		order: 2;
		margin-right: 0;
		align-self: start;
		padding-top: 0;
	}

	.outbuildings-content-price {
		/* border-radius: 30px; */
		/* border-radius: 40px; */
		border-radius: clamp(30px, calc(2.23214vw + 22.85714px), 40px);
	}

	.outbuildings-content-price::before {
		display: none;
	}

	.outbuildings-content .outbuildings-content-price__grid {
		display: flex;
		flex-direction: column;
	}

	.outbuildings-content-price-item {
		margin-left: 0;
		margin-right: 0;
	}
	
	.outbuildings-content-price__title {
		/* font-size: 14px; */
		/* font-size: 36px; */
		font-size: clamp(14px, calc(4.91071vw + -1.71429px), 36px);
		text-align: center;
	}

	.outbuildings-content-price-item h3 {
		/* font-size: 11px; */
		/* font-size: 26px; */
		font-size: clamp(11px, calc(3.34821vw + 0.28571px), 26px);
	}

	.outbuildings-content-price-item p {
		/* font-size: 9px; */
		/* font-size: 23px; */
		font-size: clamp(9px, calc(3.12500vw + -1.00000px), 23px);
	}

	.outbuildings-content-stages .outbuildings-content-stages__items {
		display: flex;
		flex-direction: column;
	}
	
	.outbuildings-content-stages__btns .outbuildings-content-stages__btn--first {
		display: none;
	}
	
	.outbuildings-content-stages__btns .outbuildings-content-stages__btn--second {
		display: flex;
	}

	.outbuildings-content-stages__title {
		/* font-size: 14px; */
		/* font-size: 36px; */
		font-size: clamp(14px, calc(4.91071vw + -1.71429px), 36px);
	}

	.outbuildings-content-stages__item {
		/* padding: 6px 0; */
		/* padding: 10px 0; */
		padding: clamp(6px, calc(0.89286vw + 3.14286px), 10px) 0;
	}

	.outbuildings-content-stages__item h3 {
		/* font-size: 8px; */
		/* font-size: 18px; */
		font-size: clamp(8px, calc(2.23214vw + 0.85714px), 18px);
	}

	.outbuildings-content-stages__price {
		/* font-size: 9px; */
		/* font-size: 22px; */
		font-size: clamp(9px, calc(2.90179vw + -0.28571px), 22px);
	}

	.outbuildings-content-projects__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	}

	.outbuildings-content-pavilion {
		/* padding-left: 15px; */
		/* padding-left: 35px; */
		padding-left: clamp(15px, calc(4.46429vw + 0.71429px), 35px);
		/* padding-right: 15px; */
		/* padding-right: 35px; */
		padding-right: clamp(15px, calc(4.46429vw + 0.71429px), 35px);
		margin-bottom: 0;
	}

	.outbuildings-content-pavilion__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	}

	.outbuildings-content-pavilion__text {
		/* font-size: 8px; */
		/* font-size: 22px; */
		font-size: clamp(8px, calc(3.12500vw + -2.00000px), 22px);
	}

	.outbuildings-content-pavilion__btns .outbuildings-content-pavilion__btn--first {
		display: none;
	}
	
	.outbuildings-content-pavilion__btns .outbuildings-content-pavilion__btn--second {
		display: flex;
	}

	.outbuildings-content-pavilion__image__wrapper {
		display: none;
	}

	.outbuildings-content-pavilion .outbuildings-content-pavilion__items {
		display: flex;
		flex-direction: column;
	}
	
	.outbuildings-content-pavilion__info {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
	}

	.outbuildings-content-pavilion__info ul li {
		/* font-size: 10px; */
		/* font-size: 16px; */
		font-size: clamp(10px, calc(1.33929vw + 5.71429px), 16px);
	}

	.outbuildings-content-pavilion__terms {
		/* font-size: 10px; */
		/* font-size: 20px; */
		font-size: clamp(10px, calc(2.23214vw + 2.85714px), 20px);
		width: fit-content;
	}

	.outbuildings-content-add__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	}

	.outbuildings-content-add .outbuildings-content-add__btns {
		display: none;
	}

	.outbuildings-content-add__text {
		/* font-size: 9px; */
		/* font-size: 22px; */
		font-size: clamp(9px, calc(2.90179vw + -0.28571px), 22px);
	}

	.outbuildings-content-add .outbuildings-content-add__items {
		display: flex;
		flex-direction: column;
	}
}

/*--------------------------------------------------------------
# Страница Проектов
--------------------------------------------------------------*/
/* Hero-блок
--------------------------------------------- */
.project-hero {
	position: relative;
	background: url('/wp-content/uploads/project-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2402;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.project-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.project-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.project-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(28px, 5.8vw, 146px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.project-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.project-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(90px, 39.1vw, 850px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.project-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.project-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.project-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.project-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.project-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-240px, -20vw, -126px);
	padding-top: clamp(34px, 4.5vw, 138px);
}

@media (max-width: 768px) {
	.project-hero {
		background: url('/wp-content/uploads/project-hero-background-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1240;
	}

	.project-hero__title {
		/* padding-top: 80px; */
		padding-top: clamp(0px, calc(17.85714vw + -57.14286px), 80px);
		font-size: 12px;
	}

	.project-hero__text {
		/* font-size: 14px; */
		/* font-size: 26px; */
		font-size: clamp(14px, calc(2.67857vw + 5.42857px), 26px);
	}

	.project-hero__btns {
		/* min-height: 285px; */
		/* min-height: 880px; */
		min-height: clamp(285px, calc(132.81250vw + -140.00000px), 880px);
	}

	.project-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.project-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
	}
}

/*--------------------------------------------------------------
# Страница Главная
--------------------------------------------------------------*/

/* Hero-блок
--------------------------------------------- */
.main-hero {
	position: relative;
	background: url('/wp-content/uploads/main-hero-background.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; 	
	top: -94px;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 2880 / 2786;
	overflow: hidden;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	z-index: 1;
}

.main-hero__content {
	margin: clamp(55px, 7vw, 220px) clamp(20px, 3vw, 80px);
}

.main-hero__title {
	font-weight: 400;
	font-size: clamp(6px, 1vw, 28px);
	line-height: 0.97;
	margin: 0 0 2vw;
}

.main-hero__subtitle {
	line-height: 1.16;
	font-weight: 500;
	font-size: clamp(28px, 5.8vw, 146px);
	margin: 0 0 1.4vw;
	text-transform: uppercase;
}

.main-hero__text {
	line-height: 1.14;
	font-weight: 400;
	font-size: clamp(8px, 2.3vw, 80px);
	margin: 0 0 3vw;
	text-transform: uppercase;
}

.main-hero__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	position: relative;
	min-height: clamp(210px, 32.3vw, 830px);
	gap: 0;
	align-self: stretch;
	width: 100%;
	box-sizing: border-box;
}

.main-hero__btns > * {
	align-self: start;
	justify-self: start;
}

.main-hero__btns > *:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: start;
  align-self: start;
  padding: 0;
}

.main-hero__btns > *:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: end;
  padding: 0;
}


.main-hero__btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(12px, 1.7vw, 48px);
  border-radius: 90px;
  background: #fff;
  color: #298C3B;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-hero__btn .wp-block-button__link:hover {
  background: #298C3B;
  color: #fff;
  box-shadow: 0 0 12px 4px #ffffff99;
}

/* Контент основной
--------------------------------------------- */
.main-content {
	position: relative;
	border-radius: 44px;
	background-color: #ffffff;
	z-index: 2;
	margin-top: clamp(-770px, -32.8vw, -170px);
}
 /* Блок Почему стоит довериться нам?
--------------------------------------------- */
.main-content-adventages {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 3vw, 80px) 0;
	position: relative;
	overflow: visible;
}

.main-content-advantages__title {
	padding: 0 clamp(20px, 3vw, 80px) clamp(10px, 1vw, 40px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.main-content-adventages .main-content-advantages__grid {
	display: grid;
	grid-template-columns: repeat(2, 1.5fr) 1fr;
	gap: clamp(12px, 1.7vw, 48px);
	margin: 0 clamp(20px, 2vw, 80px);
}

.main-content-advantages-card {
	background: #ffffff;
	border-radius: 26px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(40px, 6vw, 160px);
	overflow: visible;
}

.main-content-advantages-card h3 {
	color: #000;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(10px, 1.5vw, 40px);
	font-weight: 500;
	text-transform: uppercase;
}

.main-content-advantages-card p {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

.main-content-advantages-special-card {
	background: #298C3B;
}

.main-content-advantages-special-card h3,
.main-content-advantages-special-card p {
	color: #ffffff;
}

/* Как мы строим?
--------------------------------------------- */

.main-content-how {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 3vw, 80px) 0;
	position: relative;
	overflow: visible;
	margin-bottom: clamp(10px, 1.5vw, 40px);
}

.main-content-how::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 82vw;
    transform: translateY(25.5%); 
	aspect-ratio: 2376 / 2714;
    background: url('/wp-content/uploads/main-how-background.png') no-repeat left center / contain;
    z-index: -1;
    pointer-events: none;
}

.main-content-how__title {
	padding: 0 clamp(20px, 3vw, 80px) clamp(10px, 1.5vw, 40px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.main-content-how .main-content-how__grid {
	display: grid;
	gap: clamp(12px, 1.7vw, 48px);
	margin: clamp(20px, 2vw, 80px);
}

.main-content-how__start-info {
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(11px, 1.65vw, 44px);
}

.main-content-how .main-content-how-slides:nth-child(2) {
  position: relative;
  overflow: hidden;              /* обрезаем всё, что выходит за видимую область */
  padding: 0;                    /* убираем внешние отступы, JS считает по innerHeight */
}

/* Контейнер для трансформации */
.main-content-how .main-content-how-slides:nth-child(2) .how-slides-container {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 24px);  /* gap между слайдами; JS читает computed.gap */
  transition: transform 0.32s;
  will-change: transform;
  padding: clamp(8px, 1.2vw, 24px);
}

/* Карточка слайда */
.main-content-how .main-content-how-slides:nth-child(2) .main-content-how-slide {
  border: 1px solid #298C3B;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: visible;
	border-radius: 20px;
	border: 1px solid #298C3B;
	padding: clamp(12px, 1.7vw, 48px) clamp(10px, 1vw, 40px);
	gap: clamp(12px, 1.7vw, 48px);
	background-color: #ffffff;
}

/* Заголовок / текст внутри */
.main-content-how .main-content-how-slides:nth-child(2) .main-content-how-slide h3 {
  margin: 0 0 6px 0;
  color: #298C3B;
  font-family: 'Unbounded', sans-serif;
  line-height: 1.15;
  font-weight: 500;
	font-size: clamp(12px, 1.7vw, 48px);
	text-transform: uppercase;
}

.main-content-how .main-content-how-slides:nth-child(2) .main-content-how-slide p {
  margin: 0;
  color: #111;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(12px, 1.7vw, 48px);
	font-weight: 400;
	line-height: 1.1;
}

/* Контейнер стрелок */
/* Жёстко ставим стрелки справа снизу от ГРИДа */
.main-content-how .how-slider-controls {
    position: absolute;
    right: clamp(20px, 3vw, 60px);
    bottom: clamp(-60px, -3vw, -20px);

    display: flex;
    flex-direction: column;
    gap: 0;

    z-index: 9999;
}

/* Кнопки */
.main-content-how .how-slider-controls button {
    background: transparent;
    cursor: pointer;
    transition: 0.2s ease;
	border: none;
	padding: 0;
}

.main-content-how .how-slider-controls button:hover:not(:disabled) {
    transform: scale(1.07);
}

.main-content-how .how-slider-controls button img {
    width: clamp(20px, 3vw, 80px);
    height: clamp(20px, 3vw, 80px);
}

.main-content-how .how-slider-controls button:disabled {
    opacity: 0.4;
}

/* Как мы строим?
--------------------------------------------- */

.main-content-services {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 3vw, 80px) 0;
	position: relative;
	overflow: visible;
	margin-bottom: clamp(40px, 6vw, 160px);
}

.main-content-services__title {
	padding: 0 clamp(20px, 3vw, 80px) clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}

.main-content-services .main-content-services__items {
  display: grid;
  gap: clamp(6px, 0.9vw, 24px);
  margin: clamp(20px, 2vw, 80px);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
}

/* Первая строка: два элемента делят 3 колонки пополам */
.main-content-services .main-content-services__items > :nth-child(1) {
  grid-column: 1 / 4;
  background-image: url('/wp-content/uploads/main_services_frame.jpg');
}

.main-content-services .main-content-services__items > :nth-child(2) {
  grid-column: 4 / 7;
  background-image: url('/wp-content/uploads/main_services_gas-block.jpg');
}

/* Вторая строка: три элемента, по одной колонке */
.main-content-services .main-content-services__items > :nth-child(3) {
  grid-column: 1 / 3;
  background-image: url('/wp-content/uploads/main_services_finishing.jpg');
}

.main-content-services .main-content-services__items > :nth-child(4) {
  grid-column: 3 / 5;
  background-image: url('/wp-content/uploads/main_services_projecting.jpg');
}

.main-content-services .main-content-services__items > :nth-child(5) {
  grid-column: 5 / 7;
  background-image: url('/wp-content/uploads/main_services_comminication.jpg');
}

/* Общий стиль для элементов */

.main-content-services .main-content-services__item {
	color:#298C3B;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	background: #fff;
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
	height: 100%;
	aspect-ratio: 16 / 12;
	transition: all 0.25s ease;
}

/* Мы на карте
--------------------------------------------- */

.main-content-map {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: visible;
	margin-bottom: clamp(40px, 6vw, 160px);
}


.main-content-map__title {
	padding: 0 clamp(20px, 3vw, 80px);
	color: #298C3B;
	text-transform: uppercase;
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(22px, 3.3vw, 96px);
	font-weight: 500;
	line-height: 1;
}


.main-content-map__btn .wp-block-button__link {
	margin-bottom: clamp(10px, 1.7vw, 48px);
	font-family: 'Unbounded', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  font-size: clamp(10px, 1.7vw, 48px);
  border-radius: 90px;
  background: #298C3B;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-content-map__btn .wp-block-button__link:hover {
  background: #ffffff;
  color: #298C3B;
  box-shadow: 0 0 12px 4px #24884299;
}

@media (max-width: 768px) {
	.main-hero {
		background: url('/wp-content/uploads/main-hero-background-mobile.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain; 	
		aspect-ratio: 720 / 1248;
	}

	.main-hero__title {
		padding-top: 30px;
		font-size: 12px;
	}

	.main-content {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		/* margin-top: -120px; */
		/* margin-top: -150px; */
		margin-top: clamp(-120px, calc(-6.69643vw + -98.57143px), -150px);
	}

	.main-hero__subtitle {
		/* font-size: 22px; */
		/* font-size: 52px; */
		font-size: clamp(22px, calc(6.69643vw + 0.57143px), 52px);
		/* margin-top: 40px; */
		/* margin-top: 110px; */
		margin-top: clamp(40px, calc(15.62500vw + -10.00000px), 110px);
	}

	.main-hero__text {
		/* font-size: 12px; */
		/* font-size: 28px; */
		font-size: clamp(12px, calc(3.57143vw + 0.57143px), 28px);
	}

	.main-hero__btns {
		/* min-height: 250px; */
		/* min-height: 590px; */
		min-height: clamp(250px, calc(75.89286vw + 7.14286px), 590px);
	}

	.main-hero__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 20px; */
		font-size: clamp(8px, calc(2.67857vw + -0.57143px), 20px);
	}

	.main-content-advantages__title {
		/* font-size: 16px; */
		/* font-size: 38px; */
		font-size: clamp(16px, calc(4.91071vw + 0.28571px), 38px);
		margin: 0;
	}

	.main-content-adventages .main-content-advantages__grid {
		display: flex;
		flex-direction: column;
	}

	.main-content-advantages-card {
		/* border-radius: 20px; */
		/* border-radius: 30px; */
		border-radius: clamp(20px, calc(2.23214vw + 12.85714px), 30px);
		/* gap: 20px; */
		/* gap: 40px; */
		gap: clamp(20px, calc(4.46429vw + 5.71429px), 40px);
	}

	.main-content-advantages-card h3,
	.main-content-advantages-card p {
		/* font-size: 9px; */
		/* font-size: 26px; */
		font-size: clamp(9px, calc(3.79464vw + -3.14286px), 26px);
	}

	.main-content-how__start-info,
	.main-content-how::before {
		display: none;
	}
	.main-content-how .main-content-how__grid {
		grid-template-columns: 1fr;
	}

	.main-content-services {
		/* margin-bottom: 15px; */
		/* margin-bottom: 30px; */
		margin-bottom: clamp(15px, calc(3.34821vw + 4.28571px), 30px);
	}

	.main-content-services__title {
		/* font-size: 16px; */
		/* font-size: 36px; */
		font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
		margin: 0;
		padding-bottom: 0;
	}

	.main-content-services .main-content-services__items {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.main-content-services .main-content-services__item {
		/* border-radius: 15px; */
		/* border-radius: 22px; */
		border-radius: clamp(15px, calc(1.56250vw + 10.00000px), 22px);
	}

	.main-content-map__title {
		/* font-size: 16px; */
		/* font-size: 42px; */
		font-size: clamp(16px, calc(5.80357vw + -2.57143px), 42px);
		padding-right: 0;
	}

	.main-content-map__btn .wp-block-button__link {
		/* font-size: 8px; */
		/* font-size: 18px; */
		font-size: clamp(8px, calc(2.23214vw + 0.85714px), 18px);
	}

	.main-content-map .main-content-map__header {
		display: grid;
		grid-template-columns: 2fr 1.5fr;
	}

	.main-content-services .main-content-services__item {
		aspect-ratio: 640 / 546;
	}

	.main-content-services .main-content-services__items > :nth-child(1) {
		background-image: url('/wp-content/uploads/main_services_frame-mobile.jpg');
	}

	.main-content-services .main-content-services__items > :nth-child(2) {
		background-image: url('/wp-content/uploads/main_services_gas-block-mobile.jpg');
	}

	.main-content-services .main-content-services__items > :nth-child(3) {
		background-image: url('/wp-content/uploads/main_services_finishing-mobile.jpg');
	}

	.main-content-services .main-content-services__items > :nth-child(4) {
		background-image: url('/wp-content/uploads/main_services_projecting-mobile.jpg');
	}

	.main-content-services .main-content-services__items > :nth-child(5) {
		background-image: url('/wp-content/uploads/main_services_comminication-mobile.jpg');
	}

	.main-content-how .how-slider-controls button img {
		/* width: 40px; */
		/* width: 60px; */
		width: clamp(40px, calc(4.46429vw + 25.71429px), 60px);
		/* height: 40px; */
		/* height: 60px; */
		height: clamp(40px, calc(4.46429vw + 25.71429px), 60px);
	}
}

.error-404 {
	background-image: url('/wp-content/uploads/contacts-hero-background_mobile.jpg');
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.error-404 .page-title {
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(16px, calc(4.46429vw + 1.71429px), 36px);
	color: #298C3B;
}

.error-404 .page-content {
	font-family: 'Unbounded', sans-serif;
	font-size: clamp(8px, calc(2.23214vw + 0.85714px), 18px);
	color: #fff;
}

.error-404 .page-content a {
	color: #298C3B;
	font-size: (15px, calc(1.56250vw + 10.00000px), 22px);
	font-weight: 500;
}