/** @format */

header .wrapper,
main .wrapper {
  width: min(100%, 1180px);
  margin: 0 auto;
}

header {
  border-bottom: 1px solid #eee;
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 10;
}

header a {
  font-size: clamp(17px, 2.5vw, 18px);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  font-weight: 500;
}

header nav {
  font-size: clamp(17px, 2.5vw, 18px);
  display: flex;
  align-items: center;
  gap: 1rem;
}

header nav a {
  font-size: clamp(17px, 2.5vw, 16px);
}

header nav div {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

header nav button {
  font-size: clamp(17px, 2.5vw, 16px);
  width: 130px;
  height: 38px;
  border-radius: 50px;
}

header nav button:first-of-type:not(:last-of-type) {
  background-color: #133353;
  color: white;
}

header nav button:last-of-type {
  border: 1px solid #133353;
  color: #133353;
  font-weight: 500;
}

header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header + * {
  margin-top: 80px;
}

main {
  word-break: keep-all;
}

main h1 {
  font-size: clamp(36px, 2.5vw, 48px);
  display: flex;
  flex-direction: column;
}

main h2 {
  font-size: clamp(30px, 2.5vw, 50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

main h3 {
  font-size: clamp(24px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
}

main h2 + p {
  align-items: center;
}

main p {
  font-size: clamp(17px, 2.5vw, 22px);
  display: flex;
  flex-direction: column;
  color: #133353;
  font-weight: 500;
}

main p strong {
  color: #0081c8;
  font-weight: 500;
}

main li p {
  font-size: 18px
}

main ul {
  display: flex;
}

main ul::after {
  content: none;
}

main section {
  padding: 6rem 0;
  letter-spacing: -1px;
}

.section-main {
  background: rgba(0, 0, 0, 0.25) url(../images/partners/partner_main.png) no-repeat right;
  background-blend-mode: multiply;
  background-size: 100%;
  height: 480px;
  background-size: cover;
}

.section-main h1 {
  font-weight: 700;
  color: white;
}

.section-main p {
  color: white;
  font-weight: 700;
}

.section-main button {
  margin-top: 3rem;
  background-color: #008cdf;
  color: white;
  width: 192px;
  height: 48px;
  font-size: clamp(17px, 2.5vw, 18px);
  text-align: left;
  padding: 5px 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-main button::after {
  content: "";
  background: url("data:image/svg+xml,%3Csvg width='23' height='7' viewBox='0 0 23 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 1L22 6H0' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    no-repeat;
  width: 22px;
  height: 7px;
  display: flex;
}

.section-about .image {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.section-advantages {
  background-color: #f4f8fb;
}

.section-advantages h3 {
  color: #0081c8;
}

.section-advantages li p {
  align-items: center;
  color: #777;
  margin-top: 0.5rem;
  font-weight: 700;
}

.section-advantages li {
  background-color: white;
  border-radius: 1rem;
  width: calc(50% - .5rem);
  overflow: hidden;
}

.section-advantages ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  gap: 1rem;
}

.section-advantages .image {
  background-color: #0081c8;
}

.section-advantages .texts {
  padding: 2rem;
}

.section-who {
  background-color: #133353;
  padding: 8rem 0;
  position: relative;
}

.section-who h3 {
  color: white;
  position: relative;
}

.section-who h3::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='19' viewBox='0 0 26 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9L9.33333 16L24 2' stroke='%233395D6' stroke-width='4'/%3E%3C/svg%3E%0A");
  width: 25px;
  height: 19px;
  display: block;
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.section-who .image {
  position: absolute;
  bottom: 0;
}

.section-who .texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-left: 65%;
}

.section-who p {
  margin-top: 1rem;
  color: #bbe0ff;
  font-size: clamp(17px, 2.5vw, 20px);
}

.section-faq h2 {
  text-align: center;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-faq li {
  background-color: #f4f4f4;
  padding: 1.25rem;
  position: relative;
}

.section-faq ul {
  flex-direction: column;
  gap: 0.5rem;
}

.section-faq .question {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 2rem;
}

.section-faq .question::before {
  content: "Q";
  color: #0081c8;
  font-weight: 600;
}

.section-faq .question::after {
  content: "";
  width: 20px;
  height: 12px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10L10 2L2 10' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    no-repeat center;
  position: absolute;
  right: 1.75rem;
  top: 1.75rem;
  transform: rotate(180deg);
  transition: transform .25s
}

.section-faq .active .question::after {
  transform: rotate(0);
}

.section-faq .answer {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  padding: 0 1.25rem;
  transition: 0.25s;
}

.section-faq .active .answer {
  opacity: 1;
  visibility: visible;
  max-height: 999px;
  padding: 1rem 1.25rem 0.5rem;
}

.section-faq .answer p {
  color: #777;
  font-weight: 700;
}

.section-process {
  background-color: #f4f8fb;
}

.section-process h2 {
  text-align: center;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 600;
  margin-bottom: 2rem;
}

.section-process ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-process li {
  flex: 1;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0px 3px 20px 0px rgba(150, 170, 190, 0.25);
}

.section-process li p {
  color: #777;
  align-items: center;
}

.section-process li i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3395d6;
  color: white;
  font-style: normal;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2.5vw, 20px);
}

.section-process li h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  color: #0081c8;
}

.section-process li div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-settlement h2 {
  text-align: center;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 600;
  margin-bottom: 2rem;
}

.section-settlement ul {
  flex-direction: column;
}

.section-settlement li {
  display: flex;
  border-bottom: 1px solid #d4d4d4;
  font-size: clamp(17px, 2.5vw, 20px);
}

.section-settlement li:first-of-type {
  border-top: 1px solid #d4d4d4;
}

.section-settlement li div {
  padding: 1rem 0;
}

.section-settlement li div:first-of-type {
  flex: 0 0 auto;
  width: 142px;
  background-color: #f4f8fb;
  text-align: center;
  font-weight: 600;
}

.section-settlement li div:last-of-type {
  padding-left: 1.5rem;
}

.section-settlement strong {
  color: #3395d6;
}

.section-settlement small {
  color: #92969c;
  font-size: clamp(17px, 2.5vw, 20px);
  padding-left: 1rem;
  margin: -2px 0 2px;
  display: inline-block;
}

.section-settlement button {
  width: 234px;
  height: 62px;
  background-color: #3395d6;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(17px, 2.5vw, 18px);
  border-radius: 70px;
  margin: 4rem auto;
}

.table_pathners label:has(input[type="text"]),
.table_pathners label:has(input[type="password"]),
.table_pathners label input[type="text"],
.table_pathners label input[type="password"]{
  width: 100%;
}

@media screen and (max-width: 1180px) {
  .wrapper {
    padding: 0 20px
  }

  header {
    height: 60px;
  }

  header + * {
    margin-top: 0;
    padding-top: 60px;
  }

  header nav {
    gap: .5rem;
  }

  main section {
    padding: 3rem 0
  }

  main h2 + p {
    text-align: center;
    display: block;
  }

  .section-main {
    background-position: center;
    height: 50vh;
  }

  .section-who {
    padding: 3rem 0 15rem;
  }
  
  .section-who h3 {
    font-size: clamp(22px, 2.5vw, 30px);
  }
  
  .section-who h3::before {
    scale: .9;
  }
  
  .section-who .texts {
    padding-left: 10%;
  }

  .section-faq li {
    padding: 1rem
  }

  .section-faq .question::after {
    top: 1.5rem;
    scale: 0.9;
    right: 1rem;
  }

  .section-faq .answer p {
    font-size: clamp(17px, 2.5vw, 20px);
  }

  .section-faq h2,
  .section-process h2,
  .section-settlement h2 {
    margin-bottom: 1rem;
  }

  .section-settlement li div:first-of-type {
    width: 80px;
  }
  .section-settlement button {
    margin: 2rem auto;
  }
}

@media screen and (max-width: 960px) {
  .section-process li {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 640px) {
  header img{
    width: 110px;

  }
  header nav button {
    width: 76px;
    height: 32px;
    font-size: clamp(13px, 2.5vw, 16px);
  }

  header nav button::before {
    content: none
  }

  .section-advantages li {
    width: 100%;
  }
}