/* Industrial monolith — light variant. Base styles only.
   Responsive rules live in assets/css/responsive.css */

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

.dauir {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  max-width: 100%;
  padding-top: var(--header-height);
}
.dauir a:not(.btn),
.site-header a:not(.btn) { color: inherit; text-decoration: none; }
.dauir a.btn,
.site-header a.btn { text-decoration: none; }
.dauir h1, .dauir h2, .dauir h3, .dauir p { margin: 0; }
.dauir button,
.site-header button { font: inherit; cursor: pointer; }
.dauir img,
.dauir video,
.dauir iframe,
.dauir svg,
.site-header img,
.site-header svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.btn-brand { background: var(--brand); color: var(--brand-foreground); }
.btn-brand:hover { background: oklch(0.62 0.19 45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--brand); }

/* Press grid background */
.press-grid {
  background-image: radial-gradient(var(--hairline) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Registration mark */
.reg-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--brand);
}
.reg-mark::before, .reg-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.reg-mark::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.reg-mark::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.reg-mark.tl { top: 16px; left: 16px; }
.reg-mark.tr { top: 16px; right: 16px; }
.reg-mark.bl { bottom: 16px; left: 16px; }
.reg-mark.br { bottom: 16px; right: 16px; }

/* ====== HEADER ====== */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}
.site-header__row,
.site-header .container.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo { width: 40px; height: 40px; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.55;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 16px;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--brand); }

/* Header actions (langs + CTA) — desktop inline via display:contents */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.langs {
  display: flex;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--hairline-strong);
}
.langs button {
  padding: 8px 10px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--hairline);
  letter-spacing: 0.1em;
}
.langs button:last-child { border-right: 0; }
.langs button.is-active { background: var(--brand); color: var(--brand-foreground); }

/* Burger — hidden on desktop */
.header-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.header-burger img,
.header-burger__icon {
  width: 28px;
  height: 28px;
  display: block;
}
.header-burger__accent {
  color: var(--brand);
  fill: var(--brand);
}
.header-burger:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.header-burger:hover .header-burger__accent {
  fill: var(--brand);
}

/* Sidebar shell — transparent on desktop so actions stay in header row */
.header-sidebar {
  display: contents;
}
.header-sidebar__panel {
  display: contents;
}
.header-sidebar__top {
  display: none;
}
.header-sidebar__backdrop {
  display: none;
}

.cmyk-strip {
  display: flex;
  height: 4px;
  border-bottom: 1px solid var(--hairline);
}
.cmyk-strip span { flex: 1; }
.cmyk-c { background: #00aeef; }
.cmyk-m { background: #ec008c; }
.cmyk-y { background: #fff200; }
.cmyk-k { background: #1a1a1a; }

/* ── Nav dropdown (Услуги) ── */
.nav { align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 6px 0;
  background: transparent;
  border: 0;
  color: inherit;
}
.nav__trigger:hover { color: var(--brand); }
.nav__caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.nav__item:hover .nav__caret { transform: rotate(225deg) translateY(-1px); }
.nav__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 0;
  width: max-content;
  max-width: min(340px, calc(100vw - 40px));
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--brand);
  box-shadow: 0 24px 48px oklch(0.16 0.01 270 / 0.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__item:hover .nav__menu,
.nav__item.is-nav-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid var(--hairline);
}
.nav__menu a:last-child { border-bottom: 0; }
.nav__menu a:hover { background: var(--paper-2); color: var(--brand); }
.nav__menu-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 120px 0 140px;
  border-bottom: 1px solid var(--hairline);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 64px;
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; }
.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 520 / 440;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 24px 48px oklch(0.16 0.01 270 / 0.18));
}
.hero--home .hero__visual img,
.hero--publishing .hero__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}
.hero__meta {
  display: none;
}
/* ── h1 двухуровневая типографика ─────────────────────── */
.hero h1 {
  max-width: 1060px;
  margin: 0;
  /* font-size задаётся через spans */
}

