/*!
Theme Name: Cheks
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: cheks
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.

Cheks 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: #fff;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: rgb(13 110 253);
}

a:visited {
	color: #ffffff;
}

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: 6px;
	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: 6px;
	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-block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 6px;
	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;
}

/* Сброс стилей и глобальные настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #212529!important;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Глобальные стили для текста */
p, h1, h2, h3, h4, h5, h6, span, li, div {
    color: #212529!important;
    font-family: 'Inter', sans-serif;
    
}

/* Основной контейнер */
.wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 100vh;
}

/* Основное содержимое */
main {
    flex: 1 0 auto;
}

/* Типографика */
.title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

body, p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* Spacing utilities */
.m-8 { margin: 8px; }
.m-16 { margin: 16px; }
.m-32 { margin: 32px; }
.m-64 { margin: 64px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-64 { margin-top: 64px; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-64 { margin-bottom: 64px; }

.ml-8 { margin-left: 8px; }
.ml-16 { margin-left: 16px; }
.ml-32 { margin-left: 32px; }
.ml-64 { margin-left: 64px; }

.mr-8 { margin-right: 8px; }
.mr-16 { margin-right: 16px; }
.mr-32 { margin-right: 32px; }
.mr-64 { margin-right: 64px; }

.p-8 { padding: 8px; }
.p-16 { padding: 16px; }
.p-32 { padding: 32px; }
.p-64 { padding: 64px; }

.pt-8 { padding-top: 8px; }
.pt-16 { padding-top: 16px; }
.pt-32 { padding-top: 32px; }
.pt-64 { padding-top: 64px; }

.pb-8 { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pb-32 { padding-bottom: 32px; }
.pb-64 { padding-bottom: 64px; }

.pl-8 { padding-left: 8px; }
.pl-16 { padding-left: 16px; }
.pl-32 { padding-left: 32px; }
.pl-64 { padding-left: 64px; }

.pr-8 { padding-right: 8px; }
.pr-16 { padding-right: 16px; }
.pr-32 { padding-right: 32px; }
.pr-64 { padding-right: 64px; }

/* Container spacing */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding-left: 16px;
    padding-right: 16px;
}
@media (max-width:768px) {
    .container-header {
        width: 100%;
    }
}
.btn-header-height{
    padding: 8px 32px!important;
}

/* Header and footer spacing */
header, footer {
    background: #000;
    color: #fff!important;
    padding: 16px 0;
}
header .logo {
    font-size: 1.8em;
    font-weight: bold;
}
header .contact-info {
    font-size: 0.9em;
}
header .nav-links {
    display: flex;
    list-style: none;
}
header .nav-links li {
    margin-left: 16px;
}
header .messengers a {
    margin-left: 16px;
}
footer {
    text-align: center;
    font-size: 0.9em;
    flex-shrink: 0;
    margin-top: auto;
    color: #fff!important;
}
footer nav a {
    margin: 0 16px;
}

/* Основное содержимое */
.main {
    padding: 32px 0;
}
.section {
    margin-bottom: 32px;
    padding: 32px 0;
}
.section h2 {
    margin-bottom: 16px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

/* Стили карточек */
.card-container,
.catalog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.card {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 16px;
    flex: 1 1 calc(25% - 16px);
    min-width: 220px;
    margin-bottom: 16px;
}
.card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}
.card h3 {
    margin-bottom: 16px;
}
.card p {
    font-size: 0.9em;
}

/* Слайдер с отзывами */
.slider {
    position: relative;
    overflow: hidden;
    background: #e9e9e9;
    padding: 16px;
}
.slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 16px;
}
.slide p {
    font-size: 1em;
    font-style: italic;
}
.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.controls span {
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px 16px;
}

/* Форма заказа */
.order-form {
    background: #f9f9f9;
    padding: 16px;
    border: 1px solid #ccc;
}
.order-form h2 {
    margin-bottom: 16px;
}
.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
}
.order-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 32px;
    cursor: pointer;
}

/* Адаптивность */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    header .nav-links {
        margin-top: 16px;
    }
    .section {
        padding: 16px 0;
    }
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Стили для первого экрана приветствия */
.welcome {
    height: 50vh;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px;
}

