body {
    color: #0D0F10;
}
.container {
    max-width: 1182px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 90px 0 112px;
}
.bg_gray {
    background-color: #F8F8F8;
}
  
.btn {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    padding: 10px 37px;
    border-radius: 53px;
    transition: background-color 0.2s ease-in-out;
    background-color: #0D85FF;
    color: #fff;
    display: inline-block;
    border: none;
    text-align: center;
    border: 2px solid #0D85FF;
}

@media (hover: hover) {
  .btn:hover {
    background-color: #006cd9;
    color: #fff;
    text-decoration: none;
  }
  .tabs_btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
  }
  .toggle-btn:hover {
    background: #F8F8F9;
  }
}

.btn_long {
  padding: 13px 37px;
  min-width: 400px;
  font-size: 24px;
}

.btn-block {
  gap: 24px;
  display: flex;
  align-items: center;
}

.has_border {
  background: none;
  color: #0D85FF;
}

.header {
    padding: 16px 0;
    background: url("../../img/franchising/header-bg.webp") no-repeat center center/cover;
    position: relative;
}
.header:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 231px;
    height: 298px;
    background: url("../../img/franchising/header-decor.png") no-repeat;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}
.page_title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0 0 0 24px;
    margin: 0 0 0 14px;
}
.page_title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #fff;
}

#otp_nav_language_item {
  margin-left: auto;
  margin-right: 32px;
}

.header .title {
    flex-grow: 1;
    padding: 94px 0 72px;
}
  
.main_title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: 3px;
    text-transform: uppercase;
    max-width: 800px;
    margin: 0 0 30px;
}

.second_title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: 0.3px;
    margin: 0 0 30px;
}

.second_title--with-limit-with {
  max-width: 865px;
}

.finance .second_title{
  margin: 0 0 76px;
}

.finance__list {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.finance__value strong {
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.finance__value span {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
    margin-left: 5px;
}
.finance__desc {
    font-size: 17px;
    font-weight: 500;
    line-height: 135%;
}

.operators {
    background-color: #F8F8F9;
}

.operators .wrap {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 42px 0 14px;
}

.operators_list {
    min-width: 150px;
    position: relative;
}

.operators_decor {
  position: relative;
  z-index: 10;
  flex-grow: 1;
}

.operators_decor:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: url("../../img/franchising/decor.png") no-repeat center center;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.operators_list li{
    padding: 0 0 47px;
}
.operators_list li:last-child{
  padding: 0;
}
.counties_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px 18px;
    position: relative;
}
.counties_lis_wrap{
    background: url("../../img/franchising/countries_bg.png") no-repeat top right;
    display: flex;
    align-items: center;
    max-width: 57%;
}
.counties_list li {
    position: relative;
    z-index: 1;
}

.counties_list li .item {
    background-color: #FFD839;
    padding: 25px 31px;
    border-radius: 106px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tour_operators_list {
    display: grid;
    gap: 76px 101px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    padding: 73px 0 0;
}

.tour_operators_list li {
    display: flex;
    align-items: center;
}

.why_tat {
    background-color: #F8F8F9;
}

.why_tat_holder {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 43px 0 0;
}

.why_tat_list {
  display: grid;
  grid-template-columns: minmax(0, 374px) minmax(0, 320px) minmax(0, 374px);
    gap: 50px;
  list-style: none;
  padding: 44px 0 0;
  margin: 0;
}

.why_tat_list li {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: 0.2px;
}

.why_tat_list li img {
    display: block;
    margin: 0 0 13px;
}

.why_tat_list li b {
    display: block;
}

.advantages_card .second_title {
    text-transform: uppercase;
}

.advantages p {
    margin: 0 0 81px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: 0.2px;
    text-align: center;
}

.advantages_card {
    background: url("../../img/franchising/card-bg.png") no-repeat center center/cover;
    padding: 85px 50px 60px;
    text-align: center;
    border-radius: 56px;
    max-width: 1104px;
    margin: 0 auto;
}

.advantages_card .second_title{
  margin: 0 0 36px;
}

.models-grid {
    display: flex;
    padding: 0 0 30px;
    gap: 0 30px;
}

.cooperation_models  {
    background: url("../../img/franchising/bg-green.webp") no-repeat center center/cover;
}

.cooperation_models  .container{
  max-width: 1312px;
}

.tabs {
  padding: 46px 0 0;
}

.helping_box {
  border-radius: 56px;
  background: rgba(47, 79, 27, 0.12);
  padding: 40px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 30px
}

.helping_box p {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: 0.2px;
}

.tabs_content {
  padding: 0 0 0 33px;
}

.models_description {
    background-color: #fff;
    border-radius: 16px;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12), 0px 3px 1px 0px rgba(0, 0, 0, 0.04);
    padding: 23px 20px;
    text-align: center;
    max-width: 333px;
}

.models_description li,
.models_criteria li {
    padding: 24px 5px;
    min-height: 104px;
    border-bottom: 1px solid #DDDEE0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.two-col {
  
  flex-wrap: wrap;
}

.models_description li:last-child,
.models_criteria li:last-child {
    border: none;
}

.models_lable {
    font-size: 17px;
    font-weight: 700;
    line-height: 135%;
    border-radius: 24px;
    background: #FFD839;
    padding: 8px 16px;
    display: block;
    margin: 0 0 14px;
}

.models_title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

.models_description img {
    margin: 0 0 10px;
}

.models_description .col {
    flex-basis: 50%;
    padding: 0 10px;
    border-radius: 16px;
    background: #F8F8F9;
}

.models_criteria li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    justify-content: flex-start;
    padding: 32px 0;
}

