/* ================= VARIABLES & RESET ================= */
:root {
	--bg-color: #f1f5f6;
	--card-bg: #ffffff;
	--accent: #5482dc;
	--accent-hover: #3b66b8;
	--text-main: #333333;
	--text-muted: #666666;
	--radius: 16px;
	--shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	--transition: all 0.3s ease;
	--container: 1400px;
}

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

html {
	scroll-padding-top: 80px;
}

body {
	background-color: var(--bg-color);
	color: var(--text-main);
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-accent {
	font-family: 'Oranienbaum', serif;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

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

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 22px 35px;
	background-color: var(--accent);
	color: #fff;
	background: #247cdb;
	box-shadow: inset 5px 5px 20px rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn:hover {
	background-color: var(--accent-hover);
	transform: translateY(-2px);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--accent);
	color: var(--accent);
}

.btn-outline:hover {
	background-color: var(--accent);
	color: #fff;
}

h2 {
	margin-bottom: 0;
	text-align: left;
	font-size: 42px;
	line-height: 1.2;
	color: var(--text-main);
}

h3 {
	font-size: 22px;
}

.section-title {
	text-align: center;
	margin-bottom: 40px;
}

section {
	padding: 60px 0;
	position: relative;
}

/* ================= HEADER ================= */
header {
	background-color: var(--card-bg);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 15px 0;
}

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

.header-nav-wrap {
	display: contents;
}

.burger-btn {
	display: none;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	color: var(--accent);
}

nav ul {
	display: flex;
	gap: 24px;
	align-items: center;
}

nav a {
	font-weight: 500;
	transition: color 0.2s;
}

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

.header-socials {
	display: flex;
	gap: 10px;
	margin-left: 15px;
	border-left: 1px solid #eee;
	padding-left: 15px;
}

.header-socials a {
	color: var(--accent);
	transition: 0.2s;
	display: flex;
	align-items: center;
}

.header-socials a:hover {
	color: var(--accent-hover);
	transform: scale(1.1);
}

.header-socials svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.header-contacts {
	display: flex;
	align-items: center;
	gap: 20px;
}

.phone {
	font-weight: 700;
	font-size: 18px;
}

/* ================= HERO & DECORATIONS ================= */
.hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	background-color: #f1f5f6;
	/* Заменили на светлую заглушку */
	background-image: url('bg2.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	/* Чтобы ветки не вылазили за экран */
}

.hero::before {
	display: none;
	/* Убрали затемняющий градиент */
}

/* Декоративные элементы (Ветки и трава) */
.hero-decor-grass {
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 150px;
	object-fit: cover;
	z-index: 3;
	pointer-events: none;
	opacity: 0.9;
}

.hero-decor-bush-left {
	position: absolute;
	left: -50px;
	top: 10%;
	height: 80%;
	z-index: 3;
	pointer-events: none;
	filter: blur(2px);
	opacity: 0.9;
}

.hero-decor-bush-right {
	position: absolute;
	right: -50px;
	bottom: 5%;
	height: 70%;
	z-index: 3;
	pointer-events: none;
	filter: blur(3px);
	opacity: 0.9;
}

.hero .container {
	width: 100%;
	position: relative;
	z-index: 4;
}

.hero-content {
	color: var(--text-main);
	max-width: 700px;
	text-align: left;
}

/* Темный текст */
.hero h1 {
	font-size: 56px;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero h1 .text-accent {
	color: var(--accent);
}

/* Класс для выделения синим */
.hero p {
	font-size: 20px;
	margin-bottom: 30px;
	opacity: 0.9;
	color: var(--text-muted);
}

.hero-features {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.hero-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	background: #ffffff;
	padding: 8px 16px;
	border-radius: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
	font-weight: 500;
	color: var(--text-main);
}

/* Белые плашки с тенью */
.hero-actions {
	display: flex;
	gap: 16px;
}

/* ================= MARQUEE ================= */
.marquee-wrap {
	background-color: var(--accent);
	color: #fff;
	padding: 12px 0;
	overflow: hidden;
	display: flex;
	white-space: nowrap;
	position: relative;
	z-index: 5;
}

.marquee-content {
	display: inline-block;
	animation: marquee 25s linear infinite;
}

.marquee-content span {
	font-size: 16px;
	font-weight: 500;
	margin-right: 40px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* ================= CATALOG ================= */
.catalog-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 40px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	gap: 20px;
}

.catalog-header .section-title {
	margin-bottom: 0;
	text-align: left;
}

.filters {
	display: flex;
	gap: 15px;
}

.filter-select {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
	outline: none;
	cursor: pointer;
	transition: var(--transition);
}

.filter-select:focus {
	border-color: var(--accent);
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

.product-card {
	background: var(--card-bg);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: var(--transition);
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-image-wrap {
	position: relative;
	cursor: pointer;
}

.product-city-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(255, 255, 255, 0.9);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-main);
	z-index: 2;
	pointer-events: none;
}

.product-main-img {
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.product-thumbs {
	display: flex;
	gap: 5px;
	padding: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar {
	display: none;
}

.thumb-img {
	width: 60px;
	height: 45px;
	object-fit: cover;
	border-radius: 4px;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: 0.6;
	transition: 0.2s;
}

.thumb-img:hover,
.thumb-img.active {
	opacity: 1;
	border-color: var(--accent);
}

.product-info {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.product-title {
	font-size: 22px;
	margin-bottom: 10px;
}

.product-desc {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 15px;
	flex-grow: 1;
}

.product-price {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 15px;
}

.product-specs {
	margin-bottom: 20px;
}

.product-specs li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.product-specs svg {
	width: 16px;
	height: 16px;
	fill: var(--accent);
}

.product-action {
	width: 100%;
}

.load-more-wrap {
	text-align: center;
}

/* ================= ABOUT US & WREATH ================= */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-text h2 {
	text-align: left;
	margin-bottom: 25px;
}

.about-text p {
	margin-bottom: 15px;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.8;
}

.about-text ul {
	margin-bottom: 20px;
	padding-left: 20px;
}

.about-text li {
	list-style-type: disc;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.about-image {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	position: relative;
}

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

.about-badge-wrap {
	position: absolute;
	bottom: -20px;
	right: -20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 160px;
}

.about-wreath {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	opacity: 0.9;
}

.about-badge {
	position: relative;
	z-index: 2;
	background: var(--accent);
	color: #fff;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	border: 4px solid #fff;
	box-shadow: var(--shadow);
}

.about-badge span {
	font-size: 28px;
	line-height: 1;
}

.about-badge small {
	font-size: 11px;
	font-weight: normal;
}

/* ================= FEATURES ================= */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.feature-card {
	background: var(--card-bg);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: flex;
	align-items: flex-start;
	gap: 20px;
	transition: 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
	color: var(--accent);
	flex-shrink: 0;
	width: 45px;
	display: flex;
	justify-content: center;
}

.feature-icon svg {
	width: 40px;
	height: 40px;
	fill: currentColor;
}

.feature-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* Для delivery-icon-1.png */
.feature-text h4 {
	font-size: 20px;
	margin-bottom: 8px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
}

.feature-text p {
	color: var(--text-muted);
	font-size: 14px;
}

/* ================= COMPARISON ================= */
.comparison-table-wrap {
	background: var(--card-bg);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow-x: auto;
	padding: 20px;
	margin: 0 auto;
	max-width: 100%;
}

.comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 600px;
}

.comparison-table th,
.comparison-table td {
	padding: 20px;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
	font-size: 18px;
}

.comparison-table th {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--text-main);
	border-bottom: 2px solid #eee;
}

.comparison-table tr:last-child td {
	border-bottom: none;
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
	background-color: #f8faff;
	color: var(--accent);
	width: 45%;
}

.comparison-table th:nth-child(3) {
	border-radius: 12px 12px 0 0;
}

.comparison-table tr:last-child td:nth-child(3) {
	border-radius: 0 0 12px 12px;
}

.comparison-table td:nth-child(3) {
	font-weight: 500;
}

/* ================= MATERIALS ================= */
.materials-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.materials-img {
	background: #e5e9f0;
	border-radius: var(--radius);
	height: 100%;
	min-height: 450px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #a0aabf;
}

.materials-img svg {
	width: 80px;
	height: 80px;
	fill: currentColor;
	opacity: 0.5;
}

.materials-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}

.materials-content h2 {
	text-align: left;
	margin-bottom: 40px;
	font-size: 42px;
	line-height: 1.2;
}

.material-card {
	background: var(--card-bg);
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
	transition: 0.3s;
}

.material-card:hover {
	transform: translateX(5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.material-card h4 {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text-main);
}

.material-card p {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.6;
}

/* ================= HOW IT WORKS ================= */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	position: relative;
}

.step {
	text-align: center;
	position: relative;
	background: var(--card-bg);
	padding: 30px 20px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.step-num {
	width: 40px;
	height: 40px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin: 0 auto 15px;
	font-size: 18px;
}

/* ================= GALLERY ================= */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 15px;
}

.article-detail .gallery-grid {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-item {
	border-radius: 8px;
	overflow: hidden;
	height: 250px;
	cursor: pointer;
	position: relative;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-title-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	color: #fff;
	padding: 20px 15px 10px;
	font-size: 15px;
	font-weight: 500;
}

/* ================= TESTIMONIALS SLIDERS ================= */
.testimonials-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.slider-arrows {
	display: flex;
	gap: 10px;
}

.arrow-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--accent);
	background: #fff;
	color: var(--accent);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: 0.2s;
	font-size: 20px;
	position: relative;
	z-index: 10;
	touch-action: manipulation;
}

.arrow-btn:hover,
.arrow-btn:active {
	background: var(--accent);
	color: #fff;
}

.testimonials-slider {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 20px;
}

.testimonials-slider::-webkit-scrollbar {
	height: 6px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 10px;
}

.video-card {
	flex: 0 0 260px;
	height: 460px;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	cursor: pointer;
	box-shadow: var(--shadow);
}

.video-card img,
.video-card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.4s;
	display: block;
}

.video-card:hover img,
.video-card:hover video {
	transform: scale(1.03);
	filter: brightness(0.9);
}

.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--accent);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: 0.2s;
}

