.franchise-page {
  font-family: 'Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Helvetica Neue', sans-serif;
}

.franchise-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Welcome Block Hero Section */
.franchise-page .welcome-block-container {
  padding: 0 30px;
  margin: 0 auto;
}

@media (min-width: 1280px) {
  .franchise-page .welcome-block-container {
    max-width: 1592px;
  }
}

@media (max-width: 991px) {
  .franchise-page .welcome-block-container {
    padding: 0;
  }
}

.franchise-page .welcome-block {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  z-index: 1;
  padding: 30px 0;
  border-radius: 16px;
  margin-bottom: 64px;
  margin-top: 30px;
}

.franchise-page .franchise-hero-banner {
  background: #000000 url('/img/franchise/hero-sushi.png') no-repeat right center;
  background-size: auto 100%;
}

@media (min-width: 1500px) {
  .franchise-page .welcome-block .backdrop {
    display: none;
  }
}

.franchise-page .welcome-block .backdrop {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: -1;
  border-radius: 15px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
}

@media (max-width: 991px) {
  .franchise-page .welcome-block {
    padding: 15px 0;
    margin: 15px;
    border-radius: 15px;
    margin-bottom: 60px;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .franchise-page .welcome-block {
    margin: 15px;
    border-radius: 15px;
    margin-bottom: 60px;
    overflow: hidden;
    text-align: center;
  }

  .franchise-page .franchise-hero-banner {
    background: #000000;
  }

  .franchise-page .welcome-block .backdrop {
    background: none;
  }

  .franchise-page .welcome-image-mobile {
    position: relative;
    margin-bottom: -70px;
    top: -50px;
    z-index: -1;
    border-radius: 15px;
    width: 100%;
    height: auto;
  }
}

.franchise-page .welcome-block h1,
.franchise-page .welcome-block h2,
.franchise-page .welcome-block h3,
.franchise-page .welcome-block p {
  color: #fff;
}

.franchise-page .welcome-block .content-title {
  margin-bottom: 10px;
  font-size: 60px;
  line-height: 70px;
  font-weight: 700;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 800px) {
  .franchise-page .welcome-block .content-title {
    font-size: 32px !important;
    line-height: 40px !important;
    width: 100%;
  }
}

.franchise-page .welcome-block .content-block {
  display: flex;
  min-height: 608px;
  padding-left: 80px;
  margin: 0;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

@media (max-width: 767px) {
  .franchise-page .welcome-block .content-block {
    min-height: initial;
    justify-content: start;
    padding: 15px 15px 0;
  }
}

.franchise-page .welcome-block .content-text {
  max-width: 500px;
  margin-bottom: 0;
  color: #d0d0d0;
  font-size: 27px;
  line-height: 1.5;
}

@media (max-width: 1300px) {
  .franchise-page .welcome-block .content-text {
    max-width: 394px;
  }
}

@media (max-width: 991px) {
  .franchise-page .welcome-block .content-text {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .franchise-page .welcome-block .content-text {
    max-width: 270px;
    width: 100%;
    margin-bottom: 30px;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Contact Section */
.franchise-contact {
  background: linear-gradient(90deg, #b3e5fc 0%, #e0f7fa 20%, #f0f4c3 80%, #fff9c4 100%);
  padding: 50px 0 60px;
  text-align: center;
}

.franchise-contact__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 13px 0;
  color: rgba(29, 29, 29, 1);
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 800px) {
  .franchise-contact__title {
    font-size: 18px;
  }
}

.franchise-contact__phone {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: rgba(7, 31, 119, 1);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 20px;
}

.franchise-contact__phone:hover {
  color: rgba(7, 31, 119, 0.8);
}

.franchise-contact__email {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: rgba(7, 31, 119, 1);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-contact__email:hover {
  color: rgba(7, 31, 119, 0.8);
}

/* About Section */
.franchise-about {
  background: white;
  padding: 60px 0;
}

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

.franchise-about__image {
  flex: 0 0 400px;
}

.franchise-about__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.franchise-about__content {
  flex: 1;
}

.franchise-about__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a2e;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-about__description {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* History Section */
.franchise-history {
  padding: 60px 0;
}

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

.franchise-history__content {
  flex: 1;
}

.franchise-history__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a2e;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-history__description {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.franchise-history__image {
  flex: 0 0 400px;
}

.franchise-history__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Stats Section */
.franchise-stats {
  background-color: #071f77;
  background-image: linear-gradient(90deg, #071f77 0%, #05185b 50%, transparent 100%),
    url('/img/franchise/map.png');
  background-position: left center, right top;
  background-repeat: no-repeat, no-repeat;
  background-size: 60% 100%, auto 125%;
  color: white;
  padding: 101px 0;
  position: relative;
}

.franchise-stats .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.franchise-stats__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 550px;
}

.franchise-stats__item {
  text-align: left;
}

.franchise-stats__number {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: rgba(236, 224, 16, 1);
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
}

.franchise-stats__label {
  font-size: 20px;
  line-height: 1.4;
  color: white;
}

@media (max-width: 991px) {
  .franchise-stats .container {
    padding: 0 20px;
  }

  .franchise-stats__items {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  .franchise-stats__label {
    font-size: var(--p-font-size);
  }
}

/* Benefits Section */
.franchise-benefits {
  background: rgba(248, 249, 252, 1);
  padding: 60px 0;
}

.franchise-benefits__title {
  font-size: 32px;
  line-height: 60px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px 0;
  color: #1a1a2e;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-benefits__subtitle {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: #666;
  margin: 0 auto 60px auto;
  max-width: 800px;
}

.franchise-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 991px) {
  .franchise-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (max-width: 800px) {
  .franchise-benefits__grid {
    grid-template-columns: 1fr;
  }
}

.franchise-benefits__item {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 8px 8px 16px 0px rgba(117, 118, 132, 0.15);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.franchise-benefits__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.franchise-benefits__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 31, 119, 1);
  border-radius: 50%;
  flex-shrink: 0;
}

.franchise-benefits__icon img {
  width: 100%;
  height: 100%;
}

.franchise-benefits__item-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-benefits__item-description {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(29, 29, 29, 0.5);
  margin: 12px 0 0 0;
}

/* Requirements Section */
.franchise-requirements {
  padding: 60px 0;
}

.franchise-requirements .container {
  text-align: center;
}

.franchise-requirements__title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px 0;
  color: #1a1a2e;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-requirements__image {
  margin: 0 auto 40px auto;
  max-width: 500px;
}

.franchise-requirements__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.franchise-requirements__description {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin: 0 auto;
  max-width: 700px;
}

/* CTA Section */
.franchise-cta {
  background: linear-gradient(90deg, #b3e5fc 0%, #e0f7fa 20%, #f0f4c3 80%, #fff9c4 100%);
  padding: 60px 0;
  text-align: center;
}

.franchise-cta__title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a2e;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-cta__description {
  font-size: 24px;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: rgba(2, 2, 2, 1);
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.franchise-cta__phone {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: rgba(7, 31, 119, 1);
  text-decoration: underline;
  margin: 0 0 25px 0;
  transition: color 0.3s ease;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-cta__phone:hover {
  color: rgba(7, 31, 119, 0.8);
}

.franchise-cta__email {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: rgba(7, 31, 119, 1);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-family: 'Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.franchise-cta__email:hover {
  color: rgba(7, 31, 119, 0.8);
}

.franchise-contact__email {
  margin-bottom: 5px;
}

.franchise-cta__email {
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 800px) {
  .franchise-about,
  .franchise-history,
  .franchise-stats,
  .franchise-benefits,
  .franchise-requirements,
  .franchise-contact,
  .franchise-cta {
    padding: 40px 0;
  }

  .franchise-about .container,
  .franchise-history .container {
    flex-direction: column;
    gap: 20px;
  }

  .franchise-about__image,
  .franchise-history__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .franchise-about__description,
  .franchise-benefits__subtitle,
  .franchise-cta__description,
  .franchise-requirements__description,
  .franchise-history__description {
    text-align: center;
    font-size: 16px;
  }

  .franchise-about__title,
  .franchise-history__title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 12px;
  }

  .franchise-benefits__title,
  .franchise-requirements__title,
  .franchise-cta__title {
    font-size: 24px;
    line-height: 40px;
    margin-bottom: 10px;
  }

  .franchise-contact__phone,
  .franchise-cta__phone {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .franchise-contact__email,
  .franchise-cta__email {
    font-size: var(--p-font-size);
  }

  .franchise-benefits {
    padding-left: 16px;
    padding-right: 16px;
  }

  .franchise-benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .franchise-stats__number {
    font-size: 26px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .franchise-stats__items {
    grid-template-columns: 1fr;
    padding-top: 60%;
  }

  .franchise-stats {
    background-image: linear-gradient(to bottom, transparent 0%, transparent 100%, #071f77 100%, #05185b 100%),
      url('/img/franchise/map.png');
    background-size: 100% 100%, 100% auto;
    background-position: center, center top;
  }
}
