@font-face {
  font-family: "Magistral";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Magistral-Bold.woff") format("woff"),
    url("../fonts/Magistral-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Magistral";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Magistral-Medium.woff") format("woff"),
    url("../fonts/Magistral-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Magistral";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Magistral-Book.woff") format("woff"),
    url("../fonts/Magistral-Book.woff2") format("woff2");
}
@font-face {
  font-family: "Magistral";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Magistral-Light.woff") format("woff"),
    url("../fonts/Magistral-Light.woff2") format("woff2");
}

body {
  background-color: #101010;
  font-family: "Magistral", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #dfe5eb !important;
}
a:hover,
a:focus {
  color: #30a8f9 !important;
  /* opacity: 0.8; */
}

.lw-container {
  width: 100%;
  max-width: 1584px;
  margin: 0 auto;
  padding: 16px 128px;
}

@media (max-width: 1024px) {
  .lw-container {
    padding: 16px 20px;
  }
}

/*----------------------------------burger---------------------------------*/
.burger {
  display: none;
  border: none;
  width: 20px;
  z-index: 101;
}

@media (max-width: 1024px) {
  .burger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
  }
}

.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 23px;
  background-color: #dfe5eb;
}

.burger-line--middle {
  display: block;
  margin: 6px 0;
}

.burger.active .burger-line--middle {
  display: none;
}

.burger.active .burger-line--top {
  width: 100%;
  height: 2px;
  transform: rotate(45deg);
  transform-origin: center;
  border-radius: 0;
  background-color: #dfe5eb;
}

.burger.active .burger-line--bottom {
  width: 100%;
  height: 2px;
  transform: rotate(-45deg);
  transform-origin: center;
  margin-top: -2px; /*temp !!!*/
  border-radius: 0;
  background-color: #dfe5eb;
}

.burger:hover .burger-line {
  background-color: #30a8f9;
  transition: background-color 0.3s ease;
}

.burger:active .burger-line {
  background-color: #30a8f9;
  transition: background-color 0.3s ease;
}

/*----------------------------------burger-end---------------------------------*/
.header.active {
  background-color: #101010;
}

.menu-item a {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.menu-item.current_page_item a {
  color: #30a8f9 !important;
}

.header__nav {
  width: 100%;
  display: flex;
}

.header__nav.mobile-active {
  display: none;
}

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__nav.mobile-active {
    display: flex;
  }
}

.header__nav.mobile-active {
  position: absolute;
  top: 98%;
  left: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;

  flex-direction: column;

  padding: 16px 128px;

  overflow: hidden;
  overflow-y: auto;

  background-color: #101010;

  margin: 0;

  z-index: 100;
  box-shadow: 2px 2px 24px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 16px 16px;
}

@media (max-width: 1024px) {
  .header__nav.mobile-active {
    padding: 16px 20px;
  }
}

