/* «Каприз» — стили сайта. Эталон: design/approved/kapriz-variant-A.jpg, палитра логотипа B.
   Токены — только здесь, в :root. Шаг отступов кратен 8 px. */

@font-face { font-family: "Onest"; src: url("/fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #2B2340;          /* «Чернила»: текст, тёмные плоскости */
  --ink-soft: #5A5270;     /* второстепенный текст на светлом */
  --saffron: #E0B24F;      /* «Шафран»: только целевое действие и цена */
  --saffron-hover: #D3A23C;
  --bg: #F5F0E8;           /* тёплый светлый (вариант A4 «Дневной свет») */
  --bg-2: #ECE8F2;         /* светлый сиреневый: чередование секций, карточки */
  --line: #DCD6E4;
  --white: #FFFFFF;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 18px;
  --fs-small: 15px;
  --fs-h3: 22px;
  --fs-h2: clamp(32px, 4vw, 48px);
  --fs-h1: clamp(40px, 6.2vw, 80px);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --container: 1280px;
  --gutter: 24px;
  --pad: 48px;             /* поля контейнера на десктопе */
  --radius: 8px;
}
@media (max-width: 760px) { :root { --pad: 20px; --fs-body: 17px; --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: calc(var(--container) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--s7) 0; }
.section--alt { background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-bottom: var(--s5); }
.section__head h2 { grid-column: span 7; }
.section__head p { grid-column: 9 / span 4; color: var(--ink-soft); }
@media (max-width: 900px) {
  .section { padding: var(--s6) 0; }
  .section__head { display: block; }
  .section__head p { margin-top: var(--s2); }
}

/* Кнопка: одна на экран, шафран */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 var(--s4);
  background: var(--saffron); color: var(--ink); font: 600 17px/1 var(--font); text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer; }
.btn:hover { background: var(--saffron-hover); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Шапка ---------- */
.site-header { position: relative; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s4); min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__sign { width: 44px; height: 44px; flex: none; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-size: 30px; font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; }
.logo__sub { white-space: nowrap; font-size: 11px; line-height: 1.2; margin-top: 4px; opacity: 0.75; }
.nav { display: flex; gap: var(--s4); margin-left: auto; }
.nav a { font-size: 16px; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header__phone { font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; margin-left: var(--s4); }
.phone-icon { display: none; width: 22px; height: 22px; }
.burger { display: none; flex: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; color: inherit; cursor: pointer; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; }

/* На главной шапка лежит поверх фото */
.home .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; border: 0; color: var(--white); }
.home .logo__sign .k-bg { fill: var(--white); }
.home .logo__sign .k-light { fill: var(--ink); }

@media (max-width: 1100px) { .nav { gap: var(--s3); } .site-header__phone { margin-left: var(--s3); } }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: var(--s1) var(--pad) var(--s3); background: var(--ink); color: var(--white); }
  .nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav.is-open { display: flex; }
  .burger { display: block; margin-left: var(--s2); }
  .site-header__phone { margin-left: auto; font-size: 15px; }
}
@media (max-width: 420px) { .logo__name { font-size: 26px; } .logo__sign { width: 38px; height: 38px; } .logo__sub { display: none; } .phone-text { display: none; } .phone-icon { display: block; } .site-header__phone { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; } .burger { margin-left: 0; } }

/* ---------- Первый экран главной (вариант A) ---------- */
.hero-a { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); }
.hero-a__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-a::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(43,35,64,.86) 0%, rgba(43,35,64,.62) 45%, rgba(43,35,64,.18) 75%, rgba(43,35,64,.08) 100%),
              linear-gradient(0deg, rgba(43,35,64,.7) 0%, rgba(43,35,64,0) 45%); }
