/* =========================================================
   Basalioma — основные стили
   Палитра: ягодный #7d134b, серый #4a4a4a, оливковый #5a7635.
   Серифные заголовки Lora, тёплая бумажная подложка.
   ========================================================= */

:root {
	--ink: #4a4a4a;
	--heading: #3a3a3a;
	--muted: #767676;
	--brand: #7d134b;
	--brand-dark: #5e0e38;
	--brand-soft: #f7edf3;
	--olive: #5a7635;
	--olive-dark: #46602a;
	--paper: #f8f7f5;
	--white: #ffffff;
	--line: #e6e2de;
	--line-dark: #d3cec8;

	--font-serif: "Lora", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1140px;
	--radius: 4px;
	--shadow-soft: 0 1px 2px rgba(58, 58, 58, 0.05), 0 8px 24px -12px rgba(58, 58, 58, 0.14);
}

/* ---------- База ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
}

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

a {
	color: var(--brand);
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover,
a:focus {
	color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.28;
	color: var(--heading);
	margin: 1.6em 0 0.55em;
}

h1 {
	font-size: 2.15rem;
	margin-top: 0;
	letter-spacing: -0.01em;
}

h2 {
	font-size: 1.6rem;
}

h3 {
	font-size: 1.25rem;
}

h4 {
	font-size: 1.05rem;
}

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

.kicker {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--olive);
	margin: 0 0 10px;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--brand-dark);
	color: #fff;
	padding: 10px 18px;
	z-index: 1000;
}

.skip-link:focus {
	left: 0;
	clip-path: none;
	width: auto;
	height: auto;
}

/* ---------- Верхняя полоса ---------- */

.topbar {
	background: var(--brand-dark);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.82rem;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 38px;
	flex-wrap: wrap;
}

.topbar a {
	color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
	color: #fff;
}

.topbar-contacts {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.topbar-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}

.topbar-links {
	display: flex;
	gap: 22px;
}

.topbar-links a {
	font-weight: 500;
}

/* ---------- Шапка: только меню ---------- */

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

.main-navigation {
	flex: 1;
	min-width: 0;
}

.main-navigation>ul,
.main-navigation>div>ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 19px 15px;
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--ink);
	white-space: nowrap;
}

.main-navigation a:hover {
	color: var(--brand);
}

.main-navigation .current-menu-item>a,
.main-navigation .current-menu-ancestor>a,
.main-navigation .current_page_item>a,
.main-navigation .current_page_ancestor>a {
	color: var(--brand);
	box-shadow: inset 0 -2px 0 var(--brand);
}

/* Выпадающее подменю (десктоп) — плавное появление */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: -6px;
	min-width: 280px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-soft);
	display: flex;
	flex-direction: column;
	padding: 6px 0;
	z-index: 200;
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.main-navigation ul ul ul {
	top: -7px;
	left: 100%;
	border-radius: var(--radius);
	transform: translateX(8px);
}

.main-navigation li:hover>ul,
.main-navigation li:focus-within>ul,
.main-navigation li.is-open>ul {
	visibility: visible;
	opacity: 1;
	transform: translate(0, 0);
	pointer-events: auto;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.main-navigation ul ul a {
	padding: 9px 20px;
	font-weight: 400;
	white-space: normal;
	box-shadow: none;
}

.main-navigation ul ul a:hover {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.main-navigation ul ul .current-menu-item>a {
	box-shadow: inset 2px 0 0 var(--brand);
}

/* Пункт «Ещё» (priority-навигация) */
.menu-item-more .more-toggle {
	display: flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 19px 15px;
	font-family: var(--font-sans);
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--ink);
	line-height: inherit;
}

.menu-item-more .more-toggle:hover,
.menu-item-more.is-open .more-toggle {
	background: none;
	color: var(--brand);
}

.more-caret {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s ease;
}

.menu-item-more.is-open .more-caret {
	transform: rotate(225deg) translateY(-1px);
}

.menu-item-more .more-menu {
	left: auto;
	right: 0;
}

.menu-item-more .more-menu ul {
	/* вложенные подменю внутри «Ещё» раскрываются влево */
	left: auto;
	right: 100%;
}

/* Кнопки мобильного меню */
.menu-toggle,
.submenu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle {
	align-items: center;
	gap: 10px;
	font-family: var(--font-sans);
	font-size: 0.94rem;
	font-weight: 600;
	color: var(--ink);
	padding: 14px 0;
}

/* Никакой заливки при наведении — только смена цвета */
.menu-toggle:hover,
.menu-toggle:focus,
.submenu-toggle:hover,
.submenu-toggle:focus {
	background: none;
	color: var(--brand);
	transform: none;
	box-shadow: none;
}

.menu-toggle:hover .menu-toggle-bar {
	background: var(--brand);
}

.menu-toggle-label {
	letter-spacing: 0.04em;
}

/* Затемнение под выезжающим меню (только мобильные) */
.nav-scrim {
	display: none;
}

/* Кнопка закрытия шторки (только мобильные) */
.drawer-close {
	display: none;
}

/* Контакты в шторке (только мобильные) */
.drawer-contacts {
	display: none;
}

/* Кнопка-телефон в шапке (только мобильные) */
.header-phone {
	display: none;
	position: relative;
}

.menu-toggle-bars {
	display: inline-block;
}

.menu-toggle-bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--heading);
	margin: 4px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Хлебные крошки ---------- */