.video-card:hover .play-btn {
	background: var(--accent);
	color: #fff;
	transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
	color: #fff;
	padding: 30px 15px 15px;
	font-size: 14px;
}

/* TEXT REVIEWS */
.text-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.review-text-card {
	background: var(--card-bg);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}

.slider-text-card {
	flex: 0 0 350px;
	scroll-snap-align: start;
}

.review-stars {
	color: #FFB800;
	font-size: 20px;
	margin-bottom: 15px;
	letter-spacing: 2px;
}

.review-content {
	color: var(--text-main);
	font-size: 15px;
	font-style: italic;
	margin-bottom: 25px;
	flex-grow: 1;
}

.review-author {
	display: flex;
	align-items: center;
	gap: 15px;
	border-top: 1px solid #eee;
	padding-top: 15px;
}

.review-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 18px;
}

.review-author-info strong {
	display: block;
	font-size: 15px;
}

.review-author-info span {
	font-size: 12px;
	color: var(--text-muted);
}

.review-product-tag {
	display: inline-block;
	background: var(--bg-color);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	color: var(--accent);
	margin-top: 5px;
	font-weight: 500;
}

/* ================= QUIZ SECTION ================= */
.quiz-section {
	background: var(--bg-color);
}

.quiz-wrapper {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.quiz-main {
	flex: 1;
	background: var(--card-bg);
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.quiz-step {
	display: none;
	animation: fadeIn 0.3s;
}

.quiz-step.active {
	display: block;
}

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

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.quiz-title {
	font-size: 28px;
	margin-bottom: 25px;
	font-family: 'Oranienbaum', serif;
}

.quiz-progress {
	display: flex;
	gap: 5px;
	margin-bottom: 30px;
}

.progress-dot {
	height: 6px;
	flex-grow: 1;
	background: #eee;
	border-radius: 3px;
	transition: 0.3s;
}

.progress-dot.active {
	background: var(--accent);
}

.quiz-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 30px;
}

.quiz-options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

/* Текстовые варианты */
.quiz-option {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.2s;
	display: flex;
	align-items: center;
	gap: 10px;
}

.quiz-option:hover,
.quiz-option.selected {
	border-color: var(--accent);
	background: #f8faff;
}

.quiz-option input {
	display: none;
}

/* Варианты с фоном */
.quiz-option-bg {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	height: 240px;
	display: flex;
	align-items: flex-end;
	padding: 15px;
	transition: 0.2s;
	border: 2px solid transparent;
}

.quiz-option-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	transition: 0.3s;
}