.hero-a__inner { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: var(--s5); }
.hero-a h1 { font-size: var(--fs-h1); max-width: 11.5em; }
.hero-a__lead { margin-top: var(--s3); max-width: 34em; font-size: 20px; line-height: 1.45; }
.hero-a__price { margin-top: var(--s4); font-size: 18px; }
.hero-a__price strong { color: var(--saffron); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin-right: 8px; }
.hero-a__sale { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--saffron); }
.hero-a__sale::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.hero-a__actions { margin-top: var(--s4); display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.hero-a__actions a[href^="tel"] { color: var(--white); }
.facts { margin: var(--s6) 0 0; padding: var(--s4) 0 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.facts b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.facts span { display: block; margin-top: 6px; font-size: var(--fs-small); opacity: .85; }
@media (max-width: 760px) {
  .hero-a { min-height: auto; }
  .hero-a__photo { object-position: 78% 30%; }
  .hero-a::before { background: linear-gradient(0deg, rgba(43,35,64,.94) 0%, rgba(43,35,64,.86) 55%, rgba(43,35,64,.25) 100%); }
  .hero-a__inner { padding-top: 260px; padding-bottom: var(--s4); }
  .hero-a__lead { font-size: 17px; }
  .hero-a__actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: var(--s2); margin-top: var(--s4); }
  .facts li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: var(--s2); }
  .facts b { font-size: 24px; }
  .facts span { margin: 0; }
}

/* ---------- Что делаем ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.card { display: flex; flex-direction: column; padding: var(--s4); background: var(--white); border-radius: var(--radius); }
.card p { margin-top: var(--s2); color: var(--ink-soft); }
.card__foot { margin-top: auto; padding-top: var(--s4); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.card__price { font-weight: 600; font-size: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Один дизайнер ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: stretch; }
.split__text { grid-column: span 5; display: flex; flex-direction: column; }
.split__text p { margin-top: var(--s3); }
.split__text .note { margin-top: auto; padding-top: var(--s4); color: var(--ink-soft); }
.split__media { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.person figcaption { margin-top: 12px; }
.person b { display: block; font-size: 20px; font-weight: 600; }
.person span { color: var(--ink-soft); font-size: var(--fs-small); }
@media (max-width: 900px) {
  .split { display: block; }
  .split__text .note { padding-top: var(--s3); }
  .split__media { margin-top: var(--s5); }
}

/* ---------- Рассрочка ---------- */
.band { background: var(--ink); color: var(--white); }
.band__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.band h2 { grid-column: span 5; }
.band p { grid-column: 7 / span 6; font-size: 20px; }
.band .link { color: var(--saffron); }
@media (max-width: 900px) { .band__inner { display: block; } .band p { margin-top: var(--s3); } }

/* ---------- Отзывы ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.quote { margin: 0; display: flex; flex-direction: column; padding: var(--s4); background: var(--white); border-radius: var(--radius); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.quote figcaption { margin-top: auto; padding-top: var(--s3); font-size: var(--fs-small); color: var(--ink-soft); }
.quote figcaption b { display: block; color: var(--ink); font-size: 16px; }
.quotes--1 { grid-template-columns: minmax(0, 720px); margin-top: var(--s4); }
.quotes--2 { grid-template-columns: repeat(2, 1fr); margin-top: var(--s4); }
@media (max-width: 900px) { .quotes, .quotes--2 { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.faq h2 { grid-column: span 4; }
.faq__list { grid-column: 6 / span 7; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s3) 40px var(--s3) 0; position: relative; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 var(--s3); color: var(--ink-soft); max-width: 40em; }
@media (max-width: 900px) { .faq { display: block; } .faq__list { margin-top: var(--s4); } .faq summary { font-size: 18px; } }

/* ---------- Форма и контакты ---------- */
.section--form { background: var(--ink); color: var(--white); }
.form-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.form-wrap__text { grid-column: span 5; }
.form-wrap__text p { margin-top: var(--s3); font-size: 20px; }
.contacts { margin-top: var(--s5); display: grid; gap: var(--s2); font-size: 17px; }
.contacts span { display: block; font-size: 14px; opacity: .7; }
.contacts a { text-decoration: none; }
.msgs { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: 6px; }
.msg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; font-size: 16px; }
.msg svg { width: 20px; height: 20px; flex: none; }
.msg:hover { background: rgba(255,255,255,.08); }
.lead-form { grid-column: 7 / span 6; display: grid; gap: var(--s2); align-content: start; }
.lead-form input[type="text"], .lead-form input[type="tel"] { height: 60px; padding: 0 var(--s3); font: 18px var(--font); color: var(--ink);
  background: var(--white); border: 0; border-radius: var(--radius); }
