/**
 * Industry pages — force section headings visible (loaded last in cascade).
 * Fixes invisible growth/channels/usecases headers from font load or word-reveal.
 */

.growth__header,
.channels__header,
.usecases__header {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: relative !important;
  z-index: 2 !important;
}

.growth__header :is(.section-title, .growth__subtitle, h2, p),
.channels__header :is(.section-title, .channels__subtitle, h2, p),
.usecases__header :is(.section-title, .usecases__subtitle, h2, p),
.growth__header .gt-word,
.channels__header .gt-word,
.usecases__header .gt-word {
  font-family: 'Roboto', Arial, sans-serif !important;
  color: #121348 !important;
  -webkit-text-fill-color: #121348 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.growth__header .section-title,
.channels__header .section-title,
.usecases__header .section-title {
  font-size: clamp(28px, 2.8vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.growth__header .growth__subtitle,
.channels__header .channels__subtitle,
.usecases__header .usecases__subtitle {
  font-size: clamp(16px, 1.5vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #121348 !important;
}

@media (min-width: 1025px) {
  .growth__header,
  .channels__header,
  .usecases__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
}

/* Dark sections — touchpoint + testimonial share growtele-io bgo-1 grid background */
.touchpoint,
.testimonial {
  background-color: #090a2c !important;
}

.touchpoint__bg,
.testimonial__bg {
  background-image: var(--gt-cms-industry-dark-bg, url('https://listings.selectvia.com/wp-content/uploads/2026/09/bgo-1.png'));
  background-repeat: no-repeat;
  background-position: center 28%;
  background-size: cover;
}

.touchpoint__mask,
.touchpoint__deco,
.touchpoint__dots,
.testimonial__mask,
.testimonial__deco,
.testimonial__dots {
  display: none !important;
}

/* Channels section — remove side background pattern/gradient */
.channels__bg-pattern {
  display: none !important;
}

/* Industry sub-nav — desktop: current page matches hover (orange + underline) */
@media (min-width: 1025px) {
  .industry-nav__item--active {
    font-weight: 600;
    color: var(--orange, #ff9300);
  }

  .industry-nav__item--active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 2px;
    background: var(--orange, #ff9300);
    border-radius: 9px;
  }
}

/* Below hero — keep industry sans stack (tabs/panels were falling back to serif) */
.page :is(
  .industry-nav,
  .channels,
  .growth,
  .usecases,
  .touchpoint,
  .testimonial,
  .trust,
  .faq
) {
  font-family: 'Roboto', Arial, sans-serif;
}

.page .channels__tab,
.page .channels__tab-desc,
.page .channels__detail-title,
.page .channels__features :is(strong, p),
.page .usecase-card :is(h3, p),
.page .growth-card__title,
.page .growth-card__desc,
.page .touchpoint__item :is(h3, p),
.page .testimonial__quote,
.page .faq-item__question,
.page .faq-item__answer {
  font-family: 'Roboto', Arial, sans-serif;
}

/* Growth cards — composite art only (no overlay img): zoom to fill top/side inset like retail */
@media (min-width: 1025px) {
  .growth-card__visual:not(:has(.growth-card__img)) .growth-card__bg {
    inset: auto !important;
    top: -10px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100% + 14px) !important;
    max-width: none !important;
    transform: none !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* Industry FAQ → CTA gap (desktop); beats landing-footer section:has padding reset */
@media (min-width: 1025px) {
  .page section.faq:has(+ .gt-cta.gt-section) {
    padding-bottom: 30px !important;
  }

  .page .gt-cta.gt-section {
    margin-top: 80px !important;
  }

  .page .faq__list {
    min-height: 250px !important;
  }

  /* FAQ hover: no answer animation jitter → stable CTA/footer overlap */
  .page .faq-item__answer {
    transition: none !important;
  }

  .page .gt-cta__content {
    height: auto !important;
  }

  .page .gt-cta.gt-section,
  .page > .gt-footer {
    backface-visibility: hidden;
  }
}

/* FAQ accordion — stable CTA card below (mobile); no max-height transition jitter */
@media (max-width: 768px) {
  .page section.faq:has(+ .gt-cta.gt-section) {
    overflow-anchor: none;
    padding-bottom: 8px !important;
  }

  .page section.faq:has(+ .gt-cta.gt-section) + .gt-cta.gt-section {
    margin-top: 20px !important;
  }

  .page .faq-item__answer {
    transition: none !important;
  }

  /* Fixed open-answer block — swap items without shifting the CTA (no extra list min-height) */
  .page .faq-item--open .faq-item__answer {
    min-height: 5.25rem;
    box-sizing: border-box;
  }

  .page .gt-cta.gt-section {
    backface-visibility: hidden;
  }
}

/* WhatsApp & RCS tabs (light card): navy icon circles with white icons */
.channels__content--box-bg .channels__bullet {
  background: #121348;
  border-radius: 50%;
}

.channels__content--box-bg .channels__bullet > img:first-child {
  visibility: hidden;
}

.channels__content--box-bg .channels__bullet-icon {
  filter: brightness(0) invert(1);
}

/* Testimonial stat cards: stat title + short supporting line */
.testimonial-stat__title {
  font-weight: 500;
}

.testimonial-stat__desc {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8em;
}
