/* ==========================================================================
   РЕДИЗАЙН 2026 — сливовая палитра, Prata + Montserrat, «мягкое стекло».
   Подключается после style.css и переопределяет его.
   ========================================================================== */

/* ---------- Фон: мягкие сливовые пятна ---------- */
body {
  background-color: var(--color-bg-light);
  color: var(--color-dark);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vw 38vw at 92% 8%, rgba(168, 123, 163, 0.16), transparent 70%),
    radial-gradient(32vw 32vw at 4% 46%, rgba(201, 163, 198, 0.16), transparent 70%),
    radial-gradient(40vw 40vw at 80% 96%, rgba(123, 79, 122, 0.10), transparent 70%);
}

::selection { background: rgba(123, 79, 122, 0.18); }

:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}

/* ---------- Типографика: у Prata одно начертание ---------- */
.hero-title, .section-title, .page-title, .service-hero-title, .article-page-title,
.promo-title, .offer-title, .blog-card-title, .seo-title, .advantage-title,
.modal-title-custom, .footer-heading, .contact-card-title, .portfolio-title,
.value-title, .error-title, .error-number, .glass-title, .exp-number, .stat-number,
.offcanvas-nav .offcanvas-link, .typography-content h2, .typography-content h3 {
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-title, .section-title, .page-title, .service-hero-title, .article-page-title { color: #3A2B3C; }
.section-badge, .hero-badge { color: var(--color-accent-light); }

/* ---------- Кнопки-таблетки ---------- */
.btn-primary-custom {
  background: var(--grad-primary);
  border: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 15px 32px;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: var(--grad-primary-hover);
  color: #fff;
  box-shadow: 0 16px 34px rgba(123, 79, 122, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary-custom:hover::after { left: 120%; }
.btn-primary-custom.btn-lg { padding: 18px 40px; font-size: 0.78rem; }

.btn-outline-custom {
  background: var(--glass-bg);
  border: 1px solid rgba(123, 79, 122, 0.22);
  color: var(--color-dark);
}
.btn-outline-custom:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
}

.btn-dark-custom { background: #3A2B3C; }
.btn-dark-custom:hover { background: #2A1C2A; }

/* Вторичная «таблетка» со скидкой рядом с CTA */
.btn-ghost-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 28px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid rgba(123, 79, 122, 0.18);
  box-shadow: 0 8px 22px rgba(94, 58, 93, 0.08);
  color: var(--color-dark);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.25;
  text-align: center;
  transition: var(--transition-smooth);
}
.btn-ghost-pill b { color: var(--color-primary); font-weight: 600; }
.btn-ghost-pill:hover {
  color: var(--color-dark);
  transform: translateY(-2px);
  border-color: rgba(123, 79, 122, 0.4);
}

/* ---------- Шапка ---------- */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 30px rgba(94, 58, 93, 0.08);
}
.navbar-nav .nav-link { font-size: 0.86rem; }

/* ---------- Стеклянные карточки ---------- */
.service-card, .offer-card, .blog-card, .seo-card, .contact-info-card,
.error-nav-card, .value-item-card, .pricing-card, .contacts-form-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.service-card:hover, .offer-card:hover, .blog-card:hover {
  box-shadow: 0 24px 50px rgba(94, 58, 93, 0.16);
  border-color: #fff;
}
.service-body, .blog-card .bg-white { background: transparent !important; }
.offer-card-featured { border: 1.5px solid rgba(123, 79, 122, 0.45); }
.popular-ribbon { background: var(--grad-primary); }
.advantages-wrapper { background: var(--glass-bg); border-color: #fff; box-shadow: var(--shadow-soft); }

/* ---------- Hero ---------- */
.hero-section { position: relative; padding-top: 140px; padding-bottom: 60px; }
.hero-title { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.12; }
.hero-lead-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 520px;
  margin-bottom: 2.4rem;
}
.hero-lead-line::before {
  content: '';
  flex: 0 0 34px;
  height: 1px;
  margin-top: 0.85em;
  background: var(--color-accent-light);
}
.hero-lead-line .hero-description { margin-bottom: 0; }
.hero-description b { color: var(--color-dark); font-weight: 600; }

.hero-video-container { position: relative; }
.video-arch-mask {
  border-radius: 240px 240px 32px 32px;
  background-color: var(--color-soft);
  box-shadow: 0 30px 60px rgba(94, 58, 93, 0.22) !important;
}
.hero-video-container::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto -18px;
  height: 70%;
  border-radius: 260px 260px 0 0;
  border: 1px solid rgba(168, 123, 163, 0.35);
  border-bottom: 0;
  pointer-events: none;
}
.hero-video-container::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 123, 163, 0.45), transparent 70%);
  z-index: -1;
}
.glass-icon { background: var(--grad-primary); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(123, 79, 122, 0.12);
}
.hero-fact-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-primary);
  line-height: 1;
}
.hero-fact-label { font-size: 0.75rem; color: var(--color-muted); margin-top: 6px; }