/* Акцентная строка — крупный дисплейный заголовок */
.hero h1 .accent {
  display: block;
  font-size: 86px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

/* Подзаголовок h1 — меньше, легче, контрастная пара */
.hero h1 .h1__sub {
  display: block;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--ink);
}

/* Параграф-подпись — равный отступ сверху и снизу */
/* .hero prefix нужен для специфичности: бьёт .dauir p { margin:0 } */
.hero .hero__sub {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
  max-width: 660px;
  color: oklch(0.16 0.01 270 / 0.72);
}

.hero .hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}
.hero__rule {
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 1px;
  background: var(--hairline);
}

/* ====== STATS ====== */
.stats { border-bottom: 1px solid var(--hairline); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats__cell {
  padding: 56px 32px;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.stats__cell:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.stats__title {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
}
.stats__desc {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.6;
}
.stats__idx {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  opacity: 0.45;
}

/* ====== SECTION HEAD ====== */
.section { padding: 120px 0; border-bottom: 1px solid var(--hairline); position: relative; z-index: 1; background: var(--paper); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 32px;
}
.section__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section__title {
  font-size: 48px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
  max-width: 720px;
}
.section__title--xl {
  font-size: 64px;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.section__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  text-align: right;
}

/* ====== SERVICES ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.service {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  position: relative;
  transition: background .15s ease, color .15s ease;
}
/* Ховер карточки — повышенная специфичность чтобы побить .dauir a:not(.btn) */
.dauir .service:hover { background: var(--brand); color: var(--ink); }
.dauir .service:hover .service__title { color: var(--ink); }
.dauir .service:hover .service__badge { background: var(--ink); color: var(--paper); }
.dauir .service:hover .service__num { color: var(--ink); opacity: 0.6; }
.dauir .service:hover .service__desc { color: var(--ink); opacity: 0.85; }
.dauir .service:hover .service__arrow { color: var(--ink); transform: translateX(4px); }
.service__img {
  width: calc(100% + 64px);
  margin: -36px -32px 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service:hover .service__img img {
  transform: scale(1.04);
}
.service__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-top: 24px;
}
.service__badge {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
}
.service__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  opacity: 0.5;
}
.service__title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.service__desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
}
.service__arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  align-self: flex-end;
  transition: transform .15s ease, color .15s ease;
}

/* ====== WHY ====== */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}
.why__image {
  position: relative;
  margin-top: 40px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.why__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.05); }
.why__image .reg-mark { color: var(--brand); }
.why__copy p + p { margin-top: 18px; }
.why__copy p { font-size: 16px; line-height: 1.65; opacity: 0.78; }

.why__list { display: flex; flex-direction: column; }
.why__item {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}
.why__item:last-child { border-bottom: 1px solid var(--hairline); }
.why__idx {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.why__item h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.why__item p { margin-top: 10px; font-size: 15px; line-height: 1.6; opacity: 0.7; }

/* ====== CTA BANNER ====== */
.cta-banner {
  background: var(--ink) url('../1.jpg') center / cover no-repeat;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  z-index: 5;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}
.cta-banner__inner {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}
.cta-banner__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}
.cta-banner h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cta-banner p { margin-top: 20px; font-size: 18px; max-width: 520px; opacity: 0.92; }
.cta-banner__text .btn { margin-top: 36px; }
.cta-banner .btn-dark { background: var(--paper); color: var(--ink); }
.cta-banner .btn-dark:hover { background: var(--brand); color: var(--ink); }

/* ====== CLIENTS ====== */
.clients-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.client {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
  text-align: center;
  min-height: 130px;
  transition: all .15s ease;
}
.client:hover { color: var(--brand); }
.clients-wall__cta {
  color: var(--brand);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.testimonial__quote {
  font-size: 18px;
  line-height: 1.65;
  font-style: italic;
  opacity: 1;
}
.testimonial__meta {
  margin-top: 32px;
}
.client.small { font-size: 11px; line-height: 1.4; }
.client--text { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }

.client__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 160px;
  max-height: 72px;
}

