.pkp_structure_footer_wrapper {
background: #50c6a2;
}
.service-box, .registry-box, .advantage-box, .cover-box, .main-button {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover, .registry-box:hover, .advantage-box:hover, .cover-box:hover, .main-button:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.cover-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main-button {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
h2.fade-in {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.logo-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.logo-block:hover img {
  filter: brightness(1.2) saturate(1.4);
  transform: scale(1.05);
}/* Анимация плавного появления */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Общий класс для секции преимуществ */
.advantage-fadein {
  animation: fadeUp 1s ease-out both;
}

/* Можно добавить небольшую задержку для картинки */
.advantage-image {
  animation: fadeUp 1s ease-out both;
  animation-delay: 0.3s;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(145deg, #41b883, #2c8b59); /* тот же градиент */
  color: white;
  padding: 1rem 2rem;
  font-size: 16px;
  font-family: Georgia, serif;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: white; /* чтобы текст не менял цвет и оставался читаемым */
}

.examples-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.examples-gallery img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.examples-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.sidebar-button-wrapper {
  margin: 1rem 0;
}

.sidebar-button {
  display: block;
  background: linear-gradient(145deg, #41b883, #2c8b59);
  color: white;
  padding: 1rem;
  font-size: 16px;
  font-family: Georgia, serif;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: white; /* сохраняем читаемость */
}

/* CSS для увеличенной обложки — исправлено */

.covers-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.covers-wrapper h1 {
  text-align: center;
  margin-bottom: 30px;
}

.cover-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cover-container {
  position: relative;
  flex: 0 1 calc(33.333% - 20px);
  max-width: 300px;
  background: white;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.cover-thumb img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.cover-popup {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px;
  z-index: 999;
  width: auto;
  height: auto;
}

.cover-container:hover .cover-popup {
  display: block;
}

.cover-popup img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
}

@media (max-width: 900px) {
  .cover-container {
    flex: 0 1 calc(50% - 20px);
  }
  .cover-popup {
    left: 0;
    top: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .cover-container {
    flex: 0 1 100%;
  }
}
.omp-reviews-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.omp-reviews-section h2 {
  font-size: 1.8rem;
  color: #4b2e83;
  margin-bottom: 24px;
}
.omp-reviews-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  max-width: 100%;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.omp-review-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 16px;
  width: 280px;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.omp-review-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
}
.omp-review-author {
  text-align: center;
  margin-bottom: 12px;
}
.omp-review-author .name {
  font-weight: bold;
  display: block;
  color: #333;
}
.omp-review-author .date {
  font-size: 0.875rem;
  color: #777;
}
.omp-review-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
  .omp-review-card {
    width: 240px;
    padding: 12px;
  }
  .omp-reviews-section {
    padding: 24px 10px;
  }
  .omp-reviews-section h2 {
    font-size: 1.4rem;
  }
}
.omp-contact-widget {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.omp-contact-widget h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #4b2e83;
  margin-bottom: 12px;
}
.omp-contact-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.omp-contact-widget li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.omp-contact-widget .icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.omp-contact-widget a {
  color: #4b2e83;
  text-decoration: none;
}
.omp-contact-widget a:hover {
  text-decoration: underline;
}
/* monograph.css - страница стоимости и оформления*/

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero {
  background: linear-gradient(to right, #004aad, #005bea);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.section {
  background: #fff;
  border-bottom: 1px solid #eee;
  animation: fadeUp 0.7s ease-out;
}

.section.alt {
  background: #f9f9f9;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid #004aad;
  padding-left: 0.5rem;
  color: #004aad;
}

.checklist li {
  list-style: none;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5em;
}

.checklist li::before {
  content: '✔';
  color: #0a802d;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.illustration {
  max-width: 100%;
  margin: 1rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.formula {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
}

.formula-number {
  float: right;
  margin-right: 20%;
  font-weight: normal;
  font-size: 1rem;
}

.formula-desc {
  text-align: left;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.lit-list {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.lit-list li {
  margin-bottom: 0.5rem;
}

.cta {
  background: #004aad;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.cta .btn {
  background: white;
  color: #004aad;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

.cta .btn:hover {
  background: #e6e6e6;
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-style {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.hero-sm {
  background: linear-gradient(to right, #00347a, #0056a6);
  padding: 3rem 0;
  text-align: center;
}
.hero-sm h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.hero-sm .subtitle {
  font-size: 1.1rem;
  color: #555;
}
.section.alt {
  background: #ffffff;
  padding: 3rem 0;
}
.lead {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.service-grid,
.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.service-card,
.addon {
  background: #fff;
  border-radius: 1rem;
  padding-top: 0.5rem; /* было 1.5rem */
  padding-bottom: 1rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover,
.addon:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.price {
  margin-top: 1rem;
  font-weight: bold;
  color: #0056a6;
}
.bottom-cta {
  background: #f7faff;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 4rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.bottom-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.bottom-cta p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}
.btn {
  background-color: #0056a6;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #004080;
}

.highlight-heading {
  font-size: 2rem;
  text-align: center;
  color: #003377;
  margin-bottom: 1rem;
}

.lead.small {
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}
.section-title {
  font-size: 1.7rem !important;
  text-align: center;
  color: #003a80;
  font-weight: 700;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: #222;
  margin-bottom: 0.75rem;
}
}
.highlighted-block {
  background: #eef3fc;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
}
.hero .highlight-heading,
.hero .lead.small {
  color: white !important;
}
.card-title {
  margin-top: 0 !important;
  font-size: 1.4rem;
  text-align: center;
}

.timeline {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #004aad;
}

.timeline li {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  background-color: #004aad;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
  z-index: 1;
}

.timeline h3 {
  font-size: 1.2rem;
  color: #004aad;
  margin-bottom: 0.3rem;
}

.timeline p {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: #333;
}

.timeline .btn {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #004aad;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.timeline .btn:hover {
  background-color: #003a89;
}

@media (max-width: 600px) {
  .timeline {
    padding-left: 1rem;
    border-left: 3px solid #004aad;
  }

  .timeline li {
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .timeline li::before {
    width: 0.8rem;
    height: 0.8rem;
    left: -0.5rem;
  }

  .timeline h3 {
    font-size: 1.1rem;
  }
}
.site-footer {
  background: transparent;
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a {
  color: #aad4ff;
  text-decoration: none;
  margin: 0 0.3rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Форма заявки */

.publish-request-form {
  background: #f7faff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.publish-request-form fieldset {
  border: none;
  margin-bottom: 2rem;
  padding: 0;
  animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.publish-request-form legend {
  font-size: 1.3rem;
  font-weight: bold;
  color: #004aad;
  margin-bottom: 1rem;
  border-left: 4px solid #004aad;
  padding-left: 0.5rem;
}

.publish-request-form input[type="text"],
.publish-request-form input[type="email"],
.publish-request-form input[type="tel"],
.publish-request-form input[type="number"],
.publish-request-form input[type="file"],
.publish-request-form select,
.publish-request-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border 0.2s ease;
}

.publish-request-form input:focus,
.publish-request-form select:focus,
.publish-request-form textarea:focus {
  border-color: #004aad;
  outline: none;
}

.publish-request-form textarea {
  resize: vertical;
}

.publish-request-form .author-block {
  background: #ffffff;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease-in-out;
}

.publish-request-form .btn {
  background-color: #004aad;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

.publish-request-form .btn:hover {
  background-color: #00347a;
}

@media (min-width: 768px) {
  .publish-request-form .author-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .publish-request-form input,
  .publish-request-form select {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .publish-request-form {
    padding: 1rem;
  }

  .publish-request-form .btn {
    width: 100%;
    text-align: center;
  }
}

/* Вступительный текст */
.publish-request-form + p,
.highlight-heading + p.lead.small {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
  text-align: center;
}

.publish-request-form a {
  color: #004aad;
  text-decoration: underline;
}

.publish-request-form a:hover {
  text-decoration: none;
}

/* Дополнительные услуги — вертикальное размещение */
.option-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.option-group label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #333;
}

.option-group select {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}
.hero-sm {
  background: linear-gradient(to right, #e8f0fc, #f0f4ff);
  padding: 3rem 0;
  text-align: center;
}

.hero-sm h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #004aad;
}

.hero-sm .subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}
.page-header {
  background: linear-gradient(to right, #004aad, #005bea);
  padding: 3rem 0;
  text-align: center;
  color: white;
}

.page-header .page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.page-header .page-subtitle {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-header a {
  color: #fff;
  text-decoration: underline;
}

.page-header a:hover {
  text-decoration: none;
}

.publish-request-form input[type="number"]::placeholder {
  color: #888;
}

/* ————— Летнее промо ————— */
.summer-promo {
  border: 2px solid #ff8c00;
  background: #fffaf0;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  font-family: Arial, sans-serif;
}
.summer-promo h3 {
  color: #ff4500;
  margin-bottom: 10px;
  font-size: 1.4em;
}
.summer-promo .promo-main {
  font-size: 1.2em;
  margin: 10px 0;
}
.summer-promo .promo-sub {
  font-size: 1.1em;
  margin: 10px 0;
}
.summer-promo .price-highlight {
  color: #d2691e;
  font-weight: bold;
  font-size: 1.2em;
}
.summer-promo .promo-cta {
  margin: 15px 0;
  font-style: italic;
  color: #555;
}
.summer-promo .promo-button {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}
.summer-promo .promo-button:hover {
  background: #e04000;
}

/* === ГЛАВНЫЙ БЛОК МЕНЮ === */
#navigationPrimary {
  background: transparent;
  box-shadow: none;
  padding: 10px 0;
  z-index: 1000;
}

#navigationPrimary ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

#navigationPrimary li {
  position: relative;
}

/* === КНОПКИ МЕНЮ === */
#navigationPrimary li a {
  display: inline-block;
  background: linear-gradient(145deg, #41b883, #2c8b59);
  color: white !important;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-family: Georgia, serif;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#navigationPrimary li a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: white !important;
}

/* === ПОДМЕНЮ === */
#navigationPrimary li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding: 4px 0;
  margin: 0;
  min-width: 220px;
  width: max-content;
  max-width: 320px;
  overflow: visible;
}

#navigationPrimary li:hover > ul {
  display: block;
}

#navigationPrimary li ul li {
  width: 100%;
}

#navigationPrimary li ul li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-family: Georgia, serif;
  background: transparent;
  color: #2c8b59 !important;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease;
  border-radius: 0;
}

#navigationPrimary li ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  color: #2c8b59 !important;
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 768px) {
  #navigationPrimary ul {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
  }

  #navigationPrimary li ul {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    min-width: unset;
    max-width: unset;
    border-radius: 0 0 8px 8px;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  #navigationPrimary li ul li a {
    padding: 12px 16px;
  }
}