

/* Start:/local/templates/fluorite_v1/pages/contacts_project_bureau_v2/assets/pbv2.css?179492476378277*/
/* ============================================================
   Проектный отдел — /fluorite/contacts_project_bureau/v2/
   Порт шаблона ATELIER/ONE в монохромную дизайн-систему Fluorite.
   Стекло: панели — rgba(255,255,255,.03)+blur(12px),
   модалки — rgba(20,20,20,.78)+blur(14px). Акцент — белый.
   Все классы под префиксом pbv2-.
   ============================================================ */

/* --- сброс поведения лендинга (как на боевой странице отдела) --- */
html,
body.fluorite-page {
  height: auto !important;
  min-height: 100% !important;
}
body.fluorite-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  width: auto !important;
  background: #070707;
}
body.fluorite-page .fluorite-background-slider,
body.fluorite-page .fluorite-bg-text-wrapper {
  display: none !important;
}
/* сайтовый рейл соцсетей/Миланы ложится fixed-колонкой поверх правой панели
   сцены и перехватывает клики по карточке — на этой странице скрываем */
body.fluorite-page .fluorite-side-nav {
  display: none !important;
}

/* --- база --- */
.pbv2-shell {
  --pbv2-ink: #ffffff;
  --pbv2-muted: rgba(255, 255, 255, 0.66);
  --pbv2-line: rgba(255, 255, 255, 0.12);
  --pbv2-accent: #ffffff;

  --vr-bg-x: 0px;
  --vr-bg-y: 0px;
  --vr-tilt-x: 0deg;
  --vr-tilt-y: 0deg;
  --vr-scene-x: 0px;
  --vr-scene-y: 0px;
  --vr-left-x: 0px;
  --vr-left-y: 0px;
  --vr-center-x: 0px;
  --vr-center-y: 0px;
  --vr-right-x: 0px;
  --vr-right-y: 0px;
  --vr-dock-x: 0px;
  --vr-dock-y: 0px;
  --vr-glare-x: 0%;
  --vr-glare-y: 0%;
  --scene-scale: 1;

  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: #070707;
  color: var(--pbv2-ink);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.pbv2-shell *,
.pbv2-shell *::before,
.pbv2-shell *::after { box-sizing: border-box; }
.pbv2-shell [hidden] { display: none !important; }
/* :where() — нулевая специфичность, чтобы не перебивать стили конкретных кнопок */
.pbv2-shell :where(button, input, textarea, select) { font: inherit; color: inherit; }
.pbv2-shell :is(h1, h2, h3) { text-wrap: balance; }
.pbv2-shell button,
.pbv2-shell a { -webkit-tap-highlight-color: transparent; }
.pbv2-shell button:focus-visible,
.pbv2-shell a:focus-visible,
.pbv2-shell input:focus-visible,
.pbv2-shell textarea:focus-visible,
.pbv2-shell select:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
.pbv2-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; }
.pbv2-skip-link { position: fixed; z-index: 9999; top: -80px; left: 20px; padding: 12px 18px; border-radius: 12px; background: #ffffff; color: #070707; text-decoration: none; transition: top .2s ease; }
.pbv2-skip-link:focus { top: 20px; }

/* --- фон, свечение, зерно --- */
.pbv2-background {
  position: absolute;
  inset: -3%;
  z-index: 0;
  background-position: center 54%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  transform: translate3d(var(--vr-bg-x), var(--vr-bg-y), 0) scale(1.1);
  transition: filter 1s ease;
  will-change: transform;
}
.pbv2-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .26) 100%),
    radial-gradient(circle at 50% 43%, transparent 0 25%, rgba(0, 0, 0, .18) 78%);
  pointer-events: none;
}

/* --- стекло --- */
.pbv2-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pbv2-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}
.pbv2-glass-strong {
  background: rgba(20, 20, 20, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 42px rgba(0, 0, 0, .4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* --- сцена --- */
.pbv2-scene {
  --side-panel-width: clamp(210px, 18vw, 340px);
  --side-panel-height: clamp(460px, 58vh, 720px);
  --panel-gap: clamp(12px, 1.5vw, 28px);
  position: absolute;
  inset: 118px max(clamp(18px, 2.5vw, 48px), calc((100vw - 1920px) / 2)) 96px;
  z-index: 5;
  transform-style: preserve-3d;
  perspective: 1200px;
  transform:
    perspective(1250px)
    scale(var(--scene-scale))
    rotateX(var(--vr-tilt-x))
    rotateY(var(--vr-tilt-y))
    translate3d(var(--vr-scene-x), var(--vr-scene-y), 0);
  transition: transform .11s linear;
  will-change: transform;
}
.pbv2-side-nav,
.pbv2-notes-panel {
  width: var(--side-panel-width);
  min-width: 210px;
  /* боковые всегда ниже центральной: не выше высоты сцены минус отступ */
  height: max(min(var(--side-panel-height), calc(100% - 120px)), 380px);
  padding: 24px;
  border-radius: 26px;
}
.pbv2-side-nav {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transform:
    translateY(-50%)
    translate3d(var(--vr-left-x), var(--vr-left-y), 22px);
}
.pbv2-side-nav button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  text-align: left;
  transition: .2s ease;
}
.pbv2-side-nav button:hover,
.pbv2-side-nav button.active { color: #ffffff; background: rgba(255, 255, 255, .09); }
.pbv2-side-nav button.active::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--pbv2-accent);
  box-shadow: 0 0 12px rgba(255, 255, 255, .8);
}

/* --- центральная панель --- */
.pbv2-portfolio-panel {
  position: absolute;
  left: calc(var(--side-panel-width) + var(--panel-gap));
  top: 50%;
  width: calc(
    100% - var(--side-panel-width) - var(--side-panel-width) -
    var(--panel-gap) - var(--panel-gap)
  );
  /* центральная панель заметно выше боковых: почти вся высота сцены */
  height: min(calc(100% - 6px), 940px);
  padding: 22px;
  border-radius: 28px;
  transform:
    translateY(-50%)
    translate3d(var(--vr-center-x), var(--vr-center-y), 70px);
  transition: transform 1s cubic-bezier(.2,.8,.2,1), width .8s ease, left .8s ease;
}
.pbv2-portfolio-panel > * { position: relative; z-index: 5; }
.pbv2-portfolio-heading { height: 68px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 2px 2px 0; }
.pbv2-profile-lockup { min-width: 0; }
.pbv2-eyebrow {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pbv2-portfolio-heading h1 {
  margin: 7px 0 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pbv2-text-link { display: flex; align-items: center; gap: 5px; border: 0; background: none; color: rgba(255, 255, 255, .72); font-size: 12px; cursor: pointer; }
.pbv2-text-link:hover { color: #ffffff; }
.pbv2-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; height: calc(100% - 82px); }
/* один кейс — во всю панель; 3+ кейсов — ровная сетка 2×2 (3 карточки + «Все проекты») */
.pbv2-project-card:only-child { grid-column: 1 / -1; }
.pbv2-project-grid.is-quad { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.pbv2-project-card-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .03);
  text-align: center;
}
.pbv2-project-card-all:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); }
.pbv2-card-all-count { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -.04em; }
.pbv2-card-all-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.pbv2-card-all-sub { color: rgba(255, 255, 255, .55); font-size: 11px; }
.pbv2-project-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: #101010;
  cursor: pointer;
  text-align: left;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.pbv2-project-card:hover { transform: translateY(-4px) scale(1.012); border-color: rgba(255, 255, 255, .34); box-shadow: 0 18px 34px rgba(0, 0, 0, .35); }
