:root {
  --black: #111111;
  --muted: #626262;
  --yellow: #ffe500;
  --blue: #1598e8;
  --light: #f7f7fb;
  --line: #e8e8ed;
  --white: #ffffff;
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

/* Шапка */

.site-header {
  position: relative;
  z-index: 10;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 30px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.logo-copy {
  color: var(--black);
}

.logo-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  border: 3px solid var(--black);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.logo-left {
  color: var(--black);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.location {
  white-space: nowrap;
}

.main-nav a {
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.55;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location {
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

.menu-button {
  display: none;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

/* Телефон в шапке */

.header-phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-phone:hover {
  opacity: 0.6;
}

.header-phone-icon {
  flex-shrink: 0;
}

.header-phone::after {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  content: "Скопировано";
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-phone.is-copied::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .header-phone {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    order: 1;
  }

  .header-inner > .menu-button {
    order: 2;
  }

  .header-phone {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    padding-top: 9px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
  }

  .header-phone::after {
    display: none;
  }

  .main-nav {
    order: 4;
  }
}

/* Кнопки */

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.12);
}

.button-yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.button-white {
  border-color: #d9d9df;
  background: var(--white);
  color: var(--black);
}

/* Общие секции */

.section {
  padding: 76px 0;
}

.section h2,
.final-cta h2 {
  margin: 0 0 30px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.eyebrow {
  margin: 0 0 22px;
  color: #343434;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Первый экран */

.hero {
  overflow: hidden;
  padding: 68px 0 75px;
  background: #d6d6db;
}

.hero-grid {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 45px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -4px;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-note {
  max-width: 440px;
  margin: 0 0 27px;
  padding-left: 14px;
  border-left: 4px solid var(--yellow);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.callback-form {
  max-width: 590px;
  margin: 0 0 14px;
}

.callback-form--hero {
  margin-top: 22px;
}

.callback-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.callback-form input {
  min-width: 240px;
  min-height: 46px;
  flex: 1 1 250px;
  padding: 12px 17px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--black);
}

.callback-form input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.callback-form input.is-invalid {
  border-color: #c52d2d;
}

.callback-form .button {
  flex: 0 0 auto;
}

.callback-hint,
.callback-status {
  margin: 7px 0 0;
  color: #555555;
  font-size: 12px;
}

.callback-status:empty {
  display: none;
}

.callback-status.is-error {
  color: #a32323;
}

.callback-status.is-success {
  color: #276b35;
}

.hero-contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 27px;
  color: #3e3e3e;
  font-size: 14px;
  font-weight: 700;
}

.social-contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3e3e3e;
  transition: opacity 0.2s ease;
}

.social-contact:hover {
  opacity: 0.6;
}

.social-contact img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-location {
  margin: 34px 0 0;
  color: #3e3e3e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 34px;
  background: #d6d6db;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 247, 251, 0.2), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: center;
}

/* Карточки услуг */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.service-image {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.service-card-content {
  padding: 24px;
}

.service-card h3,
.task-card h3,
.benefit h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.1;
}

.service-card p {
  min-height: 88px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Калькулятор-заглушка */

.calculator-section {
  background: var(--light);
}

.calculator-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 35px;
  padding: 38px;
  border-radius: 26px;
  background: #f0f0f8;
}

.calculator-intro h2 {
  margin-bottom: 14px;
}

.calculator-intro p {
  margin: 0;
  color: var(--muted);
}

.calculator-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px dashed #b9bac6;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

/* Макеты и получение заказа */

.prepress-section {
  padding: 76px 0;
  color: var(--black);
  background:
    linear-gradient(
      135deg,
      rgba(247, 247, 251, 0.96) 0%,
      rgba(232, 232, 237, 0.93) 100%
    ),
    url("images/contacts/typography.webp") center / cover no-repeat;
}

.prepress-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 64px;
}

.prepress-section .eyebrow { color: #343434; }
.prepress-section h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.prepress-copy > p:not(.eyebrow) { max-width: 420px; margin: 0 0 25px; color: #3e3e3e; }
.prepress-checklist { margin: 0; padding: 0; list-style: none; }
.prepress-checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.16); }
.prepress-checklist li:first-child { border-top: 1px solid rgba(17, 17, 17, 0.16); }
.prepress-checklist li > span { color: var(--yellow); font-weight: 800; }
.prepress-checklist strong { display: block; margin-bottom: 4px; }
.prepress-checklist p { margin: 0; color: #3e3e3e; }
.delivery-section { background: var(--light); }
.delivery-section > .container > .eyebrow { margin-bottom: 12px; }
.delivery-section h2 { margin: 0 0 30px; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.delivery-column + .delivery-column { padding-left: 40px; border-left: 1px solid #d9d9df; }
.delivery-column h3 { margin: 0 0 16px; font-size: 22px; }
.delivery-item { padding: 16px 0; border-top: 1px solid #d9d9df; }
.delivery-item strong { display: block; margin-bottom: 5px; }
.delivery-item p { margin: 0; color: var(--muted); }
.delivery-item a { display: inline-block; margin-top: 9px; font-weight: 700; }
.delivery-item a span { color: #a38f00; }

/* Преимущества */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit {
  padding: 4px 0 24px;
  border-bottom: 1px solid #d9d9df;
}

.benefit-icon {
  display: flex;
  width: 136px;
  height: 136px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: transparent;
}

.benefit-icon img {
  display: block;
  width: 136px;
  height: 136px;
  object-fit: contain;
}

.benefit p,
.task-card p {
  margin: 0;
  color: var(--muted);
}

/* Задачи */

.applications-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.applications-head h2 {
  margin: 0 0 16px;
}

.applications-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.task-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.task-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f2f2f5;
}

.task-body {
  flex: 1;
  padding: 18px 20px 22px;
}

.task-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.task-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Этапы заказа */

.order-section {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: -12px;
  color: #969696;
  content: "→";
  font-size: 22px;
}

.step span {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcefff;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

/* Контакты */

.contacts-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.86) 48%, rgba(17, 17, 17, 0.72) 100%),
    url("images/contacts/typography.webp") center / cover no-repeat;
}

.contacts-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 42px;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacts-info .eyebrow {
  color: var(--yellow);
}

.contacts-info h2 {
  margin-bottom: 28px;
  color: var(--white);
}

.contacts-details,
.contacts-company {
  font-size: 18px;
  line-height: 1.45;
}

.contacts-details p,
.contacts-company p {
  margin: 0 0 12px;
}

.contacts-details a {
  color: var(--white);
  text-decoration: none;
}

.contacts-details a:hover {
  color: var(--yellow);
}

.contacts-company {
  margin-top: 22px;
  color: #d4d4d4;
  font-size: 15px;
}

.contacts-company p {
  margin-bottom: 6px;
}

.contacts-map {
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: #d6d6db;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  border: 0;
}

/* Финальный призыв */

.final-cta {
  overflow: hidden;
  padding: 70px 0;
  background:
    radial-gradient(circle at 0% 110%, #ee00bb 0 7%, transparent 17%),
    radial-gradient(circle at 100% 100%, #ffe500 0 8%, transparent 19%),
    #f5f5fa;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.final-cta-copy {
  max-width: 610px;
}

.final-cta h2 {
  margin-bottom: 14px;
}

.final-cta p {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 14px;
}

.social-link {
  display: flex;
  min-width: 100px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-link img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Подвал */

.site-footer {
  padding: 28px 0;
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner span {
  color: #bdbdbd;
  font-size: 14px;
}


@media (max-width: 760px) {
  .contacts-section {
    padding: 58px 0;
  }

  .contacts-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 330px;
  }
}

/* Адаптация */

@media (max-width: 760px) {
  .prepress-inner, .delivery-grid { grid-template-columns: 1fr; gap: 30px; }
  .delivery-column + .delivery-column { padding: 0; border-left: 0; }
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
  }

  .location {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero h1 {
    font-size: clamp(44px, 6vw, 64px);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .step:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .site-header {
    padding: 9px 0;
  }

  .header-inner {
    position: relative;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 62px);
    letter-spacing: -3px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-image {
    min-height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
  }

  .service-grid,
  .calculator-box {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .task-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:nth-child(2)::after,
  .step:nth-child(4)::after,
  .step:nth-child(6)::after {
    display: none;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    width: 100%;
  }

  .social-link {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    padding: 8px 10px;
  }

  .logo {
    font-size: 22px;
  }

  .logo-mark {
    width: 27px;
    height: 27px;
    font-size: 15px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-buttons,
  .hero-buttons .button,
  .final-cta-buttons,
  .final-cta-buttons .button {
    width: 100%;
  }

  .hero-buttons .button,
  .final-cta-buttons .button {
    justify-content: center;
  }

  .service-grid,
  .benefits-grid,
  .task-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 190px;
  }

  .service-card p {
    min-height: auto;
  }

  .calculator-box {
    padding: 24px 18px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .step span {
    margin: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Логотип в шапке и подвале */
.logo img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .logo img,
  .footer-logo img {
    width: 125px;
  }
}


/* Выпадающее меню и информационные блоки */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; }
.nav-dropdown-toggle span { margin-left: 4px; }
.nav-dropdown-menu { position: absolute; top: 100%; left: -14px; display: none; min-width: 235px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
@media (hover: hover) and (pointer: fine) { .nav-dropdown:hover .nav-dropdown-menu { display: grid; } }
.nav-dropdown-menu a { padding: 10px 12px; border-radius: 9px; }
.nav-dropdown-menu a:hover { background: var(--soft); opacity: 1; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-card h3 { margin-top: 0; }
.info-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.section-muted { background: var(--soft); }
@media (max-width: 800px) { .nav-dropdown-menu { position: static; min-width: 0; margin: 0 0 8px; box-shadow: none; } .nav-dropdown-toggle { width: 100%; padding: 13px 10px; text-align: left; } .nav-dropdown { border-bottom: 1px solid var(--line); } .info-grid, .info-columns { grid-template-columns: 1fr; gap: 18px; } }

@media (max-width: 800px) { .header-inner > .menu-button { margin-left: auto; } .header-inner > .button { display: none; } }

/* order-step-icons */
.step-image { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 auto 16px; }
.step:not(:last-child)::after { top: 32px; }
@media (max-width: 520px) {
  .step { grid-template-columns: 64px 1fr; }
  .step-image { margin: 0; }
}

/* Первый экран и калькулятор наклеек. */
.sticker-hero {
  padding: 30px 0 42px;
  background:
    linear-gradient(rgba(236, 245, 251, 0.94), rgba(236, 245, 251, 0.94)),
    url("images/contacts/typography.webp") center / cover no-repeat;
}
.sticker-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 470px); gap: 60px; align-items: center; }
.sticker-hero-copy h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.035em; margin: 22px 0 26px; }
.sticker-hero-text { max-width: 610px; color: #505963; font-size: 19px; line-height: 1.6; }
.sticker-hero-cta { margin-top: 22px; min-width: 290px; background: #f04a25; color: white; border-color: #f04a25; }
.sticker-hero-note { color: #626970; font-size: 14px; }
.sticker-hero-points { list-style: none; padding: 22px 0 0; margin: 32px 0 0; border-top: 1px solid #dbe5ec; font-size: 15px; line-height: 2.5; }
.sticker-calculator-card { background: white; border: 1px solid #d8dce0; border-radius: 18px; padding: 20px 22px; min-width: 0; scroll-margin-top: 100px; font-size: 14px; }
.sticker-calculator-card [hidden] { display: none !important; }
.sticker-calculator-card .calc-group { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.calc-group legend { font-size: 14px; font-weight: 750; margin-bottom: 6px; padding: 0; }
.calc-choice-list { display: grid; gap: 2px; }
.calc-choice { display: flex; align-items: center; gap: 9px; min-height: 35px; padding: 6px 9px; margin: 0 -9px; border-radius: 12px; cursor: pointer; }
.calc-choice:has(input:checked) { background: #fff1ec; font-weight: 700; }
.calc-choice strong { margin-left: auto; white-space: nowrap; }
.sticker-calculator-card input[type="radio"], .sticker-calculator-card input[type="checkbox"] { accent-color: #ef4a27; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.calc-inputs label, .calc-custom { display: grid; gap: 5px; font-size: 13px; }
.calc-custom { margin-top: 8px; }
.calc-inputs input, .calc-custom input, #sticker-print, #calc-copy-fallback { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #cdd3d8; border-radius: 8px; padding: 9px; font: inherit; background: white; color: #16191d; }
.sticker-calculator-card input[aria-invalid="true"] { border-color: #b43114; }
.calc-special-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.calc-special-materials label { display: flex; gap: 7px; align-items: center; min-height: 36px; cursor: pointer; font-size: 13px; }
.calc-swatch { width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #bbb; border-radius: 3px; }
.calc-gold { background: #99834d; }.calc-silver { background: #999da1; }.calc-holographic { background: linear-gradient(120deg,#e8ccf5,#c4e6e7,#f4e5ba); }
.calc-group small { display: block; color: #626970; font-size: 12px; line-height: 1.5; margin-top: 6px; }
.calc-print-label { display: block; font-size: 13px; margin: 10px 0 5px; }
.calc-error { color: #b43114; font-size: 12px; margin: 5px 0 0; }
.calc-error:empty { display: none; }
.calc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; border-top: 1px solid #e1e4e7; padding-top: 12px; }
#calc-total { font-size: 26px; line-height: 1.1; }#calc-unit { margin-left: auto; font-size: 13px; }
#calc-detail { flex: 0 0 100%; color: #626970; font-size: 12px; margin: 0; }
.calc-minimum { color: #ad431f; font-size: 13px; margin: 8px 0; }
.calc-messenger-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.calc-messenger { min-height: 40px; border-radius: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; padding: 8px; font-size: 13px; font-weight: 750; text-decoration: none; }
.calc-telegram, .calc-max { color: #14171c; background: white; border: 1px solid #cbd0d5; }.calc-telegram:hover, .calc-max:hover { border-color: #16191d; }
.calc-messenger img { width: 20px; height: 20px; flex: 0 0 auto; }
.calc-copy { background: none; border: 0; padding: 0; margin-top: 12px; color: #ad431f; font-size: 13px; text-decoration: underline; font-weight: 700; cursor: pointer; }
.calc-copy:disabled { color: #777; cursor: default; }.calc-copy-status { white-space: pre-wrap; font-size: 12px; color: #626970; margin: 6px 0 0; }
.sticker-calculator-card :focus-visible { outline: 2px solid #b53618; outline-offset: 3px; }
@media (max-width: 1050px) { .sticker-hero-grid { gap: 28px; grid-template-columns: 1fr 430px; } }
@media (max-width: 800px) { .sticker-hero-grid { grid-template-columns: 1fr; gap: 25px; }.sticker-hero { padding-top: 20px; }.sticker-calculator-card { width: 100%; max-width: 500px; justify-self: center; box-sizing: border-box; }.sticker-hero-copy h1 { font-size: clamp(34px, 7vw, 48px); }.sticker-hero-text { font-size: 17px; }.sticker-hero-cta { min-width: 0; width: 100%; }.sticker-hero-points { margin-top: 22px; } }
@media (max-width: 380px) { .sticker-calculator-card { padding: 18px 14px; }.calc-special-materials { grid-template-columns: 1fr; }.calc-messenger-actions { grid-template-columns: 1fr; } }

/* Часто задаваемые вопросы */
.faq-section { padding-top: 76px; padding-bottom: 76px; }
.faq-list { max-width: 860px; margin: 28px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 22px 44px 22px 0; color: var(--ink); font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; top: 17px; right: 4px; color: var(--accent); font-size: 27px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { max-width: 760px; margin: -4px 44px 22px 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 800px) { .faq-section { padding-top: 52px; padding-bottom: 52px; } .faq-item summary { font-size: 17px; } }

/* Материалы для наклеек и этикеток */

.materials-section {
  padding: 76px 0;
}

.materials-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.materials-head h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.materials-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.material-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.material-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eceff1;
}

.material-card-body {
  padding: 18px 20px 22px;
}

.material-card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.material-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .materials-section { padding: 52px 0; }
  .materials-grid { grid-template-columns: 1fr; }
}

/* Наклейки на листах с контурной резкой */

.sheets-section {
  padding: 76px 0;
}

.sheets-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.sheets-media {
  min-width: 0;
}

.sheets-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid #e6eaee;
  background: #f7f8fa;
}

.sheets-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.sheets-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.sheets-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .sheets-inner { grid-template-columns: 1fr; gap: 28px; }
  .sheets-media { order: 2; }
  .sheets-copy { order: 1; }
}

@media (max-width: 540px) {
  .sheets-section { padding: 52px 0; }
}

/* Страница «Полиграфия» */

.photo-placeholder {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 2px dashed #d3d9de;
  border-radius: 18px;
  background: #f7f8fa;
  color: #9aa3ab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.photo-placeholder--card {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  background: #f1f1f3;
}

.pg-hero {
  padding: 56px 0 76px;
  background: #f5f6f7;
}

.pg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.pg-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 10;
  border-radius: 22px;
  background: #e8eaec;
  object-fit: cover;
  object-position: 50% 52%;
}

.pg-hero-copy .eyebrow {
  margin-bottom: 18px;
  color: #46494d;
}

.pg-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -2.6px;
}

.pg-hero-text {
  max-width: 470px;
  margin: 0 0 32px;
  color: #4b4f54;
  font-size: 19px;
  line-height: 1.5;
}

.pg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pg-hero-actions .button {
  min-height: 48px;
  padding: 14px 26px;
  font-size: 15px;
}

.button-grey {
  border-color: #d7d8db;
  background: #d7d8db;
  color: var(--black);
}

.button-grey:hover {
  border-color: #cbccd0;
  background: #cbccd0;
}

.pg-catalog h2 {
  max-width: 760px;
}

.pg-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.pg-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pg-card:hover {
  transform: translateY(-3px);
  border-color: #d6d8dc;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.pg-card-media {
  overflow: hidden;
}

.pg-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pg-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 20px;
}

.pg-card-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.pg-card-arrow {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pg-card:hover .pg-card-arrow {
  transform: translate(2px, -2px);
}

.pg-compare {
  background: linear-gradient(180deg, #eef1f4 0%, #e1e7ee 100%);
}

.pg-compare h2 {
  margin-bottom: 6px;
}

.pg-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.pg-compare-col {
  padding: 6px 34px 6px 0;
}

.pg-compare-col + .pg-compare-col {
  padding-left: 34px;
  border-left: 1px solid rgba(17, 17, 17, 0.14);
}

.pg-compare-col h3 {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.8px;
}

.pg-compare-col p {
  max-width: 290px;
  margin: 0;
  color: #4b5560;
  font-size: 16px;
  line-height: 1.5;
}

.pg-compare-specs {
  display: grid;
  gap: 12px;
  max-width: 290px;
  margin: 0;
}

.pg-compare-specs > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.pg-compare-specs dt {
  color: #7c8794;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pg-compare-specs dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.35;
}

.pg-compare-col .pg-compare-note {
  margin-top: 14px;
  color: #4b5560;
  font-size: 15px;
}

@media (max-width: 900px) {
  .pg-hero {
    padding: 40px 0 56px;
  }

  .pg-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pg-hero h1 {
    font-size: clamp(38px, 8vw, 54px);
  }

  .pg-hero-text {
    max-width: none;
  }

  .pg-hero-image {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .pg-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pg-compare-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .pg-compare-col {
    padding: 22px 0;
  }

  .pg-compare-col:first-child {
    padding-top: 0;
  }

  .pg-compare-col + .pg-compare-col {
    padding-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.14);
    border-left: 0;
  }

  .pg-compare-col h3 {
    margin-bottom: 10px;
  }

  .pg-compare-col p {
    max-width: 520px;
  }

  .pg-compare-specs {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .pg-hero-actions .button {
    width: 100%;
  }

  .pg-catalog-grid {
    grid-template-columns: 1fr;
  }

  .pg-card-body h3 {
    font-size: 20px;
  }
}

/* Страница «Полиграфия»: блок цен */

.pg-prices-head h2 {
  margin-bottom: 12px;
}

.pg-prices-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  font-size: 17px;
}

.pg-prices-nav a {
  transition: opacity 0.2s ease;
}

.pg-prices-nav a + a::before {
  content: "·";
  margin: 0 10px;
  color: #a7abb1;
}

.pg-prices-nav a:hover {
  opacity: 0.55;
}

.pg-cat {
  margin-top: 72px;
}

.pg-cat .eyebrow {
  margin-bottom: 8px;
}

.pg-cat h2 {
  margin: 0 0 32px;
  font-size: clamp(28px, 3.2vw, 38px);
}

.pg-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.pg-cat-grid > .pg-price-group {
  padding-right: 40px;
}

.pg-cat-grid > .pg-price-group + .pg-price-group {
  padding-right: 0;
  padding-left: 40px;
  border-left: 1px solid #e6e8ea;
}

.pg-price-group h3,
.pg-price-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.pg-price-note {
  margin: 0 0 16px;
  color: #62686f;
  font-size: 15px;
  line-height: 1.4;
}

.pg-price-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #eceef0;
  color: #2b2f34;
  font-size: 14px;
  line-height: 1.2;
}

.pg-price-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 16px;
}

.pg-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pg-price-table th,
.pg-price-table td {
  padding: 13px 0;
  border-bottom: 1px solid #e6e8ea;
  font-weight: 400;
  text-align: left;
  vertical-align: baseline;
}

.pg-price-table thead th {
  padding-bottom: 10px;
  border-bottom: 1px solid #cfd3d7;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.pg-price-table thead th:first-child {
  text-align: left;
}

.pg-price-table tbody th {
  padding-right: 16px;
  color: #202327;
}

.pg-row-note {
  display: block;
  color: #62686f;
  font-size: 13px;
  line-height: 1.3;
}

.pg-price-table td {
  color: #202327;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pg-price-table--booklets th + th,
.pg-price-table--booklets td + td,
.pg-price-table--booklets th + td {
  padding-left: 12px;
}

.pg-dash {
  margin-left: 2px;
  color: #a7abb1;
}

.pg-row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid #dfe2e5;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-row-link:hover {
  border-color: #c3c7cc;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.pg-row-link-action {
  flex-shrink: 0;
  color: #4b5057;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.pg-price-card {
  margin-top: 16px;
  padding: 26px 30px 12px;
  border: 1px solid #e2e5e8;
  border-radius: 20px;
}

.pg-price-card--tight {
  margin-top: 0;
  padding: 22px 26px 10px;
}

.pg-print-sides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.pg-print-sides legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
}

.pg-print-sides label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #cfd3d7;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.pg-print-sides input {
  margin: 0;
  accent-color: #202327;
}

.pg-print-sides label:has(input:checked) {
  border-color: #202327;
  background: #eceef0;
}

.pg-print-sides label:has(input:focus-visible) {
  outline: 2px solid #202327;
  outline-offset: 2px;
}

.pg-price-table.pg-flyer-table {
  table-layout: fixed;
}

.pg-price-table.pg-flyer-table thead th {
  white-space: normal;
}

.pg-price-card .pg-flyer-action {
  display: inline-flex;
  align-items: center;
  margin: 12px 0 4px;
  padding: 8px 12px;
}

.pg-price-caption {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.pg-booklets-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 22px;
}

.pg-booklets-figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
}

.pg-booklets-image {
  display: block;
  width: 100%;
  height: auto;
}

.pg-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid #dcdfe3;
}

.pg-more-messengers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.pg-more-messengers .social-contact {
  font-size: 16px;
  font-weight: 700;
}

.pg-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.6px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.pg-more-link:hover {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .pg-cat {
    margin-top: 56px;
  }

  .pg-cat-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pg-cat-grid > .pg-price-group {
    padding-right: 0;
  }

  .pg-cat-grid > .pg-price-group + .pg-price-group {
    padding-left: 0;
    border-left: 0;
  }

  .pg-booklets-grid {
    grid-template-columns: 1fr;
  }

  .pg-booklets-figure {
    grid-column: auto;
    grid-row: auto;
  }

  .pg-row-link {
    flex-wrap: wrap;
    gap: 6px;
    padding: 18px 20px;
    font-size: 18px;
  }

  .pg-row-link-action {
    font-size: 15px;
  }

  .pg-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 56px;
  }
}

@media (max-width: 560px) {
  .pg-prices-nav {
    font-size: 15px;
  }

  .pg-cat h2 {
    margin-bottom: 22px;
  }

  .pg-price-table {
    font-size: 14px;
  }

  .pg-price-table th,
  .pg-price-table td {
    padding: 11px 0;
  }

  .pg-price-table thead th {
    font-size: 13px;
    white-space: normal;
  }

  .pg-price-table tbody th {
    padding-right: 10px;
  }

  .pg-price-card {
    padding: 20px 16px 8px;
  }

  .pg-price-card--tight {
    padding: 18px 16px 6px;
  }

  .pg-price-table--booklets {
    display: block;
  }

  .pg-price-table--booklets thead {
    display: none;
  }

  .pg-price-table--booklets tbody,
  .pg-price-table--booklets th,
  .pg-price-table--booklets td {
    display: block;
  }

  .pg-price-table--booklets tr {
    display: grid;
    column-gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e6e8ea;
  }

  .pg-price-table--stack-3 tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pg-price-table--stack-2 tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-price-table--booklets tbody th {
    grid-column: 1 / -1;
    padding: 0 0 10px;
    border-bottom: 0;
  }

  .pg-price-table--booklets td {
    padding: 0;
    border-bottom: 0;
    text-align: left;
    white-space: normal;
  }

  .pg-price-table--booklets th + th,
  .pg-price-table--booklets td + td,
  .pg-price-table--booklets th + td {
    padding-left: 0;
  }

  .pg-price-table--booklets td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #62686f;
    font-size: 12px;
    line-height: 1.25;
  }
}

/* Страница «Полиграфия»: ризография, календари, переплёт, финальный блок */

.pg-rates {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 40px;
  margin-top: 72px;
}

.pg-rates-copy {
  min-width: 0;
}

.pg-duo-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.pg-duo-text {
  margin: 0 0 18px;
  color: #40454b;
  font-size: 16px;
  line-height: 1.45;
}

.pg-rates-card {
  padding: 18px 20px 6px;
  border: 1px solid #e2e5e8;
  border-radius: 16px;
}

.pg-rates-caption {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.pg-price-table--left td,
.pg-price-table--left thead th,
.pg-price-table--left tbody th {
  text-align: left;
}

.pg-price-table--left th {
  padding-right: 12px;
}

.pg-calendar {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e6e8ea;
}

.pg-calendar-copy {
  min-width: 0;
}

.pg-calendar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: #3e3e3e;
  font-size: 14px;
  font-weight: 700;
}

.photo-placeholder--calendar {
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
  border-radius: 16px;
}

.pg-duo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.pg-duo-link:hover {
  opacity: 0.6;
}

.pg-binding h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 2.8vw, 32px);
  letter-spacing: -0.9px;
}

.pg-binding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pg-binding-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #eceef1;
}

.pg-binding-card h3 {
  margin: 16px 0 4px;
  font-size: 20px;
  letter-spacing: -0.4px;
}

.pg-binding-card p {
  margin: 0;
  color: #62686f;
  font-size: 15px;
}

.pg-final-box {
  padding: 56px 40px;
  border-radius: 26px;
  background: #f4f5f7;
  text-align: center;
}

.pg-final-box h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -1.2px;
}

.pg-final-box p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #3f444a;
  font-size: 18px;
  line-height: 1.45;
}

.pg-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pg-final-button {
  min-width: 240px;
  min-height: 52px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .pg-rates {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }

  .pg-calendar {
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
  }

  .pg-binding-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pg-final-box {
    padding: 40px 24px;
  }
}

@media (max-width: 560px) {
  .pg-more-link {
    display: block;
    white-space: normal;
  }

  .pg-calendar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pg-final-actions {
    flex-direction: column;
  }

  .pg-final-button {
    width: 100%;
    min-width: 0;
  }

  .pg-final-box p {
    font-size: 16px;
  }

  .pg-price-table--left {
    font-size: 13px;
  }

  .pg-price-table--left thead th {
    padding-right: 8px;
    font-size: 12px;
  }

  .pg-price-table--left tbody th {
    padding-right: 8px;
    white-space: nowrap;
  }
}

/* Галерея работ на странице наклеек */

.works-strip-section {
  background: var(--white);
}

.works-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.works-strip-head h2 {
  margin: 0;
}

.works-strip-head p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.works-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.works-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eceef1;
  cursor: zoom-in;
}

.works-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.works-tile::after {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0);
  content: "";
  transition: background 0.25s ease;
  pointer-events: none;
}

.works-tile:hover img,
.works-tile:focus-visible img {
  transform: scale(1.045);
}

.works-tile:hover::after {
  background: rgba(17, 17, 17, 0.12);
}

.works-tile:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}

/* Увеличенный просмотр */

.works-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0a0a0c;
  color: var(--white);
}

.works-lightbox::backdrop {
  background: #0a0a0c;
}

.works-lightbox-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 56px 84px;
}

.works-lightbox-figure {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.works-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.works-lightbox-caption {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.works-lightbox-close,
.works-lightbox-nav {
  position: absolute;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.works-lightbox-close:hover,
.works-lightbox-nav:hover,
.works-lightbox-close:focus-visible,
.works-lightbox-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.works-lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 28px;
}

.works-lightbox-prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}

.works-lightbox-next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.works-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.02em;
  transform: translateX(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .works-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-strip-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .works-strip-head p {
    max-width: none;
  }

  .works-lightbox-inner {
    padding: 44px 12px;
  }

  .works-lightbox-image {
    max-height: calc(100vh - 180px);
  }

  .works-lightbox-close,
  .works-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .works-lightbox-prev {
    top: auto;
    bottom: 16px;
    left: 16px;
    transform: none;
  }

  .works-lightbox-next {
    top: auto;
    right: 16px;
    bottom: 16px;
    transform: none;
  }

  .works-lightbox-counter {
    bottom: 24px;
  }

  .works-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-tile img,
  .works-tile::after {
    transition: none;
  }
}