.welcome h1 {
    font-size: 3em;
    margin-bottom: 16px;
}

.welcome p {
    font-size: 1.2em;
    margin-bottom: 32px;
}

/* Стили для кнопки "Заказать чек" */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #333;
}

/* Стили для картинки в приветственном блоке */
.hero-img {
    max-width: 100%;
    height: auto;
    margin-top: 16px;
    border: 1px solid #ccc;
}

.faq-block {
    margin: 32px 0;
    padding: 16px;
    background: #f8f8f8;
    border: 1px solid #ddd;
}

.faq-block h2 {
    margin-bottom: 16px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.faq-block details {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

.faq-block summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
}

.faq-block summary::-webkit-details-marker {
    color: #212529;
}

.faq-block p {
    padding-left: 16px;
    margin-top: 16px;
}

.btn-consultation {
    display: inline-block;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-decoration: none;
    margin-left: 16px;
}

.btn-consultation:hover {
    background: #333;
}

/* Обновлённые стили для шапки с использованием Flexbox */
header {
    
    flex-shrink: 0;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9e9e9;
    padding: 16px 0;
}
@media (max-width: 768px) {
    header {
        padding-top: 0px!important;
        padding-bottom: 0px!important;
    }
}
.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
}

/* Логотип занимает левую часть */
.logo {
    font-size: 1.8em;
    font-weight: bold;
    flex: 1;
}

/* Контактная информация и мессенджеры */
.contact-info {
    font-size: 0.9em;
    margin: 8px 16px;
}

.messengers {
    display: flex;
    align-items: center;
    margin: 8px 16px;
}

.messengers a {
    margin-left: 16px;
    display: flex;
    align-items: center;
}

/* Навигация выравнена по правой стороне */
nav {
    flex: 0 1 auto;
    text-align: right;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: auto;
}

.nav-links li {
    margin-left: 16px;
}

.nav-links li a {
    padding: 8px 16px;
    transition: background 0.3s ease;
    color: #fff;
    white-space: nowrap;
}

/* При наведении изменяется фон у ссылок */
.nav-links li a:hover {
    background: #333;
    border-radius: 6px;
}

/* Стилизация кнопки "Бесплатная консультация" */
.btn-consultation {
    background: #207100;
    color: #212529;
    padding: 16px 32px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-consultation:hover {
    background: #207100;
    color: #212529;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        text-align: left;
        width: 100%;
    }
    .nav-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .nav-links li {
        margin: 8px 16px 8px 0;
    }
}

/* Минимальный CSS файл с дополнительными стилями */

/* Анимация иконок в блоках преимуществ при наведении */
.card .bi {
    transition: transform 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.2);
}

/* Стили для круговой схемы работы */
.bg-white.rounded-circle {
    transition: all 0.3s ease;
}

.bg-white.rounded-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Стиль для страницы активной в навигации */
.navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Эффект для кнопок */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Стили для кнопок карусели отзывов */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    padding: 8px;
}

/* Ограничение высоты для отзывов */
#testimonialCarousel .card {
    min-height: 250px;
}

/* Стиль для футера */
footer {
    text-align: center;
    font-size: 0.9em;
    flex-shrink: 0;
    margin-top: auto;
    color: #fff!important;
}

footer * {
    color: #fff!important;
}

footer h5,
footer p,
footer a,
footer li,
footer i,
footer span {
    color: #fff!important;
}

footer a:hover {
    color: #fff!important;
    text-decoration: underline!important;
}

footer .text-white {
    color: #fff!important;
}

footer .text-decoration-none {
    color: #fff!important;
}

footer .text-muted {
    color: #fff!important;
    opacity: 0.8;
}

footer .bi {
    color: #fff!important;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    /* Уменьшаем отступы на мобильных устройствах */
    section {
        padding: 32px 0;
    }
    
    /* Центрируем текст на мобильных устройствах */
    .text-md-start {
        text-align: center !important;
    }
    
    .text-md-end {
        text-align: center !important;
    }
}

