/* =========================================================================
   LuxCosmo — дизайн-система 2026
   ------------------------------------------------
   Палитра (60/25/10/4/1):
   • Кремовый  #FAF7F2  — фон (60%)
   • Текст     #1A1A1A  — основной текст (25%)
   • Графит    #2C2C2C  — акцентные элементы (10%)
   • Золото    #C9A96E  — точечные акценты (4%)
   • Беж       #EDE7DD  — доп. поверхности (1%)

   Тренды: нейтральный минимализм, макро-пространство, микро-анимация,
   тактильность через тени/градиенты, типографика как дизайн.
   ========================================================================= */

:root {
	--lux-cream: #FAF7F2;
	--lux-ink: #1A1A1A;
	--lux-charcoal: #2C2C2C;
	--lux-gold: #C9A96E;
	--lux-beige: #EDE7DD;

	/* Радиусы. */
	--lux-radius-s: 12px;
	--lux-radius-m: 16px;
	--lux-radius-pill: 50px;

	/* Система теней: светлая / средняя / глубокая. */
	--lux-shadow-s: 0 4px 20px rgba(0, 0, 0, 0.02);
	--lux-shadow-m: 0 8px 40px rgba(0, 0, 0, 0.05);
	--lux-shadow-l: 0 20px 60px rgba(0, 0, 0, 0.08);
	--lux-shadow-gold: 0 8px 32px rgba(201, 169, 110, 0.3);

	/* Анимации. */
	--lux-ease: 0.3s ease;
	--lux-ease-spring: 0.6s cubic-bezier(0.23, 1, 0.32, 1);

	/* Макро-пространство между секциями. */
	--lux-section: clamp(5rem, 10vw, 8rem);
}

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

::selection {
	background: var(--lux-gold);
	color: #ffffff;
}

html {
	scroll-behavior: smooth;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--lux-gold);
	outline-offset: 3px;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: var(--lux-gold);
	color: #ffffff;
	clip: auto;
	clip-path: none;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1.25rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	border-radius: var(--lux-radius-s);
}

.lux-main {
	padding-top: var(--wp--preset--spacing--60, 4rem);
	padding-bottom: var(--wp--preset--spacing--80, 6rem);
}

/* Отступ от липкой шапки при переходах по якорям. */
[id] {
	scroll-margin-top: 90px;
}

/* ---------- Типографика / заголовки секций ---------- */

.lux-section-head {
	margin-bottom: var(--wp--preset--spacing--50, 3rem);
}

.lux-section-head.has-text-align-center .lux-section-title {
	margin-inline: auto;
}

.lux-section-title {
	font-size: clamp(1.9rem, 4.2vw, 2.9rem);
	line-height: 1.18;
	margin-top: 1rem;
	margin-bottom: 1.25rem;
	text-wrap: balance;
}

.lux-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 600;
	font-size: 0.72rem;
	margin-bottom: 0;
}

.lux-eyebrow::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, var(--lux-gold), rgba(201, 169, 110, 0.2));
	flex: none;
}

/* ---------- Кнопки: дизайн-система ---------- */

.wp-block-button__link {
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
		box-shadow 0.3s ease, transform 0.3s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* Основная кнопка: графит на кремовом. */
.wp-block-button:not(.is-style-luxcosmo-gold):not(.is-style-luxcosmo-outline) .wp-block-button__link:hover {
	box-shadow: var(--lux-shadow-m);
}

/* Вариация «Золотой акцент»: прозрачный фон, золотая обводка и текст.
   Золото работает как акцент, а не как заливка. */
.is-style-luxcosmo-gold .wp-block-button__link {
	background: transparent;
	color: var(--lux-gold);
	border: 1px solid var(--lux-gold);
}

.is-style-luxcosmo-gold .wp-block-button__link:hover {
	background: var(--lux-gold);
	border-color: var(--lux-gold);
	color: #ffffff;
	box-shadow: var(--lux-shadow-gold);
}

/* Вариация «Тонкая обводка»: графитовая обводка. */
.is-style-luxcosmo-outline .wp-block-button__link {
	background: transparent;
	color: var(--lux-charcoal);
	border: 1px solid rgba(44, 44, 44, 0.35);
}

.is-style-luxcosmo-outline .wp-block-button__link:hover {
	background: var(--lux-charcoal);
	border-color: var(--lux-charcoal);
	color: var(--lux-cream);
}

/* ---------- Шапка (липкая, премиальная) ---------- */

.lux-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(250, 247, 242, 0.85);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.lux-header.is-scrolled {
	background: rgba(250, 247, 242, 0.94);
	border-bottom-color: rgba(237, 231, 221, 0.9);
	box-shadow: var(--lux-shadow-m);
}

.lux-header__inner {
	padding-top: var(--wp--preset--spacing--20, 1rem);
	padding-bottom: var(--wp--preset--spacing--20, 1rem);
}

.lux-brand {
	gap: 0.75rem;
}

.lux-brand .wp-block-site-logo img {
	height: 46px;
	width: auto;
	transition: transform 0.3s ease;
}

.lux-brand:hover .wp-block-site-logo img {
	transform: scale(1.03);
}

.lux-brand .wp-block-site-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.lux-header__nav .wp-block-navigation-item__content {
	position: relative;
	transition: color 0.2s ease;
}

.lux-header__nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0.6em;
	right: 0.6em;
	bottom: 0.35em;
	height: 1px;
	background: var(--lux-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--lux-ease-spring);
}