.breadcrumbs {
	font-size: 0.82rem;
	padding: 13px 0;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--brand);
}

.breadcrumbs .sep {
	margin: 0 9px;
	color: var(--line-dark);
}

/* ---------- Раскладка ---------- */

.site-content {
	padding: 44px 0 72px;
}

body.home .site-content {
	padding: 0;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	gap: 56px;
	align-items: start;
}

.site-main--full {
	max-width: 820px;
	margin: 0 auto;
}

/* ---------- Контент ---------- */

.entry-header {
	margin-bottom: 26px;
}

.entry-title,
.page-title {
	margin-top: 0;
}

.page-header {
	margin-bottom: 30px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.entry-meta {
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--muted);
	margin-bottom: 10px;
}

.entry-meta a {
	color: var(--olive);
	font-weight: 500;
}

.entry-meta a:hover {
	color: var(--olive-dark);
}

.meta-sep {
	margin: 0 7px;
	color: var(--line-dark);
}

.entry-thumbnail {
	margin-bottom: 28px;
}

.entry-thumbnail img {
	border-radius: var(--radius);
	display: block;
}

.entry-content {
	font-size: 1.02rem;
}

.entry-content>* {
	margin-top: 0;
	margin-bottom: 1.15em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35em;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-content li::marker {
	color: var(--olive);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 1.6em 0;
	padding: 20px 26px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--brand);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.94rem;
	background: var(--white);
}

.entry-content .wp-block-table {
	margin: 1.6em 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--line);
	padding: 10px 15px;
	text-align: left;
}

.entry-content th {
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 0.86rem;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content .wp-block-image {
	margin: 1.6em 0;
}

.entry-content .wp-block-image figcaption,
.wp-caption-text {
	font-size: 0.84rem;
	color: var(--muted);
	text-align: center;
	margin-top: 8px;
}

.entry-content .alignright {
	float: right;
	margin: 6px 0 18px 28px;
	max-width: 46%;
}

.entry-content .alignleft {
	float: left;
	margin: 6px 28px 18px 0;
	max-width: 46%;
}

.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.entry-content .aligncenter img {
	margin: 0 auto;
	display: block;
}

.entry-content::after {
	content: "";
	display: block;
	clear: both;
}

.entry-content .wp-block-image.alignleft+.wp-block-image.alignleft {
	margin-left: 0;
}

/* ---------- Кнопки и формы ---------- */

.button,
button,
input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	background: var(--brand);
	color: #fff;
	border: 1px solid var(--brand);
	border-radius: var(--radius);
	padding: 12px 26px;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: #fff;
}

/* Лёгкий подъём — только у настоящих кнопок (не у элементов меню) */
.button,
input[type="submit"],
.wp-block-button__link {
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
		transform 0.18s ease, box-shadow 0.18s ease;
	will-change: transform;
}

.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(125, 19, 75, 0.5);
}

.button:active,
input[type="submit"]:active,
.wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: 0 4px 10px -6px rgba(125, 19, 75, 0.4);
	transition-duration: 0.06s;
}

/* Кнопка со стрелкой */
.btn-arrow .wp-block-button__link::after {
	content: "\2192";
	display: inline-block;
	margin-left: 10px;
	transition: transform 0.18s ease;
}

.btn-arrow .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--brand);
	border: 1px solid var(--brand);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.menu-toggle,