@media (max-width: 991.98px) {
  .hero-section { padding-top: 100px; }
  .hero-lead-line { margin-left: auto; margin-right: auto; }
  .hero-lead-line::before { display: none; }
  .hero-facts { justify-content: center; }
  .hero-video-container { max-width: 340px; }
  .hero-video-container::before { display: none; }
}

/* ---------- «Почему именно мы» — иконки в кругах ---------- */
.why-section { padding: 70px 0 30px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.why-grid::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 46px;
  border-top: 1px dashed rgba(123, 79, 122, 0.28);
}
.why-item { text-align: center; position: relative; }
.why-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--color-primary);
  background: linear-gradient(145deg, #fff 0%, #F3EAF2 100%);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(94, 58, 93, 0.14), inset 0 -6px 14px rgba(168, 123, 163, 0.12);
  transition: var(--transition-smooth);
}
.why-item:hover .why-icon { transform: translateY(-6px); color: #fff; background: var(--grad-primary); }
.why-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.why-desc { font-size: 0.82rem; color: var(--color-muted); line-height: 1.55; margin: 0 auto; max-width: 240px; }
@media (max-width: 991.98px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .why-grid::before { display: none; }
  .why-icon { width: 76px; height: 76px; font-size: 1.6rem; }
}

/* ---------- Карточки услуг ---------- */
.service-img-wrap { border-radius: 20px; aspect-ratio: 1 / 0.9; }
.service-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  text-align: center;
  min-height: 0;
  margin-bottom: 0.5rem;
}
.service-excerpt { font-size: 0.82rem; color: var(--color-muted); line-height: 1.55; text-align: center; margin-bottom: 1.1rem; }
.service-action { justify-content: center; }
.service-action .btn-primary-custom { padding: 12px 26px; font-size: 0.7rem; }
.service-icon-badge { top: 22px; left: 24px; background: rgba(255, 255, 255, 0.92); }
.service-card:hover .service-icon-badge { background: var(--grad-primary); }

