.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;
  }
}

/* === LEGAL FOOTER (OMP /ni) — прозрачный вариант === */

#legal-footer{
  background:transparent !important;   /* прозрачный фон */
  color:inherit !important;            /* текст как в теме */
  border:0 !important;                 /* без границы сверху */
  font:inherit !important;             /* шрифт из темы */
}

#legal-footer a{
  color:inherit !important;
  text-decoration:underline;
}
#legal-footer a:hover{ opacity:.85; }

#legal-footer .lf-wrap{ max-width:1100px; margin:0 auto; padding:24px 20px; }

/* 3-колоночный flex */
#legal-footer .lf-grid{
  display:flex; flex-wrap:wrap; gap:24px;
}
#legal-footer .lf-col{ flex:1 1 280px; min-width:0; }

#legal-footer .lf-h4{ font-weight:700; margin:0 0 8px; }
#legal-footer p{ margin:0 0 6px; }

#legal-footer .lf-links{ list-style:none; padding:0; margin:0; }
#legal-footer .lf-links li{ margin:6px 0; }

#legal-footer .lf-brandline{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
#legal-footer .lf-dot{ display:none; } /* убираем цветной кружок */

/* нижняя плашка */
#legal-footer .lf-bar{
  margin-top:18px; padding-top:12px;
  display:flex; flex-wrap:wrap; gap:12px;
  align-items:center; justify-content:space-between;
}
#legal-footer .lf-left, #legal-footer .lf-right{ display:flex; flex-wrap:wrap; gap:12px; }

/* бейджи – только рамка, цвет шрифта из темы */
#legal-footer .lf-badge{
  font-size:12px; border:1px solid currentColor; border-radius:999px;
  padding:3px 8px;
}

#legal-footer .lf-cookie-btn{
  display:inline-block; border:1px solid currentColor;
  border-radius:8px; padding:6px 12px; text-decoration:none;
}
#legal-footer .lf-cookie-btn:hover{ opacity:.85; }

