.footer {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.footer-link-ob {
  color: #1a1b1f;
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-link--mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232457c5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
}

.footer-link--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232457c5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
}

.footer-link--whatsapp::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232457c5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5l1.3-4A8.5 8.5 0 1 1 8 19.3l-4.5 1.2z'/%3E%3Cpath d='M9.2 8.4c.2-.4.4-.4.7-.4h.4c.2 0 .4 0 .5.4l.7 1.6c.1.2 0 .4-.1.5l-.5.6c-.1.1-.1.3 0 .4.6 1 1.5 1.9 2.6 2.5.2.1.3.1.4 0l.6-.6c.2-.2.4-.2.6-.1l1.6.7c.3.1.4.3.4.5v.5c0 .3-.1.6-.4.8-.5.4-1.1.6-1.7.5-2.9-.5-5.3-2.9-5.8-5.8-.1-.6.1-1.2.5-1.7z'/%3E%3C/svg%3E");
}

.footer-link--address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232457c5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z'/%3E%3C/svg%3E");
}

.footer-link--worktime::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232457c5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6v6l4 2'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z'/%3E%3C/svg%3E");
}

/* ===== ПАМЯТКА: СЕКЦИЯ ===== */
.memo-section {
  width: 100vw;
  margin: 0 auto 40px;
  background-image: url(../images/memo-bg.avif);
  background-size: cover;
  background-position: center;
}

.memo-wrapper {
  width: 100%;
  padding: 70px 60px;
  box-sizing: border-box;
}

.memo-container {
  max-width: 1600px;
  margin: 0 auto;
}

/* ===== ПАМЯТКА: ЗАГОЛОВКИ ===== */
.memo-title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 40px;
}

.memo-subtitle {
  text-align: center;
  font-size: 26px;
  margin: 48px 0 28px;
}

/* ===== ПАМЯТКА: АКЦЕНТНЫЕ БЛОКИ (единый компонент) ===== */
.memo-card {
  background: none;
  border-left: 5px solid transparent;
  padding: 4px 0 4px 28px;
  margin: 0 0 32px;
}

.memo-card:last-of-type {
  margin-bottom: 0;
}

.memo-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.3;
}

.memo-card p {
  margin: 0 0 10px;
  line-height: 1.55;
}

.memo-card p:last-child {
  margin-bottom: 0;
}

.memo-card ul {
  margin: 0;
  padding-left: 22px;
}

.memo-card li {
  margin-bottom: 10px;
  line-height: 1.55;
}

.memo-card li:last-child {
  margin-bottom: 0;
}

.warning   { border-left-color: #ff9800; }
.danger    { border-left-color: #e53935; }
.success   { border-left-color: #4caf50; }
.important { border-left-color: #3f51b5; }

.memo-card .note {
  margin-top: 16px;
  font-size: 14px;
  color: #555;
}

/* ===== БЛОК «ОСТАЛИСЬ ВОПРОСЫ?» (памятка и страница FAQ) ===== */
.cta-box {
  margin-top: 48px;
  padding: 32px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.cta-box p {
  margin: 0 0 16px;
  line-height: 1.55;
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.cta-box-button {
  display: inline-flex;
}

/* ===== ПАМЯТКА: АДАПТИВ ===== */
@media (max-width: 1024px) {
  .memo-wrapper {
    padding: 50px 30px;
  }
}

@media (max-width: 600px) {
  .memo-title {
    font-size: 24px;
  }
  .memo-subtitle {
    font-size: 22px;
  }
  .memo-card {
    padding-left: 18px;
  }
  .cta-box {
    padding: 24px 20px;
  }
}

/* ===== СТРАНИЦА «ВОПРОСЫ И ОТВЕТЫ» ===== */
.faq-page {
  min-height: auto;
}

.faq-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.faq-container h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
}

.faq-container > p {
  line-height: 1.55;
  margin: 0 0 32px;
}

.faq-container h2 {
  font-size: 24px;
  margin: 32px 0 20px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-item p {
  line-height: 1.6;
  margin: 0 0 12px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item ul {
  padding-left: 20px;
  margin: 0;
  line-height: 1.6;
}

/* ===== СТАТУС ОТПРАВКИ ФОРМЫ (js/form.js) ===== */
.form-status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
}
.form-status:empty {
  display: none;
}
.form-status--ok {
  color: #1f9d55;
}
.form-status--fail {
  color: #d0342c;
}
