/* artworker.ae — свои стили. Светлый минимализм, как было на Тильде: белый фон, чёрный текст, большие фото. */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-var.woff2') format('woff2-variations'), url('/fonts/montserrat-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --soft: #f5f5f3;
  --dark: #0f0f0f;
  --on-dark: #f4f4f2;
  --accent: #ff8562;
  --accent-text: #b5462a;
  --shadow: 0 18px 48px rgba(17, 17, 17, .10);
  --font: 'Montserrat', -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
  --text-w: 760px;
  --gap: clamp(16px, 3vw, 32px);
  --sec: clamp(56px, 8vw, 110px);
  --radius: 10px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-weight: 600; }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gap), var(--text-w)); margin-inline: auto; }
.sec { padding-block: calc(var(--sec) * .6); }
.sec--tight { padding-block: 16px; }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--text); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.inline-cta p { margin: 0; font-size: 18px; }
.inline-cta .btns { margin: 0; flex: none; }
@media (max-width: 640px) { .inline-cta { flex-direction: column; align-items: flex-start; } }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.impact { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; font-weight: 500; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent-text); margin-bottom: 14px; }
.sec-head { margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head p { color: var(--muted); max-width: 720px; }
.sec-head.center p { margin-inline: auto; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rule { width: 48px; height: 1px; background: currentColor; opacity: .6; margin: 18px 0; border: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0 auto; width: min(100% - 2 * var(--gap), var(--text-w)); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border-radius: 30px;
  font: 600 14px/1 var(--font); letter-spacing: .02em; text-decoration: none;
  background: var(--text); color: #fff; border: 1px solid var(--text); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: #333; border-color: #333; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.18); }
.btn--light { background: #fff; color: var(--text); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btns { justify-content: center; }

/* Шапка */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; background: rgba(15, 15, 15, .92);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  transition: background .25s;
}
body.has-cover .header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body:not(.has-cover) main { padding-top: var(--header-h); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .lang { border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px; padding: 3px 10px; font-size: 12px; }
.burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--dark); padding: 8px var(--gap) 24px; display: none;
  }
  .nav a { font-size: 18px; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .lang { width: auto; margin-top: 16px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
  .nav-open .nav { display: flex; }
  .nav-open .header { background: var(--dark) !important; }
}

/* Обложка */
.cover {
  position: relative; min-height: var(--cover-h, 100vh); min-height: var(--cover-h, 100svh);
  display: flex; align-items: center; color: #fff; background: #222 center / cover no-repeat;
  overflow: hidden; isolation: isolate;
}
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.18) 100%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%); }
.cover--center::before { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.58)); }
.cover .wrap { padding-block: calc(var(--header-h) + 40px) 60px; }
.cover__box { max-width: 780px; }
.cover__box p { max-width: 600px; }
.cover--center .cover__box p { margin-inline: auto; }
.cover--center .cover__box { margin-inline: auto; text-align: center; }
.cover--center .btns { justify-content: center; }
.cover h1, .cover h2 { font-size: clamp(34px, 5.6vw, 72px); font-weight: 700; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.cover p { font-size: clamp(16px, 1.4vw, 19px); opacity: .92; }
.cover--short { --cover-h: 70vh; }
.cover .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
.cover .btn--ghost:hover { background: #fff; color: var(--text); }
.cover--long .cover__box { max-width: 820px; }
.cover--long h1, .cover--long h2 { font-size: clamp(19px, 1.9vw, 26px); font-weight: 500; line-height: 1.5; }
.cover--long strong { display: block; font-size: clamp(24px, 2.8vw, 38px); font-weight: 600; line-height: 1.25; margin-bottom: .4em; }
.cover--long br + br { display: none; }
.cover--dark { background: var(--dark); }
.cover--dark::before { background: linear-gradient(90deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.75) 45%, rgba(15,15,15,.2) 100%); }

/* Картинка + текст */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--rev .split__img { order: 2; }
.split__img img { width: 100%; border-radius: var(--radius); }
.split__img figcaption, figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
figure { margin: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--rev .split__img { order: 0; } }

.figure-wide img { width: 100%; border-radius: var(--radius); }
.quote { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.quote img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.quote blockquote { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 600; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .quote { grid-template-columns: 1fr; } }

/* Галереи */
.grid { display: grid; gap: clamp(10px, 1.6vw, 20px); grid-template-columns: repeat(var(--cols, 3), 1fr); }
.grid--2 { --cols: 2; } .grid--4 { --cols: 4; }
@media (max-width: 900px) { .grid, .grid--4 { --cols: 2; } }
@media (max-width: 520px) { .grid, .grid--2, .grid--4 { --cols: 1; } .grid.keep-2 { --cols: 2; } }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ratio, 4 / 3); transition: transform .5s; }
a.tile:hover img, button.tile:hover img { transform: scale(1.03); }
button.tile { border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; }
.mosaic { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(140px, 18vw, 260px); }
.mosaic .tile:first-child { grid-row: span 2; }
.mosaic .tile img { aspect-ratio: auto; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic .tile:first-child { grid-column: span 2; } }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.scroller .tile img { aspect-ratio: 4 / 5; }

