/*
 * Стили публичных страниц Pixbeli. Дизайн C «Лента» (см. CLAUDE.md, «Дизайн-система»).
 * Почти без анимаций и JavaScript — страницы должны открываться быстро.
 * Шрифты Lora (заголовки), Manrope (текст) и Golos Text (логотип) — лицензия SIL Open Font License 1.1, файлы лежат у нас.
 */
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("/fonts/lora-cyrillic-500-normal-1fba571cd609a3ad30e2776915d7a383.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("/fonts/lora-latin-500-normal-db1ea22e43630141103075582f898339.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("/fonts/manrope-cyrillic-wght-normal-e58febde317b69ceb51690ea201850c9.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("/fonts/manrope-latin-wght-normal-938c6e8019b69313372c47dbb7a7c930.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 700; font-display: swap;
	src: url("/fonts/golos-text-latin-700-normal-12965d0becae1c16eaebf29ba173b5f7.woff2") format("woff2"); }

:root {
	/* Расцветка «Кремовый и карамель» (выбор владельца 2026-11-02): кремовый фон, карамельные кнопки,
	   тёмно-коричневый текст и подвал. Одна тёплая гамма, без чёрного и холодного серого. */
	--bg: #FBF6EE;
	--surface: #FFFCF7;
	--text: #3B2A1E;
	--muted: #6E5A49;
	--line: #EADBC8;
	--line-soft: #F1E6D7;
	/* Карамель: заливка основных кнопок, текст на них кремовый. */
	--accent: #9C5F2B;
	--accent-hover: #85501F;
	--on-accent: #FFF8EF;
	/* Значки, точка логотипа, номера этапов, галочки, рамки прозрачных кнопок. */
	--accent-deep: #9C5F2B;
	--accent-line: #9C5F2B;
	/* Ссылки — темнее, чтобы читались на светлом фоне. */
	--link: #7A4A22;
	/* Светлые подложки: полоса акций, плашки, «Обсудим альбом». */
	--accent-tint: #F3E2CC;
	--quiet: #F1E8DC;
	--quiet-hover: #EADBC8;
	--placeholder: #F3E2CC;
	/* Подвал и тёмные кнопки — тёмный шоколад, а не чёрный. */
	--deep-surface: #4A3424;
	/* Заголовки — классический книжный Lora (выбор владельца 2026-11-02), текст, кнопки и меню — Manrope. */
	--display: "Lora", Georgia, "Times New Roman", serif;
	--body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 8px;
}

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

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

body {
	margin: 0;
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
}

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

a { color: var(--link); }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 3px solid var(--link);
	outline-offset: 3px;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	padding: 8px 12px;
	background: var(--surface);
}
.skip-link:focus { top: 8px; }

/* Кнопки — без рамок, только заливка. */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-quiet { background: var(--quiet); color: var(--text); }
.btn-quiet:hover { background: var(--quiet-hover); color: var(--text); }
.btn-light { background: #FFFFFF; color: var(--text); }
.btn-light:hover { background: var(--accent-tint); color: var(--text); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
/* Второстепенное действие («Смотреть дизайны», «Заказать»): тонкая жёлтая рамка без заливки, при наведении — заливка.
   Главное действие на экране остаётся залитой кнопкой (btn-primary), поэтому их легко различить. */
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); }
.btn-compact { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 20px;
}

.logo {
	font-family: "Golos Text", var(--body);
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--text);
	text-decoration: none;
}
.logo img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
/* Точка над «i» — квадратный пиксель цвета акцента. */
.logo-i { position: relative; }
.logo-i::after {
	content: "";
	position: absolute;
	left: 0.04em;
	top: 0.1em;
	width: 0.22em;
	height: 0.22em;
	background: var(--accent-deep);
}

/* Кнопки шапки — чуть меньше обычных; «Контакты» и «Оставить заявку» обе основного цвета. */
.header-actions { display: flex; gap: 8px; }
.header-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; }
/* Кнопка «Меню», её галочка, затемнение, заголовок и низ панели нужны только на телефоне;
   на компьютере обёртка панели не влияет на раскладку, меню — обычная строка ссылок. */
.nav-toggle, .nav-button, .nav-backdrop, .nav-head, .nav-foot, .header-phone { display: none; }
.nav-panel { display: contents; }
.nav a { color: var(--text); text-decoration: none; padding-block: 10px; }
.nav a:hover { color: var(--link); }

.lead { max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }


/* Главная (решение владельца 2026-11-02): крупные заголовки, плитки, ленты, которые листаются пальцем.
   Все правила главной — здесь, вместе с поправками для телефона в конце блока. */
/* Полоса акции: название, «Написать нам», счётчик до конца акции, справа крестик (галочка promo-toggle прячет полосу).
   Тёмная (тёмный шоколад, как подвал), текст кремовый — решение владельца 2026-11-15. */