/* ---------- Промо со скидкой ---------- */
.promo-banner-card {
  background: linear-gradient(120deg, #FFFFFF 0%, #F6EEF5 55%, #EADCE9 100%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-soft);
}
.promo-badge { color: var(--color-accent-light); }
.promo-title { color: #3A2B3C; }
.promo-desc { color: var(--color-muted); font-weight: 400; }
.promo-privacy { color: var(--color-muted); }
.promo-image-overlay { background: linear-gradient(to right, transparent 60%, #F6EEF5 100%); }
.promo-decor-leaf { background-image: radial-gradient(circle, rgba(168, 123, 163, 0.25) 10%, transparent 60%); }
@media (max-width: 991.98px) {
  .promo-image-overlay { background: linear-gradient(to top, #F6EEF5 5%, transparent 70%); }
}

/* ---------- Прайс на главной: категории + таблица ---------- */
.home-price-section { padding: 80px 0; }
.price-cats {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.price-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--color-dark);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition-smooth);
}
.price-cat-btn i { color: var(--color-accent-light); transition: transform 0.3s ease; }
.price-cat-btn:hover { background: rgba(123, 79, 122, 0.06); }
.price-cat-btn.active { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-glow); }
.price-cat-btn.active i { color: #fff; transform: translateX(3px); }
.price-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 28px 32px;
}
.price-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.price-panel-title { font-family: var(--font-serif); font-size: 1.5rem; color: #3A2B3C; margin: 0; }
.price-panel-link { font-size: 0.8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(123, 79, 122, 0.16);
  font-size: 0.9rem;
}
.price-row:last-child { border-bottom: 0; }
.price-row-name { color: var(--color-dark); }
.price-row-val { color: var(--color-primary); font-weight: 600; white-space: nowrap; }
.price-subcat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  font-weight: 600;
  margin: 20px 0 2px;
}
.price-subcat:first-child { margin-top: 4px; }
.price-panel-scroll { max-height: 470px; overflow-y: auto; padding-right: 8px; }
.price-panel-scroll::-webkit-scrollbar { width: 5px; }
.price-panel-scroll::-webkit-scrollbar-thumb { background: rgba(123, 79, 122, 0.25); border-radius: 5px; }
@media (max-width: 991.98px) {
  .price-cats { display: flex; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: none; }
  .price-cats::-webkit-scrollbar { display: none; }
  .price-cat-btn { width: auto; white-space: nowrap; padding: 10px 16px; }
  .price-cat-btn i { display: none; }
}
@media (max-width: 575.98px) {
  .price-panel { padding: 22px 18px; }
  .price-panel-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Карусель работ ---------- */
.works-section { padding: 80px 0; }
.works-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 24px;
  scrollbar-width: none;
}
.works-track::-webkit-scrollbar { display: none; }
.works-item {
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 4px solid #fff;
  background: var(--color-soft);
  margin: 0;
}
.works-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.works-item:hover img { transform: scale(1.05); }
.works-item figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  color: var(--color-dark);
  line-height: 1.3;
}
.works-item figcaption small { display: block; color: var(--color-muted); font-size: 0.7rem; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.slider-btn:hover { transform: translateY(-2px); }
.slider-btn:disabled { opacity: 0.35; box-shadow: none; transform: none; }
@media (max-width: 991.98px) { .works-track { grid-auto-columns: calc((100% - 20px) / 2.3); } }
@media (max-width: 575.98px) { .works-track { grid-auto-columns: 72%; } }

/* ---------- Отзывы ---------- */
.reviews-section { padding: 80px 0; }
.reviews-widget {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid #fff;
  box-shadow: var(--shadow-soft);
  height: 620px;
}
.reviews-widget iframe { width: 100%; height: 100%; border: 0; display: block; }
.rating-card {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-glow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rating-card .section-badge { color: rgba(255, 255, 255, 0.75); }
.rating-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin-bottom: 1rem; }
.rating-card p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; line-height: 1.6; }
.rating-badge-frame { border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.12); width: 150px; height: 50px; }
.btn-light-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-light-pill:hover { color: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }
@media (max-width: 991.98px) { .reviews-widget { height: 560px; } }

/* ---------- Контакты с картой ---------- */
.home-contacts { padding: 40px 0 90px; }
.home-map-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow-soft);
  border: 4px solid #fff;
  background: var(--color-soft);
  display: flex;
  align-items: center;
}
.home-map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-contact-card {
  position: relative;
  z-index: 2;
  width: min(400px, calc(100% - 32px));
  margin: 32px;
  padding: 30px 30px 26px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 50px rgba(94, 58, 93, 0.18);
}
.home-contact-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; color: #3A2B3C; margin-bottom: 18px; }
.hc-row { margin-bottom: 14px; }
.hc-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-light); font-weight: 600; }
.hc-value { font-size: 0.95rem; color: var(--color-dark); text-decoration: none; display: block; }
a.hc-value:hover { color: var(--color-primary); }
.hc-socials { display: flex; gap: 10px; margin-top: 18px; }
.hc-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-soft);
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.hc-socials a:hover { background: var(--grad-primary); color: #fff; }
@media (max-width: 767.98px) {
  .home-map-wrap { min-height: 0; flex-direction: column-reverse; align-items: stretch; }
  .home-map-wrap iframe { position: relative; height: 320px; }
  .home-contact-card { margin: 0; width: 100%; border-radius: 0; box-shadow: none; }
}

/* ---------- Подвал ---------- */
.footer { background: linear-gradient(160deg, #3A2540 0%, #2A1C2A 60%, #1F1520 100%); }
.footer .text-primary { color: #C9A3C6 !important; }
.footer-nav a:hover, .footer-phone-link:hover, .footer-sublink:hover { color: #C9A3C6; }
.social-link:hover { background: var(--grad-primary); border-color: transparent; }

/* ---------- Мобильная нижняя панель ---------- */
.mobile-bottom-bar { background: rgba(255, 255, 255, 0.85); }
.cta-btn-circle { background: var(--grad-primary); }

/* ---------- Появление блоков при прокрутке ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Мелкие исправления ---------- */
.price-panel-link { color: var(--color-primary); }
.price-panel-link:hover { color: var(--color-primary-hover); }

/* Шторка навигатора: скрыта полностью, пока не открыта (не видна и не фокусируется) */
.map-choice-sheet { visibility: hidden; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s; }
.map-choice-sheet.show { visibility: visible; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }

/* Затухание SEO-текста в цвет карточки */
.seo-fade-overlay { background: linear-gradient(to bottom, rgba(251, 248, 250, 0), #FBF8FA); }

/* Иконка VK (в Bootstrap Icons её нет) */
.icon-vk { width: 1.05em; height: 1.05em; fill: currentColor; display: inline-block; vertical-align: -0.12em; }

/* Белые секции-полосы внутренних страниц — мягкое стекло вместо чистого белого */
section.bg-white {
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(123, 79, 122, 0.08) !important;
}

/* В Prata нет знака ₽ — цены набираем Montserrat */
.pricing-item-val, .offer-price-val {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
}

/* Сообщение об успешной заявке в промо-блоке */
.alert-success-custom {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid rgba(123, 79, 122, 0.2);
  box-shadow: var(--shadow-soft);
}
.success-icon { color: var(--color-primary); }

/* У Prata нет полужирного — запрещаем браузеру «рисовать» жирность */
html { font-synthesis: style; }
.typography-content h1, .typography-content h2, .typography-content h3, .typography-content h4 { font-weight: 400 !important; }

/* ==========================================================================
   Компоненты статей блога (sv-*)
   ========================================================================== */
.typography-content { color: #3A3040; }
.typography-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: #3A2B3C;
  margin-top: 3rem;
  scroll-margin-top: 110px;
}
.typography-content h3 { font-size: 1.35rem; color: #3A2B3C; scroll-margin-top: 110px; }
.typography-content a:not(.btn) { color: var(--color-primary); text-decoration-color: rgba(123, 79, 122, 0.35); text-underline-offset: 3px; }
.typography-content a:not(.btn):hover { text-decoration-color: var(--color-primary); }
.typography-content strong { color: #2B2230; font-weight: 600; }
.typography-content ul:not([class]) li::marker { color: var(--color-accent-light); }

.sv-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #3A3040;
  padding-left: 22px;
  border-left: 3px solid var(--color-accent-light);
  margin-bottom: 2rem !important;
}

.sv-toc {
  background: var(--glass-bg);
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 24px 28px;
  margin: 0 0 2.5rem;
}
.sv-toc-title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 10px;
}
.sv-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 32px; }
.sv-toc li { font-size: 0.95rem; margin-bottom: 6px; break-inside: avoid; }
.sv-toc a { text-decoration: none !important; }
@media (max-width: 767.98px) { .sv-toc ol { columns: 1; } }

.sv-callout {
  position: relative;
  border-radius: 20px;
  padding: 22px 26px 22px 70px;
  margin: 2rem 0;
  background: #fff;
  border: 1px solid rgba(123, 79, 122, 0.14);
  box-shadow: 0 10px 28px rgba(94, 58, 93, 0.07);
}
.sv-callout::before {
  position: absolute;
  left: 22px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: var(--grad-primary);
  content: '✦';
}
.sv-callout--warn { background: #FFF8F3; border-color: rgba(214, 140, 90, 0.25); }
.sv-callout--warn::before { content: '!'; font-weight: 700; background: linear-gradient(135deg, #E0A57E, #C97A4E); }
.sv-callout--salon { background: linear-gradient(120deg, #fff, #F6EEF5); }
.sv-callout--salon::before { content: '✂'; }
.sv-callout-title { font-weight: 600; color: #2B2230; margin-bottom: 6px; font-size: 1rem; }
.sv-callout p:last-child, .sv-callout ul:last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
  .sv-callout { padding: 64px 20px 20px; }
  .sv-callout::before { top: 18px; left: 20px; }
}

.sv-steps { margin: 2rem 0; display: grid; gap: 14px; }
.sv-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--glass-bg);
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 8px 22px rgba(94, 58, 93, 0.06);
}
.sv-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-primary);
  background: linear-gradient(145deg, #fff 0%, #F3EAF2 100%);
  box-shadow: inset 0 -4px 10px rgba(168, 123, 163, 0.15), 0 6px 14px rgba(94, 58, 93, 0.1);
}
.typography-content .sv-step h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.sv-step p { margin-bottom: 0 !important; font-size: 0.98rem; line-height: 1.7; }

.sv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 2rem 0; }
.sv-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(123, 79, 122, 0.1);
  box-shadow: 0 8px 22px rgba(94, 58, 93, 0.06);
}
.sv-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-soft);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.typography-content .sv-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.sv-card p { font-size: 0.93rem; line-height: 1.65; margin-bottom: 0 !important; color: #5A4F5C; }

.sv-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 20px;
  border: 1px solid rgba(123, 79, 122, 0.12);
  box-shadow: 0 8px 22px rgba(94, 58, 93, 0.06);
  background: #fff;
}
.sv-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 520px; }
.sv-table th {
  background: var(--grad-primary);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.sv-table td { padding: 13px 18px; border-top: 1px solid rgba(123, 79, 122, 0.1); vertical-align: top; line-height: 1.55; }
.sv-table tr:nth-child(even) td { background: #FBF8FA; }
.sv-table td:first-child { font-weight: 600; color: #2B2230; }

.sv-takeaways {
  background: var(--grad-primary);
  color: #fff;
  border-radius: 24px;
  padding: 28px 30px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-glow);
}
.sv-takeaways-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 12px; }
.sv-takeaways ul { margin: 0; padding-left: 1.2rem; }
.sv-takeaways li { margin-bottom: 8px; line-height: 1.6; }
.sv-takeaways li::marker { color: #F3D9F0; }
.sv-takeaways strong { color: #fff; }

.typography-content blockquote.sv-quote {
  border: 0;
  margin: 2.5rem 0;
  padding: 30px 34px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
  font-style: normal;
}
.sv-quote::before {
  content: '“';
  position: absolute;
  top: -18px;
  left: 26px;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent-light);
}
.sv-quote p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.55; color: #3A2B3C; margin-bottom: 10px !important; }
.sv-quote cite { font-style: normal; font-size: 0.85rem; color: var(--color-muted); }

.sv-faq { margin: 2rem 0; display: grid; gap: 12px; }
.sv-faq-item {
  background: var(--glass-bg);
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(94, 58, 93, 0.05);
}
.typography-content .sv-faq-q {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600 !important;
  margin: 0 0 6px;
  color: #2B2230;
}
.sv-faq-a p { margin-bottom: 0 !important; font-size: 0.97rem; line-height: 1.7; }

.sv-cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2.5rem 0;
  padding: 22px 26px;
  border-radius: 22px;
  background: linear-gradient(120deg, #fff 0%, #F3EAF2 100%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-soft);
}
.sv-cta-inline p { margin: 0 !important; font-size: 1rem; max-width: 520px; }

/* Обложки статей 16:9 — показываем целиком, рубрика уже нарисована на обложке */
.blog-media-link { aspect-ratio: 16 / 9; }
.blog-card .blog-category-badge { display: none; }
.article-main-img { max-height: none; aspect-ratio: 16 / 9; }