.pbv2-card-media { position: relative; display: block; min-height: 0; overflow: hidden; }
.pbv2-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.55) contrast(1.04) brightness(.82);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}
.pbv2-project-card:hover .pbv2-card-media img { transform: scale(1.05); filter: saturate(.7) contrast(1.02) brightness(.88); }
.pbv2-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent 44%); pointer-events: none; }
.pbv2-card-tags { position: absolute; z-index: 2; left: 12px; right: 12px; top: 11px; display: flex; justify-content: space-between; }
.pbv2-card-tags i { font-size: 10px; font-style: normal; letter-spacing: .13em; text-transform: uppercase; color: #ffffff; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.pbv2-project-meta { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 8px 11px 8px 13px; background: rgba(10, 10, 10, .78); }
.pbv2-project-meta strong, .pbv2-project-meta small { display: block; }
.pbv2-project-meta strong { font-size: 13px; letter-spacing: .02em; }
.pbv2-project-meta small { margin-top: 3px; color: rgba(255, 255, 255, .6); font-size: 11px; }
.pbv2-project-meta svg { flex: 0 0 auto; }

/* --- правая панель --- */
.pbv2-notes-panel {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform:
    translateY(-50%)
    translate3d(var(--vr-right-x), var(--vr-right-y), 22px);
}
.pbv2-notes-kicker { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .6); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.pbv2-notes-panel h2 { margin: 18px 0 12px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -.04em; }
.pbv2-notes-panel p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 13px; line-height: 1.6; }
.pbv2-note-rule { height: 1px; margin: 19px 0; background: var(--pbv2-line); }
.pbv2-notes-panel dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 0 0 20px; }
.pbv2-notes-panel dl div { min-width: 0; }
.pbv2-notes-panel dt { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.pbv2-notes-panel dd { margin: 4px 0 0; color: rgba(255, 255, 255, .55); font-size: 11px; }
.pbv2-primary-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  background: var(--pbv2-accent);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pbv2-primary-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 255, 255, .18); }
.pbv2-primary-cta:active { transform: scale(.97); }
.pbv2-primary-cta:disabled { opacity: .5; cursor: wait; }
.pbv2-primary-cta svg { color: #0a0a0a; }
.pbv2-notes-panel .pbv2-primary-cta { width: 100%; margin-top: auto; }

/* --- персона-карточка руководителя (правая панель) --- */
.pbv2-persona { display: block; padding: 0; overflow: hidden; }
.pbv2-persona-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(.2) contrast(1.03);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.pbv2-persona:hover .pbv2-persona-photo { transform: scale(1.03); }
.pbv2-persona::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, transparent 26%, transparent 44%, rgba(0, 0, 0, .84) 100%);
  pointer-events: none;
}
.pbv2-persona-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; }
.pbv2-persona-info h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.pbv2-persona-info > p { margin: 6px 0 0; color: rgba(255, 255, 255, .74); font-size: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.pbv2-persona-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.pbv2-persona-stats div { min-width: 0; }
.pbv2-persona-stats dt { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.pbv2-persona-stats dd { margin: 3px 0 0; color: rgba(255, 255, 255, .6); font-size: 10px; line-height: 1.3; }
.pbv2-persona-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}
.pbv2-persona-pill svg { color: #0a0a0a; transition: transform .25s ease; }
.pbv2-persona:hover .pbv2-persona-pill { background: #ffffff; transform: translateY(-2px); }
.pbv2-persona:hover .pbv2-persona-pill svg { transform: translate(2px, -2px); }
.pbv2-persona:active .pbv2-persona-pill { transform: scale(.96); }
.pbv2-persona-hit { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.pbv2-persona-hit:focus-visible { outline: 2px solid #ffffff; outline-offset: -4px; }

/* --- контакт-док --- */
.pbv2-social-dock {
  position: absolute;
  left: 50%;
  bottom: -60px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 18px;
  transform:
    translateX(-50%)
    translate3d(var(--vr-dock-x), var(--vr-dock-y), 52px);
}
.pbv2-social-dock button,
.pbv2-social-dock a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.pbv2-social-dock button:hover,
.pbv2-social-dock a:hover { color: #ffffff; }
.pbv2-social-dock span { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .25); }

/* --- камера: всегда ortho, контролы убраны --- */
.pbv2-camera-orthographic { --scene-scale: 1; }
.pbv2-camera-orthographic .pbv2-scene { perspective: none; }
.pbv2-camera-orthographic .pbv2-portfolio-panel,
.pbv2-camera-orthographic .pbv2-side-nav,
.pbv2-camera-orthographic .pbv2-notes-panel { transform: translateY(-50%) translateZ(0); }
.pbv2-camera-orthographic .pbv2-social-dock { transform: translateX(-50%) translateZ(0); }

/* --- модалки: бэкдроп поверх шапки сайта (z-index 240), ниже открытого меню (10050) --- */
.pbv2-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .5) 74%),
    rgba(0, 0, 0, .3);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: pbv2-fade-in .3s ease;
}
.pbv2-modal {
  position: relative;
  z-index: 2;
  width: min(780px, 94vw);
  max-height: 88dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  outline: 0;
  /* без собственного backdrop-filter: скроллящийся контейнер с блюром даёт
     дёрганый скролл в Chrome; блюр уже есть на .pbv2-modal-backdrop */
  background: rgba(18, 18, 18, .88);
  color: #ffffff;
  box-shadow: 0 36px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.pbv2-modal::-webkit-scrollbar { width: 8px; }
.pbv2-modal::-webkit-scrollbar-track { margin-block: 4px; background: transparent; }
.pbv2-modal::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.pbv2-modal::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, .25); background-clip: padding-box; }
.pbv2-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}
.pbv2-modal-close:hover { transform: rotate(5deg); background: rgba(255, 255, 255, .16); }
.pbv2-modal .pbv2-eyebrow { color: rgba(255, 255, 255, .56); }
.pbv2-modal h2 {
  margin: 10px 0;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.pbv2-modal-heading > p { color: rgba(255, 255, 255, .66); line-height: 1.55; }
.pbv2-modal-projects,
.pbv2-modal-project,
.pbv2-modal-designers {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .06), transparent 34%),
    rgba(18, 18, 18, .88);
}
.pbv2-modal-projects { width: min(1120px, 94vw); padding: 34px; }
.pbv2-modal-project { width: min(1280px, 96vw); max-height: 92dvh; padding: 28px; }
.pbv2-modal-designers { width: min(1040px, 94vw); padding: 32px; overflow-x: hidden; }
.pbv2-modal-designers.pbv2-profile-open { width: min(1100px, 94vw); padding: 42px; }
.pbv2-modal-process { width: min(1040px, 94vw); padding: 34px; }
.pbv2-modal-application { width: min(820px, 94vw); }

