/* ==========================================================================
   Remfakt — стили сайта
   Архитектурный минимализм: молочная основа, тёмно-изумрудные акценты,
   натуральные оттенки дерева и камня.
   ========================================================================== */

:root {
	/* Палитра (бриф + логотип) */
	--emerald: #123D35;
	--emerald-deep: #0C2C26;
	--emerald-soft: #1D4F45;
	--milk: #F7F6F2;
	--paper: #FFFFFF;
	--beige: #E8E1D7;
	--beige-soft: #EFEAE2;
	--sand: #D4BFA6;
	--wood: #8B6A4E;
	--stone: #B7B4AD;
	--graphite: #292D2B;
	--muted: #5E6460;
	--line: rgba(41, 45, 43, .12);
	--line-strong: rgba(41, 45, 43, .22);
	--danger: #A8432F;

	/* Типографика */
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-h1: clamp(2.4rem, 1.5rem + 3.2vw, 4.25rem);
	--fs-h2: clamp(2rem, 1.45rem + 2vw, 3.2rem);
	--fs-h3: clamp(1.4rem, 1.2rem + .6vw, 1.75rem);
	--fs-h4: 1.125rem;
	--fs-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);

	/* Сетка и ритм */
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 9vw, 136px);
	--header-h: 76px;
	--r: 4px;
	--r-lg: 8px;
	--shadow: 0 1px 2px rgba(18, 61, 53, .04), 0 12px 40px -12px rgba(18, 61, 53, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Базовые стили ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--milk);
	color: var(--graphite);
	font: 400 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
::selection { background: var(--emerald); color: var(--milk); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.rf-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--emerald); color: var(--milk); padding: 10px 16px; border-radius: var(--r);
}
.rf-skip:focus { top: 12px; }

.rf-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.rf-container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.rf-icon { width: 20px; height: 20px; flex: none; }

/* ── Типографика ───────────────────────────────────────────── */
.rf-h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.rf-h2 { font-size: var(--fs-h2); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.rf-h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.rf-h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.rf-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 36em; }

.rf-kicker {
	display: inline-flex; align-items: center;
	font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wood); margin-bottom: 20px;
}
.rf-kicker__num { color: var(--emerald); display: inline-flex; align-items: center; }
.rf-kicker__num::after { content: ""; width: 32px; height: 1px; background: currentColor; margin: 0 14px; opacity: .5; }

/* ── Кнопки ────────────────────────────────────────────────── */
.rf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border: 1px solid transparent; border-radius: var(--r);
	font: 600 15.5px/1.2 var(--font); letter-spacing: -.005em; text-align: center;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
	cursor: pointer;
}
.rf-btn .rf-icon { width: 19px; height: 19px; transition: transform .25s var(--ease); }
.rf-btn:hover .rf-icon:last-child:not(:first-child) { transform: translateX(3px); }
.rf-btn:active { transform: translateY(1px); }
.rf-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.rf-btn--lg { min-height: 58px; padding: 0 24px; font-size: 16px; }
.rf-btn--block { width: 100%; }
.rf-btn--primary { background: var(--emerald); color: var(--milk); }
.rf-btn--primary:hover { background: var(--emerald-deep); }
.rf-btn--ghost { border-color: var(--line-strong); color: var(--graphite); background: transparent; }
.rf-btn--ghost:hover { border-color: var(--graphite); background: var(--graphite); color: var(--milk); }
.rf-btn--ghost .rf-icon:first-child { color: #1FA855; transition: color .25s; }
.rf-btn--ghost:hover .rf-icon:first-child { color: currentColor; }
.rf-btn--light { background: var(--milk); color: var(--emerald); }
.rf-btn--light:hover { background: var(--paper); }

.rf-link {
	display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none;
	font-weight: 600; color: var(--emerald); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.rf-link .rf-icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.rf-link:hover .rf-icon { transform: translateX(3px); }

.rf-tag {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 12px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line);
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald);
}
.rf-tag__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rf-tag--concept { color: var(--wood); }

/* ── Шапка ─────────────────────────────────────────────────── */
.rf-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
/* Размытие на отдельном слое, чтобы не ломать fixed-меню внутри шапки */
.rf-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(247, 246, 242, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: background-color .3s;
}
.rf-header.is-scrolled { border-bottom-color: var(--line); }
.rf-header.is-scrolled::before { background: rgba(247, 246, 242, .94); }
.admin-bar .rf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rf-header { top: 0; } }