.promo-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.promo-toggle:checked + .promo-bar { display: none; }
.promo-bar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 18px;
	padding: 10px 52px;
	background: var(--deep-surface);
	border-bottom: 1px solid rgba(255, 248, 239, 0.14);
	font-size: 14px;
	text-align: center;
}
.promo-title { font-size: 15px; font-weight: 600; color: var(--on-accent); text-decoration: none; }
.promo-title:hover { color: var(--on-accent); text-decoration: underline; }
.promo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; }
.promo-cta { padding: 4px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.promo-cta:hover { background: var(--surface); color: var(--text); }
.promo-until { color: rgba(255, 248, 239, 0.75); white-space: nowrap; }
.promo-timer { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 248, 239, 0.75); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.promo-timer[hidden], .promo-until[hidden] { display: none; }
.promo-timer b { min-width: 28px; padding: 3px 5px; border-radius: 6px; background: rgba(0, 0, 0, 0.32); color: var(--on-accent); font-size: 14px; font-weight: 600; text-align: center; }
.promo-close { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--on-accent); cursor: pointer; transform: translateY(-50%); }
.promo-close:hover { background: rgba(255, 248, 239, 0.14); }
.promo-toggle:focus-visible + .promo-bar .promo-close { outline: 2px solid var(--on-accent); outline-offset: -2px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-deep); }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent-deep); }
/* Заголовки главной — Lora; у шрифта с засечками буквы не сжимаем. */
.home-h1 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; text-wrap: balance; }
.home-h2 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; text-wrap: balance; }
.home-h2-solo { margin-bottom: 28px; }
.home-lead { max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--muted); }
.hero-card .home-lead { font-size: 15.5px; line-height: 1.55; }
.home-sec { padding-block: 88px; }
.home-white { background: var(--surface); }
/* После ленты фото идёт «Почему выбирают нас» на том же фоне — без двойного отступа между ними. */
.home-live { padding-bottom: 0; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.home-intro-title { display: flex; flex-direction: column; gap: 14px; }
.price-chip {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: var(--accent-tint);
	font-size: 14px;
	font-weight: 600;
}
.price-chip b { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.btn-dark { background: var(--text); color: #FFFFFF; font-weight: 600; }
.btn-dark:hover { background: #5A4232; color: #FFFFFF; }

/* Первый экран (решения владельца 2026-11-02): текст прямо на фото, без карточки — и на компьютере, и на телефоне.
   Текст тёмный, поэтому чёрно-белое фото осветлено ровным светлым слоем. Фото обрезается сверху и слева:
   правый нижний угол кадра виден всегда. Кнопки — прозрачные с жёлтой рамкой, как второстепенные кнопки сайта.
   Пока фото нет — светлая плашка с иллюстрацией. */
.home-hero { padding-block: 12px 0; }
.hero-box { position: relative; display: flex; align-items: flex-end; min-height: 440px; padding: 40px; border-radius: 28px; overflow: hidden; background: var(--accent-tint); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.hero-art { position: absolute; right: 4%; top: 50%; width: min(42%, 420px); transform: translateY(-50%); }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-card { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
/* На фото текст стоит вверху блока — и на компьютере, и на телефоне (решение владельца 2026-11-15). */
.hero-box.has-photo { align-items: flex-start; background: var(--quiet); }
/* Слои: фото → еле заметный светлый слой в тон фона страницы (15 %, решение владельца 2026-11-15; раньше было 55 % —
   фото выглядело бледным) → текст (иначе фото, стоящее в разметке позже, закрывает светлый слой). */
.hero-box.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(251, 246, 238, .15); }
.has-photo .hero-card { z-index: 2; }
.has-photo .home-lead { color: var(--text); }
.has-photo .btn-primary, .has-photo .btn-quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px #A88C73; }
.has-photo .btn-primary:hover, .has-photo .btn-quiet:hover { background: var(--accent); color: var(--on-accent); }

/* Ленты (фото, «Почему выбирают нас»): листаются пальцем вбок, полосы прокрутки нет, края следующих карточек видны.
   Слева лента начинается вровень с текстом страницы, справа уходит за край экрана. */
.strip {
	--strip-start: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter)));
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--strip-start);
	padding-left: var(--strip-start);
	padding-right: var(--gutter);
	scrollbar-width: none;
	cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip > * { flex: none; scroll-snap-align: start; user-select: none; }
/* Фото целиком: одна высота, ширина по пропорциям. Обрезаются только очень длинные панорамы (шире 2:1). */
.photo-strip img { height: 220px; width: auto; max-width: 440px; object-fit: cover; border-radius: 16px; background: var(--quiet); }
/* Фото ленты — ссылки на крупный просмотр; при перетаскивании мышью нажатие не срабатывает (strip.js). */
.photo-strip a { display: block; border-radius: 16px; }
.photo-strip a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }

.why-strip { gap: 14px; }
.why-card { display: flex; flex-direction: column; gap: 10px; width: 300px; padding: 28px; border-radius: 24px; background: var(--surface); }
.why-card h3 { margin-top: 8px; font-size: 19px; line-height: 1.25; }
.why-card p { font-size: 15px; color: var(--muted); white-space: pre-line; }
.why-card-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-tint); color: var(--accent-deep); }
.why-card-icon svg { width: 26px; height: 26px; }
.why-card.is-soft { background: var(--accent-tint); }
.why-card.is-soft .why-card-icon { background: var(--surface); }
.why-card.is-dark { background: var(--text); color: #FFFFFF; }
.why-card.is-dark p { color: #C9C8C2; }
.why-card.is-dark .why-card-icon { background: #5A4232; color: var(--accent); }

/* Переключатели («Какой альбом выбрать», «Дизайны альбомов») на скрытых радиокнопках, без JavaScript:
   выбранная радиокнопка № N показывает панель № N. Браузер без :has покажет первую панель. */
.switch-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.switch-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 999px; background: var(--quiet); }
.switch-tabs label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; }
.switch-panels > * { display: none; }
.switch-panels > :first-child { display: flex; }
.switch-tabs > :first-child { background: var(--surface); box-shadow: 0 2px 8px rgba(34, 35, 31, .1); }
.switch:has(.switch-radio:checked) .switch-panels > * { display: none; }
.switch:has(.switch-radio:checked) .switch-tabs > * { background: none; box-shadow: none; }
.switch:has(.switch-radio:nth-of-type(1):checked) .switch-panels > :nth-child(1),
.switch:has(.switch-radio:nth-of-type(2):checked) .switch-panels > :nth-child(2),
.switch:has(.switch-radio:nth-of-type(3):checked) .switch-panels > :nth-child(3),
.switch:has(.switch-radio:nth-of-type(4):checked) .switch-panels > :nth-child(4),
.switch:has(.switch-radio:nth-of-type(5):checked) .switch-panels > :nth-child(5),
.switch:has(.switch-radio:nth-of-type(6):checked) .switch-panels > :nth-child(6) { display: flex; }
.switch:has(.switch-radio:nth-of-type(1):checked) .switch-tabs > :nth-child(1),
.switch:has(.switch-radio:nth-of-type(2):checked) .switch-tabs > :nth-child(2),
.switch:has(.switch-radio:nth-of-type(3):checked) .switch-tabs > :nth-child(3),
.switch:has(.switch-radio:nth-of-type(4):checked) .switch-tabs > :nth-child(4),
.switch:has(.switch-radio:nth-of-type(5):checked) .switch-tabs > :nth-child(5),
.switch:has(.switch-radio:nth-of-type(6):checked) .switch-tabs > :nth-child(6) { background: var(--surface); box-shadow: 0 2px 8px rgba(34, 35, 31, .1); }
.switch:has(.switch-radio:nth-of-type(1):focus-visible) .switch-tabs > :nth-child(1),
.switch:has(.switch-radio:nth-of-type(2):focus-visible) .switch-tabs > :nth-child(2),
.switch:has(.switch-radio:nth-of-type(3):focus-visible) .switch-tabs > :nth-child(3),
.switch:has(.switch-radio:nth-of-type(4):focus-visible) .switch-tabs > :nth-child(4),
.switch:has(.switch-radio:nth-of-type(5):focus-visible) .switch-tabs > :nth-child(5),
.switch:has(.switch-radio:nth-of-type(6):focus-visible) .switch-tabs > :nth-child(6) { outline: 3px solid var(--link); outline-offset: 2px; }

/* Вид альбома: цена, описание, плюсы в две колонки, «Подойдёт, если…». */
.kind { flex-direction: column; gap: 14px; padding: 36px; border-radius: 24px; background: var(--bg); }
.kind-title { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.2; }
.kind-text { max-width: 40em; color: var(--muted); }
.pros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 8px 0 0; padding: 0; list-style: none; }
.pros li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.pro-tick { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--accent); font-size: 13px; font-weight: 600; }
.pros p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.kind-fit { padding-top: 14px; border-top: 1px solid var(--line-soft); font-weight: 600; }