.models_description li:first-child,
.models_criteria li:first-child {
  border-bottom: none;
}
.models_description li.head_ul,
.models_criteria li.head_ul {
  padding: 20px 5px;
}

.has_bg {
  background: #F8F8F9;
}

.has_border_radius {
  border-radius: 16px;
}

.has_rows {
  flex-direction: column;
}
.models_criteria {
  width: 185px;
  flex-shrink: 0;
  padding: 23px 0;
}

.through {
  text-decoration-line: line-through;
  color: #7A8085;
}

.models_description .no_border {
  border-bottom: none;
}

.border_radius_top {
  border-radius: 16px 16px 0 0;
}

.border_radius_bottom {
  border-radius:  0 0 16px 16px;
}
.tabs_nav {
    background-color: #b4e291;
    border-radius: 40px;
    padding: 2px;
  }
  
  button.tabs_btn {
    padding: 15px 14px;
    border-radius: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: #121212;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-radius: 60px;
    flex-grow: 1;
    width: auto;
    height: auto;
}

.tabs_btn:not(.swiper-pagination-bullet-active):not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  border-radius: 0.5px;
  opacity: 0.3;
  background: #8E8E93;
  transform: translateY(-50%);
}
  
.tabs_btn.swiper-pagination-bullet-active {
    background-color: #fff;
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12), 0px 3px 1px 0px rgba(0, 0, 0, 0.04);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.tags_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 32px;
}

.tags_list span {
  display: block;
  border-radius: 16px;
  background: #F2F2F2;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  padding: 12px 14px;
  border: 1px solid #DDDEE0;
}

.explanation {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0 0 80px;
}

@media screen and (max-width: 767px) {
  .explanation {
    text-align: left;
    padding: 0 0 40px;
  }
  
}

  .features-block {
    margin-bottom: 57px;
  }

  .features-block:last-child {
    margin-bottom: 0;
  }

  .features-block h3 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.17; 
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 14px;
  }

  .features-block p {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 33px;
  }

  .features-section {
    overflow: hidden;
  }

  .features-content {
    padding: 47px 0;
  }

  .features-block .image_holder {
    position: relative;
  }

  .features-block .image_holder img {
    position: relative;
    z-index: 1;
  }

  .features-block .decor:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 74px;
    top: 58px;
    border-radius: 206px 16px;
    transform: scaleX(1.1);
  }

  .features-block .decor.purple:after {
    background: #9603C7;
  }

  .features-block .decor.green:after {
    background: #4EDB95;
  }

  .features-block .decor.yellow:after {
    background: #FCC005;
  }

  .finance.bg_gray .finance__list {
    margin: 0 0 60px;
  }

  .gallery_section {
    max-width: 1512px;
    margin: 0 auto;
  }

  .image_swiper {
    padding: 42px 0 0;
  }

  .gallery_section .second_title {
    max-width: 100%;
  }

  .contact_us .container {
    max-width: 1308px;
  }

  .contact_us .second_title {
    margin: 0 0 8px;
  }

  .subtitle {
    font-size: 24px;
  }

  .contact_us_holder {
    border-radius: 56px;
    border: 0.5px solid rgba(0, 0, 0, 0.10);
    background: #F8F8F8;
    padding: 109px 112px 64px ;
    text-align: center;
    position: relative;
  }

  .contact_us_holder p{
    margin: 0 0 30px;
  }
.contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 79px;
    padding: 35px 0 0;
}

.contact-name {
  margin: 0 0 15px;
}

.contact-phone {
  font-size: 19px;
  display: inline-block;
  margin: 0 0 16px;
}

.contact_us_holder .phone_icon {
    display: flex;
    width: 156px;
    height: 156px;
    align-items: center;
    justify-content: center;
    border-radius: 75px;
    border: 0.5px solid rgba(0, 0, 0, 0.10);
    background: #F8F8F8;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50% );
}

.contact-list .contact-photo{
    width: 128px;
    height: 128px;
    border-radius: 100%;
    overflow: hidden;
    margin: 0 0 20px ;
}

.contact-links {
    display: flex;
    gap: 10px;
    font-size: 17px;
    justify-content: center;
}

.contact-link {
  display: inline-block;
}

.contact-links img{
    display: inline-block;
    margin: 0 0 12px;
}

.contact-links span {
    display: block;
}
 
@media (max-width: 1200px) {
  .why_tat_list {
    gap: 62px 54px;
  }
}
.tabs_nav_holder {
  display: none;
}

@media (max-width: 1024px) {

  .models_criteria {
    width: 120px;
  }
  .photo_swiper_mobile {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .photo_swiper_mobile .swiper-slide {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
  }

  .photo_swiper_mobile .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .photo_swiper .swiper-wrapper {
    align-items: center;
  }

  .contact_us_holder{
    padding: 109px 38px 64px;
  }

  .tabs_content{
    padding: 0 0 0 10px;
  }

  .contact-list {
    justify-content: center;
  }

  .contact-card {
    padding: 0 20px 30px;
  }

  .models-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .tabs_nav {
    font-size: 17px;
    width: 100%;
    display: flex;
    
  }

  .models_description {
    max-width: 100%;
  }

  .tabs_nav_holder {
    position: sticky;
    padding: 10px;
    top: 0;
    z-index: 10;
    margin: 0 -10px 30px;
    display: block;
  }

  .tabs_nav_holder.is-sticky {
    background: #B8E69A;
  }

  .desktop {
    display: none;
  }
}

@media (max-width: 900px) {
  .finance.bg_gray .finance__list {
    gap: 16px 0;
  }
  .finance.bg_gray .finance__list .finance__item {
    width: 50%;
  }
}

@media (min-width: 1025px) {
  .photo_swiper {
    padding: 0 16px;
    margin-top: 79px;
  }
  .photo_swiper .wrapper {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .row {
    gap: 26px;
  }
  
  .row_first {
    display: flex;
  }

  .row_first .slide{
    flex-basis: 497px;
  }

  .row_first .slide.smallest {
    flex-basis: 432px;
  }
  
  .row_second {
    display: grid;
    grid-template-columns: minmax(100px, 439px) minmax(100px, 521px) minmax(100px, 466px);
  }
    
  .photo_swiper .wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 17px;
  }

  .photo_swiper_mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  #otp_nav_language_item {
    margin-right: 0;
  }
  .header .btn-block {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 18px 0;
  }
}