.rf-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.rf-header__cta { white-space: nowrap; }

.rf-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.rf-logo__mark { width: 38px; height: 42px; }
.rf-logo__img { max-height: 48px; width: auto; }
.rf-logo__text { display: flex; flex-direction: column; line-height: 1; }
.rf-logo__name { font-size: 19px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
.rf-logo__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.rf-logo--light .rf-logo__name { color: var(--milk); }
.rf-logo--light .rf-logo__tag { color: rgba(247, 246, 242, .72); }
.rf-logo--light .rf-logo__mark path[fill="#0F3D33"] { fill: var(--milk); }

.rf-nav { margin-left: auto; }
.rf-nav__list { display: flex; gap: 28px; }
.rf-nav__list a {
	position: relative; font-size: 15px; font-weight: 500; color: var(--muted);
	padding: 6px 0; transition: color .2s; white-space: nowrap;
}
.rf-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.rf-nav__list a:hover, .rf-nav__list a.is-active { color: var(--graphite); }
.rf-nav__list a:hover::after, .rf-nav__list a.is-active::after { transform: scaleX(1); }
.rf-nav__mobile-extra { display: none; }

.rf-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rf-header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; margin-right: 4px; }
.rf-header__phone .rf-icon { width: 18px; height: 18px; color: var(--emerald); }
.rf-header__phone:hover { color: var(--emerald); }
.rf-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--line-strong); border-radius: var(--r); transition: all .25s var(--ease);
}
.rf-iconbtn--wa { color: #1FA855; }
.rf-iconbtn--wa:hover { background: #1FA855; border-color: #1FA855; color: #fff; }

/* ── Переключатель языков ──────────────────────────────────── */
.rf-lang__list { margin: 0; padding: 0; list-style: none; }
.rf-lang__code {
	display: inline-grid; place-items: center; flex: none;
	width: 34px; height: 34px; border-radius: 50%;
	font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
	background: var(--beige-soft); color: var(--emerald);
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.rf-lang__name { font-size: 15px; font-weight: 600; color: var(--graphite); }
.rf-lang__mark { width: 18px; height: 18px; margin-left: auto; color: var(--emerald); stroke-width: 2; }
.rf-lang__badge {
	margin-left: auto; padding: 3px 8px; border-radius: 999px;
	border: 1px dashed var(--stone); color: var(--muted);
	font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* Шапка: кнопка + выпадающая карточка */
.rf-lang--compact { position: relative; }
.rf-lang__toggle {
	display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px 0 11px;
	border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent;
	font: 700 13.5px/1 var(--font); letter-spacing: .06em; color: var(--graphite);
	transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.rf-lang__toggle:hover, .rf-lang.is-open .rf-lang__toggle { border-color: var(--emerald); background: var(--paper); }
.rf-lang__globe { width: 18px; height: 18px; color: var(--emerald); }
.rf-lang__chev { width: 15px; height: 15px; color: var(--muted); transition: transform .3s var(--ease); }
.rf-lang.is-open .rf-lang__chev { transform: rotate(180deg); }

.rf-lang__panel {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 248px; padding: 8px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: 0 2px 4px rgba(18, 61, 53, .04), 0 24px 48px -16px rgba(18, 61, 53, .28);
	opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
	transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.rf-lang__panel::before {
	content: ""; position: absolute; top: -6px; right: 34px; width: 10px; height: 10px;
	background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
	transform: rotate(45deg);
}
.rf-lang.is-open .rf-lang__panel { opacity: 1; visibility: visible; transform: none; }
.rf-lang--compact .rf-lang__item {
	display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: var(--r);
	transition: background-color .2s var(--ease);
}
.rf-lang--compact li + li { margin-top: 2px; }
.rf-lang--compact a.rf-lang__item:hover, .rf-lang--compact a.rf-lang__item:focus-visible { background: var(--milk); }
.rf-lang--compact a.rf-lang__item .rf-lang__mark { opacity: 0; transform: translateX(-4px); transition: all .2s var(--ease); }
.rf-lang--compact a.rf-lang__item:hover .rf-lang__mark { opacity: 1; transform: none; }
.rf-lang__item.is-current { background: var(--milk); }
.rf-lang__item.is-current .rf-lang__code { background: var(--emerald); color: var(--milk); }
.rf-lang__item.is-soon { cursor: default; }
.rf-lang__item.is-soon .rf-lang__code { background: transparent; border: 1px dashed var(--stone); color: var(--stone); }
.rf-lang__item.is-soon .rf-lang__name { color: var(--muted); }

/* Мобильное меню: плитки */
.rf-lang--full { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.rf-lang__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rf-lang__title .rf-icon { width: 16px; height: 16px; color: var(--emerald); }
.rf-lang--full .rf-lang__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rf-lang--full li { display: flex; }
.rf-lang--full .rf-lang__item { width: 100%; justify-content: center; }
.rf-lang--full .rf-lang__item {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 14px 6px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
}
.rf-lang--full .rf-lang__name { font-size: 13.5px; }
.rf-lang--full .rf-lang__mark { position: absolute; top: 8px; right: 8px; width: 15px; height: 15px; margin: 0; }
.rf-lang--full a.rf-lang__item .rf-lang__mark { display: none; }
.rf-lang--full .rf-lang__item.is-current { border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald); background: var(--paper); }
.rf-lang--full .rf-lang__item.is-soon { background: transparent; border-style: dashed; }
.rf-lang--full .rf-lang__badge { margin: 0; padding: 2px 7px; font-size: 9.5px; }

.rf-burger {
	display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r);
	background: transparent; position: relative;
}
.rf-burger span {
	position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--graphite);
	transition: transform .3s var(--ease), top .3s var(--ease);
}
.rf-burger span:first-child { top: 17px; }
.rf-burger span:last-child { top: 25px; }
.rf-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.rf-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1380px) {
	.rf-header__phone span { display: none; }
	.rf-header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--r); margin: 0; }
	.rf-nav__list { gap: 22px; }
}
@media (max-width: 1200px) { .rf-nav__list { gap: 18px; } .rf-nav__list a { font-size: 14.5px; } }
@media (max-width: 1120px) {
	:root { --header-h: 68px; }
	.rf-burger { display: inline-block; }
	.rf-header__cta { display: none; }
	.rf-header__actions > .rf-lang { display: none; }
	.rf-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		background: var(--milk); padding: 24px var(--gutter) 32px;
		display: flex; flex-direction: column; justify-content: space-between;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
		overflow-y: auto;
	}
	.admin-bar .rf-nav { top: calc(var(--header-h) + 46px); }
	.rf-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.rf-nav__list { flex-direction: column; gap: 0; }
	.rf-nav__list a { display: block; font-size: 24px; font-weight: 600; color: var(--graphite); padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
	.rf-nav__list a::after { display: none; }
	.rf-nav__mobile-extra { display: grid; gap: 16px; padding-top: 32px; }
	.rf-nav__phone { font-size: 22px; font-weight: 700; color: var(--emerald); }
	body.rf-menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.rf-logo__tag { display: none; }
	.rf-logo__mark { width: 32px; height: 36px; }
	.rf-header__actions { gap: 8px; }
}

/* ── Первый экран ──────────────────────────────────────────── */
.rf-hero { padding: clamp(28px, 4vw, 56px) 0 0; }
.rf-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rf-hero__content .rf-h1 { margin-bottom: 20px; }
.rf-hero__content .rf-lead { margin-bottom: 28px; }

.rf-hero__price { padding: 20px 0; margin-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rf-hero__price-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rf-hero__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rf-hero__price-value { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--emerald); line-height: 1.05; }
.rf-hero__price-note {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line-strong);
	font-size: 14.5px; font-weight: 700; color: var(--graphite); white-space: nowrap;
}
.rf-hero__price-note .rf-icon { width: 17px; height: 17px; color: var(--wood); }

