/* ==========================================================================
   Praznikov — main styles
   ========================================================================== */

:root {
	--paper: #fbf7f1;
	--paper-2: #f5ece2;
	--paper-3: #efe2d3;
	--ink: #211a16;
	--ink-2: #3d2f27;
	--muted: #7b6a5f;
	--accent: #a5374f;
	--accent-dark: #7d2639;
	--accent-soft: #f4e0e4;
	--gold: #c49a5b;
	--line: rgba(33, 26, 22, 0.13);
	--line-light: rgba(247, 239, 231, 0.16);
	--white: #fff;
	--serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
	--container: 1240px;
	--radius: 20px;
	--shadow: 0 30px 70px -40px rgba(33, 26, 22, 0.45);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

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

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

button {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
}

::selection {
	background: var(--accent);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
	width: min(100% - 48px, var(--container));
	margin-inline: auto;
}

.section {
	position: relative;
	padding: clamp(64px, 8vw, 120px) 0;
}

.section--paper {
	background: var(--paper-2);
}

.section--dark {
	background: #1d1613;
	color: var(--paper);
}

.section--dark .section-title em {
	color: var(--gold);
}

.section--dark .btn--ghost {
	border-color: rgba(247, 239, 231, 0.3);
	color: var(--paper);
}

.section--dark .btn--ghost:hover {
	background: var(--paper);
	border-color: var(--paper);
	color: var(--ink);
}

.section-title {
	margin-top: 14px;
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.section-title em {
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.kicker__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(196, 154, 91, 0.18);
}

.section--dark .kicker {
	color: #e9c9a2;
}

.section-head {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	align-items: end;
	gap: clamp(24px, 4vw, 64px);
	margin-bottom: clamp(34px, 5vw, 60px);
}

.section-head__lead {
	max-width: 380px;
	margin-left: auto;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.section-head--dark .section-head__lead,
.section--dark .section-head__lead {
	color: rgba(247, 239, 231, 0.62);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 999;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 12px;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 16px 34px -18px rgba(165, 55, 79, 0.75);
}

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

.btn--ghost {
	border-color: rgba(33, 26, 22, 0.26);
	background: transparent;
	color: var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.btn--light {
	background: var(--paper);
	color: var(--ink);
}

.btn--light:hover {
	background: #fff;
	transform: translateY(-2px);
}

.btn--lg {
	min-height: 58px;
	padding: 0 30px;
	font-size: 15px;
}

.btn--block {
	width: 100%;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	background: rgba(251, 247, 241, 0.86);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
	border-color: var(--line);
	background: rgba(251, 247, 241, 0.96);
	box-shadow: 0 10px 30px -25px rgba(33, 26, 22, 0.4);
}

.header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	line-height: 1;
}

.brand__name {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 0.9;
}

.brand__caption {
	color: var(--muted);
	font-size: 8.5px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.custom-logo-link img,
.site-header .custom-logo {
	width: auto;
	max-height: 56px;
}

.nav {
	justify-self: center;
}

.nav .menu,
.nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav li {
	position: relative;
}

.nav a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--ink-2);
	font-size: 13.5px;
	font-weight: 500;
	transition: color 0.2s;
}

.nav a::after {
	position: absolute;
	right: 0;
	bottom: 4px;
	left: 0;
	height: 1px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s var(--ease);
}

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

.nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.header__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}

.header__phone .icon {
	color: var(--accent);
}

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

.header__cta {
	min-height: 44px;
	padding: 0 20px;
	font-size: 12.5px;
}

.burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.burger__lines {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 18px;
}

.burger__lines span {
	display: block;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.25s;
}

/* Mobile menu */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	padding: 20px 20px 28px;
	background: var(--paper);
	opacity: 0;
	overflow-y: auto;
	transition: opacity 0.3s var(--ease);
}

.mobile-menu.is-open {
	opacity: 1;
}

.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.brand--mobile .brand__name {
	font-size: 24px;
}

.mobile-menu__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.mobile-menu__nav {
	flex: 1;
	padding: 20px 0;
}

.mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.mobile-menu__list a {
	display: block;
	padding: 14px 0;
	font-family: var(--serif);
	font-size: clamp(26px, 7vw, 34px);
	line-height: 1.1;
}

