:root {
  --paper: #faf7f0;
  --card: #efeae0;
  --ink: #141414;
  --muted: #6b675e;
  --line: #d9d3c4;
  --radius: 12px;
  --font-display: "Courier Prime", "Courier New", monospace;
  --font-body: "Courier Prime", "Courier New", monospace;
}

* { box-sizing: border-box; }

/* Отступ для якорной прокрутки под липкую шапку (122px) */
#services,
#design,
#leadform,
#contacts,
#faq,
#about { scroll-margin-top: 140px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 14px;
}

h2 { font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 122px;
  border-bottom: 2px solid var(--ink);
  padding-left: 0;
  transition: border-color .25s ease;
}

.header.is-scrolled .header__inner { border-bottom-color: transparent; }

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.31rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo__amp { color: var(--muted); }

.header__tag {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  color: var(--muted);
  transform: translateY(-10%);
}

.btn.header__cta {
  position: relative;
  border-radius: 10px;
  padding: 16px 31px;
  font-size: 1.2rem;
  transform: translateX(-70%);
  transition: scale .12s ease;
}

.btn.header__cta:active { scale: .97; }

.header__rule {
  width: 1px;
  height: 68px;
  align-self: center;
  background: var(--ink);
}

.header__icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header__icons img {
  display: block;
  width: 51px;
  height: 51px;
  object-fit: cover;
}

.header__icons a {
  display: inline-flex;
  align-items: center;
  transition: scale .12s ease;
}

.header__icons a:active { scale: .9; }

.lead__icons { margin-top: 12px; }

.lead__icons img {
  width: 43px;
  height: 43px;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.burger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 200px;
  text-decoration: none;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover { opacity: .85; }

.btn-ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-full { width: 100%; }

/* Hero */
.hero { padding: 48px 0 146px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero__inner > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero h1 {
  font-size: clamp(2.4rem, 1.65rem + 3.9vw, 4.2rem);
  margin-top: 20px;
}

.hero__hl {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 6px 18px;
  font-size: 1.56em;
  text-transform: uppercase;
}

.hero__rest {
  display: inline-block;
  font-size: .95em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(30%);
  margin-top: -10px;
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: auto 0;
  font-size: 1.78em;
  transform: translateY(5px);
}

.hero__points li {
  margin: 10px 0;
  padding-left: 22px;
  position: relative;
  font-weight: 500;
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  background: var(--ink);
}

.hero__actions {
  margin-top: auto;
  transform: translateY(-20px);
}

.hero__actions .btn {
  font-size: 1.2rem;
  padding: 18px 39px;
  border-radius: 10px;
  transition: scale .12s ease;
}

.hero__actions .btn:active { scale: .97; }

.hero__photo {
  margin: 0;
  align-self: center;
  transform: translateY(3%);
}

.hero__slider {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
}

.hero__slides {
  display: flex;
  height: 100%;
  transition: transform .9s ease;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Слайдер с полным показом вертикальных фото */
.hero__slider--fit { background: var(--card); }

.hero__slider--fit .hero__slide { object-fit: contain; }

.hero__bars {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 45px;
}

.hero__bars button {
  width: 180px;
  height: 7px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0;
  cursor: pointer;
}

.hero__bars button.is-active { background: var(--ink); }

/* Клиенты */
.clients__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 31px 20px 31px 0;
  border-top: 2px solid var(--ink);
}

.section__label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.about__inner > .section__label {
  font-size: 1.44rem;
  color: var(--ink);
  width: 266px;
}

.clients__label {
  font-size: 1.44rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  width: 266px;
}

.clients__row {
  display: flex;
  flex: 1;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding-left: 28px;
  position: relative;
}

.clients__row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--ink);
}

.clients__row img {
  height: 60px;
  width: auto;
  filter: grayscale(1);
}

.clients__row img.clients__logo--small { height: 30px; }

/* Секции */
.section { padding: 0 0 56px; }

.section > .container {
  border-top: 2px solid var(--ink);
  padding-top: 56px;
}

.section__sub {
  letter-spacing: .06em;
  font-size: 1.3em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 64px;
  border-bottom: 2px solid var(--ink);
  transform: translateY(5px);
}