/* SVG-логотипы — чуть меньше чтобы не доминировали */
.client__logo--svg {
  max-width: 160px;
  max-height: 60px;
}

/* PNG/JPG с белым фоном — darken убирает белый, адаптируясь под бежевый фон */
.client__logo--darken {
  mix-blend-mode: darken;
  max-width: 180px;
  max-height: 80px;
}

/* ====== MATERIALS (redisign) ====== */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
}

/* Левая колонка: список материалов */
.materials__copy {
  padding: 48px 48px 56px;
  border-right: 1px solid var(--hairline);
}
.materials__copy > p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.72;
  max-width: 480px;
}

/* Нумерованный список вместо чипсов */
.mat-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}
.mat-list__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.mat-list__item:last-child { border-bottom: 1px solid var(--hairline); }
.mat-list__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.mat-list__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Правая колонка: фото-панель поставщикам */
.materials__side {
  background: var(--ink) url('../2.jpg') center / cover no-repeat;
  color: var(--paper);
  padding: 48px 48px 56px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.materials__side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}
.materials__side > * {
  position: relative;
  z-index: 1;
}
.materials__side-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 24px;
}
.materials__side h3 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 320px;
}
.materials__side > p {
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.7;
  margin-top: 20px;
  max-width: 340px;
  flex: 1;
}
.materials__tags {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1px solid rgba(255,255,255,0.15);
}
.materials__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.materials__tag:last-child { border-bottom: 0; }
.materials__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.materials__side .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ====== FEEDBACK STRIP ====== */
.feedback-strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.feedback-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 56px 0;
}
.feedback-strip__copy .section__label {
  color: var(--brand);
  margin-bottom: 14px;
}
.feedback-strip__title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
.feedback-strip__copy p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.65;
  max-width: 560px;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand-name {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 24px;
  line-height: 1;
}
.footer__brand p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 440px;
}
.footer__brand .btn { margin-top: 28px; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 24px;
}
.footer__nav { display: flex; flex-direction: column; gap: 14px; }
.footer__nav a { font-size: 15px; opacity: 0.85; }
.footer__nav a:hover { color: var(--brand); opacity: 1; }
.footer__contact-item { display: grid; grid-template-columns: 28px 1fr; gap: 8px; margin-bottom: 14px; font-size: 15px; }
.footer__contact-item span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brand); padding-top: 2px; }
.footer__contact-item a { opacity: 0.9; }
.footer__contact-item a:hover { color: var(--brand); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__logo img { width: 72px; height: 72px; }

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — переиспользуемые блоки (в стиле главной)
   ===================================================================== */

/* Светлая кнопка — для тёмных/фото-фонов */
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--paper); }

/* Hero-лейбл услуги (бейдж над двухуровневым h1) */
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}

/* ── Этапы процесса (нумерованные, бордюрная сетка как services) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.step {
  padding: 44px 32px 48px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  transition: background .15s ease;
}
.step:hover { background: var(--paper-2); }
.step__num {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand);
  opacity: 0.35;
  line-height: 1;
}
.step .step__title {
  margin-top: 28px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step .step__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.75;
}

/* ── Персона / цитата (фото-кружок + цитата) ── */
.persona {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--hairline);
  background: var(--paper-2);
  padding: 56px;
  position: relative;
}
.persona__photo {
  width: 280px;
  height: 280px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--hairline);
  background: var(--brand);
}
.persona__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.05); }
.persona__photo--ph {
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-foreground);
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.18em;
}
.persona__quote { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--brand); }
.persona .persona__text { margin-top: 22px; font-size: 18px; line-height: 1.6; font-style: italic; opacity: 0.82; max-width: 720px; }
.persona .persona__name { margin-top: 28px; font-size: 20px; font-weight: 700; }
.persona .persona__role { margin-top: 4px; font-size: 15px; opacity: 0.65; }