.quiz-option-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
	z-index: 2;
	transition: 0.3s;
}

.quiz-option-bg span {
	position: relative;
	z-index: 3;
	color: #fff;
	font-weight: 500;
	font-size: 16px;
}

.quiz-option-bg:hover,
.quiz-option-bg.selected {
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(84, 130, 220, 0.3);
}

.quiz-option-bg.selected::after {
	background: linear-gradient(to top, rgba(84, 130, 220, 0.9), rgba(84, 130, 220, 0.4));
}

.quiz-option-bg:hover img {
	transform: scale(1.05);
}

.quiz-option-bg input {
	display: none;
}

.quiz-controls {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.quiz-input {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 15px;
	font-size: 16px;
	font-family: 'Roboto';
	outline: none;
}

.quiz-input:focus {
	border-color: var(--accent);
}

/* Sidebar Менеджера с полкой */
.quiz-sidebar {
	width: 320px;
	background: var(--card-bg);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	position: sticky;
	top: 100px;
	flex-shrink: 0;
}

.manager-photo-wrap {
	position: relative;
	display: inline-block;
	margin-bottom: 25px;
}

.manager-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	position: relative;
	z-index: 2;
	border: 3px solid #f1f5f6;
}

.manager-shelf {
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	z-index: 1;
	pointer-events: none;
}

