/* Site chrome only. Not in RSS / Dzen content. */
.dzen-head.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:#fff;
  border-bottom:0;
  box-shadow:none;
}
.dzen-head__inner{
  max-width:1280px;
  margin:0 auto;
  padding:0 18px;
  box-sizing:border-box;
}
.dzen-head__info{
  background:#f6fbfb;
  border-bottom:1px solid var(--line,#d8e8e8);
  overflow:hidden;
  max-height:52px;
  opacity:1;
  transition:max-height .22s ease,opacity .2s ease;
}
.dzen-head__nav{
  display:flex;
  flex-wrap:nowrap;
  gap:16px;
  align-items:center;
  min-height:40px;
  overflow-x:auto;
  scrollbar-width:none;
}
.dzen-head__nav::-webkit-scrollbar{display:none}
.dzen-head__nav a{
  flex:0 0 auto;
  color:var(--muted,#5d7175);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  padding:10px 0;
}
.dzen-head__nav a:hover{color:var(--brand,#087a78);text-decoration:none}

.dzen-head__convert{
  background:#fff;
  border-bottom:1px solid var(--line,#d8e8e8);
}
.dzen-head__convert-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:68px;
}
.dzen-head__brand{
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
  color:var(--text,#102428);
  text-decoration:none;
}
.dzen-head__brand:hover{text-decoration:none;color:var(--text,#102428)}
.dzen-head__brand strong{
  font-size:18px;
  letter-spacing:-.02em;
  line-height:1.15;
}
.dzen-head__brand span{
  color:var(--muted,#5d7175);
  font-size:12px;
  font-weight:600;
}
.dzen-head__actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.dzen-head__phone{
  color:var(--brand2,#064b55)!important;
  font-weight:800;
  font-size:17px;
  letter-spacing:-.02em;
  text-decoration:none!important;
  white-space:nowrap;
}
.dzen-head__phone:hover{color:var(--brand,#087a78)!important}
.dzen-head__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:var(--brand,#087a78);
  color:#fff!important;
  font-weight:800;
  font-size:15px;
  text-decoration:none!important;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(8,122,120,.22);
}
.dzen-head__cta:hover{background:var(--brand2,#064b55);color:#fff!important}
.dzen-head__burger{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(8,76,82,.16);
  border-radius:14px;
  background:#fff;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:0;
}
.dzen-head__burger span{
  display:block;
  width:18px;
  height:2px;
  border-radius:4px;
  background:#0a4f55;
  transition:.2s ease;
}

body.dzen-head-compact .dzen-head__info{
  max-height:0;
  opacity:0;
  pointer-events:none;
  border-bottom-color:transparent;
}
body.dzen-head-compact .dzen-head__convert{
  box-shadow:0 10px 28px rgba(7,55,60,.08);
}

.dzen-mnav[hidden],
.dzen-mnav-backdrop[hidden]{display:none!important}
.dzen-mnav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(6,26,32,.44);
  opacity:0;
  visibility:hidden;
  transition:.22s ease;
  z-index:90;
  backdrop-filter:blur(3px);
}
.dzen-mnav{
  position:fixed;
  top:0;
  right:0;
  width:min(390px,92vw);
  height:100dvh;
  background:#f8fdfc;
  border-left:1px solid rgba(8,76,82,.12);
  box-shadow:-24px 0 70px rgba(5,34,40,.22);
  z-index:91;
  transform:translateX(104%);
  transition:transform .26s ease;
  padding:20px 20px 28px;
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:auto;
}
.dzen-mnav__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(8,76,82,.1);
}
.dzen-mnav__head strong{display:block;font-size:20px;color:#102a3a}
.dzen-mnav__head span{display:block;margin-top:4px;color:#5c6c72;font-size:13px;line-height:1.4}
.dzen-mnav__close{
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  background:#e9f5f3;
  color:#0a4f55;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.dzen-mnav__phone{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  border-radius:18px;
  background:#087a78;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900;
  font-size:19px;
  box-shadow:0 14px 32px rgba(8,122,120,.2);
}
.dzen-mnav__book{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:16px;
  background:#fff;
  border:1px solid #087a78;
  color:#064b55!important;
  font-weight:800;
  text-decoration:none!important;
}
.dzen-mnav__label{
  margin:8px 0 0;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#5d7175;
}
.dzen-mnav__links{display:grid;gap:8px}
.dzen-mnav__links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(8,76,82,.08);
  color:#0b4650;
  text-decoration:none;
  font-weight:800;
}
.dzen-mnav__links a:after{content:'›';color:#0a766c;font-size:24px;line-height:1}
.dzen-mnav__links--muted a{font-weight:700;color:#31484d}

body.dzen-mnav-open{overflow:hidden}
body.dzen-mnav-open .dzen-mnav-backdrop{opacity:1;visibility:visible;display:block!important}
body.dzen-mnav-open .dzen-mnav{transform:translateX(0);display:flex!important}
body.dzen-mnav-open .dzen-head__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.dzen-mnav-open .dzen-head__burger span:nth-child(2){opacity:0}
body.dzen-mnav-open .dzen-head__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:980px){
  .dzen-head__info{display:none}
  .dzen-head__phone{display:none}
  .dzen-head__burger{display:flex}
  .dzen-head__convert-row{min-height:62px}
  .dzen-head__brand strong{font-size:16px}
  .dzen-head__cta{min-height:40px;padding:0 14px;font-size:14px}
}
@media(max-width:420px){
  .dzen-head__brand span{display:none}
  .dzen-head__cta{padding:0 12px}
}


/* DZEN_YANDEX_MOBILE_HEADER_FIX_20260924: prevent header overflow on narrow phones. */
@media(max-width:560px){
  .dzen-head__inner{padding-left:12px;padding-right:12px}
  .dzen-head__convert-row{gap:10px;min-width:0}
  .dzen-head__brand{flex:1 1 auto;min-width:0;overflow:hidden}
  .dzen-head__brand strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dzen-head__actions{gap:8px;flex:0 0 auto}
  .dzen-head__cta{display:none}
  .dzen-head__burger{display:flex;flex:0 0 44px}
}