/* ── Карточка менеджера (низ страницы услуги) ── */
.manager { background: var(--paper); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--hairline); }
.manager__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap; padding: 72px 0;
}
.manager__person { display: flex; align-items: center; gap: 32px; }
.manager__photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: var(--paper-2); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.12em; flex-shrink: 0;
}
.manager__photo img { width: 100%; height: 100%; object-fit: cover; }
.manager__label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.manager__name { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.manager .manager__role { margin-top: 4px; font-size: 16px; opacity: 0.7; }
.manager .manager__address { margin-top: 10px; font-size: 14px; opacity: 0.8; font-family: var(--font-mono); letter-spacing: 0.02em; }
.manager__contacts { display: flex; gap: 16px; flex-wrap: wrap; }
.manager__contact {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 16px 22px; border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em;
  transition: all .15s ease;
}
.manager__contact:hover { background: var(--brand); color: var(--brand-foreground); border-color: var(--brand); }
.manager__contact-key { font-size: 12px; opacity: 0.6; text-transform: uppercase; }
/* конец блоков внутренних страниц */

/* Вариант сетки услуг на 4 карточки в ряд (кросс-навигация на подстраницах) */
.services-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — блок 2 (printing и далее)
   ===================================================================== */

/* Тёмная секция (инверсия .section) */

/* Сетка «фич» — карточки с заголовком и текстом */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}
.feature__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.feature:hover {
  background: var(--ink);
  border-right-color: var(--ink);
  border-bottom-color: var(--ink);
}
.feature:hover::before {
  background: var(--brand);
}
.feature:hover .feature__idx {
  opacity: 1;
}
.feature__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 0.3s ease;
}
.feature:hover .feature__title {
  color: var(--white);
}
.feature .feature__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.72;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.feature:hover .feature__text {
  color: var(--paper);
  opacity: 0.85;
}

/* Карточки спецификации: номер + заголовок + буквенный список */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.spec-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.spec-card__head { display: flex; align-items: flex-start; gap: 14px; }
.spec-card__num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--brand); color: var(--brand-foreground);
  font-family: var(--font-mono); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.spec-card__title { font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.spec-list { margin-top: 20px; display: flex; flex-direction: column; }
.spec-list__item {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center;
  padding: 11px 0; border-top: 1px solid var(--hairline);
  font-size: 14px; line-height: 1.4;
}
.spec-list__item:last-child { border-bottom: 1px solid var(--hairline); }
.spec-list__mark {
  width: 22px; height: 22px;
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
}

/* Callout — панель с акцентом и боковыми бейджами */
.callout {
  display: flex; justify-content: space-between; align-items: center;
  gap: 48px; flex-wrap: wrap;
  border: 1px solid var(--hairline); border-left: 4px solid var(--brand);
  background: var(--paper); padding: 56px;
}
.callout__copy { max-width: 760px; }
.callout__title { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.callout .callout__text { margin-top: 20px; font-size: 18px; line-height: 1.6; opacity: 0.82; }
.callout__badges { display: flex; flex-direction: column; gap: 16px; }
.callout__badge {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.06em;
  background: var(--paper-2); color: var(--brand);
  padding: 18px 28px; text-align: center;
  border: 1px solid var(--hairline); white-space: nowrap;
}
/* конец блока 2 */

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — блок 3 (polygraphy и далее)
   ===================================================================== */

/* Подзаголовок-интро внутри section__head */
.section__head .section__intro {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.78;
  max-width: 640px;
}

/* Карточки услуг со спец-таблицей (2 в ряд) */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--brand);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: background .15s ease;
}
.svc-card:hover { background: var(--paper-2); }
.svc-card__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.svc-card .svc-card__desc { margin-top: 14px; font-size: 15px; line-height: 1.6; opacity: 0.78; }
.svc-specs { margin-top: 24px; width: 100%; border-collapse: collapse; }
.svc-specs td { padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 14px; vertical-align: baseline; }
.svc-specs__label { opacity: 0.6; width: 44%; }
.svc-specs__value { text-align: right; font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.01em; }
.svc-card__action { margin-top: 24px; align-self: flex-start; }

