@charset "UTF-8";
/*
 * css/blocks/pi-hero.css — Layer 3, block-specific layout for acf/pi-hero
 *
 * LAYOUT ONLY. Colors, fonts, and component visuals come from components.css
 * and the site's existing :root tokens. Do NOT add hex literals, font-family
 * overrides, or button styles to this file.
 *
 * The hero embeds the calculator widget; its styles are in pi-calc-widget.css.
 */
.pi-hero {
  background: var(--header-color-dark);
  color: var(--header-color-white);
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
  font-family: var(--norml-font-body);
  box-sizing: border-box;
  /* Full-bleed: break out of the constrained .entry-content so the dark
     background spans the full viewport width, like the home-page hero.
     Negative side margins only (no width:100vw) → full width with no extra
     horizontal scrollbar. Inner .norml-container keeps content centered. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.pi-hero *,
.pi-hero *::before,
.pi-hero *::after {
  box-sizing: border-box;
}

/* Decorative radial glow — pure layout/decoration, no new tokens. */
.pi-hero::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 209, 74, 0.08), transparent 70%);
  pointer-events: none;
}

/* Breadcrumb — block-specific because the hero is the only block with one
 * over a dark bg. If a second dark-hero block ever needs it, promote to
 * components.css then. */
.pi-breadcrumb {
  font-family: var(--norml-font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  letter-spacing: 0;
  text-transform: none;
}

.pi-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.pi-breadcrumb a:hover {
  color: var(--header-color-accent);
}

.pi-breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* current item greyed (matches the site-standard breadcrumb in #10) */
.pi-breadcrumb__current {
  color: rgba(255, 255, 255, 0.5);
}

/* 2-col grid: lead text on left, calculator widget on right. */
.pi-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.pi-hero__grid--no-calc {
  grid-template-columns: 1fr;
}

.pi-hero__title {
  font-size: clamp(40px, 5.5vw, 64px);
  margin: 0 0 24px;
  color: var(--header-color-white);
  line-height: 1;
}

.pi-hero__accent {
  color: var(--header-color-accent);
  display: block;
}

.pi-hero__lead-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
  line-height: 1.65;
}

.pi-hero__lead-body p:nth-of-type(n+2) {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* Trust strip — small icon+label pills below the lead. */
.pi-hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pi-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.pi-hero__trust-item-icon {
  color: var(--header-color-accent);
}

/* Trust item that links out (e.g. Google rating → reviews) */
.pi-hero__trust-item--link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.15s;
}

.pi-hero__trust-item--link:hover {
  color: var(--header-color-accent);
}

@media (max-width: 960px) {
  .pi-hero {
    padding: 40px 20px 60px;
  }
  .pi-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pi-hero__title {
    font-size: 38px;
  }
}