.header__nav.mobile-active .header__nav-list {
  margin-left: 0;
}
.header__nav.mobile-active .header__nav-list ul {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.header__nav.mobile-active .header__nav-list ul > li.current_page_item {
  background: #101010;
  border: 1px solid #3c3d3e;
  border-radius: 22px;
}
.header__nav.mobile-active .header__nav-list ul > li.current_page_item::after {
  content: none;
}
.header__nav.mobile-active .header__nav-list ul > li > a {
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.header__nav.mobile-active .header__nav-list ul > li {
  width: 100%;
  position: relative;
  padding: 12px 20px;
}

.header__nav.mobile-active .header__nav-list ul > li::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  width: 10px;
  height: 12px;
  background-image: url("../img/menu_item_arrow.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transition: 200ms ease;
}
.header__nav.mobile-active .header__nav-list ul > li:hover::after,
.header__nav.mobile-active .header__nav-list ul > li:focus::after {
  background-image: url("../img/menu_item_arrow_active.svg");
}
.header__nav.mobile-active .header__nav-list ul > li:hover > a,
.header__nav.mobile-active .header__nav-list ul > li:focus > a {
  color: #30a8f9 !important;
}

.tab-content {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1200px) {
  .tab-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tab-content.active {
  display: grid;
}

.tab-button {
  position: relative;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  border: none;
  padding-bottom: 8px;
  border-bottom: 2px solid #dfe5eb;
  сursor: pointer;
  border-radius: 0;
  text-align: start;
  display: flex;
  align-items: flex-end;
}

.tab-button:hover,
.tab-button:focus {
  color: #30a8f9;
  border-color: #30a8f9;
}

.tab-button.active {
  color: #30a8f9;
  border-color: #30a8f9;
}

.tab-button.tab-button-project.active {
  position: relative;
}

.tab-button.active::before,
.tab-button-project.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 330px;
  height: 165px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #131f27 30%,
    rgba(19, 31, 39, 0) 100%
  );
  z-index: -1;
  border-radius: 10px;
  opacity: 0.3;
}

.link_hover {
  color: #dfe5eb;
  width: fit-content;
}
.link_hover:hover {
  border-color: #30a8f9;
  color: #30a8f9;
}
/* .link_hover:hover svg path {
  stroke: #30a8f9 !important;
  fill: #30a8f9 !important;
} */

.link_hover:hover span {
  color: #30a8f9;
}

.home_link_btn {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home_link_btn svg {
  width: 46px;
  height: 25px;
}

/* 

.tab-button.tab-button-project.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
  transition: background 0.3s ease;
}

.tab-button.tab-button-project.active.active::before {
  background: radial-gradient(
    50% 50% at 50% 50%,
    #131f27 30%,
    rgba(19, 31, 39, 0) 100%
  );
} */

.tab-button-plans {
  text-align: start;
  font-size: 16px;
  line-height: 19px;
  border-radius: 0;
  padding-bottom: 16px;
  border-color: #3c3d3e;
}

.tab-button-plans:hover {
  color: #30a8f9;
  border-color: #3c3d3e;
}
.tab-button-development--alt {
  border-color: #3c3d3e !important;
}
.tab-button-development--alt:hover {
  color: #30a8f9;
  border-color: #3c3d3e;
}

.tab-button-plans.active {
  border-color: #3c3d3e;
}

.tab-buttons-projects {
  gap: clamp(20px, 2vw, 80px);
}

.tab-content-plans {
  grid-template-columns: 1fr;
  padding: 64px;
  gap: 2px;
  border-left: 2px solid #3c3d3e;
}

.tab-content-plans h2 {
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 32px;
}
.tab-content-plans h3 {
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 12px;
}

.tab-content-plans p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 32px;
}

.tab-content-plans p:has(span) {
  margin: 0;
}
.tab-content-plans p span {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.tab-content-plans ul,
ol {
  list-style: disc;
  padding-left: 50px;
  margin-bottom: 32px;
}
.tab-content-plans ul,
ol li {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.tab-button-development {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  border: none;
  padding-bottom: 8px;
  border-bottom: 2px solid #dfe5eb;
  сursor: pointer;
  text-align: start;
}
.tab-button-development.active {
  color: #30a8f9;
}

.tab-content-development {
  grid-template-columns: 1fr;
  padding: 64px;
  gap: 2px;
  border-left: 2px solid #3c3d3e;
}

.tab-content-development h2 {
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 32px;
}
.tab-content-development h3 {
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 12px;
}

.tab-content-development p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  margin-bottom: 32px;
}

.tab-content-development p:has(span) {
  margin: 0;
}
.tab-content-development p span {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.tab-content-development ul,
ol {
  list-style: disc;
  padding-left: 50px;
  margin-bottom: 32px;
}
.tab-content-development ul,
ol li {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.tab-parther-content.active {
  display: flex;
}

.tab-button-partners:hover {
  color: #30a8f9;
}

.tab-button-partners.active {
  display: none;
}
.tab-buttons-partners.active {
  display: none;
}
.tab-content-partners {
  display: none;
}
.tab-content-partners.active {
  display: flex;
}
.icon-edit-btn {
  display: none;
}
.icon-edit-btn.active {
  display: flex;
}
.icon-back-btn {
  display: none;
}
.icon-back-btn.active {
  display: flex;
}
.icon-edit-btn-support {
  display: none;
}
.icon-edit-btn-support.active {
  display: flex;
}
.icon-back-btn-support {
  display: none;
}
.icon-back-btn-support.active {
  display: flex;
}

.project__item {
  display: flex !important;
  align-items: center;
}

.about__slider {
  height: 572px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.nav-about .slick-dots {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 53px;
  width: auto;
  order: 2;
  padding: 0;
  margin: 0;
  font-size: 0;
  margin-top: 2px;
}

.nav-about .slick-dots li {
  vertical-align: middle;
}

.nav-about .slick-dots li.slick-active {
  height: 10px;
  background: #dfe5eb;
  border-radius: 5px;
}
.nav-about .slick-dots li.slick-active button {
  border: none;
}

.nav-about .slick-dots li {
  width: 100%;
  padding: 0;
  height: 4px;
  background: #656769;
  border-radius: 2px;
  cursor: pointer;
}
.nav-about .slick-dots li button {
  border-color: #656769;
}

.nav-about .slick-dots li button::before {
  display: none;
}
.about__slider .next-btn,
.project__slider .next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 100px;
  z-index: 1;
  cursor: pointer;
  opacity: 1;
}
.about__slider .prev-btn,
.project__slider .prev-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 100px;
  z-index: 1;
  cursor: pointer;
  opacity: 1;
}

.about__slider .prev-btn svg,
.about__slider .next-btn svg,
.project__slider .prev-btn svg,
.project__slider .next-btn svg {
  width: 25px;
  height: 46px;
  transition: transform 0.3s ease;
}
.about__slider .prev-btn:hover svg,
.about__slider .next-btn:hover svg,
.project__slider .prev-btn:hover svg,
.project__slider .next-btn:hover svg {
  transform: scale(1.25);
}

.about__slider .prev-btn:hover svg path,
.about__slider .next-btn:hover svg path,
.project__slider .prev-btn:hover svg path,
.project__slider .next-btn:hover svg path {
  fill: #30a8f9;
}

.about__slider .next-btn.slick-disabled,
.about__slider .prev-btn.slick-disabled {
  opacity: 0.5;
}
.project__slider {
  height: 206px;
  border-radius: 20px;
  position: relative;
}

.nav-project {
  display: flex;
  justify-content: center;
  align-items: end;
}

.nav-project .slick-dots {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  width: auto;
  padding: 0;
  margin: 0;
  font-size: 0;
  /* margin-top: 410px; */
}

.nav-project .slick-dots li {
  vertical-align: middle;
}

.nav-project .slick-dots li.slick-active {
  background: #30a8f9;
  border-color: #30a8f9;
}
.nav-project .slick-dots li.slick-active button {
  border: none;
}

.nav-project .slick-dots li {
  width: 12px;
  padding: 0;
  height: 12px;
  background: rgba(223, 229, 235, 0.2);
  border-radius: 50%;
  border: 1px solid #dfe5eb;
  cursor: pointer;
}
.nav-project .slick-dots li button {
  border-color: #656769;
}

.nav-project .slick-dots li button::before {
  display: none;
}
.project__slider .next-btn {
  left: -60px;
  top: 50%;
  transform: translateY(-40%);
}

@media (max-width: 1024px) {
  .project__slider .next-btn {
    left: 0;
  }
}
.project__slider .prev-btn {
  right: -60px;
  top: 50%;
  transform: translateY(-40%);
}

@media (max-width: 1024px) {
  .project__slider .prev-btn {
    right: 0;
  }
}
.project__slider .next-btn.slick-disabled,
.project__slider .prev-btn.slick-disabled {
  opacity: 0.5;
}

.accordeon {
  display: flex;
  flex-direction: column;
}
.accordeon.active {
  display: none;
}
.accordeon-desctop.active {
  display: none;
}
.category {
  display: none;
}
.category.active {
  display: flex;
}

.lw-next-btn:hover,
.lw-next-btn:focus {
  border-color: #30a8f9 !important;
  color: #101010 !important;
  background-color: #30a8f9 !important;
}
.accordeon__item {
  border-bottom: 1px solid #3c3d3e;
}

@media (max-width: 768px) {
  .accordeon__item {
    border-color: #dfe5eb;
  }
}

.accordeon__item-header,
.accordeon__item-header-product-mobile {
  position: relative;
  cursor: pointer;
  padding: 32px 0;
  display: flex;
  align-items: center;
  z-index: 2;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
}

@media (max-width: 768px) {
  .accordeon__item-header,
  .accordeon__item-header-product-mobile {
    font-weight: 500;
    font-size: 19px;
    line-height: 19px;
    letter-spacing: 0.1em;
    color: #dfe5eb;
  }
}

.accordeon__item.expanded .accordeon__item-header {
  color: #dfe5eb;
}
.accordeon__item.expanded.active .accordeon__item-header {
  display: none;
}
.accordeon__item.expanded.active .accordeon__item-content-wrapper {
  display: none;
}

.accordeon__item-content-card--alt {
  display: none;
  width: 100%;
}

.accordeon__item.expanded.active .accordeon__item-content-card--alt {
  display: flex;
}

@media (max-width: 768px) {
  .accordeon__item.expanded.active .accordeon__item-content-card--alt {
    padding-top: 16px;
  }
}
.accordeon__item.expanded.active .accordeon__item-content-card {
  display: none;
}

.accordeon__item-content-card-desctop,
.accordeon__item-content-wrapper {
  width: 100%;
}

@media (max-width: 768px) {
  .accordeon__item-content-card-desctop,
  .accordeon__item-content-wrapper {
    min-width: 100%;
  }
}
.accordeon__item.expanded.active .accordeon__item-content-card-desctop {
  display: none;
}

.accordeon__item-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  flex-wrap: wrap;
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: opacity 0;
}

.accordeon__item-content-mobile {
  grid-template-columns: 1fr;
}

@media (max-width: 1400px) {
  .accordeon__item-content-desctop {
    grid-template-columns: repeat(2, 1fr);
  }
}

.accordeon__item.expanded .accordeon__item-content,
.accordeon__item.expanded.active .accordeon__item-content {
  visibility: visible;
  height: auto;
  opacity: 1;
  margin-top: 0;
  padding-bottom: 32px;
}

@media (max-width: 768px) {
  .accordeon__item.expanded .accordeon__item-content,
  .accordeon__item.expanded.active .accordeon__item-content {
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 768px) {
  .accordeon__item-content {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .accordeon__item.expanded .accordeon__item-content {
    padding-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Плавное масштабирование + свечение при наведении */
.social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(0px);
  opacity: 1;
}

/* Альтернатива: цветное свечение под каждую платформу (по желанию) */
/* .social-link[href*="youtube"]:hover img {
  filter: drop-shadow(0 0 12px #ff0000);
}
.social-link[href*="instagram"]:hover img {
  filter: drop-shadow(0 0 12px #e4405f);
}
.social-link[href*="telegram"]:hover img {
  filter: drop-shadow(0 0 12px #229ed9);
}
.social-link[href*="X"]:hover img,
.social-link[href*="twitter"]:hover img {
  filter: drop-shadow(0 0 12px #000000);
}
.social-link[href*="discord"]:hover img {
  filter: drop-shadow(0 0 12px #5865f2);
}
.social-link[href*="facebook"]:hover img {
  filter: drop-shadow(0 0 12px #1877f2);
} */

/*modal*/

.modal-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100vw;
  height: 100%;
  min-height: 95vh;
  background-color: #101010;
  /* background-color: rgba(0, 0, 0, 0.5); */
  z-index: 9999;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .modal-overlay {
    z-index: 10;
  }
}

.modal-overlay.active {
  display: flex;
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  height: 100%;
  max-height: 95vh;
  min-height: 80vh;
  max-width: 1440px;
  padding: 64px;
  overflow: hidden;
  overflow-y: auto;
  background: #131313;
  border: 2px solid #3c3d3e;
  border-radius: 32px;
}

@media (max-width: 1024px) {
  .modal {
    gap: 0;
  }
}
@media (max-width: 768px) {
  .modal {
    padding: 0;
    border: none;
    background: #101010;
    border-radius: 0;
  }
}

.modal-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 130px;
}

@media (max-width: 1024px) {
  .modal-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.modal-form__input {
  width: 100%;
  background: #101010 !important;
  border: 2px solid #3c3d3e !important;
  border-radius: 18px !important;
  height: 100%;
  min-height: 57px !important;
  max-height: 57px !important;
  padding: 20px 32px !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  letter-spacing: 0.1em !important;
  color: #dfe5eb !important;
  outline: none !important;
}

@media (max-width: 1024px) {
  .modal-form__input {
    min-height: 45px !important;
    padding: 13px 32px !important;
  }
}

.modal-for__input::placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
}

.modal-form .main-btn {
  width: 100%;
  background: rgba(60, 61, 62, 0.1);
  border: 2px solid #3c3d3e;
  border-radius: 15px;
}

input[type="tel"]:focus,
input[type="tel"]:active {
  border: none;
  outline: none;
}

/* === Custom Dropdown === */
.custom-dropdown {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 57px;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(16, 16, 16, 0.6);
  border: 2px solid #3c3d3e;
  border-radius: 18px;
  height: 100%;
  padding: 20px 32px;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  min-height: 57px !important;
  max-height: 57px !important;
}

.dropdown-arrow {
  color: #dfe5eb;
  transition: transform 0.2s ease;
  width: 23px;
  height: 23px;
}

@media (max-width: 768px) {
  .dropdown-arrow {
    width: 15px;
    height: 15px;
  }
}

.dropdown-selected.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-selected.open .dropdown-arrow path {
  stroke: #30a8f9;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  right: 0;
  background: #131313;
  border: 2px solid #3c3d3e;
  border-radius: 18px;
  border-top: 0;
  padding: 16px 32px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 50;
  max-height: 0;
}

.dropdown-list.open {
  opacity: 1;
  visibility: visible;
  max-height: 200px;
  border-top: 1px solid #3c3d3e;
}

.dropdown-item {
  padding: 16px 0;
  color: #dfe5eb;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #3c3d3e;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
}

.dropdown-item:hover {
  color: #30a8f9;
}

.dropdown-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.dropdown-item:first-child {
  padding-top: 0;
}

.dropdown-value {
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
}

.dropdown-value:hover {
  color: #30a8f9;
}
.dropdown-selected:hover .dropdown-value {
  color: #30a8f9;
}

.dropdown-selected:hover .dropdown-arrow path {
  stroke: #30a8f9;
}
/* Плейсхолдер, когда значение пустое */
.dropdown-value:empty::before {
  content: attr(data-placeholder);
  color: rgba(223, 229, 235, 0.6); /* #DFE5EB / 60% */
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  user-select: none;
  cursor: pointer;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  cursor: pointer;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
}

/* Галочка */
.checkbox-box::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid #101010;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
  position: absolute;
}

/* При отмеченном */
.checkbox-input:checked + .checkbox-label .checkbox-box {
  background: #dfe5eb;
  border-color: #dfe5eb;
}

.checkbox-input:checked + .checkbox-label .checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

/* Фокус (для клавиатуры) */
.checkbox-input:focus-visible + .checkbox-label .checkbox-box {
  outline: 2px solid #dfe5eb;
  outline-offset: 2px;
}

/* Ховер */
.checkbox-label:hover .checkbox-box {
  border-color: #dfe5eb;
}

.modal-form__textarea {
  width: 100%;
  height: 100%;
  max-height: 203px;
  min-height: 128px;
  background: #101010;
  border: 2px solid #3c3d3e;
  border-radius: 32px;
  resize: none;
  padding: 20px 32px;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  letter-spacing: 0.1em !important;
  color: #dfe5eb !important;
  outline: none !important;
}

@media (max-width: 768px) {
  .modal-form__textarea {
    border-radius: 18px;
  }
}

.modal-form__textarea::placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
}

.file-upload-container {
  width: 100%;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.file-upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  min-height: 130px;
  max-height: 130px;
  padding: 24px 32px;
  background: #101010;
  border: 2px dashed #3c3d3e;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
  overflow: hidden;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .file-upload-area {
    padding: 16px;
    min-height: 60px;
    max-height: 60px;
    border-radius: 18px;
  }
}
.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: #30a8f9;
}

