:root {
  --chtz-header-ink: #18242c;
  --chtz-header-ink-soft: #2b3a44;
  --chtz-header-steel: #e7ecef;
  --chtz-header-paper: #ffffff;
  --chtz-header-amber: #f5a400;
  --chtz-header-amber-hot: #ffbd38;
  --chtz-header-success: #31b568;
}

.intec-template-layout-header .chtz-premium-header {
  background: var(--chtz-header-paper);
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #dfe5e8;
  box-shadow: 0 14px 34px rgba(24, 36, 44, .08);
}

.intec-template-layout-header .chtz-premium-header .widget-container {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.intec-template-layout-header .chtz-premium-header__row {
  display: grid !important;
  grid-template-columns: 150px minmax(300px, 1fr) auto minmax(304px, 322px) !important;
  gap: 14px !important;
  align-items: center !important;
  width: 100% !important;
}

.intec-template-layout-header .chtz-premium-header__row > * {
  min-width: 0;
  margin: 0 !important;
}

.intec-template-layout-header .chtz-premium-header .widget-container-tagline-wrap {
  display: none !important;
}

.intec-template-layout-header .chtz-premium-header .widget-container-logotype-wrap {
  display: flex !important;
  align-items: center;
  width: 150px !important;
  padding-right: 14px;
  border-right: 1px solid var(--chtz-header-steel);
}

.intec-template-layout-header .chtz-premium-header .widget-container-logotype {
  width: 136px !important;
}

.intec-template-layout-header .chtz-premium-header .widget-container-logotype img {
  display: block;
  width: 136px !important;
  height: auto !important;
}

.intec-template-layout-header .chtz-premium-header .widget-container-search-wrap {
  width: auto !important;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-form-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 54px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d9e0e4 !important;
  border-left: 4px solid var(--chtz-header-amber) !important;
  border-radius: 9px !important;
  background: #f9fbfc !important;
  box-shadow: inset 0 1px 0 #fff, 0 7px 20px rgba(24, 36, 44, .06) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search:focus-within .search-title-form-wrapper {
  border-color: var(--chtz-header-amber) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(245, 164, 0, .12), 0 10px 24px rgba(24, 36, 44, .08) !important;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-input {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 18px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--chtz-header-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-input::placeholder {
  color: #7a878f;
  opacity: 1;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  background: linear-gradient(135deg, var(--chtz-header-amber), var(--chtz-header-amber-hot)) !important;
  color: var(--chtz-header-ink) !important;
  box-shadow: none !important;
  transition: filter .18s ease, transform .18s ease;
}

.intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-button:hover {
  filter: saturate(1.08) brightness(1.03);
}

.intec-template-layout-header .chtz-premium-header .social_block-container {
  display: flex !important;
  gap: 7px;
  align-items: center;
}

.intec-template-layout-header .chtz-premium-header .social_block-element {
  display: inline-flex !important;
  gap: 7px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 80px;
  height: 42px;
  padding: 0 11px !important;
  border: 1px solid #dfe5e8 !important;
  border-radius: 8px !important;
  background: #f4f7f8 !important;
  color: var(--chtz-header-ink) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.intec-template-layout-header .chtz-premium-header .social_block-element:hover {
  border-color: #cbd4d9 !important;
  background: #fff !important;
  transform: translateY(-1px);
}

.intec-template-layout-header .chtz-premium-header .social_block-element svg {
  display: block;
  width: 20px;
  height: 20px;
}

.intec-template-layout-header .chtz-premium-header .chtz-premium-header__row > .widget-container-contacts-wrap.chtz-premium-header__original-contacts {
  display: none !important;
}

.intec-template-layout-header .chtz-premium-call {
  position: relative;
  justify-self: stretch !important;
  align-self: center !important;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 304px;
  padding: 9px 10px 10px 14px;
  overflow: hidden;
  border: 1px solid #10191f;
  border-left: 4px solid var(--chtz-header-amber);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .04), transparent 42%),
    linear-gradient(135deg, var(--chtz-header-ink), var(--chtz-header-ink-soft));
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 36, 44, .2);
}

.intec-template-layout-header .chtz-premium-call::after {
  position: absolute;
  top: -22px;
  right: -12px;
  width: 74px;
  height: 128px;
  border-left: 1px solid rgba(245, 164, 0, .22);
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(245, 164, 0, .055) 9px 11px);
  content: '';
  pointer-events: none;
  transform: rotate(8deg);
}

.intec-template-layout-header .chtz-premium-call__status,
.intec-template-layout-header .chtz-premium-call__number,
.intec-template-layout-header .chtz-premium-call__actions {
  position: relative;
  z-index: 1;
}

.intec-template-layout-header .chtz-premium-call__status {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #f4f7f8;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.intec-template-layout-header .chtz-premium-call__status small {
  margin-left: auto;
  color: #9faeb7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.intec-template-layout-header .chtz-premium-call__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chtz-header-success);
  box-shadow: 0 0 0 4px rgba(49, 181, 104, .13);
  animation: chtz-premium-status 3.6s ease-out infinite;
}

