* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* базовый размер */
}

.header-container,
.main-container {
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1280px;
  width: 100%;
}

/* Шапка */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  width: 100%;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-center {
  flex: 1;
  text-align: center;
  margin: 0 20px;
}
.header-right {
  text-align: right;
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Боди */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
}
.main-container {
  flex-grow: 1;
}

/* Подвал */
.footer-container {
  background: #1a1a1a;
  margin-top: 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  color: #aaa;
  text-align: left;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

/* Логотип */
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
}

/* Город */
.city-icon {
  width: 16px;
  height: 16px;
}
.city {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #666;
  cursor: default;
}

/* Кнопка каталога */
.catalog-dropdown {
  position: relative;
  margin-left: 20px;
  margin-right: auto;
}
.catalog-btn {
  background-color: #fbc912;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.catalog-btn:hover {
  background-color: #e0b010;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.15s ease;
}
.dropdown-menu li a:hover {
  background-color: #fbc912;
  padding-left: 1.5rem;
}

/* Фраза посередине */
.tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}
.page-title {
  font-size: 2rem;
  margin: 1.5rem 0 1rem;
  color: #1a1a1a;
  text-align: center;
  display: none;
}


/* Контактные телефоны */
.phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}
.phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

/* ===== Универсальные классы для секций полиграфии ===== */
.print-section {
  max-width: 1280px;
  margin: 2rem auto 3rem;
  padding: 0 1.5rem;
  width: 100%;
}
.print-section__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.print-section__subhead {
  font-size: 1.2rem;
  color: #2c3e50;
  border-left: 4px solid #fbc912;
  padding-left: 1rem;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}
.print-section__note {
  background: #f0f4f9;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #1f3a5f;
}
.print-section__note strong {
  color: #1a1a1a;
}
/* Скрытие подробностей */
.print-section__details {
  display: none;
  margin-top: 2rem;
}
.print-section__details.open {
  display: block;
}
.print-section__toggle {
  background: #f5e6a0;  
  border: 1px solid #fbc912;
  color: #1a1a1a;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 48px;
  cursor: pointer;
  font-family: inherit;
  margin: 1rem 0 0;
  transition: all 0.2s;
}
.print-section__toggle:hover {
  background: #fbc912;
  border-color: #fbc912;
}
/* Сетка преимуществ (4-6 карточек) */
.print-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 2.8rem;
}
.print-features__card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.print-features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.print-features__icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.print-features__card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.print-features__card p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.4;
}
/* Две колонки (что делаем / что не делаем) */
.print-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}
.print-columns__col {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #e9edf2;
}
.print-columns__col h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.print-columns__col ul {
  list-style: none;
  padding-left: 0;
}
.print-columns__col li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.print-columns__col--yes li::before {
  content: "✓";
  color: #fbc912;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.print-columns__col--no li::before {
  content: "✗";
  color: #c0392b;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.print-columns__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  background: #fef3e2;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  color: #7d5d2e;
}
/* Технические возможности */
.print-tech {
  background: #f8fafc;
  border-radius: 28px;
  padding: 1.8rem;
  margin: 2rem 0;
}
.print-tech h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.print-tech__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.print-tech__item {
  background: white;
  border-radius: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}
.print-tech__note {
  font-size: 0.85rem;
  color: #3b5c7a;
  margin-top: 1rem;
}
/* FAQ */
.print-faq {
  margin: 2rem 0;
  border-top: 1px solid #eef2f6;
  padding-top: 2rem;
}
.print-faq h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.print-faq__item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 0.8rem;
}
.print-faq__question {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.print-faq__answer {
  color: #2d3a4b;
  font-size: 0.9rem;
}
/* CTA блок */
.print-cta {
  background: #fbc912;
  color: #1a1a1a;
  text-align: center;
  padding: 2rem;
  border-radius: 32px;
  margin-top: 2rem;
}
.print-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.print-cta__button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 48px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}
.print-cta__button:hover {
  background: #333;
  transform: scale(0.98);
}

