/* ==========================================================================
   VFD DESIGN — общая система для внутренних страниц 2026
   /oplata, /montazh, /contact-us, /photogallery
   --------------------------------------------------------------------------
   Все стили изолированы классом .vfp-page. Файл подключается только на этих
   страницах, поэтому не влияет на каталог, корзину и оформление заказа.
   ========================================================================== */

@font-face {
	font-family: 'VFD Cormorant';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(fonts/Cormorant-cyrillic.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'VFD Cormorant';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(fonts/Cormorant-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.vfp-page {
	--vfp-ink: #1b1916;
	--vfp-ink-2: #29251f;
	--vfp-body: #514b42;
	--vfp-muted: #6f675b;
	--vfp-paper: #f5f1e9;
	--vfp-cream: #fbf8f2;
	--vfp-white: #ffffff;
	--vfp-gold: #b0915b;
	--vfp-gold-deep: #7c653c;
	--vfp-gold-soft: #d9c8a4;
	--vfp-gold-pale: #f0e9db;
	--vfp-line: rgba(27, 25, 22, 0.12);
	--vfp-line-strong: rgba(27, 25, 22, 0.24);
	--vfp-line-light: rgba(255, 255, 255, 0.18);
	--vfp-danger: #a33c32;
	--vfp-success: #3d6b4a;
	--vfp-container: 1280px;
	--vfp-serif: 'VFD Cormorant', 'Cormorant', Georgia, 'Times New Roman', serif;
	--vfp-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	position: relative;
	background: var(--vfp-white);
	color: var(--vfp-ink);
	font-family: var(--vfp-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
}

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

.vfp-page :where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: inherit;
	font-family: var(--vfp-serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.vfp-page :where(p) {
	margin: 0;
}

.vfp-page :where(a) {
	color: inherit;
	text-decoration: none;
}

.vfp-page :where(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vfp-page :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.vfp-page :where(button) {
	font-family: inherit;
}

.vfp-page :focus-visible {
	outline: 2px solid var(--vfp-gold);
	outline-offset: 3px;
}

.vfp-page ::selection {
	background: rgba(176, 145, 91, 0.24);
}

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

.vfp-container--narrow {
	width: min(920px, calc(100% - 48px));
	margin-inline: auto;
}

.vfp-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;
}

.vfp-skip-link {
	position: absolute;
	top: -100px;
	left: 24px;
	z-index: 999;
	padding: 12px 20px;
	background: var(--vfp-ink);
	color: #fff;
	font-size: 13px;
}

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

/* --------------------------------------------------------------------------
   Секции и типографика
   -------------------------------------------------------------------------- */

.vfp-section {
	position: relative;
	padding: clamp(56px, 6.6vw, 96px) 0;
}

.vfp-section--cream {
	background: var(--vfp-cream);
}

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

.vfp-section--dark {
	background: var(--vfp-ink);
	color: #f7f3ea;
}

.vfp-section--tight {
	padding: clamp(36px, 4vw, 56px) 0;
}

.vfp-section--flush-bottom {
	padding-bottom: 0;
}

.vfp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--vfp-gold-deep);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.vfp-eyebrow::before {
	content: '';
	display: block;
	width: 30px;
	height: 1px;
	background: var(--vfp-gold);
	flex: 0 0 auto;
}

.vfp-section--dark .vfp-eyebrow {
	color: var(--vfp-gold-soft);
}

.vfp-section--dark .vfp-eyebrow::before {
	background: var(--vfp-gold-soft);
}

.vfp-title {
	margin-top: 18px;
	font-size: clamp(32px, 3.5vw, 50px);
	line-height: 1.02;
	text-wrap: balance;
}

.vfp-title--xl {
	font-size: clamp(42px, 5.4vw, 72px);
	line-height: 0.98;
}

.vfp-title em {
	color: var(--vfp-gold-deep);
	font-style: normal;
}

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

.vfp-lead {
	max-width: 60ch;
	margin-top: 20px;
	color: var(--vfp-body);
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.7;
}

.vfp-section--dark .vfp-lead {
	color: rgba(247, 243, 234, 0.72);
}

.vfp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.vfp-section-head .vfp-lead {
	margin-top: 16px;
}

.vfp-section-head__side {
	flex: 0 0 auto;
	padding-bottom: 6px;
}

.vfp-rule {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--vfp-line);
}

.vfp-section--dark .vfp-rule {
	background: var(--vfp-line-light);
}

.vfp-note {
	margin-top: 18px;
	color: var(--vfp-muted);
	font-size: 12.5px;
	line-height: 1.6;
}

.vfp-section--dark .vfp-note {
	color: rgba(247, 243, 234, 0.55);
}

/* --------------------------------------------------------------------------
   Ссылки и кнопки
   -------------------------------------------------------------------------- */

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

.vfp-text-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.vfp-text-link:hover {
	color: var(--vfp-gold-deep);
	border-color: var(--vfp-gold);
}

.vfp-text-link:hover svg {
	transform: translateX(4px);
}

.vfp-section--dark .vfp-text-link {
	border-color: var(--vfp-line-light);
}

.vfp-section--dark .vfp-text-link:hover {
	color: var(--vfp-gold-soft);
}

.vfp-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	appearance: none;
	color: var(--vfp-ink);
	font-family: var(--vfp-sans);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease,
		border-color 0.25s ease, transform 0.25s ease;
}

.vfp-btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

.vfp-btn:hover {
	transform: translateY(-2px);
}

.vfp-btn--gold {
	background: var(--vfp-gold);
	color: var(--vfp-ink);
}

.vfp-btn--gold:hover {
	background: var(--vfp-gold-deep);
	color: #fff;
}

.vfp-btn--dark {
	background: var(--vfp-ink);
	color: #fff;
}

.vfp-btn--dark:hover {
	background: var(--vfp-gold-deep);
	color: #fff;
}

.vfp-btn--outline {
	border-color: var(--vfp-line-strong);
	color: var(--vfp-ink);
}

.vfp-btn--outline:hover {
	background: var(--vfp-ink);
	border-color: var(--vfp-ink);
	color: #fff;
}

.vfp-btn--light {
	background: #fff;
	color: var(--vfp-ink);
}

.vfp-btn--light:hover {
	background: var(--vfp-paper);
}

.vfp-btn--ghost {
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}

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

.vfp-btn--sm {
	min-height: 44px;
	padding: 0 22px;
	font-size: 10.5px;
}

.vfp-btn[disabled],
.vfp-btn[aria-disabled='true'] {
	opacity: 0.5;
	pointer-events: none;
}

.vfp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px;
	border: 1px solid var(--vfp-line);
	background: rgba(255, 255, 255, 0.6);
	color: var(--vfp-body);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.vfp-badge svg {
	width: 14px;
	height: 14px;
	color: var(--vfp-gold-deep);
}

.vfp-section--dark .vfp-badge {
	border-color: var(--vfp-line-light);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.8);
}

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

.vfp-breadcrumbs {
	position: relative;
	z-index: 2;
	padding: 20px 0 0;
}

.vfp-breadcrumbs .breadcrumb {
	margin: 0;
	padding: 0;
	background: none;
	border-radius: 0;
}

.vfp-breadcrumbs .rm-breadcrumb-item,
.vfp-breadcrumbs li {
	color: var(--vfp-muted);
	font-size: 12px;
}

.vfp-breadcrumbs .rm-breadcrumb-item a,
.vfp-breadcrumbs a {
	color: var(--vfp-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.vfp-breadcrumbs .rm-breadcrumb-item a:hover,
.vfp-breadcrumbs a:hover {
	color: var(--vfp-gold-deep);
}

.vfp-breadcrumbs .rm-breadcrumb-item:last-child {
	color: var(--vfp-ink);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Формы
   -------------------------------------------------------------------------- */

.vfp-form {
	width: 100%;
}

.vfp-form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}

.vfp-form-grid--full {
	grid-column: 1 / -1;
}

.vfp-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vfp-field label,
.vfp-field__label {
	color: var(--vfp-body);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vfp-field input,
.vfp-field textarea,
.vfp-field select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--vfp-line);
	border-radius: 0;
	background: #fff;
	color: var(--vfp-ink);
	font-family: var(--vfp-sans);
	font-size: 15px;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}

.vfp-field input {
	min-height: 52px;
}

.vfp-field textarea {
	min-height: 132px;
	resize: vertical;
}

.vfp-field select {
	min-height: 52px;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c653c' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}

.vfp-field input::placeholder,
.vfp-field textarea::placeholder {
	color: #9b968c;
}

.vfp-field input:focus,
.vfp-field textarea:focus,
.vfp-field select:focus {
	border-color: var(--vfp-gold);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(176, 145, 91, 0.16);
}

.vfp-field input.is-invalid,
.vfp-field textarea.is-invalid,
.vfp-field select.is-invalid {
	border-color: var(--vfp-danger);
	box-shadow: 0 0 0 3px rgba(163, 60, 50, 0.1);
}

.vfp-field__error {
	display: none;
	color: var(--vfp-danger);
	font-size: 12px;
	line-height: 1.45;
}

.vfp-field__error.is-visible {
	display: block;
}

.vfp-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--vfp-muted);
	font-size: 12.5px;
	line-height: 1.6;
	cursor: pointer;
}

.vfp-checkbox input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.vfp-checkbox__box {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1px solid var(--vfp-line-strong);
	background: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vfp-checkbox__box::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s ease;
}

.vfp-checkbox input:checked + .vfp-checkbox__box {
	border-color: var(--vfp-gold-deep);
	background: var(--vfp-gold-deep);
}

.vfp-checkbox input:checked + .vfp-checkbox__box::after {
	transform: rotate(45deg) scale(1);
}

.vfp-checkbox input:focus-visible + .vfp-checkbox__box {
	outline: 2px solid var(--vfp-gold);
	outline-offset: 2px;
}

.vfp-checkbox a {
	color: var(--vfp-gold-deep);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vfp-form__foot {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.vfp-form__status {
	display: none;
	margin-top: 18px;
	padding: 16px 18px;
	border-left: 2px solid var(--vfp-success);
	background: rgba(61, 107, 74, 0.08);
	color: var(--vfp-success);
	font-size: 13.5px;
	line-height: 1.6;
}

.vfp-form__status.is-visible {
	display: block;
}

.vfp-form__status.is-error {
	border-left-color: var(--vfp-danger);
	background: rgba(163, 60, 50, 0.07);
	color: var(--vfp-danger);
}

.vfp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Аккордеон
   -------------------------------------------------------------------------- */

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

.vfp-section--dark .vfp-acc {
	border-top-color: var(--vfp-line-light);
}

.vfp-acc__item {
	border-bottom: 1px solid var(--vfp-line);
}

.vfp-section--dark .vfp-acc__item {
	border-bottom-color: var(--vfp-line-light);
}

.vfp-acc__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 22px 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: var(--vfp-sans);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.vfp-acc__trigger:hover {
	color: var(--vfp-gold-deep);
}

.vfp-section--dark .vfp-acc__trigger:hover {
	color: var(--vfp-gold-soft);
}

.vfp-acc__icon {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid var(--vfp-line);
	border-radius: 50%;
	transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.vfp-acc__icon::before,
.vfp-acc__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}

.vfp-acc__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.vfp-acc__item.is-open .vfp-acc__icon {
	border-color: var(--vfp-gold);
	background: var(--vfp-gold);
	color: #fff;
}

.vfp-acc__item.is-open .vfp-acc__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.vfp-acc__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.32s ease;
}

.vfp-acc__item.is-open .vfp-acc__panel {
	grid-template-rows: 1fr;
}

.vfp-acc__panel > div {
	overflow: hidden;
}

.vfp-acc__content {
	padding: 0 56px 24px 0;
	color: var(--vfp-body);
	font-size: 14px;
	line-height: 1.7;
}

.vfp-section--dark .vfp-acc__content {
	color: rgba(247, 243, 234, 0.7);
}

.vfp-acc__content p + p {
	margin-top: 10px;
}

.vfp-acc__content ul {
	margin-top: 10px;
}

.vfp-acc__content li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 6px;
}

.vfp-acc__content li::before {
	content: '';
	position: absolute;
	top: 9px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--vfp-gold);
}

