@import url(header.css);
@import url(footer.css);
@import url(font/font.css);

*, *::before, *::after {
    box-sizing: border-box;

}

body {
    font-family: 'SF Pro Display';
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

h2 {
    font-weight: 600;
    font-size: 32px;
    margin: 0;
}


.Calc {
  background: #f5f6fb;
  box-shadow: 0 0 20px rgba(0,0,0,.15);
  border-radius: 15px;
  width: 529px;
  height: fit-content;
  z-index: 100;
  margin-left: 40px;
}

.NewRegular {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.New, .Regular{
border-bottom: #c1c3d3 2px solid;
width: 50%;
display: flex;
justify-content: center;
align-items: center;
height: 52px;
cursor: pointer;
padding-left: 8px;
padding-right: 8px;
}

.New p, .Regular p {
    color: #0d1321;
    margin: 0;
    font-size: 16px;
    text-align: center;
}

.CalcInfo1 {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.CalcInfo1 p{
    margin: 0;
}

.Opp {
    padding-bottom: 20px;
}

.Opp p {
font-weight: 400;
  font-size: 15px;
  color: #6e737d;
}

.Sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.Sum, .Days{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.Amount {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:start;
}

.Amount p {
    font-weight: 400;
  font-size: 13px;
  color: #6e737d;
}

.ValueBox p {
  font-weight: 600;
  font-size: 18px;
  text-align: right;
  color: #0d1321;
}

.ClLk {
    font-size: 14px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}



.CalcInfo2 {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 0 11px rgba(0,0,0,.08);
    padding: 16px 24px;
    box-sizing: border-box; 
    border-radius: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    flex-direction: column;
    }
.row1 {
    width: fit-content;
    margin-right: auto;
    width: 100%;  
    margin: 0;
    max-width: none;
    gap: 8px;
    }
.row2 {
    width: 100%;  
    margin: 0;
    max-width: none;
    }

.LoanSum, .ReturnDays, .ReturnBefore, .Percentage, .AllSum{
display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}



.LoanSum p, .ReturnDays p, .ReturnBefore p, .Percentage p, .AllSum p{
font-weight: 400;
  font-size: 14px;
  color: #6e737d;
  line-height: 191%;
} 

.SumText {
display: block;
  padding-left: 20px;
  margin-left: auto!important;
  font-weight: 600!important;
  font-size: 14px!important;
  color: #0d1321!important;
}

.SmallText p{
    color: #6e737d;
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 32px;
}

.CalcButtons {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 16px;
}

.FullBut {
    background-color: #2065e6;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100px;
    transition: ease-in-out 0.2s;
        border: 1px solid #2065e6;
        text-align: center;
}

.FullBut:hover {
    background-color: #f5f6fb;
    border: 1px solid #e1e3f0;
    color: #2065e6;
    transition: ease-in-out 0.2s;
}

.OutlineBut {
    background-color: none;
    color: #2065e6;
    font-size: 14px;
    height: 48px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid #e1e3f0;
        transition: ease-in-out 0.2s;
        text-align: center;
}

.OutlineBut:hover {
    background-color: #2065e6;
    color: #fff;
    transition: ease-in-out 0.2s;
}




.SliderContainer2 {
  position: relative;
  width: 100%;
  height: 21px;
  border-radius: 100px;
  background: #e9ebf3;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.Slider2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
  z-index: 5;
  cursor: pointer;
}

.Slider2::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
}

.Slider2::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
}

.Slider2::-ms-thumb {
  width: 0;
  height: 0;
  border: 0;
}

.Track {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.Track .plank {
  flex: 1 1 auto;
  height: 1px;
  background: #c1c3d3;
}

.dotleft, .dotright {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c1c3d3;
}

.dotleft {
  background: #c2e812;
}

.ProgressBar2 {
  position: absolute;
  height: 2px;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  background: #c2e812;
  border-radius: 2px;
  pointer-events: none;
}

.Pointer2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 21px;
  border-radius: 27px;
  background: #c2e812;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -18px;
  pointer-events: none;
  color: #111;;
  padding: 0 6px;
  white-space: nowrap;
}

.New.active, .Regular.active {
  border-bottom: 2px solid #2065e6;
}

.New.active p, .Regular.active p {
  font-weight: 600;
  color: #2065e6;
}






.HowTo1 {
    margin-top: 64px;
    margin-bottom: 64px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.HowTo1Wrap {
    max-width: 1200px;
    width: 100%;
    margin-right: 32px;
    margin-left: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.HowTo1Textblock {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.HowTo1Textblock p {
    margin: 0;
  margin-bottom: 32px;
  font-size: 16px;
  color: #0d1321;
}

.HowTo1Blocks {
    display: flex;
    flex-direction: column;
}

.HowTo1Block {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 32px;
    align-items: center;
}

.HowTo1Block:last-child {
    margin-bottom: 0;
}


.HowTo1IMG {
    position: relative;
  display: flex;;
  width: 100%;
  max-width: 257px;
  max-height: 243px;
  border-radius: 8px;
  box-shadow: 0 0 17px rgba(0,0,0,.11);
  }

  .HowTo1IMG img{
      width: 100%;
        height: 100%;
  max-height: 243px;

  }

.HowTo1Button {
  display: flex;
  min-height: 48px;
  padding: 5px 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: #2065e6;
  border-radius: 40px;
  width: 100%;
  max-width: 345px;
  text-decoration: none;
}

.HowTo1Button:hover {
  background: #fff;
  color: #2065e6;
  border: 1px solid #e1e3f0;
  transition: ease-in-out 0.2s;
}

.HowTo1Calc {
    display: flex;
    flex-direction: row;
    align-items: center;
        margin-top: 40px;
}

.FontWrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
}

.FontWrap p{
        text-align: left;
        display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #6e737d;
  margin: 0;
  margin-bottom: 12px;
}

.FontWrap b{
        text-align: left;
          display: block;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #0d1321;
}




@media screen and (max-width: 768px) { 

 .CalcSection {
      padding-top: 0;  
    }

    .CalcOuter {
      flex-direction: column;
      align-items: center;
      padding-left: 0;
      padding-right: 0;
    }

    .CalcIMGbox {
      width: 100%;
      height: 100%;
      min-height: 200px;
      padding-right: 16px;
      padding-left: 16px;
    }

    .CalcIMGbox img {
      width: 100%;
  left:16px;
  top: 16px;
  transform: translateY(0);
  position: relative;
    }
    .Calc {
      width: 100%;
      margin: 0;
    }

    .New p, .Regular p {
      font-size: 14px;
    }

    .CalcInfo1 {
      padding-right: 16px;
      padding-left: 16px;
      padding-top: 12px;
      padding-bottom: 12px;
    }

    .Opp {
      padding-bottom: 16px;
    }

    .Sliders {
      gap: 16px;
  margin-bottom: 16px;
    }

    .Sum, .Days {
      gap: 8px;
    }

    .ClLk {
      font-size: 16px;
      margin-bottom: 16px;
    }

    .CalcInfo2 {
      border-radius: 8px;
      padding-top: 8px;
      padding-bottom: 8px;
      padding-left: 12px;
      padding-right: 12px;
      flex-direction: column;
    }
    .row1 {
      width: 100%;  
      margin: 0;
      max-width: none;
      gap: 8px;
    }
    .row2 {
       width: 100%;  
      margin: 0;
      max-width: none;
    }

    .SmallText p {
      color: #6e737d;
  font-size: 11px;
  line-height: 160%;
  margin-bottom: 20px;
    }

    .CalcButtons {
      flex-direction: column;
      gap: 12px;
    }

    .FullBut {
      width: 100%;
    }

    .OutlineBut {
      width: 100%;
    }

        h2 {
      font-size: 20px;
    }


    
    .HowTo1 {
      margin-top: 40px;
      margin-bottom: 40px;
    }

    .HowTo1Wrap {
      margin-left: 16px;
      margin-right: 16px;
    }

    .HowTo1Textblock {
      margin-bottom: 32px;
    }

    .HowTo1Textblock p {
      font-size: 15px;
    line-height: 135%;
    margin-bottom: 32px;
    text-align: center;
    }

    .HowTo1Blocks {
      flex-direction: column;
      gap: 32px;
    }

    .HowTo1Block {
        flex-direction: column;
      width: auto;
      margin: 0;
    }

    .HowTo1IMG {
      width: 175px;
      margin-bottom: 16px;
      overflow: visible;
      height: auto;
      border-radius: 8px;
      height: 167px;
    }

    .HowTo1IMG img {
      max-height: 167px;
    }

    .HowToPlank {
      display: none;
    }

    .HowTo1Block b {
      font-size: 14px;
    line-height: 150%;
    margin-bottom: 8px;
    }

    .HowTo1Block p {
    margin: 0;
    font-size: 14px;
    line-height: 150%;
    }

    .HowTo1Block a {
      text-align: center;
    margin: 12px auto 0;
    }

    .HowTo1Calc {
    display: flex;
    flex-direction: column;
    align-items: center;
        margin-top: 32px;
}


.FontWrap {

    align-items: center;
    padding: 0;
}

.FontWrap p {
    text-align: center;
}
}











/* сітка карток */
.PromosGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* карта акції */
.PromoCard {
  display: flex;
  flex-direction: column;
  background: #f5f6fb;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,.08);
  overflow: hidden;
  max-width: 350px;
  height: auto;
}
.PromoImage {
  display: block;
  width: 100%;
  aspect-ratio: 16/6;
  background: #e9ebf3;
}
.PromoImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.PromoBody {
  padding: 16px 20px 18px;
  height: 100%;
}
.PromoTitle {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}
.PromoTitle a {
  text-decoration: none;
  color: #0d1321;
}
.PromoTitle a:hover { color: #2065e6; }

.PromoExcerpt {
  margin: 0 0 14px;
  color: #6e737d;
  font-size: 15px;
  line-height: 1.45;
}

.PromoMeta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.PromoLink {
  margin-left: auto;
  text-decoration: none;
  color: #2065e6;
  font-weight: 600;
  font-size: 14px;
}
.PromoLink:hover { text-decoration: underline; }

.PromoBadge {
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e1e3f0;
  background: #fff;
  color: #0d1321;
}
.PromoBadge.is-active {
  border-color: #c2e812;
  background: #f7ffe0;
}
.PromoBadge.is-paused {
  border-color: #e1e3f0;
  background: #f1f2f7;
  color: #6e737d;
}

/* сайдбар */
.PromoSidebar { position: sticky; top: 16px; }

/* адаптив */
@media (max-width: 1024px) {
  .PromosGrid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 768px) {
  .PromoCard {
    max-width: none;
    margin-bottom: 16px;
  }
}





.PageTitle {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

/* Дві колонки: контент + стіккі сайдбар */
.PromoDetailsLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
  max-width: 700px;
}

.PromoArticle { min-width: 0; }

.PromoHero {
  margin: 0 0 20px 0;
  border-radius: 16px;
  overflow: hidden;
}
.PromoHero img {
  display: block;
  width: 100%;
  height: auto;
}

.PromoContent p {
  margin: 0 0 16px;
  line-height: 1.62;
  color: #1b2330;
}
.PromoContent h2 {
  margin: 24px 0 12px;
  font-size: 22px;
}

.PromoSteps {
  padding-left: 20px;
  margin: 0 0 16px;
}
.PromoTerms {
  padding-left: 20px;
  margin: 0 0 20px;
  list-style: disc;
}

.PromoCTA {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.Btn { display: inline-block; padding: 14px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.BtnPrimary { background: #2065e6; color: #fff; }
.BtnPrimary:hover { filter: brightness(1.05); }
.BtnGhost { background: #f5f6fb; color: #0d1321; }

/* Сайдбар */
.PromoSidebar { position: sticky; top: 16px; }

/* Адаптив */
@media (max-width: 1024px) {
  .PromoDetailsPage { padding: 0 16px; }
  .PromoDetailsLayout { grid-template-columns: 1fr; gap: 20px; }
  .PageTitle { font-size: 26px; }
  .PromoCTA {
  justify-content: center;
}
h1 {
  text-align: center;
}
}