/* Дизайн-пример раздела: обложка слева, описание справа. */
.design { align-items: center; gap: 32px; padding: 16px 36px 16px 16px; border-radius: 24px; background: var(--surface); color: var(--text); text-decoration: none; }
/* Обложка квадратная — как сам альбом 23×23. */
.design-cover { flex: none; width: min(340px, 45%); }
.design img, .design-ph { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; background: var(--accent-tint); }
.design-ph { display: flex; align-items: flex-end; padding: 20px; font-family: var(--display); font-size: 20px; color: var(--link); }
.design-info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.design-title { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.2; }
.design-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* Условия акции на странице заявки — если человек пришёл по кнопке «Подробнее» в полосе акций. */
.promo-note { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; padding: 18px 20px; border-radius: 16px; background: var(--accent-tint); }
.promo-note p { color: var(--muted); white-space: pre-line; }

/* Как это работает: карточки с жёлтым номером. */
.work-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.work-steps li { padding: 20px; border-radius: 16px; background: var(--bg); }
.work-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 600; }
.work-steps h3 { margin: 12px 0 4px; font-size: 16px; }
.work-steps p { font-size: 14px; color: var(--muted); white-space: pre-line; }

/* Плашка «Обсудим альбом»: фото фотографа, текст, кнопки. */
.home-final { padding-block: 88px 0; }
.final-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 48px; border-radius: 32px; background: var(--accent); color: var(--on-accent); }
.final-box.no-photo { grid-template-columns: minmax(0, 1fr) auto; }
.final-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.final-text { display: flex; flex-direction: column; gap: 8px; }
.final-text h2 { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.15; text-wrap: balance; }
.final-actions { display: flex; flex-direction: column; gap: 10px; }

/* Вопросы внизу: заголовок слева, раскрывающиеся вопросы справа. */
.home-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: start; }
.home-faq-all { font-weight: 600; }
.home-faq-list { display: flex; flex-direction: column; gap: 10px; }
.home-faq-list details { padding: 18px 22px; border-radius: 16px; background: var(--surface); }
.home-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list details p { margin-top: 10px; color: var(--muted); white-space: pre-line; }
.faq-plus { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--quiet); transition: transform .2s; }
.home-faq-list details[open] .faq-plus { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq-plus { transition: none; } }

@media (max-width: 860px) {
	.home-sec { padding-block: 56px; }
	.home-intro, .home-faq { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 24px; }
	.home-lead { font-size: 15.5px; }
	/* Фото над карточкой, карточка немного заходит на него снизу — лица не закрыты. */
	/* На телефоне текст тоже на фото: фото — фон всего блока, высота — по тексту, но не меньше 480 px. */
	.hero-box { min-height: 480px; padding: 20px; border-radius: 24px; }
	.hero-box:not(.has-photo) { display: block; min-height: 0; }
	/* Текст и кнопки — сверху, а под ними свободное место: там виден низ кадра (люди обычно внизу), ничем не закрытый. */
	.hero-box.has-photo { align-items: flex-start; padding-bottom: 62vw; }
	.hero-art { position: static; width: auto; max-width: 300px; margin: 0 auto 16px; transform: none; }
	.hero-card { gap: 12px; }
	.hero-card .btn { flex: 1 1 auto; }
	.home-h1 { font-size: 23px; }
	.photo-strip img { height: 190px; max-width: 380px; }
	.why-strip { gap: 10px; }
	.why-card { width: 250px; padding: 22px; border-radius: 20px; }
	.switch-tabs { display: flex; }
	.switch-tabs label { flex: 1 1 auto; padding: 0 10px; font-size: 14px; }
	.kind { padding: 20px; }
	.pros { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.design { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 12px 20px; }
	.design-cover { width: 100%; }
	.design-info { padding-inline: 8px; }
	.work-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.work-steps li { padding: 16px; }
	.home-final { padding-top: 56px; }
	.final-box, .final-box.no-photo { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: 24px; }
	.final-box:not(.no-photo) { grid-template-columns: auto minmax(0, 1fr); }
	.final-photo { width: 64px; height: 64px; }
	.final-text h2 { font-size: 21px; }
	.final-actions { grid-column: 1 / -1; }
}

/* Секции */
.section { padding-block: 72px; }
.section-white { background: var(--surface); }
.section-title {
	margin-bottom: 12px;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
}
.section-intro { max-width: 40em; margin-bottom: 40px; font-size: 17px; color: var(--muted); }
.section-title + .cats, .section-title + .faq { margin-top: 28px; }

/* Обложка-заглушка, пока не загружено фото шаблона: название дизайна на светлом фоне. */
.cover {
	aspect-ratio: 3 / 2;
	background: var(--placeholder);
	overflow: hidden;
}
a.cover { display: block; text-decoration: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	height: 100%;
	padding: 20px;
	border-top: 6px solid var(--accent);
	font-family: var(--display);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	color: var(--link);
}
.cover-placeholder small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); }
.cover-tall { aspect-ratio: 4 / 5; }
/* Загруженная обложка на странице альбома — целиком, в своих пропорциях (развороты бывают и горизонтальные). */
.cover-natural { aspect-ratio: auto; border-radius: 12px; }
.cover-natural img { height: auto; }