.submenu-toggle,
.menu-item-more .more-toggle {
	background: none;
	border: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	width: 100%;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 11px 14px;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--white);
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(125, 19, 75, 0.13);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"] {
	flex: 1;
}

.wpcf7-response-output {
	display: none !important;
}

/* =========================================================
   Главная страница (Gutenberg-блоки)
   ========================================================= */

.front-page .front-blocks>.wp-block-group {
	padding: 68px 24px;
}

/* Hero */
.front-blocks .home-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 460px at 88% 18%, rgba(125, 19, 75, 0.08), transparent 62%),
		radial-gradient(700px 420px at 70% 90%, rgba(90, 118, 53, 0.07), transparent 60%),
		linear-gradient(180deg, #fff 0%, #fdf9fb 100%);
	border-bottom: 1px solid var(--line);
	padding-top: 72px !important;
	padding-bottom: 72px !important;
}

/* Тонкая декоративная сетка точек в правой части */
.front-blocks .home-hero::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -110px;
	width: 560px;
	height: 560px;
	background-image: radial-gradient(rgba(125, 19, 75, 0.16) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
	border-radius: 50%;
	pointer-events: none;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand);
	background: var(--brand-soft);
	border: 1px solid #ecd4e1;
	border-radius: 100px;
	padding: 7px 16px;
	margin-bottom: 20px;
	animation: heroFadeUp 0.6s ease both;
}

.hero-kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--olive);
}

.hero-heading {
	font-size: clamp(2rem, 3.9vw, 3.1rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.14;
	margin: 0 0 20px;
	max-width: 14em;
	animation: heroFadeUp 0.6s ease 0.08s both;
}

.hero-lead {
	font-size: 1.14rem;
	line-height: 1.68;
	color: var(--muted);
	max-width: 32em;
	margin-bottom: 30px;
	animation: heroFadeUp 0.6s ease 0.16s both;
}

.hero-buttons {
	margin-bottom: 30px;
	animation: heroFadeUp 0.6s ease 0.24s both;
}

.hero-phones {
	font-size: 0.86rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 20px;
	max-width: 36em;
	animation: heroFadeUp 0.6s ease 0.32s both;
}

.hero-phones a {
	display: inline-block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--heading);
	white-space: nowrap;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 7px 16px;
	margin: 8px 8px 0 0;
	transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.hero-phones a:hover {
	color: var(--brand);
	border-color: var(--brand);
	transform: translateY(-1px);
}

.hero-media {
	position: relative;
	text-align: center;
	animation: heroFadeScale 0.7s ease 0.15s both;
}

/* Мягкая «сцена» позади продукта */
.hero-media::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(430px, 90%);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(125, 19, 75, 0.1) 0%, rgba(125, 19, 75, 0.04) 45%, transparent 70%);
	border-radius: 50%;
	z-index: 0;
}

/* Тонкое кольцо-акцент */
.hero-media::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(500px, 100%);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	/*border: 1px solid rgba(125, 19, 75, 0.14);
	border-radius: 50%;*/
	z-index: 0;
	pointer-events: none;
}

.hero-product {
	position: relative;
	margin: 0;
	z-index: 1;
}

.hero-product img {
	max-height: 400px;
	width: auto;
	filter: drop-shadow(0 30px 38px rgba(58, 58, 58, 0.22));
	animation: heroFloat 7s ease-in-out 1s infinite;
}

/* Бейдж «эффективность подтверждена» поверх продукта */
.hero-approved {
	position: absolute;
	left: 4%;
	bottom: 6%;
	margin: 0;
	z-index: 2;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 50%;
	padding: 12px;
	box-shadow: var(--shadow-soft);
	animation: heroFadeScale 0.6s ease 0.55s both;
}

.hero-approved img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	display: block;
}

/* Заголовки секций главной */
.home-section-title {
	font-size: 1.7rem;
	margin: 0 0 28px;
}

/* О препарате — три колонки */
.front-blocks .home-features {
	background: var(--paper);
}

.features-columns .wp-block-column {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 2px solid var(--brand);
	border-radius: var(--radius);
	padding: 28px 28px 22px;
}

.features-columns h3 {
	margin-top: 0;
	font-size: 1.12rem;
}

.features-columns p,
.features-columns li {
	font-size: 0.95rem;
	color: var(--ink);
}

