/* ========== ПЕРЕМЕННЫЕ ========== */
:root {
	/* Цвета */
	--brand-primary: #ab1a2d;
	--brand-primary-dark: #8a1525;
	--brand-primary-light: #c41e34;
	--text-dark: #2D2A24;
	--text-medium: #3E3A34;
	--text-light: #5B554C;
	--bg-light: #FDF9F2;
	--bg-white: #ffffff;
	--border-light: #f0e2d2;
	--shadow-color: rgba(0, 0, 0, 0.05);

	/* Радиусы */
	--radius-sm: 3px;
	--radius-lg: 30px;
	--radius-xl: 48px;

	/* Тени */
	--shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

	/* Шрифты */
	--font-family: 'Inter', sans-serif;

	/* Отступы */
	--container-width: 1280px;
	--section-padding: 80px;
}

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

body {
	font-family: var(--font-family);
	color: var(--text-dark);
	scroll-behavior: smooth;
	line-height: 1.4;
}

/* ========== КОМПОНЕНТЫ ========== */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: var(--section-padding) 0;
	background: var(--bg-white);
}

.btn {
	background: var(--brand-primary);
	padding: 14px 60px;
	text-decoration: none;
	color: var(--bg-white);
	border-radius: 30px;
	font-size: 20px;
	font-weight: 200;
	transition: all 0.5s;
}

.btn:hover {
	box-shadow: var(--shadow);
	transform: translateY(-5px);
}

.section--advantages {
	background-color: rgba(255, 255, 255, 0.51);
	backdrop-filter: blur(16px);
}

.section--quality {
	background-color: rgba(255, 255, 255, 0.51);
	backdrop-filter: blur(16px);
}

.section__title {
	text-align: center;
	padding-bottom: 70px;
	font-weight: 400;
	font-size: 40px;
	color: var(--brand-primary);
}

.section__title--main {
	padding-bottom: 70px;
}

.section__title--left {
	text-align: left;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.section__image--advantages {
	margin-top: 200px;
	margin-bottom: -100px;
	width: 100%;
}

.section__image--quality {
	margin-top: 100px;
	margin-bottom: -100px;
	width: 100%;
}

.section--widgets {
	padding: 0 !important;
}

/* ========== ГРИДЫ ========== */
.grid--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.grid__media {
	width: 100%;
	height: 100%;
}

.grid__image {
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}

.grid__sidebar {
	height: 100%;
	background: var(--bg-white);
	border-radius: var(--radius-sm);
	padding: 28px;
	box-shadow: var(--shadow);
	align-items: stretch;
	display: flex;
}

/* ========== ТЕКСТ ========== */
.text--block {
	font-size: 1.12rem;
	line-height: 1.55;
	margin-bottom: 1.2rem;
	color: var(--text-medium);
}

.text--accent {
	font-weight: 500;
	color: var(--brand-primary);
}

/* ========== КАРТОЧКИ ========== */
.cards-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: center;
	margin-top: 40px;
}

.card {
	background: var(--bg-white);
	border-radius: var(--radius-sm);
	padding: 32px 24px;
	flex: 1 1 280px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: transform 0.25s ease;
}

.card:hover {
	transform: translateY(-6px);
}

.card__icon svg {
	fill: var(--brand-primary);
	width: 50px;
	max-height: 50px;
}

.card__title {
	font-size: 20px;
	font-weight: 400;
	margin: 16px 0 12px;
	color: var(--brand-primary);
}

.card__text {
	font-size: 0.98rem;
	color: var(--text-dark);
}

/* ========== СПИСКИ ========== */
.list--styled {
	list-style: none;
	padding-left: 0;
}

.list__item {
	margin-bottom: 12px;
	padding-left: 28px;
	position: relative;
}

.list__item:before {
	content: "✓";
	color: var(--brand-primary);
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* ========== ИНФО БЛОКИ ========== */
.info-block {
	margin-top: 24px;
	background: var(--brand-primary);
	border-radius: var(--radius-sm);
	padding: 20px;
	color: var(--bg-white);
}

.info-block__title {
	font-weight: 600;
	margin-bottom: 8px;
}

/* ========== САЙДБАР КАРТОЧКА ========== */
.sidebar-card__logo {
	width: 400px;
	margin: auto;
	padding: 30px;
	text-align: center;
}

.sidebar-card__logo img {
	max-width: 400px;
	width: 100%;
	margin: auto;
}

.sidebar-card__title {
	font-size: 26px;
	margin: 16px 0 8px;
	text-align: center;
	font-weight: 400;
	padding-bottom: 20px;
}

.sidebar-card__divider {
	margin: 20px 0;
	border-color: var(--border-light);
}

/* ========== КВОТЫ ========== */
.quote {
	font-style: italic;
	border-left: 4px solid var(--brand-primary);
	padding-left: 24px;
}

.quote__author {
	margin-top: 8px;
}

/* ========== QUALITY ROW ========== */
.quality-row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-sm);
	padding: 32px;
	margin-top: 30px;
	box-shadow: var(--shadow);
}

