/* Сайты марок ALONZO и DecorPro (13.11.2026): тёмный фон, медно-золотой акцент логотипов, шрифт Montserrat со своего
   сервера. Сначала — телефон, потом шире. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/montserrat-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #0d0d0e; --bg2: #141416; --bg3: #1c1c1f; --line: rgba(255, 255, 255, .09);
  --text: #f4f0ea; --soft: #cfc8bf; --muted: #a39d95;
  --gold: #e2a263; --gold2: #f0b680; --gold-ink: #17120d;
  --cream: #f3eee6; --ink: #1d1b19;
  --radius: 14px; --wrap: 1200px;
}
.site-decorpro { --bg: #0f1012; --bg2: #16171a; --bg3: #1e2024; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); padding-bottom: 76px;
  font: 400 16px/1.6 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---- шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(13, 13, 14, .84);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 36px; width: auto; }
.site-decorpro .logo img { height: 30px; }
@media (min-width: 960px) { .logo img { height: 42px; } .site-decorpro .logo img { height: 34px; } }
.menu { display: none; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.menu a:hover { color: var(--gold); }
.top-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 6px 11px;
  border-radius: 999px; color: var(--muted); }
.langs a[aria-current] { background: var(--bg3); color: var(--text); }
.top-phone { padding: 0 12px; }
.top-phone .label { display: none; }
@media (min-width: 600px) { .top-phone .label { display: inline; } .top-phone { padding: 0 18px; } }
@media (min-width: 960px) { .menu { display: flex; } .top-act { margin-left: 30px; } }

/* ---- кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font: 600 15px/1.2 Montserrat, system-ui, sans-serif;
  text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold2); }
.btn-ghost { border-color: rgba(255, 255, 255, .24); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-line { min-height: 42px; padding: 0 16px; font-size: 14px; border-color: rgba(255, 255, 255, .22); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.light .btn-line { color: var(--ink); border-color: rgba(0, 0, 0, .2); }
.light .btn-line:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---- первый экран */
.hero { position: relative; overflow: hidden; padding: 36px 0 52px; }
.hero::before { content: ""; position: absolute; top: -30%; right: -25%; width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(226, 162, 99, .16), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 36px; align-items: center; }
.kicker { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 7.2vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; margin: 0 0 18px; }
.lead { color: var(--soft); font-size: 17px; max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.hero-art img { width: 100%; height: auto; object-fit: cover; }
.hero-art-doors { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: 10px; align-items: center; }
.hero-art-doors figure { position: relative; background: #e9e2d6; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.hero-art-doors figure:nth-child(2) { top: -14px; }
.hero-art-doors img { aspect-ratio: 3 / 4; }
.hero-art-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-art-profiles figure { background: #000; border: 1px solid var(--line); }
.hero-art-profiles img { aspect-ratio: 16 / 11; }
@media (min-width: 960px) {
  .hero { padding: 76px 0 92px; }
  .hero-in { grid-template-columns: 1fr 1.08fr; gap: 56px; }
  .hero-art-doors { gap: 16px; }
  .hero-art-doors figure:nth-child(2) { top: -26px; }
  .hero-art-profiles { gap: 16px; }
}

/* ---- разделы */
section { scroll-margin-top: 72px; }
.sec { padding: 60px 0; }
@media (min-width: 960px) { .sec { padding: 88px 0; } }
.sec-head { margin-bottom: 26px; max-width: 760px; }
h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 10px; font-weight: 700; }
.muted { color: var(--muted); }
.sec-head .muted { margin: 0; }
.light { background: var(--cream); color: var(--ink); --muted: #6e665c; --line: rgba(0, 0, 0, .1); }

/* ---- преимущества */
.features { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: 1fr; }
.feat { padding: 26px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat .ic { width: 28px; height: 28px; color: var(--gold); margin-bottom: 12px; }
.feat h3 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .feat { padding: 30px 26px 30px 0; }
  .feat:nth-child(odd) { border-right: 1px solid var(--line); }
  .feat:nth-child(even) { padding-left: 26px; }
  .feat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1040px) {
  .grid4 { grid-template-columns: repeat(4, 1fr); }
  .feat, .feat:nth-child(even) { padding: 36px 26px; border-bottom: 0; border-right: 1px solid var(--line); }
  .feat:first-child { padding-left: 0; }
  .feat:last-child { border-right: 0; padding-right: 0; }
}

/* ---- фильтры */
.filters { display: grid; gap: 10px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; } }
.chips-label { font-size: 13px; color: var(--muted); margin-right: 4px; white-space: nowrap; min-width: 64px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent;
  color: inherit; border-radius: 999px; padding: 9px 16px; font: 500 14px/1 Montserrat, system-ui, sans-serif; cursor: pointer;
  white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.chip small { font-size: 12px; opacity: .65; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.light .chip { border-color: rgba(0, 0, 0, .14); }
.light .chip:hover { border-color: var(--ink); }
.light .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }
.empty { color: var(--muted); padding: 20px 0; }

/* ---- карточки */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg2);
  border: 1px solid var(--line); }
.light .card { background: #fff; border-color: rgba(0, 0, 0, .06); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.card-img { display: block; width: 100%; padding: 0; border: 0; margin: 0; background: none; cursor: zoom-in; overflow: hidden; }
.card-img img { width: 100%; height: auto; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.035); }
.door .card-img { background: #ebe4d8; }
.door .card-img img { aspect-ratio: 4 / 5; }
.profile .card-img { background: #000; }
.profile .card-img img { aspect-ratio: 16 / 10; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.card-body h3, .card-body h4 { font-size: 16px; line-height: 1.3; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.card-body .btn { margin-top: auto; width: 100%; }
.card-body > p:last-of-type { margin-bottom: 12px; }
.tags, .size, .sum { font-size: 13px; color: var(--muted); margin: 0; }
.price { font-size: 19px; font-weight: 700; color: var(--gold); margin: 6px 0 0; white-space: nowrap; }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.variant { font-size: 13px; color: var(--soft); margin: 0; }
.variant b { color: var(--text); font-weight: 600; white-space: nowrap; }
.cat-block + .cat-block { margin-top: 10px; }
.cat-block:not(.open) .extra { display: none; }
.cat-block.open .more-btn { display: none; }
.more-btn { margin-top: 18px; }
.cat-title { display: flex; align-items: baseline; gap: 10px; font-size: 21px; margin: 30px 0 14px; font-weight: 700; }
.cat-title span { font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-block:first-of-type .cat-title { margin-top: 6px; }
@media (min-width: 720px) { .card-body { padding: 16px 18px 18px; } .card-body .btn { width: auto; align-self: flex-start; } }

/* ---- как работаем (ALONZO) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; color: var(--gold); font-weight: 700; font-size: 14px;
  letter-spacing: .12em; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- где применяются и покраска (DecorPro) */
.use-in { display: grid; gap: 28px; }
@media (min-width: 960px) { .use-in { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; } }
.use { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.use li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); }
.use .ic { color: var(--gold); margin-top: 2px; }
.paint { padding: 28px 24px; border-radius: 20px; background: linear-gradient(140deg, rgba(226, 162, 99, .16), rgba(226, 162, 99, .03) 60%), var(--bg2);
  border: 1px solid rgba(226, 162, 99, .3); }
.paint .paint-ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.paint h2 { font-size: 26px; }
.paint p { color: var(--soft); margin: 0 0 20px; }

/* ---- наши работы */
.works-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.works-grid figure { position: relative; margin: 0; min-width: 0; }
.badge-new { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--gold);
  color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; pointer-events: none;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.works-grid .card-img { border-radius: var(--radius); }
.works-grid img { aspect-ratio: 3 / 4; }
.works-grid figure:hover img { transform: scale(1.035); }
.works-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.works-more { margin: 26px 0 0; }

/* ---- заявка и контакты */
.order { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); border-top: 1px solid var(--line); }
.order-in { display: grid; gap: 34px; }
@media (min-width: 960px) { .order-in { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.order-card { position: relative; background: var(--bg3); border: 1px solid var(--line); border-radius: 22px; padding: 26px 18px; }
@media (min-width: 720px) { .order-card { padding: 38px; } }
.order-card > .muted { margin: 0 0 22px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px; padding: 14px; font: 400 16px/1.4 Montserrat, system-ui, sans-serif; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 162, 99, .2); }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 10px 8px 10px 14px;
  border-radius: 12px; background: rgba(226, 162, 99, .1); border: 1px solid rgba(226, 162, 99, .38); font-size: 14px; }
.picked b { color: var(--gold); }
.picked button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent;
  color: var(--muted); cursor: pointer; flex: none; }
.picked button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.form-errors { margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(229, 87, 64, .12);
  border: 1px solid rgba(229, 87, 64, .5); color: #ffb3a4; font-size: 14px; }
.form-errors p { margin: 3px 0; }
.consent { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.consent a { color: var(--gold); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contacts h2 { margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg2); text-decoration: none; transition: border-color .2s; }
.contact-list a:hover { border-color: rgba(226, 162, 99, .55); }
.contact-list .ic { width: 22px; height: 22px; color: var(--gold); }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list b { font-weight: 600; overflow-wrap: anywhere; }

/* ---- вторая марка, подвал */
.sister { display: block; text-decoration: none; background: var(--bg2); border-top: 1px solid var(--line); transition: background .2s; }
.sister:hover { background: var(--bg3); }
.sister-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px;
  font-weight: 600; font-size: 17px; }
.sister .ic { color: var(--gold); }
.foot { border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-brand img { height: 22px; width: auto; }
.foot-brand p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.foot-nav a { color: var(--muted); text-decoration: none; display: inline-flex; }
.foot-nav a:hover { color: var(--text); }

/* ---- кнопки внизу экрана телефона */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 14, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mbar .btn { flex: 1; min-height: 48px; padding: 0 12px; }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---- просмотр фото */
.viewer { width: min(980px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 1px solid var(--line);
  border-radius: 18px; background: var(--bg2); color: var(--text); overflow: auto; }
.viewer::backdrop { background: rgba(0, 0, 0, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.viewer-in { display: grid; }
.viewer-img { background: #000; display: grid; place-items: center; }
.viewer-img img { width: 100%; height: auto; max-height: 70dvh; object-fit: contain; }
.viewer-info { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.viewer-info h3 { font-size: 20px; margin: 0; }
.viewer-info p { margin: 0; }
.viewer-price { color: var(--gold); font-weight: 600; }
.viewer-info .btn { margin-top: 10px; }
.viewer-x { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
@media (min-width: 800px) {
  .viewer-in { grid-template-columns: 1.35fr 1fr; }
  .viewer-img img { max-height: calc(100dvh - 40px); }
  .viewer-info { justify-content: center; padding: 34px 30px; }
}

/* ---- страницы: политика, «спасибо», 404 */
.page { padding: 48px 0 80px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(28px, 6vw, 42px); }
.prose h2 { font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 20px; }
.done { text-align: left; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(226, 162, 99, .14);
  color: var(--gold); margin-bottom: 22px; }
.done-ic .ic { width: 30px; height: 30px; }
.done .hero-cta { margin: 24px 0 30px; }
.back { color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }

/* ================================================================ движение (13.11.2026, «сделай наш сайт моушен»)
   Без скрипта и при «уменьшить движение» всё видно сразу и стоит на месте. */

/* заставка: логотип и полоса — один раз за посещение, сама уходит вверх */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg);
  animation: intro-out .7s cubic-bezier(.7, 0, .2, 1) .95s forwards; }
.intro-in { display: grid; justify-items: center; gap: 22px; animation: intro-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.intro img { height: 54px; width: auto; }
.intro-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; border-radius: 2px; }
.intro-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: intro-bar .85s cubic-bezier(.6, 0, .2, 1) both; }
html:not(.js) .intro, html.seen .intro { display: none; }
@keyframes intro-in { from { opacity: 0; translate: 0 14px; } }
@keyframes intro-bar { from { transform: scaleX(0); } }
@keyframes intro-out { to { translate: 0 -100%; visibility: hidden; } }

/* полоса прокрутки страницы */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40; background: var(--gold); transform-origin: left;
  transform: scaleX(var(--p, 0)); pointer-events: none; }

/* появление при прокрутке; на первом экране — после заставки */
.hero { --hd: 0s; }
html.js:not(.seen) .hero { --hd: 1s; }
html.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0s) + var(--hd, 0s)); }
html.js [data-reveal].in { opacity: 1; translate: 0 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
html.js .split .w > span { translate: 0 110%; transition: translate 1.05s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i) * 65ms + var(--hd, 0s) + .05s); }
html.js .split.in .w > span { translate: 0 0; }
/* первый экран — без ожидания скрипта (на медленном интернете он может прийти позже): анимация на CSS */
html.js .hero [data-reveal] { opacity: 1; translate: 0 0; transition: none;
  animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0s) + var(--hd, 0s)); }
html.js .hero .split .w > span { translate: 0 0; transition: none;
  animation: word-up 1.05s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 65ms + var(--hd, 0s) + .05s); }
