/* ==========================================================================
   DENTA — HERO SERVICE
   Универсальная hero-секция для service-страниц.
   Эталон взят из /kids/sleep, сделано общим.
   Подключать на каждой service-странице вместо cariesv3-hero.

   Структура:
     <section class="hero-service">
       <div class="hero-service-bg" aria-hidden="true">…необяз. декор…</div>
       <div class="container hero-service-inner">
         <div>
           <div class="hero-tag">…бейдж…</div>
           <h1 class="hero-service-title">…<span class="accent">…</span>…</h1>
           <p class="hero-service-desc">…</p>
           <div class="hero-service-pills">…hero-pill × 3-4…</div>
           <div class="hero-service-actions">…btn × 2…</div>
           <div class="hero-trust">…hero-trust-item × 3…</div>
         </div>
         <aside class="hero-side">…УНИКАЛЬНЫЙ для услуги модуль…</aside>
       </div>
     </section>

   В правую колонку можно класть:
     • .hero-price-card — карточка с ценой и списком (как на /kids/sleep)
     • .hero-route — таймлайн «маршрут визита»
     • .hero-illustration — крупная SVG иллюстрация
     • любой другой uniquely-styled блок
   ========================================================================== */

/* --- Корневая секция --- */
.hero-service{
  position:relative;
  padding:40px 0 80px;
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%,var(--mint-soft) 0%,transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%,var(--coral-soft) 0%,transparent 60%),
    var(--cream);
  overflow:hidden;
}
.hero-service.theme-sky{
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%,#D6ECFF 0%,transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%,var(--mint-soft) 0%,transparent 60%),
    var(--cream);
}
.hero-service.theme-coral{
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%,var(--coral-soft) 0%,transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%,var(--sunny-soft) 0%,transparent 60%),
    var(--cream);
}
.hero-service.theme-sunny{
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%,var(--sunny-soft) 0%,transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%,var(--mint-soft) 0%,transparent 60%),
    var(--cream);
}
.hero-service.theme-lilac{
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%,#E5DDFF 0%,transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%,var(--mint-soft) 0%,transparent 60%),
    var(--cream);
}
.hero-service-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);
  gap:clamp(36px,4vw,56px);
  align-items:center;
  position:relative;
  z-index:2;
}
@media(min-width:1200px){
  .hero-service-inner{
    grid-template-columns:minmax(0,1fr) minmax(360px,1.38fr);
  }
}
/* Grid items default to min-width:auto; without this, the text column can overlap .hero-side */
.hero-service-inner > *{
  min-width:0;
}