.lead-form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; opacity: .85; }
.lead-form__consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--saffron); }
.lead-form .btn { min-height: 60px; width: 100%; }
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__status { min-height: 1.4em; font-size: 16px; line-height: 1.4; }
.lead-form.is-sent > :not(.lead-form__status):not(script) { display: none; }
.lead-form.is-sent .lead-form__status { font-size: 20px; font-weight: 600; }
@media (max-width: 900px) { .form-wrap { display: block; } .lead-form { margin-top: var(--s5); } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.12); padding: var(--s4) 0 var(--s5); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; }
.site-footer a { color: inherit; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__nav a { color: #fff; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }

/* Липкая кнопка — только на телефоне */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; min-height: 52px; align-items: center; justify-content: center;
    background: var(--saffron); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(43,35,64,.25); transition: transform .2s, opacity .2s; }
  .sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 76px; }
}
.card__title-gap { margin-top: var(--s3); }

/* ================= Вариант A4 «Дневной свет» (выбор Максима 05.10) ================= */
.daylight { position: relative; overflow: hidden; isolation: isolate; }
.daylight::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 14% at 14% 6%, rgba(224,178,79,.30), rgba(224,178,79,0) 70%),
    radial-gradient(30% 10% at 58% 2%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(38% 16% at 92% 30%, rgba(166,146,200,.26), rgba(166,146,200,0) 70%),
    radial-gradient(40% 14% at 6% 56%, rgba(224,178,79,.22), rgba(224,178,79,0) 70%),
    radial-gradient(40% 16% at 88% 78%, rgba(166,146,200,.24), rgba(166,146,200,0) 70%),
    radial-gradient(36% 12% at 30% 96%, rgba(224,178,79,.18), rgba(224,178,79,0) 70%); }
.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.beams i { position: absolute; top: -10%; width: 160px; height: 120%; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); transform: rotate(28deg); filter: blur(18px); animation: drift 18s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: 8%; }
.beams i:nth-child(2) { left: 22%; width: 90px; animation-delay: -6s; }
.beams i:nth-child(3) { left: 70%; width: 120px; opacity: .7; animation-delay: -11s; }
@keyframes drift { from { transform: translateX(-40px) rotate(28deg); } to { transform: translateX(60px) rotate(28deg); } }

/* Появление при прокрутке; без JS и при «уменьшить движение» всё видно сразу */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .beams i { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Работы: мозаика (вариант B1) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 280px); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mosaic li { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.mosaic li:hover img { transform: scale(1.04); }
.chip { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; background: rgba(43,35,64,.86); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; padding: 7px 12px; border-radius: 6px; }
.section__more { margin-top: var(--s5); }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 300px repeat(2, 220px); } .mosaic li:first-child { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 520px) { .mosaic { grid-template-rows: 240px repeat(2, 180px); gap: 10px; } .chip { font-size: 12px; left: 8px; bottom: 8px; right: 8px; padding: 6px 9px; } }

/* ---------- Что делаем: карточки с фото ---------- */
.svc { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.75); box-shadow: 0 1px 0 rgba(43,35,64,.06); }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease; }
.svc:hover img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: var(--s3) 28px 28px; }
.svc__body p { margin-top: 12px; color: var(--ink-soft); }
.svc .card__foot { padding-top: var(--s3); }