/* Стили для шапки сайта с контактной информацией */
header .bi {
    color: rgb(13 110 253);
}

header .text-muted {
    font-size: 0.85rem;
    color: #555555;
}

header .fw-bold {
    font-size: 1rem;
    color: rgb(13 110 253);
}

header .phone-number {
    color: rgb(13 110 253);
    font-weight: 600;
}

/* Rename to make it generic for all contact links */
header .contact-link {
    color: rgb(13 110 253);
    font-weight: 600;
}

/* Дополнительные стили для шапки */
.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    line-height: 1.3;
}

/* Улучшенные стили для мобильной адаптивности */
@media (max-width: 768px) {
    /* Уменьшаем отступы на мобильных устройствах */
    section {
        padding: 32px 0;
    }
    
    /* Центрируем текст на мобильных устройствах */
    .text-md-start {
        text-align: center !important;
    }
    
    .text-md-end {
        text-align: center !important;
    }
    
    /* Стили для контактной информации на мобильных */
    .contact-icon {
        margin-right: 16px;
    }
    
    header .bi {
        font-size: 1.75rem !important;
    }
    
    header .text-muted {
        font-size: 0.75rem;
    }
    
    header .fw-bold {
        font-size: 0.9rem;
    }
    
    /* Выравнивание иконок социальных сетей */
    header .fw-bold.d-flex {
        justify-content: space-between;
    }
    
    header .fw-bold.d-flex a.contact-link {
        flex: 1;
    }
}

/* Стили для очень маленьких экранов */
@media (max-width: 576px) {
    header .fw-bold.d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header .fw-bold.d-flex a.ms-2 {
        margin-top: 8px;
        margin-left: 0 !important;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

/* Стили для социальных иконок как отдельного блока */
header .social-icons {
    display: flex;
    align-items: center;
}

header .social-icons a {
    transition: all 0.3s ease;
}

header .social-icons a:hover {
    transform: translateY(-3px);
}

header .social-icons .bi {
    font-size: 2rem !important;
}

/* Стили для модального окна консультации */
.modal-header {
    background-color: rgb(13 110 253);
    color: white;
    padding: 16px;
}
.modal-title {
    color: white!important;
}

.modal-header .btn-close {
    color: white!important;
    opacity: 1;
    filter: brightness(0) invert(1);
}

.btn-close {
    color: white!important;
    opacity: 1;
    filter: brightness(0) invert(1);
}

#consultationForm .btn-primary {
    background-color: rgb(13 110 253);
    border-color: rgb(13 110 253);
}

#consultationForm .btn-primary:hover {
    background-color: rgb(11 94 215);
    border-color: rgb(11 94 215);
}

#consultationForm input:focus {
    border-color: rgb(13 110 253);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Улучшенная адаптивность для социальных иконок */
@media (max-width: 768px) {
    header .social-icons {
        justify-content: center;
        /* margin-top: 16px; */
        width: 100%;
    }
    
    header .social-icons a {
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    header .social-column {
        justify-content: center !important;
        margin-top: 16px;
    }
    
    header .social-icons {
        justify-content: center;
        width: 100%;
    }
    
    header .social-icons a {
        margin: 0 5px;
    }
}

/* Улучшенные стили для контактов на десктопе */
@media (min-width: 768px) {
    header .contact-text {
        min-width: 170px;
    }
    
    /* Увеличиваем отступ между иконкой и текстом для более широких контактов */
    header .contact-icon {
        margin-right: 16px;
    }
}

/* Стили для мобильного меню */
.mobile-menu-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
}

.mobile-menu-btn:focus {
    outline: none;
    box-shadow: none;
}

.offcanvas-header {
    background-color: rgb(13 110 253);;

}

.offcanvas-title {
    font-weight: 600;
    color: white!important;
}

#mobileMenu .nav-link {
    color: #212529;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid #e9e9e9;
}

#mobileMenu .nav-link.active {
    color: rgb(13 110 253);
    font-weight: 600;
}

#mobileMenu .social-icons .bi {
    font-size: 1.75rem !important;
}

#mobileMenu .contact-icon {
    margin-right: 16px;
}