.mobile-menu__footer {
	display: grid;
	gap: 14px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.mobile-menu__phone {
	font-family: var(--serif);
	font-size: 26px;
}

.mobile-menu__socials {
	display: flex;
	gap: 18px;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

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

.hero {
	position: relative;
	padding: clamp(26px, 4vw, 54px) 0 0;
	background:
		radial-gradient(900px 500px at 88% 0%, rgba(239, 217, 197, 0.85) 0%, rgba(251, 247, 241, 0) 62%),
		var(--paper);
	overflow: hidden;
}

.hero::before {
	position: absolute;
	top: 8%;
	right: -14%;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(196, 154, 91, 0.22);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
}

.hero__content {
	padding-bottom: 8px;
}

.hero__title {
	margin: 20px 0 22px;
	font-size: clamp(42px, 4.6vw, 70px);
	line-height: 0.97;
	letter-spacing: -0.02em;
}

.hero__title em {
	display: block;
	margin-top: 4px;
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
}

.hero__text {
	max-width: 510px;
	color: var(--ink-2);
	font-size: clamp(15px, 1.15vw, 16.5px);
	line-height: 1.7;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 420px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.hero__note .icon {
	margin-top: 2px;
	color: var(--accent);
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 36px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.hero__stat dt {
	font-family: var(--serif);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 500;
	line-height: 1;
}

.hero__stat dd {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hero__visual {
	position: relative;
}

.hero__figure {
	position: relative;
	margin: 0;
}

.hero__figure img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 999px 999px 20px 20px;
	box-shadow: 0 50px 90px -50px rgba(33, 26, 22, 0.55);
}

.hero__figure::after {
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.hero__badge {
	position: absolute;
	bottom: 44px;
	left: -30px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border: 1px solid rgba(33, 26, 22, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--shadow);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hero__badge-num {
	padding-right: 14px;
	border-right: 1px solid var(--line);
	color: var(--accent);
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1;
}

.hero__badge strong {
	display: block;
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.hero__badge span:not(.hero__badge-num) {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.hero__stamp {
	position: absolute;
	top: 9%;
	right: -24px;
	color: var(--muted);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.hero__bottom {
	margin-top: clamp(30px, 4vw, 52px);
	border-top: 1px solid var(--line);
}

.hero__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__phone,
.hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero__phone {
	color: var(--ink);
}

.hero__phone .icon {
	color: var(--accent);
}

.hero__scroll .icon {
	transition: transform 0.25s;
}

.hero__scroll:hover .icon {
	transform: translateX(4px);
}

@media (max-width: 1320px) {
	.hero__stamp {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	padding: 17px 0;
	background: var(--ink);
	color: var(--paper);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 46s linear infinite;
}

.marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 30px;
	padding-right: 30px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}

.marquee__star {
	color: var(--gold);
	font-size: 10px;
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 90px);
}

.about__media {
	position: relative;
	max-width: 540px;
	padding-bottom: 64px;
}

.about__main {
	margin: 0;
}

.about__main img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 22px;
}

.about__small {
	position: absolute;
	right: -34px;
	bottom: 0;
	width: 54%;
	margin: 0;
	overflow: hidden;
	border: 8px solid var(--paper);
	border-radius: 18px;
	box-shadow: var(--shadow);
}

.about__small img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.about__badge {
	position: absolute;
	top: 38px;
	left: -26px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 20px;
	border-radius: 16px;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 24px 40px -24px rgba(165, 55, 79, 0.7);
}

.about__badge strong {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 500;
	line-height: 1;
}

.about__badge span {
	max-width: 110px;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.35;
	text-transform: uppercase;
	opacity: 0.85;
}

.about__body p {
	margin-top: 18px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.72;
}

.about__list {
	display: grid;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.about__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 600;
}

.about__list .icon {
	color: var(--accent);
}

.about__foot {
	margin: 28px 0 22px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.about__signature {
	font-family: var(--serif);
	font-size: 23px;
	font-style: italic;
	line-height: 1.2;
}

.about__role {
	margin-top: 5px;
	color: var(--muted);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 26px 26px 22px;
	border: 1px solid rgba(33, 26, 22, 0.1);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.service-card:hover {
	border-color: rgba(165, 55, 79, 0.35);
	box-shadow: 0 34px 60px -46px rgba(33, 26, 22, 0.5);
	transform: translateY(-4px);
}

.service-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.service-card__num {
	padding-top: 6px;
	color: var(--gold);
	font-family: var(--serif);
	font-size: 15px;
	letter-spacing: 0.1em;
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
}

.service-card__title {
	margin-top: 20px;
	font-size: clamp(24px, 2.2vw, 28px);
	line-height: 1.1;
}

.service-card__text {
	flex: 1;
	margin-top: 10px;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.65;
}

.service-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.service-card__price {
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.1;
	white-space: nowrap;
}

.service-card__price small {
	margin-right: 4px;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.service-card__note {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 10.5px;
}

.service-card__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink);
	transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.service-card:hover .service-card__link {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.services__note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.services__note p {
	max-width: 640px;
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.portfolio {
	overflow: hidden;
}

.portfolio__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.filter {
	padding: 9px 16px;
	border: 1px solid rgba(247, 239, 231, 0.22);
	border-radius: 999px;
	background: transparent;
	color: rgba(247, 239, 231, 0.72);
	font-size: 12px;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter:hover {
	border-color: rgba(247, 239, 231, 0.5);
	color: #fff;
}

.filter.is-active {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

.portfolio__count {
	color: rgba(247, 239, 231, 0.45);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.portfolio__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.project-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: #2a211c;
}

.project-card.is-hidden {
	display: none;
}

.project-card__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
}

.project-card__media {
	display: block;
}

.project-card__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.94);
	transition: transform 0.9s var(--ease), filter 0.4s;
}

.project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 22px;
	background: linear-gradient(to top, rgba(20, 14, 11, 0.85) 0%, rgba(20, 14, 11, 0.22) 48%, rgba(20, 14, 11, 0) 72%);
	color: #fff;
}

.project-card__cat {
	margin-bottom: 8px;
	color: #e9c9a2;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.project-card__title {
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.1;
}

.project-card__meta {
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11px;
}

.project-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s, transform 0.35s var(--ease);
}

.project-card__btn:hover .project-card__media img,
.project-card__btn:focus-visible .project-card__media img {
	filter: saturate(1.05);
	transform: scale(1.045);
}

.project-card__btn:hover .project-card__more,
.project-card__btn:focus-visible .project-card__more {
	opacity: 1;
	transform: none;
}

.portfolio__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--line-light);
}

.portfolio__foot p {
	max-width: 520px;
	color: rgba(247, 239, 231, 0.65);
	font-size: 14px;
	line-height: 1.6;
}

/* Lightbox */

.lightbox {
	width: min(94vw, 960px);
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: var(--paper);
	overflow: visible;
}

.lightbox::backdrop {
	background: rgba(18, 13, 11, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.lightbox__figure {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #1d1613;
}

.lightbox__figure img {
	width: 100%;
	max-height: 76vh;
	object-fit: contain;
	background: #1d1613;
}

.lightbox__caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 20px;
	background: #241b17;
}

.lightbox__caption strong {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 500;
}

.lightbox__caption span {
	color: rgba(247, 239, 231, 0.55);
	font-size: 11.5px;
}

.lightbox__close {
	position: absolute;
	top: -46px;
	right: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(247, 239, 231, 0.3);
	border-radius: 50%;
	background: transparent;
	color: var(--paper);
	cursor: pointer;
}

.lightbox__close:hover {
	background: var(--paper);
	color: var(--ink);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

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

.step {
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

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

.step__num {
	color: var(--accent);
	font-family: var(--serif);
	font-size: 40px;
	line-height: 1;
	opacity: 0.32;
}

.step__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--accent);
}

.step__title {
	margin-top: 20px;
	font-size: 23px;
	line-height: 1.15;
}

.step__text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.65;
}

.step__meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--accent);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.step__meta::before {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--gold);
	content: "";
}

.process__note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--paper-2);
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.55;
}

.process__note .icon {
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Advantages
   -------------------------------------------------------------------------- */

.advantages__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
}

.advantages__lead {
	max-width: 520px;
	margin-top: 20px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.advantages__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.advantage {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.advantage__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--accent);
}

.advantage__title {
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.advantage__text {
	margin-top: 5px;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.55;
}

.advantages__media {
	position: relative;
	max-width: 520px;
	justify-self: end;
}

.advantages__figure {
	margin: 0;
}

.advantages__figure img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 22px;
}

.advantages__badge {
	position: absolute;
	bottom: 52px;
	left: -26px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 250px;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--paper);
	box-shadow: var(--shadow);
}

.advantages__badge strong {
	color: var(--gold);
	font-family: var(--serif);
	font-size: 38px;
	font-weight: 500;
	line-height: 1;
}

.advantages__badge span {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.advantages__caption {
	margin-top: 14px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.5;
	text-align: right;
}

/* --------------------------------------------------------------------------
   Packages
   -------------------------------------------------------------------------- */

.packages__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: 20px;
}

.package {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	border: 1px solid rgba(33, 26, 22, 0.1);
	border-radius: 22px;
	background: #fff;
}

.package--featured {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
	box-shadow: 0 40px 80px -50px rgba(33, 26, 22, 0.7);
	transform: translateY(-10px);
}

.package__badge {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--gold);
	color: #231a14;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.package__name {
	font-size: 30px;
	line-height: 1.1;
}