/* --------------------------------------------------------------------------
   Анимация появления
   -------------------------------------------------------------------------- */

.vfp-reveal {
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.vfp-js .vfp-reveal {
	opacity: 0;
	transform: translateY(26px);
}

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

.vfp-js .vfp-reveal[data-delay='1'] {
	transition-delay: 0.08s;
}

.vfp-js .vfp-reveal[data-delay='2'] {
	transition-delay: 0.16s;
}

.vfp-js .vfp-reveal[data-delay='3'] {
	transition-delay: 0.24s;
}

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

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

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	.vfp-container,
	.vfp-container--narrow {
		width: calc(100% - 40px);
	}
}

@media (max-width: 991px) {
	.vfp-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.vfp-title--xl {
		font-size: clamp(38px, 7vw, 56px);
	}
}

@media (max-width: 767px) {
	.vfp-page {
		font-size: 15px;
	}

	.vfp-container,
	.vfp-container--narrow {
		width: calc(100% - 32px);
	}

	.vfp-breadcrumbs {
		padding-top: 14px;
	}

	.vfp-breadcrumbs .breadcrumb {
		font-size: 11px;
	}

	.vfp-section {
		padding: 52px 0;
	}

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

	.vfp-lead {
		margin-top: 14px;
		font-size: 15px;
	}

	.vfp-btn {
		min-height: 50px;
		padding: 0 22px;
		font-size: 11px;
	}

	.vfp-form-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.vfp-acc__content {
		padding-right: 0;
	}

	/* iOS не масштабирует страницу при фокусе */
	.vfp-field input,
	.vfp-field textarea,
	.vfp-field select {
		font-size: 16px;
	}
}

