
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:wght@300;400;500;600;700&family=Playpen+Sans:wght@100..800&family=Roboto:wght@100;300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
}
* { box-sizing: border-box; }

/* ====== Базовая раскладка страницы ====== */
.mt-page {
  padding: 32px 0 104px;
  background: #f8fafc; /* светло-серый фон */
}

.mt-page .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  min-height: calc(100vh - 304px);
}

.page-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a; /* slate-900 */
}

.page-content {
  background: #ffffff;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 12px;
  padding: 20px;
  color: #1f2937; /* gray-800 */
  line-height: 1.65;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  margin-bottom: 28px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin: 20px 0 10px;
  color: #0f172a;
}
.page-content p { margin: 10px 0; }
.page-content a { color: #0ea5e9; text-decoration: none; }
.page-content a:hover { text-decoration: underline; }

/* ====== FAQ блок ====== */
.mt-faq {
  margin-top: 24px;
}

.mt-faq__group {
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.mt-accordion {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(16,24,40,.06);
}

.mt-accordion--ungrouped {
  margin-top: 24px;
}

/* details как аккордеон */
.mt-accordion__item {
  border-top: 1px solid #e5e7eb;
}
.mt-accordion__item:first-child {
  border-top: none;
}

/* summary — заголовок вопроса */
.mt-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  color: #0f172a;
  position: relative;
  transition: background-color .2s ease, color .2s ease;
}

.mt-accordion__summary::-webkit-details-marker { display: none; }
.mt-accordion__summary::marker { content: ""; }

/* Иконка-стрелка */
.mt-accordion__summary::after {
  content: "";
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid #64748b; /* slate-500 */
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  transition: transform .2s ease, border-color .2s ease;
}

.mt-accordion__item[open] .mt-accordion__summary {
  background: #f8fafc;
}
.mt-accordion__item[open] .mt-accordion__summary::after {
  transform: rotate(45deg);
  border-color: #0ea5e9; /* cyan-500 */
}

/* Контент ответа */
.mt-accordion__content {
  padding: 15px 18px 18px 18px;
  color: #334155; /* slate-700 */
  line-height: 1.65;
}
.mt-accordion__content p { margin: 10px 0; }
.mt-accordion__content a { color: #0ea5e9; text-decoration: none; }
.mt-accordion__content a:hover { text-decoration: underline; }

/* ====== Контакты ====== */
.mt-contacts {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

.mt-contacts__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(16,24,40,.06);
}

.mt-contacts__card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.mt-contacts__address,
.mt-contacts__hours {
  margin: 6px 0;
  color: #475569; /* slate-600 */
}

.mt-contacts__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mt-contacts__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}
.mt-contacts__list a:hover { text-decoration: underline; }

.mt-contacts__freehtml {
  margin-top: 12px;
  color: #334155;
  line-height: 1.6;
}

/* ====== Адаптив ====== */
@media (min-width: 720px) {
  .mt-contacts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .mt-contacts {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ====== Небольшие улучшения доступности ====== */
.mt-accordion__summary:focus-visible,
.mt-contacts__list a:focus-visible {
  outline: 3px solid #93c5fd; /* blue-300 */
  outline-offset: 2px;
  border-radius: 8px;
}

/* ====== Тёмный режим (если нужен) ====== */
/* @media (prefers-color-scheme: dark) {
  .mt-page { background: #0b1220; }
  .page-title, .mt-faq__group, .mt-accordion__summary, .mt-contacts__card h2 { color: #e5e7eb; }
  .page-content,
  .mt-accordion,
  .mt-contacts__card {
    background: #0f172a;
    border-color: #1f2a44;
    box-shadow: none;
  }
  .page-content { color: #cbd5e1; }
  .mt-accordion__content,
  .mt-contacts__address,
  .mt-contacts__hours,
  .mt-contacts__freehtml { color: #cbd5e1; }
  .mt-accordion__summary::after { border-color: #94a3b8; }
} */


.cp-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: -2px;
  display: inline-block;
}