/* Категории: колонки с вертикальными линиями */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 0; }
.cat { display: flex; flex-direction: column; gap: 14px; padding: 8px 32px; border-left: 1px solid var(--line); }
.cat-name { font-family: var(--display); font-weight: 500; font-size: 24px; }
.cat-name a { color: inherit; text-decoration: none; }
.cat-name a:hover { color: var(--link); }
.cat-text { color: var(--muted); }
.price-from { font-weight: 600; font-size: 17px; }
.more-link { align-self: flex-start; }

/* Тарифы: белые плашки без рамок на сером фоне секции, популярный подсвечен голубым */
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tariff { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; background: var(--surface); border-radius: 14px; }
.tariff.is-highlighted { background: var(--accent-tint); }
.tariff-badge { font-size: 14px; font-weight: 600; color: var(--link); }
.tariff-name { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.3; }
.tariff-price { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.tariff-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
/* Отметка пункта — маленький карамельный квадрат, как точка над i в логотипе (вместо галочек, решение владельца 2026-11-13). */
.tariff-list li { position: relative; padding-left: 18px; }
.tariff-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 1.5px; background: var(--accent); }
/* Описание под линией через всю карточку (поля карточки 24px, на телефоне 16px). */
.tariff-desc { margin-inline: -24px; padding: 16px 24px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted); white-space: pre-line; }
/* Ссылка «Смотреть дизайны» и кнопка заявки прижаты к низу карточки. */
.tariff-link { margin-top: auto; }
.tariff .btn { margin-top: 0; }

/* Вопрос-ответ: раскрывается без JavaScript */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--accent-deep); }
.faq details[open] summary::after { content: "−"; }
.faq-answer { max-width: 40em; padding-bottom: 20px; color: var(--muted); white-space: pre-line; }
/* Страница вопросов: внизу — что делать, если ответа нет. */
.more-box { max-width: 820px; margin-block: 48px 72px; padding: 28px; border-radius: 24px; background: var(--accent-tint); }
/* Компактная подсказка на странице «Цены»: текст и маленькие кнопки в одну строку (на телефоне — в две). */
.hint-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin-bottom: 24px;
	padding: 12px 12px 12px 20px;
	border-radius: 14px;
	background: var(--accent-tint);
	font-size: 15px;
	color: var(--muted);
}
.hint-bar strong { color: var(--text); }
.hint-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hint-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.prices-list { margin-bottom: 72px; }

/* Галерея: фото как отпечатки — белая рамка на сером фоне. Первое фото раздела (если фото от пяти) — крупное, 2×2. */
.gallery-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gallery-jump a {
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--quiet);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.gallery-jump a:hover { background: var(--accent-tint); }
.gallery-section { margin-bottom: 56px; scroll-margin-top: 16px; }
.gallery-head { margin-bottom: 20px; }
.gallery-head h2 {
	margin-bottom: 6px;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.2;
}
.gallery-text { max-width: 40em; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gallery-grid li { scroll-margin: 80px; }
.gallery-tile { display: block; height: 100%; padding: 6px; border-radius: 12px; background: var(--surface); }
.gallery-tile:hover { box-shadow: 0 0 0 2px var(--accent); }
.gallery-tile:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.gallery-tile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 7px; background: var(--placeholder); }
/* Крупное фото занимает 2×2 клетки и подстраивается под высоту соседних — своей высоты у него нет. */
.gallery-grid .is-feature { grid-column: span 2; grid-row: span 2; }
.is-feature .gallery-tile { position: relative; }
.is-feature .gallery-tile img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); aspect-ratio: auto; }
.gallery-cta { margin-bottom: 72px; }