/* --- портфолио: bento --- */
.pbv2-directory-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.65fr); gap: 40px; align-items: end; padding-right: 60px; }
.pbv2-directory-heading h2 { margin-bottom: 0; font-size: clamp(26px, 3vw, 40px); }
.pbv2-directory-heading > p { max-width: 420px; margin: 0 0 5px; color: rgba(255, 255, 255, .66); font-size: 14px; line-height: 1.58; }
.pbv2-projects-bento { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 26px; perspective: 900px; }
.pbv2-project-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: #141414;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  transform-origin: 50% 100%;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .32s ease;
}
.pbv2-project-tile:hover { z-index: 2; transform: translateY(-5px) scale(1.012); border-color: rgba(255, 255, 255, .34); box-shadow: 0 26px 56px rgba(0, 0, 0, .45); }
.pbv2-project-tile > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) contrast(1.05) brightness(.78); transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.pbv2-project-tile:hover > img { transform: scale(1.055); filter: saturate(.78) contrast(1.02) brightness(.84); }
.pbv2-project-tile-tint { position: absolute; inset: 0; opacity: .5; background: #ffffff; mix-blend-mode: saturation; pointer-events: none; }
.pbv2-project-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .06) 26%, rgba(0, 0, 0, .1) 52%, rgba(0, 0, 0, .86) 100%); pointer-events: none; }
.pbv2-project-tile-top,
.pbv2-project-tile-copy { position: absolute; z-index: 2; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; }
.pbv2-project-tile-top { top: 17px; }
.pbv2-project-tile-top i { font-size: 11px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.pbv2-project-tile-copy { bottom: 17px; gap: 18px; }
.pbv2-project-tile-copy strong, .pbv2-project-tile-copy small { display: block; }
.pbv2-project-tile-copy strong { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -.035em; }
.pbv2-project-tile-copy small { margin-top: 7px; color: rgba(255, 255, 255, .72); font-size: 12px; }
.pbv2-project-tile-copy svg { flex: 0 0 auto; transition: transform .28s ease; }
.pbv2-project-tile:hover .pbv2-project-tile-copy svg { transform: translate(4px,-4px); }

/* --- кейс --- */
.pbv2-project-case { position: relative; padding-top: 38px; }
.pbv2-case-back {
  position: absolute;
  left: 0;
  top: -2px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 12px;
}
.pbv2-case-back:hover { background: rgba(255, 255, 255, .15); color: #ffffff; }
.pbv2-case-hero { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 48px; align-items: end; padding: 24px 58px 24px 4px; }
.pbv2-case-hero h2 { margin-bottom: 0; font-size: clamp(46px, 6vw, 80px); }
.pbv2-case-hero > p { max-width: 470px; margin: 0 0 6px; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.6; }
/* --- компаре «до/после» (день/вечер): полоса тянется мышью/пальцем --- */
.pbv2-compare {
  --pbv2-compare-pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 4px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: #101010;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.pbv2-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pbv2-compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pbv2-compare-pos)) 0 0); }
.pbv2-compare-chip {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(10, 10, 10, .6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.pbv2-compare-chip-left { left: 16px; }
.pbv2-compare-chip-right { right: 16px; }
.pbv2-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pbv2-compare-pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 18px rgba(0, 0, 0, .5);
}
.pbv2-compare-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(20, 20, 20, .82);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease;
}
.pbv2-compare:hover .pbv2-compare-grip,
.pbv2-compare.is-comparing .pbv2-compare-grip { background: rgba(20, 20, 20, .95); transform: translate(-50%, -50%) scale(1.08); }
.pbv2-compare-handle:focus-visible { outline: none; }
.pbv2-compare-handle:focus-visible .pbv2-compare-grip { outline: 2px solid #ffffff; outline-offset: 3px; }

/* --- лайтбокс галереи --- */
.pbv2-case-gallery-slide { cursor: zoom-in; }
.pbv2-lightbox { position: fixed; inset: 0; z-index: 9600; display: none; }
.pbv2-lightbox.is-open { display: grid; place-items: center; padding: 24px; }
.pbv2-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .88); cursor: zoom-out; }
.pbv2-lightbox-img {
  position: relative;
  z-index: 2;
  max-width: min(1600px, 92vw);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  user-select: none;
}
.pbv2-lightbox-close,
.pbv2-lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(20, 20, 20, .82);
  color: #ffffff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.pbv2-lightbox-close:hover,
.pbv2-lightbox-nav:hover { background: rgba(20, 20, 20, .95); border-color: rgba(255, 255, 255, .45); }
.pbv2-lightbox-close { right: 22px; top: 22px; }
.pbv2-lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.pbv2-lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.pbv2-lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(20, 20, 20, .75);
  font-size: 12px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

/* --- видео кейса --- */
.pbv2-case-video { margin: 0 0 18px; }
.pbv2-case-video video { display: block; width: 100%; border: 1px solid rgba(255, 255, 255, .16); border-radius: 28px; background: #000000; }
.pbv2-case-video-note { display: block; margin-top: 10px; color: rgba(255, 255, 255, .5); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.pbv2-case-gallery-shell { margin-top: 4px; }
.pbv2-case-gallery-frame { position: relative; }
.pbv2-gallery-arrow {
  position: absolute;
  top: calc(50% - 7px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(20, 20, 20, .82);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, border-color .2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.pbv2-gallery-arrow:hover { background: rgba(20, 20, 20, .88); border-color: rgba(255, 255, 255, .4); }
.pbv2-gallery-arrow-prev { left: 14px; }
.pbv2-gallery-arrow-next { right: 14px; }
.pbv2-case-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}
.pbv2-case-gallery:active { cursor: grabbing; }
.pbv2-case-gallery.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
.pbv2-case-gallery::-webkit-scrollbar { display: none; }
.pbv2-case-gallery-slide {
  position: relative;
  flex: 0 0 min(78vw, 900px);
  height: clamp(330px, 53vh, 540px);
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: #101010;
  scroll-snap-align: start;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
}
.pbv2-case-gallery-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.02); transition: transform .5s ease; }
.pbv2-case-gallery-slide:hover img { transform: scale(1.008); }
.pbv2-case-gallery.is-dragging .pbv2-case-gallery-slide img { transform: none; }
.pbv2-case-gallery-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .62)); pointer-events: none; }
.pbv2-case-gallery-slide figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 17px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .85); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pbv2-case-gallery-controls { display: grid; grid-template-columns: auto minmax(160px,1fr); gap: 18px; align-items: center; padding: 8px 4px 18px; }
.pbv2-case-gallery-hint { color: rgba(255, 255, 255, .5); font-size: 11px; }
.pbv2-case-gallery-progress { height: 2px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.pbv2-case-gallery-progress i { display: block; height: 100%; border-radius: inherit; background: #ffffff; transition: width .14s linear; }
.pbv2-case-story { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.7fr); gap: 18px; padding: 42px 4px 18px; }
.pbv2-case-story-intro { padding-right: 28px; }
.pbv2-case-story-intro h3 { max-width: 720px; margin: 12px 0 24px; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: clamp(26px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.pbv2-case-services { display: flex; flex-wrap: wrap; gap: 7px; }
.pbv2-case-services span { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; color: rgba(255, 255, 255, .72); font-size: 11px; }
.pbv2-case-story-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 34px; }
.pbv2-case-story-columns article { padding: 20px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 20px; background: rgba(255, 255, 255, .05); }
.pbv2-case-story-columns article > span { color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pbv2-case-story-columns p { margin: 14px 0 0; color: rgba(255, 255, 255, .74); font-size: 13px; line-height: 1.65; }
.pbv2-case-results { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 22px; padding: 24px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 24px; background: rgba(255, 255, 255, .06); }
/* карточка автора кейса — фото руководителя, клик открывает «Историю» */
.pbv2-case-author-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.pbv2-case-author-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.pbv2-case-author-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #141414; }
.pbv2-case-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(.2) contrast(1.03);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.pbv2-case-author-card:hover .pbv2-case-author-photo img { transform: scale(1.035); }
.pbv2-case-author-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .55)); pointer-events: none; }
.pbv2-case-author-info { display: block; padding: 14px 16px 16px; }
.pbv2-case-author-info small { display: block; color: rgba(255, 255, 255, .55); font-size: 11px; }
.pbv2-case-author-info strong { display: block; margin-top: 4px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.pbv2-case-author-info em { display: block; margin-top: 3px; color: rgba(255, 255, 255, .6); font-size: 12px; font-style: normal; }
.pbv2-case-author-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 600; }
.pbv2-case-author-card:hover .pbv2-case-author-more { color: #ffffff; }
.pbv2-case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .1); }
.pbv2-case-metrics strong, .pbv2-case-metrics small { display: block; }
.pbv2-case-metrics strong { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.pbv2-case-metrics small { margin-top: 4px; color: rgba(255, 255, 255, .55); font-size: 11px; line-height: 1.3; }
.pbv2-case-results .pbv2-primary-cta { width: 100%; margin-top: auto; }

/* --- команда --- */
.pbv2-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin: 23px 0 14px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .53);
}
.pbv2-search-field:focus-within { border-color: rgba(255, 255, 255, .45); box-shadow: 0 0 0 3px rgba(255, 255, 255, .07); }
.pbv2-search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: #ffffff; }
.pbv2-search-field input::placeholder { color: rgba(255, 255, 255, .42); }
.pbv2-designer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.pbv2-designer-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
  animation: pbv2-card-rise .42s both cubic-bezier(.2,.8,.2,1);
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.pbv2-designer-card:nth-child(2) { animation-delay: 45ms; }
.pbv2-designer-card:nth-child(3) { animation-delay: 90ms; }
.pbv2-designer-card:nth-child(4) { animation-delay: 135ms; }
.pbv2-designer-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .09); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.pbv2-designer-card-image { position: relative; display: block; overflow: hidden; background: #141414; aspect-ratio: 3 / 4; }
.pbv2-designer-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.7) contrast(1.04); transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.pbv2-designer-card:hover .pbv2-designer-card-image img { transform: scale(1.045); filter: saturate(.85) contrast(1.02); }
.pbv2-designer-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .05) 28%, rgba(0, 0, 0, .05) 45%, rgba(0, 0, 0, .74) 100%); }
.pbv2-designer-card-number { position: absolute; left: 14px; top: 13px; z-index: 2; font-size: 11px; letter-spacing: .18em; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.pbv2-designer-card-availability {
  position: absolute;
  right: 12px;
  top: 11px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 10, 10, .72);
  font-size: 10px;
}
.pbv2-designer-card-availability i,
.pbv2-designer-photo-status i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.pbv2-designer-card-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px 9px; }
.pbv2-designer-card-copy strong, .pbv2-designer-card-copy small { display: block; }
.pbv2-designer-card-copy strong { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -.02em; text-wrap: balance; }
.pbv2-designer-card-copy small { margin-top: 3px; color: rgba(255, 255, 255, .62); font-size: 12px; }
.pbv2-designer-card-copy > svg { flex: 0 0 auto; transition: transform .25s ease; }
.pbv2-designer-card:hover .pbv2-designer-card-copy > svg { transform: translate(3px,-3px); }
.pbv2-designer-card-tags { display: flex; gap: 6px; padding: 0 15px 14px; }
.pbv2-designer-card-tags i { padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 999px; color: rgba(255, 255, 255, .66); font-size: 10px; font-style: normal; }
.pbv2-designer-empty { padding: 46px 20px; color: rgba(255, 255, 255, .58); text-align: center; }
/* «Стать партнёром»: та же сетка/блоки, что у карточки дизайнера → размер 1:1 */
.pbv2-partner-card {
  border-style: dashed;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .03);
  animation: none;
}
.pbv2-partner-card:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); }
.pbv2-partner-card-media {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .07), transparent 62%), #101010;
}
.pbv2-partner-card-plus {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, .9);
  transition: transform .25s ease, background .25s ease;
}
.pbv2-partner-card:hover .pbv2-partner-card-plus { transform: rotate(90deg); background: rgba(255, 255, 255, .08); }
.pbv2-partner-card-hint { color: rgba(255, 255, 255, .5); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.pbv2-designer-profile-detail { position: relative; display: flex; align-items: center; min-height: 500px; padding: 32px 8px 4px; }
.pbv2-designer-back {
  position: absolute;
  left: 8px;
  top: -18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  font-size: 12px;
}
.pbv2-designer-back:hover { background: rgba(255, 255, 255, .15); color: #ffffff; }
/* 3:4 вместо квадрата — портретные фото партнёров (2:3) не теряют голову */
.pbv2-designer-profile-photo { position: relative; z-index: 1; flex: 0 0 min(44vw, 460px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 30px; background: #141414; box-shadow: 0 28px 70px rgba(0, 0, 0, .4); }
.pbv2-designer-profile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .66)); pointer-events: none; }
.pbv2-designer-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.72) contrast(1.03); }
.pbv2-designer-photo-code {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(10, 10, 10, .62);
  font-size: 11px;
}
.pbv2-designer-photo-status { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pbv2-designer-profile-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: -78px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  background: rgba(18, 18, 18, .93);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
  animation: pbv2-profile-copy-in .46s both cubic-bezier(.2,.8,.2,1);
}
.pbv2-designer-profile-copy .pbv2-eyebrow { color: rgba(255, 255, 255, .5); }
.pbv2-designer-logo { display: block; height: 30px; width: auto; margin: 0 0 14px; opacity: .92; }
.pbv2-designer-profile-copy h2 { margin: 8px 0 5px; color: #ffffff; font-size: clamp(32px, 4vw, 54px); }
.pbv2-designer-profile-role { margin: 0; color: rgba(255, 255, 255, .66); font-size: 13px; font-weight: 600; }
.pbv2-designer-profile-bio { margin: 20px 0; color: rgba(255, 255, 255, .76); font-size: 14px; line-height: 1.65; }
.pbv2-designer-specialties { display: flex; flex-wrap: wrap; gap: 7px; }
.pbv2-designer-specialties span { padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); font-size: 11px; font-weight: 600; }
.pbv2-designer-profile-stats { display: flex; gap: 28px; margin: 22px 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pbv2-designer-profile-stats strong, .pbv2-designer-profile-stats small { display: block; }
.pbv2-designer-profile-stats strong { color: #ffffff; font-size: 18px; }
.pbv2-designer-profile-stats small { margin-top: 2px; color: rgba(255, 255, 255, .55); font-size: 11px; }
.pbv2-designer-profile-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pbv2-designer-profile-actions > .pbv2-primary-cta { flex: 1; }
.pbv2-designer-socials { display: flex; gap: 7px; }
.pbv2-designer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.pbv2-designer-socials a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .16); }