.feature-more {
	margin-bottom: 0 !important;
}

.feature-more a {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--olive);
}

.feature-more a:hover {
	color: var(--olive-dark);
}

/* Опыт применения + FAQ */
.front-blocks .home-split {
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.split-columns {
	gap: 56px;
}

.split-columns .home-section-title {
	font-size: 1.35rem;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.faq-list {
	list-style: none;
	padding-left: 0 !important;
	margin-bottom: 26px;
}

.faq-list li {
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	margin: 0 !important;
}

.faq-list li a {
	color: var(--ink);
	font-weight: 500;
}

.faq-list li a:hover {
	color: var(--brand);
}

/* Видео */
.front-blocks .home-videos {
	background: var(--paper);
}

.video-single {
	max-width: 760px;
	margin: 0 auto;
}

.video-single .wp-block-embed {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.video-caption {
	font-size: 0.92rem;
	color: var(--muted);
	margin-top: 14px;
	text-align: center;
}

.video-caption strong {
	color: var(--heading);
}

/* Ленты отзывов и статей */
.home-band {
	padding: 68px 24px;
}

.home-reviews {
	background: var(--brand-dark);
}

.band-inner {
	max-width: var(--container);
	margin: 0 auto;
}

.band-head {
	display: flex;
	align-items: baseline;
	gap: 10px 28px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.band-title {
	margin: 0;
	font-size: 1.7rem;
	flex: 1;
}

.home-reviews .kicker {
	width: 100%;
	color: #b7c98d;
}

.home-reviews .band-title {
	color: #fff;
}

.band-all {
	font-weight: 600;
	font-size: 0.92rem;
	white-space: nowrap;
}

.home-reviews .band-all {
	color: #e3c3d4;
}

.home-reviews .band-all:hover {
	color: #fff;
}

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

.review-card {
	margin: 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	padding: 30px 30px 24px;
	position: relative;
}

.review-card::before {
	content: "\201C";
	font-family: var(--font-serif);
	font-size: 3.4rem;
	line-height: 1;
	color: #b7c98d;
	position: absolute;
	top: 18px;
	left: 26px;
}

.review-text {
	color: #f3e8ee;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1rem;
	line-height: 1.75;
	margin: 26px 0 18px;
}

.review-author {
	font-size: 0.85rem;
}

.review-author a {
	color: #e3c3d4;
	font-weight: 600;
}

.review-author a:hover {
	color: #fff;
}

.home-articles {
	background: var(--paper);
}

.home-articles .band-title {
	color: var(--heading);
}

/* =========================================================
   Карточки записей
   ========================================================= */

.card-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
	border-color: var(--line-dark);
	box-shadow: var(--shadow-soft);
}

.card-thumb {
	display: block;
}

.card-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.card-body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.card .entry-meta {
	margin-bottom: 12px;
}

.card-title {
	font-size: 1.14rem;
	line-height: 1.35;
	margin: 0 0 12px;
}

.card-title a {
	color: var(--heading);
}

.card-title a:hover {
	color: var(--brand);
}

.card-excerpt {
	color: var(--muted);
	font-size: 0.92rem;
	margin: 0 0 16px;
}

.card-excerpt p {
	margin: 0;
}

.card-links {
	list-style: none;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
}

.card-links li {
	padding: 4px 0;
}

.card-more {
	margin-top: auto;
	font-weight: 600;
	font-size: 0.88rem;
	align-self: flex-start;
}

/* ---------- Страница «Где купить» ---------- */

.vendor-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 30px;
	margin-bottom: 18px;
}

.vendor-card .wp-block-image {
	margin: 0 0 12px;
}

.vendor-card img {
	max-height: 44px;
	width: auto;
}

.vendor-card h2,
.vendor-card h3 {
	margin: 0 0 8px;
	font-size: 1.15rem;
}

.vendor-card p {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 0.94rem;
}

/* ---------- Подстраницы раздела ---------- */

.subpages {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.subpages .section-heading {
	font-size: 1.25rem;
	margin: 0 0 18px;
}

.subpages-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.subpages-list a {
	display: block;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 18px;
	font-weight: 500;
	font-size: 0.94rem;
	color: var(--ink);
}

.subpages-list a:hover {
	border-color: var(--brand);
	color: var(--brand);
}

/* ---------- Сайдбар ---------- */

.widget-area .widget {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 26px;
	margin-bottom: 22px;
}

.widget-title {
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 16px;
}

.widget-title a {
	color: var(--heading);
}

.widget-title a:hover {
	color: var(--brand);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.92rem;
	line-height: 1.5;
}

.widget ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.widget ul li a {
	color: var(--ink);
}

.widget ul li a:hover {
	color: var(--brand);
}

.widget ul ul {
	padding: 6px 0 0 16px;
}

.widget ul ul li {
	border-bottom: none;
	padding: 4px 0;
}

.section-nav .current_page_item>a {
	color: var(--brand);
	font-weight: 600;
}

/* ---------- Пагинация и навигация ---------- */

.pagination,
.navigation.pagination {
	margin-top: 44px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.nav-links .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 13px;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font-weight: 500;
	font-size: 0.9rem;
}

.nav-links .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.nav-links a.page-numbers:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

.post-navigation .nav-next {
	text-align: right;
}

/* ---------- Комментарии ---------- */

.comments-area {
	margin-top: 56px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list .comment {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	margin-bottom: 16px;
}

.comment-list .children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: 24px;
}

.comment-author {
	font-weight: 600;
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 12px;
}

.comment-metadata {
	font-size: 0.78rem;
	color: var(--muted);
}

.comment-form label {
	display: block;
	font-weight: 500;
	font-size: 0.88rem;
	margin-bottom: 5px;
}

.comment-form p {
	margin: 0 0 16px;
}

/* ---------- Подвал ---------- */

.site-footer {
	background: #3e3e3e;
	color: #c6c6c6;
	margin-top: 72px;
	font-size: 0.92rem;
}

body.home .site-footer {
	margin-top: 0;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 56px;
	padding-top: 56px;
	padding-bottom: 44px;
}

.footer-title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 10px;
}

.footer-tagline {
	color: #a3a3a3;
	margin: 0 0 18px;
	max-width: 30em;
}

.footer-contacts a {
	color: #e0e0e0;
	font-weight: 500;
	line-height: 1.9;
}

.footer-contacts a:hover {
	color: #fff;
}

.footer-col-title {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #a3a3a3;
	margin: 0 0 16px;
}

.footer-navigation ul,
.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-navigation li,
.footer-list li {
	padding: 5px 0;
}

.site-footer a {
	color: #c6c6c6;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer .widget {
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 20px;
}

.site-footer .widget-title {
	color: #a3a3a3;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 0;
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 40px;
	justify-content: space-between;
}

.site-info,
.site-disclaimer {
	margin: 0;
	font-size: 0.82rem;
	color: #9a9a9a;
}

/* ---------- Ошибка 404 / поиск ---------- */

.error-404 .page-content,
.no-results .page-content {
	max-width: 560px;
}

.error-404 .search-form,
.no-results .search-form {
	margin: 22px 0;
}

.home-cta {
	margin-bottom: 0 !important;
}

/* =========================================================
   Адаптивность
   ========================================================= */

@media (max-width: 1080px) {
	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 40px;
	}
}

@media (max-width: 960px) {

	/* Верхняя полоса скрыта — контакты в бургер-меню и телефоне-дропдауне */
	.topbar {
		display: none;
	}

	/* Мобильное меню */
	.menu-toggle {
		display: flex;
	}

	.header-inner {
		min-height: 50px;
		justify-content: space-between;
	}

	/* Контакты внизу шторки */
	.drawer-contacts {
		display: block;
		margin-top: 26px;
		padding-top: 20px;
	}

	.drawer-contacts-title {
		font-size: 0.76rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--muted);
		margin: 0 0 10px;
	}

	.drawer-contacts a {
		display: block;
		padding: 7px 0;
		font-size: 0.98rem;
		font-weight: 600;
		color: var(--heading);
	}

	.drawer-contacts a:hover {
		color: var(--brand);
	}

	.drawer-contacts .drawer-contacts-mail {
		font-weight: 500;
		color: var(--brand);
	}

	/* Кнопка-телефон с выпадающими номерами */
	.header-phone {
		display: block;
	}

	.phone-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		background: linear-gradient(180deg, #f6ca5e 0%, #eeb63e 100%);
		color: #5b4310;
		border: 1px solid #e3a92f;
		border: 1px solid #ecd4e1;
		border-radius: 50%;
		color: var(--brand);
		cursor: pointer;
		transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
	}

	.phone-toggle:hover,
	.phone-toggle:focus {
		background: var(--brand);
		border-color: var(--brand);
		color: #fff;
		transform: none;
		box-shadow: none;
	}

	.phone-toggle[aria-expanded="true"] {
		background: var(--brand);
		border-color: var(--brand);
		color: #fff;
	}

	.phone-menu {
		position: absolute;
		top: calc(100% + 10px);
		right: 0;
		min-width: 230px;
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow-soft);
		padding: 8px 0;
		z-index: 300;
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
		pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
	}

	.header-phone.is-open .phone-menu {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
	}

	.phone-menu a {
		display: block;
		padding: 10px 20px;
		font-size: 0.95rem;
		font-weight: 600;
		color: var(--heading);
		white-space: nowrap;
	}

	.phone-menu a:hover {
		background: var(--brand-soft);
		color: var(--brand-dark);
	}

	.phone-menu .phone-menu-mail {
		border-top: 1px solid var(--line);
		font-weight: 500;
		color: var(--brand);
	}

	/* Меню — шторка, выезжающая слева. Контент страницы не двигается. */
	.main-navigation {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 86vw);
		background: var(--white);
		z-index: 400;
		padding: 60px 22px 28px;
		overflow-y: auto;
		overscroll-behavior: contain;
		box-shadow: 0 0 44px rgba(43, 22, 34, 0.22);
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.35, 1), visibility 0s linear 0.3s;
	}

	.main-navigation.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.35, 1), visibility 0s;
	}

	/* Затемнение позади шторки */
	.nav-scrim {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(43, 22, 34, 0.45);
		z-index: 390;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	body.nav-open .nav-scrim {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.3s ease, visibility 0s;
	}

	body.nav-open {
		overflow: hidden;
	}

	/* Крестик в шторке */
	.drawer-close {
		display: block;
		position: absolute;
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
		padding: 0;
		background: none;
		border: none;
		cursor: pointer;
		transition: transform 0.18s ease;
	}

	.drawer-close:hover,
	.drawer-close:focus {
		background: none;
		transform: rotate(90deg);
		box-shadow: none;
	}

	.drawer-close span {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 18px;
		height: 2px;
		background: var(--muted);
	}

	.drawer-close:hover span {
		background: var(--brand);
	}

	.drawer-close span:first-child {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.drawer-close span:last-child {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.main-navigation>ul,
	.main-navigation>div>ul {
		flex-direction: column;
		flex-wrap: wrap;
	}

	.main-navigation a {
		padding: 12px 6px;
		font-size: 1rem;
		white-space: normal;
	}

	.main-navigation li {
		border-bottom: 1px solid var(--line);
	}

	.main-navigation li:last-child {
		border-bottom: none;
	}

	.main-navigation ul ul {
		position: static;
		display: none;
		min-width: 0;
		border: none;
		box-shadow: none;
		border-radius: 0;
		background: var(--paper);
		padding: 0 0 6px 16px;
		/* сброс десктопной анимации выпадения */
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		transition: none;
	}

	.main-navigation li.is-open>ul {
		display: block;
		animation: menuSlideDown 0.22s ease both;
	}

	.main-navigation li:hover>ul {
		display: none;
	}

	.main-navigation li.is-open:hover>ul {
		display: block;
	}

	.main-navigation ul ul li {
		border-bottom: none;
	}

	.submenu-toggle {
		display: block;
		position: absolute;
		top: 3px;
		right: 0;
		width: 44px;
		height: 44px;
	}

	.submenu-toggle::before {
		content: "";
		display: block;
		width: 9px;
		height: 9px;
		margin: 0 auto;
		border-right: 1.5px solid var(--heading);
		border-bottom: 1.5px solid var(--heading);
		transform: rotate(45deg);
		transition: transform 0.15s ease;
	}

	.submenu-toggle[aria-expanded="true"]::before {
		transform: rotate(225deg);
	}

	/* Раскладка */
	.layout-with-sidebar {
		grid-template-columns: 1fr;
	}

	.widget-area {
		margin-top: 16px;
	}

	h1,
	.entry-title,
	.page-title {
		font-size: 1.7rem;
	}

	.front-page .front-blocks>.wp-block-group,
	.home-band {
		padding: 48px 20px;
	}

	.hero-media {
		order: -1;
	}

	.hero-product img {
		max-height: 240px;
	}

	.split-columns {
		gap: 24px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-top: 40px;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.topbar-inner {
		justify-content: center;
	}

	.topbar-links {
		display: none;
	}

	.site-content {
		padding: 30px 0 52px;
	}

	.card-grid,
	.post-grid,
	.review-grid {
		grid-template-columns: 1fr;
	}

	.post-navigation {
		flex-direction: column;
		gap: 10px;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.entry-content .alignright,
	.entry-content .alignleft {
		float: none;
		margin: 16px 0;
		max-width: 100%;
	}

	.band-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.hero-approved {
		left: 0;
		bottom: 0;
		padding: 8px;
	}

	.hero-approved img {
		width: 60px;
		height: 60px;
	}
}

/* =========================================================
   Модальное окно обратной связи
   ========================================================= */

.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.modal.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.22s ease, visibility 0s;
}

.modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(43, 22, 34, 0.55);
	backdrop-filter: blur(3px);
}

.modal-dialog {
	position: relative;
	width: 100%;
	max-width: 500px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	overflow-x: hidden;
	background: var(--white);
	border-radius: 14px;
	border-top: 4px solid var(--brand);
	padding: 38px 40px 34px;
	box-shadow: 0 30px 60px -20px rgba(43, 22, 34, 0.5);
	transform: translateY(16px) scale(0.97);
	transition: transform 0.25s ease;
}

/* Фирменные точки в углу модалки — как в hero */
.modal-dialog::before {
	content: "";
	position: absolute;
	top: -70px;
	right: -70px;
	width: 210px;
	height: 210px;
	background-image: radial-gradient(rgba(125, 19, 75, 0.12) 1.5px, transparent 1.5px);
	background-size: 20px 20px;
	border-radius: 50%;
	pointer-events: none;
}

.modal.is-open .modal-dialog {
	transform: translateY(0) scale(1);
}

.modal-dialog>* {
	position: relative;
}

.modal-title {
	margin: 0 0 6px;
	font-size: 1.55rem;
}

.modal-note {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0 0 24px;
}

.modal-note a {
	font-weight: 600;
	white-space: nowrap;
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	transition: transform 0.18s ease;
}

.modal-close:hover {
	background: none;
	transform: rotate(90deg);
}

.modal-close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--muted);
	transition: background 0.15s ease;
}

