/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------- New Styles 2026 ---------- */
/* ---------- Danylo Oliinyk ---------- */
/* ---------- Stratolpan School ---------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------- 1. Media Rules And Others ---------- */
/* ---------- 2. Tools New Section ---------- */

/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */


/* ---------- 1. Media Rules And Others ---------- */
@media only screen and (min-width: 1200px) {
    .floating-cards__item.lg-floating-item-2 {
        right: -20rem;
    }
}
@media only screen and (min-width: 992px) {
    .floating-cards__item.lg-floating-item-2 {
        top: 4rem;
        right: -8rem;
    }
}
@media only screen and (min-width: 992px) {
    .floating-cards__item.lg-floating-item-4 {
        top: 28rem;
        right: -15rem;
    }
}

@media only screen and (min-width: 992px) {
    .floating-cards__item.lg-floating-item-2 {
        top: 4rem;
        right: -20rem !important;
    }
}
/* ---------- 1. Media Rules And Others ---------- */


/* ---------- 2. Tools New Section ---------- */
.tools-padding{
    padding-top: 120px !important;
    padding-bottom: 60px !important;
}

.tools__mainwrap{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tools__text-wrap{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tools__acc-wrap{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tools__title{
    color: #001F3D;
    text-align: center;
    font-family: var(--_font-accent);
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 115.385% */
    letter-spacing: -1px;
}

.tools__subtitle{
    color: #001F3D;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 33px */
}

.tools__acc-item{
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;

    border-radius: 24px;
    border: 1px solid #E6E9ED;
    background: #FFF;
    box-shadow: 0 12px 12px -6px rgba(0, 61, 61, 0.04), 0 6px 6px -3px rgba(0, 61, 61, 0.04), 0 3px 3px -1.5px rgba(0, 61, 61, 0.04), 0 1px 1px -0.5px rgba(0, 31, 31, 0.08), 0 0 0 1px rgba(0, 61, 61, 0.04);
}

.tools__acc-item-btn{
    display: flex;
    justify-content: space-between;
    align-self: stretch;
}

.tools__acc-item-btn-title{
    color: var(--Gray-900, #0D0D0D);
    font-family: var(--_font-accent);
    font-size: 31px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1px;
}

.tools__acc-item-content{
    display: none;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    justify-content: space-between;
}

.tools__acc-item-content-active{
    display: flex;
}

.item-content-left{
    display: flex;
    gap: 10px;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 21.82px;
    border: 1px solid #BFD9F5;
    box-shadow: 0 12px 12px -6px rgba(0, 61, 61, 0.04), 0 6px 6px -3px rgba(0, 61, 61, 0.04), 0 3px 3px -1.5px rgba(0, 61, 61, 0.04), 0 1px 1px -0.5px rgba(0, 31, 31, 0.08), 0 0 0 1px rgba(0, 61, 61, 0.04);
}

.item-content-right{
    display: flex;
    gap: 10px;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 21.82px;
    border: 1px solid #BFD9F5;
    background: #E4EEF9;
    box-shadow: 0 12px 12px -6px rgba(0, 61, 61, 0.04), 0 6px 6px -3px rgba(0, 61, 61, 0.04), 0 3px 3px -1.5px rgba(0, 61, 61, 0.04), 0 1px 1px -0.5px rgba(0, 31, 31, 0.08), 0 0 0 1px rgba(0, 61, 61, 0.04);
}

.item-content-left, .item-content-right{
    flex: 1 0 0;
    /* height: -webkit-fill-available; */
}

.item-content-left-title{
    color: #001F3D;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 177.778% */
}

.item-content-left-descr{
    color: #001F3D;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 24.75px */
}


.tools__acc-item-content{
  display: flex !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 320ms ease, opacity 220ms ease;
}


.tools__acc-item-content.tools__acc-item-content-active{
  opacity: 1;
  pointer-events: auto;
}

.tools__acc-item{
  gap: 0 !important;
}

.tools__acc-item.tools__acc-item-active{
  gap: 24px !important;
  transition: gap 200ms ease;
}

/* Tablets */
@media (max-width: 1024px) {
}

/* Mobile */
@media (max-width: 767px) {
    .tools__acc-item-content.tools__acc-item-content-active{
        flex-direction: column;
    }
    .tools__acc-item-btn-title{
        font-size: 25px;
    }
}
@media (max-width: 1024px) {
  .tools__acc-item-content{
    transition: none !important; 
  }
}
@media (max-width: 1024px) {
  .tools__acc-item,
  .item-content-left,
  .item-content-right{
    box-shadow: none !important; /* или один лёгкий */
  }
}
/* ---------- 2. Tools New Section ---------- */


.important{
  --line-col: 60px;
  --line-bg: #DDE7F3;
  --line-fill: #0A3A67;     /* темнее */
  --dot: #519DE0;          /* как в svg */
  padding: 120px 0;
}

.important__wrap{
  display: grid;
  grid-template-columns: 1fr var(--line-col) 1.35fr;
  gap: 30px;
  align-items: start;
}

/* LEFT sticky */
.important__left{
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.important__title{
  color: #001F3D;
  font-family: var(--_font-accent);
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 115.385% */
    letter-spacing: -1px;
}

.important__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 14px 22px;
  border-radius: 12px;
  background: #001F3D;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* LINE column */
.important__line{
  position: relative;
  width: var(--line-col);
  align-self: stretch; /* растянуть по высоте правой колонки */
  min-height: 100%;
}

.important__line-bg,
.important__line-fill{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  border-radius: 2px;
  top: 0;
  bottom: 0;
}

.important__line-bg{
  background: var(--line-bg);
}

.important__line-fill{
  background: var(--line-fill);
  height: 0px;          /* задаём JS в px */
  bottom: auto;
}

/* dots container (absolute over line) */
.important__dots{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* DOT default (inactive): 12x12 circle */
.important__dot{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--dot);
}

/* ACTIVE DOT: 30x30 with inner 12x12 + pulse on outer */
.important__dot.is-active{
  width: 30px;
  height: 30px;
  background: rgba(81, 157, 224, 0.3);
  animation: importantPulse 1.6s ease-out infinite;
}

.important__dot.is-active::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--dot);
  transform: translate(-50%, -50%);
}

@keyframes importantPulse{
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  70%  { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* RIGHT */
.important__right{
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding-top: 10px;
}

.important__item{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
}

.important__num{
    color: #519DE0;
    font-family: var(--_font-accent);
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 115.385% */
    letter-spacing: -1px;
}

.important__title {
    color: #001F3D;
    font-family: var(--_font-accent);
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -1px;
}

/* Tablet */
@media (max-width: 1024px) {
  .important{ --line-col: 44px; padding: 90px 0; }
  .important__wrap{ grid-template-columns: 1fr var(--line-col) 1.25fr; gap: 22px; }
  .important__title{ font-size: 32px; text-align: start; line-height: normal;}
  .important__num{ font-size: 44px; }
  .important__right{ gap: 55px; }
}

/* Mobile */
@media (max-width: 767px) {
  .important{ --line-col: 24px; padding: 70px 0; }
  .important__wrap{ grid-template-columns: 1fr; gap: 26px; }
  .important__left{ position: static; }
  .important__line{ display:none; } /* на мобилке обычно лучше отдельная версия, иначе будет узко */
}
.important__line-fill{
  transition: height 260ms cubic-bezier(.22,.61,.36,1);
  will-change: height;
}

.btn-width-max{
    width: max-content !important;
}

/* @media (max-width: 1024px) {
    .important__title {
        font-size: 25px;
    }
} */

/* STATS SECTION */
/* .stats{
  padding: 120px 0;
} */

.stats__wrap{
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.stats__title{
  color: #001F3D;
    text-align: center;
    font-family: var(--_font-accent);
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 115.385% */
    letter-spacing: -1px;
}

/* rows */
.stats__row{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 120px;
}

.stats__row--top{
  margin-top: 10px;
}

.stats__row--bottom{
  margin-top: 40px; /* как на макете ниже */
}

/* items */
.stats__item{
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.stats__value{
  color: #001F3D;
  font-family: var(--_font-accent);
  font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 110px */
    letter-spacing: -1px;
}

.stats__num{
  display: inline-block;
}

.stats__text{
  color: #001F3D;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 33px */
}

/* Tablet: 2 rows -> (2) + (2) + (1) */
@media (max-width: 1024px){
  /* .stats{ padding: 90px 0; } */
  .stats__wrap{ gap: 50px; }
  .stats__title{ font-size: 44px; }

  .stats__row{
    gap: 60px;
    flex-wrap: wrap;
  }

  .stats__row--bottom{
    margin-top: 10px;
  }

  .stats__item{
    width: 300px;
  }

  .stats__value{
    font-size: 105px;
  }

  .stats__text{
    font-size: 18px;
  }

  /* нижний ряд: делаем 3 айтема, но на планшете они будут 2+1 */
  .stats__row--bottom .stats__item{
    flex: 0 1 0px;
  }
  .intro__headline {
    position: relative;
    padding: 6rem 2.8rem;
    padding-top: 4rem;
  }
}

/* Mobile: одна колонка */
@media (max-width: 767px){
  /* .stats{ padding: 70px 0; } */
  .stats__wrap{ gap: 35px; }
  .stats__title{ font-size: 34px; text-align: start;}

  .stats__row{
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .stats__row--bottom{
    margin-top: 0;
  }

  .stats__item{
    width: 100%;
  }

  .stats__value{
    font-size: 52px;
  }

  .stats__text{
    font-size: 16px;
  }
  .intro__headline {
    position: relative;
    padding: 6rem 2.8rem;
    padding-top: 4rem;
  }
  .btn-width-max {
    width: 100% !important;
  }
  .important__title{ font-size: 38px; text-align: center;}
}

.height-strange{
    height: 140px;
}

.inner.has-element.padding-strange{
    padding-top: 140px;
    padding-bottom: 60px;
}
/* STATS END */