/* Просмотр фото: тёмный экран, фото целиком, стрелки по кругу; нажатие мимо фото закрывает. */
.viewer { display: none; }
.viewer:target {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 24px 24px;
	background: rgba(24, 25, 22, 0.94);
}
html:has(.viewer:target) { overflow: hidden; }
.viewer-close { position: absolute; inset: 0; }
.viewer-figure { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; margin: 0; }
/* Обёртка по размеру фото — стрелки лежат на самом фото, по левому и правому краю. */
.viewer-photo { position: relative; display: flex; max-width: 100%; }
.viewer-figure img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	max-height: calc(100dvh - 140px);
	border-radius: 6px;
}
.viewer-figure figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 15px; color: #E8E7E2; text-align: center; }
.viewer-count { color: #AAA89F; }
.viewer-arrow, .viewer-x {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}
/* Стрелки неброские: тёмный полупрозрачный кружок, ярче при наведении. */
.viewer-arrow {
	top: 50%;
	width: 42px;
	height: 42px;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.28);
	color: rgba(255, 255, 255, 0.85);
	opacity: 0.75;
	transition: opacity 0.15s, background-color 0.15s;
}
.viewer-arrow:hover { opacity: 1; background: rgba(0, 0, 0, 0.45); }
.viewer-arrow svg { width: 22px; height: 22px; }
.viewer-arrow.prev { left: 10px; }
.viewer-arrow.next { right: 10px; }
.viewer-x { top: 12px; right: 12px; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.viewer-x:hover { background: rgba(255, 255, 255, 0.22); }
.viewer-x svg { width: 22px; height: 22px; }
.viewer a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Услуги: каждый раздел — светлая карточка, свёрнут (details). В шапке значок, название с подписью, цена «от» и стрелка;
   у раскрытого раздела шапка карамельная. Внутри плотный прайс-лист: название и цена в строке, описание мелко под ними,
   одна кнопка на раздел (вид выбран владельцем 2026-11-15). */
.price-groups { display: flex; flex-direction: column; gap: 12px; margin-bottom: 72px; }
.price-group { border-radius: 18px; background: var(--surface); overflow: hidden; }
.price-group summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.price-group summary::-webkit-details-marker { display: none; }
.price-group summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 18px; }
.price-group[open] summary { background: var(--accent-tint); }
.price-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); }
.price-icon svg { width: 22px; height: 22px; }
.price-head { flex: 1; min-width: 0; }
.price-group h2 { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.price-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.price-from { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--accent-tint); font-size: 13px; font-weight: 600; white-space: nowrap; }
.price-group[open] .price-icon, .price-group[open] .price-from { background: var(--surface); }
/* Стрелка вниз, у раскрытого раздела — вверх. */
.price-toggle { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--accent-deep); }
.price-toggle svg { width: 18px; height: 18px; transition: transform 0.2s; }
.price-group[open] .price-toggle svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .price-toggle svg { transition: none; } }
.price-group-body { padding: 14px 18px 18px; }
.price-intro, .price-outro { max-width: 42em; font-size: 14px; white-space: pre-line; }
.price-intro { margin-bottom: 10px; color: var(--muted); }
.price-outro { margin-top: 12px; }
.price-list { margin: 0; padding: 0; list-style: none; }
/* Длинный список на компьютере — в две колонки. */
.price-list.two { columns: 2; column-gap: 48px; }
.price-row { padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.price-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-row h3 { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.price-row p { max-width: 34em; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); white-space: pre-line; }
/* Цена словами может быть длинной («10×15 — 1,5 BYN, А4 — 6 BYN»): переносится, но не шире 45 % строки. */
.price-value { flex: 0 1 auto; max-width: 45%; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-examples { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; }
.price-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.more-box h2 { margin-bottom: 8px; font-family: var(--display); font-weight: 500; font-size: 22px; }
.more-box p:not(.actions) { margin-bottom: 20px; color: var(--muted); }

/* Подвал с контактами */
.site-footer { background: var(--deep-surface); color: #FFFFFF; }
.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding-block: 48px;
}
.footer-name { margin-bottom: 8px; font-family: var(--display); font-weight: 500; font-size: 20px; }
.footer-line { color: #D2D0C6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.footer-note { margin-top: 14px; color: #D2D0C6; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; max-width: 60ch; }
.site-footer a:not(.btn) { color: #FFFFFF; }
.site-footer a:not(.btn):hover { color: var(--accent); }
/* Мессенджеры — кнопки со значком, не меньше 44 px по высоте, чтобы попадать пальцем. */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px 0 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}
.social a:hover { background: rgba(255, 255, 255, 0.14); }
.social svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.footer-qr {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 300px;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.site-footer .footer-qr:not(.btn) { color: #D2D0C6; }
.footer-qr svg { width: 120px; height: 120px; flex: none; padding: 4px; border-radius: 10px; background: #FFFFFF; }

/* Каталог */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-top: 8px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { padding-block: 32px 40px; }
.page-head h1 {
	margin-bottom: 12px;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.15;
}

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; }
.album-card { display: flex; flex-direction: column; gap: 12px; }
.album-card-title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.25; }
.album-card-title a { color: inherit; text-decoration: none; }
.album-card-title a:hover { color: var(--link); }
.album-card-text { color: var(--muted); }
.empty { padding: 32px; background: var(--surface); border-radius: 14px; color: var(--muted); }

/* Формат альбома (23×23 / 20×30): переключатель-«таблетка», выбранный формат залит акцентом. */
.size-tabs { display: inline-flex; gap: 4px; margin-bottom: 28px; padding: 4px; background: var(--quiet); border-radius: 12px; }
.size-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 9px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
}
.size-tab:hover { background: var(--quiet-hover); }
.size-tab.is-active { background: var(--accent); color: var(--on-accent); }
.album-photos .size-tabs { margin-bottom: 16px; }
.album-note { margin-top: -12px; font-size: 14px; color: var(--muted); }

/* Страница «Альбомы»: разделы плитками — обложка первого альбома, название, описание. */
.section-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; padding-bottom: 72px; }
.section-tile { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.section-tile-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 12px; background: var(--placeholder); border-top: 6px solid var(--accent); }
.section-tile-photo:has(img) { border-top: 0; }
.section-tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.section-tile-body { display: flex; flex-direction: column; gap: 8px; }
.section-tile-name { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.section-tile-text { color: var(--muted); }
.section-tile-more { font-weight: 600; color: var(--link); }
.section-tile:hover .section-tile-name, .section-tile:hover .section-tile-more { color: var(--link); text-decoration: underline; }

.album-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-bottom: 72px; }
.album-info { display: flex; flex-direction: column; gap: 24px; }
.album-description { font-size: 17px; line-height: 1.65; color: var(--muted); white-space: pre-line; }
.album-tariffs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.album-tariffs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.album-tariffs strong { white-space: nowrap; }
.subhead { font-family: var(--display); font-weight: 500; font-size: 20px; }

/* Просмотр фото альбома (обложка + развороты) по одному со стрелками — на радиокнопках, без JavaScript */
.slider { position: relative; }
.slide-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slide { display: none; margin: 0; }
.slide-radio:checked + .slide { display: block; }
.slide-radio:focus-visible + .slide .slide-frame { outline: 3px solid var(--link); outline-offset: 3px; }
.slide-frame { position: relative; }
.slide-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	padding: 12px;
	background: var(--surface);
	border-radius: 16px;
	overflow: hidden;
}
.slide-photo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.slide-arrow {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: var(--on-accent);
	background: var(--accent);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(34, 35, 31, 0.18);
	transform: translateY(-50%);
	cursor: pointer;
	user-select: none;
}
.slide-arrow:hover { background: var(--accent-hover); }
.slide-arrow.prev { left: -18px; }
.slide-arrow.next { right: -18px; }
.slide-count { margin-top: 10px; text-align: center; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Форма заявки */
.form-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; padding-bottom: 72px; }
.lead-form { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--surface); border-radius: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="number"], .lead-form select, .lead-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font: inherit;
	color: var(--text);
	background: var(--bg);
	border: 2px solid transparent;
	border-radius: var(--radius);
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent-deep); background: var(--surface); }
.has-error input, .has-error select, .has-error textarea { border-color: #B54848; }
.field-error { font-size: 15px; font-weight: 600; color: #A33A3A; }
.form-notice { padding: 12px 16px; font-weight: 600; color: #7A2B2B; background: #F8E9E9; border-radius: var(--radius); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent-deep); }
.lead-form .btn { align-self: flex-start; }
/* Пока нет галочки согласия — кнопка бледная. Нажать можно: сервер подсветит галочку и объяснит, почему не отправилось. */
.lead-form:has(input[name="consent"]:not(:checked)) button[type="submit"] { opacity: .45; cursor: not-allowed; }
.lead-form:has(input[name="consent"]:not(:checked)) button[type="submit"]:hover { background: var(--accent); }
.lead-form button[type="submit"] { transition: opacity .15s; }
/* Поле-ловушка для роботов: убрано с экрана, но остаётся в разметке. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; font-size: 17px; }
.form-aside a { font-size: 22px; font-weight: 600; }
.muted-text { color: var(--muted); font-size: 15px; }

/* Политика обработки персональных данных */
.legal { padding-bottom: 72px; }
.legal > h2, .legal > p, .legal > ul { max-width: 46em; }
.legal > h2 { margin: 36px 0 12px; font-family: var(--display); font-weight: 500; font-size: 22px; }
.legal p, .legal li { line-height: 1.7; color: var(--muted); }
.legal > p { margin-bottom: 12px; white-space: pre-line; }
.legal ul { margin: 8px 0 12px; padding-left: 22px; }

/* Страница ошибки */
.error-page { padding-block: 72px 120px; }
.error-page h1 { margin-bottom: 16px; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 44px); }
.error-page p { margin-bottom: 32px; color: var(--muted); }

/* Планшет */
@media (max-width: 1000px) {
	.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Телефон */
@media (max-width: 760px) {
	/* Шапка на телефоне — одна строка: логотип слева, кнопка «Меню» справа.
	   «Контакты» и «Консультация» — в панели меню, под пунктами. */
	.site-header .wrap { padding-block: 12px; gap: 10px 8px; flex-wrap: nowrap; }
	.nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
	.header-actions { flex-direction: column; gap: 8px; padding: 16px 18px 0; }
	.header-actions .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
	.nav-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 38px;
		min-width: 40px;
		padding: 0 12px;
		border-radius: var(--radius);
		background: var(--text);
		color: #FFFFFF;
		font-size: 13px;
		font-weight: 600;
		cursor: pointer;
	}
	/* Телефон слева от кнопки «Меню»: значок и номер, нажатие — звонок. */
	.header-phone { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; margin-left: auto; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
	.header-phone svg { flex: none; width: 18px; height: 18px; color: var(--accent-deep); }
	.nav-button:hover { background: #5A4232; }
	.nav-button svg { width: 18px; height: 18px; color: var(--accent); }
	.nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--link); outline-offset: 2px; }

	/* Панель меню выезжает справа на половину экрана (но не уже 200 px), остальное затемняется —
	   нажатие на затемнение закрывает меню. Пока меню открыто, страница под ним не прокручивается. */
	.nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 40;
		background: rgba(34, 35, 31, 0.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s, visibility 0s 0.2s;
	}
	.nav-panel {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		width: max(50vw, 200px);
		overflow-y: auto;
		padding: 14px 0 20px;
		border-radius: 20px 0 0 20px;
		background: var(--surface);
		box-shadow: -12px 0 40px rgba(34, 35, 31, 0.18);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.22s ease-out, visibility 0s 0.22s;
	}
	.nav-toggle:checked ~ .nav-backdrop { opacity: 1; visibility: visible; transition: opacity 0.2s; }
	.nav-toggle:checked ~ .nav-panel { transform: none; visibility: visible; transition: transform 0.22s ease-out; }
	html:has(.nav-toggle:checked) { overflow: hidden; }
	.nav-head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 10px 18px; }
	/* Квадратик перед словом «Меню» — тот же «пиксель», что над «i» в логотипе. */
	.nav-title { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 500; font-size: 15px; }
	.nav-title::before { content: ""; width: 8px; height: 8px; background: var(--accent-deep); }
	.nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: var(--quiet);
		cursor: pointer;
	}
	.nav-close svg { width: 20px; height: 20px; }
	.nav { flex-direction: column; flex-wrap: nowrap; gap: 0; padding-inline: 8px; font-size: 16px; font-weight: 600; }
	/* Пункт меню — не меньше 50 px по высоте, чтобы попадать пальцем; справа — уголок-стрелка. */
	.nav a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 50px;
		padding: 6px 10px;
		border-bottom: 1px solid var(--line-soft);
		line-height: 1.3;
	}
	.nav a::after {
		content: "";
		flex: none;
		width: 7px;
		height: 7px;
		border-top: 2px solid var(--accent-deep);
		border-right: 2px solid var(--accent-deep);
		transform: rotate(45deg);
	}
	.nav a:last-child { border-bottom: 0; }
	.nav a:hover { border-radius: 10px; background: var(--accent-tint); color: var(--text); }
	.nav-foot { display: flex; flex-direction: column; gap: 6px; margin: auto 12px 0; padding: 14px 12px 12px; border-radius: 14px; background: var(--accent-tint); }
	.nav-foot-title { margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--link); }
	.nav-foot a { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
	.nav-foot svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); }
	/* QR-код с телефона не отсканировать — там остаётся кнопка Instagram. */
	.footer-qr { display: none; }
	.section { padding-block: 56px; }
	.cat { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	/* Цены на телефоне — компактнее: меньше отступы и шрифты, плашки ближе друг к другу. */
	.tariffs { gap: 10px; }
	.tariff { gap: 10px; padding: 18px 16px; border-radius: 12px; }
	.tariff-badge { font-size: 13px; }
	.tariff-name { font-size: 16px; }
	.tariff-price { font-size: 24px; line-height: 1.2; }
	.tariff-list { gap: 4px; font-size: 14px; line-height: 1.45; }
	.tariff-desc { margin-inline: -16px; padding: 10px 16px 0; font-size: 13px; }
	.more-box { margin-block: 40px 56px; padding: 20px 16px; }
	.hint-bar { margin-bottom: 16px; padding: 12px; font-size: 14px; line-height: 1.45; }
	.hint-actions { width: 100%; flex-wrap: nowrap; gap: 6px; }
	.hint-actions .btn { flex: 1 1 auto; padding: 0 8px; font-size: 13px; white-space: nowrap; }
	.prices-list { margin-bottom: 48px; }
	/* Галерея на телефоне: две колонки, тоньше рамки; стрелки просмотра — внизу, под пальцем. */
	.gallery-section { margin-bottom: 40px; }
	.gallery-head { margin-bottom: 14px; }
	.gallery-text { font-size: 15px; }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.gallery-tile { padding: 4px; border-radius: 10px; }
	.gallery-tile img { border-radius: 6px; }
	/* В две колонки у крупного фото нет соседей, от которых взять высоту, — оно квадратное на всю ширину. */
	.gallery-grid .is-feature { grid-row: auto; }
	.is-feature .gallery-tile img { position: static; width: 100%; height: auto; aspect-ratio: 1; }
	.gallery-cta { margin-bottom: 48px; }
	.viewer:target { padding: 60px 8px 24px; }
	.viewer-figure img { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
	.viewer-figure figcaption { font-size: 14px; }
	.viewer-arrow { width: 38px; height: 38px; }
	.viewer-arrow.prev { left: 6px; }
	.viewer-arrow.next { right: 6px; }
	/* Услуги на телефоне — плотнее: без цены в шапке раздела, список в одну колонку, кнопки на всю ширину. */
	.price-groups { margin-bottom: 48px; }
	.price-group summary { gap: 10px; padding: 14px; }
	.price-group h2 { font-size: 19px; }
	.price-icon { width: 38px; height: 38px; }
	.price-from { display: none; }
	.price-group-body { padding: 12px 14px 16px; }
	.price-list.two { columns: 1; }
	.price-foot .btn { flex: 1 1 100%; }
	.album-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	/* Разделы на телефоне — строками: маленькая обложка слева, текст справа. */
	.section-tiles { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
	.section-tile { flex-direction: row; align-items: center; gap: 16px; }
	.section-tile-photo { flex: 0 0 112px; aspect-ratio: 1; }
	.section-tile-body { gap: 4px; }
	.section-tile-name { font-size: 18px; }
	.section-tile-text { font-size: 14px; line-height: 1.45; }
	.section-tile-more { font-size: 14px; }
	.size-tabs { display: flex; margin-bottom: 20px; }
	.size-tab { flex: 1; justify-content: center; }
	.slide-photo { padding: 6px; border-radius: 12px; }
	.slide-arrow { width: 44px; height: 44px; }
	.slide-arrow.prev { left: 6px; }
	.slide-arrow.next { right: 6px; }
	.form-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.lead-form { padding: 20px 16px; }
	.lead-form .btn { align-self: stretch; }
}

/* Узкий телефон: номер рядом с логотипом и кнопкой «Меню» не помещается — у кнопки остаётся только значок. */
@media (max-width: 380px) {
	.header-phone { font-size: 13px; }
	.nav-button span { display: none; }
}

@media (max-width: 350px) {
	/* Три кнопки подсказки на странице «Цены» не помещаются — «Оставить заявку» на всю ширину, две другие под ней. */
	.hint-actions { flex-wrap: wrap; }
	.hint-actions .btn-primary { flex-basis: 100%; }
}

/* Кто попросил систему убрать движение — меню появляется сразу, без выезда. */
@media (prefers-reduced-motion: reduce) {
	.nav-panel, .nav-backdrop { transition: none !important; }
}

/* Компактный просмотр в карточках каталога: те же стрелки, но меньше и внутри фото */
.slider-compact .slide-photo { aspect-ratio: 3 / 2; padding: 6px; border-radius: 12px; }
.slider-compact .slide-arrow { width: 40px; height: 40px; }
.slider-compact .slide-arrow svg { width: 22px; height: 22px; }
.slider-compact .slide-arrow.prev { left: 8px; }
.slider-compact .slide-arrow.next { right: 8px; }
.slider-compact .slide-count { margin-top: 6px; font-size: 14px; }

/* Расцветка «Кремовый и карамель» (решение владельца 2026-11-02): кнопки скруглённые, «Контакты» и второстепенные —
   тонкой карамельной рамкой; полоса акций и плашки — светлые; значки и номера — тонкими кружками.
   Стоит в конце файла, чтобы перекрывать общие правила и правила для телефона выше. */
/* Заголовки — своим цветом расцветки. */
.home-h1, .home-h2, .section-title, .page-head h1, .kind-title, .design-title, .final-text h2, .price-group h2, .gallery-head h2 { color: var(--text); }

.btn { border-radius: 999px; }


.hero-box { border-radius: 16px; }
.has-photo .btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.has-photo .btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.has-photo .btn-quiet { box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 999px; }
.has-photo .btn-quiet:hover { background: var(--accent); color: var(--on-accent); }
.price-chip b { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.why-card { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.why-card.is-dark { background: var(--surface); color: var(--text); }
.why-card.is-dark p { color: var(--muted); }
.why-card.is-dark .why-card-icon { background: var(--accent-tint); color: var(--accent-deep); }
.why-card-icon { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent-deep); }
.why-card.is-soft .why-card-icon { background: transparent; }

.kind, .design, .work-steps li, .home-faq-list details { border-radius: 14px; }
.kind { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-soft); }
.design img, .design-ph { border-radius: 10px; }
.switch-tabs, .switch-tabs label { border-radius: 999px; }
.pro-tick { background: var(--accent-tint); color: var(--accent-deep); }
.work-num { background: transparent; color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent-deep); }
.home-faq-list details { box-shadow: inset 0 0 0 1px var(--line-soft); }

.final-box { background: var(--accent-tint); color: var(--text); border-radius: 16px; }
.final-box .btn-dark { background: var(--accent); color: var(--on-accent); border-radius: 999px; }
.final-box .btn-light { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent-line); border-radius: 999px; }

