.main,
button {
  font-family: "SF UI Display", sans-serif;
}

.form-wrap_1 .form-wrap__title,
.form-wrap_2 .form-wrap__title,
.form-wrap_3 .form-wrap__title,
.form-wrap_4 .form-wrap__title,
.form-wrap_5 .form-wrap__title {
  font-size: 40px;
}

.form-wrap_2 {
  margin-top: 0;
}

.form-wrap .form-wrap__list li {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
}

.form-wrap .form-wrap__title {
  margin-bottom: 40px;
}

.form-wrap__description {
  font-weight: 400;
  font-size: 30px;
  line-height: 140%;
  color: #ffffff;
  margin-bottom: 30px;
  border-left: 4px solid #6ce457;
  padding-left: 15px;
}

.form-wrap__cost {
  font-size: 30px;
  line-height: 140%;
  color: #ffffff;
  margin-bottom: 30px;
}

.form-wrap__cost > strong {
  font-weight: 800;
  color: #6ce457;
}

.form-wrap .form-wrap__desc {
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
  margin-bottom: 15px;
}

.latvian-residence .form-wrap .wrap {
  max-width: 1170px;
}

.section {
  display: flex;
  max-width: 1170px;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.icon-list li,
.pin-list li {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
}

.pin-list > li {
  position: relative;
  padding-left: 24px;
}

.pin-list > li:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #56b845;
  border-radius: 50%;
  border: 4px solid #ddeddf;
  position: absolute;
  left: 0;
  top: 6px;
  box-sizing: content-box;
}

.icon-list li {
  padding-left: 70px;
  background-position: 0 0;
  background-repeat: no-repeat;
  min-height: 64px;
}

.icon-list strong {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 15px;
  display: block;
}

.title {
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
}

.advantages .title {
  margin-bottom: 50px;
  max-width: 600px;
}

.advantages li {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  display: flex;
  align-items: center;
  min-height: 50px;
  flex: 0 1 calc(50% - 30px);
}

.advantages .icon-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.advantages_obtaining {
  background-color: #ffffff;
}

.advantages_obtaining li:last-child {
  margin-top: 0;
}

.advantages_obtaining li {
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
  box-shadow: 0px 5px 31px 0px rgba(39, 85, 155, 0.06);
  padding: 30px 30px 30px 110px;
}

.advantages_obtaining .icon-list li {
  background-position: 30px center;
}

.note {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.note .title {
  margin-bottom: 40px;
  text-align: left;
}

.note .desc {
  font-size: 18px;
  line-height: 140%;
  margin-bottom: 30px;
}

.note img {
  width: 100%;
  height: 100%;
}

.note__first {
  grid-row: 1/3;
}

.note__second {
  background-color: #f5f7fa;
  padding: 100px 60px 40px;
}

.note__list li {
  position: relative;
  padding-left: 30px;
  font-size: 18px;
  line-height: 140%;
  padding-bottom: 15px;
}

.note__list li:last-child {
  padding-bottom: 0;
}

.note__list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("/wp-content/themes/intworld/app/img/spain/icons/arrow_green.svg");
  background-repeat: no-repeat;
  box-sizing: content-box;
  border-radius: 50%;
  width: 19px;
  height: 23px;
}

.note__third {
  grid-column: 2/3;
  padding: 0 60px 100px;
  background-color: #f5f7fa;
}

.note__blue_box {
  background: linear-gradient(
    117deg,
    rgba(34, 81, 151, 0.91) 14.85%,
    rgba(43, 117, 226, 0.63) 99.02%
  );
  padding: 30px 35px;
  color: #ffffff;
}

.note__second .wrap,
.note__third .wrap {
  max-width: 560px;
}

.passport {
  padding: 120px 15px;
  background-color: #f5f7fa;
}

.passport .section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.passport .img {
  position: relative;
}

.passport .img img {
  height: 100%;
  width: 100%;
}

