:root {
  --color-text: #1c2b33;
  --color-purple: #7b529a;
  --color-orange: #d98c49;
  --color-blue: #3a9bdc;
  --color-green: #9cc26d;
}


.header--scrolled {
    padding: 0px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.blog-categories li a:hover {
  background-color: #754B9D;
    border: 1px solid #754B9D;
  color: #fff;
}
.blog-categories li.active a {
  background-color: #754B9D;
  color: #fff;
  border: 1px solid #754B9D;
}
.blog-categories li a {
  display: block;
  border-radius: 50px;
  padding: 7px 25px;
  background-color: #fff;
  color: #000;
  font-size: 20px;
  border: 1px solid #B3B2B2;
}
.blog-categories li {
  display: inline-block;
  padding-right: 10px;
  padding-bottom: 10px;
}




.header {
  padding: 5px 0;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  transition: all .4s;
}

.header.header--scrolled .header__logo {
  max-width: 80px;
}

.header.header--scrolled {
  padding: 10px 0;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  max-width: 180px;
  display: block;
  transition: all .4s;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo-img {
  width: 100%;
  height: auto;
}

.header__menu {
  display: none;
}

@media (min-width: 992px) {
  .header__menu {
    display: block;
  }
}

.header__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.header__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.header__link:hover {
  color: var(--color-blue);
}

.header__link:hover::after {
  width: 100%;
}

.header__contact {
  display: none;
}

@media (min-width: 1200px) {
  .header__contact {
    display: flex;
    align-items: center;
  }
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.header__phone:hover {
  color: var(--color-blue);
  transform: translateX(5px);
}

.header__phone-icon {
  display: flex;
  color: var(--color-text);
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-menu__item {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu__link {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.mobile-menu__footer {
  margin-top: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}