/* ===================================================================
   Variables
   =================================================================== */
:root {
  /* Основные переменные */
  --max-width: 1440px;
  --gap: 10px;
  --main-font: 'Manrope', Arial, sans-serif;
  

  /* Цвета */
  --clr-title: #303030;
  --clr-accent: #007bff;
  --clr-text: #1c2241;
  --clr-link: #007AFF;
  --color-blue: #007BFF;  /* для кнопок */

  /* Размер шрифта для крошек */
  --fs-breadcrumb: clamp(12px, 1vw, 14px);
}

/* Изменение переменных на планшетах */
@media (max-width: 1199px) {
 
  
}

.t-popup.t-popup_show {
    backdrop-filter: blur(15px);   
}

/* ===================================================================
   Reset
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===================================================================
   Layout & Containers
   =================================================================== */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
}
.t-quiz {
  max-width: 1360px !important;
  margin: 0 auto;
}

/* ===================================================================
   Header & Typography
   =================================================================== */

.header-text-container {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    margin-bottom: 10px;
    max-width: var(--max-width);
    padding: 0 20px;
}

.header__title__h1 {
  font-family: var(--main-font);
  color: var(--clr-title);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.5px;
  font-size: clamp(38px, 5vw, 48px);
}

.header-subtitle {
  font-family: var(--main-font);
  color: var(--clr-accent);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.55px;
  font-size: clamp(24px, 3vw, 32px);
}

.header-description p {
  font-family: var(--main-font);
  font-weight: 400;
  line-height: 1.5;
  font-size: clamp(16px, 2.5vw, 18px);
}

/* ===================================================================
   Breadcrumbs
   =================================================================== */
/* Breadcrumbs */
.breadcrumbs-container {
  
  max-width: var(--max-width);
  background: linear-gradient(0.5turn, #fff 0%, #f8f9fd 100%);
  margin: 0 auto;
  padding: 10px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: nowrap;                    /* запретить перенос */
  overflow-x: auto;                     /* горизонтальный скролл */
  -webkit-overflow-scrolling: touch;     /* плавный скролл на iOS */

  /* Скрыть скроллбар */
  -ms-overflow-style: none;             /* IE, Edge */
  scrollbar-width: none;                /* Firefox */

  align-items: center;
  font-family: var(--main-font);
  font-size: var(--fs-breadcrumb);
  color: var(--clr-text);
  list-style: none;
  white-space: nowrap;                  /* не разрывать слова */
  margin: 0 auto;
   max-width: var(--max-width);
}

/* Скрыть скроллбар в WebKit-браузерах */
.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs li {
  flex: 0 0 auto;                       /* фиксированная ширина по содержимому */
}

.breadcrumbs li + li::before {
  content: '/';
  margin: 0 var(--gap);
  color: var(--clr-text);
}

.breadcrumb-link {
  color: var(--clr-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--clr-accent);
  text-decoration: underline;
}

.breadcrumb-current {
  font-weight: 500;
  color: var(--clr-text);
  max-width: 80vw;                      /* ограничение ширины */
  overflow: hidden;
  text-overflow: ellipsis;              /* «…» при обрезке */
  white-space: nowrap;
}



/* ===================================================================
   Buttons
   =================================================================== */
.button-blue {
  display: inline-flex;
  align-items: center;
  padding: 10px;
  background: var(--color-blue);
  color: #ffffff;
  border: none;
  border-radius: 150px;
  transition: transform 0.3s;
  cursor: pointer;
}
.button-blue:hover {
  transform: scale(1.03);
}
.button-blue .arrow-in-button {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}
.button-blue .arrow-in-button svg path {
  stroke: var(--color-blue);
}
.button-blue:hover .arrow-in-button {
  transform: rotate(180deg);
}
.arrow-in-button svg {
  width: 1.85rem;
  height: 1.85rem;
}
.button-blue-text {
  padding: 0 20px 0 10px;
  font-family: var(--main-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

/* ===================================================================
   Form Success Box
   =================================================================== */
.t-form__successbox {
  background: #62c584;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
}

/* ===================================================================
   Quote Styles
   =================================================================== */
.t090 svg polygon {
  fill: #e1e6ef;
}
.t090__outer {
  border-top: 4px solid #e1e6ef;
}
.t090__autor-descr {
  letter-spacing: 0px;
}

/* ===================================================================
   Background & Misc
   =================================================================== */
.fon-image {
  z-index: -9999999 !important;
}
.t886 {
  width: 100%;
  padding-bottom: 0 !important;
  display: flex;
  justify-content: center;
}
.img-zoom {
  border-radius: 100px;
  overflow: hidden;
}
.img-zoom .tn-atom {
  border-radius: 100px;
  transition: transform 300ms ease-in-out;
}
.img-zoom:hover .tn-atom {
  transform: scale(1.15);
}

/* ===================================================================
   Squircle Masks
   =================================================================== */
.squircle70, .squircle40, .squircle30, .squircle20, .squircle10,
.t-img, .t404__img, .t404__imgbox {
  mask-image: paint(squircle);
  -webkit-mask-image: paint(squircle);
}
.squircle70 { --squircle-radius: 70px; --squircle-smooth: 1; }
.squircle40 { --squircle-radius: 40px; --squircle-smooth: 1; }
.squircle30 { --squircle-radius: 30px; --squircle-smooth: 1; }
.squircle20 { --squircle-radius: 20px; --squircle-smooth: 1; }
.squircle10 { --squircle-radius: 10px; --squircle-smooth: 1; }