/* ---------- Как проходит заказ: контурные номера и шафрановая линия ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: "0" counter(step); display: block; font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(43,35,64,.35); margin-bottom: 20px; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 68px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform 1s ease .3s; }
.steps.in li::after, html:not(.js) .steps li::after { transform: scaleX(1); }
.steps li:nth-child(2)::after { transition-delay: .5s; } .steps li:nth-child(3)::after { transition-delay: .7s; } .steps li:nth-child(4)::after { transition-delay: .9s; }
.steps h3 { margin: 28px 0 12px; }
.steps p { color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s5); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; row-gap: var(--s4); } .steps li::before { font-size: 44px; } .steps li::after { top: 56px; } }

/* ---------- Гарантия и материалы: крупный план (вариант C2) ---------- */
.closeup { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.closeup__photo { position: relative; overflow: hidden; }
.closeup__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closeup__badge { position: absolute; left: 32px; bottom: 32px; background: var(--saffron); color: var(--ink); padding: 24px 28px; border-radius: var(--radius); }
.closeup__badge b { display: block; font-size: 56px; line-height: 1; letter-spacing: -.03em; font-weight: 600; }
.closeup__text { background: var(--bg-2); padding: var(--s7) 64px; display: flex; flex-direction: column; justify-content: center; }
.closeup__text > p { margin-top: 20px; color: var(--ink-soft); max-width: 34em; }
.closeup__rows { margin-top: var(--s4); }
.closeup__rows div { display: grid; grid-template-columns: 140px 1fr; gap: var(--s2); padding: 18px 0; border-top: 1px solid var(--line); }
.closeup__rows b { font-weight: 600; }
@media (max-width: 900px) { .closeup { grid-template-columns: 1fr; } .closeup__photo { min-height: 420px; } .closeup__text { padding: var(--s6) var(--pad); } .closeup__rows div { grid-template-columns: 1fr; gap: 4px; } }

/* ================= Внутренние страницы (шаблоны service / works) ================= */
.page-hero { padding: var(--s6) 0 var(--s7); }
.page-hero__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.page-hero__text { grid-column: span 6; }
.page-hero__text h1 { font-size: clamp(36px, 4.6vw, 60px); margin-top: var(--s2); }
.page-hero__text p { margin-top: var(--s3); font-size: 19px; max-width: 34em; }
.page-hero__text p strong { color: var(--ink); font-size: 24px; font-weight: 600; }
.page-hero__text .btn { margin-top: var(--s1); }
.page-hero__photo { grid-column: 8 / span 5; margin: 0; }
.page-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.crumbs { font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: inherit; }
@media (max-width: 900px) {
  .page-hero { padding: var(--s4) 0 var(--s5); }
  .page-hero__inner { display: flex; flex-direction: column-reverse; align-items: stretch; gap: var(--s4); }
  .page-hero__text .btn { width: 100%; }
}

/* Текстовые секции из content/*.md */
.section--text h2, .section--faq h2, .section--related h2 { max-width: 20em; }
.section--text h2 + * { margin-top: var(--s4); }
.section--text > .container > p, .section--text > .container > ul:not(.mosaic):not(.gallery) { max-width: 46em; color: var(--ink-soft); }
.section--text > .container > p + p { margin-top: var(--s2); }
.section--text > .container > ul:not(.mosaic):not(.gallery) { margin: var(--s3) 0 0; padding: 0; list-style: none; }
.section--text > .container > ul:not(.mosaic):not(.gallery) li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; color: var(--ink); }
.section--text > .container > ul:not(.mosaic):not(.gallery) li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.section--text h3 { margin-top: var(--s4); }
.section--text .cards, .section--text .mosaic, .section--text .gallery, .section--text .price-table { margin-top: var(--s4); }
.section--text .btn { margin-top: var(--s3); }

/* Таблица цен */
.price-table { width: 100%; max-width: 900px; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 500; padding-right: var(--s3); }
.price-table td { font-weight: 600; white-space: nowrap; text-align: right; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 1px solid var(--line); }

/* Вопросы и ответы из сборщика */
.section--faq .faq__item { border-top: 1px solid var(--line); max-width: 900px; }
.section--faq .faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.section--faq h2 { margin-bottom: var(--s4); }
.section--faq summary { list-style: none; cursor: pointer; padding: var(--s3) 40px var(--s3) 0; position: relative; font-size: 20px; font-weight: 600; }
.section--faq summary::-webkit-details-marker { display: none; }
.section--faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; }
.section--faq details[open] summary::after { content: "−"; }
.section--faq details p { padding: 0 0 var(--s3); color: var(--ink-soft); max-width: 44em; }

/* Смотрите также */
.section--related ul { margin: var(--s3) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.section--related li a { display: inline-block; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 500; }
.section--related li a:hover { background: var(--ink); color: #fff; }

/* Галерея работ с фильтром */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s4); }
.filters button { border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 10px 18px; border-radius: 999px; font: 500 15px var(--font); cursor: pointer; }
.filters button.on { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery li[hidden] { display: none; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.gallery figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.inner .site-header { background: transparent; border-bottom: 1px solid var(--line); }
.section--text .mosaic + p, .section--text .gallery + p { margin-top: var(--s4); }