.rf-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 32px; }
.rf-hero__facts li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.rf-hero__facts .rf-icon {
	width: 22px; height: 22px; padding: 4px; border-radius: 50%;
	background: var(--emerald); color: var(--milk); stroke-width: 2.4; margin-top: -1px;
}
.rf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rf-hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--beige); aspect-ratio: 1 / 1.04; }
.rf-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.rf-hero__tag {
	position: absolute; left: 20px; bottom: 20px;
	background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .6);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.rf-conditions {
	display: grid; grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(40px, 6vw, 80px);
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.rf-conditions__item { padding: 28px 32px; display: flex; flex-direction: column; gap: 4px; }
.rf-conditions__item + .rf-conditions__item { border-left: 1px solid var(--line); }
.rf-conditions__item strong { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; color: var(--emerald); line-height: 1.15; }
.rf-conditions__item span { font-size: 14.5px; color: var(--muted); }

@media (max-width: 1180px) { .rf-hero__facts { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 960px) {
	.rf-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.rf-hero__media { aspect-ratio: 16 / 9; max-height: 420px; }
	.rf-hero__facts { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
	.rf-conditions { grid-template-columns: repeat(2, 1fr); }
	.rf-conditions__item:nth-child(3) { border-left: 0; }
	.rf-conditions__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.rf-hero { padding-top: 18px; }
	.rf-hero .rf-kicker { margin-bottom: 12px; font-size: 12px; letter-spacing: .1em; }
	.rf-hero__content .rf-h1 { font-size: 2.1rem; line-height: 1.06; margin-bottom: 16px; }
	.rf-hero__content .rf-lead { display: none; }
	.rf-hero__price { padding: 14px 0; margin-bottom: 18px; }
	.rf-hero__price-label { margin-bottom: 4px; }
	.rf-hero__price-value { font-size: 1.85rem; }
	.rf-hero__price-note { font-size: 14px; padding: 6px 11px 6px 9px; }
	.rf-hero__facts { grid-template-columns: 1fr; gap: 9px; margin-bottom: 22px; }
	.rf-hero__facts li { font-size: 15px; }
	.rf-hero__actions { gap: 10px; }
	.rf-hero__actions .rf-btn { width: 100%; min-height: 54px; }
	.rf-hero__media { aspect-ratio: 16 / 9; max-height: 240px; }
	.rf-hero__tag { left: 12px; bottom: 12px; padding: 6px 10px; font-size: 11px; }
	.rf-conditions { margin-top: 28px; }
	.rf-conditions__item { padding: 18px 20px; }
}

/* ── Секции ────────────────────────────────────────────────── */
.rf-section { padding: var(--section) 0; }
.rf-section--tight { padding-top: calc(var(--section) * .6); }
.rf-section--beige { background: var(--beige-soft); }
.rf-section--dark { background: var(--emerald); color: var(--milk); }
.rf-section--dark .rf-kicker { color: var(--sand); }
.rf-section--dark .rf-kicker__num { color: var(--milk); }
.rf-section--dark .rf-lead { color: rgba(247, 246, 242, .86); }

.rf-head { margin-bottom: clamp(40px, 5vw, 64px); }
.rf-head__row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.rf-head__text { color: var(--muted); font-size: 16.5px; max-width: 34em; }
@media (max-width: 860px) { .rf-head__row { grid-template-columns: 1fr; } }

/* ── 01 Услуги ─────────────────────────────────────────────── */
.rf-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rf-service {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
	min-height: 248px; padding: 28px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rf-service::before {
	content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px;
	background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.rf-service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rf-service:hover::before { transform: scaleX(1); }
.rf-service p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.rf-service__num { position: absolute; top: 24px; left: 28px; font-size: 13px; font-weight: 700; color: var(--wood); letter-spacing: .06em; }
.rf-service--main { grid-column: span 2; border-color: var(--line-strong); }
.rf-service--main::before { transform: scaleX(1); }
.rf-service--main .rf-h4 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.02em; }
.rf-service--main p { font-size: 16.5px; max-width: 34em; }
.rf-service__tag { position: absolute; top: 18px; right: 20px; }
.rf-service--note { background: var(--emerald); border-color: var(--emerald); color: var(--milk); }
.rf-service--note::before { display: none; }
.rf-service--note p { color: rgba(247, 246, 242, .86); }
.rf-service__icon { position: absolute; top: 24px; left: 28px; width: 32px; height: 32px; color: var(--sand); }
@media (max-width: 960px) { .rf-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.rf-services { grid-template-columns: 1fr; gap: 12px; }
	.rf-service, .rf-service--main { grid-column: auto; min-height: 0; padding: 64px 24px 24px; }
	.rf-service__num, .rf-service__icon { left: 24px; }
	.rf-service__tag { top: 18px; right: 16px; font-size: 11px; padding: 5px 10px; }
}

/* ── 02 Стоимость ──────────────────────────────────────────── */
.rf-pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rf-pricing__intro .rf-h2 { margin-bottom: 24px; }
.rf-pricing__card {
	padding: clamp(28px, 3.5vw, 44px);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(247, 246, 242, .16); border-radius: var(--r-lg);
}
.rf-pricing__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(247, 246, 242, .16); }
.rf-pricing__price strong { font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.rf-pricing__prefix, .rf-pricing__unit { font-size: 16px; color: rgba(247, 246, 242, .86); font-weight: 500; }
.rf-pricing__list-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.rf-pricing__unit { flex-basis: 100%; }
.rf-checklist { display: grid; gap: 14px; margin-bottom: 32px; }
.rf-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.rf-checklist .rf-icon { color: var(--sand); stroke-width: 2; margin-top: 2px; }
.rf-pricing__note { font-size: 14.5px; line-height: 1.5; color: rgba(247, 246, 242, .86); padding: 14px 16px; border-left: 2px solid var(--sand); background: rgba(0, 0, 0, .12); margin-bottom: 28px; }
@media (max-width: 960px) { .rf-pricing { grid-template-columns: 1fr; } }

/* ── 03 Объекты ────────────────────────────────────────────── */
.rf-project { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rf-project + .rf-project { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.rf-project__info { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.rf-project__loc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.rf-project__loc .rf-icon { width: 18px; height: 18px; }
.rf-project__meta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.rf-project__meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rf-project__meta dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.rf-project__meta dd { font-weight: 600; }

.rf-project__gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 15vw, 210px); gap: 10px; }
.rf-project__gallery--1 { grid-template-columns: 1fr; grid-auto-rows: clamp(280px, 36vw, 520px); }
.rf-project__gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(220px, 26vw, 420px); }
.rf-project__gallery--3 .rf-project__shot:first-child,
.rf-project__gallery--4 .rf-project__shot:first-child,
.rf-project__gallery--5 .rf-project__shot:first-child { grid-column: span 2; grid-row: span 2; }
.rf-project__gallery--3 { grid-template-columns: 2fr 1fr 1fr; }
.rf-project__gallery--3 .rf-project__shot:first-child { grid-column: span 1; }
.rf-project__gallery--3 .rf-project__shot:not(:first-child) { grid-column: span 2; }
.rf-project__gallery--4 .rf-project__shot:nth-child(4) { grid-column: span 2; }

.rf-project__shot {
	position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r);
	background: var(--beige); cursor: zoom-in;
}
.rf-project__shot.is-hidden { display: none; }
.rf-project__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rf-project__shot:hover img { transform: scale(1.04); }
.rf-project__zoom {
	position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: var(--graphite);
	opacity: 0; transform: scale(.85); transition: all .3s var(--ease);
}
.rf-project__zoom .rf-icon { width: 17px; height: 17px; }
.rf-project__shot:hover .rf-project__zoom, .rf-project__shot:focus-visible .rf-project__zoom { opacity: 1; transform: none; }
.rf-project__more {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: rgba(12, 44, 38, .55); color: #fff; font-size: 28px; font-weight: 700;
}
@media (max-width: 960px) {
	.rf-project { grid-template-columns: 1fr; }
	.rf-project__info { position: static; }
}
@media (max-width: 600px) {
	.rf-project__gallery, .rf-project__gallery--3, .rf-project__gallery--4, .rf-project__gallery--5 { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
	.rf-project__gallery .rf-project__shot:first-child { grid-column: span 2; grid-row: span 2; }
	.rf-project__gallery--3 .rf-project__shot:not(:first-child), .rf-project__gallery--4 .rf-project__shot:nth-child(4) { grid-column: span 1; }
	.rf-project__gallery--5 .rf-project__shot:nth-child(5) { grid-column: span 2; }
	.rf-project__zoom { opacity: 1; transform: none; width: 30px; height: 30px; }
}

/* ── 04 Почему доверяют ────────────────────────────────────── */
.rf-trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rf-trust__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.rf-trust__aside .rf-h2 { margin-bottom: 28px; }
.rf-quote {
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35; font-weight: 600; letter-spacing: -.02em;
	color: var(--emerald); padding-left: 22px; border-left: 2px solid var(--wood); margin-bottom: 20px;
}
.rf-trust__text { color: var(--muted); margin-bottom: 32px; max-width: 30em; }
.rf-trust__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.rf-trust__img img { width: 100%; height: 100%; object-fit: cover; }

.rf-trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.rf-trust__item { padding: 32px 0; border-top: 1px solid var(--line-strong); }
.rf-trust__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
.rf-trust__icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
	background: var(--paper); border-radius: var(--r); color: var(--emerald);
}
.rf-trust__icon .rf-icon { width: 26px; height: 26px; }
.rf-trust__item .rf-h4 { margin-bottom: 8px; }
.rf-trust__item p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 960px) {
	.rf-trust { grid-template-columns: 1fr; }
	.rf-trust__aside { position: static; }
	.rf-trust__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
	.rf-trust__grid { grid-template-columns: 1fr; }
	.rf-trust__item:nth-last-child(2) { border-bottom: 0; }
	.rf-trust__item { padding: 24px 0; display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; }
	.rf-trust__icon { grid-row: span 2; margin: 0; }
}

/* ── 05 Этапы ──────────────────────────────────────────────── */
.rf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; counter-reset: step; }
.rf-step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.rf-step__num {
	position: absolute; top: -21px; left: 0;
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--milk); border: 1px solid var(--emerald); color: var(--emerald);
	font-size: 13px; font-weight: 700; letter-spacing: .02em;
	transition: background-color .3s, color .3s;
}
.rf-step:hover .rf-step__num { background: var(--emerald); color: var(--milk); }
.rf-step .rf-h4 { margin: 18px 0 6px; }
.rf-step p { color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 24em; }
@media (max-width: 960px) { .rf-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.rf-steps { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line-strong); margin-left: 21px; }
	.rf-step { border-top: 0; padding: 0 0 28px 36px; }
	.rf-step:last-child { padding-bottom: 0; }
	.rf-step__num { top: -6px; left: -21px; }
	.rf-step .rf-h4 { margin-top: 2px; }
}

