.franchise-page section {
  padding: 60px 0;
}

.franchise-page .page-hero {
  padding: 0;
}

.franchise-about {
  background: #ffffff;
  padding-top: 22px !important;
  padding-bottom: 80px !important;
}

.franchise-about__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.franchise-about__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.franchise-about__text .heading__title-text {
  text-align: left;
}

.franchise-about__desc {
  font-family: "Tahoma", sans-serif;
  font-size: 15px;
  line-height: 26px;
  color: #555555;
  margin: 0 0 28px;
}

.franchise-about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 44px;
  background: transparent;
  color: #D71921;
  border: 1px solid #D71921;
  border-radius: 80px;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.franchise-about__cta:hover {
  background: #D71921;
  color: #ffffff;
}

.franchise-about__media {
  flex-shrink: 0;
  width: 480px;
}

.franchise-about__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.franchise-process {
  background: #ffffff;
  padding: 80px 0 !important;
  overflow: hidden;
}
.franchise-process__header {
  text-align: center;
  margin-bottom: 70px;
}
.franchise-process__title {
  font-family: "Grab Community", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  color: #2B2B3D;
  margin: 0;
}
.franchise-process__title span {
  color: #D71921;
}
.franchise-process__layout {
  display: grid;
  grid-template-columns: 240px 504px 240px;
  grid-template-rows: 54px 342px 54px;
  gap: 20px 16px;
  align-items: center;
  justify-content: center;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
}
.franchise-process__step-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.franchise-process__step-item:hover {
  transform: translateY(-2px);
}
.franchise-process__step-item--left {
  margin-left: 60px;
  margin-right: -60px;
}
.franchise-process__step-item--right {
  margin-right: 60px;
  margin-left: -60px;
}
.franchise-process__step-item--middle {
  margin-left: 0;
  margin-right: 0;
}
.franchise-process__step-item--middle.franchise-process__step-item--left {
  padding-right: 22px;
}
.franchise-process__step-item--middle.franchise-process__step-item--right {
  padding-left: 22px;
}
.franchise-process__step-icon-mobile {
  display: none;
  /* Desktop only */
}
.franchise-process__step-title {
  font-family: "Arial", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #D71921;
  margin: 0 0 10px;
}
.franchise-process__step-desc {
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #555555;
  margin: 0 auto;
  max-width: 260px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.franchise-process__center-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.franchise-process__hexagon-container {
  position: relative;
  width: 504px;
  height: 436px;
  filter: drop-shadow(0 15px 35px rgba(215, 25, 33, 0.15));
}
.franchise-process__hexagon-outer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffd8d8 0%, #ffabab 100%);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.franchise-process__hexagon-inner {
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: linear-gradient(180deg, #fff5f5 0%, #fff0f0 50%, #fde8e8 100%);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.franchise-process__img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: top center;
  display: block;
}
.franchise-process__circle {
  position: absolute;
  width: 54px;
  height: 54px;
  background: #D71921;
  color: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  z-index: 4;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(215, 25, 33, 0.3);
}
.franchise-process__circle:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 22px rgba(215, 25, 33, 0.45);
}
.franchise-process__circle--1 {
  top: -27px;
  left: 99px;
}
.franchise-process__circle--2 {
  top: 191px;
  left: -27px;
}
.franchise-process__circle--3 {
  bottom: -27px;
  left: 99px;
}
.franchise-process__circle--4 {
  top: -27px;
  right: 99px;
}
.franchise-process__circle--5 {
  top: 191px;
  right: -27px;
}
.franchise-process__circle--6 {
  bottom: -27px;
  right: 99px;
}

.franchise-partners__header {
  margin-bottom: 28px;
}

.franchise-partners__subtitle {
  font-family: "Tahoma", sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #888888;
  margin: 0;
}

.franchise-partners__logos .owl-item img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}
.franchise-partners__logos .owl-item img:hover {
  filter: grayscale(0);
}

.franchise-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.franchise-advantages {
  background: #fff3f1;
  position: relative;
  overflow: hidden;
}
.franchise-advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 243, 241, 0), rgba(254, 229, 230, 0.5));
  pointer-events: none;
}
.franchise-advantages__title {
  text-align: center;
  margin-bottom: 3rem;
}

.franchise-advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.franchise-advantages__row {
  display: flex;
  justify-content: center;
  gap: 21px;
}

