/* =========================================================
   FRANCHISE
   ========================================================= */

/* Hero – red version */
.franchise-hero { background: var(--primary); }
.franchise-hero-text {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  margin: 20px 0 14.4px;
}

.franchise-hero-title { color: var(--white); font-size: 46px; margin-top: 0; }

/* Intro / built to work together / closing copy */
.franchise-intro,
.franchise-together { padding: 80px 0; }
.franchise-closing { padding: 80px 0; background: var(--primary); }
.franchise-intro-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.franchise-together .franchise-together-title { color: var(--primary); margin-bottom: 30px; }
.franchise-closing .franchise-intro-text { margin-top: 30px; color: var(--white); }
.franchise-closing .franchise-intro-text p { margin: 0; }

/* Shared section headings */
.franchise-section-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: var(--white);
  margin: 0;
}

/* Benefits grid */
.franchise-benefits {
  background: var(--primary);
  padding: 80px 0;
}
/* Inline subtitle inside an 18px / 27px line box, as on the previous site */
.franchise-section-subtitle {
  margin-top: 10px;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  color: var(--white);
}
.franchise-section-subtitle span {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}

/* Enquiry form */
.franchise-enquiry { padding: 80px 0; }
.franchise-enquiry-title { color: var(--primary); }
.franchise-enquiry-subtitle {
  margin-top: 0;
  color: var(--primary);
}
.franchise-enquiry-subtitle span { font-size: 22px; }
.franchise-enquiry-text {
  margin-top: 10px;
  text-align: center;
}
.franchise-enquiry-text p { margin: 0; }

.franchise-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 60px 10% 0;
}
.franchise-form-field-full { grid-column: 1 / -1; }
.franchise-form input {
  display: block;
  width: 100%;
  min-height: 59px;
  padding: 7px 20px;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 0;
}
.franchise-form input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--black);
}
.franchise-form-submit { text-align: center; }
.franchise-form-button {
  min-height: 47px;
  padding: 15px 30px;
  font-family: var(--font);
  font-size: 27px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: 0;
  transition: all .3s;
}
.franchise-form-button:hover,
.franchise-form-button:focus-visible { color: var(--white); }

/* Why partner – four pillars in two columns */
.franchise-pillars { padding: 80px 0; }
.franchise-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}
.franchise-pillar-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--primary);
  margin: 0 0 20px;
}
.franchise-pillar-title-alt { color: var(--secondary); }
.franchise-pillar p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.franchise-pillar p:last-child { margin-bottom: 0; }
.franchise-pillar-lead {
  font-weight: 600;
  font-style: italic;
}

/* Link through to the Eco System page */
.franchise-eco {
  background: var(--black);
  padding: 50px 0;
}
.franchise-eco-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
}
.franchise-eco-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--secondary);
  margin: 0 0 8px;
}
.franchise-eco-inner p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.franchise-eco .btn-page { flex: 0 0 auto; }
.franchise-enquiry-text .franchise-enquiry-email { margin-top: 10px; }
.franchise-enquiry-email a {
  font-weight: 600;
  color: var(--primary);
}

/* =========================================================
   ECO SYSTEM – "Everything Connected" cards
   ========================================================= */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 36px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  overflow: hidden;
  transition: translate .35s ease, box-shadow .35s ease;
}
/* Orange bar that grows along the bottom edge on hover */
.eco-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.eco-card:hover {
  translate: 0 -6px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .26);
}
.eco-card:hover::after { transform: scaleX(1); }
.eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.eco-card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 30px;
  transition: background .35s ease, color .35s ease;
}
.eco-card:hover .eco-card-icon {
  background: var(--secondary);
  color: var(--primary);
}
.eco-card-num {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(203, 40, 12, .35);
}
.eco-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  text-transform: capitalize;
  line-height: 1.2;
  color: #111;
  margin: 0 0 12px;
}
.eco-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

@media (max-width: 1199px) {
  .eco-grid { gap: 24px; }
  .eco-card { padding: 28px 24px 32px; }
  .eco-card-title { font-size: 20px; }
}
@media (max-width: 991px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}
@media (max-width: 575px) {
  .eco-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .eco-card { padding: 24px 20px 28px; border-radius: 14px; }
  .eco-card-top { margin-bottom: 18px; }
  .eco-card-icon { width: 56px; height: 56px; font-size: 26px; border-radius: 14px; }
  .eco-card-num { font-size: 38px; }
  .eco-card-title { font-size: 19px; }
  .eco-card-text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .eco-card, .eco-card::after, .eco-card-icon { transition: none; }
  .eco-card:hover { translate: none; }
}