.modal-close:hover span {
	background: var(--brand);
}

.modal-close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

body.modal-open {
	overflow: hidden;
}

/* ---------- Форма Contact Form 7 ---------- */

/* Страховка от вёрстки плагина: убираем поля-обёртки и пустые абзацы */
.wpcf7 form>p,
.wpcf7 form>br {
	display: none;
}

.wpcf7 form p {
	margin: 0;
}

.cf7-field {
	margin-bottom: 14px;
}

.cf7-field label {
	display: block;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--heading);
	margin-bottom: 6px;
}

.cf7-field .req {
	color: var(--brand);
}

.cf7-field .wpcf7-form-control-wrap {
	display: block;
}

.cf7-field input,
.cf7-field textarea {
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cf7-field textarea {
	resize: vertical;
	min-height: 120px;
}

.cf7-submit {
	margin-top: 22px;
}

.cf7-submit .wpcf7-submit {
	width: 100%;
	transition: background 0.18s ease, border-color 0.18s ease,
		transform 0.18s ease, box-shadow 0.18s ease;
}

.cf7-submit .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(125, 19, 75, 0.5);
}

.wpcf7 .wpcf7-spinner {
	display: block;
	margin: 8px auto 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 10px 14px;
	border-radius: var(--radius);
	font-size: 0.88rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--olive);
	background: #f2f6ea;
	color: var(--olive-dark);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: #b3261e;
	background: #fdf1f0;
	color: #8c1d17;
}