.quality-row__content {
	flex: 1.2;
}

.quality-row__title {
	font-size: 1.8rem;
	margin-bottom: 12px;
}

.quality-row__text {
	margin-bottom: 16px;
}

.quality-row__badge {
	flex: 0.8;
	text-align: center;
}

/* ========== БЭДЖИ ========== */
.badge {
	border-radius: var(--radius-sm);
	border: 2px solid var(--brand-primary);
	padding: 24px;
}

.badge svg {
	fill: var(--brand-primary);
	max-width: 100px;
}

.badge__title {
	margin: 16px 0 8px;
}

/* ========== FEATURES GRID ========== */
.features-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
}

.feature-card {
	background: var(--bg-white);
	border-radius: var(--radius-sm);
	padding: 20px;
	flex: 1;
	box-shadow: var(--shadow);
}

/* ========== БЛОК КАТАЛОГА ========== */
.section--catalog {
	display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		background-color: #fff;
		background-image: url(/img/2023-HOSSE_web-4.jpg);
		background-position: center;
		background-size: cover;
		min-height: 100vh;
		width: 100%;
		position: relative;
}

.section--catalog::before {
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100%;
	display: block;
	content: "";
}

.section--catalog .quality-row {
		justify-content: center;
		text-align: center;
}

.section__title--catalog {
	padding-bottom: 20px;
}

.catalog__content {
	max-width: 700px;
	margin: 0 auto;
}

.catalog__text {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--text-medium);
	margin-bottom: 32px;
}

/* Адаптив для блока каталога */
@media (max-width: 768px) {
	.catalog__text {
		font-size: 1rem;
		margin-bottom: 28px;
		padding: 0 16px;
	}
}

@media (max-width: 480px) {
	.catalog__text {
		font-size: 0.95rem;
		margin-bottom: 24px;
	}
}

/* ========== HERO ========== */
.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: -1;
}

.hero__container {
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 100%;
}

.hero__media {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	filter: blur(6px);
}

.hero__texture {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: repeat;
	background-size: 20px;
	opacity: 0.6;
	z-index: 1;
	background-color: var(--bg-white);
}

.hero__logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 100%;
	border-radius: var(--radius-xl);
	padding: 18px 32px;
	text-align: center;
	transition: all 0.3s ease;
}

.hero__logo img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ========== WIDGETS ========== */
.cooperation-widget {
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 9999;
}

.widget-content {
	background-color: var(--brand-primary);
	color: var(--bg-white);
	padding: 12px 20px;
	border-radius: 0px var(--radius-lg) 0px 0px;
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.4;
	flex-wrap: wrap;
}

.widget-text {
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.widget-phone {
	color: var(--bg-white);
	text-decoration: none;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.2);
	padding: 5px 14px;
	border-radius: 50px;
	transition: background 0.2s ease;
	white-space: nowrap;
	font-size: 1rem;
	letter-spacing: 0.3px;
	backdrop-filter: blur(2px);
	border: 0.5px solid rgba(255, 255, 255, 0.3);
}

.widget-phone:hover {
	background: rgba(255, 255, 255, 0.35);
	color: var(--bg-white);
	text-decoration: none;
}

.cart-widget {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.cart-link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	position: relative;
	transition: transform 0.2s ease;
}

.cart-icon {
	background: var(--brand-primary);
	width: 60px;
	height: 60px;
	border-radius: 0% 0% 0% var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	transition: all 0.25s ease;
	cursor: pointer;
}

.cart-icon svg {
	width: 25px;
	fill: var(--bg-white);
}

.cart-tooltip {
	position: absolute;
	top: 70px;
	right: 5px;
	background: var(--brand-primary);
	color: var(--bg-white);
	font-size: 0.85rem;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 40px;
	white-space: nowrap;
	box-shadow: var(--shadow);
	backdrop-filter: blur(4px);
	pointer-events: none;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	letter-spacing: 0.3px;
	z-index: 10000;
}

