/**
 * Homepage — The Branch Next
 * Linked from index.html
 */
@import url("style.css");

.page-home {
  padding-top: 0;
  /* Sampled from hero-reference.png */
  --hero-section-bg: #87ba7f;
  --hero-panel-bg: #0f3a27;
  --hero-accent: #84b876;
  --hero-radius: 20px;
  --hero-gap: clamp(8px, 0.95vw, 12px);
  background: #ffffff;
}

/* Green background on header + hero only */
.page-home .site-header {
  background: var(--hero-section-bg);
}

.page-home main {
  background: #ffffff;
}

.page-home .section-frame {
  margin-bottom: 0;
}

.page-home .site-header.scrolled .header-inner {
  box-shadow: 0 12px 40px rgba(6, 51, 39, 0.12);
}

/* Premium labels */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.85rem;
  background: rgba(42, 157, 143, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(42, 157, 143, 0.2);
}

.section-eyebrow--light {
  color: var(--color-accent);
  background: rgba(130, 180, 64, 0.12);
  border-color: rgba(130, 180, 64, 0.25);
}

.section-eyebrow--dark {
  color: var(--color-primary);
  background: rgba(6, 51, 39, 0.06);
  border-color: rgba(6, 51, 39, 0.12);
}

.page-home .section-header {
  position: relative;
}

.page-home .section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  border-radius: 3px;
}

/* ── Hero — pixel match to hero-reference.png ── */
.page-home .hero {
  padding: clamp(12px, 2vw, 20px) 0 clamp(2rem, 4vw, 3rem);
  background: var(--hero-section-bg);
}

.page-home .hero > .container {
  padding-inline: clamp(12px, 2vw, 20px);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(12px, 2vw, 16px);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  min-height: 0;
  background: transparent;
}

.page-home .hero-content {
  background: var(--hero-panel-bg);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 1.4vw, 18px);
  position: relative;
  overflow: visible;
  border-radius: var(--hero-radius);
  box-shadow: none;
  min-height: 0;
  height: auto;
}

.page-home .hero-content::before,
.page-home .hero-content::after {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(130, 180, 64, 0.12);
  border: 1px solid rgba(130, 180, 64, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
  margin-top: clamp(8px, 1.2vw, 16px);
  width: 100%;
}

.page-home .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.6vw, 18px) clamp(28px, 3.5vw, 44px);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1;
  border-radius: var(--hero-radius);
  border: none;
  background: var(--hero-accent);
  color: var(--hero-panel-bg);
  text-decoration: none;
  cursor: pointer;
}

.page-home .btn-hero:hover {
  background: var(--hero-accent);
  color: var(--hero-panel-bg);
  transform: none;
}

.page-home .hero-image::after {
  display: none;
}

.page-home .hero-content h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 7.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  width: 100%;
  overflow-wrap: break-word;
}

.page-home .hero-content h1 .highlight {
  color: var(--hero-accent);
  display: block;
  margin-top: clamp(4px, 0.5vw, 8px);
}

.page-home .hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  color: rgba(255, 255, 255, 0.48);
  font-weight: 400;
  margin: 0;
  text-transform: lowercase;
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 1.3;
}

.page-home .hero-content p {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.6;
  max-width: 100%;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
  font-weight: 400;
  width: 100%;
}

.page-home .hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--hero-radius);
  box-shadow: none;
  background: #ffffff;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  order: 2;
}

.page-home .hero-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  vertical-align: top;
}

/* ── Logo strip (Trusted By) ── */
.page-home .logo-strip-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f6f8f6;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--container-gutter) var(--section-pad);
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.page-home .logo-strip {
  background: #ffffff;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  border-radius: var(--radius-card);
  margin: 0;
  border: 1px solid rgba(216, 226, 220, 0.9);
  box-shadow: 0 6px 24px rgba(6, 51, 39, 0.07);
  position: relative;
  min-height: clamp(110px, 14vw, 140px);
  display: flex;
  align-items: center;
}

.page-home .logo-strip::before,
.page-home .logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}

.page-home .logo-strip::before {
  left: 0;
  background: linear-gradient(90deg, #fff 30%, transparent);
}

.page-home .logo-strip::after {
  right: 0;
  background: linear-gradient(270deg, #fff 30%, transparent);
}

.page-home .logo-track {
  display: flex;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 5.5rem);
  animation: scroll-logos 40s linear infinite;
  width: max-content;
  padding-inline: clamp(0.5rem, 1vw, 1rem);
}

.page-home .logo-track:hover {
  animation-play-state: paused;
}

.page-home .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: transform var(--transition);
}

.page-home .logo-item:hover {
  transform: scale(1.04);
}