/* Стили для кнопки бесплатной консультации на мобильных */
.navbar.d-block.d-md-none .btn-primary {
    font-weight: 600;
}

/* Дополнительные стили для адаптивности */
@media (max-width: 767px) {
    .contact-text {
        flex: 1;
    }
}

/* Обновление медиа-запросов для точки 1024px */
@media (max-width: 1024px) {
    /* Стили для мобильного меню */
    header .social-column {
        justify-content: center !important;
        margin-top: 6px;
    }
    
    header .social-icons {
        justify-content: center;
        width: 100%;
    }
    
    header .social-icons a {
        margin: 0 5px;
    }
    
    /* Контакты в мобильном меню */
    #mobileMenu .contact-icon {
        margin-right: 16px;
    }
    
    #mobileMenu .social-icons .bi {
        font-size: 1.75rem !important;
    }
    
    /* Стили для мобильной навигации */
    .navbar.d-block.d-lg-none .btn-primary {
        font-weight: 600;
    }
    
    /* Уменьшаем отступы на мобильных устройствах */
    section {
        padding: 32px 0;
    }
    
    /* Центрируем текст на мобильных устройствах */
    .text-lg-start {
        text-align: center !important;
    }
    
    .text-lg-end {
        text-align: center !important;
    }
}

/* Адаптация для средних экранов (планшеты, узкие экраны) */
@media (min-width: 768px) and (max-width: 1024px) {
    header .contact-text {
        min-width: 150px;
    }
}

/* Улучшенные стили для контактов на десктопе (>1024px) */
@media (min-width: 1025px) {
    header .contact-text {
        min-width: 170px;
    }
    
    /* Увеличиваем отступ между иконкой и текстом для более широких контактов */
    header .contact-icon {
        margin-right: 16px;
    }
}

/* Стили для мобильного вида (< 1024px) */
body.mobile-view .desktop-only {
    display: none !important;
}

/* Стили для десктопного вида (≥ 1024px) */
body:not(.mobile-view) .mobile-only {
    display: none !important;
}

/* Стили для SEO-блока с текстом */
.seo-text {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 4rem;
}
.seo-text-border{
    border: 1px solid rgb(214, 214, 214);
}
@media (max-width: 1024px) {
    .seo-text {
        padding: 2rem 1rem;
    }
}

.seo-text h2 {
    color: rgb(13 110 253);
    font-weight: 600;
}

.seo-text p {
    line-height: 1.6;
    color: #555;
}

.seo-text ul {
    padding-left: 16px;
    margin-bottom: 16px;
}

.seo-text li {
    margin-bottom: 8px;
    position: relative;
}

/* Преимущества на мобильных устройствах в одну колонку */
@media (max-width: 1024px) {
    .advantages-row {
        flex-direction: column;
    }
    
    .advantages-row > div {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .advantages-row .card {
        margin-bottom: 16px;
    }
}

/* Стили контактной формы в модальном окне */
.modal-body .wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-body .wpcf7-form br {
    display: none; /* Скрываем теги br */
}

.modal-body .wpcf7-form-control-wrap {
    display: block;
    margin-top: 5px;
}

.modal-body .wpcf7-form input[type="text"],
.modal-body .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.modal-body .wpcf7-form input[type="text"]:focus,
.modal-body .wpcf7-form input[type="tel"]:focus {
    border-color: rgb(13 110 253);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.modal-body .wpcf7-form .wpcf7-submit {
    background-color: rgb(13 110 253);
    border-color: rgb(13 110 253);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: block;
    margin-top: 15px;
}

.modal-body .wpcf7-form .wpcf7-submit:hover {
    background-color: rgb(11 94 215);
    border-color: rgb(11 94 215);
}

.modal-body .wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.modal-body .wpcf7-form .wpcf7-response-output {
    margin: 15px 0 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

/* Стили для форм */
/* Форма в приветственном блоке (в одну строку) */
section.bg-light .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section.bg-light .wpcf7-form p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
}

section.bg-light .wpcf7-form label {
    display: none; /* Скрываем лейблы */
}

section.bg-light .wpcf7-form br {
    display: none; /* Скрываем теги br */
}

section.bg-light .wpcf7-form .wpcf7-spinner {
    display: none; /* Скрываем спиннер */
}

section.bg-light .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    text-align: center;
}

section.bg-light .wpcf7-form input[type="text"],
section.bg-light .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

section.bg-light .wpcf7-form .wpcf7-submit {
    background-color: rgb(13 110 253);
    border-color: rgb(13 110 253);
    color: white;
    padding: 8px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 38px;
    min-width: 200px;
    margin: 0 auto;
}

section.bg-light .wpcf7-form .wpcf7-submit:hover {
    background-color: rgb(11 94 215);
    border-color: rgb(11 94 215);
}

/* Форма в блоке заказа (в столбик) */
#order .wpcf7-form {
    max-width: 500px;
    margin: 0 auto;
}