.file-upload-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
  transition: color 0.3s ease;
}

.file-upload-area:hover .file-upload-area.dragover {
  color: #30a8f9;
}

.file-upload-area:hover .file-icon {
  color: #30a8f9;
}

.file-icon {
  flex-shrink: 0;
  stroke: currentColor;
  transition: stroke 0.3s ease;
  width: 22px;
  height: 35px;
}

@media (max-width: 768px) {
  .file-icon {
    width: 14px;
    height: 26px;
  }
}

.upload-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #dfe5eb;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .upload-link {
    font-weight: 300;
  }
}

.file-upload-area:hover .upload-link {
  color: #30a8f9;
}

/* Состояние с файлом */
.file-preview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  height: fit-content;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
  transition: color 0.3s ease;
  height: inherit;
  overflow: hidden;
  overflow-y: auto;
  padding-right: 32px;
}

.file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #dfe5eb;
  max-width: 120px;
}

.remove-file {
  background: none;
  border: none;
  color: #dfe5eb;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.file-upload-area:has(.remove-file:hover) {
  border-color: #3c3d3e !important;
  color: #3c3d3e !important;
}

.file-upload-area:has(.remove-file:hover) .file-icon {
  color: #3c3d3e !important;
}

.close-icon {
  color: #dfe5eb;
  transition: color 0.2s ease;
}

