:root {
  --bg: #f6eef2;
  --surface: #fffafb;
  --ink: #1a1216;
  --muted: #6d5c63;
  --line: rgba(26, 18, 22, 0.08);
  --rose: #c45b7a;
  --berry: #7a3048;
  --gold: #c4a574;
  --blue: #0071e3;
  --radius: 26px;
  --shadow: 0 22px 50px rgba(42, 18, 28, 0.1);
  --display: "Fraunces", Georgia, serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(196, 91, 122, 0.18), transparent 55%),
    radial-gradient(700px 420px at 0% 30%, rgba(196, 165, 116, 0.16), transparent 50%),
    linear-gradient(180deg, #f8f1f4 0%, #f3e8ee 45%, #efe4ea 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(160%) blur(18px);
  background: rgba(246, 238, 242, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header.is-on {
  border-bottom-color: var(--line);
  background: rgba(255, 250, 251, 0.9);
  box-shadow: 0 10px 30px rgba(42, 18, 28, 0.06);
}

.header__row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  min-width: 0;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.logo img,
.contacts__brand img,
.footer__brand img {
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }

.header__right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header__tel {
  display: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease), filter 0.2s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.menu-btn.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 68px 0.75rem auto;
  z-index: 35;
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(255, 250, 251, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.drawer[hidden] { display: none !important; }

.drawer a,
.drawer button {
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  text-align: left;
  font-weight: 700;
}

.drawer .btn { justify-content: center; text-align: center; }

.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  color: #fff;
  overflow: hidden;
}

.hero__bg,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  background:
    linear-gradient(100deg, rgba(18, 10, 14, 0.78) 8%, rgba(18, 10, 14, 0.35) 55%, rgba(18, 10, 14, 0.2) 100%),
    linear-gradient(180deg, rgba(18, 10, 14, 0.2), rgba(18, 10, 14, 0.55));
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 40rem;
  animation: rise 0.8s var(--ease) both;
}

.hero__kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 12vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero__text {
  margin: 1.2rem 0 0;
  max-width: 30rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.facts {
  margin-top: -1.6rem;
  position: relative;
  z-index: 2;
}

.facts__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 251, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.facts__row strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}

.facts__row span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.section { padding: 3.4rem 0; }

@media (min-width: 760px) {
  .section { padding: 4.6rem 0; }
}

.section--how {
  background:
    linear-gradient(135deg, #2a171e 0%, #4a2433 55%, #6b3550 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section--how::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.22), transparent 65%);
  pointer-events: none;
}

.section__top {
  max-width: 36rem;
  margin-bottom: 1.7rem;
}

.section__top h2,
.contacts__copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 800;
}

.section__top p,
.contacts__copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section__top--light p { color: rgba(255, 255, 255, 0.72); }

.catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cat {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 190px;
  padding: 0;
  isolation: isolate;
  text-align: left;
  box-shadow: 0 16px 36px rgba(42, 18, 28, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cat img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(18, 10, 14, 0.78));
}

.cat__label {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  color: #fff;
}

.cat__label strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cat__label em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.cat:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(42, 18, 28, 0.16); }
.cat:hover img { transform: scale(1.06); }
.cat:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.catalog[hidden],
.works[hidden],
.card[hidden] { display: none !important; }