/* Преимущества */
.about__inner {
  display: grid;
  grid-template-columns: 266px 1fr;
  gap: 28px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 30px 0 30px 28px;
  font-size: 1.3em;
  position: relative;
}

.about__grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -65px;
  width: 2px;
  background: var(--ink);
}

.about__grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 14px);
  width: 2px;
  background: var(--ink);
}

.about__item { padding: 18px 18px 18px 0; }

.about__item:nth-child(2n) { padding-left: 32px; }
.about__item:nth-child(n+3) { border-top: 2px solid var(--ink); }

.about__item:nth-child(3) {
  margin-left: -60px;
  padding-left: 60px;
}

.about__item h3 {
  font-size: 2.3rem;
  font-weight: 400;
  text-transform: uppercase;
}
.about__item p { font-size: 1.35rem; color: var(--muted); margin: 0; }
.about__icon { margin-bottom: 10px; }

.about__item:first-child .about__icon {
  width: 65px;
  height: auto;
}

.about__item:nth-child(2) .about__icon {
  width: 103px;
  height: 60px;
  transform: translateY(-50px);
}

.about__item:nth-child(2) h3 { transform: translateY(-50px); }
.about__item:nth-child(2) p { transform: translateY(-50px); }

.about__item:nth-child(3) .about__icon {
  width: 65px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  transform: translate(-60px, 20px);
}

.about__item:nth-child(3) h3,
.about__item:nth-child(3) p { transform: translate(-60px, 20px); }

.about__item:nth-child(4) .about__icon {
  width: 65px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(20px);
}

.about__item:nth-child(4) h3,
.about__item:nth-child(4) p { transform: translateY(20px); }


.about__item:first-child { transform: translate(-60px, -50px); }

/* Каталог */
#services > .container > h2 {
  text-transform: uppercase;
  font-size: 4.7rem;
}

#design h2 {
  text-transform: uppercase;
  font-size: 4.7rem;
  margin-top: 20px;
}

#design { padding-bottom: 86px; }

.catalog__title {
  margin-top: 74px;
  margin-bottom: 32px;
  font-size: 4.06rem;
  text-transform: uppercase;
}

.catalog__slider { position: relative; }

.catalog__track {
  display: flex;
  gap: 19px;
  overflow: hidden;
}

.catalog__card {
  flex: 0 0 calc(20% - 15.2px);
  margin: 0;
  text-align: center;
  position: relative;
}

.catalog__card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  background: var(--card);
}

.catalog__card figcaption { margin-top: 10px; font-weight: 700; }

.catalog__card--faded img {
  filter: grayscale(0);
  transition: filter .3s ease;
}

.catalog__card--faded figcaption {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(20,20,20,.55);
  border-radius: var(--radius);
  color: #fff;
  font-size: 1.3em;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.catalog__card--faded figcaption span { margin-left: 10px; }

.catalog__card--faded .faded-name {
  font-size: 1.95em;
  transform: translateY(-50px);
}

#catalogMed .catalog__card:nth-child(2) .faded-name { font-size: 1.37em; }
#catalogMed .catalog__card:nth-child(5) .faded-name { font-size: 1.37em; }

.catalog__card--faded:hover img { filter: grayscale(1); }
.catalog__card--faded:hover figcaption { opacity: 1; }

.catalog__more {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
}

.catalog__more:hover { opacity: .75; }

.catalog__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.catalog__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.catalog__arrow:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Дизайн */
.design__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  margin-top: 58px;
  align-items: stretch;
  transform: translateX(350px);
  max-width: calc(100% - 350px);
}

.design__img {
  width: calc(100% + 350px);
  height: 100%;
  object-fit: cover;
  margin-left: -350px;
  border-radius: var(--radius);
  background: var(--card);
  display: block;
}

.design__list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0 0 0 32px;
  border-left: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.design__list li {
  counter-increment: step;
  padding: 6px 0 11px 86px;
  position: relative;
  border-bottom: 2px solid var(--ink);
}

.design__list li:nth-child(2) { padding: 51px 0 28px 86px; }

.design__list li:nth-child(2)::before { top: 53px; }

.design__list li:nth-child(3) { padding: 46px 0 11px 86px; }

.design__list li:nth-child(3)::before { top: 48px; }

.design__list li:first-child {
  padding-bottom: 0;
  transform: translateY(-4px);
}