.wpcf7-not-valid-tip {
	font-size: 0.8rem;
	color: #b3261e;
	margin-top: 4px;
}

/* ---------- Экран успешной отправки ---------- */

.modal-success {
	display: none;
	text-align: center;
	padding: 26px 6px 10px;
}

.modal-dialog.is-sent .wpcf7,
.modal-dialog.is-sent .modal-title,
.modal-dialog.is-sent .modal-note,
.modal-dialog.is-sent .kicker {
	display: none;
}

.modal-dialog.is-sent .modal-success {
	display: block;
	animation: heroFadeUp 0.4s ease both;
}

.success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(180deg, #6b8a43 0%, var(--olive) 100%);
	color: #fff;
	box-shadow: 0 12px 26px -10px rgba(90, 118, 53, 0.6);
	margin-bottom: 18px;
	animation: successPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s both;
}

.success-title {
	margin: 0 0 8px;
	font-size: 1.45rem;
}

.success-text {
	color: var(--muted);
	font-size: 0.96rem;
	margin: 0 0 18px;
	line-height: 1.6;
}

.success-hint {
	font-size: 0.8rem;
	color: var(--muted);
	margin: 0;
	opacity: 0.75;
}

/* =========================================================
   CTA-блок «Где купить» (последний на главной)
   ========================================================= */