/* ── 06 Оплата и гарантия ──────────────────────────────────── */
.rf-payment { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr); gap: 16px; }
.rf-payment__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rf-payment__item, .rf-warranty { padding: 32px 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 8px; }
.rf-payment__item { background: var(--paper); border: 1px solid var(--line); }
.rf-payment__value { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.2rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--emerald); margin-bottom: 20px; }
.rf-payment__item p, .rf-warranty p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.rf-warranty { background: var(--emerald-deep); color: var(--milk); position: relative; overflow: hidden; }
.rf-warranty p { color: rgba(247, 246, 242, .86); }
.rf-warranty__value { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.2rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; margin-bottom: 20px; }
.rf-warranty__icon { position: absolute; right: -18px; bottom: -18px; width: 140px; height: 140px; color: rgba(247, 246, 242, .07); stroke-width: 1; }
@media (max-width: 1040px) { .rf-payment { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
	.rf-payment__list { grid-template-columns: 1fr; }
	.rf-payment__item, .rf-warranty { padding: 24px; display: grid; grid-template-columns: 88px 1fr; gap: 4px 16px; align-items: start; }
	.rf-payment__value, .rf-warranty__value { grid-row: span 2; margin: 0; font-size: 2.2rem; }
}

/* ── 07 Вопросы ────────────────────────────────────────────── */
.rf-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rf-faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.rf-faq__aside .rf-h2 { margin-bottom: 24px; }
.rf-faq__help { color: var(--muted); margin-bottom: 20px; max-width: 24em; }
.rf-faq__list { border-top: 1px solid var(--line-strong); }
.rf-faq__item { border-bottom: 1px solid var(--line-strong); }
.rf-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 22px 0; cursor: pointer; list-style: none;
	font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 600; letter-spacing: -.01em;
	transition: color .2s;
}
.rf-faq__item summary::-webkit-details-marker { display: none; }
.rf-faq__item summary:hover { color: var(--emerald); }
.rf-faq__toggle { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: all .3s var(--ease); }
.rf-faq__toggle::before, .rf-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.rf-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.rf-faq__item[open] .rf-faq__toggle { background: var(--emerald); border-color: var(--emerald); color: var(--milk); }
.rf-faq__item[open] .rf-faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.rf-faq__answer { padding: 0 56px 24px 0; color: #4A504C; max-width: 40em; font-size: 16px; }
.rf-faq__item[open] .rf-faq__answer { animation: rf-fade .35s var(--ease); }
@keyframes rf-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
	.rf-faq { grid-template-columns: 1fr; }
	.rf-faq__aside { position: static; }
	.rf-faq__answer { padding-right: 0; }
}
@media (max-width: 560px) {
	.rf-faq__item summary { padding: 18px 0; gap: 16px; font-size: 1rem; }
	.rf-faq__toggle { width: 28px; height: 28px; }
}