.page-home .logo-partner-img {
  display: block;
  height: clamp(64px, 9vw, 88px);
  width: auto;
  max-width: min(200px, 22vw);
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Split section (Smarter Hiring — reference v2) ── */
.page-home .split-section {
  margin-bottom: var(--section-pad);
  background: #ffffff;
}

.page-home .split-grid--v2 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(12px, 2vw, 16px);
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  min-height: 0;
  border: none;
  width: 100%;
  max-width: 100%;
}

.page-home .split-grid--v2 .split-image {
  position: relative;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  border-radius: var(--hero-radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  order: 1;
}

.page-home .split-grid--v2 .split-image::after {
  display: none;
}

.page-home .split-grid--v2 .split-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--hero-radius);
  display: block;
}

.page-home .split-grid--v2 .split-content {
  background: #0f3a27;
  border-radius: var(--hero-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  box-shadow: 0 16px 48px rgba(6, 51, 39, 0.14);
  min-width: 0;
  order: 2;
  overflow-wrap: break-word;
}

.page-home .split-grid--v2 .split-content h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-home .split-heading-accent {
  display: block;
  color: var(--hero-accent);
}

.page-home .split-heading-white {
  display: block;
  color: #ffffff;
  margin-top: clamp(4px, 0.6vw, 8px);
}

.page-home .feature-list--divided {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.page-home .feature-list--divided li {
  padding: clamp(12px, 1.6vw, 18px) 0;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(132, 184, 118, 0.75);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  padding-left: 0;
}

.page-home .feature-list--divided li::before {
  display: none;
}

.page-home .feature-list--divided li.is-accent,
.page-home .feature-list--divided li:last-child {
  color: var(--hero-accent);
  border-bottom: none;
}

.page-home .split-grid--v2 .split-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
}

.page-home .btn-split-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-top: clamp(8px, 1vw, 12px);
  padding: clamp(14px, 1.8vw, 18px) clamp(24px, 3vw, 32px);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}

.page-home .btn-split-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
  transform: none;
}

/* Legacy split (other pages) */
.split-section {
  margin-bottom: var(--section-pad);
}

.split-grid:not(.split-grid--v2) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(6, 51, 39, 0.12);
  min-height: 400px;
}

.split-content:not(.split-grid--v2 .split-content) {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: clamp(2rem, 4vw, 3rem);
}

.split-image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Section headings ── */
.page-home .section-header p {
  overflow-wrap: break-word;
}

.page-home .section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-home .section-header h2 .highlight {
  color: var(--color-accent);
}

/* ── Service cards row ── */
.services-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: var(--section-pad);
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.page-home .card-premium {
  background: linear-gradient(180deg, #ffffff 0%, #fafcfa 100%);
  border: 1px solid rgba(216, 226, 220, 0.6);
  box-shadow: 0 4px 24px rgba(6, 51, 39, 0.06);
  overflow-wrap: break-word;
}

.page-home .card-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(130, 180, 64, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.page-home .card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 51, 39, 0.12);
}

.page-home .card-premium:hover::after {
  opacity: 1;
}

.page-home .card-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(130, 180, 64, 0.12), rgba(42, 157, 143, 0.08));
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 1rem;
  color: var(--color-primary);
  opacity: 1;
  transition: var(--transition);
}

.page-home .card-premium:hover .card-icon {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
  transform: scale(1.05);
}

/* ── Jobs (reference layout) ── */
.page-home .jobs-section-wrap {
  background: #ffffff;
  margin-bottom: var(--section-pad);
}

.page-home .jobs-section--v2 {
  padding: clamp(2rem, 4vw, 3rem) 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .jobs-section--v2::before {
  display: none;
}

.page-home .jobs-heading {
  text-align: center;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home .jobs-heading-black,
.page-home .jobs-heading-green {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .jobs-heading-black {
  color: #111111;
}

.page-home .jobs-heading-green {
  color: #0f3a27;
}

.page-home .jobs-section--v2 .jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.page-home .job-card--v2 {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #d8e2dc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(6, 51, 39, 0.06);
  height: 176px;
  min-height: 176px;
  max-height: 176px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.page-home .job-card--v2::before {
  display: none;
}

.page-home .job-card--v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 51, 39, 0.1);
  border-color: #c5d4cb;
}

.page-home .job-card-media {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.page-home .job-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 16px 0 0 16px;
  transition: transform 0.45s ease;
}

.page-home .job-card--v2:hover .job-card-media img {
  transform: scale(1.04);
}

.page-home .job-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem 0.7rem;
  min-height: 0;
  overflow: hidden;
}

.page-home .job-card--v2 .job-meta {
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 500;
  color: #9aa89f;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.page-home .job-card--v2 h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.15;
  margin: 0;
}

.page-home .job-card--v2 .job-desc {
  font-size: 0.78rem;
  color: #5c6b66;
  line-height: 1.45;
  margin: 0;
  flex: 0 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .job-card--v2 .job-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin-top: auto;
  padding-top: 0.15rem;
}

.page-home .job-tags-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.page-home .job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
  font-weight: 600;
  border-radius: 100px;
  line-height: 1.2;
  white-space: nowrap;
}

