/* Fastcom homepage IA overlay — tokens + OpenWebUI-like surface/card/spacing. No chat UI. */
.fc-home-ia {
  --fc-primary: #1b3041;
  --fc-accent: #19bd78;
  --fc-interactive: #0c3381;
  --fc-surface: #ffffff;
  --fc-surface-muted: #f8fafc;
  --fc-border: #e2e8f0;
  --fc-text: #1f2529;
  --fc-text-muted: #4a5568;
  --fc-radius: 14px;
  --fc-space: 1.5rem;
  box-sizing: border-box;
  width: 100%;
  padding: 3rem 1.5rem 2.5rem;
  background: var(--fc-surface-muted);
  color: var(--fc-text);
}

.fc-home-ia *,
.fc-home-ia *::before,
.fc-home-ia *::after {
  box-sizing: border-box;
}

.fc-home-ia__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.fc-home-ia__h1 {
  margin: 0 0 1rem;
  max-width: 50ch;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--fc-primary);
}

.fc-home-ia__trust {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fc-primary);
}

.fc-home-ia__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

#fc-home-ia-families {
  scroll-margin-top: 6rem;
}

.fc-home-ia__eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fc-accent);
}

.fc-home-ia__section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--fc-primary);
}

.fc-home-ia__lead {
  margin: -0.5rem 0 1.25rem;
  max-width: 52ch;
  color: var(--fc-text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.fc-home-ia__families {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
}

.fc-home-ia__family {
  padding: 1.25rem 1.35rem;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
}

.fc-home-ia__family h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fc-primary);
}

.fc-home-ia__family p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fc-text-muted);
}

.fc-home-ia__product {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--fc-primary);
  color: #f4f7fa;
  border-radius: var(--fc-radius);
}

.fc-home-ia__product .fc-home-ia__eyebrow {
  color: var(--fc-accent);
}

.fc-home-ia__product-name {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fc-home-ia__product p {
  margin: 0;
  max-width: 46ch;
  color: rgba(244, 247, 250, 0.78);
  line-height: 1.55;
}

.fc-home-ia__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  background: var(--fc-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.fc-home-ia__cta:hover,
.fc-home-ia__cta:focus {
  background: #14a366;
  color: #fff;
}

.fc-home-ia__cta--ghost {
  background: transparent;
  color: var(--fc-interactive);
  border: 1px solid var(--fc-interactive);
}

.fc-home-ia__cta--ghost:hover,
.fc-home-ia__cta--ghost:focus {
  background: rgba(12, 51, 129, 0.08);
  color: var(--fc-interactive);
}

/* Overlay sits between #masthead and #main — keep it above leftover Munich pull-up. */
body.home #page > #fc-home-ia {
  position: relative;
  z-index: 4;
  isolation: isolate;
  width: 100%;
  max-width: none;
}

/*
 * Slider hide must also collapse the Elementor host.
 * post-1071.css pulls 07b5291 (-343px) and cccb61c (-83px) onto the 868px fullHeight slider.
 * height:0 on sr7-module alone leaves those negative margins overlapping the overlay.
 */
body.home .elementor-1071 > .elementor-element-ccca803,
body.home .elementor-1071 .elementor-widget-slider_revolution,
body.home .wp-block-themepunch-revslider,
body.home .wp-block-themepunch-revslider sr7-module,
body.home sr7-module,
body.home sr7-txt,
body.home sr7-slide,
body.home .sr7-layer,
body.home a.sr7-layer,
body.home rs-module-wrap,
body.home .rev_slider_wrapper,
body.home .tp-banner-container,
body.home .elementor-1071 > .elementor-element-07b5291 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.home .elementor-1071 .elementor-element-cccb61c {
  margin-top: 0 !important;
}

.fc-home-ia__ai {
  margin: 0;
}

.fc-home-ia__ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.fc-home-ia__ai-item {
  padding: 1.25rem 1.35rem;
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
}

.fc-home-ia__chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(12, 51, 129, 0.08);
  color: var(--fc-interactive);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fc-home-ia__ai-item h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fc-primary);
}

.fc-home-ia__ai-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fc-text-muted);
}

@media (min-width: 700px) {
  .fc-home-ia {
    padding: 4rem 2rem 3rem;
  }

  .fc-home-ia__families {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .fc-home-ia__ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .fc-home-ia__families {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fc-home-ia__family-link,
.fc-home-ia__nav a {
  color: var(--fc-interactive);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.fc-home-ia__family-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.fc-home-ia__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 1.75rem 0 0;
}

.fc-home-ia__family-link:hover,
.fc-home-ia__nav a:hover,
.fc-home-ia__family-link:focus,
.fc-home-ia__nav a:focus {
  text-decoration: underline;
}

/* Soften legacy Elementor body — second story, not the first viewport. Claims stay. */
body.home .elementor-1071 .consulting-custom-title,
body.home .content-area .consulting-custom-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
}

body.home .elementor-1071 .icon_text h5 {
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  line-height: 1.1 !important;
}

body.home .elementor-1071 .item,
body.home .elementor-1071 .consulting_services_box {
  box-shadow: none;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

body.home #masthead .icon-box-title {
  font-size: 0.95rem !important;
  font-weight: 600;
  margin: 0;
}