/* --- модалка «История» --- */
.pbv2-modal-bio { width: min(1180px, 94vw); max-height: 92dvh; padding: 34px; }
.pbv2-bio-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: start; }
.pbv2-bio-photo {
  position: sticky;
  top: 6px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background: #101010;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
}
.pbv2-bio-photo img { display: block; width: 100%; height: auto; filter: saturate(.2) contrast(1.03); }
.pbv2-bio-content { min-width: 0; padding: 6px 8px 4px 0; }
.pbv2-bio-name { margin: 10px 0 14px; font-size: clamp(34px, 4.6vw, 58px); }
.pbv2-bio-name .pbv2-word { display: inline-block; white-space: nowrap; }
.pbv2-bio-name .pbv2-char { display: inline-block; will-change: transform; }
.pbv2-bio-lead { margin: 0 0 22px; max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.55; }
.pbv2-bio-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-block: 1px solid rgba(255, 255, 255, .1);
}
.pbv2-bio-counters strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.pbv2-bio-counters small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: 11px; line-height: 1.3; }
.pbv2-bio-story { margin: 0 0 14px; max-width: 620px; color: rgba(255, 255, 255, .74); font-size: 14px; line-height: 1.7; }
.pbv2-bio-timeline { position: relative; display: grid; gap: 20px; margin: 26px 0; padding-left: 24px; }
.pbv2-bio-timeline-line { position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .16); transform-origin: top; }
.pbv2-bio-milestone { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; }
.pbv2-bio-milestone > i {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.pbv2-bio-year { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; color: #ffffff; }
.pbv2-bio-milestone h3 { margin: 0 0 6px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.pbv2-bio-milestone p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 13px; line-height: 1.6; }
.pbv2-bio-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.pbv2-bio-actions .pbv2-primary-cta { flex: 1; max-width: 320px; }

/* --- процесс --- */
.pbv2-process-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 40px; align-items: end; padding-right: 56px; }
.pbv2-process-heading h2 { margin-bottom: 0; font-size: clamp(36px, 4.8vw, 62px); }
.pbv2-process-heading > p { margin: 0 0 4px; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.6; }
.pbv2-process-track { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.pbv2-process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
}
.pbv2-process-step::after { content: ""; position: absolute; right: -44px; bottom: -64px; width: 150px; height: 150px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.pbv2-process-step > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.pbv2-process-step h3 { margin: 3px 0 12px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.pbv2-process-step p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.6; }
.pbv2-process-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 12px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}
.pbv2-process-footer strong, .pbv2-process-footer small { display: block; }
.pbv2-process-footer strong { font-size: 14px; }
.pbv2-process-footer small { margin-top: 3px; color: rgba(255, 255, 255, .58); font-size: 11px; }
.pbv2-process-footer .pbv2-primary-cta { justify-self: end; min-width: 210px; }

/* --- форма заявки --- */
.pbv2-application-form { display: grid; gap: 15px; margin-top: 22px; }
.pbv2-field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.pbv2-application-form label { display: grid; gap: 7px; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; }
.pbv2-application-form input,
.pbv2-application-form textarea,
.pbv2-application-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, .07);
  color: #ffffff;
  resize: vertical;
  color-scheme: dark;
}
.pbv2-application-form input::placeholder,
.pbv2-application-form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.pbv2-application-form textarea { min-height: 110px; }
.pbv2-application-form input:focus,
.pbv2-application-form textarea:focus,
.pbv2-application-form select:focus {
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .11);
}
.pbv2-application-form select option { background: #141414; color: #ffffff; }
.pbv2-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.pbv2-files-note { margin: 0; color: rgba(255, 255, 255, .58); font-size: 12px; }
.pbv2-files-note a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.pbv2-files-note a:hover { color: #ffffff; }
.pbv2-consent { display: flex; align-items: center; gap: 10px; }
.pbv2-consent-checkbox { width: 18px; height: 18px; min-height: 0 !important; margin: 0; accent-color: #ffffff; cursor: pointer; }
.pbv2-consent-link {
  border: 0;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pbv2-consent-link:hover { color: #ffffff; }
.pbv2-submit-button { width: 100%; }
.pbv2-form-notice { min-height: 18px; margin: -3px 0 0; color: rgba(255, 255, 255, .85); font-size: 13px; text-align: center; }
.pbv2-form-notice.is-error { color: #ff8a80; }

/* --- модалка согласия 152-ФЗ (поверх модалки заявки) --- */
.pbv2-consent-modal { position: fixed; inset: 0; z-index: 9500; display: none; }
.pbv2-consent-modal.is-open { display: grid; place-items: center; padding: 20px; }
.pbv2-consent-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.pbv2-consent-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(680px, 94vw);
  max-height: 80dvh;
  overflow: auto;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(18, 18, 18, .95);
  color: #ffffff;
  box-shadow: 0 36px 120px rgba(0, 0, 0, .6);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.pbv2-consent-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  cursor: pointer;
}
.pbv2-consent-modal-close:hover { background: rgba(255, 255, 255, .16); }
.pbv2-consent-modal-title { margin: 0 40px 16px 0; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.pbv2-consent-modal-content { color: rgba(255, 255, 255, .74); font-size: 13px; line-height: 1.65; }
.pbv2-consent-modal-content p { margin: 0 0 12px; }
.pbv2-consent-modal-content ul { margin: 0 0 12px; padding-left: 18px; }

/* --- анимации --- */
@keyframes pbv2-fade-in { from { opacity: 0; } }
@keyframes pbv2-card-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pbv2-profile-copy-in { from { opacity: 0; transform: translateX(20px); } }

/* --- адаптив --- */
@media (max-width: 1100px) {
  .pbv2-scene {
    --side-panel-width: clamp(150px, 17vw, 190px);
    --panel-gap: 10px;
    inset-inline: 14px;
  }
  .pbv2-side-nav, .pbv2-notes-panel { min-width: 0; padding: 14px; }
  .pbv2-persona { padding: 0; }
  .pbv2-persona-stats { display: none; }
  .pbv2-persona-info { padding: 14px; }
  .pbv2-persona-info h2 { font-size: 19px; }
  .pbv2-persona-pill { margin-top: 12px; min-height: 36px; padding: 0 12px; font-size: 11px; }
}
@media (max-width: 780px) {
  .pbv2-shell { height: auto; min-height: 100dvh; overflow: visible; }
  .pbv2-background { position: absolute; inset: 0; background-position: 50% center; }
  .pbv2-scene {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 100dvh;
    padding: 96px 14px 40px;
    transform: none !important;
    transform-style: flat;
    perspective: none;
  }
  .pbv2-side-nav {
    position: relative;
    z-index: 8;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 12px;
    padding: 7px;
    /* !important — иначе перебивает .pbv2-camera-orthographic .pbv2-side-nav (translateY(-50%)) */
    transform: none !important;
  }
  .pbv2-side-nav button { width: 48px; min-height: 48px; justify-content: center; padding: 0; }
  .pbv2-side-nav button span,
  .pbv2-side-nav button.active::after { display: none; }
  .pbv2-portfolio-panel { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 650px; padding: 15px; transform: none !important; }
  .pbv2-portfolio-heading { height: auto; min-height: 94px; }
  .pbv2-portfolio-heading h1 { font-size: 20px; }
  .pbv2-project-grid, .pbv2-project-grid.is-quad { height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .pbv2-project-card { height: 240px; }
  .pbv2-project-card-all { height: 150px; }
  .pbv2-notes-panel { position: relative; right: auto; top: auto; width: 100%; min-width: 0; height: auto; margin-top: 14px; padding: 20px; transform: none !important; }
  .pbv2-persona { height: 440px; padding: 0; }
  .pbv2-persona-stats { display: grid; }
  .pbv2-persona-info { padding: 18px; }
  .pbv2-persona-info h2 { font-size: 22px; }
  .pbv2-modal-bio { padding: 22px 17px; }
  .pbv2-bio-layout { grid-template-columns: 1fr; gap: 20px; }
  /* портретная пропорция вместо фикс-высоты: на широких мобилках 44vh давал
     плоскую ленту и резал голову на фото */
  .pbv2-bio-photo { position: relative; top: auto; height: auto; aspect-ratio: 4 / 5; max-height: 64vh; margin: 0 auto; width: 100%; max-width: 520px; }
  .pbv2-bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
  .pbv2-bio-actions { flex-direction: column; align-items: stretch; }
  .pbv2-bio-actions .pbv2-primary-cta { max-width: none; }
  .pbv2-bio-actions .pbv2-designer-socials { justify-content: center; }
  .pbv2-social-dock { display: none; }
  .pbv2-modal { padding: 22px 17px; }
  .pbv2-field-row { grid-template-columns: 1fr; }
  .pbv2-process-heading { grid-template-columns: 1fr; gap: 12px; padding-right: 48px; }
  .pbv2-process-track { grid-template-columns: 1fr; }
  .pbv2-process-step { min-height: 0; }
  .pbv2-process-footer { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pbv2-process-footer .pbv2-primary-cta { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
  .pbv2-modal-designers { padding: 22px 17px; }
  .pbv2-designer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pbv2-directory-heading { grid-template-columns: 1fr; gap: 12px; padding-right: 48px; }
  .pbv2-directory-heading > p { max-width: 520px; }
  .pbv2-modal-designers.pbv2-profile-open { padding: 22px 17px; }
  .pbv2-designer-profile-detail { flex-direction: column; min-height: 0; padding: 48px 0 2px; }
  .pbv2-designer-profile-photo { width: min(100%, 430px); flex-basis: auto; }
  .pbv2-designer-profile-copy { width: min(94%, 500px); margin: -44px 0 0; padding: 28px; }
  .pbv2-modal-projects, .pbv2-modal-project { width: 100%; max-height: 96dvh; padding: 22px 17px; }
  .pbv2-projects-bento { grid-template-columns: 1fr; }
  .pbv2-project-tile { aspect-ratio: 16 / 10; }
  .pbv2-case-hero { grid-template-columns: 1fr; gap: 12px; padding: 22px 46px 20px 2px; }
  .pbv2-case-hero > p { max-width: 620px; }
  .pbv2-case-gallery-slide { flex-basis: 88%; height: clamp(260px, 48vh, 420px); }
  .pbv2-compare { border-radius: 20px; }
  .pbv2-lightbox.is-open { padding: 10px; }
  .pbv2-lightbox-img { max-width: 96vw; max-height: 80vh; }
  .pbv2-lightbox-close { right: 12px; top: 12px; width: 44px; height: 44px; }
  .pbv2-lightbox-prev { left: 10px; }
  .pbv2-lightbox-next { right: 10px; }
  .pbv2-compare-grip { width: 52px; height: 52px; }
  .pbv2-case-video video { border-radius: 20px; }
  .pbv2-case-gallery-controls { grid-template-columns: 1fr; }
  .pbv2-case-gallery-hint { display: none; }
  .pbv2-gallery-arrow { display: none; }
  .pbv2-case-story { grid-template-columns: 1fr; padding-top: 30px; }
  .pbv2-case-story-intro { padding-right: 0; }
  .pbv2-case-results { grid-column: 1; grid-row: auto; }
}
@media (max-width: 430px) {
  .pbv2-portfolio-heading .pbv2-text-link { display: none; }
  .pbv2-profile-lockup { align-items: flex-start; }
  .pbv2-avatar { width: 40px; height: 40px; }
  .pbv2-modal-backdrop { padding: 8px; }
  .pbv2-modal { width: 100%; max-height: 96dvh; border-radius: 22px; }
  .pbv2-modal-process { padding: 22px 17px; }
  .pbv2-process-heading h2 { font-size: 34px; }
  .pbv2-process-footer { gap: 16px; }
  .pbv2-designer-grid { grid-template-columns: 1fr; }
  .pbv2-designer-profile-copy { width: 96%; padding: 24px 20px; }
  .pbv2-designer-profile-actions { align-items: stretch; flex-direction: column; }
  .pbv2-designer-socials { justify-content: center; }
  .pbv2-directory-heading h2 { font-size: 36px; }
  .pbv2-project-tile { height: 190px; }
  .pbv2-case-hero h2 { font-size: 42px; }
  .pbv2-case-gallery-slide { flex-basis: 94%; height: 250px; border-radius: 20px; }
  .pbv2-case-gallery-controls { gap: 10px; }
  .pbv2-case-story-columns { grid-template-columns: 1fr; margin-top: 16px; }
  .pbv2-case-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pbv2-shell *,
  .pbv2-shell *::before,
  .pbv2-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* v2-only repairs: preserve the scene and the shared site design. */
html.pbv2-dialog-open,
html.pbv2-dialog-open body.fluorite-page { overflow: hidden !important; }
/* Defer the notice while a dialog is active; never change saved consent. */
html.pbv2-dialog-open #fluorite-cookie-banner { display: none !important; }
/* The social launcher is already disabled on this page. Hide its closed panels too. */
body.fluorite-page:has(#pbv2-shell) :is(#milana-chat-widget, #telegram-widget, #whatsapp-widget, #max-widget) { display: none !important; }
.pbv2-modal-toolbar { position: sticky; top: 0; height: 0; z-index: 10; }
.pbv2-modal-toolbar > button { top: -12px; right: -12px; width: 44px; height: 44px; background: #252525; }
.pbv2-modal-heading { padding-right: 46px; }
.pbv2-application-form .pbv2-consent { flex-wrap: wrap; gap: 0 12px; }
.pbv2-application-form .pbv2-consent-label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; cursor: pointer; }
.pbv2-application-form input.pbv2-consent-checkbox { flex: 0 0 18px; width: 18px; height: 18px; padding: 0; }
.pbv2-consent-link { min-height: 44px; font-size: 13px; }
.pbv2-case-gallery-slide:focus-visible { outline: 2px solid white; outline-offset: -4px; }
/* Opaque search-button surface keeps the original moving text behind the lens. */
body.fluorite-page:has(#pbv2-shell) .fluorite-ref-search__button { background: #111; box-shadow: 8px 0 0 8px #111; }
@media (max-width: 780px) {
  .pbv2-background { transform: none; will-change: auto; background: #000 !important; }
  .pbv2-shell::before, .pbv2-shell::after { display: none; }
  .pbv2-portfolio-heading h1 { white-space: normal; text-overflow: clip; overflow: visible; }
  .pbv2-application-form input,
  .pbv2-application-form textarea,
  .pbv2-application-form select,
  .pbv2-search-field input { font-size: 16px; }
  .pbv2-application-form label, .pbv2-files-note { font-size: 14px; }
  .pbv2-modal-toolbar > button { top: -8px; right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fluorite-page:has(#pbv2-shell) .fluorite-ref-search::before { animation: none; left: 16px; overflow: hidden; }
}

/* UX corrections scoped to this page; desktop composition stays unchanged. */
body.fluorite-menu-open:has(.pbv2-shell) .fluorite-cookie-banner { display: none !important; }
@media (max-width: 780px) {
  .pbv2-side-nav { position: sticky; top: 78px; gap: 2px; padding: 7px 3px; }
  .pbv2-side-nav button { flex: 1; min-width: 0; width: auto; flex-direction: column; gap: 5px; }
  .pbv2-side-nav button span { display: block; font-size: 10px; letter-spacing: 0; }
  .pbv2-social-dock { position: relative; display: flex; flex-wrap: wrap; justify-content: center; left: auto; bottom: auto; width: 100%; margin-top: 16px; transform: none !important; }
  .pbv2-social-dock a, .pbv2-social-dock button { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 640px) {
  body:has(.pbv2-shell) .fluorite-ref-actions { gap: 4px; }
  body:has(.pbv2-shell) .fluorite-staggered-menu-panel,
  body:has(.pbv2-shell) .fluorite-sm-prelayers { width: 100vw; }
  body:has(.pbv2-shell) .fluorite-staggered-menu-panel { top: 80px; height: calc(100% - 80px); padding: 12px 20px 24px; scroll-padding: 12px 0 24px; }
  body:has(.pbv2-shell) .fluorite-sm-subpanel { left: 0; top: 50%; width: 100vw; height: 50%; padding: 18px 20px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; z-index: 11; border-top: 1px solid #ddd; }
  body:has(.pbv2-shell) .fluorite-staggered-menu-panel:has(~ .fluorite-sm-subpanel.fluorite-is-visible) { height: calc(50% - 80px); }
  body:has(.pbv2-shell) .fluorite-sm-panel-item { font-size: 18px; min-height: 44px; display: flex; align-items: center; letter-spacing: -.4px; }
  body:has(.pbv2-shell) .fluorite-sm-panel-itemLabel { gap: 12px; }
  body:has(.pbv2-shell) .fluorite-sm-panel-itemLabel > span:last-child { flex-shrink: 0; }
  body:has(.pbv2-shell) .fluorite-sm-subpanel-link { min-height: 44px; display: flex; align-items: center; }
}

.pbv2-application-context { margin: 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  body:has(.pbv2-shell) .fluorite-sm-item-container__inner { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  body:has(.pbv2-shell) .fluorite-sm-panel-list { gap: 4px; }
}

/* Portfolio directory: consistent photographs and separate readable captions. */
.pbv2-projects-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: none; align-items: stretch; }
.pbv2-project-tile { display: flex; flex-direction: column; min-width: 0; height: auto; aspect-ratio: auto; border-radius: 18px; box-shadow: none; }
.pbv2-project-tile > img { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: none; }
.pbv2-project-tile::after, .pbv2-project-tile-tint { display: none; }
.pbv2-project-tile:hover { transform: translateY(-2px); box-shadow: none; }
.pbv2-project-tile:hover > img { transform: none; filter: none; }
.pbv2-project-tile-top { position: static; padding: 16px 16px 0; gap: 12px; color: rgba(255,255,255,.55); }
.pbv2-project-tile-top i { font-size: 10px; letter-spacing: .08em; text-shadow: none; }
.pbv2-project-tile-copy { position: static; flex: 1; align-items: flex-start; gap: 12px; padding: 10px 16px 18px; }
.pbv2-project-tile-copy > span { min-width: 0; }
.pbv2-project-tile-copy strong { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.pbv2-project-tile-copy small { line-height: 1.5; color: rgba(255,255,255,.6); }
.pbv2-project-tile-copy svg { width: 18px; height: 18px; margin-top: 4px; }
@media (min-width: 781px) and (max-width: 1050px) {
  .pbv2-projects-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .pbv2-projects-bento { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .pbv2-project-tile { height: auto; aspect-ratio: auto; }
  .pbv2-directory-heading { padding-right: 0; gap: 12px; }
  .pbv2-directory-heading h2 { font-size: 28px; line-height: 1.1; }
}
/* A dedicated sticky row keeps the close action separate from modal content. */
.pbv2-modal-toolbar { position: sticky; top: 0; height: auto; min-height: 56px; display: flex; justify-content: flex-end; align-items: flex-start; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,.1); background: #161616; z-index: 20; }
.pbv2-modal-toolbar > button { position: static; display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 12px; background: #282828; font-size: 13px; line-height: 1; }
.pbv2-modal-toolbar > button:hover { transform: none; background: #363636; }
.pbv2-modal-heading { padding-right: 0; }
.pbv2-consent-modal-title { margin-right: 0; }

.pbv2-modal { --pbv2-dialog-inset: 28px; }
.pbv2-modal-projects, .pbv2-modal-process, .pbv2-modal-bio { --pbv2-dialog-inset: 34px; }
.pbv2-modal-designers, .pbv2-consent-modal-dialog { --pbv2-dialog-inset: 32px; }
.pbv2-modal-designers.pbv2-profile-open { --pbv2-dialog-inset: 42px; }
.pbv2-modal-toolbar { top: calc(-1 * var(--pbv2-dialog-inset)); margin-top: calc(-1 * var(--pbv2-dialog-inset)); padding-top: 12px; min-height: 68px; }
@media (max-width: 780px) {
  .pbv2-modal, .pbv2-modal-designers.pbv2-profile-open { --pbv2-dialog-inset: 22px; }
}

/* Mobile 11.11: меню разделов — нижняя панель (как в приложении), шапка в тон тёмной странице.
   Десктоп не затронут: всё внутри max-width 780px. */
@media (max-width: 780px) {
  /* will-change:transform у сцены делал её контейнером для fixed — меню уезжало со скроллом */
  .pbv2-shell .pbv2-scene { padding-bottom: calc(96px + env(safe-area-inset-bottom)); will-change: auto; z-index: auto; }
  /* z-index:5 у сцены прятал меню под затемнение окон (9000) — без него меню поверх и нажимается */
  .pbv2-shell .pbv2-side-nav {
    position: fixed;
    z-index: 9100; /* над окнами (9000), под лайтбоксом (9600) и меню сайта (10050) */
    top: auto !important; /* ui-fixes.css модуля ставит top:78px для старого sticky */
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    margin: 0;
    padding: 6px;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: rgba(12, 12, 12, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .45);
  }
  body.fluorite-menu-open .pbv2-shell .pbv2-side-nav { display: none; } /* не поверх меню сайта «+» */
  .pbv2-shell .pbv2-side-nav button { flex: 1 1 0; min-width: 0; width: auto; min-height: 56px; padding: 0 2px; border-radius: 16px; flex-direction: column; justify-content: center; gap: 5px; }
  .pbv2-shell .pbv2-side-nav button span { display: block; font-size: 10.5px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
  .pbv2-shell .pbv2-side-nav button.active { background: rgba(255, 255, 255, .12); color: #fff; }
  .pbv2-shell .pbv2-side-nav button.active::after { display: none; }
  /* окна не уходят под нижнее меню */
  .pbv2-modal-backdrop { padding: 8px 8px calc(84px + max(10px, env(safe-area-inset-bottom))); }
  .pbv2-modal-backdrop .pbv2-modal { max-height: calc(100dvh - 100px - max(10px, env(safe-area-inset-bottom))); }
  body:has(.pbv2-shell) .fluorite-cookie-banner { bottom: calc(80px + max(10px, env(safe-area-inset-bottom))); }

  /* шапка сайта на этой странице: тёмная плашка вместо светло-серой, поиск по центру между кнопками */
  body:has(.pbv2-shell) .fluorite-staggered-menu-header { background: rgba(16, 16, 16, .88); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; }
  body:has(.pbv2-shell):not(.fluorite-menu-open) .fluorite-sm-toggle { border: 1px solid rgba(255, 255, 255, .22); }
  body:has(.pbv2-shell) .fluorite-ref-actions a,
  body:has(.pbv2-shell) .fluorite-ref-actions button { color: #fff; }
  body:has(.pbv2-shell) .fluorite-ref-search-wrap { left: 66px !important; right: 100px !important; width: auto !important; max-width: none !important; min-width: 0 !important; transform: translateY(-50%) !important; }
  body:has(.pbv2-shell) .fluorite-ref-search { border-color: rgba(255, 255, 255, .16); }
}

/* 11.11: при наведении карточка увеличивалась (scale 1.012) и вылезала за сетку с overflow-y:auto —
   появлялась горизонтальная полоса прокрутки. Горизонтальный скролл запрещён, наведение — только подъём. */
@media (min-width: 781px) {
  .pbv2-shell .pbv2-project-grid.is-full { overflow-x: hidden; }
  .pbv2-shell .pbv2-project-grid.is-full > .pbv2-project-card:hover { transform: translateY(-3px); }
}

/* 12.11: путь к заявке (пункты 1-4, 6 разбора). */
/* 1. Главное действие на первом экране */
.pbv2-shell .pbv2-hero-cta { min-height: 44px; padding: 0 16px; border-radius: 12px; white-space: nowrap; }
.pbv2-persona-info { z-index: 4; pointer-events: none; } /* клики по карточке идут в .pbv2-persona-hit под ним */
.pbv2-persona-pill { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.pbv2-persona-pill svg { color: #fff; }
.pbv2-persona:hover .pbv2-persona-pill { background: rgba(255, 255, 255, .12); }
.pbv2-persona-cta {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin: 10px 0 0 6px; padding: 0 16px;
  border: 0; border-radius: 999px; background: #fff; color: #0a0a0a;
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: transform .2s ease;
}
.pbv2-persona-cta:hover { transform: translateY(-2px); }
.pbv2-persona-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 2. Кнопка заявки всегда видна в кейсе */
.pbv2-case-sticky-cta {
  position: sticky; bottom: calc(-1 * var(--pbv2-dialog-inset, 28px)); z-index: 15;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 24px calc(-1 * var(--pbv2-dialog-inset, 28px)) calc(-1 * var(--pbv2-dialog-inset, 28px));
  padding: 12px var(--pbv2-dialog-inset, 28px) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #121212;
}
.pbv2-case-sticky-cta > span { min-width: 0; overflow: hidden; color: rgba(255, 255, 255, .72); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.pbv2-case-sticky-cta .pbv2-primary-cta { flex-shrink: 0; }
@media (max-width: 780px) {
  .pbv2-case-sticky-cta > span { display: none; }
  .pbv2-case-sticky-cta .pbv2-primary-cta { width: 100%; }
}

/* 3-4. Форма: способ связи, сроки и бюджет под раскрытием */
.pbv2-channel { margin: 0; padding: 0; border: 0; min-width: 0; }
.pbv2-channel legend { padding: 0; margin-bottom: 7px; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; }
.pbv2-channel-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pbv2-application-form .pbv2-channel-option { position: relative; display: block; gap: 0; cursor: pointer; }
.pbv2-application-form .pbv2-channel-option input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.pbv2-channel-option span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: #1c1c1c;
  color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 600; text-align: center; transition: .2s ease;
}
.pbv2-channel-option input:checked + span { background: #fff; border-color: #fff; color: #0a0a0a; }
.pbv2-channel-option input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.pbv2-contact-hint { margin: -6px 0 0; color: rgba(255, 255, 255, .55); font-size: 12px; }
.pbv2-form-more { border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: #1a1a1a; }
.pbv2-form-more > summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none;
}
.pbv2-form-more > summary::-webkit-details-marker { display: none; }
.pbv2-form-more > summary::after { content: "+"; margin-left: auto; font-size: 18px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.pbv2-form-more[open] > summary::after { content: "−"; }
.pbv2-form-more > summary small { color: rgba(255, 255, 255, .45); font-weight: 400; font-size: 12px; }
.pbv2-form-more > .pbv2-field-row { padding: 0 14px 14px; }
@media (max-width: 430px) {
  .pbv2-channel-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 6. Окна плотные: страница больше не просвечивает сквозь текст и поля */
.pbv2-modal { background: rgba(16, 16, 16, .97); }
.pbv2-application-form input,
.pbv2-application-form textarea,
.pbv2-application-form select { background: #1c1c1c; }
@media (max-width: 780px) {
  /* кнопка заявки под заголовком на всю ширину, «Все проекты» рядом */
  .pbv2-shell .pbv2-portfolio-heading { flex-wrap: wrap; height: auto; margin-bottom: 12px; }
  .pbv2-shell .pbv2-profile-lockup { flex: 1 1 100%; }
  .pbv2-shell .pbv2-home-actions { flex: 1 1 100%; }
  .pbv2-shell .pbv2-home-actions .pbv2-hero-cta { flex: 1 1 auto; }
  /* у кейса на мобилке боковой отступ 17px, а не 22 - иначе плашка шире окна и даёт горизонтальный скролл */
  .pbv2-modal-project .pbv2-case-sticky-cta { margin-inline: -17px; padding-inline: 17px; }
}

/* 12.11: заставка «подпись пишется пером» (ПК, раз за сеанс). Откат: блок #pbv2-intro в index.php + этот блок. */
.pbv2-intro { position: fixed; inset: 0; z-index: 10100; display: grid; place-items: center; background: #030303; cursor: pointer; transition: opacity .55s ease, visibility .55s; }
.pbv2-intro[hidden] { display: none; }
.pbv2-intro svg { width: min(62vw, 900px); max-height: 60vh; height: auto; overflow: visible; }
.pbv2-intro-settled { opacity: .84; }
.pbv2-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
html.pbv2-intro-on, html.pbv2-intro-on body { overflow: hidden; }
html.pbv2-intro-on #fluorite-cookie-banner { display: none !important; }

/* 17.11: карточка руководителя — «Открыть историю» и «Обсудить проект» в один ряд, кнопки компактнее,
   текст карточки опускается ниже (блок прижат к низу). Размер ступенями по ширине самой карточки
   (container query): ПК — высота 34px (порог 32), телефон — 44px. Совсем узко (<205px) — ряд переносится. */
.pbv2-persona-info { container-type: inline-size; }
.pbv2-persona-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.pbv2-persona-actions .pbv2-persona-pill,
.pbv2-persona-actions .pbv2-persona-cta { flex: 0 0 auto; margin: 0; min-height: 34px; padding: 0 12px; font-size: 11px; white-space: nowrap; }
.pbv2-persona-actions .pbv2-persona-pill { gap: 5px; }
.pbv2-persona-actions .pbv2-persona-pill svg { width: 12px; height: 12px; flex: 0 0 auto; }
@container (max-width: 310px) {
  .pbv2-persona-actions { gap: 5px; }
  .pbv2-persona-actions .pbv2-persona-pill,
  .pbv2-persona-actions .pbv2-persona-cta { padding: 0 9px; font-size: 10.5px; }
  .pbv2-persona-actions .pbv2-persona-pill { gap: 4px; }
  .pbv2-persona-actions .pbv2-persona-pill svg { width: 11px; height: 11px; }
}
@container (max-width: 285px) {
  .pbv2-persona-actions .pbv2-persona-pill svg { display: none; }
  .pbv2-persona-actions .pbv2-persona-pill,
  .pbv2-persona-actions .pbv2-persona-cta { padding: 0 8px; font-size: 10px; letter-spacing: -.005em; }
}
@media (max-width: 780px) {
  .pbv2-persona-actions { gap: 8px; margin-top: 16px; }
  .pbv2-persona-actions .pbv2-persona-pill,
  .pbv2-persona-actions .pbv2-persona-cta { min-height: 44px; padding: 0 16px; font-size: 12px; letter-spacing: 0; }
  .pbv2-persona-actions .pbv2-persona-pill svg { display: inline; width: 14px; height: 14px; }
}

/* 17.11: подписи статистики карточки руководителя («реализованных проектов», «лет в световом проектировании»)
   на узких карточках налезали на соседнюю колонку: три равные колонки уже самых длинных слов.
   Колонки — по содержимому и разнесены по краям; если места всё равно мало — шрифт меньше и перенос по слогам
   по мягким переносам в data.php (словарь ru есть не во всех браузерах); по символам — последний предохранитель. */
.pbv2-persona-stats { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 8px; }
.pbv2-persona-stats dd { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
@container (max-width: 215px) {
  .pbv2-persona-stats { column-gap: 6px; }
  .pbv2-persona-stats dt { font-size: 15px; }
  .pbv2-persona-stats dd { font-size: 9px; }
}

/* End */


/* Start:/local/modules/fluorite.bureau/preview/ui-fixes.css?17939950693977*/
/* Owner-approved corrections shared by public page and isolated preview. */
.pbv2-shell .pbv2-home-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pbv2-shell .pbv2-home-all { display: inline-flex; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; white-space: nowrap; }
@media (min-width: 1101px) {
  .pbv2-shell .pbv2-project-grid.is-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: calc((100% - 13px) / 2);
    overflow-y: auto;
  }
  .pbv2-shell .pbv2-project-grid.is-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pbv2-shell .pbv2-project-grid.is-five > .pbv2-project-card { grid-column: span 2; }
  .pbv2-shell .pbv2-project-grid.is-five > .pbv2-project-card:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .pbv2-shell .pbv2-project-grid.is-full {
    grid-template-rows: none;
    grid-auto-rows: max(130px, calc((100% - 26px) / 3));
    overflow-y: auto;
  }
  .pbv2-shell .pbv2-project-grid.is-five > .pbv2-project-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .pbv2-shell .pbv2-home-actions .pbv2-home-all { display: inline-flex; }
  .pbv2-shell .pbv2-portfolio-heading { gap: 12px; }
}
.pbv2-shell .pbv2-case-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  align-items: start;
}
.pbv2-shell .pbv2-case-hero h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.pbv2-shell .pbv2-case-hero > p { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.5; }
.pbv2-shell .pbv2-case-hero > p:empty { display: none; }
.pbv2-shell .pbv2-case-story-intro h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -.015em; }
.pbv2-shell .pbv2-case-back { min-height: 44px; font-size: 14px; }
.pbv2-shell .pbv2-case-story-columns article:has(> p:empty),
.pbv2-shell .pbv2-case-story-columns:not(:has(p:not(:empty))) { display: none; }
@media (max-width: 780px) {
  .pbv2-shell .pbv2-case-hero { padding: 22px 0 20px; gap: 12px; }
  .pbv2-shell .pbv2-case-hero h2 { font-size: 30px; }
}
.pbv2-shell .pbv2-modal-toolbar {
  background: transparent;
  border-bottom-color: transparent;
  pointer-events: none;
}
.pbv2-shell .pbv2-modal-toolbar > button { pointer-events: auto; }
@media (min-width: 1101px) {
  .pbv2-shell .pbv2-modal-designers:not(.pbv2-profile-open) .pbv2-designer-grid {
    row-gap: var(--pbv2-first-row-gap, 12px);
  }
}
@media (min-width: 781px) {
  body.fluorite-page .pbv2-shell .pbv2-scene > nav.pbv2-side-nav { top: 50%; }
}
@media (max-width: 780px) {
  body.fluorite-page .pbv2-shell .pbv2-scene > nav.pbv2-side-nav { top: 78px; }
}
.pbv2-shell .pbv2-modal-toolbar > button,
.pbv2-shell .pbv2-lightbox-close,
.pbv2-shell .pbv2-consent-modal-close { border-radius: 50%; }
/* Chromium standard scrollbar-color overrides its scrollbar pseudo-elements.
   Restore custom styling so arrow buttons cannot protrude into rounded corners. */
@supports selector(::-webkit-scrollbar) {
  .pbv2-shell .pbv2-modal,
  .pbv2-shell .pbv2-consent-modal-dialog { scrollbar-width: auto; scrollbar-color: auto; }
  .pbv2-shell .pbv2-modal::-webkit-scrollbar,
  .pbv2-shell .pbv2-consent-modal-dialog::-webkit-scrollbar { width: 8px; height: 8px; }
  .pbv2-shell .pbv2-modal::-webkit-scrollbar-button,
  .pbv2-shell .pbv2-consent-modal-dialog::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .pbv2-shell .pbv2-modal::-webkit-scrollbar-track,
  .pbv2-shell .pbv2-consent-modal-dialog::-webkit-scrollbar-track { background: transparent; margin-block: 24px; }
  .pbv2-shell .pbv2-modal::-webkit-scrollbar-thumb,
  .pbv2-shell .pbv2-consent-modal-dialog::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(255,255,255,.25); background-clip: padding-box; }
}

/* End */
/* /local/templates/fluorite_v1/pages/contacts_project_bureau_v2/assets/pbv2.css?179492476378277 */
/* /local/modules/fluorite.bureau/preview/ui-fixes.css?17939950693977 */
