

.tipografiya-landing {
  background: var(--bl-soft);
}

.tipografiya-landing .tp-hero--solo .bl-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  width: 100%;
}
.tipografiya-landing .tp-hero--solo .bl-hero-copy {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}
.tipografiya-landing .tp-hero--solo h1,
.tipografiya-landing .tp-hero--solo .lede {
  width: 100%;
  overflow-wrap: anywhere;
}
.tipografiya-landing .tp-hero--solo h1 .paint {
  max-width: 100%;
}
.tipografiya-landing .tp-hero--solo .bl-cta {
  min-height: 48px;
  max-width: 100%;
}
.tipografiya-landing .tp-hero--solo .bl-cta > img {
  flex-shrink: 0;
}
.tipografiya-landing .tp-hero--solo .bl-cta > span {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.tipografiya-landing .tp-hero--solo .bl-cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .tipografiya-landing .tp-hero--solo .bl-cta {
    width: 100%;
    justify-content: center;
  }
}

.tipografiya-landing .bl-hero h1 .paint::before {
  -webkit-mask: url("../images/brushes/tipografiya-paint.svg") center / 100% 100% no-repeat;
          mask: url("../images/brushes/tipografiya-paint.svg") center / 100% 100% no-repeat;
}

.tp-services {
  padding: var(--section) 0;
}
.tp-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  align-items: stretch;
  margin-top: 44px;
}
.tipografiya-landing .tp-services__grid .up {
  display: flex;
}
.tipografiya-landing .tp-services__grid .up-preview {
  position: static;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 22px 44px -30px rgba(36, 22, 33, 0.34);
  transition: transform .18s, box-shadow .18s;
}
.tipografiya-landing .tp-services__grid .up:hover .up-preview {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -28px rgba(36, 22, 33, 0.42);
}
.tipografiya-landing .tp-services__grid .up-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tipografiya-landing .tp-services__grid .up-btn {
  margin-top: auto;
}

.tipografiya-landing .tp-usp {
  padding: clamp(56px, 6vw, 84px) 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(194, 32, 95, 0.06), transparent 55%),
    var(--paper-warm);
}
.tipografiya-landing .tp-usp .bl-types-head {
  margin-bottom: 28px;
}
.tipografiya-landing .zl-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tipografiya-landing .zl-usp-card {
  --acc: var(--pink);
  --acc-rgb: 194, 32, 95;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 40px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 14px 30px -22px rgba(20, 20, 30, 0.35), 0 1px 2px rgba(20, 20, 30, 0.04);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s;
}
.tipografiya-landing .zl-usp-card:nth-child(2) { --acc: var(--blue); --acc-rgb: 31, 142, 204; }
.tipografiya-landing .zl-usp-card:nth-child(3) { --acc: var(--orange); --acc-rgb: 232, 122, 42; }
.tipografiya-landing .zl-usp-card:nth-child(4) { --acc: var(--green-deep); --acc-rgb: 93, 147, 53; }
.tipografiya-landing .zl-usp-card .tape {
  position: absolute;
  top: -9px;
  left: 26px;
  width: 84px;
  height: 19px;
  background: linear-gradient(90deg, rgba(var(--acc-rgb), 0.95), rgba(var(--acc-rgb), 0.78));
  border-radius: 0;
  transform: rotate(-2.5deg);
  box-shadow: 0 3px 7px -3px rgba(var(--acc-rgb), 0.6);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%);
}
.tipografiya-landing .zl-usp-card .pin {
  position: absolute;
  top: -7px;
  left: 104px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0, rgba(var(--acc-rgb), 0.95) 42%, rgba(var(--acc-rgb), 1) 100%);
  box-shadow: 0 2px 5px -1px rgba(var(--acc-rgb), 0.7);
  transform: rotate(-2.5deg);
}
.tipografiya-landing .zl-usp-card .num {
  position: absolute;
  top: 16px;
  right: 18px;
  min-width: 40px;
  padding: 5px 11px 6px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .02em;
  color: #fff;
  text-align: center;
  background: var(--acc);
  border-radius: 0;
  transform: rotate(3deg);
  box-shadow: 0 6px 14px -7px rgba(var(--acc-rgb), 0.85);
}
.tipografiya-landing .zl-usp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--acc-rgb), 0.4);
  box-shadow: 0 24px 44px -22px rgba(var(--acc-rgb), 0.5);
}
.tipografiya-landing .zl-usp-card .ic {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--acc);
  flex-shrink: 0;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.tipografiya-landing .zl-usp-card:hover .ic { transform: scale(1.06) rotate(-3deg); }
.tipografiya-landing .zl-usp-card .ic svg { width: 38px; height: 38px; }
.tipografiya-landing .zl-usp-card h4 {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tipografiya-landing .zl-usp-card p {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.tipografiya-landing .zl-usp-card .foot {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc);
}

.tp-steps {
  padding: var(--section) 0;
}
.tp-steps-grid {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tp-step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--paper, #fff);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 0;
}
.tp-step-n {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--pink, #c2205f);
  margin-bottom: 12px;
}
.tp-step h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--ink, #2d2d2d);
}
.tp-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute, #7a7a7a);
}

@media (max-width: 1100px) {
  .tipografiya-landing .zl-usp-grid,
  .tp-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tipografiya-landing .zl-usp-grid,
  .tp-steps-grid { grid-template-columns: 1fr; }
  .tp-services__grid { grid-template-columns: 1fr; }
}

.tp-services .tp-services__gifts {
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  padding-top: 1.3rem;
  border-top: 1px solid rgba(37, 49, 57, .18);
}
.tp-services .tp-services__gifts h3 { margin: 0 0 .4rem; }
.tp-services .tp-services__gifts ul {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tp-services .tp-services__gifts a {
  display: inline-block;
  padding: .5rem 0;
  color: #105d8b;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.tp-services .tp-services__gifts a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