.design__list li:last-child { border-bottom: 0; }

.design__list li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design__list h3 {
  font-size: 1.78rem;
  text-transform: uppercase;
}
.design__list p {
  color: var(--muted);
  font-size: 1.3em;
  font-weight: 700;
}
.design__list .btn {
  margin-top: 12px;
  border-radius: 10px;
  font-size: 1.04rem;
  padding: 16px 34px;
  transition: scale .12s ease;
}

.design__list .btn:active { scale: .97; }

/* Форма */
.lead__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
  font-size: 2em;
}

#leadform h2 {
  font-size: 2.4em;
  text-transform: uppercase;
}

#leadform .section__label { font-size: 1.44rem; }

#leadform p:not(.lead__policy) { font-weight: 700; }

.lead__policy {
  font-size: .82rem;
  color: var(--muted);
}

#leadform .lead__policy { font-size: 1.07rem; }

.leadform {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .5em;
}

.leadform .btn {
  border-radius: 10px;
  padding: 16px 26px;
}

.leadform input,
.leadform textarea {
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: #e9e4d8;
  font: inherit;
}

.error {
  color: #b3261e;
  font-size: .8rem;
  min-height: .4em;
}

.agree {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: .75rem;
  color: #000;
}

.agree input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.form__success {
  color: #0e7a3d;
  font-weight: 700;
  margin: 0;
}

/* Футер */
.footer {
  padding: 0 0 24px;
  margin-top: -10px;
}

.footer > .container {
  border-top: 2px solid var(--ink);
  padding-top: 48px;
}

.breadcrumbs {
  padding: 20px 0;
  font-size: .9rem;
  color: var(--muted);
}

.breadcrumbs a { color: var(--ink); }

.page-bare .footer > .container { border-top: 0; }

.page-bare .hero h1 { font-size: 4rem; }

.page-bare .hero__points { margin: auto 0; }

.page-bare .hero__points li::before { top: .55em; }

.page-bare .hero__actions { margin-top: auto; transform: none; }

.page-bare #services > .container > h2 { font-size: 6.11rem; }

.page-bare .section__sub { font-size: 2.2em; }

.footer h2 { font-size: 4.32rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 430px 1fr auto 360px;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}

.footer__info h2 { margin-top: 0; margin-bottom: 4px; text-transform: uppercase; }

.footer__info > p { font-size: 1.58rem; font-weight: 700; white-space: nowrap; margin: 0 0 8px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
}

.footer__map {
  background: var(--card);
  border-radius: var(--radius);
  min-height: 340px;
  height: 100%;
  width: calc(50% + 260px);
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  overflow: hidden;
}

.footer__map iframe {
  width: 100% !important;
  max-width: 100%;
  height: 340px;
  border: 0;
}

.footer__qr {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(50px);
}

.footer__qr img {
  display: block;
  border-radius: 8px;
}

.footer__phone {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.1;
  display: inline-block;
  margin-top: 20px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.footer__contacts { text-align: right; }

.footer__contacts .logo { font-size: 2.4rem; }

.footer__contacts p { font-size: .84rem; margin-top: 0; }

.footer__addr { display: inline-block; margin-top: 50px; font-size: 1.01rem; }

.footer__contacts a[href^="mailto:"] { overflow-wrap: anywhere; font-size: 1.01rem; }

.footer__contacts .btn { margin-top: 12px; font-size: .96rem; border-radius: 10px; }

.footer__inner {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Кнопка вверх */
.up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
}

.up.is-visible { display: block; }

/* Мобильные иконки мессенджеров: только мобильный вид */
.mobile-social { display: none; }

/* FAQ */
.faq__list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.faq__list details {
  border: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow .25s ease;
}

.faq__list details[open] { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }

.faq__list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__list summary::-webkit-details-marker { display: none; }

.faq__list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.faq__list details[open] summary::after { transform: rotate(45deg); }

.faq__list details p { color: var(--muted); margin: 12px 0 0; max-width: 900px; }

@media (max-width: 900px) {
  .mobile-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 20;
  }

  .mobile-social img {
    display: block;
    width: 44px;
    height: 44px;
  }
}

/* Адаптив под популярные десктопные разрешения.
   Мобильный вид (<=900px) ниже — эти правила его не касаются. */