.site-footer a:not(.btn):hover { color: #F3E2CC; }
.site-footer .btn-primary { background: var(--bg); color: var(--text); }
.social svg { color: #F3E2CC; }

.nav-button { background: var(--accent); }
.nav-button svg { color: var(--on-accent); }

.cover-placeholder, .section-tile-photo { border-top-color: var(--accent-deep); }
.tariff, .section-tile-photo, .cover-natural { border-radius: 12px; }

/* Плавающая кнопка «Напишите нам» (решение владельца 2026-11-05): карамельный круг в правом нижнем углу, от него
   спокойно расходятся два тонких кольца — заметно, но не отвлекает. Нажатие показывает над кнопкой круглые значки
   мессенджеров в их фирменных цветах (без подписей), кнопка становится крестиком.
   Ниже затемнения меню (40) и просмотра фото (60) — не мешает им. */
.contact-fab {
	position: fixed;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	/* Блок высотой со скрытый список значков: сам он нажатия пропускает, иначе закрывает то, что под ним
	   (например, стрелку «вправо» у фото альбома на телефоне). Нажимаются только кнопка и значки. */
	pointer-events: none;
}
.contact-button, .contact-list a { pointer-events: auto; }
.contact-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--on-accent);
	box-shadow: 0 6px 18px rgba(74, 52, 36, 0.25);
	cursor: pointer;
	transition: background 0.2s;
}
.contact-button:hover { background: var(--accent-hover); }
.contact-button::before, .contact-button::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 50%;
	background: var(--accent);
	animation: contact-ring 3.2s ease-out infinite;
	pointer-events: none;
}
.contact-button::after { animation-delay: 1.1s; }
@keyframes contact-ring {
	0% { transform: scale(1); opacity: 0.45; }
	70%, 100% { transform: scale(1.8); opacity: 0; }
}
.contact-button svg { width: 26px; height: 26px; }
.contact-close { display: none; }
.contact-toggle:checked ~ .contact-button { background: var(--surface); color: var(--text); box-shadow: 0 6px 18px rgba(74, 52, 36, 0.18), inset 0 0 0 1px var(--line); }
.contact-toggle:checked ~ .contact-button::before, .contact-toggle:checked ~ .contact-button::after { animation: none; opacity: 0; }
.contact-toggle:checked ~ .contact-button .contact-open { display: none; }
.contact-toggle:checked ~ .contact-button .contact-close { display: block; }
.contact-toggle:focus-visible ~ .contact-button { outline: 2px solid var(--link); outline-offset: 3px; }