.package__price {
	margin-top: 14px;
	font-family: var(--serif);
	font-size: 34px;
	line-height: 1.1;
}

.package__price span {
	margin-right: 4px;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.package__lead {
	min-height: 44px;
	margin-top: 10px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
}

.package__features {
	display: grid;
	flex: 1;
	gap: 10px;
	margin: 22px 0 26px;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.package__features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.45;
}

.package__features .icon {
	margin-top: 2px;
	color: var(--accent);
}

.package--featured .package__features {
	border-color: rgba(247, 239, 231, 0.16);
}

.package--featured .package__features .icon {
	color: var(--gold);
}

.package--featured .package__price span,
.package--featured .package__lead {
	color: rgba(247, 239, 231, 0.6);
}

.package__btn {
	width: 100%;
}

.packages__note {
	margin-top: 26px;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.6;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.review-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(33, 26, 22, 0.1);
	border-radius: 20px;
	background: #fff;
}

.review-card::before {
	position: absolute;
	top: -26px;
	right: 12px;
	color: var(--paper-2);
	font-family: var(--serif);
	font-size: 110px;
	line-height: 1;
	content: "“";
	pointer-events: none;
}

.review-card__stars {
	position: relative;
	display: flex;
	gap: 3px;
	color: rgba(33, 26, 22, 0.16);
}

.review-card__stars .is-filled {
	color: var(--gold);
}

.review-card__text {
	position: relative;
	flex: 1;
	margin: 18px 0 24px;
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.45;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.review-card__avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	font-family: var(--serif);
	font-size: 19px;
}

.review-card__author strong {
	display: block;
	font-size: 13.5px;
	line-height: 1.3;
}

.review-card__role {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 11px;
}

.reviews__note {
	margin-top: 24px;
	color: var(--muted);
	font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: start;
	gap: clamp(40px, 6vw, 80px);
}

.faq__intro {
	position: sticky;
	top: 118px;
}

.faq__lead {
	max-width: 350px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.7;
}

.faq__intro .text-link {
	margin-top: 24px;
}

.faq__list {
	border-top: 1px solid var(--line);
}

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

.faq-item__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 21px 0;
	list-style: none;
	cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
	display: none;
}