.cart-tooltip::before {
	content: '';
	position: absolute;
	top: -6px;
	right: 20px;
	width: 12px;
	height: 12px;
	background: var(--brand-primary);
	transform: rotate(45deg);
}

.cart-widget:hover .cart-tooltip {
	opacity: 1;
	transform: translateY(0);
	pointer-events: none;
}

.cart-badge {
	position: absolute;
	top: -2px;
	right: -4px;
	background: var(--brand-primary);
	color: white;
	font-size: 11px;
	font-weight: bold;
	min-width: 20px;
	height: 20px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	opacity: 0;
	pointer-events: none;
}

/* ========== FOOTER ========== */
.footer {
	background: var(--brand-primary);
	color: var(--bg-white);
	padding: 100px 0;
	text-align: center;
	font-size: 0.85rem;
}

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

.footer__info {
	text-align: left;
}

.footer__title {
	color: var(--bg-white);
}

.footer__text {
	margin: 12px 0;
}

.footer__copyright {
	font-size: 0.8rem;
	margin-top: 12px;
}

.footer__contacts {
	text-align: right;
}

.footer__hashtag,
.footer__email {
	display: inline-block;
	background: var(--bg-white);
	padding: 4px 16px;
	border-radius: 32px;
	color: var(--brand-primary);
}

.footer__email {
	margin-left: 12px;
}

.footer__note {
	margin-top: 12px;
}

/* ========== МЕДИА ЗАПРОСЫ ========== */
@media (max-width: 768px) {
	.hero__logo {
		width: 70%;
		padding: 12px 20px;
	}

	.grid--2col {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.section__title {
		font-size: 2rem;
	}

	.section {
		padding: 56px 0;
	}

	.sidebar-card__logo {
		width: 100%;
	}

	.footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.footer__info,
	.footer__contacts {
		text-align: center;
	}
}

/* Планшеты и маленькие десктопы (до 1024px) */
@media (max-width: 1024px) {
	.quality-row {
		flex-direction: column;
		gap: 40px;
		padding: 32px 24px;
	}

	.quality-row__content {
		flex: auto;
		text-align: center;
	}

	.quality-row__title {
		font-size: 1.6rem;
	}

	.quality-row__badge {
		flex: auto;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}

	.badge {
		padding: 32px 24px;
	}

	.features-grid {
		gap: 20px;
		margin-top: 40px;
	}

	.feature-card {
		flex: 1 1 calc(33.33% - 14px);
		min-width: 200px;
		text-align: center;
	}
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
	.quality-row {
		padding: 24px 20px;
		gap: 32px;
	}

	.quality-row__title {
		font-size: 1.4rem;
		margin-bottom: 16px;
	}

	.quality-row__text {
		font-size: 0.95rem;
		line-height: 1.5;
		text-align: left;
	}

	.quality-row__badge {
		max-width: 100%;
	}

	.badge {
		padding: 28px 20px;
	}

	.badge svg {
		max-width: 70px;
	}

	.badge__title {
		font-size: 1rem;
		margin: 12px 0 8px;
	}

	.badge__text {
		font-size: 0.9rem;
	}

	.features-grid {
		flex-direction: column;
		gap: 16px;
		margin-top: 32px;
	}

	.feature-card {
		flex: auto;
		width: 100%;
		padding: 18px 16px;
		font-size: 0.95rem;
		text-align: center;
		line-height: 1.5;
	}

	.section__image--quality {
		margin-top: 60px;
		margin-bottom: -60px;
	}

	.widget-text {
		display: none;
	}
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
	.quality-row {
		padding: 20px 16px;
	}

	.quality-row__title {
		font-size: 1.3rem;
	}

	.quality-row__text {
		font-size: 0.9rem;
	}

	.badge {
		padding: 20px 16px;
	}

	.badge svg {
		max-width: 55px;
	}

	.badge__title {
		font-size: 0.95rem;
	}

	.badge__text {
		font-size: 0.85rem;
	}

	.feature-card {
		padding: 16px 14px;
		font-size: 0.9rem;
	}
}

/* Альбомная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
	.quality-row {
		gap: 24px;
	}

	.features-grid {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.feature-card {
		flex: 1 1 calc(50% - 8px);
	}
}