.franchise-advantages__card {
  position: relative;
  flex: 0 0 calc((100% - 42px) / 3);
  max-width: calc((100% - 42px) / 3);
  min-height: 300px;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 2px rgba(198, 198, 198, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.franchise-advantages__card:hover {
  box-shadow: 0 6px 24px rgba(215, 25, 33, 0.12);
  transform: translateY(-4px);
}

.franchise-advantages__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Grab Community", sans-serif;
  font-size: 183px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(215, 25, 33, 0.08);
  pointer-events: none;
  user-select: none;
}

.franchise-advantages__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff3f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 3px rgba(198, 198, 198, 0.4);
  position: relative;
  z-index: 1;
}
.franchise-advantages__icon i {
  font-size: 28px;
  color: #D71921;
}

.franchise-advantages__card-title {
  font-family: "Arial", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #2B2B3D;
  margin: 0;
  position: relative;
  z-index: 1;
}

.franchise-advantages__card-desc {
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #666666;
  margin: 0;
  position: relative;
  z-index: 1;
}

.franchise-timeline {
  --timeline-top-height: 70px;
  --timeline-axis-height: 16px;
  --timeline-year-height: 52px;
  --timeline-frame-width: 1324px;
  background: #ffffff;
  overflow: hidden;
  padding: 60px 0 20px !important;
}
.franchise-timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.franchise-timeline__head .heading__title-text {
  margin: 0;
  text-align: left;
}
.franchise-timeline__title {
  font-family: "Grab Community", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-transform: uppercase;
  color: #2B2B3D;
  margin: 0;
  text-align: left;
}
.franchise-timeline__title span {
  color: #D71921;
}
.franchise-timeline__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.franchise-timeline__nav-btn {
  background: #ffffff;
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}
.franchise-timeline__nav-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
}
.franchise-timeline__nav-btn {
  box-shadow: 1px 2px 4px rgba(198, 198, 198, 0.4);
}
.franchise-timeline__nav-btn i {
  font-size: 1rem;
  color: #2B2B3D;
  transition: color 0.2s ease;
}
.franchise-timeline__nav-btn:hover {
  background-color: #D71921;
}
.franchise-timeline__nav-btn:hover i {
  color: #ffffff;
}
.franchise-timeline__viewport {
  position: relative;
  width: min(100%, var(--timeline-frame-width));
  margin: 0 auto;
  overflow: hidden;
}
.franchise-timeline__carousel {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.franchise-timeline__carousel .owl-stage-outer {
  overflow: hidden;
}
.franchise-timeline__item {
  position: relative;
  display: grid;
  grid-template-rows: var(--timeline-top-height) var(--timeline-axis-height) auto;
  width: 300px;
  min-height: 310px;
  padding-left: 24px;
  text-align: left;
}
.franchise-timeline__item::before {
  content: "";
  position: absolute;
  top: var(--timeline-year-height);
  bottom: 0;
  left: 0;
  width: 1px;
  background: #b7b7b7;
  z-index: 1;
}
.franchise-timeline__top {
  grid-row: 1;
  position: relative;
}
.franchise-timeline__year-label {
  height: var(--timeline-year-height);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: max-content;
  transform: translateX(-84%);
  font-family: "Arial", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 26px;
  color: #D71921;
}
.franchise-timeline__axis {
  grid-row: 2;
  position: relative;
  width: 324px;
  height: var(--timeline-axis-height);
  margin-left: -24px;
  background-image: repeating-linear-gradient(to right, #b7b7b7 0, #b7b7b7 1px, transparent 1px, transparent 12px);
}
.franchise-timeline__line {
  display: none;
}
.franchise-timeline__dot {
  position: absolute;
  left: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D71921;
  transform: translateX(-50%);
  z-index: 2;
}
.franchise-timeline__body {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 270px;
  padding-top: 24px;
}
.franchise-timeline__content {
  min-height: 106px;
}
.franchise-timeline__year {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: "Arial", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: #2B2B3D;
  margin-bottom: 1px;
}
.franchise-timeline__star {
  color: #D71921;
  font-size: 14px;
  line-height: 1;
}
.franchise-timeline__event {
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #161a45;
  margin: 0;
}
.franchise-timeline__media {
  overflow: hidden;
  border-radius: 80px 0 80px 0;
  background: #F1F1F1;
}
.franchise-timeline__image {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.franchise-timeline__image:hover {
  transform: scale(1.04);
}
.franchise-timeline__item--first::before,
.franchise-timeline__item--first .franchise-timeline__year-label,
.franchise-timeline__item--first .franchise-timeline__line,
.franchise-timeline__item--first .franchise-timeline__dot {
  visibility: hidden;
}

.franchise-news {
  padding: 3.75rem 0;
}
.franchise-news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.franchise-news__nav {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  pointer-events: none;
}
.franchise-news__nav-btn {
  background: #ffffff;
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}
.franchise-news__nav-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
}
.franchise-news__nav-btn {
  box-shadow: 1px 2px 4px 0 rgba(198, 198, 198, 0.4);
  pointer-events: auto;
}
.franchise-news__nav-btn i {
  font-size: 1rem;
  color: #2B2B3D;
}
.franchise-news__nav-btn:hover {
  background-color: #D71921;
}
.franchise-news__nav-btn:hover i {
  color: #ffffff;
}
.franchise-news__carousel .owl-stage {
  display: flex;
  padding-top: 0.5rem;
}
.franchise-news__carousel .owl-item {
  height: auto;
}
.franchise-news__carousel .owl-item > .event-card {
  height: 100%;
}

.franchise-contact .form-contact__intro .form-contact__badge {
  background: #fff0f0;
  color: #D71921;
}

@media (max-width: 1199px) {
  .franchise-about__media {
    width: 380px;
  }
  .franchise-about__img {
    height: 360px;
  }
  .franchise-process__layout {
    grid-template-columns: 180px 360px 180px;
    grid-template-rows: 48px 234px 48px;
    gap: 15px 14px;
  }
  .franchise-process__step-item--middle.franchise-process__step-item--left {
    padding-right: 18px;
  }
  .franchise-process__step-item--middle.franchise-process__step-item--right {
    padding-left: 18px;
  }
  .franchise-process__hexagon-container {
    width: 360px;
    height: 312px;
  }
  .franchise-process__circle {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .franchise-process__circle--1 {
    top: -24px;
    left: 66px;
  }
  .franchise-process__circle--2 {
    top: 132px;
    left: -24px;
  }
  .franchise-process__circle--3 {
    bottom: -24px;
    left: 66px;
  }
  .franchise-process__circle--4 {
    top: -24px;
    right: 66px;
  }
  .franchise-process__circle--5 {
    top: 132px;
    right: -24px;
  }
  .franchise-process__circle--6 {
    bottom: -24px;
    right: 66px;
  }
  .franchise-process__step-desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}
@media (max-width: 1199px) {
  .franchise-advantages__card {
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
  .franchise-advantages__row {
    gap: 16px;
  }
  .franchise-advantages__grid {
    gap: 16px;
  }
}
@media (max-width: 991px) {
  .franchise-page section {
    padding: 48px 0;
  }
  .franchise-about__inner {
    flex-direction: column;
    gap: 36px;
  }
  .franchise-about__media {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .franchise-about__img {
    height: 320px;
  }
  .franchise-process__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
  }
  .franchise-process__step-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0e8e8;
    margin: 0 !important;
    text-align: left;
  }
  .franchise-process__step-item--left, .franchise-process__step-item--right {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .franchise-process__step-item:last-of-type {
    border-bottom: none;
  }
  .franchise-process__step-icon-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #D71921;
    color: #ffffff;
    border-radius: 50%;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(215, 25, 33, 0.2);
  }
  .franchise-process__step-icon-mobile img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .franchise-process__step-text {
    flex: 1;
    min-width: 0;
  }
  .franchise-process__step-title {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  .franchise-process__step-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .franchise-process__center-wrapper {
    order: -1;
    display: flex;
    justify-content: center;
    min-height: auto;
    margin-bottom: 28px;
  }
  .franchise-process__hexagon-container {
    width: 220px;
    height: 196px;
  }
  .franchise-process__circle {
    display: none;
  }
  .franchise-process__step-item--middle {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .franchise-advantages__row {
    flex-wrap: wrap;
  }
  .franchise-advantages__card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .franchise-advantages__row--bottom {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .franchise-process__hexagon-container {
    width: 180px;
    height: 160px;
  }
  .franchise-process__step-title {
    font-size: 14px;
  }
  .franchise-timeline {
    --timeline-top-height: 64px;
  }
  .franchise-timeline__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }
  .franchise-timeline__title {
    font-size: 20px;
    line-height: 30px;
  }
  .franchise-timeline__item {
    min-height: 304px;
  }
  .franchise-timeline__year-label {
    font-size: 28px;
  }
  .franchise-advantages__card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  .franchise-news {
    padding: 2.5rem 0;
  }
  .franchise-news__header {
    padding-right: 5.5rem;
  }
  .franchise-news__nav-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}
@media (max-width: 767px) {
  .franchise-news {
    padding: 2rem 0;
  }
  .franchise-news__header {
    padding-right: 0;
    margin-bottom: 1.25rem;
  }
  .franchise-news__nav-btn {
    width: 2rem;
    height: 2rem;
  }
  .franchise-news__nav-btn i {
    font-size: 0.875rem;
  }
}
