/* Страница отдельной услуги (.sv_*).
   Палитра — та же, что у сайта: #df9896 — основной розовый, #b05f5c — тот же
   тон, доведённый до читаемого контраста на белом (для кнопок и мелкого
   текста), #343740 — основной тёмный, #f7e6e2 — мягкая подложка.
   Список услуг отдельных стилей не требует: он собран плитками главной. */

:root {
  --sv-rose:      #df9896;
  --sv-rose-deep: #b05f5c;
  --sv-rose-dark: #99504d;
  --sv-rose-soft: #f7e6e2;
  --sv-ink:       #343740;
  --sv-ink-soft:  #4d5058;
  --sv-muted:     #8b8e95;
  --sv-shadow:    rgba(52, 55, 64, .10);
  --sv-ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- заголовок услуги ---------- */

.sv_detail { padding: 10px 0 0; }

.sv_detail_head { max-width: 780px; margin: 0 auto; text-align: center; }

.sv_detail_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--sv-rose-soft);
}

.sv_detail_icon img { width: 58px; height: 58px; object-fit: contain; }

.sv_eyebrow {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--sv-rose-soft);
  color: var(--sv-rose-dark);
  font-family: 'Livvic', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.sv_detail_head h1 {
  margin: 18px 0 0;
  font-family: 'Lobster', cursive;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--sv-ink);
}

.sv_lead {
  margin: 18px auto 0;
  max-width: 660px;
  font-size: 18px;
  line-height: 32px;
  color: var(--sv-ink-soft);
}

/* ---------- текст услуги ---------- */

.sv_body { max-width: 820px; margin: 44px auto 0; }

.sv_body h2 {
  margin: 42px 0 14px;
  font-family: 'Lobster', cursive;
  font-size: 27px;
  font-weight: 400;
  color: var(--sv-ink);
}

.sv_body p,
.sv_body li { font-size: 17px; line-height: 31px; color: var(--sv-ink-soft); }

.sv_body ul { margin: 0 0 18px; padding-left: 0; list-style: none; }

.sv_body ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }

.sv_body ul li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sv-rose);
}

/* ---------- этапы, вопросы, материалы ---------- */

.sv_process,
.sv_faq,
.sv_posts { padding: 76px 0 0; }

.sv_block_head { max-width: 700px; margin: 0 auto 34px; text-align: center; }

.sv_block_head h2 {
  margin-top: 16px;
  font-family: 'Lobster', cursive;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--sv-ink);
}

.sv_steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv_step { padding: 30px 24px; border-radius: 16px; background: var(--sv-rose-soft); }

.sv_step_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sv-rose-deep);
  color: #fff;
  font-family: 'Livvic', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.sv_step h3 {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--sv-ink);
}

.sv_step p { margin: 10px 0 0; font-size: 15px; line-height: 26px; color: var(--sv-ink-soft); }

/* вопросы: аккордеон на <details>, без единой строки скрипта */

.sv_faq_list { max-width: 880px; margin: 0 auto; }

.sv_faq_item {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 16px var(--sv-shadow);
  margin-bottom: 14px;
}

.sv_faq_item summary {
  position: relative;
  padding: 23px 58px 23px 26px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--sv-ink);
  cursor: pointer;
  list-style: none;
}

.sv_faq_item summary::-webkit-details-marker { display: none; }

/* плюс собран из двух полосок: вторая поворачивается при раскрытии */
.sv_faq_item summary::before,
.sv_faq_item summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--sv-rose-deep);
  transition: transform .3s var(--sv-ease);
}

.sv_faq_item summary::after { transform: rotate(90deg); }
.sv_faq_item[open] summary::after { transform: rotate(0deg); }

.sv_faq_answer { padding: 0 26px 24px; }
.sv_faq_answer p { margin: 0; font-size: 16px; line-height: 29px; color: var(--sv-ink-soft); }

/* ---------- призыв к действию ---------- */

.sv_cta { padding: 78px 0 20px; }

.sv_cta_box {
  padding: 48px 40px;
  border-radius: 20px;
  background: var(--sv-rose-soft);
  text-align: center;
}

.sv_cta_box h2 {
  margin: 0;
  font-family: 'Lobster', cursive;
  font-size: 30px;
  font-weight: 400;
  color: var(--sv-ink);
}

.sv_cta_box p {
  margin: 14px auto 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 30px;
  color: var(--sv-ink-soft);
}

.sv_cta_btn {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 40px;
  border-radius: 999px;
  background: var(--sv-rose-deep);
  color: #fff;
  font-family: 'Livvic', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  transition: background .3s var(--sv-ease), transform .3s var(--sv-ease);
}

.sv_cta_btn:hover,
.sv_cta_btn:focus-visible {
  background: var(--sv-rose-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- адаптив ---------- */

@media (max-width: 991px) {
  .sv_steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv_detail_head h1 { font-size: 32px; }
  .sv_block_head h2 { font-size: 27px; }
}

@media (max-width: 575px) {
  .sv_steps { grid-template-columns: minmax(0, 1fr); }
  .sv_detail_head h1 { font-size: 26px; }
  .sv_detail_icon { width: 84px; height: 84px; }
  .sv_detail_icon img { width: 46px; height: 46px; }
  .sv_body h2 { font-size: 22px; }
  .sv_cta_box { padding: 34px 22px; }
  .sv_faq_item summary { padding: 19px 50px 19px 20px; font-size: 16px; }
  .sv_faq_answer { padding: 0 20px 20px; }
}