.page-home .job-tag--category {
  background: rgba(132, 184, 118, 0.22);
  color: #0f3a27;
}

.page-home .job-tag--type {
  background: #eef1ee;
  color: #5c6b66;
}

.page-home .job-tag--location {
  background: rgba(132, 184, 118, 0.22);
  color: #0f3a27;
  margin-left: auto;
}

.page-home .job-tag--location svg {
  flex-shrink: 0;
}

/* ── Impact + Franchise (reference) ── */
.page-home .impact-wrap {
  margin-bottom: var(--section-pad);
}

.page-home .impact-section--v2 {
  --impact-bg: #0b3022;
  --impact-accent: #84b876;
  background: var(--impact-bg);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  margin: 0;
  box-shadow: 0 16px 48px rgba(6, 51, 39, 0.18);
  overflow: hidden;
  position: relative;
}

.page-home .impact-section--v2::before,
.page-home .impact-section--v2::after {
  display: none;
}

.page-home .impact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
}

.page-home .impact-heading {
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-home .impact-heading-white,
.page-home .impact-heading-accent {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-home .impact-heading-white {
  color: #ffffff;
}

.page-home .impact-heading-accent {
  color: var(--impact-accent);
  margin-top: 0.15rem;
}

.page-home .impact-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: none;
  overflow-wrap: break-word;
}

.page-home .btn-impact-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--impact-bg);
  background: var(--impact-accent);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition);
}

.page-home .btn-impact-primary:hover {
  background: #9bc67f;
  color: var(--impact-bg);
  transform: none;
}

.page-home .stats-grid--v2 {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
}

.page-home .stat-cell {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .stat-cell:nth-child(2n) {
  border-right: none;
}

.page-home .stat-cell:nth-child(n + 3) {
  border-bottom: none;
}

.page-home .stat-cell .stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.page-home .stat-number--accent {
  color: var(--impact-accent);
  background: none;
  -webkit-text-fill-color: var(--impact-accent);
}

.page-home .stat-number--white {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.page-home .stat-cell .stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0.35rem 0 0;
}

/* Franchise block */
.page-home .franchise-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  padding-top: clamp(2rem, 4vw, 3rem);
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.page-home .franchise-block .franchise-image {
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  border: none;
  background: transparent;
  order: 1;
}

.page-home .franchise-block .franchise-image::after {
  display: none;
}

.page-home .franchise-block .franchise-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 16px;
}

.page-home .franchise-block .franchise-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0;
  min-width: 0;
  order: 2;
  overflow-wrap: break-word;
}

.page-home .franchise-block .franchise-content h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.page-home .franchise-block .franchise-content > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.page-home .franchise-subhead {
  color: #ffffff;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.page-home .franchise-list--dots {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.page-home .franchise-list--dots li {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.85rem, 1.25vw, 0.92rem);
  line-height: 1.55;
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
}

.page-home .franchise-list--dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.page-home .btn-franchise-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--impact-bg);
  background: var(--impact-accent);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition);
}

.page-home .btn-franchise-cta:hover {
  background: #9bc67f;
  color: var(--impact-bg);
  transform: none;
}

/* ── Testimonials (home) ── */
.page-home .testimonials-section {
  padding: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--section-pad);
  background: #ffffff;
  border: 1px solid rgba(216, 226, 220, 0.8);
  box-shadow: 0 12px 48px rgba(6, 51, 39, 0.08);
  position: relative;
}

.page-home .testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  border-radius: 0 0 4px 4px;
}

.page-home .testimonial-card {
  background: var(--color-white);
  border: 1px solid rgba(216, 226, 220, 0.6);
  box-shadow: 0 4px 20px rgba(6, 51, 39, 0.05);
}

.page-home .testimonials-track .testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(6, 51, 39, 0.12);
  border-color: rgba(130, 180, 64, 0.35);
}

.page-home .testimonial-nav .testimonial-prev,
.page-home .testimonial-nav .testimonial-next {
  border-color: var(--color-primary);
  font-weight: 600;
}

.page-home .testimonial-nav .testimonial-prev:hover:not(:disabled),
.page-home .testimonial-nav .testimonial-next:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* ── CTA ── */
.page-home .cta-grid {
  transition: box-shadow var(--transition);
}


.cta-section {
  margin-bottom: var(--section-pad);
}