.passport .text {
  width: calc(100% - 335px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.passport .text .title {
  font-weight: 800;
  font-size: 36px;
  line-height: 150%;
  padding-left: 67px;
  padding-bottom: 30px;
  margin-bottom: 0;
  margin-left: 0;
  text-align: left;
}

.passport .text .desc {
  font-size: 18px;
  line-height: 170%;
  color: #000000;
  padding-left: 67px;
  margin-bottom: 54px;
}

.passport .text > div.text_gray {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  background: #ffffff;
  padding: 25px 25px 25px 97px;
  margin-left: -30px;
}

.passport .text > div.text_gray p {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.passport .text > div div.text_gray__left,
.passport .text > div div.text_gray__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.passport .text > div div.text_gray__left {
  padding-right: 58px;
}

.passport .text > div div.text_gray__left span,
.passport .text > div div.text_gray__right span {
  display: block;
  font-weight: 400;
  font-size: 48px;
  line-height: 48px;
  color: #000000;
  padding-bottom: 2px;
}

.passport .text > div div.text_gray__left span + span,
.passport .text > div div.text_gray__right span + span {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #000000;
  position: relative;
  bottom: -8px;
  margin-left: 0;
}

.map_svg_wrapper {
  position: relative;
}

.tog_country {
  position: absolute;
  padding: 5px;
  color: white;
  background-color: gray;
  font-size: 14px;
  transform: translate(-50%, -150%);
  top: 50%;
  left: 50%;
  text-transform: capitalize;
  opacity: 0;
  visibility: hidden;
  transition: opacity linear 0.5s;
  white-space: nowrap;
  z-index: 1;
}

.tog_country::after {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: gray;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: -1;
}

.tog_country_active {
  opacity: 1;
  visibility: visible;
}

.map-wrap {
  margin: 120px auto;
}

.map-wrap .title {
  margin-bottom: 50px;
  max-width: 750px;
}

.map-wrap .wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

.map-wrap .wrap .map {
  width: calc(100% - 380px);
}

.map-wrap .wrap .map img {
  width: 100%;
  height: 100%;
}

.map-wrap .wrap .list {
  width: 315px;
  margin-left: 65px;
}

.map-wrap .wrap .list p {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.map-wrap .wrap .list ul {
  list-style: none;
}

.map-wrap .wrap .list ul li {
  position: relative;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: #000000;
  padding-left: 36px;
  text-transform: uppercase;
}

.map-wrap .wrap .list ul li:not(:last-child) {
  margin-bottom: 15px;
}

.map-wrap .wrap .list ul li:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 21px;
  height: 21px;
  background: red;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.map-wrap .wrap .list ul li.list1:before {
  background: #b31f33;
}

.map-wrap .wrap .list ul li.list2:before {
  background: #00b240;
}

.map-wrap .wrap .list ul li.list3:before {
  background: #98e902;
}

.map-wrap .wrap .list ul li.list4:before {
  background: #00caa2;
}

.map-wrap .wrap .list ul li.list5:before {
  background: #0ed857;
}

.map-wrap .wrap .list ul li.list6:before {
  background: #a7aeba;
}

.form-wrap__text {
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
}

.form-wrap__text span {
  color: #6ce457;
}

.procedure {
  padding: 120px 0;
  background-color: #f5f7fa;
  position: relative;
}

.procedure .title {
  margin-bottom: 60px;
}

.procedure .wrap {
  max-width: 700px;
  margin: auto;
}

.procedure .pin-list {
  display: flex;
  flex-direction: column;
}

.procedure .pin-list li {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  padding-bottom: 50px;
  position: relative;
  padding-left: 80px;
}

.procedure .pin-list li:before {
  width: 10px;
  height: 10px;
  background: #90d285;
  border: 3px solid #fff;
  left: 50px;
  top: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.procedure .pin-list li:after {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="447" viewBox="0 0 2 447" fill="none"><path d="M1 0V447" stroke="%23DDE4EA" stroke-dasharray="4 4"/></svg>');
  width: 2px;
  position: absolute;
  height: 100%;
  left: 57px;
  top: 0;
}

.procedure .pin-list li:first-child:after {
  top: 12px;
}

.procedure .pin-list li:last-child:after {
  height: 12px;
}

.procedure .pin-list li:last-child {
  padding-bottom: 0;
}

.procedure .pin-list .marker {
  color: #3570c9;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 48px;
  display: block;
  position: absolute;
  left: 0;
  top: -6px;
  width: 24px;
  text-align: right;
}

.procedure .pin-list strong {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  display: block;
  margin-bottom: 8px;
}

.why {
  padding: 120px 15px;
}

.why .title {
  margin-bottom: 50px;
}

.why .icon-list {
  display: flex;
  gap: 30px;
  flex-direction: row;
  flex-wrap: wrap;
}

.why .icon-list li {
  background-color: #fff;
  box-shadow: 0px 5px 31px 0px rgba(39, 85, 155, 0.06);
  padding: 30px 30px 30px 115px;
  color: #454f5c;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  flex: 1 1 calc(50% - 15px);
  background-position: 30px 30px;
}

.why .icon-list strong {
  color: #2e2e2e;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  display: block;
  margin-bottom: 13px;
}

.why .item1 {
  background-image: var(--pixel);
}

.why .item2 {
  background-image: var(--pixel);
}

.why .item3 {
  background-image: var(--pixel);
}

.why .item4 {
  background-image: var(--pixel);
}

.why .item5 {
  background-image: var(--pixel);
}

.why .item6 {
  background-image: var(--pixel);
}

.payment_spain .payment {
  background-color: #f5f7fa;
  margin-top: 0;
  padding: 120px 0;
}

.payment_spain .payment__item {
  background-color: #ffffff;
}

.partner {
  position: relative;
  padding: 0 15px;
  max-width: 100%;
  margin-bottom: 120px;
}

.partner > picture img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.partner .arrow_shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(53, 112, 201, 0.75);
}

.partner .arrow_shadow:before {
  content: "";
  position: absolute;
  top: 0;
  right: -110px;
  width: 110px;
  height: 100%;
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 50%);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  background: rgba(53, 112, 201, 0.75);
}

.partner .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0 58px;
}

.partner .wrap .text {
  position: relative;
  width: 100%;
  max-width: 50%;
}

.partner .wrap .text p.head {
  font-weight: 800;
  font-size: 38px;
  line-height: 57px;
  color: #ffffff;
}

.partner .wrap .text ul {
  list-style: none;
  margin-top: 40px;
}

.partner .wrap .text ul {
  list-style: none;
  margin-top: 30px;
}

.partner .wrap .text ul li {
  padding-left: 24px;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #ffffff;
  position: relative;
}

.partner .wrap .text ul li:not(:last-child) {
  margin-bottom: 15px;
}

.partner .wrap .text ul li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #56b845;
  border-radius: 50%;
  border: 4px solid #ddeddf;
  position: absolute;
  left: 0;
  top: 5px;
  box-sizing: content-box;
}

.call-modal-partner {
  position: relative;
  font-family: "Montserrat", sans-serif;
  background: #56b845;
  box-shadow: 0px 15px 30px rgba(79, 196, 59, 0.17);
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #ffffff;
  border: none;
  width: 256px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 15px;
  margin-top: 40px;
  cursor: pointer;
}

.info_more_btn::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  background-image: url("/wp-content/themes/intworld/app/img/spain/icons/arrow_blue_btn.svg");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.faq {
  padding: 120px 0;
}

.faq .title {
  margin-bottom: 15px;
}

.faq .title-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  max-width: 440px;
  text-align: center;
  margin: 0 auto 50px;
}