/* ── 08 Заявка ─────────────────────────────────────────────── */
.rf-contact { background: linear-gradient(to bottom, var(--milk) 0 58%, var(--emerald-deep) 58%); padding-bottom: clamp(40px, 5vw, 72px); }
.rf-contact__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
	background: var(--emerald); color: var(--milk); border-radius: var(--r-lg); overflow: hidden;
	box-shadow: 0 30px 80px -30px rgba(12, 44, 38, .45);
	padding: 0;
}
.rf-contact__info { padding: clamp(32px, 5vw, 64px); }
.rf-contact__info .rf-kicker { color: var(--sand); }
.rf-contact__info .rf-kicker__num { color: var(--milk); }
.rf-contact__info .rf-h2 { margin-bottom: 20px; }
.rf-contact__info .rf-lead { color: rgba(247, 246, 242, .86); margin-bottom: 28px; }
.rf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.rf-chips li {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
	border: 1px solid rgba(247, 246, 242, .22); border-radius: 999px; font-size: 14.5px; font-weight: 600;
}
.rf-chips .rf-icon { width: 16px; height: 16px; color: var(--sand); stroke-width: 2.2; }
.rf-contact__list { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid rgba(247, 246, 242, .16); }
.rf-contact__list li { display: flex; align-items: center; gap: 14px; color: rgba(247, 246, 242, .9); }
.rf-contact__list .rf-icon { color: var(--sand); }
.rf-contact__list a { font-weight: 600; color: var(--milk); border-bottom: 1px solid transparent; transition: border-color .2s; }
.rf-contact__list a:hover { border-bottom-color: currentColor; }
.rf-contact__list li:first-child a { font-size: 20px; }