.cta-grid {
  gap: clamp(16px, 2vw, 24px);
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.page-home .cta-content {
  background: #0b3022;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-content .highlight {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.cta-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.page-home .cta-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
}

.cta-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.page-home .cta-grid:hover .cta-image img {
  transform: scale(1.04);
}

/* ── Responsive (mobile + tablet) ── */
.page-home main,
.page-home .hero > .container,
.page-home .logo-strip-section {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.page-home .split-section.container,
.page-home .section-pad.container,
.page-home .jobs-section-wrap.container,
.page-home .impact-wrap.container,
.page-home .testimonials-section.container,
.page-home .cta-section.container {
  min-width: 0;
  max-width: 100%;
  padding-inline: clamp(12px, 3vw, var(--container-gutter));
  overflow-x: clip;
}

.page-home .hero-content,
.page-home .hero-image,
.page-home .split-grid--v2 > *,
.page-home .impact-block > *,
.page-home .franchise-block > *,
.page-home .cta-grid > *,
.page-home .job-card--v2,
.page-home .card-premium {
  min-width: 0;
}

@media (max-width: 1024px) {
  .page-home .cta-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-home .cta-image {
    min-height: 0;
    order: 2;
  }

  .page-home .cta-image img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .page-home .cta-content {
    order: 1;
  }

  .page-home .jobs-section--v2 .jobs-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .page-home .job-card--v2 {
    grid-template-columns: minmax(120px, 34%) 1fr;
    height: auto;
    min-height: 176px;
    max-height: none;
  }

  .page-home .section-header {
    padding-inline: 0;
  }

  .page-home .section-header h2,
  .page-home .section-header p {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media (min-width: 769px) {
  .page-home .stats-grid--v2 {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .jobs-section--v2 .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 168px;
  }
}

@media (min-width: 992px) {
  .page-home .services-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1201px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--hero-gap);
  }

  .page-home .hero-image {
    aspect-ratio: 500 / 487;
    order: 0;
  }

  .page-home .split-grid--v2 {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    min-height: clamp(440px, 52vh, 560px);
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .page-home .split-grid--v2 .split-image,
  .page-home .split-grid--v2 .split-content,
  .page-home .franchise-block .franchise-image,
  .page-home .franchise-block .franchise-content {
    order: 0;
  }

  .page-home .split-grid--v2 .split-image img {
    height: 100%;
    min-height: clamp(360px, 45vh, 480px);
    aspect-ratio: auto;
  }

  .page-home .impact-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .impact-desc {
    max-width: 36ch;
  }

  .page-home .franchise-block {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }

  .page-home .franchise-block .franchise-image img {
    height: 100%;
    min-height: clamp(280px, 32vw, 380px);
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .page-home .hero {
    padding-top: clamp(10px, 2vw, 16px);
  }

  .page-home .hero > .container {
    padding-inline: clamp(12px, 3vw, 16px);
  }

  .page-home .hero-content {
    padding: clamp(18px, 4vw, 24px);
  }

  .page-home .hero-content h1 {
    font-size: clamp(1.6rem, 7.5vw, 2.15rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .page-home .hero-content p,
  .page-home .hero-tagline {
    overflow-wrap: break-word;
  }

  .page-home .logo-strip {
    padding: 1.25rem 1rem;
    min-height: 88px;
    overflow: hidden;
  }

  .page-home .logo-partner-img {
    height: clamp(44px, 11vw, 56px);
    max-width: min(160px, 40vw);
  }

  .page-home .stats-grid--v2 {
    grid-template-columns: 1fr;
  }

  .page-home .stat-cell {
    border-right: none;
  }

  .page-home .stat-cell:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .page-home .impact-section--v2 {
    padding: clamp(1.5rem, 4vw, 2rem);
  }

  .page-home .franchise-block .franchise-content h2 {
    overflow-wrap: break-word;
  }

  .page-home .franchise-list--dots li {
    overflow-wrap: break-word;
  }

  .page-home .job-card--v2 .job-tags {
    flex-wrap: wrap;
  }

  .page-home .job-tag--location {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .page-home .job-card--v2 {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .page-home .job-card-media {
    height: clamp(160px, 42vw, 200px);
  }

  .page-home .job-card-media img {
    width: 100%;
    height: 100%;
    min-height: clamp(160px, 42vw, 200px);
    border-radius: 16px 16px 0 0;
  }

  .page-home .job-card-body {
    min-height: 0;
    padding: 1rem;
  }

  .page-home .job-card--v2 h3 {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    overflow-wrap: break-word;
  }

  .page-home .stats-grid--v2,
  .page-home .stats-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-content,
  .page-home .split-grid--v2 .split-content {
    padding: 1.5rem;
  }

  .page-home .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .page-home .hero-actions .btn,
  .page-home .btn-hero {
    width: 100%;
    text-align: center;
  }

  .page-home .btn-split-outline,
  .page-home .btn-impact-primary,
  .page-home .btn-franchise-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge::before,
  .logo-track {
    animation: none;
  }
}