.accordion-items {
  max-width: 770px;
  margin: 0 auto;
}

.accordion-items .item {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #f5f7fa;
  box-shadow: 0px 15px 30px rgba(148, 144, 144, 0.05);
  margin-bottom: 15px;
}

.accordion-items .item:last-child {
  margin-bottom: 0;
}

.accordion-items .accordion {
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;
  position: relative;
  padding: 0 100px 0 0;
  background: #ffffff;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #000000;
}

.accordion-items .accordion:before {
  content: "";
  background: url("/wp-content/themes/intworld/app/img/spain/icons/arrow_green_faq.svg")
    no-repeat 100% 100%;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.accordion-items .isOpen.accordion {
  margin-bottom: 20px;
}

.accordion-items .isOpen.accordion:before {
  transform: translateY(-50%) rotateX(180deg);
}

.accordion-items .isOpen + .panel {
  max-height: none;
}

.accordion-items .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding: 0 100px 0 0;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #000000;
}

.form-wrap_2 .wrap,
.form-wrap_3 .wrap,
.form-wrap_4 .wrap {
  padding: 82px 0;
}

.form-wrap_2,
.form-wrap_3,
.form-wrap_4 {
  height: auto;
}

.form-wrap__list li:before {
  top: 4px;
}

.form-wrap__lists {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.form-wrap_4 .form-wrap__list {
  max-width: 250px;
}

.form-wrap__list_rigth li {
  position: relative;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  color: #ffffff;
  padding-left: 24px;
  padding-bottom: 20px;
}

.form-wrap__list_rigth li:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  border-left: 4px solid #6ce457;
  position: absolute;
  height: 100%;
}

.form-wrap__list_rigth li:last-child {
  padding-bottom: 0;
}

.faq__desc {
  font-size: 16px;
  line-height: 140%;
  padding-bottom: 15px;
}

.faq__list li {
  position: relative;
  font-size: 16px;
  line-height: 140%;
  padding-left: 24px;
  padding-bottom: 7px;
}

.faq__list li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #56b845;
  border-radius: 50%;
  border: 4px solid #ddeddf;
  position: absolute;
  left: 0;
  top: 2px;
  box-sizing: content-box;
}