/* Карточки */
.cards { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 900px) { .cards { --cols: 2 !important; } }
@media (max-width: 560px) { .cards { --cols: 1 !important; } }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card__img { overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.card__img img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; transition: transform .5s; }
a.card:hover .card__img img { transform: scale(1.04); }
a.card { transition: transform .25s; } a.card:hover { transform: translateY(-4px); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); }
.card .more::after { content: ' →'; transition: margin .2s; } a.card:hover .more::after { margin-left: 4px; }
.card__price { font-weight: 600; font-size: 18px; }
.card__price s { color: var(--muted); font-weight: 400; font-size: 15px; margin-left: 8px; }
.icon-card img { width: 56px; height: 56px; object-fit: contain; }
.feature { border-top: 1px solid var(--line); padding-top: 22px; }

.rows { display: grid; gap: clamp(28px, 4vw, 48px); }
.row-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; text-decoration: none; }
.row-card:nth-child(even) .card__img { order: 2; }
.row-card h3 { font-size: clamp(20px, 2vw, 28px); }
.row-card p { color: var(--muted); }
@media (max-width: 760px) { .row-card { grid-template-columns: 1fr; } .row-card:nth-child(even) .card__img { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.checklist li::before { content: ''; width: 26px; height: 26px; border-radius: 50%; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 2px; }
.checklist.numbered { counter-reset: n; }
.checklist.numbered li::before { counter-increment: n; content: counter(n); background: var(--text); color: #fff; font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.checklist h3 { margin: 0 0 4px; font-size: 17px; }
.checklist p { margin: 0; color: var(--muted); }

details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 300; }
details.acc[open] summary::after { content: '–'; }
details.acc .rich { padding-bottom: 20px; color: #333; }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.contacts h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contacts .rich { font-size: 17px; }

.video { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover; border-radius: var(--radius); overflow: hidden; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { background: rgba(0, 0, 0, .25); cursor: pointer; color: #fff; display: grid; place-items: center; }
.video button svg { width: 76px; height: 76px; }

/* Товар (изумруды, MOSAICBOX) */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.product__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product__photos .tile:first-child { grid-column: span 2; }
.product__photos .tile img { aspect-ratio: 1; }
.product .price { font-size: 26px; font-weight: 600; margin: 12px 0 18px; }
.product .price s { font-size: 18px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.product .sku { color: var(--muted); font-size: 13px; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; } .product__photos { grid-template-columns: repeat(3, 1fr); gap: 8px; } .product__photos .tile:first-child { grid-column: span 3; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 13px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 14px var(--font); color: var(--text); border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 8px 16px; min-height: 40px; cursor: pointer; transition: border-color .2s, background .2s; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs span { color: var(--text); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* Калькулятор изумрудов */
.calc { display: grid; gap: 22px; max-width: 640px; }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.calc select, .calc input[type="range"] { font: 400 16px var(--font); }
.calc select { padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--radius); background: #fff; }
.calc output { font-weight: 600; }
.calc__totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc__totals div { background: var(--soft); border-radius: var(--radius); padding: 14px 16px; }
.calc__totals b { display: block; font-size: 22px; }

/* Форма заявки */
.cta { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--soft); margin-top: calc(var(--sec) * .4); }
.cta__img { min-height: 360px; position: relative; }
.cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__body { padding: clamp(32px, 5vw, 72px); max-width: 620px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta__img { min-height: 260px; } }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea {
  font: 400 16px var(--font); color: var(--text); background: #fff;
  border: 1px solid #cfcfcf; border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form__note a { text-decoration: underline; }
.form__status { font-size: 14px; min-height: 1.4em; margin: 0; }
.form__status.is-error { color: #c0392b; }
.form__captcha { display: none; } .form__captcha.is-visible { display: block; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form__done h3 { margin-top: 0; }

dialog.modal { border: 0; padding: 0; width: min(100% - 32px, 520px); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .6); }
.modal__body { padding: 36px 30px 30px; position: relative; }
.modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal__body h2 { font-size: 26px; padding-right: 30px; }
.modal__context { color: var(--muted); font-size: 14px; margin-top: -6px; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox__img { width: 100%; height: 100%; display: grid; place-items: center; padding: 50px 60px; }
.lightbox__img img { max-width: 100%; max-height: calc(100vh - 100px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: fixed; background: rgba(0,0,0,.4); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Подвал */
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 28px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: rgba(244,244,242,.7); max-width: 380px; }
.footer__h { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(244,244,242,.55); margin-bottom: 16px; font-weight: 600; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; opacity: .88; } .footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(244,244,242,.6); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; opacity: 1; transition: background .2s, color .2s; }
.social a:hover { background: #fff; color: var(--dark); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.to-top { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; opacity: .85; min-height: 40px; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* Кнопка заявки в шапке */
.nav .nav__cta { background: var(--accent); color: #111; opacity: 1; font-weight: 700; padding: 9px 18px; border-radius: 30px; transition: transform .2s, box-shadow .2s; }
.nav .nav__cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,133,98,.35); }
@media (max-width: 860px) { .nav .nav__cta { width: auto; margin-top: 18px; padding: 12px 24px; border-bottom: 0; } }

/* Цифры доверия под обложкой */
.trust { background: var(--dark); color: var(--on-dark); padding-block: clamp(28px, 4vw, 44px); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__item { border-left: 1px solid rgba(255,255,255,.14); padding-left: 20px; }
.trust__item b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--accent); }
.trust__item span { display: block; margin-top: 4px; line-height: 1.4; font-size: 12px; color: rgba(244,244,242,.7); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) { .trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

/* Плавающая кнопка WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border-radius: 30px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }
body.nav-open .wa-float { display: none; }

/* Страница работы */
.product__info { position: sticky; top: calc(var(--header-h) + 24px); }
.product__note { font-size: 14px; margin-top: 18px; }
.product__note a { text-decoration: underline; }
@media (max-width: 800px) { .product__info { position: static; } }

/* Появление блоков при прокрутке */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Страницы с artworker.pro: кейсы, услуги, статьи, каталог (21.11.2026) ---------- */
.sec--top { padding-top: calc(var(--sec) * .45); padding-bottom: calc(var(--sec) * .45); }
.sec--flush { padding-top: 0; }
.small { font-size: 14px; }
.page-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-hero--solo { grid-template-columns: 1fr; max-width: var(--text-w); }
.page-hero h1 { margin: 0 0 16px; }
.page-hero .lead { color: var(--muted); }
.page-hero .btns { margin-top: 24px; }
.hero-photo { display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; }
.hero-photo img { aspect-ratio: 4 / 3.2; }
.price-from { font-size: 18px; margin: 18px 0 0; } .price-from b { font-size: 28px; font-weight: 800; }
@media (max-width: 860px) { .page-hero { grid-template-columns: 1fr; } .page-hero__img { order: -1; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.article { font-size: 17px; }
.article h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.6em 0 .5em; }
.article h2:first-child { margin-top: 0; }
blockquote.pull { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
blockquote.pull p { font-size: 20px; line-height: 1.5; font-weight: 500; margin: 0 0 8px; }
blockquote.pull cite { font-style: normal; font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 28px 0; }
.stats div { background: var(--soft); border-radius: var(--radius); padding: 18px; }
.stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 14px; }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); }
.photo-grid .tile { border: 0; padding: 0; cursor: zoom-in; display: block; }
.photo-grid .tile img { aspect-ratio: 1; }
.card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.btn--ghost-dark { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn--ghost-dark:hover { background: var(--text); color: #fff; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band__in > div:first-child { max-width: 640px; }
.cta-band h2 { margin: 0 0 10px; color: #fff; }
.cta-band p { color: rgba(244,244,242,.75); margin: 0; }
.price-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 500; }
.price-table td { white-space: nowrap; text-align: right; } .price-table td b { font-size: 18px; }
.price-group { margin-bottom: 40px; }
.price-group h2 { font-size: clamp(22px, 2.4vw, 28px); }
.more-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: st; background: var(--soft); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-weight: 800; font-size: 28px; color: var(--accent-text); margin-bottom: 8px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; } .steps p { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-filters { display: grid; gap: 10px; margin-bottom: 18px; }
.filter-group { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; }
.filter-group > span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); padding-top: 12px; }
.filter-group .filters { margin: 0; }
.filters button small { color: var(--muted); font-size: 12px; margin-left: 2px; }
.filters button[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .filter-group { grid-template-columns: 1fr; gap: 6px; } .filter-group > span { padding-top: 0; }
  .filter-group .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; } .filters button { flex: none; } }
.catalog-count { margin: 0 0 20px; font-size: 14px; }
.split-lite { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split-lite img { border-radius: var(--radius); }
@media (max-width: 800px) { .split-lite { grid-template-columns: 1fr; } }
.links-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.links-grid a { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
.links-grid a:hover { border-color: var(--text); transform: translateY(-2px); }
.links-grid span { color: var(--muted); font-size: 15px; }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
.footer__list small { display: block; font-size: 13px; color: rgba(244,244,242,.5); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__bottom a { color: inherit; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: #fff; color: var(--text);
  border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.25); padding: 18px 20px; display: grid; gap: 12px; font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; } .consent a { text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; } .consent .btn { min-height: 44px; padding: 10px 20px; }
.consent .btn--ghost { color: var(--text); border-color: var(--line); }
.page-hero h1 { font-size: clamp(30px, 3.8vw, 50px); }
.sec--top .sec-head h1 { font-size: clamp(32px, 4.4vw, 56px); }
.card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { padding: 10px 0; min-height: 44px; }

/* ---------- Статья с фото внутри текста (24.11.2026) ---------- */
.article h3 { font-size: clamp(20px, 2vw, 24px); margin: 1.6em 0 .4em; letter-spacing: -.01em; }
.article p a, .article li a, .article dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.article .fig { margin: 28px 0; }
.article .fig .tile, .sketches .tile { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.article .fig img { width: 100%; height: auto; border-radius: var(--radius); }
.figs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 28px 0; }
.figs .fig { margin: 0; }
.figs .fig img { aspect-ratio: 4 / 3; object-fit: cover; }
.plaque { margin: 40px 0 8px; }
.plaque img { width: 100%; height: auto; border-radius: 6px; }
.stats--specs { margin: 18px 0 22px; }
.stats--specs b { font-size: 22px; }
.sketches { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin: 24px 0 8px; }
.sketches figure { margin: 0; }
.sketches img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; height: auto; background: var(--soft); }
.sketches figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.sketches figcaption b { display: block; color: var(--text); font-weight: 600; }
.feature-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 24px 0; }
.feature-list div { background: var(--soft); border-radius: var(--radius); padding: 18px 20px; }
.feature-list dt { font-weight: 700; margin-bottom: 4px; }
.feature-list dd { margin: 0; color: var(--muted); font-size: 15px; }
.steps--article { margin: 24px 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.article .links-grid { margin: 24px 0; }
.article .links-grid a { color: inherit; }
.article .links-grid small.more { font-weight: 600; font-size: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding-top: 4px; }
.toc b { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.toc a { font-size: 14px; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: inherit; }
.toc a:hover { border-color: var(--text); }
@media (max-width: 640px) { .sketches { grid-template-columns: repeat(2, 1fr); } }
.article .steps--article h3 { margin: 0 0 6px; }
.item-cards { display: grid; gap: 22px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 24px 0 8px; }
.item-card .tile { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.item-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; background: var(--soft); border-radius: 10px; }
.item-card b { display: block; margin-top: 10px; font-size: 16px; line-height: 1.3; }
.item-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.item-card p { font-size: 15px; margin: 6px 0 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.table-wrap td { text-align: left; white-space: normal; font-size: 15px; }
.table-wrap td:nth-child(2) { white-space: nowrap; }
.table-wrap thead th { font-weight: 700; font-size: 14px; color: var(--muted); }
.item-cards--floor { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px 20px; }
.item-cards--floor .item-card img { aspect-ratio: 4 / 3; }
.item-cards--pattern { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.item-cards--pattern .item-card img { aspect-ratio: 3 / 2; }
.item-cards--pattern .item-card p { font-size: 14px; }