@media (max-width: 1600px) and (min-width: 901px) {
  .container { padding: 0 24px; }

  .header__inner { gap: 12px; }
  .header__tag { font-size: .85rem; }
  .nav { gap: 20px; }
  .nav a { font-size: 1.2rem; }
  .btn.header__cta { padding: 12px 22px; font-size: 1rem; }
  .header__icons img { width: 44px; height: 44px; }

  .clients__inner { gap: 20px; }
  .clients__label { width: 220px; font-size: 1.2rem; }
  .clients__row { gap: 24px; padding-left: 20px; }
  .clients__row img { height: 48px; }
  .clients__row img.clients__logo--small { height: 24px; }

  .footer__grid { grid-template-columns: 420px 1fr auto 320px; }
  .footer__map { width: 100%; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .hero h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.2rem); }
  .hero__hl { font-size: 1.3em; }

  .design__inner {
    grid-template-columns: 280px 1fr;
    transform: none;
    max-width: none;
  }
  .design__img { width: 100%; margin-left: 0; }

  .lead__inner { grid-template-columns: 1fr 420px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__info { grid-column: 1; grid-row: 1; }
  .footer__contacts { grid-column: 2; grid-row: 1; }
  .footer__map { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .footer__qr { grid-column: 1 / -1; grid-row: 3; transform: none; }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .logo { font-size: 2.6rem; }
  .header__tag { display: none; }
  .header__inner { gap: 10px; }
  .nav { gap: 14px; }
  .nav a { font-size: 1rem; }
  .btn.header__cta { padding: 10px 16px; font-size: .9rem; }
  .header__icons img { width: 40px; height: 40px; }

  .clients__inner { flex-wrap: wrap; }
  .clients__row { flex-wrap: wrap; row-gap: 16px; }

  .about__item h3 { font-size: 1.6rem; }
  .about__item p { font-size: 1.1rem; }

  .hero__bars button { width: 110px; }

  .footer__info > p { font-size: 1.4rem; }

  .lead__inner { grid-template-columns: 1fr 380px; }
}

@media (min-width: 801px) {
  .nav { transform: translateX(-18px); }
  .btn.header__cta { transform: translateX(-18px); }
  .header__rule { margin-left: -18px; }
}

@media (max-width: 900px) {
  .container { padding: 0 16px; }

  /* Якоря под компактную шапку (84px) */
  #services,
  #design,
  #leadform,
  #contacts,
  #faq,
  #about { scroll-margin-top: 100px; }

  /* Шапка */
  .header__inner { height: 84px; gap: 12px; }
  .logo { font-size: 2.2rem; }
  .header__tag,
  .header__rule,
  .header .header__icons { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: 1rem; }
  .btn.header__cta { padding: 10px 16px; font-size: .9rem; }

  /* Hero */
  .hero { padding: 32px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; margin-top: 0; }
  .hero__hl { font-size: 1.44em; padding: 6px 8px; }
  .hero__rest { font-size: 1.235em; }
  .hero__points { font-size: 1.25rem; margin: 20px 0; }
  .hero__actions { transform: none; }
  .hero__actions .btn { width: 100%; }
  .hero__bars { margin-top: 24px; }
  .hero__bars button { width: 90px; }

  /* Клиенты */
  .clients__inner { flex-wrap: wrap; gap: 16px; padding: 24px 16px; }
  .clients__label { width: 100%; font-size: 1.1rem; }
  .clients__row { flex-wrap: wrap; gap: 16px; padding-left: 0; row-gap: 16px; }
  .clients__row::before { display: none; }
  .clients__row img { height: 40px; }
  .clients__row img.clients__logo--small { height: 22px; }

  /* Секции */
  .section { padding: 0 0 36px; }
  .section > .container { padding-top: 32px; }
  .section__sub { font-size: 1rem; padding-bottom: 32px; }

  /* Преимущества */
  .about__inner { grid-template-columns: 1fr; }
  .about__inner > .section__label { width: auto; font-size: 1.2rem; }
  .about__grid {
    grid-template-columns: 1fr;
    border-left: 0;
    padding: 0;
  }
  .about__grid::before,
  .about__grid::after { display: none; }
  .about__item { padding: 16px 0; }
  .about__item:nth-child(2n) { padding-left: 0; }
  .about__item:nth-child(2) { border-top: 2px solid var(--ink); }
  .about__item:nth-child(3) { margin-left: 0; padding-left: 0; }
  .about__item:first-child,
  .about__item:nth-child(2) .about__icon,
  .about__item:nth-child(2) h3,
  .about__item:nth-child(2) p,
  .about__item:nth-child(3) .about__icon,
  .about__item:nth-child(3) h3,
  .about__item:nth-child(3) p,
  .about__item:nth-child(4) .about__icon,
  .about__item:nth-child(4) h3,
  .about__item:nth-child(4) p { transform: none; }
  .about__item h3 { font-size: 1.5rem; }
  .about__item p { font-size: 1.05rem; }

  /* Каталог */
  #services > .container > h2,
  #design h2 { font-size: 2.2rem; }
  .catalog__title { font-size: 1.8rem; margin-top: 32px; margin-bottom: 16px; }
  .catalog__card { flex-basis: 100%; }
  .catalog__card img { height: 62vw; }
  .catalog__card--faded figcaption { font-size: 1.04em; gap: 4px; padding: 6px; }
  .catalog__card--faded .faded-name,
  #catalogMed .catalog__card:nth-child(2) .faded-name,
  #catalogMed .catalog__card:nth-child(5) .faded-name { font-size: 1.625em; transform: none; }
  .catalog__card--faded figcaption span { margin-left: 0; }

  /* Дизайн */
  #design { padding-bottom: 48px; }
  .design__inner {
    grid-template-columns: 1fr;
    transform: none;
    max-width: none;
    margin-top: 24px;
    gap: 24px;
  }
  .design__img { width: 100%; height: auto; margin-left: 0; }
  .design__list { padding-left: 0; border-left: 0; }
  .design__list li { padding: 12px 0 12px 64px; }
  .design__list li:nth-child(2) { padding: 12px 0 12px 64px; }
  .design__list li:nth-child(2)::before { top: 12px; }
  .design__list li:nth-child(3) { padding: 12px 0 12px 64px; }
  .design__list li:nth-child(3)::before { top: 12px; }
  .design__list li:first-child { transform: none; padding-bottom: 12px; }
  .design__list li::before { width: 36px; height: 36px; top: 12px; }
  .design__list h3 { font-size: 1.3rem; }
  .design__list p { font-size: 1.05rem; }
  .design__list .btn { width: 100%; }

  /* Форма */
  .lead__inner { grid-template-columns: 1fr; font-size: 1.25em; gap: 24px; }
  #leadform h2 { font-size: 2rem; }
  .faq__list summary { font-size: 1rem; }
  .leadform { gap: 6px; font-size: .65em; }
  .leadform input,
  .leadform textarea { padding: 10px 12px; }
  .leadform .btn { padding: 20px 26px; }
  .error { min-height: .5em; }

  /* Футер */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > * { min-width: 0; }

  /* Листовки: hero и каталог */
  .page-bare .hero h1 { font-size: 3rem; }
  .page-bare .hero__points { margin: 24px 0; }
  .page-bare #services > .container > h2 { font-size: 2.2rem; }
  .page-bare .section__sub { font-size: 1.2rem; }
  .page-bare .hero__actions { transform: none; }
  .footer h2 { font-size: 2.6rem; }
  .footer__info > p { font-size: 1.2rem; white-space: normal; }
  .footer__map { width: 100%; min-width: 0; min-height: 300px; }
  .footer__map iframe { height: 300px; }
  .footer__qr { transform: none; flex-direction: row; gap: 16px; }
  .footer__contacts { text-align: left; }
  .footer__contacts .logo { font-size: 2rem; }
  .footer__phone { font-size: 2rem; }
  .footer__addr { margin-top: 24px; }
  .footer__contacts .btn { width: 100%; }
  .footer__inner { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
  html, body { overflow-x: clip; }
  .logo { font-size: 1.8rem; }
  .footer h2 { font-size: 2.2rem; }
  .footer__phone { font-size: 1.8rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero__hl { font-size: 1.35em; }
  .page-bare .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 2px solid var(--ink);
    margin-left: 0;
  }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .header__tag { display: none; }
  .header__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none;
    transition: none;
  }
}