.intec-template-layout-header .chtz-premium-call__number {
  display: flex;
  gap: 7px;
  align-items: center;
  width: max-content;
  margin: 6px 0 7px;
  color: #fff !important;
  text-decoration: none !important;
}

.intec-template-layout-header .chtz-premium-call__number strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.intec-template-layout-header .chtz-premium-call__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--chtz-header-amber);
  color: var(--chtz-header-ink);
}

.intec-template-layout-header .chtz-premium-call__phone-icon svg {
  width: 15px;
  height: 15px;
}

.intec-template-layout-header .chtz-premium-call__actions {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 6px;
}

.intec-template-layout-header .chtz-premium-call__direct,
.intec-template-layout-header .chtz-premium-call__callback {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .025em;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.intec-template-layout-header .chtz-premium-call__direct {
  position: relative;
  overflow: hidden;
  border: 1px solid #168f49 !important;
  background: linear-gradient(135deg, #16974d, #36c873) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(36, 181, 96, .28);
  animation: chtz-premium-call-pulse 3.2s ease-in-out infinite;
}

.intec-template-layout-header .chtz-premium-call__direct::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  content: '';
  pointer-events: none;
  transform: skewX(-18deg);
  animation: chtz-premium-call-shine 3.8s ease-in-out infinite;
}

.intec-template-layout-header .chtz-premium-call__direct svg,
.intec-template-layout-header .chtz-premium-call__direct span {
  position: relative;
  z-index: 1;
}

.intec-template-layout-header .chtz-premium-call__callback {
  border: 1px solid rgba(255, 255, 255, .3) !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
}

.intec-template-layout-header .chtz-premium-call__direct:hover,
.intec-template-layout-header .chtz-premium-call__callback:hover {
  transform: translateY(-1px);
}

.intec-template-layout-header .chtz-premium-call__callback:hover {
  background: rgba(255, 255, 255, .14) !important;
}

.intec-template-layout-header .chtz-premium-call__direct svg,
.intec-template-layout-header .chtz-premium-call__callback svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.intec-template-layout-header .chtz-premium-call__direct:focus-visible,
.intec-template-layout-header .chtz-premium-call__callback:focus-visible,
.intec-template-layout-header .chtz-premium-call__number:focus-visible,
.intec-template-layout-header .chtz-premium-header .social_block-element:focus-visible {
  outline: 2px solid var(--chtz-header-amber-hot) !important;
  outline-offset: 2px !important;
}

@keyframes chtz-premium-status {
  0%, 72%, 100% { box-shadow: 0 0 0 4px rgba(49, 181, 104, .13); }
  84% { box-shadow: 0 0 0 8px rgba(49, 181, 104, 0); }
}

@keyframes chtz-premium-call-pulse {
  0%, 70%, 100% { box-shadow: 0 7px 18px rgba(36, 181, 96, .25), 0 0 0 0 rgba(54, 200, 115, 0); }
  82% { box-shadow: 0 8px 22px rgba(36, 181, 96, .42), 0 0 0 6px rgba(54, 200, 115, .13); }
}

@keyframes chtz-premium-call-shine {
  0%, 68% { left: -42%; opacity: 0; }
  76% { opacity: 1; }
  92%, 100% { left: 122%; opacity: 0; }
}

@media (max-width: 1240px) {
  .intec-template-layout-header .chtz-premium-header__row {
    grid-template-columns: 132px minmax(250px, 1fr) auto 300px !important;
    gap: 10px !important;
  }

  .intec-template-layout-header .chtz-premium-header .widget-container-logotype-wrap {
    width: 132px !important;
    padding-right: 10px;
  }

  .intec-template-layout-header .chtz-premium-header .widget-container-logotype,
  .intec-template-layout-header .chtz-premium-header .widget-container-logotype img {
    width: 120px !important;
  }

  .intec-template-layout-header .chtz-premium-header .social_block-element {
    min-width: 43px;
    width: 43px;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .intec-template-layout-header .chtz-premium-call {
    min-width: 300px;
  }
}

@media (max-width: 1080px) {
  .intec-template-layout-header .chtz-premium-header__row {
    grid-template-columns: 128px minmax(250px, 1fr) 298px !important;
  }

  .intec-template-layout-header .chtz-premium-header .social_block-container {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intec-template-layout-header .chtz-premium-call__status-dot,
  .intec-template-layout-header .chtz-premium-call__direct,
  .intec-template-layout-header .chtz-premium-call__callback,
  .intec-template-layout-header .chtz-premium-header .social_block-element,
  .intec-template-layout-header .chtz-premium-header form.chtz-premium-header__search .search-title-form-wrapper {
    animation: none !important;
    transition: none !important;
  }
}