/* --- Декор фона (опциональные мягкие фигуры под услугу) --- */
.hero-service-bg{
  position:absolute;inset:0;pointer-events:none;
  z-index:1;overflow:hidden;
}
.hero-service-bg::before,
.hero-service-bg::after{
  content:"";position:absolute;border-radius:50%;
  filter:blur(2px);opacity:.55;
}
.hero-service-bg::before{
  width:240px;height:240px;
  top:8%;right:6%;
  background:radial-gradient(circle at 30% 30%,#fff 0%,transparent 70%);
}
.hero-service-bg::after{
  width:180px;height:180px;
  bottom:14%;left:8%;
  background:radial-gradient(circle at 30% 30%,#fff 0%,transparent 70%);
}

/* --- Бейдж сверху --- */
.hero-tag{
  display:inline-grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  max-width:100%;
  box-sizing:border-box;
  background:var(--white);
  padding:8px 16px 8px 8px;
  border-radius:999px;
  margin-bottom:24px;
  box-shadow:var(--shadow-sm);
  font-size:13px;font-weight:600;
  color:var(--ink);
  line-height:1.35;
  vertical-align:top;
}
.hero-tag-dot{
  width:26px;height:26px;border-radius:50%;
  background:var(--mint);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  animation:heroTagBlink 2s ease-in-out infinite;
  flex-shrink:0;
  line-height:0;
  grid-column:1;
  grid-row:1;
}
.hero-tag-dot svg{
  display:block;
}
.hero-tag-dot.coral{background:var(--coral)}
.hero-tag-dot.sunny{background:var(--sunny-deep)}
.hero-tag-dot.sky{background:#4FB3DC}
@keyframes heroTagBlink{0%,100%{opacity:1}50%{opacity:.55}}

/* --- Заголовок и описание --- */
.hero-service-title{
  font-family:var(--font-head);
  font-size:clamp(34px,4.6vw,60px);
  line-height:1.08 !important;
  font-weight:800;
  letter-spacing:-.03em;color:var(--ink);
  margin-bottom:22px;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  -webkit-hyphens:none;
  text-wrap:pretty;
}
.hero-service-title :is(.accent,.accent-sun,.accent-coral,.accent-alarm,.save,.alarm){
  color:var(--coral-deep);
  line-height:inherit !important;
  overflow-wrap:normal;
  hyphens:none;
}
.hero-service-title .accent.mint{color:var(--mint-deep)}
.hero-service-title .accent.sky{color:#1B6EC2}
.hero-service-title .accent.sunny{color:var(--sunny-deep)}
/* A11y: не наследовать line-height:1.8 с body и не inline-block из denta-shared */
html[data-a11y-enabled="1"] .hero-service-title,
html[data-a11y-enabled="1"][data-a11y-spacing="wide"] .hero-service-title{
  line-height:1.08 !important;
}
html[data-a11y-enabled="1"] .hero-service-title :is(.accent,.accent-sun,.accent-coral,.accent-alarm,.save,.alarm),
html[data-a11y-enabled="1"][data-a11y-spacing="wide"] .hero-service-title :is(.accent,.accent-sun,.accent-coral,.accent-alarm,.save,.alarm){
  line-height:inherit !important;
}
.hero-service-desc{
  font-size:17px;color:var(--ink-soft);
  max-width:min(520px,100%);margin-bottom:18px;line-height:1.5;
}

/* --- Чипы (4 преимущества) --- */
.hero-service-pills{
  display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px;
}
.hero-pill{
  display:inline-grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  max-width:100%;
  box-sizing:border-box;
  background:var(--white);padding:10px 16px;border-radius:999px;
  font-size:13px;font-weight:600;color:var(--ink);
  box-shadow:var(--shadow-sm);
  line-height:1.35;
  vertical-align:top;
}
.hero-pill-ico{
  width:22px;height:22px;border-radius:50%;
  background:var(--mint);color:var(--on-brand);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  line-height:0;
  grid-column:1;
  grid-row:1;
}
.hero-pill-ico svg{
  display:block;
}
.hero-pill:nth-child(2) .hero-pill-ico{background:var(--coral)}
.hero-pill:nth-child(3) .hero-pill-ico{background:var(--sunny)}
.hero-pill:nth-child(4) .hero-pill-ico{background:#4FB3DC}

/* --- Список ценностей (компактная альтернатива pills) --- */
.hero-service-benefits-label{
  margin:0 0 10px;
  font-size:13px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--gray);
}
.hero-service-benefits{
  list-style:none;padding:0;margin:0 0 18px;
  max-width:min(520px,100%);
  display:grid;gap:8px;
}
.hero-service-benefits li{
  position:relative;padding-left:22px;
  font-size:15px;line-height:1.45;color:var(--ink-soft);
}
.hero-service-benefits li::before{
  content:"";position:absolute;left:0;top:.58em;
  width:8px;height:8px;border-radius:50%;background:var(--mint);
}
.hero-service-price{
  margin:0 0 20px;
  font-size:16px;font-weight:600;color:var(--ink);
}
.hero-service-price strong{
  font-family:var(--font-head);
  font-size:clamp(20px,3vw,24px);
  font-weight:800;color:var(--coral-deep);
  letter-spacing:-.02em;
}

/* --- CTA-кнопки --- */
.hero-service-actions{
  display:flex;gap:12px;flex-wrap:wrap;margin-bottom:36px;
}
.hero-service-actions--compact{
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  margin-bottom:0;
  max-width:min(520px,100%);
}
.hero-service-actions--compact .btn-primary{
  width:100%;
  justify-content:center;
}
/* Телефон в hero — вторичная текстовая ссылка, не вторая кнопка (CTA-правило) */
.hero-service-actions--compact .hero-link-call{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  width:auto;
  max-width:100%;
  min-height:0;
  margin-top:2px;
  padding:4px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:15px;
  font-weight:600;
  color:var(--ink-soft, #5A6E8A);
  text-decoration:none;
  transition:color .2s var(--ease);
}
.hero-service-actions--compact .hero-link-call::before{
  content:"";
  flex:0 0 16px;
  width:16px;
  height:16px;
  border-radius:50%;
  background-color:var(--mint);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:10px 10px;
}
.hero-service-actions--compact .hero-link-call:hover{
  color:var(--mint-deep);
  border-color:transparent;
  box-shadow:none;
  transform:none;
}
.hero-service-actions--compact .hero-link-more--anchor{
  display:none; /* третий CTA в hero запрещён — цена/маршрут ниже по странице */
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:0;
  padding:6px 0 2px;
  font-size:14px;
  font-weight:600;
  color:var(--mint-deep);
  text-decoration:none;
}
.hero-service-actions--compact .hero-link-more--anchor:hover{
  color:var(--coral-deep);
}

/* --- Lite hero: короткий первый экран --- */
.hero-service--lite{padding:clamp(28px,4vw,40px) 0 clamp(48px,6vw,72px)}
.hero-service--lite .hero-tag{margin-bottom:14px}
.hero-service--lite .hero-service-title{
  margin-bottom:10px;
  font-size:clamp(28px,4.2vw,38px);
  line-height:1.12;
}
.hero-service--lite .hero-service-desc{
  margin-bottom:16px;
  font-size:16px;
  max-width:min(480px,100%);
}
.hero-service-microproofs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(10px,2vw,16px);
  margin-bottom:18px;
  max-width:min(520px,100%);
}
.hero-service-microproofs__num{
  font-family:var(--font-head);
  font-size:clamp(18px,3.2vw,22px);
  font-weight:800;
  line-height:1.1;
  color:var(--ink);
  letter-spacing:-.02em;
}
.hero-service-microproofs__num--price{
  color:var(--coral-deep);
  letter-spacing:0;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.hero-illustration__price-value{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.1;
  color:var(--coral-deep);letter-spacing:0;word-break:keep-all;
}
.hero-illustration__price-value .small{
  font-size:.5em;color:var(--gray);font-weight:500;margin-right:4px;
}
.hero-service-microproofs__label{
  margin-top:4px;
  font-size:12px;
  line-height:1.3;
  color:var(--gray);
}
.hero-route--lite .hero-route__label,
.hero-route--lite .hero-route__sub{display:none}
.hero-route--lite .hero-route__title{
  font-size:17px;
  margin-bottom:14px;
}
.hero-route--lite .hero-route__steps{gap:10px}
.hero-route--lite .hero-route__name small{display:none}
.hero-route--lite .hero-route__foot{display:none}
.hero-route--lite{padding:clamp(20px,2.5vw,28px) clamp(18px,2.5vw,28px)}
@media(max-width:1024px){
  .hero-service--lite .hero-side--route-defer{display:none}
  .hero-service-microproofs{max-width:100%}
}
@media(max-width:640px){
  .hero-service-microproofs{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }
  .hero-service-microproofs__num{font-size:17px}
  .hero-service-microproofs__label{font-size:11px}
}

/* --- Блок доверия (3 цифры) --- */
.hero-trust{
  display:flex;gap:24px;flex-wrap:wrap;
  padding-top:24px;border-top:1px dashed rgba(11,37,69,.15);
}
.hero-trust-item{display:flex;align-items:center;gap:12px}
.hero-trust-num{
  font-family:var(--font-head);font-size:28px;font-weight:700;
  line-height:1;color:var(--ink);letter-spacing:-.02em;
}
.hero-trust-num .trust-score-suffix{
  font-size:16px;color:var(--gray);font-weight:600;
}
.hero-trust-label{
  font-size:12px;color:var(--gray);max-width:140px;line-height:1.3;
}

/* --- ПРАВАЯ КОЛОНКА: контейнер для уникального модуля --- */
.hero-side{position:relative;min-width:0;max-width:100%}

/* --- Правая колонка: карточка + метрики под ней, смещение вправо на десктопе --- */
@media(min-width:1025px){
  .hero-service .hero-side{
    justify-self:end;
    width:100%;
    max-width:min(520px,100%);
    transform:translateX(clamp(4px,.6vw,12px));
    display:flex;
    flex-direction:column;
    gap:clamp(14px,2vw,20px);
  }
}
.hero-trust--under-checklist{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:12px;
  width:100%;
  padding:16px 0 0;
  margin:0;
  border-top:1px dashed rgba(11,37,69,.14);
}
.hero-trust--under-checklist .hero-trust-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px 14px;
  align-items:center;
  width:100%;
}
.hero-trust--under-checklist .hero-trust-num{
  font-size:clamp(17px,1.55vw,22px);
  line-height:1.15;
}
.hero-trust--under-checklist .hero-trust-label{
  max-width:none;
  font-size:13px;
  line-height:1.35;
}
@media(max-width:1024px){
  .hero-service .hero-side{
    transform:none;
    max-width:100%;
    margin-top:0;
    justify-self:stretch;
    display:flex;
    flex-direction:column;
    gap:16px;
  }
}

/* === МОДУЛЬ 1: hero-price-card (как на /kids/sleep) === */
.hero-price-card{
  position:relative;
  background:var(--white);
  border-radius:var(--r-lg);
  padding:clamp(28px,3vw,36px) clamp(24px,3.5vw,44px);
  box-shadow:var(--shadow-lg);
  min-width:0;
  max-width:100%;
}
.hero-price-card::before{
  content:"";position:absolute;top:-20px;right:-20px;
  width:80px;height:80px;border-radius:50%;
  background:var(--sunny);z-index:-1;
}
.hero-price-card::after{
  content:"";position:absolute;bottom:-20px;left:-20px;
  width:100px;height:100px;border-radius:50%;
  background:var(--mint-soft);z-index:-1;
}
.hero-pc-label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--mint-mist);color:var(--mint-deep);
  padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px;
}
.hero-pc-label.coral{background:var(--coral-soft);color:var(--coral-deep)}
.hero-pc-label.sky{background:#E0F1FF;color:#1B6EC2}
.hero-pc-title{
  font-family:var(--font-head);font-size:20px;font-weight:700;
  margin-bottom:8px;line-height:1.2;color:var(--ink);
}
.hero-pc-sub{font-size:13px;color:var(--gray);margin-bottom:24px}
.hero-pc-price{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(30px,3.6vw,42px);line-height:1;
  color:var(--coral-deep);letter-spacing:-.02em;
  margin-bottom:6px;word-break:keep-all;
}
.hero-pc-price .small{
  font-size:.42em;color:var(--gray);font-weight:500;margin-right:4px;
}
.hero-pc-note{
  font-size:13px;color:var(--gray);margin-bottom:24px;
  padding-bottom:20px;border-bottom:1px dashed var(--gray-light);
}
.hero-pc-list{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.hero-pc-list-item{
  display:flex;gap:12px;font-size:14px;
  color:var(--ink-soft);line-height:1.4;
}
.hero-pc-list-item::before{
  content:"";width:22px;height:22px;border-radius:50%;
  background-color:var(--mint);flex-shrink:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:12px 12px;margin-top:1px;
}
.hero-pc-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:16px;
  background:var(--ink);color:var(--white);
  border-radius:999px;font-weight:700;font-size:14px;
  transition:background .2s var(--ease),transform .2s var(--ease);
  cursor:pointer;border:0;
}
.hero-pc-btn:hover{background:var(--coral);transform:translateY(-2px)}

/* === МОДУЛЬ 2: hero-route (таймлайн «маршрут визита») === */
.hero-route{
  position:relative;
  background:var(--white);
  border-radius:var(--r-lg);
  padding:clamp(26px,3vw,34px) clamp(24px,3.5vw,44px) clamp(24px,3vw,30px);
  box-shadow:var(--shadow-lg);
  min-width:0;
  max-width:100%;
}
.hero-route::before{
  content:"";position:absolute;top:-16px;right:24px;
  width:64px;height:64px;border-radius:50%;
  background:var(--sunny);z-index:-1;opacity:.55;
}
.hero-route__label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--mint-mist);color:var(--mint-deep);
  padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;
}
.hero-route__title{
  font-family:var(--font-head);font-size:20px;font-weight:700;
  line-height:1.2;color:var(--ink);margin-bottom:8px;
}
.hero-route__sub{
  font-size:13px;color:var(--gray);margin-bottom:22px;
}
.hero-route__steps{
  list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:14px;
  position:relative;
}
.hero-route__steps::before{
  content:"";position:absolute;
  left:17px;top:14px;bottom:14px;width:2px;
  background:linear-gradient(to bottom,var(--mint) 0%,var(--coral) 100%);
  border-radius:2px;opacity:.35;
}
.hero-route__step{
  display:grid;
  grid-template-columns:36px 1fr auto;
  gap:14px;align-items:center;
  position:relative;
}
.hero-route__num{
  width:36px;height:36px;border-radius:50%;
  background:linear-gradient(135deg,var(--mint) 0%,var(--mint-deep) 100%);
  color:var(--white);
  font-family:var(--font-head);font-weight:700;font-size:15px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(31,178,148,.35);
  position:relative;z-index:1;
}
.hero-route__step:nth-child(2) .hero-route__num{
  background:linear-gradient(135deg,#4FB3DC 0%,#1B6EC2 100%);
  box-shadow:0 6px 16px rgba(27,110,194,.32);
}
.hero-route__step:nth-child(3) .hero-route__num{
  background:linear-gradient(135deg,var(--sunny) 0%,var(--sunny-deep) 100%);
  box-shadow:0 6px 16px rgba(232,168,42,.35);
}
.hero-route__step:nth-child(4) .hero-route__num{
  background:linear-gradient(135deg,var(--coral) 0%,var(--coral-deep) 100%);
  box-shadow:0 6px 16px rgba(240,92,77,.35);
}
.hero-route__name{
  font-family:var(--font-head);font-weight:700;font-size:14px;
  color:var(--ink);line-height:1.3;
}
.hero-route__name small{
  display:block;font-family:inherit;font-weight:500;
  font-size:12px;color:var(--gray);margin-top:2px;line-height:1.35;
}
.hero-route__time{
  font-size:11px;font-weight:700;color:var(--mint-deep);
  background:var(--mint-mist);padding:4px 8px;border-radius:999px;
  white-space:nowrap;
}
.hero-route__foot{
  margin-top:22px;padding-top:18px;
  border-top:1px dashed rgba(11,37,69,.15);
  display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;flex-wrap:wrap;
}
.hero-route__price-label{
  font-size:13px;color:var(--gray);
}
.hero-route__price{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.1;
  color:var(--coral-deep);letter-spacing:-.01em;
  word-break:keep-all;min-width:0;
}
.hero-route__price .small{
  font-size:.5em;color:var(--gray);font-weight:500;margin-right:3px;
}

/* === МОДУЛЬ 3: hero-illustration (большая SVG иллюстрация в карточке) === */
.hero-illustration{
  position:relative;
  background:var(--white);
  border-radius:var(--r-lg);
  padding:clamp(22px,3vw,32px) clamp(22px,3.5vw,40px);
  box-shadow:var(--shadow-lg);
  min-width:0;max-width:100%;
  display:flex;flex-direction:column;gap:18px;
  align-items:center;text-align:center;
}
.hero-illustration__label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--mint-mist);color:var(--mint-deep);
  padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
}
.hero-illustration__media{
  width:100%;max-width:min(100%,clamp(280px,88%,380px));
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.hero-illustration__media svg{width:100%;height:auto;display:block}
.hero-illustration__title{
  font-family:var(--font-head);font-size:18px;font-weight:700;
  color:var(--ink);line-height:1.25;
}
.hero-illustration__sub{
  font-size:13px;color:var(--gray);line-height:1.5;
}
.hero-illustration__price{
  margin-top:auto;padding-top:18px;width:100%;
  border-top:1px dashed rgba(11,37,69,.15);
  display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;flex-wrap:wrap;
}
.hero-illustration__price>span{font-size:13px;color:var(--gray)}
.hero-illustration__price strong{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.1;
  color:var(--coral-deep);letter-spacing:-.01em;word-break:keep-all;
}
.hero-illustration__from{
  font-size:.5em;color:var(--gray);font-weight:500;margin-right:4px;
}
/* hero-illustration с растянутым layout (price снизу, текст по центру) */
.hero-illustration--stretch{align-items:stretch;text-align:left}
.hero-illustration--stretch .hero-illustration__media{align-self:center;margin:6px 0 4px}
.hero-illustration--stretch .hero-illustration__title{text-align:center}
.hero-illustration--stretch .hero-illustration__sub{text-align:center}

/* === МОДУЛЬ 4: hero-checklist (4 этапа с цветными иконками) === */
.hero-checklist{
  position:relative;background:var(--white);border-radius:var(--r-lg);
  padding:clamp(26px,3vw,34px) clamp(24px,3.5vw,44px);
  box-shadow:var(--shadow-lg);min-width:0;max-width:100%;
}
.hero-checklist::before{
  content:"";position:absolute;top:-16px;right:24px;
  width:64px;height:64px;border-radius:50%;
  background:var(--mint);z-index:-1;opacity:.45;
}
.hero-checklist__label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--mint-mist);color:var(--mint-deep);
  padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;
}
.hero-checklist__title{
  font-family:var(--font-head);font-size:20px;font-weight:700;
  line-height:1.2;color:var(--ink);margin:0 0 18px;
}
.hero-checklist__list{
  list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:14px;
}
.hero-checklist__item{
  display:grid;grid-template-columns:36px 1fr;gap:14px;align-items:flex-start;
}
.hero-checklist__icon{
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  background:var(--mint-mist);color:var(--mint-deep);
}
.hero-checklist__item strong{
  display:block;font-family:var(--font-head);font-weight:700;
  font-size:14px;color:var(--ink);line-height:1.3;
}
.hero-checklist__item small{
  display:block;font-size:12px;color:var(--gray);margin-top:2px;line-height:1.4;
}
.hero-checklist__foot{
  margin-top:22px;padding-top:18px;
  border-top:1px dashed rgba(11,37,69,.15);
  display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;flex-wrap:wrap;
}
.hero-checklist__price-label{font-size:13px;color:var(--gray)}
.hero-checklist__price{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.1;
  color:var(--coral-deep);letter-spacing:-.01em;word-break:keep-all;
}
.hero-checklist__price .small{font-size:.5em;color:var(--gray);font-weight:500;margin-right:3px}