.lux-header__nav .wp-block-navigation-item__content:hover {
	color: var(--lux-gold);
}

.lux-header__nav .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

.lux-header__cta {
	margin: 0;
}

/* ---------- Hero ---------- */

.lux-hero {
	position: relative;
	overflow: hidden;
	padding-top: var(--lux-section);
	padding-bottom: var(--lux-section);
}

/* Кинетический фон: мягкое золотое свечение в углу. */
.lux-hero::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 62vw;
	height: 62vw;
	max-width: 900px;
	max-height: 900px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0) 62%);
	pointer-events: none;
	animation: lux-breath 12s ease-in-out infinite;
}

.lux-hero__grid {
	gap: var(--wp--preset--spacing--60, 4rem);
	align-items: center;
	position: relative;
}

.lux-hero__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.06;
	letter-spacing: -0.015em;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.lux-hero__lead {
	font-size: 1.125rem;
	max-width: 36rem;
	margin-bottom: 2.25rem;
}

.lux-hero__stats {
	gap: 2.5rem;
	margin-top: 2.5rem;
}

.lux-stat {
	margin: 0;
	color: var(--lux-charcoal);
}

.lux-stat strong {
	display: block;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--lux-ink);
	line-height: 1.1;
	margin-bottom: 0.2rem;
}

.lux-hero__image {
	border-radius: var(--lux-radius-m);
	overflow: hidden;
	box-shadow: var(--lux-shadow-l);
	transform: translateY(0);
	transition: transform 0.6s var(--lux-ease-spring), box-shadow 0.6s ease;
}

.lux-hero__image:hover {
	transform: translateY(-6px);
	box-shadow: 0 32px 80px rgba(28, 26, 20, 0.14);
}

.lux-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 5;
	display: block;
}

/* ---------- Секции услуг (Cover-карточки) ---------- */

.lux-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.lux-card--cover {
	border-radius: var(--lux-radius-m);
	min-height: 340px;
	transition: transform 0.4s var(--lux-ease-spring), box-shadow 0.4s ease, border-color 0.3s ease;
	border: 1px solid transparent;
}

.lux-card--cover:hover {
	transform: translateY(-8px);
	box-shadow: var(--lux-shadow-l);
	border-color: rgba(201, 169, 110, 0.55);
}

.lux-card--cover .wp-block-cover__background {
	transition: opacity 0.4s ease;
}

.lux-card--cover:hover .wp-block-cover__background {
	opacity: 0.62;
}

.lux-card--cover .wp-block-cover__image-background {
	transition: transform 0.8s var(--lux-ease-spring);
}

.lux-card--cover:hover .wp-block-cover__image-background {
	transform: scale(1.06);
}

.lux-card__icon {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
}

.lux-card__title {
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: #ffffff;
}

.lux-card__text {
	color: rgba(250, 247, 242, 0.85);
	margin-bottom: 1.25rem;
}

.lux-card__more {
	margin-bottom: 0;
}

.lux-card__more a {
	font-weight: 500;
	color: var(--lux-gold);
	transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.lux-card__more a::after {
	content: " →";
	transition: transform 0.3s ease;
	display: inline-block;
}

.lux-card__more a:hover {
	color: #ffffff;
	letter-spacing: 0.03em;
}

/* ---------- О нас ---------- */

.lux-about {
	border-radius: 0;
}

.lux-about__grid {
	gap: var(--wp--preset--spacing--70, 5rem);
	align-items: center;
}

.lux-about__image {
	border-radius: var(--lux-radius-m);
	overflow: hidden;
	box-shadow: var(--lux-shadow-l);
	position: relative;
}

.lux-about__image img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 5;
	display: block;
}

