@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
  scroll-behavior: smooth;
}
:root {
  --header-height: 110px;
}


body {
  font-family: "Montserrat", sans-serif;
  background-color: #141410;
  padding-top: var(--header-height);
}

/* ------------------ Scrollbar */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--theme-bg);
  border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #c9f31d;
  border-radius: 10px;
}

/* ----------------- Common css */


.pt_120 {
  padding-top: 120px;
}
.pb_120 {
  padding-bottom: 120px;
}
@media (max-width: 1280px) {
  .pt_120 {
    padding-top: 100px;
  }
  .pb_120 {
    padding-bottom: 100px;
  }
}
@media (max-width: 1024px) {
  .pt_120 {
    padding-top: 80px;
  }
  .pb_120 {
    padding-bottom: 80px;
  }
}

/* ----------------- Clip pth  */
.clip_bg {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
/* -------------- Animation text */
.designers {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  color: transparent;
  transition: all 0.5s;
  position: relative;
}
.designers::before {
  content: attr(data-text);
  position: absolute;
  color: #c9f31d;
  width: 0px;
  overflow: hidden;
  animation: pulse-width 3s ease-in infinite;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #c9f31d;
}
@keyframes pulse-width {
  50% {
    width: 100%;
  }
}

/* -------------------- slider dote */
.swiper-pagination3 {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  margin: 20px -20px;
}
.swiper-pagination3 .swiper-pagination-bullet {
  background: #ffffff;
  width: 8px;
  height: 8px;
  opacity: 1;
  position: relative;
}
.swiper-pagination3 .swiper-pagination-bullet-active {
  background: #c9f31d;
  padding: 2px;
  width: 8px;
  height: 8px;
  position: relative;
  opacity: 1;
}

.swiper-pagination-bullet-active::before {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid #c9f31d !important;
  border-radius: 50%;
}

.swiper-pagination3 .swiper-pagination-bullet::before {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid #ffffff;
  border-radius: 50%;
}


/* ------------ Logo slider */
.slide-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 30s linear infinite;
  height: 100%;
  gap: 0;
  flex-shrink: 0;
}
.slide-track2 {
  animation: scroll2 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll2 {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.project__item .video-wrapper {
  position: relative;
  width: 100%;
  /* общий вид карточки, например под 16:9 */
  padding-bottom: 56.25%; /* 16 / 9 * 100 */
  overflow: hidden;
}

.project__item .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content img{
  max-width: 100%;
  height: auto;
  width: auto;
}

.project__item .left__cont {
  min-height: 120px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project__item .left__cont_ 
 {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project__item .tags {
  margin-top: auto; /* для десктопа */
}

@media (max-width: 1023px) {
  .project__item .tags {
    margin: 1rem 0 2rem 0; 
}
}

.content p {
    padding-bottom: 1.7rem;
}

.content ul {
  list-style-type: disc;          
  list-style-position: outside;   
  margin:0px 0 18px 0;
  padding-left: 22px;             
}

.content ul li {
  margin-bottom: 10px;           
  line-height: 1.6;
}

.content ul li::marker {
  color: #c8f31d;               
}

.content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    display: block;
    line-height: 1.2;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    display: block;
    line-height: 1.2;
}

@media (min-width: 1280px) {
    .content h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .content h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

a:hover {
    color: #d5d5d5;
}

.text-gray-900 a:hover {
    color: #676767;
}


a.main-button:hover {
    color: #181818;
}

.slide {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 32px;     /* размер текста */
  font-weight: 700;    /* жирный */
  color: #000;         /* звезда тоже черная за счёт currentColor */
}

.slide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 32px;
}

.slide-icon svg {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.slide-text {
  display: inline-block;
}

@media (max-width: 640px) {
  .marquee-wrapper.text-slider {
    height: 56px !important;
  }

  .slide {
    font-size: 22px;
  }

  .slide-icon {
    padding: 0 20px;
  }

  .slide-icon svg {
    width: 22px;
    height: 22px;
  }
}

.main__logo {
    font-family: "Dela Gothic One";
    letter-spacing: 2px
}

.text-clr_ratting {
    color: #ffa311 !important;
}

@media (max-width: 640px) {
  .main-button {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    white-space: normal;
    text-align: center;
  }

  .main-button .whitespace-nowrap {
    white-space: normal !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  /* именно этот блок заставляет "от 7 000 руб." быть цельным и переноситься целиком */
  .main-button .price-text {
    display: inline-block;
    white-space: nowrap; /* ключевой момент — запрет переноса внутри цены */
  }
}

/***************/

 .mfp-iframe-holder .mfp-content.vertical {
    line-height: 0;
    width: 100%;
    max-width: 900px;
    height: 90vh;
     
}

.old_price {
    margin-left: 12px;
    text-decoration: line-through;
    font-weight: normal;
    opacity: 0.7;
}

/* Дополнительно - бейдж со скидкой */
.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

#msProduct .old_price, #msCart .old_price, .ms2_product .old_price {
    font-style: normal !important;
    color: white !important;
    text-decoration: line-through;
}

.bg-banner_image {
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

/* ------------ Resources audit page */
.resources-audit {
  color: #fff;
  padding: 40px 16px 80px;
  max-width: 100%;
}

.resources-audit--denied {
  padding: 40px 16px;
  color: #ff6b6b;
}

.resources-audit__head {
  max-width: 1400px;
  margin: 0 auto 24px;
}

.resources-audit__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.resources-audit__summary {
  color: #cfcfcf;
}

.resources-audit__table {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid #2a2a24;
  border-radius: 12px;
  background: #1a1a16;
}

.resources-audit__row {
  display: grid;
  grid-template-columns:
    70px minmax(220px, 1.2fr)
    minmax(140px, 1fr) minmax(140px, 1fr)
    minmax(180px, 1.2fr) minmax(220px, 1.4fr)
    minmax(140px, 1fr) minmax(160px, 1fr)
    minmax(160px, 1fr) minmax(220px, 1.2fr);
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a24;
  align-items: start;
}

.resources-audit__row:last-child {
  border-bottom: none;
}

.resources-audit__row--head {
  position: sticky;
  top: var(--header-height);
  z-index: 2;
  background: #22221c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c9f31d;
}

.resources-audit__row.is-unpublished {
  background: rgba(255, 107, 107, 0.05);
}

.resources-audit__cell {
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.resources-audit__cell a {
  color: #c9f31d;
}

.resources-audit__cell a:hover {
  color: #eaff7a;
}

.resources-audit__cell--page a {
  font-weight: 600;
}

.resources-audit__url {
  margin-top: 4px;
  font-size: 12px;
  color: #9a9a9a;
}

.resources-audit__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}

.resources-audit__badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2d2d26;
  color: #ddd;
}

.resources-audit__row.is-unpublished .resources-audit__badge {
  background: rgba(255, 107, 107, 0.15);
  color: #ff8f8f;
}

.resources-audit__empty {
  color: #ff6b6b;
  font-weight: 600;
}

.resources-audit__details {
  border: 1px solid #33332b;
  border-radius: 8px;
  overflow: hidden;
  background: #141410;
}

.resources-audit__summary-toggle {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 600;
  color: #c9f31d;
  list-style: none;
}

.resources-audit__summary-toggle::-webkit-details-marker {
  display: none;
}

.resources-audit__summary-toggle::before {
  content: "▸ ";
}

.resources-audit__details[open] .resources-audit__summary-toggle::before {
  content: "▾ ";
}

.resources-audit__content-body {
  padding: 12px;
  border-top: 1px solid #33332b;
  max-height: 420px;
  overflow: auto;
  color: #ddd;
}

.resources-audit__content-body img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .resources-audit__table {
    min-width: 1200px;
  }
}

@media (max-width: 768px) {
  .resources-audit {
    padding-top: 24px;
  }

  .resources-audit__table {
    min-width: 0;
    overflow: visible;
    border: none;
    background: transparent;
  }

  .resources-audit__row {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #2a2a24;
    border-radius: 12px;
    background: #1a1a16;
  }

  .resources-audit__row--head {
    display: none;
  }

  .resources-audit__cell {
    padding: 8px 0;
    border-bottom: 1px solid #2a2a24;
  }

  .resources-audit__cell:last-child {
    border-bottom: none;
  }

  .resources-audit__cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c9f31d;
  }
}

.si-error {
  border-color: #f87171 !important;
}

.contact-form__submit--loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
}

.contact-form--loading {
  pointer-events: none;
}

.contact-form--loading .contact-form__submit--loading {
  pointer-events: none;
}

/* SendIt / iziToast — notifications in site style */
.iziToast-wrapper-topCenter {
  padding-top: calc(var(--header-height, 110px) + 16px);
}

.iziToast.si-toast {
  font-family: "Montserrat", sans-serif !important;
  background: #1d1d1d !important;
  border: 1px solid rgb(38, 37, 37) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  max-width: min(520px, calc(100vw - 32px)) !important;
  padding: 18px 44px 18px 18px !important;
  min-height: auto !important;
}

.iziToast.si-toast.iziToast-color-green,
.iziToast.si-toast.iziToast-color-red,
.iziToast.si-toast.iziToast-color-blue,
.iziToast.si-toast.iziToast-color-yellow,
.iziToast.si-toast.iziToast-color-orange {
  background: #1d1d1d !important;
  border-color: rgb(38, 37, 37) !important;
}

.iziToast.si-toast--success {
  border-left: 4px solid #c9f31d !important;
}

.iziToast.si-toast--error {
  border-left: 4px solid #f87171 !important;
}

.iziToast.si-toast--info,
.iziToast.si-toast--warning {
  border-left: 4px solid #999999 !important;
}

.iziToast.si-toast .iziToast-body {
  margin-left: 40px !important;
  padding-left: 0 !important;
  min-height: auto !important;
}

.iziToast.si-toast .iziToast-texts {
  margin: 0 !important;
  float: none !important;
  width: 100%;
}

.iziToast.si-toast .iziToast-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  float: none !important;
  width: 100%;
}