#legal-footer .lf-icons{ display:flex; gap:10px; margin-top:4px; }
#legal-footer .lf-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border:1px solid currentColor;
  border-radius:6px; text-decoration:none; font-size:12px;
}
/* Подарочные сертификаты — общий контейнер */
.gift-cert-page {
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* HERO-БЛОК */

.gift-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.gift-hero--bright {
  padding: 2rem 1.8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5ef 0%, #fbe8de 40%, #ffffff 100%);
  border: 1px solid #f1d2c4;
}

.gift-hero__content {
  flex: 1 1 280px;
  min-width: 260px;
}

.gift-hero__visual {
  flex: 0 0 280px;
  min-width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Бейдж сверху */

.gift-hero__badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: #c04a3a;
  color: #ffffff;
}

/* Главный заголовок в hero */

.gift-hero__title-main {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.gift-hero__title-main span {
  color: #c04a3a;
}

/* Лид и подзаголовок */

.gift-hero__lead {
  font-size: 1.02rem;
  max-width: 34rem;
  margin-bottom: 0.6rem;
}

.gift-hero__tagline {
  font-size: 0.95rem;
  max-width: 34rem;
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

/* Маленькая линия преимуществ */

.gift-hero__mini-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.gift-hero__mini-line span::before {
  content: "• ";
  opacity: 0.7;
}

/* Кнопки */

.gift-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.gift-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gift-btn--primary {
  background-color: #c04a3a;
  color: #ffffff;
  border-color: #c04a3a;
}

.gift-btn--primary:hover,
.gift-btn--primary:focus {
  background-color: #a63f32;
  border-color: #a63f32;
  color: #ffffff;
}

.gift-btn--secondary {
  background-color: #ffffff;
  color: #333333;
  border-color: #cccccc;
}

.gift-btn--secondary:hover,
.gift-btn--secondary:focus {
  background-color: #f1f1f1;
}

/* Иллюстрация сертификата справа (CSS-вариант) */

.gift-hero-illustration {
  width: 100%;
  max-width: 260px;
  padding: 1.1rem 1rem;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  border: 1px solid #eed6c7;
}

.gift-hero-illustration__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.7rem;
  color: #c04a3a;
}

.gift-hero-illustration__card {
  position: relative;
  border-radius: 12px;
  background: #fff7f2;
  padding: 1rem 0.9rem 0.9rem;
  margin-bottom: 0.7rem;
  overflow: hidden;
  border: 1px solid #f1d2c4;
}

.gift-hero-illustration__ribbon {
  position: absolute;
  right: -40px;
  top: 10px;
  width: 120px;
  height: 26px;
  background: #c04a3a;
  transform: rotate(16deg);
  opacity: 0.9;
}

.gift-hero-illustration__text {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.gift-hero-illustration__note {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* СЕКЦИИ */

.gift-section {
  margin-bottom: 3rem;
}

.gift-section--intro {
  margin-top: 1rem;
}

.gift-section__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.gift-section__intro {
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.gift-section__note {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.75rem;
}

/* СЕТКИ */

.gift-grid {
  display: grid;
  gap: 1.5rem;
}

.gift-grid--4 {
  grid-template-columns: 1fr;
}

.gift-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gift-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gift-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* КАРТОЧКИ "ДЛЯ КОГО" */

.gift-card {
  padding: 1.1rem 1rem;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eeeeee;
}

.gift-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.gift-card__text {
  font-size: 0.95rem;
}

/* ВАРИАНТЫ СЕРТИФИКАТОВ */

.gift-option {
  padding: 1.3rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #ffffff;
}

.gift-option__title {
  font-size: 1.1rem;
  margin: 0.4rem 0 0.6rem;
}

.gift-option__text {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.gift-option__list {
  padding-left: 1.1rem;
  margin: 0;
}

.gift-option__list li {
  margin-bottom: 0.35rem;
}

/* Плашки/бейджи у вариантов */

.gift-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: #c04a3a;
  color: #ffffff;
}

.gift-pill--outline {
  background-color: #ffffff;
  color: #c04a3a;
  border: 1px solid #c04a3a;
}

/* ШАГИ "КАК ЭТО РАБОТАЕТ" */

.gift-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gift-step {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 1.25rem;
}

.gift-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid #c04a3a;
}

.gift-step__title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gift-step__text {
  font-size: 0.95rem;
}

/* СПИСОК УСЛОВИЙ */

.gift-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.gift-list li {
  margin-bottom: 0.4rem;
}

/* МОТИВАТОР (ХАЙЛАЙТ) */

.gift-highlight {
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #fff6f2;
  border: 1px solid #f3d1c7;
}

.gift-highlight__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  opacity: 0.8;
}

.gift-highlight__text {
  font-size: 0.95rem;
}

/* FAQ */

.gift-faq {
  display: grid;
  gap: 1.2rem;
}

.gift-faq__item {
  padding: 1rem 0;
  border-top: 1px solid #eeeeee;
}

.gift-faq__item:last-child {
  border-bottom: 1px solid #eeeeee;
}

.gift-faq__question {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.gift-faq__answer {
  font-size: 0.95rem;
}

/* ФИНАЛЬНЫЙ CTA-БЛОК */

.gift-section--cta {
  text-align: left;
}

/* АДАПТИВ ДЛЯ HERO НА МОБИЛЬНЫХ */

@media (max-width: 767px) {
  .gift-hero--bright {
    padding: 1.5rem 1.2rem;
  }

  .gift-hero__title-main {
    font-size: 1.6rem;
  }

  .gift-hero__visual {
    order: -1;
    margin-bottom: 1.2rem;
  }

  .gift-hero-illustration {
    max-width: 100%;
  }
}

.page-header--gift {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, #fff5ef 0%, #fbe8de 40%, #ffffff 100%);
  border-bottom: 1px solid #f1d2c4;
}

.page-header--gift .page-title {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  font-weight: 600;
  color: #3a2a23;
}

.page-header--gift .page-subtitle {
  margin: 0;
  font-size: 1rem;
  max-width: 46rem;
  color: #5e4a40;
}

.page-header--gift .page-subtitle a {
  color: #c04a3a;
  text-decoration: underline;
}

.page-header--gift .page-subtitle a:hover {
  text-decoration: none;
}

/* ===== Форма заявки на сертификат ===== */

.publish-request-form--gift {
  max-width: 960px;
  margin: 0 auto;
}

/* fieldset / legend только для формы сертификатов */

.publish-request-form--gift fieldset {
  border: 1px solid #ecd4c6;
  border-radius: 6px;
  padding: 1.5rem 1.75rem 1.75rem;
  margin: 0 0 1.5rem;
  background: #fffaf7;
}

.publish-request-form--gift legend {
  padding: 0 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #3a2a23;
}

/* Сетка полей (авторы/заказчик/получатель) */

.publish-request-form--gift .author-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

/* Более широкая сетка для блока получателя */

.publish-request-form--gift .author-block--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Группы опций и лейблы */

.publish-request-form--gift .option-group {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.publish-request-form--gift .option-group label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #3a2a23;
}

/* Поля формы */

.publish-request-form--gift input[type="text"],
.publish-request-form--gift input[type="email"],
.publish-request-form--gift input[type="tel"],
.publish-request-form--gift input[type="number"],
.publish-request-form--gift input[type="date"],
.publish-request-form--gift select,
.publish-request-form--gift textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #d9c9bc;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
}

.publish-request-form--gift textarea {
  resize: vertical;
  min-height: 120px;
}

.publish-request-form--gift input:focus,
.publish-request-form--gift select:focus,
.publish-request-form--gift textarea:focus {
  outline: none;
  border-color: #c04a3a;
  box-shadow: 0 0 0 1px rgba(192, 74, 58, 0.15);
}

/* Подсказки мелким шрифтом */

.publish-request-form--gift small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #7a5f50;
}

/* Кнопка отправки (в стиле сертификатов) */

.publish-request-form--gift .btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #c04a3a;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.publish-request-form--gift .btn:hover,
.publish-request-form--gift .btn:focus {
  background: #a63f32;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* ===== Адаптив для формы сертификатов ===== */

@media (max-width: 900px) {
  .publish-request-form--gift .author-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publish-request-form--gift .author-block--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-header--gift {
    padding: 2rem 0 1.5rem;
  }

  .page-header--gift .page-title {
    font-size: 1.6rem;
  }

  .publish-request-form--gift fieldset {
    padding: 1.25rem 1.1rem 1.4rem;
  }

  .publish-request-form--gift .author-block {
    grid-template-columns: 1fr;
  }
}
/* Общий фон баннера — без "выгоревших" углов, чуть темнее */
.gift-banner--ny {
  padding: 1rem 0.9rem 1.1rem;
  margin: 0 0 1.5rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #b71c3b 0%, #e84a3a 45%, #ffb15a 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

/* Снежинки оставляем, они фон не "выбеливают" */
.gift-banner--ny::before,
.gift-banner--ny::after {
  content: "❄️";
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.35;
}
.gift-banner--ny::before {
  top: 4px;
  left: 6px;
}
.gift-banner--ny::after {
  bottom: 6px;
  right: 10px;
}

/* Верхний бейдж — морозно-синий текст */
.gift-banner__label {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(234, 245, 255, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #eaf5ff;           /* морозно-синий */
}

/* Заголовок пусть останется ярко-белым, он нормально читается */
.gift-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Подзаголовок чуть потемнее, чтобы не сливаться с фоном */
.gift-banner__tagline {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff6ee;
}

/* Нижняя подпись — тоже «морозная» */
.gift-banner__mini {
  font-size: 0.78rem;
  color: #eaf5ff;
  opacity: 0.98;
}
/* Кнопки в новогоднем баннере */

.gift-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.gift-banner__btn {
  display: inline-block;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.83rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease,
              transform 0.05s ease;
}

/* Кнопка "Заказать" — белая, контрастная */
.gift-banner__btn--primary {
  background-color: #ffffff;
  color: #c01b3e;
  border-color: #ffffff;
  font-weight: 700;
}

.gift-banner__btn--primary:hover,
.gift-banner__btn--primary:focus {
  background-color: #ffe9c7;
  border-color: #ffe9c7;
  color: #a51833;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

/* Кнопка "Подробнее" — прозрачная с белой рамкой */
.gift-banner__btn--light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.gift-banner__btn--light:hover,
.gift-banner__btn--light:focus {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}