.cat__count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  min-width: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 250, 251, 0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.cat--all {
  grid-column: 1 / -1;
  min-height: 96px;
  display: grid;
  background:
    radial-gradient(circle at 20% 15%, rgba(196, 165, 116, 0.45), transparent 55%),
    linear-gradient(135deg, #2a171e 0%, #4a2433 55%, #6b3550 100%);
}

.cat--all::after { display: none; }

.cat--all .cat__label strong { font-family: var(--display); font-size: 1.35rem; }

.works { scroll-margin-top: 68px; }
.works.is-single .card__cat { display: none; }

.works__bar {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 -1rem 1rem;
  padding: 0.6rem 1rem;
  background: rgba(246, 238, 242, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.works__back {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
}

.chips {
  position: relative;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip i {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  margin-left: 0.15rem;
}

.chip.is-active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.chip.is-active i { color: rgba(255, 255, 255, 0.8); }

.works__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(42, 18, 28, 0.08);
  animation: rise 0.45s var(--ease) both;
}

.card__img {
  display: block;
  padding: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #f3e6ec, #efe1e8);
  cursor: zoom-in;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__img img { transform: scale(1.05); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
  padding: 0.75rem 0.8rem 0.85rem;
}

.card__cat {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
}

.card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__foot {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.card__price {
  font-weight: 800;
  font-size: 0.95rem;
}

.card__price.is-ask {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
}

.card__order {
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 750;
  font-size: 0.82rem;
  white-space: nowrap;
}

.card__order:hover { filter: brightness(1.05); }

.works__more {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.works__more .btn { min-width: 220px; }
.works__more .btn[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #0e080b;
  color: #fff;
  animation: modal-in 0.25s var(--ease);
}

.lightbox[hidden] { display: none !important; }

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(0.6rem + env(safe-area-inset-top)) 1rem 0.6rem;
}

.lightbox__count {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  min-height: 0;
}

.lightbox__track::-webkit-scrollbar { display: none; }

.lightbox__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  padding: 0 0.5rem;
  min-height: 0;
}

.lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox__nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

.lightbox__info {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

.lightbox__title {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
}

.lightbox__desc {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.lightbox__desc:empty { display: none; }

.lightbox__act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.lightbox__price { font-weight: 800; }

.lightbox__want {
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.steps__n {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.15rem;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contacts {
  display: grid;
  gap: 1.5rem;
}

.checklist {
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--rose);
}

.text-link {
  display: inline-flex;
  font-weight: 750;
  color: var(--berry);
  border-bottom: 1px solid rgba(122, 48, 72, 0.3);
}

.contacts__card {
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255, 250, 251, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.contacts__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.contacts__brand h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.contacts__brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.meta div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.meta dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 0.2rem;
}

.meta dd {
  margin: 0;
  font-weight: 700;
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.soc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.9rem;
  color: #fff;
  transition: transform 0.2s var(--ease), filter 0.2s ease;
}

.soc img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
}

.soc:hover { transform: translateY(-2px); filter: brightness(1.05); }
.soc:active { transform: scale(0.98); }

.soc--wa {
  background: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.soc--max {
  background: linear-gradient(135deg, #471aff, #9500ff);
  box-shadow: 0 8px 20px rgba(71, 26, 255, 0.28);
}

.soc--vk {
  background: #0077ff;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.25);
}

.soc--call {
  background: #1a1216;
  box-shadow: 0 8px 20px rgba(26, 18, 22, 0.18);
}

.soc--lg {
  min-height: 48px;
  padding: 0.75rem 1.15rem;
}

.soc--lg img {
  width: 22px;
  height: 22px;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form--modal { margin-top: 1.1rem; }

.form label { display: grid; gap: 0.4rem; }

.form label span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #faf6f7;
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(196, 91, 122, 0.5);
  box-shadow: 0 0 0 4px rgba(196, 91, 122, 0.12);
  background: #fff;
}

.form__submit {
  width: 100%;
  border: 0;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.form__submit:hover { filter: brightness(1.03); }

.form__note,
.form__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form__status.is-ok { color: #1f7a43; font-weight: 700; }
.form__status.is-err { color: #b42318; font-weight: 700; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

.modal[hidden] { display: none !important; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 14, 0.55);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: 28px 28px 22px 22px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  animation: modal-in 0.28s var(--ease);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  font-size: 1.4rem;
  line-height: 1;
}

.modal__kicker {
  margin: 0 2.2rem 0.35rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.modal__panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.modal__lead {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

body.modal-open { overflow: hidden; }

.footer {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer__row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
}

.mobile-bar {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(255, 250, 251, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-bar a,
.mobile-bar button {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(246, 238, 242, 0.9);
}

.mobile-bar__main {
  background: #25d366 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .facts__row { grid-template-columns: repeat(3, 1fr); }

  .catalog {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }

  .cat,
  .cat img { min-height: 240px; }
  .cat--all { min-height: 110px; }

  .cat__label strong { font-size: 1.12rem; }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .card__body { padding: 0.95rem 1rem 1rem; }
  .card__title { font-size: 1.02rem; }

  .works__bar {
    margin-inline: 0;
    padding-inline: 0;
  }

  .lightbox__nav { display: grid; place-items: center; }
  .lightbox__slide { padding: 0 5rem; }

  .lightbox__info {
    grid-template-columns: 1fr auto;
    align-items: end;
    width: min(100%, 980px);
    margin-inline: auto;
  }

  .lightbox__act { justify-content: flex-end; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li {
    grid-template-columns: 1fr;
    min-height: 100%;
  }

  .contacts {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.4rem;
    align-items: center;
  }

  .logo span { max-width: none; }

  .modal {
    place-items: center;
    padding: 1.25rem;
  }

  .modal__panel {
    border-radius: 28px;
    padding: 1.6rem 1.5rem 1.45rem;
  }

  .form--modal { grid-template-columns: 1fr 1fr; }
  .form--modal .form__full,
  .form--modal .form__submit,
  .form--modal .form__note,
  .form--modal .form__status { grid-column: 1 / -1; }

  .footer__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-btn,
  .drawer { display: none !important; }
  .header__tel { display: inline; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero__inner { padding: 8.8rem 0 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