.quiz-sidebar h4 {
	font-size: 20px;
	margin-bottom: 5px;
	font-family: 'Roboto', sans-serif;
}

.quiz-sidebar .role {
	color: var(--text-muted);
	font-size: 14px;
	margin-bottom: 20px;
}

.discount-box {
	background: #f8faff;
	border: 1px dashed var(--accent);
	padding: 15px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.discount-box strong {
	color: var(--accent);
	display: block;
	font-size: 16px;
	margin-bottom: 5px;
}

/* ================= CTA FORM ================= */
.cta-section {
	position: relative;
	padding: 100px 0;
	background-color: #333;
	background-image: url('intro-background.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
}

.cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.cta-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	text-align: left;
}

.cta-content h2 {
	font-size: 36px;
	margin-bottom: 15px;
	color: #fff;
}

.cta-content p {
	font-size: 16px;
	margin-bottom: 30px;
	opacity: 0.9;
}

.cta-form {
	background: rgba(255, 255, 255, 0.1);
	padding: 40px;
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-form input {
	width: 100%;
	padding: 16px;
	border-radius: 8px;
	border: none;
	margin-bottom: 15px;
	font-size: 16px;
}

.cta-form button {
	width: 100%;
	padding: 16px;
	font-size: 18px;
}

/* ================= FAQ & CONTACTS ================= */
.faq-list {
	max-width: 100%;
	margin: 0 auto;
}

.faq-item {
	background: var(--card-bg);
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	overflow: hidden;
}

.faq-question {
	padding: 20px;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question::after {
	content: '+';
	font-size: 24px;
	color: var(--accent);
	transition: var(--transition);
}

.faq-item.active .faq-question::after {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	color: var(--text-muted);
}

.faq-item.active .faq-answer {
	padding-bottom: 20px;
	max-height: 500px;
}

.map-section {
	position: relative;
	height: 550px;
	padding: 0;
	background: #eee;
}

.map-section iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.map-overlay-container {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	pointer-events: none;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.contact-card-floating {
	background: var(--card-bg);
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
	width: 380px;
	pointer-events: auto;
}

.contact-item {
	margin-bottom: 15px;
}

.contact-item strong {
	display: block;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 2px;
}

.contact-item a {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-main);
	transition: 0.2s;
}

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

.social-buttons {
	display: flex;
	gap: 10px;
	margin-top: 25px;
}

.social-btn {
	flex: 1;
	text-align: center;
	padding: 12px;
	border-radius: 8px;
	font-weight: 500;
	color: #fff;
	transition: 0.2s;
}

.btn-wa {
	background: #25D366;
}

.btn-wa:hover {
	background: #20b858;
}

.btn-tg {
	background: #229ED9;
}

.btn-tg:hover {
	background: #1c88ba;
}

/* ================= FLOATING CALL BUTTON ================= */
.floating-call {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
}

.floating-call-btn {
	width: 60px;
	height: 60px;
	background-color: #4CAF50;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 2;
	transition: transform 0.3s;
	text-decoration: none;
}

.floating-call-btn:hover {
	transform: scale(1.1);
	color: #fff;
}

.floating-call-btn svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
	animation: phoneShake 2s infinite ease-in-out;
}

.floating-ripple {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #4CAF50;
	z-index: 1;
	animation: ripple 1.5s infinite;
}

#catalog {
	padding: 0px 0;
}

@keyframes ripple {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}

	100% {
		transform: scale(2);
		opacity: 0;
	}
}