@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes word-up { from { translate: 0 110%; } }
/* скрипт не запустился за 3 с — всё видно без анимации */
html.nomotion [data-reveal], html.nomotion .split .w > span { opacity: 1 !important; translate: none !important; animation: none !important; }

/* огромное слово марки за первым экраном, плывёт при прокрутке */
.bigword { position: absolute; left: 0; right: 0; bottom: -2vw; overflow: hidden; pointer-events: none; z-index: 0; }
.bigword span { display: block; white-space: nowrap; font-weight: 800; font-size: 24vw; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(226, 162, 99, .13); translate: calc(var(--drift, 0) * 1px) 0; }
.hero-in { z-index: 1; }

/* числа на первом экране */
.stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 34px 0 0; }
.stats div { min-width: 90px; }
.stats dt { font-size: clamp(30px, 5vw, 42px); font-weight: 700; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 16em; }

/* двери первого экрана: плавают, тянутся за мышью; средняя «открывается» */
.hero-art-doors figure { animation: float 7s ease-in-out infinite; transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1); perspective: 1400px; }
.hero-art-doors .f1 { animation-duration: 8s; animation-delay: -2s; }
.hero-art-doors .f3 { animation-duration: 9s; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.leaf { position: absolute; inset: 0; z-index: 2; transform-origin: left center; backface-visibility: hidden;
  background: linear-gradient(90deg, #15130f, #2a2219 55%, #15130f); box-shadow: inset -2px 0 0 var(--gold);
  animation: leaf-open 1.7s cubic-bezier(.65, 0, .2, 1) calc(var(--hd) + .55s) forwards; }
.leaf::after { content: ""; position: absolute; right: 12%; top: 52%; width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 18px rgba(226, 162, 99, .8); }
@keyframes leaf-open { 70% { opacity: 1; } to { transform: rotateY(-102deg); opacity: 0; visibility: hidden; } }
html:not(.js) .leaf { display: none; }

/* DecorPro: срез профиля рисуется золотой линией по чертежу */
.draw-card { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(226, 162, 99, .25); transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  background: radial-gradient(120% 90% at 70% 10%, rgba(226, 162, 99, .12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 40px), #111214; }
.draw-svg { position: absolute; inset: 8% 8% 22%; width: 84%; height: 70%; overflow: visible; }
.draw-path { fill: rgba(226, 162, 99, 0); stroke: var(--gold); stroke-width: 6; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(226, 162, 99, .45)); transition: fill 1s ease, opacity .6s ease; }
.draw-path.filled { fill: rgba(226, 162, 99, .16); }
.draw-path.gone { opacity: 0; }
.draw-cap { position: absolute; left: 22px; right: 22px; bottom: 46px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.draw-cap b { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.draw-cap span { color: var(--muted); font-size: 14px; }
.draw-cap em { margin-left: auto; font-style: normal; color: var(--gold); font-weight: 700; font-size: 20px; }
.draw-note { position: absolute; left: 22px; bottom: 16px; margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.draw-cap > * { transition: opacity .5s ease, translate .5s ease; }
.draw-cap.swap > * { opacity: 0; translate: 0 8px; }
@media (max-width: 959px) { .draw-card { margin: 0 auto; } }

/* стрелка «вниз» */
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 1; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold);
  animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 80%, 100% { opacity: 0; translate: 0 12px; } }
@media (min-width: 960px) { .scroll-cue { display: block; } }

/* бегущая строка */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run { display: flex; align-items: center; flex: none; }
.marquee-run span { font-size: clamp(20px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; padding: 0 26px; }
.marquee-run span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(244, 240, 234, .55); }
.marquee-run i { font-style: normal; color: var(--gold); font-size: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* карточки: наклон за мышью и блик (только мышь) */
.card[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); position: relative; }
html.js .card[data-tilt] { transition-property: opacity, translate, transform, box-shadow; transition-duration: .9s, 1s, .55s, .4s;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
html.js .card[data-tilt].tilting { transition-duration: .9s, 1s, .12s, .4s; }
.card[data-tilt]::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .14), transparent 45%); }
.card[data-tilt].tilting { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.card[data-tilt].tilting::after { opacity: 1; }

/* кнопки тянутся к мыши */
[data-magnet] { transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .2s, color .2s, border-color .2s; }

/* курсор-кольцо (только мышь) */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1.5px solid rgba(226, 162, 99, .8); pointer-events: none; display: grid; place-items: center; opacity: 0;
  transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s, border-color .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(226, 162, 99, .92); border-color: transparent; }
.cursor b { font-size: 12px; font-weight: 700; color: var(--gold-ink); letter-spacing: .04em; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.big b { opacity: 1; }
.cursor.link { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(226, 162, 99, .12); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover .card-img img, .works-grid figure:hover img { transform: none; }
  .intro, .leaf, .cursor, .scroll-cue { display: none !important; }
  html.js [data-reveal], html.js .split .w > span { opacity: 1 !important; translate: none !important; }
  .marquee-track { transform: none; }
}