/* .file-upload-area:has(.remove-file:hover) .close-icon {
  color: #30a8f9 !important;
} */

/* ТОЛЬКО наведённый крестик — синий! */
/* базовый вид всех крестиков */
.remove-file .close-icon rect {
  fill: currentColor; /* уже у тебя так в SVG, но на всякий случай */
  transition: fill 0.18s ease;
}

/* при наведении только над конкретной кнопкой перекрашиваем её rect */
.remove-file:hover .close-icon rect {
  fill: #30a8f9 !important;
}

/* дополнительная страховка: если в других местах задают color на уровне label,
   убедимся, что обычный цвет крестиков остаётся нейтральным */
.file-upload-area .remove-file .close-icon {
  color: inherit; /* чтобы currentColor брался от ближайшего родителя, но мы всё равно используем fill */
}

/* Все остальные крестики (не наведённые) — остаются серыми */
.remove-file .close-icon {
  color: #dfe5eb;
  transition: color 0.2s ease;
}

.hidden {
  display: none !important;
}
/*modal end*/

.link {
  color: #dfe5eb !important;
  width: fit-content;
}
.link:hover,
.link:focus {
  color: #30a8f9 !important;
}

a:focus {
  outline: 0 !important;
}
.modal-opener-btn:hover {
  color: #30a8f9;
}
.modal-opener-btn--alt:hover {
  color: #101010;
  background-color: #30a8f9;
}
.back-btn:hover,
.edit-btn:hover {
  color: #30a8f9;
}