/* Декоративная золотая линия рядом с фото (асимметрия). */
.lux-about__media {
	position: relative;
}

.lux-about__media::before {
	content: "";
	position: absolute;
	top: -1.5rem;
	left: -1.5rem;
	width: 96px;
	height: 96px;
	border-top: 1px solid var(--lux-gold);
	border-left: 1px solid var(--lux-gold);
	border-radius: 8px 0 0 0;
	pointer-events: none;
}

.lux-list-feature {
	list-style: none;
	padding-left: 0;
	margin-top: 1.75rem;
}

.lux-list-feature li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.9rem;
}

.lux-list-feature li::before {
	content: "✦";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--lux-gold);
	font-size: 0.9rem;
}

.lux-about__quote {
	border-radius: var(--lux-radius-s);
	background: rgba(255, 255, 255, 0.5);
	padding: 1.5rem 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-left: 2px solid var(--lux-gold) !important;
}

.lux-about__quote blockquote {
	margin: 0;
	padding: 0;
}

.lux-about__quote p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
}

/* ---------- До / После ---------- */

.lux-ba__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.lux-ba {
	position: relative;
	overflow: hidden;
	border-radius: var(--lux-radius-m);
	aspect-ratio: 4 / 3;
	user-select: none;
	-webkit-user-select: none;
	cursor: ew-resize;
	box-shadow: var(--lux-shadow-m);
}

.lux-ba__after,
.lux-ba__before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lux-ba__after img,
.lux-ba__before img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lux-ba__before {
	clip-path: inset(0 50% 0 0);
	transition: clip-path 0.1s linear;
}

.lux-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	touch-action: none;
	z-index: 2;
}

.lux-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
	pointer-events: none;
	z-index: 1;
}

.lux-ba__handle::after {
	content: "⇦⇨";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	color: var(--lux-charcoal);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.lux-ba__label {
	position: absolute;
	bottom: 0.75rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ffffff;
	background: rgba(28, 26, 20, 0.55);
	backdrop-filter: blur(4px);
	border-radius: 6px;
	padding: 0.3rem 0.7rem;
	z-index: 1;
}

.lux-ba__label--before {
	left: 0.75rem;
}

.lux-ba__label--after {
	right: 0.75rem;
}

.lux-ba-item__caption {
	margin-top: 1rem;
}

/* ---------- Отзывы (карусель) ---------- */

.lux-testimonials__viewport {
	overflow: hidden;
}

.lux-testimonials__track {
	display: flex;
	transition: transform 0.6s var(--lux-ease-spring);
}

.lux-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.lux-slide__card {
	text-align: center;
	padding: var(--wp--preset--spacing--50, 3rem) 2rem;
	margin-inline: auto;
}

.lux-stars {
	letter-spacing: 0.3em;
	color: var(--lux-gold);
	margin-bottom: 1.5rem;
}

.lux-slide__text {
	font-size: clamp(1.15rem, 2.6vw, 1.5rem);
	line-height: 1.55;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	margin-bottom: 2rem;
}

.lux-slide__author {
	justify-content: center;
	gap: 1rem;
}

.lux-avatar {
	margin: 0;
}

.lux-avatar img {
	border-radius: 50%;
	box-shadow: var(--lux-shadow-s);
}

.lux-slide__name {
	margin-bottom: 0.15rem;
}

.lux-slide__service {
	margin: 0;
}

.lux-testimonials__nav {
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.lux-testimonials__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--lux-gold);
	background: transparent;
	color: var(--lux-charcoal);
	font-size: 1.15rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.lux-testimonials__btn:hover {
	background: var(--lux-gold);
	border-color: var(--lux-gold);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--lux-shadow-gold);
}

/* ---------- Цены ---------- */

.lux-prices__grid {
	gap: var(--wp--preset--spacing--70, 5rem);
	align-items: center;
}

.lux-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--lux-radius-s);
	border-bottom: 1px solid var(--lux-beige);
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.lux-price-row:hover {
	background: var(--lux-beige);
	transform: translateX(4px);
}

.lux-price-row:first-child {
	padding-top: 0.25rem;
}