.rf-form { background: var(--paper); color: var(--graphite); padding: clamp(28px, 4.5vw, 56px); }
.rf-form .rf-h3 { margin-bottom: 8px; }
.rf-form__intro { color: var(--muted); margin-bottom: 28px; }
.rf-form__privacy { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.rf-form__fallback p { color: var(--muted); margin-bottom: 20px; }
.rf-form.is-sent > :not(.rf-form__success) { display: none; }
.rf-form__success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0; outline: none; animation: rf-fade .45s var(--ease); }
.rf-form__success[hidden] { display: none; }
.rf-form__success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--emerald); color: var(--milk); margin-bottom: 6px; }
.rf-form__success-icon .rf-icon { width: 30px; height: 30px; stroke-width: 2.4; }
.rf-form__success p { color: var(--muted); font-size: 16.5px; max-width: 28em; margin-bottom: 8px; }
.rf-form__again { margin-top: 6px; font-size: 15px; }
@media (max-width: 960px) {
	.rf-contact { background: var(--emerald); padding-bottom: 0; }
	.rf-contact .rf-container { padding: 0; }
	.rf-contact__grid { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
	.rf-contact__info { padding: 0 var(--gutter) 40px; }
	.rf-form { padding: 40px var(--gutter); }
}

/* Contact Form 7 */
.rf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rf-field { display: flex; flex-direction: column; gap: 8px; }
.rf-field--full { grid-column: 1 / -1; }
.rf-field__label { font-size: 13.5px; font-weight: 600; color: var(--graphite); }
.rf-field__label em { font-style: normal; font-weight: 500; color: var(--muted); }
.rf-form .wpcf7-form-control-wrap { display: block; }
.rf-form input[type="text"], .rf-form input[type="tel"], .rf-form input[type="email"], .rf-form input[type="number"], .rf-form select, .rf-form textarea {
	width: 100%; min-height: 52px; padding: 13px 16px;
	font: 500 16px/1.4 var(--font); color: var(--graphite);
	background: var(--milk); border: 1px solid var(--line); border-radius: var(--r);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
.rf-form textarea { min-height: 96px; resize: vertical; }
.rf-form select {
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292D2B' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.rf-form ::placeholder { color: #7A7F7C; }
.rf-form input:hover, .rf-form select:hover, .rf-form textarea:hover { border-color: var(--line-strong); }
.rf-form input:focus, .rf-form select:focus, .rf-form textarea:focus { outline: none; background: var(--paper); border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(18, 61, 53, .12); }
.rf-form .wpcf7-not-valid { border-color: var(--danger) !important; }
.rf-form .wpcf7-not-valid-tip { font-size: 13.5px; color: var(--danger); margin-top: 6px; }
.rf-form__consent { margin: 20px 0; font-size: 14px; color: var(--muted); }
.rf-form__consent .wpcf7-list-item { margin: 0; }
.rf-form__consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.rf-form__consent input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--emerald); flex: none; }
.rf-form__submit { position: relative; }
.rf-form__submit .rf-btn { min-height: 58px; font-size: 16px; }
.rf-form__submit .rf-btn:disabled { opacity: .45; cursor: not-allowed; }
.rf-form .wpcf7-spinner { position: absolute; right: 16px; top: 50%; margin: -12px 0 0; background: var(--milk); }
.rf-form .wpcf7-response-output {
	margin: 16px 0 0 !important; padding: 14px 16px !important; border-radius: var(--r);
	font-size: 14.5px; border: 1px solid var(--line) !important; background: var(--milk);
}
.rf-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--emerald) !important; color: var(--emerald); background: rgba(18, 61, 53, .06); }
.rf-form .wpcf7 form.invalid .wpcf7-response-output, .rf-form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--danger) !important; color: var(--danger); }
.rf-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) { .rf-form__grid { grid-template-columns: 1fr; } }