/* Колонки-«столпы» с крупным номером (для тёмной секции) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.pillar__num {
  font-family: var(--font-mono);
  font-size: 52px; font-weight: 500;
  color: var(--brand); line-height: 1;
}
.pillar .pillar__title { margin-top: 16px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.pillar .pillar__text { margin-top: 10px; font-size: 15px; line-height: 1.6; opacity: 0.8; }
/* конец блока 3 */

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — блок 4 (карточки продукции с фото)
   ===================================================================== */
.prodcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.prodcard {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.prodcard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.prodcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prodcard:hover .prodcard__img img { transform: scale(1.04); }
.prodcard__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.prodcard__head { display: flex; align-items: flex-start; gap: 12px; }
.prodcard__num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--brand); color: var(--brand-foreground);
  font-family: var(--font-mono); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.prodcard__title { font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.prodcard .spec-list { margin-top: 20px; }
/* конец блока 4 */

/* Вариант «этапов» на 4 колонки */
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — блок 5 (реестры, гостиница, таможня)
   ===================================================================== */

/* Таблица реестра свободных объектов/помещений */
.registry { width: 100%; border-collapse: collapse; }
.registry thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 20px 24px;
  border-bottom: 2px solid var(--brand);
  text-align: left;
  background: var(--paper-2);
}
.registry thead th:last-child { text-align: right; }
.registry tbody td {
  padding: 22px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: baseline;
}
.registry tbody tr:hover td { background: var(--paper-2); }
.registry tbody td:last-child { text-align: right; }
.registry__name { font-weight: 600; letter-spacing: -0.01em; }
.registry__addr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; opacity: 0.55; margin-top: 4px; }
.registry__status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.55 0.16 145);
}
.registry__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.registry__thumb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.registry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.registry__thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.registry__thumb:hover img {
  transform: scale(1.1);
}
.registry__thumb--hidden {
  display: none;
}
.registry__thumb-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}
.registry__thumb-more:hover {
  background: var(--brand);
  color: var(--paper);
}

/* Карточки номеров гостиницы — три в ряд */
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.room-card {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.room-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .room-card__img img { transform: scale(1.04); }
.room-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.room-card__type { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.room-card__meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.06em; opacity: 0.6;
  display: flex; gap: 16px;
}
.room-card__features { margin-top: 20px; display: flex; flex-direction: column; flex: 1; }
.room-card__feature {
  padding: 10px 0; border-top: 1px solid var(--hairline);
  font-size: 14px; line-height: 1.5;
}
.room-card__feature:last-child { border-bottom: 1px solid var(--hairline); }
.room-card__price {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 500;
  color: var(--brand); letter-spacing: 0.01em;
}
.room-card .btn { margin-top: 18px; }

/* Карта-заглушка (запасная) */
.map-placeholder {
  width: 100%; aspect-ratio: 16 / 6;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}

/* Google Maps embed */
.map-embed {
  width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.map-placeholder__label {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.45;
}
/* конец блока 5 */

/* =====================================================
   МОДАЛКИ (FeedbackModal, PortfolioModal)
   ===================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  top: 0; left: 0; right: 0; bottom: 0; /* fallback для старых браузеров */
  background: rgba(15, 15, 17, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none; /* скрыт по умолчанию */
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: var(--white);
  max-width: 680px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn .25s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


.modal__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  font-size: 32px; line-height: 1;
  color: var(--brand); opacity: .6;
}
.modal__close:hover { opacity: 1; }

.modal__body { padding: 40px 48px; }

.modal__title {
  font-size: 30px; font-weight: 700; line-height: 1.15;
  color: var(--ink); letter-spacing: -.02em;
  margin-bottom: 8px;
}
.modal__sub {
  font-size: 15px; color: var(--ink); opacity: .65;
  margin-bottom: 24px; line-height: 1.5;
}

/* Форма */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; opacity: .55;
}
.form-input,
.form-textarea {
  box-sizing: border-box;
  width: 100%; padding: 12px 14px;
  background: var(--paper-2); border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans); font-size: 15px;
  color: var(--ink); outline: none;
  transition: border-color .2s;
}
.form-select {
  box-sizing: border-box;
  width: 100%; padding: 12px 40px 12px 14px;
  background: var(--paper-2); border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans); font-size: 15px;
  color: var(--ink); outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2b30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}