.lux-price-row--popular {
	background: var(--lux-beige);
	border: 1px solid rgba(201, 169, 110, 0.6);
	box-shadow: 0 4px 20px rgba(201, 169, 110, 0.12);
	margin-bottom: 0.75rem;
}

.lux-price-row__name {
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 0.25rem;
}

.lux-badge {
	display: inline-block;
	font-family: "Inter", sans-serif;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--lux-gold);
	border-radius: var(--lux-radius-pill);
	padding: 0.22rem 0.7rem;
	vertical-align: 0.25em;
	margin-left: 0.35rem;
}

.lux-price-row__price {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	color: var(--lux-gold);
	white-space: nowrap;
	flex: none;
}

.lux-prices__note {
	margin-top: 1.5rem;
}

/* ---------- Контакты ---------- */

.lux-contacts__grid {
	gap: var(--wp--preset--spacing--70, 5rem);
}

.lux-form-card {
	background: #ffffff;
	border: 1px solid var(--lux-beige);
	border-radius: var(--lux-radius-m);
	padding: var(--wp--preset--spacing--50, 3rem);
	box-shadow: var(--lux-shadow-m);
}

.lux-form-card__title {
	margin-top: 0;
}

.lux-contacts__title {
	margin-top: 1rem;
}

/* Поля Contact Form 7. */
.lux-form-card .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.lux-form-card .wpcf7 textarea,
.lux-form-card .wpcf7 select {
	width: 100%;
	border: 1px solid rgba(44, 44, 44, 0.18);
	border-radius: var(--lux-radius-s);
	background: var(--lux-cream);
	padding: 0.85rem 1.1rem;
	color: var(--lux-ink);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lux-form-card .wpcf7 input:focus,
.lux-form-card .wpcf7 textarea:focus,
.lux-form-card .wpcf7 select:focus {
	border-color: var(--lux-gold);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
	outline: none;
}

.lux-form-card .wpcf7 input[type="submit"] {
	background: var(--lux-charcoal);
	color: var(--lux-cream);
	border: 1px solid var(--lux-charcoal);
	border-radius: var(--lux-radius-pill);
	padding: 0.9rem 2.5rem;
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.lux-form-card .wpcf7 input[type="submit"]:hover {
	background: var(--lux-gold);
	border-color: var(--lux-gold);
	transform: translateY(-2px);
	box-shadow: var(--lux-shadow-gold);
}

.lux-form-card .wpcf7-not-valid-tip {
	font-size: 0.8rem;
	color: #b0413e;
}

.lux-form-card .wpcf7-response-output {
	border: 1px solid var(--lux-gold);
	border-radius: var(--lux-radius-s);
	font-size: 0.9rem;
}

.lux-contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.lux-contact-item__icon {
	color: var(--lux-gold);
	font-style: normal;
	flex: none;
	width: 1.2em;
	text-align: center;
}

.lux-socials {
	gap: 1rem;
	margin-top: 1.5rem;
	align-items: center;
}

.lux-socials__label {
	margin: 0;
	color: var(--lux-charcoal);
}

.lux-socials__links {
	display: flex;
	gap: 0.6rem;
}

.lux-socials__links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(44, 44, 44, 0.2);
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--lux-charcoal);
	transition: all 0.3s ease;
}

.lux-socials__links a:hover {
	border-color: var(--lux-gold);
	color: var(--lux-gold);
	background: var(--lux-beige);
	transform: translateY(-2px);
}

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

.lux-footer {
	background: var(--lux-charcoal);
	color: var(--lux-beige);
	padding-top: var(--wp--preset--spacing--60, 4rem);
	padding-bottom: var(--wp--preset--spacing--30, 2rem);
}

.lux-footer .wp-block-site-title {
	color: #ffffff;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	margin-bottom: 0.75rem;
}

.lux-footer a {
	color: var(--lux-beige);
	transition: color 0.2s ease;
}

.lux-footer a:hover {
	color: var(--lux-gold);
}

.lux-footer__cols {
	gap: 3rem;
}

.lux-footer .wp-block-heading {
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
}

.lux-footer__menu .wp-block-navigation-item__content {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.lux-footer__sep {
	margin-top: var(--wp--preset--spacing--40, 3rem);
	margin-bottom: var(--wp--preset--spacing--30, 2rem);
	opacity: 0.4;
}

.lux-footer__bottom p {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

/* ---------- Блог ---------- */

.lux-archive__loop,
.lux-search-loop {
	margin-top: var(--wp--preset--spacing--40, 3rem);
}

.lux-post-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--lux-beige);
	border-radius: var(--lux-radius-m);
	overflow: hidden;
	transition: transform 0.4s var(--lux-ease-spring), box-shadow 0.4s ease, border-color 0.3s ease;
}