#order .wpcf7-form p {
    margin-bottom: 15px;
}

#order .wpcf7-form br {
    display: none; /* Скрываем теги br */
}

#order .wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

#order .wpcf7-form input[type="text"],
#order .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#order .wpcf7-form .wpcf7-submit {
    background-color: rgb(13 110 253);
    border-color: rgb(13 110 253);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#order .wpcf7-form .wpcf7-submit:hover {
    background-color: rgb(11 94 215);
    border-color: rgb(11 94 215);
}

/* Адаптивность для форм */
@media (max-width: 768px) {
    section.bg-light .wpcf7-form {
        flex-direction: column;
    }
    
    section.bg-light .wpcf7-form p {
        width: 100%;
    }
    
    section.bg-light .wpcf7-form .wpcf7-submit {
        width: 100%;
    }
}

/* Button styles for mobile navigation */
.navbar.navbar-dark.bg-primary .btn.btn-outline-light {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    /* transition: none !important;
    transform: none !important;
    animation: none !important; */
}
.navbar.navbar-dark.bg-primary .btn.btn-outline-light:hover,
.navbar.navbar-dark.bg-primary .btn.btn-outline-light:focus,
.navbar.navbar-dark.bg-primary .btn.btn-outline-light:active {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    /* transform: none !important;
    animation: none !important;
    box-shadow: none !important; */
}

/* Remove button animation in mobile navigation */
/* .btn-primary {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
} */

.card-noanimation {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
}
.card-noanimation:hover,
.card-noanimation:focus,
.card-noanimation:active {
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    filter: none !important;
}
footer .btn-primary{
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-color: white;
    background-color: transparent;
    
}
footer .btn-primary:hover{
    background-color: rgb(49, 48, 48);
    border-color: white;
}


footer .btn.btn-primary {
    /* transition: none !important;
    transform: none !important;
    animation: none !important; */
}
footer .btn.btn-primary:hover,
footer .btn.btn-primary:focus,
footer .btn.btn-primary:active {
    /* transform: none !important;
    animation: none !important;
    box-shadow: none !important; */
    background-color: rgb(49, 48, 48);
    border-color: white;
}

.rvw-filters{
    display: none;
}
@media (max-width: 768px) {
.rvw-gallery-grid{
    grid-template-columns: unset!important;
}
}

/* Workflow steps on mobile devices - two rows */
@media (max-width: 768px) {
    .workflow-steps .col-md-2 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}
.navbar .btn-primary, footer .btn-primary{
    border: 1px solid white;
    background: transparent;
}
.btn-light{
    border: 1px solid white;
    background: transparent;
}
.btn-light:hover{
    color: white;
    background: transparent;
}
.no-card{
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color: ;
    --bs-card-subtitle-color: ;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) -(var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex
;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.rvw-modal-close{
    margin-top: -14px;
    margin-left: 10px;
}
.sticky-top{
    z-index: 1;
}

@media (max-width: 768px) {
    .rew-container{
        padding: 0;
        width: 100%;
    }
    .rew-container .container{
        width: 100%;
    }
}
.social-links {
    display: inline-block;
    padding: 2px 16px;
    background: #00000000;
    color: #0d6efd;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #0d6efd;
    font-size: 28px;
}
.social-links:hover{
    color: #0d6efd;
}