/* Phase 32.1: premium polish for the homepage partnership cards. */
.home-b2b {
  --b2b-red: #c10917;
  --b2b-red-dark: #920913;
  --b2b-ink: #351718;
  --b2b-cream: #fff9f1;
  margin: 0 !important;
  padding: 54px 48px 62px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 18%, rgba(193, 9, 23, .055), transparent 20%),
    radial-gradient(circle at 96% 82%, rgba(202, 150, 75, .08), transparent 22%),
    var(--b2b-cream);
}

.home-b2b > .home-b2b__heading {
  width: min(100%, 1329px);
  margin: 0 auto 18px;
  text-align: center;
}

.home-b2b > .home-b2b__heading .elementor-heading-title {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--b2b-red);
  font-family: IRYekanBakh, sans-serif;
  font-size: clamp(25px, 1.9vw, 27px);
  font-weight: 900;
  line-height: 1.35;
}

.home-b2b > .home-b2b__heading .elementor-heading-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 7px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #c99641 34%, var(--b2b-red) 66%, transparent);
}

.home-b2b .home-b2b__inner {
  width: min(100%, 1329px) !important;
  margin-inline: auto;
}

.home-b2b .home-b2b__inner > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.home-b2b .b2b-organizational,
.home-b2b .b2b-franchise {
  --min-height: 292px !important;
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: 48% 52%;
  grid-template-rows: 98px 42px;
  align-content: center;
  width: 100% !important;
  min-width: 0;
  min-height: 292px !important;
  padding: 32px !important;
  overflow: hidden;
  border: 1px solid rgba(172, 115, 49, .15);
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .34), 0 8px 22px rgba(73, 38, 26, .055);
  gap: 14px 0 !important;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.home-b2b .b2b-organizational {
  background-color: #f6e8d5 !important;
}

.home-b2b .b2b-franchise {
  background-color: #321029 !important;
}

.home-b2b .b2b-organizational::before,
.home-b2b .b2b-franchise::before,
.home-b2b .b2b-franchise::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-b2b .b2b-organizational::before {
  z-index: 0;
  inset: 0 auto 0 0;
  width: 56%;
  background:
    radial-gradient(ellipse at 50% 78%, rgba(204, 148, 61, .2) 0, rgba(255, 255, 255, .15) 38%, transparent 68%),
    url("../../uploads/2026/09/%D9%85%D8%AD%D8%B5%D9%88%D9%84%D8%A7%D8%AA-%DA%A9%D8%A7%D8%AF%D9%88%DB%8C%DB%8C.png") center bottom -18px / auto 96% no-repeat;
}

.home-b2b .b2b-franchise::before {
  z-index: 0;
  inset: 0 auto 0 0;
  width: 56%;
  background: url("../../uploads/2026/09/%D8%B9%D8%B6%D9%88%DB%8C%D8%AA-%D8%AF%D8%B1-%D8%A8%D8%A7%D8%B4%DA%AF%D8%A7%D9%87-%D9%85%D8%B4%D8%AA%D8%B1%DB%8C%D8%A7%D9%86-%D8%A8%D9%87%DB%8C%D9%86-1.jpg") center bottom / auto 150% no-repeat;
}

.home-b2b .b2b-franchise::after {
  z-index: 1;
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(90deg, rgba(50, 16, 41, .03) 20%, rgba(50, 16, 41, .34) 58%, #321029 100%);
}

.home-b2b .b2b-organizational-info,
.home-b2b .b2b-franchise-info,
.home-b2b .b2b-organizational-cta,
.home-b2b .b2b-franchise-cta {
  z-index: 2;
  grid-column: 1;
  width: 100% !important;
  margin: 0 !important;
  align-self: stretch;
  text-align: right !important;
}

.home-b2b .b2b-organizational-info,
.home-b2b .b2b-franchise-info {
  grid-row: 1;
}

.home-b2b .b2b-organizational-cta,
.home-b2b .b2b-franchise-cta {
  grid-row: 2;
}

.home-b2b .elementor-icon-box-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  text-align: right !important;
}

.home-b2b .elementor-icon-box-content {
  width: 100%;
}

.home-b2b .elementor-icon-box-icon {
  display: none !important;
}