.faq-item__question {
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.25;
	transition: color 0.2s;
}

.faq-item__summary:hover .faq-item__question {
	color: var(--accent);
}

.faq-item__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--muted);
	transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}

.faq-item[open] .faq-item__icon {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
	transform: rotate(45deg);
}

.faq-item__answer {
	max-width: 620px;
	padding: 0 44px 22px 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.7;
}

.faq-item__answer p + p {
	margin-top: 10px;
}

/* --------------------------------------------------------------------------
   CTA / form
   -------------------------------------------------------------------------- */

.cta {
	position: relative;
	overflow: hidden;
	background: #1d1613;
	color: var(--paper);
}

.cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.17;
}

.cta::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(29, 22, 19, 0.98) 0%, rgba(29, 22, 19, 0.9) 52%, rgba(29, 22, 19, 0.72) 100%);
	content: "";
}

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

.cta__grid {
	display: grid;
	grid-template-columns: 1fr 480px;
	align-items: center;
	gap: clamp(36px, 6vw, 90px);
}

.cta__text {
	max-width: 440px;
	margin-top: 18px;
	color: rgba(247, 239, 231, 0.68);
	font-size: 14.5px;
	line-height: 1.7;
}

.cta__list {
	display: grid;
	gap: 10px;
	margin: 26px 0;
	padding: 0;
	list-style: none;
}

.cta__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
}

