.pp,
.pp-bar {
  --pp-blue: #293C95;
  --pp-navy: #0D3B6E;
  --pp-gold: #c9a227;
  --pp-ink: #1b2147;
  --pp-muted: #646c8f;
  --pp-line: #e3e6f3;
  --pp-tint: #f2f2ff;
}

.pp {
  color: var(--pp-ink);
  line-height: 1.5;
  overflow-x: clip;
}

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

.pp .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pp a:focus-visible,
.pp button:focus-visible,
.pp summary:focus-visible,
.pp-bar a:focus-visible {
  outline: 2px solid var(--pp-gold);
  outline-offset: 2px;
}

.pp h1,
.pp h2,
.pp h3 {
  color: var(--pp-ink);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.pp-wrap {
  width: 100%;
  max-width: var(--page-max, 1920px);
  margin: 0 auto;
  padding: 0 var(--page-gutter, 24px);
}

.pp-arrow {
  flex: none;
  transition: transform 0.2s ease;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--pp-blue);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pp-btn--primary {
  background: var(--pp-blue);
  color: #fff;
}

.pp-btn--primary:hover {
  background: var(--pp-navy);
  border-color: var(--pp-navy);
  color: #fff;
}

.pp-btn--secondary {
  background: #fff;
  color: var(--pp-blue);
}

.pp-btn--secondary:hover {
  background: var(--pp-tint);
  color: var(--pp-blue);
}

.pp-btn--small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.pp-btn:hover .pp-arrow,
.pp-link:hover .pp-arrow {
  transform: translateX(3px);
}

.pp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--pp-blue);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.pp-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-link--small {
  font-size: 0.85rem;
}

.pp-hero {
  padding: 24px 0 72px;
}

.pp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.pp-hero__copy {
  min-width: 0;
}

.pp-hero h1 {
  font-size: 2.5rem;
  overflow-wrap: anywhere;
}

.pp-hero__tagline {
  margin-top: 12px;
  color: var(--pp-blue);
  font-size: 1.2rem;
  font-weight: 600;
}

.pp-hero__text {
  margin-top: 16px;
  max-width: 560px;
  color: var(--pp-muted);
  line-height: 1.6;
}

.pp-hero__media {
  min-width: 0;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.pp-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.pp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pp-chips li {
  padding: 6px 12px;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pp-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: var(--pp-muted);
  font-size: 0.85rem;
}

.pp-trust__icon {
  display: inline-flex;
  color: var(--pp-blue);
}

.pp-trust a {
  color: var(--pp-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-trust a:hover {
  color: var(--pp-blue);
}

.pp-section {
  padding: 88px 0;
  scroll-margin-top: 64px;
}

.pp-section--tint {
  background: var(--pp-tint);
}

.pp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.pp-head h2 {
  font-size: 2rem;
}

.pp-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pp-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--pp-tint);
}

.pp-tile__body {
  padding: 16px 20px 20px;
}

.pp-tile h3 {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.pp-tile p {
  margin-top: 6px;
  color: var(--pp-muted);
  font-size: 0.9rem;
}

.pp .home-services + .closing-quote {
  padding-top: 88px;
}

.pp-bar {
  display: none;
}

@media (max-width: 1100px) {
  .pp-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pp-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .pp-wrap {
    padding: 0 16px;
  }

  .pp-hero {
    padding: 16px 0 48px;
  }

  .pp-hero h1 {
    font-size: 1.9rem;
  }

  .pp-actions .pp-btn {
    flex: 1 1 100%;
  }

  .pp-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
  }

  .pp-trust li {
    min-height: 44px;
  }

  .pp-trust a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .pp-section {
    padding: 56px 0;
  }

  .pp .home-services + .closing-quote {
    padding-top: 56px;
  }

  .pp-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .pp-head h2 {
    font-size: 1.6rem;
  }

  .pp-tiles {
    gap: 12px;
  }

  .pp-tile__body {
    padding: 12px 14px 16px;
  }

  .pp-bar:not([hidden]) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pp-line);
    background: #fff;
    box-shadow: 0 -8px 24px -12px rgba(27, 33, 71, 0.25);
  }

  .pp-bar__copy {
    min-width: 0;
  }

  .pp-bar__title {
    margin: 0;
    color: var(--pp-ink);
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pp-bar__text {
    margin: 0;
    color: var(--pp-muted);
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .pp-bar .pp-btn {
    flex: none;
  }

  body.pp-bar-on {
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-arrow,
  .pp-btn {
    transition: none;
  }
}

@media print {
  .pp-bar {
    display: none !important;
  }
}