/* ── Подвал ────────────────────────────────────────────────── */
.rf-footer { background: var(--emerald-deep); color: rgba(247, 246, 242, .82); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.rf-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(247, 246, 242, .12); }
.rf-footer__slogan { color: var(--milk); font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 28px 0 10px; max-width: 18em; }
.rf-footer__text { max-width: 26em; }
.rf-footer__list { display: grid; gap: 10px; }
.rf-footer__list a { transition: color .2s; }
.rf-footer__list a:hover { color: var(--milk); }
.rf-footer__phone { display: inline-block; color: var(--milk); font-size: 22px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; }
.rf-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; font-size: 13.5px; color: rgba(247, 246, 242, .68); }
.rf-footer__bottom a:hover { color: var(--milk); }
@media (max-width: 860px) { .rf-footer__top { grid-template-columns: 1fr 1fr; } .rf-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rf-footer__top { grid-template-columns: 1fr; } }

/* ── Мобильная панель «Позвонить / WhatsApp» ───────────────── */
.rf-dock { display: none; }
@media (max-width: 760px) {
	.rf-dock {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
		padding: 6px var(--gutter) calc(6px + env(safe-area-inset-bottom));
		background: rgba(247, 246, 242, .96); border-top: 1px solid var(--line);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		transform: translateY(110%); transition: transform .35s var(--ease);
	}
	.rf-dock.is-visible { transform: none; }
	.rf-dock__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px;
		border: 1px solid var(--emerald); border-radius: var(--r);
		font-weight: 700; font-size: 14.5px; background: var(--paper); color: var(--emerald);
	}
	.rf-dock__btn .rf-icon { width: 18px; height: 18px; }
	.rf-dock__btn--wa { background: var(--emerald); color: var(--milk); }
	.rf-footer { padding-bottom: 80px; }
}

