/*!
Theme Name: versina_efremovmarketing
Theme URI: http://underscores.me/
Author: Vadim Efremov
Author URI: https://efremov-marketing.ru/
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: versina_efremovmarketing
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.

versina_efremovmarketing 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.
 */
 main#primary {
    margin-top: 185px;
    font-size: 18px;
}
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: #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;
}

.contact_form input {
    min-width: 100%;
    max-width: 100%;
    padding: 15px;
    border: 2px solid var(--accent-color);
    margin: 5px 0;
    font-size: 18px;
}

.contact_form input[type="submit"] {
    background: #bb955c;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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


/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

h1.entry-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

@media (max-width: 1390px) {
    .logo-description {
        display: none;
    }
}
.page-contact__block {
    margin: 40px 0px;
}

.page-contact__content {
    color: #000;
}

.page-contact__value, .page-contact__value a {
    display: grid;
    margin-top: 10px;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 20px;
}

.page-contact__label {
    color: #000;
} 

.entry-content ul li {
    color: #bb955c;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.header__socials-icons img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.header__socials-icons a:hover img {
    opacity: 1;
}

.header__contacts--mobile {
    display: none;
}



/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 2%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    background: var(--accent-color);
    color: #fff;
    border-radius: 10px;
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* .catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
} */

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('/wp-content/uploads/2026/02/portfolio10-scaled.jpg');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* Пример фонового изображения */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Темный полупрозрачный слой */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    background: #bb955c;
    border: 0;
    padding: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* Поправка на высоту пагинации */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    gap: 15px;
}

