/* ============================================
   Кастомные переопределения для ГОКМ
   Скрытие лишних элементов меню и футера
   ============================================ */

/* === ХЕДЕР: скрываем лишние кнопки в canvas-хедере (rec855905582) === */
/* Оставить заявку */
[data-elem-id="1702901432678"] { display: none !important; }
/* Меню (бургер) */
[data-elem-id="1702907876829"] { display: none !important; }
/* Курсы */
[data-elem-id="1737725916042"] { display: none !important; }
/* Направления */
[data-elem-id="1702901540622"] { display: none !important; }
/* Бесплатно */
[data-elem-id="1731085099268"] { display: none !important; }

/* === Скрыть все всплывающие окна === */
/* Автозапускатели попапов: exit-intent и таймер (есть на всех страницах через хедер) */
[data-record-type="724"] { display: none !important; }
[data-record-type="367"] { display: none !important; }
/* Квиз «Думаете о поступлении?» (все страницы) */
#rec1166193816 { display: none !important; }
/* Попап «Забрать в TG» (все страницы) */
#rec1623726881 { display: none !important; }
/* Скрытые попапы главной страницы (не нужны) */
/* rec752842964 (podbor) — НЕ скрываем, это попап «Подать документы» */
/* rec907229575 — это якорь <a name="proftest">, не попап — не скрываем */
#rec2027412951 { display: none !important; } /* veb-02 */
#rec2027413961 { display: none !important; } /* veb-03 */
#rec2027414561 { display: none !important; } /* veb-04 */
/* rec916898104 — это секция контента «Формат», не попап — не скрываем */

/* === admission: убрать пустой блок-отступ между хедером и первым контентом === */
#rec965301341 { display: none !important; }

/* === docs-page: скрыть навигацию-плашки (Лицензия / Аккредитация / Сведения...) === */
#rec776703819 { display: none !important; }

/* === ФУТЕР: скрываем лишние секции === */
/* Направления + соцсети + доп. ссылки (десктоп) */
#rec1166179676 { display: none !important; }
/* Направления + соцсети + доп. ссылки (мобильная версия) */
#rec757275052 { display: none !important; }

/* Телефон в футере — двигаем вправо, убираем лишние отступы */
#rec1166179646 .t966 {
  display: flex;
  justify-content: flex-end;
}
#rec1166179646 .t966__menu {
  padding: 0 !important;
  margin: 0 !important;
}

/* === task1 п.3: Направления в hero — убираем кликабельность === */
.uc-scrollmenu + .r .t396__elem a[href*="design"],
.uc-scrollmenu + .r .t396__elem a[href*="programming"],
.uc-scrollmenu + .r .t396__elem a[href*="gamedev"],
.uc-scrollmenu + .r .t396__elem a[href*="economic"],
.uc-scrollmenu + .r .t396__elem a[href*="marketing"],
.uc-scrollmenu + .r .t396__elem a[href*="finance"],
.uc-scrollmenu + .r .t396__elem a[href*="law"],
.uc-scrollmenu + .r .t396__elem a[href*="logistics"] {
  pointer-events: none !important;
  cursor: default !important;
}

/* === task1 п.4: "подробнее" в карточках направлений === */
.t983__card .t-card__btn,
.t983__card a.t-card__link {
  pointer-events: none !important;
  cursor: default !important;
}
.t983__card .t-card__btn-text {
  display: none !important;
}

/* === task1 п.8.3: Скрыть выбор города в форме === */
[name="CRMTown"],
.t-input-group:has([name="CRMTown"]) {
  display: none !important;
}

/* === task1 п.8.5: Скрыть первый слайд в слайдере формата === */
/* Применяем через JS, CSS не может скрыть первый слайд корректно */

/* === HERO: скрыть "Колледж цифровых профессий" === */
[data-elem-id="1742470233579"] {
  display: none !important;
}

/* === docs-page: расширить и увеличить фон в блоке аккредитации === */
/* Desktop 1200px+ */
#rec775964224 .tn-elem[data-elem-id="1718103139095"] {
  height: 660px !important;
}
#rec775964224 .tn-elem[data-elem-id="1718638041362"] {
  height: 780px !important;
}
#rec775964224 .t396__artboard,
#rec775964224 .t396__filter,
#rec775964224 .t396__carrier {
  height: 840px !important;
}

/* Tablet 480-1199px */
@media screen and (min-width:480px) and (max-width:1199px) {
  #rec775964224 .tn-elem[data-elem-id="1718638041362"],
  #rec775964224 .tn-elem[data-elem-id="1718103139095"] {
    width: 98% !important;
  }
  #rec775964224 .tn-elem[data-elem-id="1718103139095"] {
    height: 700px !important;
  }
  #rec775964224 .tn-elem[data-elem-id="1718638041362"] {
    height: 820px !important;
  }
  #rec775964224 .t396__artboard,
  #rec775964224 .t396__filter,
  #rec775964224 .t396__carrier {
    height: 880px !important;
  }
}
/* Mobile 480px и ниже */
@media screen and (max-width:479px) {
  #rec775964224 .tn-elem[data-elem-id="1718103139095"] {
    height: 900px !important;
  }
  #rec775964224 .tn-elem[data-elem-id="1718638041362"] {
    height: 1020px !important;
  }
  #rec775964224 .t396__artboard,
  #rec775964224 .t396__filter,
  #rec775964224 .t396__carrier {
    height: 1080px !important;
  }
}

/* === admission: ДВИ — убрать кликабельность ссылок в заголовках аккордеона === */
#rec722612559 .t668__title a {
  pointer-events: none !important;
  cursor: default !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* === CRM: «Спасибо» — лёгкое состояние после отправки формы === */
@keyframes crm-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes crm-check {
  from { stroke-dashoffset: 44; }
  to   { stroke-dashoffset: 0; }
}
.crm-success-wrap {
  text-align: center;
  padding: 32px 20px 24px;
  font-family: 'Manrope', sans-serif;
}
.crm-success-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e8f5e9;
  margin-bottom: 20px;
  animation: crm-pop 0.45s cubic-bezier(.34,1.56,.64,1) both;
}
.crm-success-check {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: crm-check 0.35s ease 0.3s forwards;
}
.crm-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.2;
}
.crm-success-text {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* === HERO: уменьшить "Городской открытый колледж Максимум" === */
[data-elem-id="1742469539482"] {
  left: 50% !important;
  transform: translateX(-50%) !important;
}
[data-elem-id="1742469539482"] .tn-atom {
  font-size: 70px !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  text-align: center !important;
}
@media (max-width: 960px) {
  [data-elem-id="1742469539482"] .tn-atom {
    font-size: 48px !important;
    max-width: 500px !important;
  }
}
@media (max-width: 640px) {
  [data-elem-id="1742469539482"] .tn-atom {
    font-size: 36px !important;
    max-width: 100% !important;
  }
}