.front-blocks .home-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 100%);
	padding: 56px 24px !important;
}

.cta-columns {
	gap: 48px;
}

.cta-media {
	text-align: center;
}

.cta-product {
	margin: 0;
	display: inline-block;
	position: relative;
}

.cta-product img {
	max-height: 240px;
	width: auto;
	filter: drop-shadow(0 18px 26px rgba(30, 8, 20, 0.45));
}

.cta-title {
	color: #fff;
	font-size: 1.9rem;
	margin: 0 0 12px;
}

.cta-text {
	color: #e9d3df;
	font-size: 1.05rem;
	max-width: 34em;
	margin: 0 0 26px;
}

.cta-buttons {
	margin: 0;
}

.cta-button .wp-block-button__link {
	background: #fff;
	border-color: #fff;
	color: var(--brand);
	padding: 13px 30px;
	font-size: 0.96rem;
}

.cta-button .wp-block-button__link:hover {
	background: var(--brand-soft);
	border-color: var(--brand-soft);
	color: var(--brand-dark);
	box-shadow: 0 10px 20px -10px rgba(30, 8, 20, 0.6);
}

@media (max-width: 781px) {
	.front-blocks .home-cta {
		padding: 44px 20px !important;
		text-align: center;
	}

	.cta-product img {
		max-height: 170px;
	}

	.cta-title {
		font-size: 1.5rem;
	}

	.cta-text {
		margin-left: auto;
		margin-right: auto;
	}

	.cta-buttons {
		justify-content: center;
	}
}