@keyframes phoneShake {

	0%,
	10%,
	100% {
		transform: rotate(0);
	}

	2% {
		transform: rotate(-15deg);
	}

	4% {
		transform: rotate(15deg);
	}

	6% {
		transform: rotate(-15deg);
	}

	8% {
		transform: rotate(15deg);
	}
}

/* ================= FOOTER ================= */
footer {
	background: #222;
	color: #999;
	padding: 40px 0;
	text-align: center;
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: left;
	margin-bottom: 30px;
}

.footer-grid h4 {
	color: #fff;
	margin-bottom: 15px;
	font-family: 'Roboto', sans-serif;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
	.catalog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-grid,
	.materials-grid {
		grid-template-columns: 1fr;
	}

	.materials-img {
		min-height: 300px;
	}

	.quiz-wrapper {
		flex-direction: column-reverse;
	}

	.quiz-sidebar {
		width: 100%;
		position: static;
		display: flex;
		flex-direction: column;
		/* FIX for broken layout */
		align-items: center;
		gap: 15px;
		text-align: center;
		padding: 20px;
	}

	.manager-photo-wrap {
		margin-bottom: 0;
	}

	.manager-photo {
		width: 80px;
		height: 80px;
	}

	.manager-shelf {
		width: 100px;
		bottom: -8px;
	}

	.hero h1 {
		font-size: 42px;
	}

	.hero-decor-bush-left,
	.hero-decor-bush-right {
		display: none;
	}

}