.lux-post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--lux-shadow-l);
	border-color: rgba(201, 169, 110, 0.5);
}

.lux-post-card__image {
	margin-bottom: 0;
	overflow: hidden;
}

.lux-post-card__image img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--lux-ease-spring);
}

.lux-post-card:hover .lux-post-card__image img {
	transform: scale(1.05);
}

.lux-post-card__title {
	font-size: 1.35rem;
	margin: 1.5rem 1.5rem 0.75rem;
}

.lux-post-card__title a {
	color: var(--lux-ink);
	transition: color 0.2s ease;
}

.lux-post-card__title a:hover {
	color: var(--lux-gold);
}

.lux-post-card .wp-block-post-excerpt {
	margin: 0 1.5rem 1rem;
}

.lux-post-card .wp-block-post-excerpt__more-text a {
	color: var(--lux-charcoal);
	font-weight: 500;
}

.lux-post-card .wp-block-post-date {
	margin: auto 1.5rem 1.5rem;
}

.lux-search-form {
	max-width: 480px;
	margin-top: var(--wp--preset--spacing--30, 2rem);
}

.lux-search-form input[type="search"] {
	border: 1px solid rgba(44, 44, 44, 0.2);
	border-radius: var(--lux-radius-pill);
	padding: 0.75rem 1.3rem;
	background: #ffffff;
}

.lux-search-form button {
	border-radius: var(--lux-radius-pill);
}

.lux-page-title {
	margin-top: 0;
}

.lux-post-meta {
	color: var(--lux-charcoal);
	margin-top: 1rem;
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--lux-beige);
}

.lux-featured {
	border-radius: var(--lux-radius-m);
	overflow: hidden;
	margin-bottom: 2rem;
}

.lux-post-nav {
	margin-top: var(--wp--preset--spacing--40, 3rem);
	padding-top: var(--wp--preset--spacing--30, 2rem);
	border-top: 1px solid var(--lux-beige);
}

/* ---------- 404 ---------- */

.lux-404 {
	text-align: center;
}

.lux-404__code {
	font-size: clamp(6rem, 20vw, 11rem);
	line-height: 1;
	color: var(--lux-gold);
	text-shadow: 0 12px 40px rgba(201, 169, 110, 0.25);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.lux-404 .lux-search-form {
	margin-left: auto;
	margin-right: auto;
}

.lux-404 .wp-block-buttons {
	justify-content: center;
}

/* ---------- Появление при прокрутке (включается через JS) ---------- */

html.js-lux .lux-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s var(--lux-ease-spring);
	will-change: opacity, transform;
}

html.js-lux .lux-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Кинетический фон (hero) ---------- */

@keyframes lux-breath {
	0%, 100% {
		opacity: 0.7;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.08);
	}
}

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

@media (max-width: 1024px) {
	.lux-services__grid,
	.lux-ba__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lux-archive__loop .wp-block-post-template,
	.lux-search-loop .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.lux-header__nav .wp-block-navigation {
		gap: 0.5rem;
	}
}

@media (max-width: 781px) {
	.wp-block-columns {
		flex-wrap: wrap;
	}

	.lux-services__grid,
	.lux-ba__grid {
		grid-template-columns: 1fr;
	}

	.lux-archive__loop .wp-block-post-template,
	.lux-search-loop .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.lux-hero__grid,
	.lux-about__grid,
	.lux-prices__grid,
	.lux-contacts__grid {
		gap: 2.5rem;
	}

	.lux-header__inner {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.lux-price-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.lux-price-row__price {
		align-self: flex-end;
	}

	.lux-form-card {
		padding: 2rem;
	}

	.lux-hero::before {
		width: 120vw;
		height: 120vw;
	}

	.lux-hero__stats {
		gap: 1.5rem;
	}

	.lux-footer__cols {
		gap: 2.5rem;
	}
}

@media (max-width: 420px) {
	.lux-hero__title {
		font-size: 2.1rem;
	}

	.lux-slide__card {
		padding: 2rem 1rem;
	}
}

/* ---------- Доступность: уменьшение движения ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	html.js-lux .lux-reveal {
		opacity: 1;
		transform: none;
	}
}
