:root {
  --fr-red: #b6252a;
  --fr-red-dark: #8f1d21;
  --fr-text: #1d1d1d;
  --fr-card: rgba(255, 255, 255, 0.88);
  --fr-card-strong: rgba(255, 255, 255, 0.94);
}

#origami-franchise-page {
  position: relative;
  background-image: url("/Origami/static/images/5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--fr-text);
  padding: 2.2rem 0 4rem;
  overflow: hidden;
}


#origami-franchise-page > section {
  position: relative;
  z-index: 1;
}

#origami-franchise-page .container {
  max-width: 1140px;
}

.franchise-hero {
  padding: 3.1rem 0 1.7rem;
}

.franchise-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(182, 37, 42, 0.25);
  color: var(--fr-red);
  font-family: "DIN Pro", sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.franchise-tag::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--fr-red);
}

.franchise-hero h1 {
  margin: 1.05rem 0 0.85rem;
  font-family: "DIN Pro", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--fr-red);
}

.franchise-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.72;
  color: #232323;
}

.franchise-intro,
.franchise-benefits,
.franchise-expertise,
.franchise-concepts {
  margin-top: 1.35rem;
}

.franchise-card {
  background: var(--fr-card);
  border: 1px solid rgba(182, 37, 42, 0.16);
  border-radius: 24px;
  padding: 1.5rem 1.6rem;
  box-shadow:
    0 10px 28px rgba(20, 20, 20, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(3px);
}

.franchise-card p {
  margin: 0;
  line-height: 1.75;
  color: #222;
}

.franchise-card p + p {
  margin-top: 0.92rem;
}

.franchise-benefits h2,
.franchise-expertise h2,
.franchise-concepts h2 {
  margin: 0 0 1rem;
  font-family: "DIN Pro", sans-serif;
  font-size: clamp(1.55rem, 2.25vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #161616;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.benefit-item {
  position: relative;
  background: var(--fr-card-strong);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 16px;
  padding: 1rem 1rem 1rem 2.35rem;
  line-height: 1.57;
  font-size: 0.98rem;
  box-shadow: 0 9px 20px rgba(18, 18, 18, 0.06);
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #d2363c, #9f2024);
  box-shadow: 0 0 0 5px rgba(182, 37, 42, 0.14);
}

.franchise-expertise .franchise-card h2 {
  margin-bottom: 0.88rem;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.concept-card {
  position: relative;
  background: var(--fr-card-strong);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 20px;
  padding: 1.3rem 1.15rem 1.15rem;
  box-shadow: 0 12px 26px rgba(18, 18, 18, 0.07);
  overflow: hidden;
}

.concept-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #b6252a 0%, #e35056 48%, #b6252a 100%);
}

.concept-card h3 {
  margin-bottom: 0.78rem;
  font-family: "DIN Pro", sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--fr-red);
}

.concept-card ul {
  margin: 0;
  padding-left: 1.12rem;
}

.concept-card li {
  margin-bottom: 0.52rem;
  line-height: 1.55;
  font-size: 0.97rem;
}

.franchise-cta-wrap {
  margin-top: 1.35rem;
  text-align: center;
}

.franchise-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.84rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 37, 42, 0.35);
  background: linear-gradient(160deg, #c92b30, #9a1f23);
  color: #fff !important;
  font-family: "DIN Pro", sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(143, 29, 33, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.franchise-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(143, 29, 33, 0.3);
  filter: saturate(1.05);
}

@media (max-width: 991.98px) {
  .benefits-grid,
  .concepts-grid {
    grid-template-columns: 1fr;
  }

  .franchise-hero {
    padding-top: 2.35rem;
  }
}

@media (max-width: 767.98px) {
  #origami-franchise-page {
    padding: 1.35rem 0 2.6rem;
  }

  .franchise-card,
  .concept-card {
    border-radius: 16px;
    padding: 1.15rem 1rem;
  }

  .benefit-item {
    border-radius: 14px;
    padding: 0.92rem 0.9rem 0.92rem 2.15rem;
  }
}