.call_us__social {
  display: flex;
  flex-direction: row;
}

.call_us__social a {
  display: block;
  position: relative;
  width: 60px;
  height: 60px;
}

.call_us__social a:not(:last-child) {
  margin-right: 30px;
}

.call_us__social a.tg {
  background: url("/wp-content/themes/intworld/app/img/spain/icons/telegram.svg")
    no-repeat center;
  background-size: contain;
}

.call_us__social a.wt {
  background: url("/wp-content/themes/intworld/app/img/spain/icons/whatsapp.svg")
    no-repeat center;
  background-size: contain;
}

.call_us__social a.vb {
  background: url("/wp-content/themes/intworld/app/img/spain/icons/viber.svg")
    no-repeat center;
  background-size: contain;
}

.modal-wrap .left {
  background: url(/wp-content/themes/intworld/app/img/spain/modal_spain.jpg)
    no-repeat center;
  background-size: cover;
}

.services {
  margin-bottom: 120px;
}

.services__wrap {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
}
.service {
  background: #fff;
  box-shadow: 0px 11px 22px 0px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
}

.service__title {
  background-color: #f5f7fa;
  color: #3570c9;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
  text-transform: uppercase;
  min-height: 55px;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 16px;
}

.services .list {
  margin: 16px;
}

.services .list li {
  text-align: left;
  margin-bottom: 10px;
  color: #2e2e2e;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}

.service__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #a5b3c5;
  padding-top: 30px;
  margin: auto 16px 0;
  position: relative;
  padding-bottom: 47px;
}

.service__price {
  margin-bottom: 20px;
  color: #2e2e2e;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}

.btn {
  display: flex;
  height: 56px;
  padding: 14px 44px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #56b845;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  cursor: pointer;
}

.service__info {
  color: #3570c9;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%;
  padding-left: 33px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='23' viewBox='0 0 22 23' fill='none'%3E%3Ccircle cx='11' cy='11.5' r='10.5' stroke='%233570C9'/%3E%3Cpath d='M10.0156 4.81738H11.9756L11.835 13.2988H10.1562L10.0156 4.81738ZM10.9912 17.6318C10.6689 17.6318 10.3965 17.5234 10.1738 17.3066C9.95117 17.0898 9.83984 16.8203 9.83984 16.498C9.83984 16.1758 9.95117 15.9062 10.1738 15.6895C10.3965 15.4727 10.6689 15.3643 10.9912 15.3643C11.3193 15.3643 11.5947 15.4727 11.8174 15.6895C12.04 15.9062 12.1514 16.1758 12.1514 16.498C12.1514 16.8203 12.04 17.0898 11.8174 17.3066C11.5947 17.5234 11.3193 17.6318 10.9912 17.6318Z' fill='%233570C9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 2px;
  position: absolute;
  bottom: 0px;
}

.opportunity {
  margin: 120px auto;
}

.opportunity .section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  column-gap: 60px;
}

.opportunity__img {
  width: 100%;
  height: auto;
}

.opportunity__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.opportunity .title {
  margin-bottom: 40px;
  max-width: 540px;
  text-align: left;
}

.opportunity__list li {
  font-size: 18px;
  margin-bottom: 15px;
}

.opportunity__list li:last-child {
  margin-bottom: 0;
}

.opportunity.block-2 {
  margin-top: 120px;
  padding: 120px 0;
  background-color: #f5f7fa;
}

.path_block {
  margin: 120px auto;
}

.path_block .section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 60px;
}

.path_block .title {
  text-align: left;
}

.path_block__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.path_block__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.path_block__list_top {
  background: linear-gradient(90deg, #0d4fb2 5.25%, #3f82e8 96.44%);
  backdrop-filter: blur(0.699999988079071px);
  padding: 11px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
}

.path_block__list_bottom {
  font-weight: 500;
  background: #ebeff4;
  backdrop-filter: blur(0.699999988079071px);
  padding: 16px 24px;
  text-align: center;
}

.path_block__list_top span {
  position: relative;
  font-weight: 700;
}

.path_block__list_top span::before {
  content: " ";
  position: relative;
  display: inline-block;
  background-size: contain;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background-image: url(/wp-content/themes/intworld/app/img/spain-digital/spain_2.svg);
  background-position: left center;
  background-repeat: repeat-x;
}

.path_block__item_1 span::before {
  width: 20px;
  margin-right: 1px;
}

.path_block__item_2 span::before {
  width: 40px;
  margin-right: 2px;
}

.path_block__item_3 span::before {
  width: 60px;
  margin-right: 3px;
}
