/* Home page (live GenerateBlocks style-2.css + the site's custom CSS for body.home) */

/* ---------------- hero: h1, gold rule, teal tagline, floating gradient card ---------------- */
.home-hero { --hero-title: 80px; --hero-title-md: 80px; --hero-h-md: 800px; --hero-h-sm: 600px; }
.home-hero__title { margin-bottom: 0; }
.home-hero__tagline {
  color: var(--teal-text); font-size: 27px; font-weight: 700; line-height: 1.5;
  padding-inline: 250px; margin-bottom: 200px;
}
@media (min-width: 1200px) { .home-hero__tagline { font-size: 36px; } }

/* the card hangs 550px into the next section, exactly like the live layout */
.home-quick { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto -550px; text-align: left; }
.home-quick .gradient-card__inner { font-size: 25px; padding: 40px; }
.home-quick__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.home-quick__item { flex: 0 0 33.33%; padding-inline: 10px; }
.home-quick__item:not(:last-child) { border-right: 1px solid #fff; }
.home-quick__link { display: flex; align-items: center; justify-content: center; gap: 20px; color: #fff; text-decoration: none; }
.home-quick__icon { flex: none; display: flex; align-items: center; justify-content: center; padding-inline: 10px; transition: transform .5s; }
@media (min-width: 1025px) { .home-quick__link { align-items: flex-start; } }   /* live: icon and text top-aligned */
.home-quick__link:hover .home-quick__icon, .home-quick__link:focus-visible .home-quick__icon { transform: scale(1.15); }
.home-quick__text { display: flex; flex-direction: column; justify-content: flex-start; min-height: 84px; padding-right: 10px; }
.home-quick__title { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 5px; }
.home-quick__title--green { color: var(--green); }
.home-quick__title--orange { color: var(--orange); }
.home-quick__title--red { color: var(--red); }
.home-quick__sub { color: #fff; font-size: 20px; line-height: 1.2; }
.home-quick__item:last-child .home-quick__sub { min-height: 48px; }   /* live p.gb-headline-5fd10040 */
.home-quick__link:hover .home-quick__sub { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .home-quick__icon { transition: none; } }

@media (max-width: 1024px) {
  .home-hero { align-items: flex-start; }
  .home-hero .hero__inner { padding-top: 300px; }
  .home-hero .hero__inner { padding-inline: 20px; }   /* live hero keeps 20px gutters */
  .home-hero__tagline { margin-bottom: 100px; padding-inline: 50px; }   /* stays 27px: live body.home p.gb-headline-af8378fe */
  .home-quick { margin-bottom: -500px; }
  .home-quick__link { flex-direction: column; gap: 0; text-align: center; }
  .home-quick__text { padding-right: 0; min-height: 0; }
  .home-quick__item:last-child .home-quick__text { padding-top: 10px; }
  .home-quick__item:last-child .home-quick__title { margin-top: 5px; }
  .home-quick__title { font-size: 22px; }
}
@media (max-width: 767px) {
  .home-hero { --hero-title-sm: 42px; }
  .home-hero .hero__inner { padding-top: 200px; padding-bottom: 30px; }
  .home-hero__tagline { padding-inline: 0; }
  .home-quick { margin-inline: 10px; }
  .home-quick .gradient-card__inner { font-size: 19px; padding: 40px 10px; }
  .home-quick__list { flex-direction: column; align-items: stretch; gap: 20px; }
  .home-quick__item, .home-quick__item:not(:last-child) { border-right: 0; flex-basis: auto; }
  /* live: a 35% / 65% grid with a 20px gutter, top-aligned; the icon fills its 67px content box */
  .home-quick__link { flex-direction: row; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 0; width: calc(100% + 20px); margin-left: -20px; }
  .home-quick__icon { width: 35%; height: auto; padding: 10px 10px 10px 30px; }
  .home-quick__icon img { max-width: 100%; }   /* 80px, capped by the column (67px on a 390px phone) */
  .home-quick__text { width: 65%; min-height: 0; padding: 0 0 0 20px; }
  .home-quick__title { font-size: 20px; }
  .home-quick__sub { font-size: 16px; }
}

/* ---------------- Convert More Leads + team photo ---------------- */
.home-convert { color: var(--contrast-2); overflow: hidden; }
.home-convert__inner { max-width: 1400px; margin-inline: auto; padding: 250px 20px 0; }
.home-convert__copy { display: flow-root; width: calc(45% - 22px); padding-right: calc((45% - 22px) * .03); margin: 0 auto 60px; text-align: center; }   /* live: 45% grid column less its 40px gutter, 3% inner right padding */   /* flex column on live: child margins do not collapse through it */
.home-convert__copy h2 { font-weight: 700; }
.home-convert__copy p { text-align: center; }
.home-convert__team { min-height: 100px; line-height: 0; }
.home-convert__team img { width: 100%; }
@media (min-width: 1024px) { .home-convert__copy p { font-size: 21px; } }
@media (min-width: 1200px) { .home-convert__copy { width: calc(60% - 16px); max-width: 722px; padding-right: 0; } }   /* live: 60% column (max 762px) less its 40px gutter */
@media (max-width: 1199px) { .home-convert__copy { margin-bottom: 2.5rem; } }
@media (max-width: 1024px) {
  .home-convert__inner { padding: 300px 40px 0; }
  .home-convert__copy { width: 100%; padding-right: 0; }
  .home-convert__copy p { padding-bottom: 20px; }
}
@media (max-width: 767px) { .home-convert__inner { padding: 350px 20px 0; } }
@media (min-width: 400px) and (max-width: 768px) { .home-convert__team { min-height: 120px; } }
@media (max-width: 640px) {
  .home-convert__copy { margin-bottom: 1.5rem; }
  .home-convert__copy h2 { text-align: left; margin-top: 2.5rem; margin-bottom: 3rem; }
  .home-convert__copy h2::after { left: 0; transform: none; }
  .home-convert__copy p { text-align: left; }
  .home-convert__copy .btn-row { margin-bottom: 3.5rem; }
  .home-convert__team img { transform: scale(2.5); }
}
@media (max-width: 500px) { .home-convert__team img { transform: scale(2.9); } }
@media (max-width: 325px) { .home-convert__inner { padding-top: 400px; } }   /* live: 350px at <=348 (= the phone value), 400px at <=325 */

/* ---------------- Nurture Your Leads Like a Pro ---------------- */
.home-nurture { color: #fff; }
.home-nurture__inner { max-width: 1280px; margin-inline: auto; padding: 100px 0; }
.home-nurture__title { color: #fff; text-align: center; margin: 0 0 100px 30px; }
.home-nurture__list { list-style: none; margin: 0 auto; padding: 0 80px; max-width: 1280px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; text-align: center; }
.home-nurture__icon { display: block; width: 100%; height: 130px; margin-bottom: 50px; }
.home-nurture__icon--convert { width: 200px; height: 120px; margin: 5px auto 55px; object-fit: contain; }
.home-nurture__label { font-size: 25px; margin: 0; }
@media (max-width: 1024px) {
  .home-nurture { min-height: 600px; }
  .home-nurture__inner { padding: 100px 40px; }
  .home-nurture__title { margin: 0 0 74px 10px; }
  .home-nurture__list { padding: 0; column-gap: 50px; }
  .home-nurture__icon { margin-bottom: 25px; }
  .home-nurture__icon--convert { margin: 5px auto 30px; }
  .home-nurture__label { font-size: 20px; }
}
@media (max-width: 767px) {
  .home-nurture__inner { padding: 80px 20px; }
  .home-nurture__title { margin: 0 0 48px 10px; }
  .home-nurture__list { grid-template-columns: 1fr; row-gap: 40px; }
  .home-nurture__icon { height: 80px; margin-bottom: 15px; }
  .home-nurture__icon--convert { width: 100px; height: 120px; margin: -15px auto 5px; }   /* live box: 100x120 */
}

/* ---------------- light dotted bands (Strategic / Recruitment / Growth) ---------------- */
.home-band__inner { max-width: 1400px; margin-inline: auto; padding: 120px 20px; }
.home-band--recruit .home-band__inner { padding-bottom: 0; }
.home-row { margin-bottom: 120px; }
.home-row--recruit { margin-bottom: 60px; }
.home-row--growth { margin-bottom: 120px; }
.home-row__last { margin-bottom: 0; }
.home-quote-gap { margin-bottom: 120px; }
.home-growth__copy { position: relative; z-index: 1; }
.home-growth__img { border-radius: var(--radius-xl); }
@media (max-width: 1024px) {
  .home-band__inner { padding: 80px 40px; }
  .home-band--recruit .home-band__inner { padding: 80px 40px 60px; }
  .home-row, .home-row--recruit, .home-row--growth, .home-quote-gap { margin-bottom: 80px; }
  .home-band .split { row-gap: 0; }   /* live: only the heading's 20px top margin under the photo */
  .home-band .split--text-first { row-gap: 40px; }   /* growth row: 40px under the photo */
  .home-row__title { margin-top: 20px; }
  .split__copy p { padding-bottom: 20px; }
  .split__copy .home-row__last { padding-bottom: 0; }
}
/* live recruitment photo on phones: an 80% grid column, re-widened by its -40px container margin */
@media (max-width: 767px) { .home-row--recruit .split__media { justify-self: start; width: calc(80% + 32px); margin-left: calc(10% + 4px); } }
@media (max-width: 640px) { .home-row--recruit .split__media { width: calc(80% + 72px); margin-left: calc(10% - 36px); } }
@media (max-width: 767px) {
  .home-band__inner { padding: 80px 20px; }
  .home-band--recruit .home-band__inner { padding: 80px 20px 20px; }
}

/* ---------------- 75+ Franchise Brands Served ---------------- */
.home-brands { color: #fff; }
.home-brands__inner { max-width: 1300px; margin-inline: auto; padding: 100px 0; }
.home-brands__title { color: #fff; text-align: center; margin-bottom: 40px; }
.home-brands__lead { color: #fff; text-align: center; margin-bottom: 50px; }
.home-brands .logo-grid { gap: 1rem 2.5rem; }
.home-brands .logo-grid__item { width: calc(10% - .5rem); flex: 0 0 auto; }
.home-brands .logo-grid__item img { width: 140px; max-width: 140px; }
/* live (body.home inline CSS): 768-1199px -> columns of 100%/6 - .5rem with 1rem 2rem gaps (5 per row),
   120px logos; <=1024px each logo box gets a 20px left margin; 641-767px -> 6 per row, no gaps; <=640px -> 4 per row */
@media (min-width: 641px) and (max-width: 1199px) {
  .home-brands .logo-grid { gap: 0; }
  .home-brands .logo-grid__item { width: calc(100% / 6 - .5rem); }
  .home-brands .logo-grid__item img { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-brands .logo-grid { gap: 1rem 2rem; }
  .home-brands .logo-grid__item img { width: 120px; max-width: 120px; }
}
@media (min-width: 768px) and (max-width: 1024px) { .home-brands .logo-grid__item { padding-left: 20px; } }
@media (max-width: 1024px) {
  .home-brands { min-height: 600px; }
  .home-brands__inner { padding: 100px 10px; }
  .home-brands__lead { font-size: 21px; padding-inline: 50px; }
}
@media (max-width: 767px) {
  .home-brands { background: #04080d url(../../img/Supporting-Powerhouse-Organizations-1.webp) no-repeat 0 0 / contain; }
  .home-brands__inner { padding: 80px 10px; }
  .home-brands__title { padding-inline: 10px; }
  .home-brands__lead { font-size: 18px; padding-inline: 10px; }
}
@media (max-width: 640px) {
  .home-brands .logo-grid { gap: 0; }
  .home-brands .logo-grid__item { width: 25%; }
  .home-brands .logo-grid__item img { width: auto; max-width: 100%; }   /* natural size, capped by the column */
}

/* ---------------- video band: the home heading spans the full width below 1024px (About keeps 752px) */
@media (max-width: 1023px) { .home-video .video-band__title { max-width: none; } }

/* ---------------- last testimonial ---------------- */
.home-last-quote { margin-top: 80px; padding-inline: 0; }
@media (max-width: 1024px) { .home-last-quote { margin-inline: 20px; } }
@media (max-width: 1023px) { .home-last-quote { margin-top: 60px; } }   /* live: 80px again at exactly 1024px */