/* =========================================================
   Плавающая кнопка «Задать вопрос» (справа снизу)
   ========================================================= */

.fab-contact {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 380;
	display: flex;
	align-items: center;
	gap: 0;
	height: 56px;
	padding: 0 16px;
	background: linear-gradient(180deg, #f6ca5e 0%, #eeb63e 100%);
	color: #5b4310;
	border: 1px solid #e3a92f;
	border-radius: 100px;
	cursor: pointer;
	box-shadow: 0 6px 18px -4px rgba(180, 130, 30, 0.55), 0 2px 6px rgba(58, 58, 58, 0.15);
	transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.fab-contact:hover,
.fab-contact:focus {
	background: linear-gradient(180deg, #f8d071 0%, #f0bd4c 100%);
	color: #4a3609;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -6px rgba(180, 130, 30, 0.6), 0 3px 8px rgba(58, 58, 58, 0.18);
}

.fab-contact:active {
	transform: translateY(0);
	transition-duration: 0.06s;
}

/* Мягкая пульсация, чтобы кнопку замечали */
.fab-contact::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	border: 1px solid rgba(238, 182, 62, 0.9);
	animation: fabPulse 3.2s ease-out infinite;
	pointer-events: none;
}

.fab-icon {
	flex: 0 0 auto;
}

/* Подпись раскрывается при наведении */
.fab-label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	opacity: 0;
	transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}

.fab-contact:hover .fab-label,
.fab-contact:focus .fab-label {
	max-width: 160px;
	opacity: 1;
	margin-left: 10px;
}

@media (max-width: 600px) {
	.fab-contact {
		right: 16px;
		bottom: 16px;
		height: 52px;
		padding: 0 14px;
	}
}

/* =========================================================
   Анимации
   ========================================================= */

@keyframes heroFadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

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

@keyframes heroFadeScale {
	from {
		opacity: 0;
		transform: scale(0.94);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes heroFloat {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

@keyframes menuSlideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

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

@keyframes fabPulse {
	0% {
		transform: scale(1);
		opacity: 0.9;
	}

	60%,
	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}

@keyframes successPop {
	from {
		transform: scale(0.4);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}