/* ==========================================================================
   STONE154 — Dark Luxury. Mobile first.
   ========================================================================== */

:root {
	--bg: #151618;
	--bg-2: #1b1c1f;
	--card: #242629;
	--card-2: #2b2d31;
	--accent: #b79b6c;
	--accent-2: #cdb486;
	--accent-dim: rgba(183, 155, 108, .18);
	--text: #f0ede6;
	--muted: #a8a6a2;
	--line: rgba(240, 237, 230, .1);
	--line-strong: rgba(240, 237, 230, .18);
	--danger: #e08a7c;
	--ok: #9cc59a;

	--font-display: "Cormorant Garamond", "Cormorant", "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 4px;
	--gutter: 16px;
	--container: 1240px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* Фактура камня: SVG-шум, без файлов. */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.004 .012' numOctaves='4' seed='154'/%3E%3CfeColorMatrix values='0 0 0 0 .72 0 0 0 0 .61 0 0 0 0 .42 0 0 0 -2.2 1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
	:root { --gutter: 32px; --header-h: 76px; }
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
html { overflow-x: clip; }
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: var(--grain);
	opacity: .045;
	pointer-events: none;
	z-index: 1000;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 2000;
	background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 28px;
	border: 1px solid var(--accent); border-radius: var(--radius);
	font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
	text-align: center;
}
.btn--primary { background: var(--accent); color: #151618; }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #151618; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h);
	transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .is-inner .site-header, .nav-open .site-header {
	background: rgba(21, 22, 24, .92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
/* backdrop-filter создаёт контейнер для position:fixed — при открытом меню отключаем. */
.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark {
	width: 28px; height: 28px; flex: none;
	background: linear-gradient(135deg, var(--accent-2), #7c6744);
	clip-path: polygon(50% 0, 100% 30%, 82% 100%, 18% 100%, 0 30%);
	position: relative;
}
.brand__text { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .22em; }
.brand__logo { max-height: 44px; width: auto; }

.nav-toggle {
	width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
	padding: 0 10px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__bar { display: block; height: 1px; background: var(--text); transition: transform .3s var(--ease); }
.nav-open .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.site-nav {
	position: fixed; inset: var(--header-h) 0 0; background: var(--bg);
	padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 32px;
	transform: translateY(-12px); opacity: 0; visibility: hidden;
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
	overflow-y: auto;
}
.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav__list { list-style: none; display: flex; flex-direction: column; }
.site-nav__list a {
	display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
	font-family: var(--font-display); font-size: 30px; color: var(--text);
}
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list a:hover { color: var(--accent); }
.site-nav__extra { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.site-nav__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.site-nav {
		position: static; inset: auto; padding: 0; background: none; flex-direction: row; align-items: center; gap: 36px;
		transform: none; opacity: 1; visibility: visible; overflow: visible;
	}
	.site-nav__list { flex-direction: row; gap: 30px; }
	.site-nav__list a {
		padding: 6px 0; border: 0; font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
		position: relative;
	}
	.site-nav__list a::after {
		content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .35s var(--ease);
	}
	.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after { right: 0; }
	.site-nav__extra { flex-direction: row; align-items: center; gap: 24px; }
	.site-nav__phone span { font-size: 14px; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; overflow: hidden; isolation: isolate;
	padding: calc(var(--header-h) + 48px) 0 96px;
	background:
		radial-gradient(ellipse 80% 60% at 75% 35%, rgba(183, 155, 108, .14), transparent 60%),
		radial-gradient(ellipse 60% 80% at 10% 100%, rgba(0, 0, 0, .6), transparent 70%),
		linear-gradient(160deg, #202125 0%, #151618 55%, #0f1011 100%);
}
.hero::before {
	content: ""; position: absolute; inset: -10%; z-index: -1;
	background-image: var(--veins); background-size: cover; opacity: .22; mix-blend-mode: screen;
	animation: drift 40s ease-in-out infinite alternate;
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .09;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--image::before { display: none; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,22,24,.92) 0%, rgba(21,22,24,.6) 55%, rgba(21,22,24,.25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero:not(.hero--image) .hero__veil { background: linear-gradient(0deg, var(--bg) 0%, transparent 25%); }

.hero__inner { position: relative; }
.hero__brand {
	font-family: var(--font-display); font-weight: 600; letter-spacing: .5em; color: var(--accent);
	font-size: 14px; margin-bottom: 28px; text-transform: uppercase;
	animation: rise 1s var(--ease) both;
}
.hero__name {
	font-size: clamp(46px, 11vw, 132px); font-weight: 500; line-height: .95; letter-spacing: .02em; text-transform: uppercase;
	margin: 0 0 24px; max-width: 12ch;
	background: linear-gradient(180deg, #f6f3ec 0%, #d9d2c3 60%, #b79b6c 130%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: rise 1.1s .1s var(--ease) both;
}
.hero__title { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 4.2vw, 34px); color: var(--text); margin-bottom: 18px; max-width: 26ch; animation: rise 1.1s .2s var(--ease) both; }
.hero__exp { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 40px; animation: rise 1.1s .3s var(--ease) both; }
.hero__line { width: 48px; height: 1px; background: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1.1s .4s var(--ease) both; }
.hero__actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid var(--line-strong); border-radius: 12px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--accent); border-radius: 1px; animation: scrollhint 2s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* Sections ---------------------------------------------------------------- */
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 48px 0 80px; }
.section--stone { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--stone::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; pointer-events: none; }
@media (min-width: 1024px) {
	.section { padding: 128px 0; }
	.section--tight { padding: 64px 0 112px; }
}
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__title { font-size: clamp(34px, 6vw, 60px); }
.section__lead { color: var(--muted); font-size: 17px; max-width: 60ch; }
.section__more { margin: 48px 0 0; text-align: center; }

/* Services ---------------------------------------------------------------- */
.services-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.service-card:hover { border-color: rgba(183, 155, 108, .5); transform: translateY(-4px); }
.service-card__link { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.service-card__link:hover { color: var(--text); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, #2a2b2f, #18191b); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.service-card:hover .service-card__media img { transform: scale(1.06); filter: saturate(1); }
.service-card__num { position: absolute; left: 20px; top: 16px; font-family: var(--font-display); font-size: 40px; color: var(--accent); text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.service-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 28px; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: 15px; }
.service-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.price { font-family: var(--font-display); font-size: 22px; color: var(--text); }

/* Works ------------------------------------------------------------------- */
.works-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.works-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.works-grid--featured .work-card:first-child { grid-column: span 2; grid-row: span 2; }
	.works-grid--featured .work-card:first-child .work-card__media { aspect-ratio: auto; height: 100%; min-height: 520px; }
	.works-grid--featured .work-card:first-child .work-card__link { position: relative; }
	.works-grid--featured .work-card:first-child .work-card__body { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(21,22,24,.95), transparent); padding-top: 80px; }
}
.work-card { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.work-card.is-hidden { display: none; }
.work-card__link { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.work-card__link:hover { color: var(--text); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__placeholder { width: 100%; height: 100%; position: relative; background: linear-gradient(160deg, #2a2b2f, #18191b); }
.work-card__body { padding: 20px 22px 24px; }
.work-card__cat { color: var(--accent); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.work-card__title { font-size: 24px; margin: 0 0 6px; }
.work-card__meta { color: var(--muted); font-size: 14px; margin: 0; }

.demo-badge {
	position: absolute; right: 12px; top: 12px; z-index: 2;
	background: rgba(21, 22, 24, .85); color: var(--accent); border: 1px solid var(--accent);
	font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 2px;
	font-family: var(--font-body);
}
h1 .demo-badge { position: static; display: inline-block; vertical-align: middle; font-size: 11px; margin-left: 8px; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1) 32px; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters__item {
	flex: none; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 40px;
	color: var(--muted); font-size: 13px; letter-spacing: .06em; white-space: nowrap; transition: all .3s;
}
.filters__item:hover { color: var(--text); border-color: var(--accent); }
.filters__item.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
@media (min-width: 768px) { .filters { flex-wrap: wrap; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }

/* About ------------------------------------------------------------------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__media::after { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--accent-dim); z-index: -1; border-radius: var(--radius); }
.about__placeholder {
	aspect-ratio: 4 / 5; border-radius: var(--radius); display: grid; place-items: center;
	background: radial-gradient(circle at 30% 20%, rgba(183,155,108,.16), transparent 60%), linear-gradient(160deg, #2a2b2f, #18191b);
	border: 1px solid var(--line); position: relative; overflow: hidden;
}
.about__placeholder::before, .work-card__placeholder::before { content: ""; position: absolute; inset: 0; background-image: var(--veins); background-size: cover; opacity: .12; mix-blend-mode: screen; }
.about__placeholder::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; }
.about__placeholder span { font-family: var(--font-display); font-size: 160px; color: var(--accent); opacity: .5; }
.about__text { color: var(--muted); font-size: 17px; }
.about__role { color: var(--accent); font-family: var(--font-display); font-style: italic; font-size: 22px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 32px 0; }
.facts li { background: var(--bg); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.section--stone .facts li { background: var(--bg-2); }
.facts strong { font-family: var(--font-display); font-size: 36px; font-weight: 500; color: var(--accent); line-height: 1; }
.facts span { color: var(--muted); font-size: 13px; }

/* Steps ------------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps__item { background: var(--bg-2); padding: 32px 28px 36px; position: relative; transition: background .4s; }
.steps__item:hover { background: var(--card); }
.steps__num { display: block; font-family: var(--font-display); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 24px; }
.steps__title { font-size: 26px; margin-bottom: 10px; }
.steps__text { color: var(--muted); font-size: 15px; margin: 0; }

/* Contacts ---------------------------------------------------------------- */
.contact-section__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-section__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.contacts-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.contacts-list li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.contacts-list .icon { color: var(--accent); flex: none; }
.contacts-list a { color: var(--text); }
.contacts-list a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials__item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 40px; color: var(--text); font-size: 14px; }
.socials__item:hover { border-color: var(--accent); color: var(--accent); }
.admin-hint { font-size: 13px; color: var(--muted); border: 1px dashed var(--line-strong); padding: 12px; border-radius: var(--radius); }

/* Form -------------------------------------------------------------------- */
.request { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; position: relative; }
@media (min-width: 640px) { .request { padding: 40px; } }
.request::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--accent); }
.request__title { font-size: clamp(30px, 5vw, 42px); }
.request__text { color: var(--muted); }
.request__form { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .request__form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.request__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field__hint { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field__input {
	width: 100%; min-height: 52px; padding: 14px 16px;
	background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
	color: var(--text); transition: border-color .25s, box-shadow .25s; font-size: 16px;
}
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
textarea.field__input { resize: vertical; min-height: 120px; }
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
input[type="file"].field__input { padding: 12px; font-size: 14px; color: var(--muted); }
input[type="file"]::file-selector-button { background: var(--card-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.field--error .field__input { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 14px; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.request__submit { width: 100%; }
@media (min-width: 640px) { .request__submit { width: auto; } }
.request__notice { padding: 14px 18px; border-radius: var(--radius); margin: 16px 0; font-size: 15px; }
.request__notice--ok { background: rgba(156, 197, 154, .1); border: 1px solid var(--ok); color: var(--ok); }
.request__notice--error { background: rgba(224, 138, 124, .1); border: 1px solid var(--danger); color: var(--danger); }
.request__form.is-sending .request__submit { opacity: .6; pointer-events: none; }

/* Inner pages ------------------------------------------------------------- */
.page-head { padding: calc(var(--header-h) + 40px) 0 40px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #1c1d20, var(--bg)); }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: var(--veins); background-size: cover; opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.page-head .container { position: relative; }
@media (min-width: 1024px) { .page-head { padding: calc(var(--header-h) + 72px) 0 64px; } }
.page-head__title { font-size: clamp(40px, 8vw, 84px); margin-bottom: 16px; }
.page-head__lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }
.page-head--404 { min-height: 70vh; display: flex; align-items: center; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 24px; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.prose { font-size: 17px; color: #d9d6cf; }
.prose--small { font-size: 16px; }
.prose h2 { font-size: clamp(28px, 4vw, 38px); margin: 1.6em 0 .6em; color: var(--text); }
.prose h3 { font-size: 26px; margin: 1.4em 0 .5em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.prose blockquote { border-left: 2px solid var(--accent); margin: 1.5em 0; padding: 4px 0 4px 20px; font-family: var(--font-display); font-size: 24px; font-style: italic; color: var(--text); }
.prose mark { background: var(--accent-dim); color: var(--accent-2); padding: 0 4px; }
.prose > :first-child { margin-top: 0; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--font-display); font-size: 24px; color: var(--text); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-family: var(--font-body); font-size: 24px; transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 12px; }

.single-cover { margin: 0 0 32px; }
.single-cover img { width: 100%; border-radius: var(--radius); }

/* Work page --------------------------------------------------------------- */
.work-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .work-layout { grid-template-columns: 7fr 4fr; gap: 56px; align-items: start; } .work-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-grid__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--card); position: relative; cursor: zoom-in; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s var(--ease); }
.gallery-grid__item:hover img { transform: scale(1.04); }
.gallery-grid__item--main { grid-column: 1 / -1; }
.gallery-grid__item--main img { aspect-ratio: auto; }
.specs { margin: 0 0 24px; border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.specs dd { margin: 0; text-align: right; }

/* Service page ------------------------------------------------------------ */
.service-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .service-layout { grid-template-columns: 8fr 4fr; gap: 56px; align-items: start; } .service-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.price-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-box__label { color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.price-box__value { font-family: var(--font-display); font-size: 40px; color: var(--accent); line-height: 1.1; }
.price-box__note { color: var(--muted); font-size: 14px; }

/* Prices ------------------------------------------------------------------ */
.price-list { list-style: none; margin-bottom: 48px; }
.price-list__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.price-list__name a { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.price-list__name a:hover { color: var(--accent); }
.price-list__name p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.price-list__dots { display: none; }
.price-list__value { font-family: var(--font-display); font-size: 24px; color: var(--accent); white-space: nowrap; }
@media (max-width: 539px) { .price-list__row { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .price-list__row { grid-template-columns: auto 1fr auto; } .price-list__dots { display: block; border-bottom: 1px dotted var(--line-strong); transform: translateY(-6px); } .price-list__name { max-width: 480px; } }

.cta-box { border: 1px solid var(--accent-dim); background: linear-gradient(135deg, rgba(183,155,108,.08), transparent); padding: 32px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-box p { margin: 0; font-size: 18px; }
.cta-box--wide { align-items: center; text-align: center; border: 0; background: none; }
@media (min-width: 768px) { .cta-box:not(.cta-box--wide) { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Lists / pagination ------------------------------------------------------ */
.post-list { display: grid; gap: 24px; }
.post-item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-item__title a { color: var(--text); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); padding: 0 12px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: #111214; padding: 64px 0 24px; position: relative; }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 2fr; } }
.site-footer__tagline { color: var(--muted); margin-top: 16px; max-width: 32ch; }
.site-footer__heading { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.footer-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: var(--text); }
.footer-menu a:hover { color: var(--accent); }
.site-footer .contacts-list { margin-top: 0; }
.site-footer .contacts-list li { font-size: 15px; }
.site-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* Lightbox ---------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(10, 10, 11, .96); display: flex; align-items: center; justify-content: center; padding: 56px 8px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 2px; animation: lbfade .35s var(--ease); }
.lightbox__figure figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.lightbox button { position: absolute; background: rgba(36, 38, 41, .8); color: var(--text); border: 1px solid var(--line-strong); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; } .lightbox__close { top: 24px; right: 24px; } }
@keyframes lbfade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* Reveal ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core classes -------------------------------------------------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { color: var(--muted); font-size: 14px; }
.wp-block-image { margin: 0 0 1.5em; }