/* Модалка выбора */
.callback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.callback-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.callback-modal__content {
  position: relative;
  background: white;
  border-radius: 32px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  z-index: 2001;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.callback-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}
.callback-modal__close:hover {
  color: #333;
}
.callback-modal__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}
.callback-modal__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.callback-modal__contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.callback-modal__btn {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 48px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.callback-modal__btn--call {
  background: #fbc912;
  color: #1a1a1a;
}
.callback-modal__btn--call:hover {
  background: #e0b010;
}
.callback-modal__btn--email {
  background: #1a1a1a;
  color: white;
}
.callback-modal__btn--email:hover {
  background: #333;
}
.callback-modal__contact-text {
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
  word-break: break-all;
}
.callback-modal__contact-text:hover {
  background: #f0f0f0;
}
.callback-modal__hint {
  font-size: 0.7rem;
  color: #999;
  text-align: center;
  margin-top: 12px;
}
.print-features__price {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #fbc912;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* КАРТА — адаптивная, без лишних отступов */
#yandex-map-placeholder {
  width: 100%;
  max-width: 1256px;
  margin: 0 auto;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#yandex-map-placeholder iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}
.print-section:has(#yandex-map-placeholder) {
  margin-bottom: 0;
}

/* Кнопка Наверх */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fbc912;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}
.go-top:hover {
  background: #e0b010;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.go-top:active {
  transform: translateY(0);
}
.go-top.show {
  opacity: 1;
  visibility: visible;
}

/* Адаптив */

@media (max-width: 1150px) {
  .process-steps span:nth-child(n+5):nth-child(-n+6) {
  display: none;
  }
  .header-main {
    gap: 20px;
  }
  .phone {
    font-size: 1.1rem;
  }
  .catalog-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .header-main {
    gap: 20px;
  }
  .phone {
    font-size: 1.1rem;
  }
  .catalog-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  .print-columns {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .print-section__title {
    font-size: 1.5rem;
  }
  .print-section__subhead {
    font-size: 1rem;
  }
  .print-cta p {
    font-size: 1rem;
  }
  #yandex-map-placeholder {
    height: 300px;
  }
  .go-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
  
  .go-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Планшеты и маленькие телефоны - убираем фразу */
@media (max-width: 600px) {
  .page-title {
    display: block;
  }
  .tagline, .process-steps {
    display: none;
  }
  #yandex-map-placeholder {
    height: 250px;
    border-radius: 12px;
  }
}

/* Планшеты и маленькие телефоны - убираем первый телефон */
@media (max-width: 480px) {
  .page-title {
    font-size: 1.25rem;
    margin: 1rem 0 0.75rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .logo-wrapper, .process-steps {
    display: none;
  }
  .header-main {
    justify-content: space-between;
    gap: 8px;
    padding: 0.5rem 0.75rem;
  }
  .catalog-dropdown {
    margin-left: 0;
    margin-right: auto;
  }
  .header-right {
    margin-left: auto;
    text-align: right;
  }
  .header-center {
    display: none;
  }
  .phones .phone:nth-child(1) {
    display: none;
  }
  .catalog-btn span {
    display: none;
  }
  .catalog-btn {
    padding: 0.4rem;
    font-size: 0.9rem;
  }
  .phone {
    font-size: 1.1rem;
  }
  .print-section {
    padding: 0 1rem;
    margin: 1rem auto 2rem;
  }
  .print-tech__list {
    gap: 0.5rem;
  }
  .print-tech__item {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .print-cta {
    padding: 1.5rem;
  }
  .print-cta__button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  .callback-modal__content {
    padding: 1.5rem;
  }
  .callback-modal__contact-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .callback-modal__btn {
    justify-content: center;
  }
  #yandex-map-placeholder {
    height: 200px;
  }
}