.contact-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}
.contact-toggle:checked ~ .contact-list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
/* Круги в фирменных цветах; у Telegram сам значок — синий круг с белым самолётиком. */
.contact-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(74, 52, 36, 0.22);
	transition: transform 0.15s;
}
.contact-list a:hover, .contact-list a:focus-visible { transform: scale(1.08); }
.contact-list svg { width: 26px; height: 26px; }
.site-footer .contact-list a:not(.btn), .site-footer .contact-list a:not(.btn):hover { color: #FFFFFF; }
/* С :hover — иначе правило выше красит самолётик в белый на белом, и значок при наведении пропадает. */
.site-footer .contact-list a.is-telegram, .site-footer .contact-list a.is-telegram:hover { color: #229ED9; }
/* Белое — только под самолётиком в середине; по краю подложка синяя, как сам значок, иначе из-под него виден белый ободок. */
.contact-list .is-telegram { background: radial-gradient(circle closest-side, #FFFFFF 74%, #229ED9 76%); }
.contact-list .is-telegram svg { width: 50px; height: 50px; }
.contact-list .is-viber { background: #7360F2; }
.contact-list .is-whatsapp { background: #25D366; }
.contact-list .is-instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.contact-list .is-phone { background: var(--accent); }
.contact-list .is-phone svg { width: 24px; height: 24px; }
/* Чтобы кнопка не закрывала низ подвала, когда страница прокручена до конца. */
.site-footer { padding-bottom: 72px; }
@media (max-width: 760px) {
	/* Выше и левее угла: там браузер телефона (например, Samsung Internet) показывает свою кнопку «Наверх». */
	.contact-fab { right: 28px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
	.contact-button { width: 52px; height: 52px; }
	.site-footer { padding-bottom: 150px; }
}
/* Кто попросил систему убрать движение (на телефонах это часто включает энергосбережение) — кольцо стоит на месте. */
@media (prefers-reduced-motion: reduce) {
	.contact-button::before { animation: none; transform: scale(1.3); opacity: 0.25; }
	.contact-button::after { animation: none; opacity: 0; }
	.contact-list { transition: none !important; }
}

/* Плашка «Не нашли, что искали?» в конце раздела альбомов: ниже сразу «Другие разделы» со своим отступом. */
.album-grid + .more-box { margin-bottom: 0; }