@media (max-width: 479px) {
	.vfp-btn {
		width: 100%;
	}
}


/* Отступ для якорной навигации под фиксированной шапкой */
.vfp-page [id] {
	scroll-margin-top: 118px;
}

/* Печать юридически значимых блоков оплаты */
@media print {
	.vfp-page .vfp-pay-hero__media,
	.vfp-page .vfp-pay-trust,
	.vfp-page .vfp-pay-cta__actions,
	.vfp-page .vfp-method-list,
	.vfp-page .vfp-pay-faq__aside,
	.vfp-page .vfp-btn,
	.vfp-page .vfp-copy {
		display: none !important;
	}

	.vfp-page {
		background: #fff !important;
		color: #000 !important;
	}

	.vfp-page .vfp-section {
		padding: 18px 0 !important;
		page-break-inside: avoid;
	}

	.vfp-page .vfp-pay-methods__grid,
	.vfp-page .vfp-pay-security__grid,
	.vfp-page .vfp-pay-req__grid,
	.vfp-page .vfp-pay-faq__grid {
		display: block !important;
	}

	.vfp-page .vfp-method-stage {
		border: 0 !important;
		min-height: 0 !important;
		padding: 0 !important;
		background: none !important;
	}

	.vfp-page .vfp-method-panel[hidden] {
		display: block !important;
	}
}