.footer__socials-icons img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer__socials-icons a:hover img {
    opacity: 1;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq__list {
    max-width: 920px;
    margin: 40px auto 0;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item__header {
    width: 100%;
    padding: 22px 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
}

.faq-item__question {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--accent-color);
    text-align: left;
}

.faq-item__icon {
    flex-shrink: 0;
}

.faq-item__icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.faq-item__icon svg {
    display: block;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.faq-item__answer p {
    margin-bottom: 20px;
    color: #555;
}

.faq-item.is-open .faq-item__answer {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.faq-item.is-open .faq-item__answer p {
    margin-top: 4px;
}

.faq-item.is-open .faq-item__icon-circle {
    background-color: var(--accent-color);
    color: #fff;
}

.faq-item.is-open .faq-item__icon svg {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
    .footer__contacts svg {
        width: 100%;
    }
    /* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.header__socials-icons img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.header__socials-icons a:hover img {
    opacity: 1;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    gap: 15px;
}

.footer__socials-icons img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer__socials-icons a:hover img {
    opacity: 1;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }

    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
            grid-template-columns: 1fr;
            text-align: center;
            margin-top: 15px;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__contacts a, span {
    text-align: center;
    display: block;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }


    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); /* ÐŸÑ€Ð¸Ð¼ÐµÑ€ Ñ„Ð¾Ð½Ð¾Ð²Ð¾Ð³Ð¾ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ */
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ð¢ÐµÐ¼Ð½Ñ‹Ð¹ Ð¿Ð¾Ð»ÑƒÐ¿Ñ€Ð¾Ð·Ñ€Ð°Ñ‡Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__socials {
        display: none;
    }
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}/* Reset and Base Styles */
:root {
    --bg-color: #eeeeee;
    --text-color: #fff;
    --text-color_decs: #000;
    --accent-color: #bb955c;
    --surface-color: #131313;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color_decs);
    font-weight: 600;
}

.section-title-black {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 600;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(26 26 26 / 97%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper svg {
    max-width: 250px;
    max-height: 70px;
}

.logo-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.3;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.header__phone {
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
}

.header__callback {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* --- Icon Alignment --- */
.header__schedule,
.header__phone,
.contacts__info a,
.contacts__info p:not(:first-child),
.footer__phone,
.footer__contacts > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts svg,
.contacts__info svg,
.footer__contacts svg {
    color: var(--accent-color);
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 5px;
}

.contacts__info svg {
    width: 20px;
    height: 20px;
}

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

.header__socials {
    text-align: right;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.header__socials p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

.header__socials-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.header__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.header__socials-icons a:hover {
    color: #fff;
}

.header__socials-icons svg {
    width: 28px;
    height: 28px;
}

.header__contacts--mobile {
    display: none;
}

.button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.button--primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.button--primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    margin: 8px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Internal Page Styles */
.page-hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Stair Types Section */
.stair-types {
    padding: 50px 0px 0px 0px;
    background-color: var(--bg-color);
}

.stair-types .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.stair-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stair-type-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stair-type-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.stair-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #2a2a2a;
}

.page-content {
        padding: 80px 0 0 0;
    color: var(--text-color_decs);
}

.page-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.page-description .section-title {
    margin-bottom: 30px;
}

.page-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.works-gallery {
    margin-bottom: 80px;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.works-gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.works-gallery__item img:hover {
    transform: scale(1.03);
}

/* Pricing Table */
.pricing-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    color: var(--text-color);
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}

.pricing-table tbody tr:hover {
    background-color: #2a2a2a;
}



/* Main Content */
.main {
    padding-top: 80px; /* Header height */
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
    color: #fff;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.hero__feature-item {
    text-align: center;
}

.hero__feature-plus {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.button--large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalog-item__img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.catalog-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-item:hover .catalog-item__img {
    transform: scale(1.05);
}

.catalog-item__title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    margin: 0;
    background-color: var(--accent-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
}

.order-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

.order-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.order-section__form-wrapper .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.order-section__form-wrapper .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
}

.order-form .form__group {
    position: relative;
    margin-bottom: 25px;
}

.order-form .form__input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

.order-form .form__input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.order-form .form__label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

.order-form .form__input:focus + .form__label,
.order-form .form__input:not(:placeholder-shown) + .form__label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.order-form .button {
    width: 100%;
    margin-top: 20px;
}

.order-form .form__consent {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.order-form .form__checkbox {
    margin-right: 10px;
}

.order-form .form__consent-label {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .order-section__inner {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    color: #fff;
    position: relative;
    background: url('./img/IMG_3127.JPG');
    background-position: 50% 50%;
    background-size: cover;
    padding: 80px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-color);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-card__title {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps Section */
.steps {
    padding: 80px 0 0px 0px;
}

.steps__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 120px;
}

.step-item__icon {
    margin-bottom: 15px;
}

.step-item__icon svg {
    stroke: var(--accent-color);
}

.step-item__title {
    font-size: 1rem;
    color: var(--text-color_decs);
}

.step-item__arrow {
    font-size: 2rem;
    color: var(--border-color);
}

@media (max-width: 768px) {
    .steps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        justify-items: center;
    }
    .step-item__arrow {
        display: none;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.portfolio {
    padding: 80px 0px 0px 0px;
}
/* Portfolio Section */
.portfolio .about {
    padding: 80px 0;
    background-image: url('https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); 
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color_decs);
}
.section-subtitle-black {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.portfolio-slider {
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.portfolio-slider-wrapper .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.portfolio-item {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.portfolio-item__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-item__btn {
    opacity: 1;
}

.portfolio-slider-wrapper .swiper-pagination-bullet {
    background-color: var(--text-color);
}

.portfolio-slider-wrapper .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--accent-color);
    transition: color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px; /* ÐŸÐ¾Ð¿Ñ€Ð°Ð²ÐºÐ° Ð½Ð° Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¿Ð°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ð¸ */
}

.portfolio-slider-wrapper .swiper-button-next {
    right: 0;
}

.portfolio-slider-wrapper .swiper-button-prev {
    left: 0;
}

.portfolio-slider-wrapper .swiper-button-next:hover,
.portfolio-slider-wrapper .swiper-button-prev:hover {
    color: #fff;
}

.portfolio-slider-wrapper .swiper-button-next::after,
.portfolio-slider-wrapper .swiper-button-prev::after {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Contacts Section */
.contacts {
    padding: 0px 0 80px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.contacts__info {
    color: #000;
} 

.contacts__info a {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color_decs);
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacts__info a:hover {
    color: var(--accent-color);
}

.contacts__map {
    width: 100%;
    height: 400px;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
}

.form__input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 8px;
}

.form__input::placeholder {
    color: #888;
}

.form .button {
    width: 100%;
}

/* Footer */
/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.review-card__rating {
    color: #ffc107;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color_decs);
}

.footer {
    padding: 60px 0 30px;
    background-color: #1f1f1f;
    border-top: 1px solid var(--border-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer__subscribe {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 15px;
}

.footer__form .form__input {
    flex-grow: 1;
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

.footer__form .button {
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
}

.footer__policy {
    font-size: 0.8rem;
    color: #888;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__contacts .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__contacts p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer__contacts span {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.footer__socials {
    text-align: center;
}

.footer__socials p {
    margin-bottom: 10px;
}

.footer__socials-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer__socials-icons a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.footer__socials-icons a:hover {
    color: #fff;
}

.footer__socials-icons svg {
    width: 32px;
    height: 32px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer__nav-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__nav-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__nav-col a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #888;
}

@media (max-width: 992px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__nav {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header__contacts, .logo-description {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }

    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 10px;
    }
}.footer__contacts svg {
        width: 100%;
    }
}