.form-select::-ms-expand {
  display: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: var(--brand); }
.form-textarea { resize: none; min-height: 80px; }

/* Успех */
.modal__success {
  text-align: center;
  padding: 48px 0;
}
.modal__success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 28px;
}
.modal__success h2 {
  font-size: 36px; font-weight: 700; margin-bottom: 12px;
}
.modal__success p { font-size: 16px; opacity: .65; margin-bottom: 32px; }

/* Портфолио модалка */
.modal--wide { max-width: 860px; }
.modal__photo-placeholder {
  width: 100%; aspect-ratio: 16/7;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; opacity: .4;
  margin-bottom: 40px;
}
.modal__meta {
  background: var(--paper-2); padding: 20px 24px;
  border-left: 4px solid var(--brand); margin-top: 32px;
}
.modal__meta-key {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; opacity: .5;
  margin-bottom: 6px;
}
.modal__meta-val {
  font-size: 24px; font-weight: 700; color: var(--brand);
}
/* конец модалок */

/* =====================================================
   ФОРМА ЗАКАЗА (order.html)
   ===================================================== */
.order-form { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--hairline); }
.order-form__block {
  padding: 48px;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.order-form__block:last-child { border-bottom: 0; }
.order-form__block-title {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 1px solid var(--hairline);
}
.order-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-form__grid--full { grid-template-columns: 1fr; }
.order-form__field { display: flex; flex-direction: column; gap: 10px; }
.order-form__field--full { grid-column: 1 / -1; }
.order-form__label {
  font-size: 14px; font-weight: 600;
  font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.order-form__label sup { color: var(--brand); }
.order-form__input, .order-form__select, .order-form__textarea {
  width: 100%; padding: 16px 18px;
  border: 1px solid var(--hairline-strong);
  background: var(--paper);
  font: inherit; font-size: 16px;
  color: var(--ink);
  outline: none; box-sizing: border-box;
  transition: border-color .15s;
}
.order-form__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2b30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}
.order-form__input:focus, .order-form__select:focus, .order-form__textarea:focus {
  border-color: var(--brand);
}
.order-form__textarea { resize: vertical; min-height: 120px; }
.order-form__upload {
  position: relative;
  display: block;
  border: 2px dashed var(--hairline-strong);
  padding: 40px; text-align: center;
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.order-form__upload:hover,
.order-form__upload.is-dragover { border-color: var(--brand); background: var(--paper-2); }
.order-form__upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.order-form__upload-title { font-size: 16px; font-weight: 600; pointer-events: none; }
.order-form__upload-hint { margin-top: 6px; font-family: var(--font-mono); font-size: 13px; opacity: 0.5; letter-spacing: 0.08em; pointer-events: none; }
.order-form__upload-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-form__upload-list:not([hidden]) { display: flex; }
.order-form__upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  font-size: 14px;
}
.order-form__upload-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-form__upload-item-size {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.55;
  flex-shrink: 0;
}
.order-form__upload-remove {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}
.order-form__upload-remove:hover { color: var(--brand); }
.order-form__upload-error {
  margin: 12px 0 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.5;
}
.order-form__upload--magic {
  cursor: default;
  text-align: left;
}
.order-form__upload--magic .order-form__upload-title,
.order-form__upload--magic .order-form__upload-hint {
  pointer-events: auto;
  margin-bottom: 16px;
}
.order-form__upload--magic .responsiv-uploader-fileupload .upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--hairline-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.order-form__upload--magic .responsiv-uploader-fileupload .upload-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.order-form__upload--magic .upload-files-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-form__upload--magic .upload-object {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.order-form__upload--magic .upload-object .icon-container {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.order-form__upload--magic .upload-object .info {
  flex: 1;
  min-width: 0;
}
.order-form__upload--magic .upload-object .info h4 {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.order-form__upload--magic .upload-object .info .size {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
}
.order-form__upload--magic .upload-object .meta .upload-remove-button {
  display: inline-block !important;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.55;
}
.order-form__upload--magic .upload-object .meta .upload-remove-button:hover {
  opacity: 1;
  color: var(--brand);
}

.magicforms-flash {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid #f0b4ae;
  background: #fff5f4;
  color: #b42318;
  font-size: 14px;
  line-height: 1.5;
}
.magicforms-flash__title {
  font-weight: 600;
  margin-bottom: 6px;
}
.magicforms-flash__text { margin: 0; }
.magicforms-flash__list {
  margin: 8px 0 0;
  padding-left: 18px;
}
.order-form__submit {
  padding: 48px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.order-form__submit p { font-size: 15px; opacity: 0.65; max-width: 480px; line-height: 1.6; }
.order-form__submit-btn { padding: 18px 40px; font-size: 15px; white-space: nowrap; }
/* конец формы заказа */

/* ====== PORTFOLIO PAGE CUSTOMIZATION ====== */
.portfolio-page .service__top {
  margin-top: 0;
}
.portfolio-page .service {
  border-bottom: 7px solid var(--ink); /* черная линия 7px внизу */
}
/* .dauir a:not(.btn) color:inherit-ті жеңу үшін .dauir a.portfolio-btn */
.dauir a.portfolio-btn {
  margin-top: auto;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}
.dauir a.portfolio-btn:hover {
  background: var(--brand);
  color: var(--ink);
}
.dauir .service:hover a.portfolio-btn {
  background: var(--ink);
  color: var(--paper);
}
.dauir .service:hover a.portfolio-btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.fancybox__container .fancybox__slide.has-iframe .fancybox__content,
.fancybox__container .fancybox__slide.has-pdf .fancybox__content {
  width: min(90vw, 1100px);
  height: 90vh;
  padding: 0;
}

.fancybox__container .fancybox__slide.has-iframe .fancybox__content iframe,
.fancybox__container .fancybox__slide.has-pdf .fancybox__content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal--portfolio {
  max-width: 600px;
  width: 100%;
  background: var(--white);
  padding: 32px 32px 28px;
  position: relative;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--hairline-strong);
}
.modal__portfolio-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__portfolio-img img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--hairline);
}

/* ====== HEART PANEL ====== */
.heart-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  background: var(--ink);
  color: var(--paper);
  padding: 64px 80px;
  position: relative;
}
.heart-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
}
.heart-panel__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heart-panel__title {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 16px;
  color: var(--paper);
}
.heart-panel__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}
.heart-panel__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.heart-stat {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.heart-stat__num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
}
.heart-stat__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.heart-stat__desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
  margin-top: 4px;
}

/* ====== TEAM GRID (about.html) ====== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--hairline);
  padding-top: 48px;
}
.team-card {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  background: var(--paper);
  padding: 32px;
  border: 1px solid var(--hairline);
  position: relative;
  transition: all 0.3s ease;
}
.team-card:hover {
  background: var(--paper-2);
  border-color: var(--hairline-strong);
}
.team-card__image {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
  border: 2px solid var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card__image--text {
  background: var(--ink);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__initials {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.team-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.team-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong, var(--ink));
  font-weight: 600;
}
.team-card__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.4;
}
.team-card__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.team-card__desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
  color: var(--ink);
}

.svc-card--placeholder {
  background: var(--paper-2);
  border-style: dashed;
}
.svc-card--placeholder .svc-card__title,
.svc-card--placeholder .svc-card__desc {
  opacity: 0.45;
}