.cta__list .icon {
	color: var(--gold);
}

.cta__contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 24px;
	border-top: 1px solid var(--line-light);
}

.cta__phone {
	font-family: var(--serif);
	font-size: 28px;
	line-height: 1.2;
}

.cta__email {
	color: rgba(247, 239, 231, 0.7);
	font-size: 13px;
}

.cta__hours {
	margin-top: 4px;
	color: rgba(247, 239, 231, 0.4);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.form-card {
	padding: 28px;
	border-radius: 24px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8);
}

.form-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.form-card__label {
	color: var(--accent);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.form-card__time {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--muted);
	font-size: 10px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.field__label {
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.field__label span {
	margin-left: 2px;
	color: var(--accent);
}

.field__control {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 13.5px;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field__control:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(165, 55, 79, 0.12);
}

.field__control::placeholder {
	color: #a9988d;
}

textarea.field__control {
	min-height: 86px;
	resize: vertical;
}

.field__control--select {
	appearance: none;
	padding-right: 34px;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.field__error {
	color: #b3261e;
	font-size: 11px;
	line-height: 1.4;
}

.field__error:empty {
	display: none;
}

.field.has-error .field__control {
	border-color: #b3261e;
}

.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 8px 0 4px;
	cursor: pointer;
}

.checkbox__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.checkbox__box {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 1px;
	border: 1px solid rgba(33, 26, 22, 0.3);
	border-radius: 4px;
	color: #fff;
	transition: background 0.2s, border-color 0.2s;
}

.checkbox__box .icon {
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.2s, transform 0.2s;
}

.checkbox__input:checked + .checkbox__box {
	border-color: var(--accent);
	background: var(--accent);
}

.checkbox__input:checked + .checkbox__box .icon {
	opacity: 1;
	transform: none;
}

.checkbox__input:focus-visible + .checkbox__box {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.checkbox__text {
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.5;
}

.checkbox__text a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lead-form__submit {
	margin-top: 14px;
}

.lead-form__note {
	margin-top: 10px;
	color: var(--muted);
	font-size: 10.5px;
	line-height: 1.5;
	text-align: center;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-alert {
	margin-bottom: 14px;
	padding: 11px 14px;
	border: 1px solid #f3c5c1;
	border-radius: 10px;
	background: #fdecea;
	color: #8c1d18;
	font-size: 12.5px;
	line-height: 1.5;
}

.form-status {
	margin-top: 10px;
	color: #8c1d18;
	font-size: 12px;
	line-height: 1.5;
}

.form-status:empty {
	display: none;
}

.form-success {
	padding: 26px 8px 18px;
	text-align: center;
}

.form-success__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
}

.form-success__title {
	font-family: var(--serif);
	font-size: 23px;
	line-height: 1.25;
}

.form-success__text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12.5px;
}

.form-success__btn {
	margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Contacts
   -------------------------------------------------------------------------- */

.contacts {
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.contacts__head {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: end;
	gap: 32px;
	margin-bottom: 40px;
}

.contacts__lead {
	max-width: 380px;
	margin-left: auto;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.7;
}

.contacts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--accent);
}

.contact-card__label {
	color: var(--muted);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-card__value {
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.contact-card__value--text {
	font-size: 20px;
}

.contact-card__note {
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.5;
}

.contact-card__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 11.5px;
}

.contact-card__socials a {
	padding-bottom: 2px;
	border-bottom: 1px solid var(--line);
}

.contacts__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 30px;
	padding: 22px 26px;
	border-radius: 16px;
	background: var(--paper-2);
}

.contacts__cta p {
	color: var(--ink-2);
	font-size: 13.5px;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	padding: clamp(48px, 6vw, 80px) 0 26px;
	background: #1a1411;
	color: rgba(247, 239, 231, 0.72);
}

.footer__top {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.9fr;
	gap: clamp(32px, 5vw, 64px);
	padding-bottom: 46px;
	border-bottom: 1px solid rgba(247, 239, 231, 0.12);
}

.brand--footer .brand__name {
	color: var(--paper);
	font-size: 28px;
}

.brand--footer .brand__caption {
	color: rgba(247, 239, 231, 0.45);
}

.footer__about {
	max-width: 330px;
	margin-top: 16px;
	color: rgba(247, 239, 231, 0.58);
	font-size: 13px;
	line-height: 1.7;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.socials a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border: 1px solid rgba(247, 239, 231, 0.2);
	border-radius: 999px;
	color: rgba(247, 239, 231, 0.8);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: border-color 0.2s, color 0.2s;
}

.socials a:hover {
	border-color: var(--gold);
	color: #fff;
}

.footer__title {
	margin-bottom: 16px;
	color: var(--paper);
	font-family: var(--serif);
	font-size: 20px;
}

.footer__menu {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__menu a {
	color: rgba(247, 239, 231, 0.66);
	font-size: 12.5px;
	transition: color 0.2s;
}

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

.footer__phone {
	display: block;
	color: var(--paper);
	font-family: var(--serif);
	font-size: 26px;
	line-height: 1.2;
}

.footer__link {
	display: block;
	margin-top: 6px;
	color: rgba(247, 239, 231, 0.7);
	font-size: 12.5px;
}

.footer__text {
	margin-top: 8px;
	color: rgba(247, 239, 231, 0.45);
	font-size: 11.5px;
}

.footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(196, 154, 91, 0.4);
	color: var(--gold);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 22px;
	flex-wrap: wrap;
	color: rgba(247, 239, 231, 0.42);
	font-size: 10.5px;
	line-height: 1.6;
}

.footer__legal {
	max-width: 400px;
}

.footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__legal-links a:hover {
	color: #fff;
}

/* Mobile sticky bar */

.mobile-bar {
	display: none;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	gap: 8px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: rgba(251, 247, 241, 0.97);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.mobile-bar__call,
.mobile-bar__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 46px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
}

.mobile-bar__call {
	flex: 0 0 38%;
	border: 1px solid var(--line);
	color: var(--ink);
}

.mobile-bar__call .icon {
	color: var(--accent);
}

.mobile-bar__cta {
	flex: 1;
	background: var(--accent);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-hero {
	padding: clamp(46px, 7vw, 88px) 0 clamp(26px, 4vw, 44px);
	background:
		radial-gradient(700px 400px at 90% 0%, rgba(239, 217, 197, 0.7) 0%, rgba(251, 247, 241, 0) 65%),
		var(--paper);
}

.page-hero__title {
	margin-top: 14px;
	font-size: clamp(34px, 4.4vw, 60px);
	line-height: 1.03;
}

.page-hero__title em {
	font-style: italic;
	color: var(--accent);
}

.page-hero__meta {
	margin-top: 16px;
	color: var(--muted);
	font-size: 13.5px;
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

.page__body {
	padding-bottom: clamp(64px, 8vw, 100px);
}

.page__thumb {
	margin: 0 0 32px;
}

.page__thumb img {
	width: 100%;
	border-radius: 18px;
}

.entry-content {
	max-width: 780px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.75;
}

.entry-content > * + * {
	margin-top: 14px;
}

.entry-content h2 {
	margin-top: 36px;
	font-size: clamp(24px, 2.6vw, 32px);
	color: var(--ink);
}

.entry-content h3 {
	margin-top: 26px;
	font-size: 23px;
	color: var(--ink);
}

.entry-content ul,
.entry-content ol {
	padding-left: 20px;
}

.entry-content li + li {
	margin-top: 4px;
}

.entry-content a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content img {
	border-radius: 12px;
}

.entry-content blockquote {
	margin: 22px 0;
	padding-left: 20px;
	border-left: 2px solid var(--gold);
	font-family: var(--serif);
	font-size: 21px;
	font-style: italic;
}

.page__empty {
	margin-bottom: 20px;
	color: var(--muted);
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
}

.post-card__thumb img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.post-card__body {
	padding: 18px 20px 22px;
}

.post-card__date {
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-card__title {
	margin-top: 8px;
	font-size: 24px;
	line-height: 1.15;
}

.post-card__excerpt {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
}

.page-hero--404 {
	min-height: 54vh;
}

/* Pagination */

.pagination {
	margin-top: 36px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 12px;
}

.pagination .page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.marquee__track {
		animation: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.nav .menu,
	.nav ul {
		gap: 18px;
	}

	.header__inner {
		gap: 18px;
	}

	.header__phone span {
		display: none;
	}

	.header__phone {
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		border: 1px solid var(--line);
		border-radius: 50%;
	}

	.header__phone .icon {
		width: 18px;
		height: 18px;
	}

	.about__small {
		right: -12px;
	}

	.about__badge {
		left: -12px;
	}

	.advantages__badge {
		left: -12px;
	}
}

@media (max-width: 1024px) {
	.header__inner {
		min-height: 76px;
	}

	.nav {
		display: none;
	}

	.burger {
		display: inline-flex;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.hero__content {
		max-width: 720px;
	}

	.hero__visual {
		width: 100%;
		max-width: 520px;
		margin-inline: auto;
	}

	.hero__stamp {
		display: none;
	}

	.hero__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 28px;
	}

	.about__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.about__media {
		width: 100%;
		max-width: 560px;
		margin-inline: auto;
	}

	.about__body {
		max-width: 720px;
	}

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

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

	.process__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 34px 24px;
	}

	.advantages__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.advantages__media {
		width: 100%;
		max-width: 520px;
		justify-self: start;
	}

	.packages__grid {
		grid-template-columns: 1fr;
		max-width: 620px;
		margin-inline: auto;
	}

	.package--featured {
		transform: none;
	}

	.package__lead {
		min-height: 0;
	}

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

	.reviews__grid .review-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.faq__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.faq__intro {
		position: static;
	}

	.cta__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.form-card {
		max-width: 560px;
	}

	.contacts__head {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.contacts__lead {
		max-width: 560px;
		margin-left: 0;
	}

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

	.contacts__grid .contact-card:last-child {
		grid-column: 1 / -1;
	}

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

	.footer__brand {
		grid-column: 1 / -1;
	}

	.mobile-bar {
		display: flex;
	}

	body {
		padding-bottom: 78px;
	}
}

@media (max-width: 760px) {
	.container {
		width: calc(100% - 40px);
	}

	.header__inner {
		min-height: 68px;
	}

	.header__cta {
		display: none;
	}

	.header__phone {
		width: 40px;
		height: 40px;
	}

	.hero {
		padding-top: 18px;
	}

	.hero::before {
		display: none;
	}

	.hero__title {
		font-size: clamp(40px, 11vw, 58px);
	}

	.hero__text {
		font-size: 14.5px;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.hero__badge {
		right: 12px;
		bottom: 12px;
		left: 12px;
		justify-content: flex-start;
	}

	.hero__bottom-inner {
		gap: 12px;
		font-size: 9px;
	}

	.hero__scroll,
	.hero__area {
		display: none;
	}

	.marquee__item {
		gap: 20px;
		padding-right: 20px;
		font-size: 10.5px;
	}

	.section {
		padding: 56px 0;
	}

	.section-title {
		font-size: clamp(30px, 8.4vw, 40px);
	}

	.section-head {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 14px;
	}

	.section-head__lead {
		max-width: 100%;
		margin-left: 0;
		font-size: 14px;
	}

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

	.service-card {
		padding: 24px 22px 20px;
	}

	.portfolio__toolbar {
		align-items: flex-start;
	}

	.portfolio__count {
		display: none;
	}

	.project-card__more {
		opacity: 1;
		transform: none;
	}

	.portfolio__foot {
		flex-direction: column;
		align-items: flex-start;
	}

	.process__grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.step {
		padding-top: 18px;
	}

	.advantages__list {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.advantages__badge {
		bottom: 16px;
		left: 12px;
	}

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

	.reviews__grid .review-card:last-child:nth-child(odd) {
		grid-column: auto;
	}

	.form-card {
		padding: 22px 18px;
		border-radius: 20px;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.cta__contact {
		padding-top: 20px;
	}

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

	.contacts__grid .contact-card:last-child {
		grid-column: auto;
	}

	.contacts__cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}

	.contacts__cta .btn {
		width: 100%;
	}

	.services__note {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

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

	.footer__brand {
		grid-column: auto;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer__legal-links {
		gap: 12px;
	}

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

	.lightbox__close {
		top: -44px;
		right: 0;
	}

	.lightbox__caption {
		padding: 14px 16px;
	}
}

@media (max-width: 420px) {
	.hero__stats {
		grid-template-columns: 1fr 1fr;
	}

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

	.hero__actions .btn {
		width: 100%;
	}

	.hero__badge {
		padding: 12px 14px;
	}

	.brand__name {
		font-size: 23px;
	}

	.mobile-bar__call {
		flex: 0 0 34%;
	}
}

/* Anchor offset for the sticky header */
[id] {
	scroll-margin-top: 104px;
}