.iziToast.si-toast .iziToast-icon {
  left: 18px !important;
  width: 28px !important;
  height: 28px !important;
  margin-top: -14px !important;
  border-radius: 50%;
  background-color: rgba(201, 243, 29, 0.12) !important;
  background-size: 16px !important;
  background-position: center !important;
}

.iziToast.si-toast--error .iziToast-icon {
  background-color: rgba(248, 113, 113, 0.12) !important;
}

.iziToast.si-toast .iziToast-progressbar {
  background: rgba(255, 255, 255, 0.08) !important;
}

.iziToast.si-toast .iziToast-progressbar > div {
  background: #c9f31d !important;
  height: 3px !important;
}

.iziToast.si-toast--error .iziToast-progressbar > div {
  background: #f87171 !important;
}

.iziToast.si-toast > .iziToast-close {
  opacity: 0.5;
}

.iziToast.si-toast > .iziToast-close:hover {
  opacity: 0.9;
}

@media (min-width: 568px) {
  .iziToast.si-toast {
    border-radius: 10px !important;
  }

  .iziToast.si-toast:after {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  }
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99980;
  padding: 12px 16px 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(100% + 16px));
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cookie-consent--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent--hidden {
  opacity: 0;
  transform: translateY(calc(100% + 16px));
  pointer-events: none;
}

.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 20px 24px;
  background: #1d1d1d;
  border: 1px solid rgb(38, 37, 37);
  border-left: 4px solid #c9f31d;
  border-radius: 10px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent__content {
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.cookie-consent__text {
  margin: 0;
  color: #999999;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__text a {
  color: #c9f31d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  color: #d5ff40;
}

.cookie-consent__accept {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  padding: 14px 24px;
  border: none;
  border-radius: 5px;
  background: #c9f31d;
  color: #181818;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cookie-consent__accept:hover {
  background: #aad302;
  color: #181818;
}

.cookie-consent__accept:focus-visible {
  outline: 2px solid #c9f31d;
  outline-offset: 2px;
}

.cookie-consent__accept i {
  font-size: 18px;
  line-height: 1;
}

body.cookie-consent-open {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  .cookie-consent {
    padding: 10px 12px 12px;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 18px 16px;
  }

  .cookie-consent__accept {
    width: 100%;
    min-width: 0;
  }
}