/* === МОДУЛЬ 5: hero-compare (две колонки с противопоставлением) === */
.hero-compare{
  position:relative;background:var(--white);border-radius:var(--r-lg);
  padding:clamp(26px,2.8vw,34px);box-shadow:var(--shadow-lg);min-width:0;
  width:100%;
}
.hero-compare::before{
  content:"";position:absolute;top:-16px;right:24px;
  width:64px;height:64px;border-radius:50%;
  background:var(--mint-soft);z-index:-1;opacity:.7;
}
.hero-compare__label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--mint-mist);color:var(--mint-deep);
  padding:6px 12px;border-radius:999px;font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;
}
.hero-compare__title{
  font-family:var(--font-head);font-size:20px;font-weight:700;
  line-height:1.2;color:var(--ink);margin:0 0 18px;
}
.hero-compare__cols{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:14px;
  position:relative;
}
.hero-compare__col{
  background:#FBFAFF;border:1px solid rgba(11,37,69,.08);
  border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;
  min-width:0;overflow:visible;
}
.hero-compare__col--bad{
  background:#FFF5F3;border-color:rgba(240,92,77,.18);
}
.hero-compare__col--good{
  background:var(--mint-mist);border-color:rgba(31,178,148,.22);
}
.hero-compare__head{
  font-family:var(--font-head);font-weight:700;font-size:14px;
  display:flex;align-items:center;gap:8px;line-height:1.2;
}
.hero-compare__col--bad .hero-compare__head{color:var(--coral-deep)}
.hero-compare__col--good .hero-compare__head{color:var(--mint-deep)}
.hero-compare__head-ico{
  width:22px;height:22px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.hero-compare__col--bad .hero-compare__head-ico{background:var(--coral);color:#fff}
.hero-compare__col--good .hero-compare__head-ico{background:var(--mint);color:#fff}
.hero-compare__items{
  list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:8px;
}
.hero-compare__items li{
  display:flex;align-items:flex-start;gap:12px;
  font-size:13px;color:var(--ink-soft);line-height:1.45;
}
.hero-compare__items li::before{
  content:"";
  position:static;
  flex:0 0 20px;
  width:20px;height:20px;
  margin-top:2px;
  border-radius:50%;
  background-repeat:no-repeat;
  background-position:center;
  background-size:11px 11px;
}
.hero-compare__col--bad .hero-compare__items li::before{
  background-color:var(--coral);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
}
.hero-compare__col--good .hero-compare__items li::before{
  background-color:var(--mint);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.hero-compare__foot{
  margin-top:18px;padding-top:14px;
  border-top:1px dashed rgba(11,37,69,.15);
  display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;flex-wrap:wrap;
}
.hero-compare__price-label{font-size:13px;color:var(--gray)}
.hero-compare__price{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(22px,2.4vw,30px);line-height:1.1;
  color:var(--coral-deep);letter-spacing:-.01em;word-break:keep-all;
}
.hero-compare__price .small{font-size:.5em;color:var(--gray);font-weight:500;margin-right:3px}
@media(max-width:540px){
  .hero-compare__cols{grid-template-columns:1fr}
}

/* ==========================================================================
   SECTIONS (унифицированные заголовки секций — стиль /kids/sleep)
   .section / .section-head / .section-label / .section-title / .section-sub
   Используется на любой странице, подключающей этот CSS.
   ========================================================================== */
.section{padding:90px 0;position:relative}
.section-head{text-align:center;max-width:760px;margin:0 auto 56px}
.section-label{
  display:inline-block;padding:6px 14px;
  background:var(--mint-soft);color:var(--mint-deep);
  border-radius:999px;font-size:12px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px;
}
.section-label.coral{background:var(--coral-soft);color:var(--coral-deep)}
.section-label.cream{background:var(--cream-deep);color:#B88220}
.section-label.sky{background:#E0F1FF;color:#1B6EC2}
.section-label.lilac{background:#E5DDFF;color:#6A4FB3}
.section-title{
  font-family:var(--font-head);
  font-size:clamp(28px,3.6vw,46px);
  line-height:1.08;font-weight:700;
  letter-spacing:-.02em;color:var(--ink);
  margin:0;
}
.section-title .accent{color:var(--mint-deep);font-style:italic;font-weight:500}
.section-title .accent-sun{color:var(--sunny-deep);font-style:italic;font-weight:500}
.section-title .accent-coral{color:var(--coral-deep);font-style:italic;font-weight:500}
.section-sub{
  font-size:17px;color:var(--ink-soft);margin-top:16px;
  max-width:620px;margin-left:auto;margin-right:auto;line-height:1.6;
}
.section-title-left{text-align:left}
.section-sub-left{text-align:left;margin-left:0}

/* ==========================================================================
   CARIESV3 COMPAT
   Перебиваем стили из denta-cariesv3-shared.css на 17 service-страницах,
   чтобы заголовки/кикеры/акценты выглядели как на /kids/sleep.
   Когда все cariesv3-hero будут переписаны на hero-service, этот блок
   можно будет удалить вместе с самим denta-cariesv3-shared.css.
   ========================================================================== */

/* 1. Убираем толстую радужную полоску под заголовками секций */
.cariesv3-head .cariesv3-title::after,
.cariesv3-head .section-title::after,
.section-head .section-title::after{
  display:none !important;
}

/* 2. .cariesv3-title — приводим к стилю .section-title */
.cariesv3-title{
  font-family:var(--font-head) !important;
  font-size:clamp(28px,3.6vw,46px) !important;
  line-height:1.08 !important;
  font-weight:700 !important;
  letter-spacing:-.02em !important;
  color:var(--ink) !important;
  margin:0 !important;
}
.cariesv3-head{margin:0 auto 40px !important;max-width:760px;text-align:center}
.cariesv3-sub{
  font-size:17px !important;color:var(--ink-soft) !important;
  margin-top:16px !important;line-height:1.6 !important;
  max-width:620px;margin-left:auto;margin-right:auto;
}

/* 3. Акценты в cariesv3-title — мятный/жёлтый/коралловый italic 500 */
.cariesv3-title .accent{color:var(--mint-deep) !important;font-style:italic;font-weight:500}
.cariesv3-title .accent-sun{color:var(--sunny-deep) !important;font-style:italic;font-weight:500}
.cariesv3-title .accent-coral{color:var(--coral-deep) !important;font-style:italic;font-weight:500}

/* 4. Перебиваем градиентный фон у .section-label из cariesv3-shared.css */
.cariesv3-section .section-label,
.section.calc .section-label,
.section.prices-sed .section-label,
.section.faq-svc .section-label{
  display:inline-block !important;
  background:var(--mint-soft) !important;
  color:var(--mint-deep) !important;
  border:0 !important;
  box-shadow:none !important;
  padding:6px 14px !important;
  border-radius:999px !important;
}
.cariesv3-section .section-label.coral,
.section.calc .section-label.coral,
.section.prices-sed .section-label.coral,
.section.faq-svc .section-label.coral{
  background:var(--coral-soft) !important;
  color:var(--coral-deep) !important;
}
.cariesv3-section .section-label.cream,
.section.calc .section-label.cream,
.section.prices-sed .section-label.cream,
.section.faq-svc .section-label.cream{
  background:var(--cream-deep) !important;
  color:#B88220 !important;
}

/* 5. .cariesv3-kicker — приводим к стилю .section-label */
.cariesv3-kicker{
  display:inline-block !important;
  background:var(--mint-soft) !important;
  color:var(--mint-deep) !important;
  border:0 !important;
  box-shadow:none !important;
  padding:6px 14px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:700 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  margin-bottom:14px !important;
}
.cariesv3-section--peach .cariesv3-kicker,
.cariesv3-section--rose .cariesv3-kicker{
  background:var(--coral-soft) !important;
  color:var(--coral-deep) !important;
}
.cariesv3-section--milk .cariesv3-kicker,
.cariesv3-section--violet .cariesv3-kicker{
  background:var(--cream-deep) !important;
  color:#B88220 !important;
}
.cariesv3-section--mint .cariesv3-kicker,
.cariesv3-section--sky .cariesv3-kicker{
  background:var(--mint-soft) !important;
  color:var(--mint-deep) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width:1024px){
  .hero-service-inner{grid-template-columns:1fr;gap:40px}
  .hero-service{padding:40px 0 60px}
}
@media(max-width:1024px){
  .section{padding:60px 0}
  .section-head{margin-bottom:40px}
}
@media(max-width:640px){
  .hero-service{padding:30px 0 60px}
  .container.crumbs:has(+ section.hero-service) + section.hero-service{
    padding-top:18px;
  }
  .section{padding:50px 0}
  .section-head{margin-bottom:32px}
  .section-title{font-size:26px;line-height:1.15}
  .section-sub{font-size:15px;margin-top:12px}
  .hero-service-title{font-size:32px}
  .hero-service-desc{font-size:16px;margin-bottom:20px}
  .hero-service-benefits{margin-bottom:16px}
  .hero-service-benefits li{font-size:14px}
  .hero-service-price{margin-bottom:16px}
  .hero-service-pills{margin-bottom:24px;gap:8px}
  .hero-pill{padding:8px 13px;font-size:12px}
  /* В ряд длинный CTA ломается на 3+ строки, вторая кнопка тянется по высоте (flex stretch) */
  .hero-service-actions{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-bottom:28px;
  }
  .hero-service-actions .btn{
    flex:none;
    width:100%;
    min-height:44px;
    padding:11px 16px;
    font-size:14px;
    line-height:1.25;
    justify-content:center;
  }
  .hero-trust{gap:18px;padding-top:20px}
  .hero-trust-num{font-size:24px}
  .hero-price-card,.hero-route,.hero-illustration{padding:26px 22px}
  .hero-pc-price{font-size:36px}
  .hero-route__step{grid-template-columns:32px 1fr;gap:12px}
  .hero-route__time{grid-column:2/3;justify-self:start;margin-top:2px}
  .hero-route__num{width:32px;height:32px;font-size:14px}
}
@media(max-width:380px){
  .hero-service-title{font-size:28px}
  .hero-trust{gap:14px}
  .hero-trust-num{font-size:22px}
  .hero-trust-label{font-size:11px}
}