.year-checkbox {
  position: relative;
  display: flex;
  align-items: center;
}

.year-checkbox input[type="checkbox"]:checked + .year-label {
  @apply text-[#30A8F9];
}

.year-checkbox input[type="checkbox"]:checked ~ svg {
  stroke: #30a8f9;
}

/* Опционально: кастомный чекбокс */
/* .year-checkbox::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #3c3d3e;
  border-radius: 4px;
  margin-right: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

.year-checkbox input[type="checkbox"]:checked::before {
  background: #30a8f9;
  border-color: #30a8f9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 5L4 8L9 2' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
} */

.css-x {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px; /* мобильный */
  height: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

@media (max-width: 767px) {
  .css-x {
    top: 104px;
    right: 16px;
  }
}

/* Две полоски */
.css-x::before,
.css-x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 38px;
  background: #ffffff; /* ЦВЕТ ЗДЕСЬ */
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.css-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Ховер-эффект */
.css-x:hover::before,
.css-x:hover::after {
  background: #30a8f9 !important;
}

.css-x:focus::before,
.css-x:focus::after {
  background: #30a8f9 !important;
}

/* Десктоп */
@media (min-width: 768px) {
  .css-x {
    width: 30px;
    height: 48px;
  }
  .css-x::before,
  .css-x::after {
    height: 38px;
  }
}

@media (max-width: 768px) {
  .css-x::before,
  .css-x::after {
    height: 28px;
  }
}

.header {
  transition: background-color 0.4s ease;
}

/* Полностью чёрный фон после 200px */
.header.scrolled {
  background-color: #101010 !important; /* убираем /70 */
  z-index: 9999;
}

.team-bg {
  background-image: url("../img/bg-fon.png");
  background-size: cover;
  background-color: rgb(16 16 16 / var(--tw-bg-opacity, 1));
  background-blend-mode: exclusion;
}
.mobile-overlay {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    88deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 100%,
    transparent 70%
  );
}

.home-description {
  object-position: 75%;
}

.select-btn.selected {
  border-color: rgb(48 168 249 / var(--tw-border-opacity, 1));
}

.select-btn.selected a span {
  color: #30a8f9 !important;
}

.select-btn.selected a svg path {
  stroke: #30a8f9 !important;
}

/* === АВТОЗАПОЛНЕНИЕ — УБИРАЕМ БЕЛЫЙ ФОН === */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #dfe5eb !important;
  transition: background-color 5000s ease-in-out 0s !important;
  background-color: transparent !important;
  box-shadow: inset 0 0 0 1000px transparent !important;
}

