/* Tejori — FAQ page: banner, accordions, "how selling works" steps */

/* ---------- page banner ---------- */

.pb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f8f8f8;
}

.pb img {
  width: 100%;
  height: auto;
}

.pb__c {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.pb__h {
  width: 15.729vw;
  max-width: 100%;
  margin: 0;
  padding: .469vw 1.875vw;
  font-size: 2.763vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .414vw;
  text-align: right;
  color: #000;
  background: #fff;
}

/* ---------- accordions ---------- */

.faq__in {
  padding: 3.125vw 5.208vw 2.604vw;
  background: #fafafa;
}

.faq__h {
  margin: 2.708vw 0 2.292vw;
  font-size: 2.083vw;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.faq__g:first-child .faq__h {
  margin-top: 0;
}

/* the frame is a picture, so the row has no border of its own */
.acc {
  padding: 1.042vw 2.865vw;
  border-radius: .521vw;
  background: url(../img/faqborder.webp) 0 0 / 100% 100% no-repeat;
}

.acc + .acc {
  margin-top: 1.563vw;
}

/* the caret sits absolutely in the corner, so the question keeps the full row */
.acc summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc__t {
  font-size: 1.667vw;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.acc summary > svg {
  position: absolute;
  top: calc(50% - .2rem);
  right: 1.5rem;
  width: 1.458vw;
  height: .729vw;
}

.acc[open] summary > svg {
  transform: rotate(180deg);
}

.acc__c {
  padding-top: 1.823vw;
}

.acc__c p {
  margin: 0;
  font-size: 1.25vw;
  font-weight: 700;
  color: #181818;
}

/* ---------- how selling works ---------- */

.stp {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.stp__box {
  position: relative;
  max-width: 75vw;
  margin-inline: auto;
  padding-block: 3.125vw;
}

.stp__box::after {
  content: "";
  position: absolute;
  top: 5.698vw;
  right: -6.458vw;
  width: 22.604vw;
  height: 16.979vw;
  background: url(../img/hookdesk.webp) no-repeat;
}

.stp__h {
  font-size: 2.5vw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}

.stp__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.125vw 6.198vw;
  padding-block: 3.646vw;
}

.stp__i {
  display: flex;
  align-items: flex-start;
  column-gap: 1.563vw;
}

.stp__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.906vw;
  min-width: 3.906vw;
  height: 3.906vw;
  font-family: var(--ff-alt);
  font-size: 2.083vw;
  font-weight: 800;
  color: #fff;
  background: var(--c-green);
  border-radius: 50%;
}

.stp__c h3 {
  margin: 0;
  font-size: 2.083vw;
  font-weight: 700;
  letter-spacing: 0;
  color: #000;
}

.stp__c p {
  margin: 0;
  font-size: 1.25vw;
  font-weight: 500;
  line-height: 1.875vw;
  letter-spacing: 0;
  color: #000;
}

.stp .btn {
  max-width: 10.417vw;
  margin-inline: auto;
  padding: .547vw .521vw;
  color: #fff;
  background: var(--c-green);
}

.stp .btn__in {
  justify-content: center;
}

.stp .btn__in svg {
  height: 1.458vw;
}

@media (max-width: 767px) {
  .pb__c {
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 100%;
    transform: translate(-50%, -50%);
  }

  .pb__h {
    width: 31.591vw;
    padding: 1.591vw 1.818vw;
    font-size: 9.043vw;
    letter-spacing: 1.356vw;
    text-align: center;
  }

  .faq__in {
    padding: 9.091vw 4.545vw;
    background: #fff;
  }

  .faq__h {
    margin: 8.636vw 0 7.955vw;
    font-size: 6.818vw;
  }

  .acc {
    padding: 3.409vw 5.455vw;
    border-radius: 1.023vw;
    background-image: url(../img/bdrf.png);
  }

  .acc[open] {
    background-image: url(../img/bdrm.png);
  }

  .acc + .acc {
    margin-top: 5.227vw;
  }

  .acc__t {
    padding-right: 7.591vw;
    font-size: 5.455vw;
    line-height: 5.341vw;
  }

  .acc summary > svg {
    top: 1.591vw;
    right: 0;
    width: 4.773vw;
    height: 2.386vw;
  }

  .acc__c {
    padding-top: 3.409vw;
  }

  .acc__c p {
    font-size: 4.091vw;
    line-height: 6.136vw;
  }

  /* purani site yahan padding-top deti hai magar uske baad padding-block: 0
     likh deti hai, to top padding rehti hi nahi — wahi render rakha hai */
  .stp__box {
    max-width: 100%;
    padding-block: 0;
    padding-inline: 4.545vw;
  }

  .stp__box::after {
    top: auto;
    right: -7.273vw;
    bottom: 10.455vw;
    width: 46.591vw;
    height: 35vw;
    background-image: url(../img/hook.webp);
  }

  .stp__h {
    font-size: 8.182vw;
    line-height: 10.227vw;
    text-align: left;
  }

  .stp__grid {
    grid-template-columns: 1fr;
    gap: 8.636vw;
    padding-top: 7.091vw;
    padding-bottom: 0;
  }

  .stp__i {
    column-gap: 4.545vw;
  }

  .stp__n {
    align-items: normal;
    width: 12.614vw;
    min-width: 12.614vw;
    height: 12.614vw;
    margin-top: 1.136vw;
    font-size: 6.818vw;
    line-height: 13.409vw;
    text-align: center;
  }

  .stp__c h3 {
    margin-bottom: 2.727vw;
    font-size: 5.455vw;
    line-height: 1;
  }

  .stp__c p {
    font-size: 3.409vw;
    line-height: 5.114vw;
  }

  .stp .btn__in svg {
    width: 8.759vw;
    height: 6.58vw;
  }

  .stp__btn {
    display: none;
  }
}