/* ── Просмотр фото ─────────────────────────────────────────── */
.rf-lightbox {
	width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(10, 22, 19, .94); color: #fff;
}
.rf-lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.rf-lightbox::backdrop { background: rgba(10, 22, 19, .6); }
.rf-lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rf-lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--r); animation: rf-fade .3s var(--ease); }
.rf-lightbox__figure figcaption { font-size: 14px; color: rgba(255, 255, 255, .85); }
.rf-lightbox__nav, .rf-lightbox__close {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff;
	justify-self: center; transition: background-color .2s;
}
.rf-lightbox__nav:hover, .rf-lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.rf-lightbox__close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 600px) {
	.rf-lightbox[open] { grid-template-columns: 1fr; }
	.rf-lightbox__nav { position: absolute; bottom: 24px; }
	.rf-lightbox__nav--prev { left: calc(50% - 60px); }
	.rf-lightbox__nav--next { right: calc(50% - 60px); }
}

/* ── Внутренние страницы ───────────────────────────────────── */
.rf-page { min-height: 50vh; }
.rf-prose .rf-h2 { margin-bottom: 32px; }
.rf-prose p, .rf-prose ul, .rf-prose ol { margin-bottom: 1em; }
.rf-prose ul { list-style: disc; padding-left: 1.2em; }
.rf-prose a { color: var(--emerald); text-decoration: underline; }
.rf-404 .rf-h1 { margin-bottom: 20px; }
.rf-404 .rf-lead { margin-bottom: 32px; }

/* ── Анимация появления ────────────────────────────────────── */
.rf-js .rf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rf-js .rf-reveal--media { transform: scale(.98); }
.rf-js .rf-reveal.is-in { opacity: 1; transform: none; }
/* Первый экран виден сразу — короткое появление без ожидания прокрутки */
.rf-js .rf-hero .rf-reveal { opacity: 1; transform: none; transition: none; animation: rf-fade .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.rf-js .rf-reveal { opacity: 1; transform: none; }
}