.home-b2b .elementor-icon-box-title {
  margin: 0 0 7px !important;
  color: var(--b2b-red) !important;
  font-size: clamp(24px, 1.8vw, 26px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.home-b2b .elementor-icon-box-description {
  margin: 0 !important;
  color: #62413b !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
}

.home-b2b .b2b-franchise .elementor-icon-box-title,
.home-b2b .b2b-franchise .elementor-icon-box-description {
  color: #fffaf3 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .18);
}

.home-b2b .elementor-button-wrapper {
  text-align: right;
}

.home-b2b .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 136px;
  height: 42px;
  min-height: 42px;
  padding: 9px 16px !important;
  border: 0;
  border-radius: 9px !important;
  background: var(--b2b-red) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 5px 13px rgba(193, 9, 23, .13);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.home-b2b .b2b-franchise .elementor-button {
  border: 1px solid rgba(201, 150, 65, .38);
  background: #fff5e8 !important;
  color: var(--b2b-red-dark) !important;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .12);
}

.home-b2b .elementor-button-icon {
  font-size: 11px;
}

@media (hover: hover) and (pointer: fine) {
  .home-b2b .b2b-organizational:hover,
  .home-b2b .b2b-franchise:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .38), 0 12px 28px rgba(73, 38, 26, .095);
  }

  .home-b2b .elementor-button:hover {
    transform: translateX(-2px);
    background: var(--b2b-red-dark) !important;
    box-shadow: 0 7px 16px rgba(193, 9, 23, .18);
  }

  .home-b2b .b2b-franchise .elementor-button:hover {
    background: #fff !important;
  }
}

.home-b2b a.elementor-button:focus,
.home-b2b a.elementor-button:focus-visible {
  outline: 3px solid #f1b951 !important;
  outline-offset: 3px !important;
}

@media (max-width: 1100px) {
  .home-b2b {
    padding-inline: 20px !important;
  }

  .home-b2b .b2b-organizational,
  .home-b2b .b2b-franchise {
    --min-height: 280px !important;
    grid-template-columns: 51% 49%;
    grid-template-rows: 112px 42px;
    min-height: 280px !important;
    padding: 26px !important;
  }
}

@media (max-width: 900px) {
  .home-b2b {
    padding-block: 46px 52px !important;
  }

  .home-b2b .home-b2b__inner > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .home-b2b .b2b-organizational,
  .home-b2b .b2b-franchise {
    --min-height: 264px !important;
    grid-template-columns: 48% 52%;
    grid-template-rows: 98px 42px;
    min-height: 264px !important;
  }
}

@media (max-width: 480px) {
  .home-b2b {
    padding: 38px 20px 44px !important;
  }

  .home-b2b > .home-b2b__heading {
    margin-bottom: 16px;
  }

  .home-b2b > .home-b2b__heading .elementor-heading-title {
    font-size: 25px;
  }

  .home-b2b .home-b2b__inner > .e-con-inner {
    gap: 14px !important;
  }

  .home-b2b .b2b-organizational,
  .home-b2b .b2b-franchise {
    --min-height: 244px !important;
    grid-template-columns: 64% 36%;
    grid-template-rows: 116px 42px;
    min-height: 244px !important;
    padding: 20px !important;
    border-radius: 17px;
  }

  .home-b2b .b2b-organizational::before,
  .home-b2b .b2b-franchise::before {
    width: 45%;
  }

  .home-b2b .b2b-organizational::before {
    background-position: center, center bottom -12px;
    background-size: auto, auto 88%;
  }

  .home-b2b .b2b-franchise::after {
    width: 52%;
    background: linear-gradient(90deg, rgba(50, 16, 41, .03) 15%, rgba(50, 16, 41, .42) 56%, #321029 100%);
  }

  .home-b2b .elementor-icon-box-title {
    margin-bottom: 7px !important;
    font-size: 21px !important;
  }

  .home-b2b .elementor-icon-box-description {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  .home-b2b .elementor-button {
    min-width: 128px;
    height: 42px;
    min-height: 42px;
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-b2b .b2b-organizational,
  .home-b2b .b2b-franchise,
  .home-b2b .elementor-button {
    transition: none;
  }
}