@media (max-width: 768px) {

  .main_title {
    font-size: 32px;
    line-height: 1.17;
  }

  .second_title {
    font-size: 24px;
    line-height: 1.2;
  }

  .btn_long {
    min-width: unset;
    max-width: 312px;
    margin: 0 auto;
    padding: 11px 30px;
    border-radius: 32px;
    font-size: 17px;
    width: 100%;
  }

  .logo {
    width: 73px;
  }

  .header {
    padding: 27px 0 32px;
  }

  .header .title {
    order: 2;
    padding: 31px 0 0px;
  }

  

  .section {
    padding: 49px 0 64px;
  }

  .finance__value strong {
    font-size: 48px;
  }

  .finance .second_title {
    margin: 0 0 33px;
  }

  .finance__list {
    gap: 46px;
  }

  .operators .wrap {
    flex-direction: column;
    padding: 14px 0 14px;
  }

  .operators .wrap img {
    transform: scale(.8);
  }

  .operators_list li {
    padding: 0;
    height: 72px;
  }

  .operators_list {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .operators_decor {
    height: 66px;
    margin: 0 auto;
    width: 100%;
  }

  .operators_decor:after {
    transform: rotate(90deg) translate(-50%, -50%);
    transform-origin: 0 0;
    width: 66px;
    height: 343px;
    background-size: contain;
  }

  .counties_list {
    gap: 14px 12px;
  }

  .counties_lis_wrap{
    max-width: 100%;
    background-position: center;
  }

  .operators {
    overflow: hidden;
  }

  .counties_list li .item {
    padding: 15px 14px;
    font-size: 19px;

  }

  .counties_list li[data-country-name="belgium"] {
    order: 2;
  }
  .counties_list li[data-country-name="germany"] {
    order: 3;
  }
  .counties_list li[data-country-name="poland"] {
    order: 4;
  }
  .counties_list li[data-country-name="czech_republic"] {
    order: 5;
  }
  .counties_list li[data-country-name="slovakia"] {
    order: 6;
  }
  .counties_list li[data-country-name="moldova"] {
    order: 7;
  }
  .counties_list li[data-country-name="austria"] {
    order: 8;
  }
  .counties_list li[data-country-name="hungary"] {
    order: 9;
  }
  .counties_list li[data-country-name="romania"] {
    order: 10;
  }
  .counties_list li[data-country-name="bulgaria"] {
    order: 11;
  }
  .counties_list li[data-country-name="contents"] {
    order: 12;
  }

  .tour_operators_list {
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .tour_operators_list li {
    min-height: 90px;
  }
  .tour_operators_list li img {
    transform: scale(.8);
  }

  .why_tat_list li {
    font-size: 17px;
    line-height: 1.35;
  }

  .why_tat_list li strong{
    display: inline;
  }

  .why_tat_list {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    list-style: none;
    padding: 0;
  }

  
  .why_tat_list li {
    padding: 0;
    border-radius: 8px;
  }

  .advantages_card {
    padding: 51px 14px 32px;
    border-radius: 35px;
  }

  .advantages_card .btn {
    font-size: 17px;
    line-height: 1.35;
  }

  .advantages p {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 32px;
  }

  .advantages_card .second_title {
    font-size: 28px;
    letter-spacing: 2px;
    margin: 0 0 28px
  }

  .tabs {
    padding: 3px 0 0;
    position: relative;
  }

  .tabs_content {
    display: none;
  }

  .models-grid {
    padding: 0 0 30px;
    gap: 0 16px;
  }

  .models_description .col {
    padding: 0;
  }

  .tabs_content.active {
    display: block;
  }

  .models_criteria {
    width: 114px;
  }

  .models_criteria li {
    padding: 20px 0;
  }

  .models_description li, .models_criteria li {
    font-size: 15px;
  }

  .models_title {
    display: none;
  }

  .models_description {
    max-width: 100%;
    box-shadow: none;
  }

  .models_criteria li:first-child,
  .models_description li:first-child {
    background: none;
    padding: 0;
    height: auto !important;
  }

  .helping_box p {
    font-size: 17px;
  }

  .helping_box {
    border-radius: 32px;
    gap: 25px;
    padding: 40px 14px 32px;
  }

  .features-block {
    padding: 0;
    margin: 0 0 77px;
  }

  .features-content {
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .features-block h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 1px;
  }

  .features-block p {
    margin: 0 0 26px;
  }

  .features-block .decor:after {
    content: "";
    position: absolute;
    bottom: -10px;
    top: 16px;
    border-radius: 16px 4px;
    transform: scaleX(1.05);
  }

  .tags_list {
    order: 4;
    border-radius: 16px;
    background: #F2F2F2;
    gap: 16px;
    padding: 16px;
  }

  .tags_list span{
    padding: 0;
    border: none;
  }

  .features-block .image_holder {
    order: 3;
    margin: 0 0 24px;
  }

  .finance {
    background: none;
  }

  .gallery_section {
    padding: 0 0 34px;
    text-align: left;
  }

  .image_swiper {
    padding: 0;
  }

  .contact_us_holder .phone_icon {
    width: 112px;
    height: 112px;
  }

  .contact_us_holder {
    border-radius: 16px;
    padding: 91px 8px 64px;
  }

  .subtitle {
    font-size: 17px;
  }

  .photo_swiper_mobile .swiper-slide {
    height: 300px;
  }

  .contact-list .contact-photo {
    margin: 0 auto 24px;
  }

  .contact-list {
    justify-content: center;
    padding: 20px 0 0;
    margin: 0;
  }
  .contact-card {
    width: 50%;
    padding: 0 0 58px;
  }

  .contact-name {
    font-size: 24px;
  }

  .contact_us_holder .btn {
    font-size: 17px;
    line-height: 1.35;
  }

}

@media screen and (max-width: 374px) {
  .models_description .col {
    flex-basis: 100%;
  }

  .page_title{
    padding: 0 0 0 14px;
  }
}