input:-moz-autofill {
  background-color: transparent !important;
  color: #dfe5eb !important;
}

/* Убедись, что у input прозрачный фон */
/* .modal-form__input {
  background-color: transparent !important;
} */

.modal-form__input::placeholder {
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.1em;
  color: #3c3d3e;
}

.link_popular:last-child {
  border-bottom: 1px solid #3c3d3e;
}

.slick-gallery-mobile .slick-slide {
  border-radius: 22px;
  overflow: hidden;
}

.carousel__button.is-next,
.carousel__button.is-prev {
  width: 120px !important;
  height: 120px !important;
}

.carousel__button.is-next svg,
.carousel__button.is-prev svg {
  width: 56px !important;
  height: 56px !important;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .carousel__button.is-next,
  .carousel__button.is-prev {
    width: 80px !important;
    height: 80px !important;
  }

  .carousel__button.is-next svg,
  .carousel__button.is-prev svg {
    width: 40px !important;
    height: 40px !important;
  }
}

.carousel__button.is-next:hover svg,
.carousel__button.is-prev:hover svg {
  transform: scale(1.25);
  color: #30a8f9;
}

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
  border-color: #30a8f9 !important;
}

.fancybox__toolbar__items.fancybox__toolbar__items--right {
  margin-top: 100px;
}