@media (max-width: 992px) {

	section {
		padding: 40px 0;
	}

	.section-title {
		margin-bottom: 25px;
	}

	.logo {
		padding-left: 30px;
	}

	.hero-content {
		background: rgb(255 255 255 / 0%);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		padding: 25px;
		border-radius: 16px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	}

	/* Бургер-меню */
	.burger-btn {
		display: block;
		position: absolute;
		right: 20px;
		top: 25px;
		background: none;
		border: none;
		font-size: 28px;
		color: var(--accent);
		z-index: 1001;
		cursor: pointer;
	}

	.header-inner {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: 0;
		padding: 10px 0;
	}

	.header-nav-wrap {
		display: flex;
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		background: #fff;
		flex-direction: column;
		align-items: center;
		gap: 15px;
		padding: 0 20px;
		transition: max-height 0.4s ease, padding 0.4s ease;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	}

	.header-nav-wrap.active {
		max-height: 500px;
		padding: 20px;
		border-top: 1px solid #f0f0f0;
	}

	nav ul {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.header-contacts {
		margin-top: 15px;
		width: 100%;
		display: block;
		text-align: center;
	}

	.hero-actions .btn-outline {
		background: #fff;
	}

	.header-contacts .btn {
		width: 100%;
		margin-top: 10px;
	}

	.hero h1 {
		font-size: 32px;
	}

	.hero-actions {
		flex-direction: column;
	}

	/* Адаптивная таблица сравнений на карточки */
	.comparison-table-wrap {
		padding: 0 10px;
		/* Немного отступа по бокам */
		border: none;
		box-shadow: none;
		background: transparent;
		overflow: hidden;
		width: 100%;
		box-sizing: border-box;
	}

	.comparison-table,
	.comparison-table tbody {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		min-width: 0 !important;
		/* Отменяем min-width: 600px со стандартных стилей */
		box-sizing: border-box;
	}

	.comparison-table thead {
		display: none;
	}

	.comparison-table tr {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		margin-bottom: 20px;
		background: #fff;
		border-radius: var(--radius);
		padding: 20px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
		/* Более мягкая тень */
		border: 1px solid #f0f0f0;
		box-sizing: border-box;
	}

	.comparison-table td {
		display: block;
		width: 100%;
		max-width: 100%;
		padding: 0;
		border: none !important;
		font-size: 15px;
		text-align: left;
		/* Текст слева для удобного чтения */
		line-height: 1.5;
		word-break: break-word;
		/* Предотвращает вырезание длинного текста */
		box-sizing: border-box;
	}

	.comparison-table td:nth-child(1) {
		font-weight: 700;
		color: #333;
		font-size: 18px;
		text-align: center;
		/* Заголовок карточки по центру */
		padding-bottom: 15px;
		margin-bottom: 15px;
		border-bottom: 1px solid #eee !important;
		text-transform: none;
	}

	.comparison-table td:nth-child(2) {
		padding-bottom: 15px;
		color: var(--text-main);
	}

	.comparison-table td:nth-child(2)::before {
		content: "🧱 Кирпичная кладка:";
		display: block;
		/* Заголовок с новой строки */
		font-weight: 600;
		font-size: 13px;
		color: #999;
		margin-bottom: 5px;
		text-transform: uppercase;
	}

	.comparison-table td:nth-child(3) {
		background: #f8faff;
		border-radius: 8px;
		padding: 15px;
		font-weight: 500;
		color: #333;
		border: 1px solid #e1eaf7;
		margin-top: auto;
	}

	.comparison-table tr:last-child td:nth-child(3) {
		border-radius: 8px;
	}

	.comparison-table td:nth-child(3)::before {
		content: "🔥 Наш модульный комплекс:";
		display: block;
		/* Заголовок с новой строки */
		font-weight: 600;
		color: var(--accent);
		font-size: 13px;
		margin-bottom: 5px;
		text-transform: uppercase;
	}

	.comparison-table th:nth-child(3),
	.comparison-table td:nth-child(3) {

		width: 75%;
	}

	.catalog-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.catalog-header {
		flex-direction: column;
		align-items: stretch;
	}

	.filters {
		flex-direction: column;
	}

	.quiz-options-grid {
		grid-template-columns: 1fr;
	}

	.map-section {
		display: flex;
		flex-direction: column;
		height: auto;
		background: var(--bg-color);
	}

	.map-section iframe {
		height: 400px;
		order: 2;
	}

	.map-overlay-container {
		position: relative;
		padding: 40px 20px;
		order: 1;
	}

	.contact-card-floating {
		width: 100%;
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	}

	/* ========= MODALS ========= */
	.modal-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 9999;
		justify-content: center;
		align-items: center;
	}

	.modal-overlay.active {
		display: flex;
	}

	.modal-box {
		background: #fff;
		border-radius: var(--radius);
		padding: 40px;
		max-width: 480px;
		width: 90%;
		position: relative;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
		animation: modalIn 0.3s ease;
	}

	.modal-box-lg {
		max-width: 700px;
	}

	.modal-close {
		position: absolute;
		top: 15px;
		right: 20px;
		background: none;
		border: none;
		font-size: 28px;
		cursor: pointer;
		color: var(--text-muted);
		transition: 0.2s;
	}

	.modal-close:hover {
		color: var(--text-main);
	}

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

@media (max-width: 700px) {
	.hero {
    	background-image: none;
	}

	.catalog-grid {
		display: flex;
  		flex-direction: column;
	}
}