/* TaskPromise reference hero. All layout rules are scoped to the new hero. */
.tp-reference-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(430px, 40vw, 650px);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background-color: #F3F8FC;
}
.tp-reference-hero .tp-hero-backdrop {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  max-width: none !important;
  z-index: -1;
  pointer-events: none;
}
.tp-reference-hero .tp-hero-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.tp-reference-hero .tp-hero-copy {
  position: relative;
  width: 54%;
  max-width: 830px !important;
  margin: 0 0 0 4% !important;
  padding: clamp(34px, 4.8vw, 66px) 0 clamp(20px, 1.9vw, 28px);
}
.tp-reference-hero .tp-hero-title {
  margin: 0 !important;
  color: #142B49;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 5.05vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.015;
}
.tp-reference-hero .tp-hero-title span { display: block; white-space: nowrap; }
.tp-reference-hero .tp-hero-title .tp-hero-title-green { color: #23823D; }
.tp-reference-hero .tp-hero-intro {
  margin: clamp(10px, 1.2vw, 16px) 0 0 !important;
  max-width: 27ch;
  font-family: DM Sans, sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 25px);
  color: #142B49;
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.tp-reference-hero .tp-hero-features {
  display: grid !important;
  grid-template-columns: .92fr .95fr 1.03fr 1.2fr;
  gap: clamp(12px, 1.3vw, 20px) !important;
  width: 100%;
  margin: clamp(14px, 1.4vw, 20px) 0 0 !important;
  padding: 0;
}
.tp-reference-hero .tp-hero-feature {
  display: flex !important;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: clamp(8px, .8vw, 12px) !important;
  margin: 0 !important;
  min-width: 0;
}
.tp-reference-hero .tp-hero-feature > .wp-block-group { min-width: 0; margin: 0 !important; }
.tp-reference-hero .tp-hero-feature p { margin: 0 !important; font-family: DM Sans, sans-serif; }
.tp-reference-hero .tp-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(28px, 2.7vw, 40px);
  height: clamp(28px, 2.7vw, 40px);
  color: #FFFFFF;
  background: #2165C5;
  border-radius: 8px;
}
.tp-reference-hero .tp-hero-feature:last-child .tp-feature-icon { background: #23823D; }
.tp-reference-hero .tp-feature-icon .dashicons { font-size: 22px; width: 22px; height: 22px; }
.tp-reference-hero .tp-feature-icon::before,
.tp-reference-hero .tp-trust-item::before,
.tp-reference-hero .tp-hero-actions .wp-block-button__link::after {
  font-family: dashicons;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  speak: never;
  -webkit-font-smoothing: antialiased;
}
.tp-reference-hero .tp-feature-icon::before { font-size: 22px; }
.tp-reference-hero .tp-hero-feature:nth-child(1) .tp-feature-icon::before { content: "\f309" / ""; }
.tp-reference-hero .tp-hero-feature:nth-child(2) .tp-feature-icon::before { content: "\f497" / ""; }
.tp-reference-hero .tp-hero-feature:nth-child(3) .tp-feature-icon::before { content: "\f472" / ""; }
.tp-reference-hero .tp-hero-feature:nth-child(4) .tp-feature-icon::before { content: "\f237" / ""; }
.tp-reference-hero .tp-hero-actions .wp-block-button__link::after { content: "\f345" / ""; font-size: 19px; }
.tp-reference-hero .tp-hero-actions .tp-hero-shop .wp-block-button__link::after { content: "\f174" / ""; }
.tp-reference-hero .tp-trust-item::before { font-size: 17px; flex: 0 0 17px; }
.tp-reference-hero .tp-trust-item:nth-child(1)::before { content: "\f502" / ""; }
.tp-reference-hero .tp-trust-item:nth-child(2)::before { content: "\f12a" / ""; }
.tp-reference-hero .tp-trust-item:nth-child(3)::before { content: "\f194" / ""; }
.tp-reference-hero .tp-trust-item:nth-child(4)::before { content: "\f468" / ""; }
.tp-reference-hero .tp-feature-label {
  font-weight: 700;
  font-size: clamp(11px, 1.08vw, 15px);
  color: #142B49;
  line-height: 1.2;
  white-space: nowrap;
}
.tp-reference-hero .tp-feature-note {
  margin-top: 5px !important;
  font-size: clamp(10px, .83vw, 12px);
  color: #142B49;
  line-height: 1.25;
}
.tp-reference-hero .tp-hero-actions {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: clamp(14px, 1.5vw, 22px) !important;
  margin: clamp(20px, 2.1vw, 30px) 0 0 !important;
  padding: 0;
}
.tp-reference-hero .tp-hero-actions .wp-block-button { margin: 0 !important; }
.tp-reference-hero .tp-hero-actions .wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px clamp(18px, 2.25vw, 32px) !important;
  border-radius: 999px !important;
  border: 1.5px solid #23823D;
  background-color: #23823D;
  color: #FFFFFF !important;
  font-family: DM Sans, sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.35vw, 18px);
  line-height: 1.15;
  letter-spacing: -.015em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 9px rgba(35,130,61,.13);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tp-reference-hero .tp-hero-actions .tp-hero-shop .wp-block-button__link {
  border-color: #2165C5;
  background-color: #FFFFFF;
  color: #142B49 !important;
  box-shadow: 0 4px 9px rgba(33,101,197,.09);
}
.tp-reference-hero .tp-hero-actions .wp-block-button__link .dashicons { font-size: 19px; height: 19px; width: 19px; }
.tp-reference-hero .tp-hero-actions .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(20,43,73,.15);
}
.tp-reference-hero .tp-hero-actions .wp-block-button__link:focus-visible {
  outline: 3px solid #2165C5;
  outline-offset: 4px;
}
.tp-reference-hero .tp-hero-trust {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  gap: clamp(13px, 1.8vw, 26px) !important;
  width: 92%;
  margin: clamp(23px, 2.5vw, 34px) 0 0 !important;
  padding: 0;
}
.tp-reference-hero .tp-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  font-family: DM Sans, sans-serif;
  font-size: clamp(10px, .92vw, 13px);
  font-weight: 500;
  line-height: 1.25;
  color: #142B49;
  white-space: nowrap;
}
.tp-reference-hero .tp-trust-item .dashicons {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  font-size: 17px;
  color: #142B49;
}
@media (min-width: 1700px) {
  .tp-reference-hero { min-height: 650px; }
  .tp-reference-hero .tp-hero-copy { margin-left: calc((100vw - 1600px) / 2 + 40px) !important; }
}
@media (max-width: 1000px) {
  .tp-reference-hero { display: flex; flex-direction: column; min-height: 0; }
  .tp-reference-hero .tp-hero-copy {
    order: 1;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 36px 28px 30px;
    background: #F3F8FC;
  }
  .tp-reference-hero .tp-hero-title { font-size: clamp(38px, 5.9vw, 56px); }
  .tp-reference-hero .tp-hero-intro { font-size: 20px; max-width: 39ch; line-height: 1.3; }
  .tp-reference-hero .tp-hero-features { width: 100%; max-width: 650px; margin-top: 24px !important; gap: 18px !important; }
  .tp-reference-hero .tp-feature-label { font-size: 14px; }
  .tp-reference-hero .tp-feature-note { font-size: 12px; }
  .tp-reference-hero .tp-feature-icon { width: 34px; height: 34px; }
  .tp-reference-hero .tp-hero-actions { margin-top: 26px !important; }
  .tp-reference-hero .tp-hero-actions .wp-block-button__link { font-size: 16px; min-height: 52px; padding: 15px 24px !important; }
  .tp-reference-hero .tp-hero-trust { width: 100%; gap: 24px !important; margin-top: 26px !important; }
  .tp-reference-hero .tp-trust-item { font-size: 12px; }
  .tp-reference-hero .tp-hero-backdrop {
    order: 2;
    position: relative;
    inset: auto;
    height: min(78vw, 460px);
    min-height: 0;
    z-index: 0;
  }
  .tp-reference-hero .tp-hero-backdrop img { object-position: right center; }
}
@media (max-width: 600px) {
  .tp-reference-hero .tp-hero-copy { padding: 30px 22px 28px; }
  .tp-reference-hero .tp-hero-title { font-size: clamp(28px, 8.15vw, 44px); letter-spacing: -.045em; line-height: 1.06; }
  .tp-reference-hero .tp-hero-intro { font-size: 17px; line-height: 1.32; margin-top: 16px !important; max-width: 34ch; }
  .tp-reference-hero .tp-hero-features { grid-template-columns: 1fr 1fr; gap: 20px 16px !important; margin-top: 24px !important; }
  .tp-reference-hero .tp-feature-label { font-size: 13px; }
  .tp-reference-hero .tp-feature-note { font-size: 11px; }
  .tp-reference-hero .tp-hero-feature { gap: 10px !important; }
  .tp-reference-hero .tp-hero-actions { flex-direction: column; align-items: stretch; gap: 12px !important; }
  .tp-reference-hero .tp-hero-actions .wp-block-button { width: 100%; }
  .tp-reference-hero .tp-hero-actions .wp-block-button__link { width: 100%; min-height: 50px; font-size: 15px; }
  .tp-reference-hero .tp-hero-trust { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 10px !important; margin-top: 24px !important; }
  .tp-reference-hero .tp-trust-item { font-size: 11px; gap: 7px; }
  .tp-reference-hero .tp-hero-backdrop { height: 78vw; max-height: 450px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-reference-hero .tp-hero-actions .wp-block-button__link { transition: none; }
  .tp-reference-hero .tp-hero-actions .wp-block-button__link:hover { transform: none; }
}


/* TaskPromise approved compact services, 30 October 2026. */
body.home #services.tp-compact-services,
.editor-styles-wrapper #services.tp-compact-services {
  display:block; box-sizing:border-box; margin:0; padding:28px 24px 24px!important;
  background:#F3F8FC!important; color:#142B49;
}
#services.tp-compact-services .tp-services-inner { width:100%; max-width:1200px; margin:0 auto!important; }
#services.tp-compact-services .tp-services-eyebrow { margin:0 0 6px!important; font-size:11px; font-weight:700; line-height:1.4; letter-spacing:.025em; color:#23823D; }
#services.tp-compact-services h2 { margin:0!important; max-width:none; color:#142B49; font-family:Manrope,sans-serif; font-size:32px; font-weight:800; line-height:1.16; letter-spacing:-1px; }
#services.tp-compact-services .tp-services-intro { margin:7px 0 0!important; color:#526477; font-size:16px; line-height:1.5; }
#services.tp-compact-services .tp-services-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0 0!important; }
#services.tp-compact-services .tp-service-card { display:grid; grid-template-columns:130px minmax(0,1fr); align-items:center; gap:16px; position:relative; min-width:0; box-sizing:border-box; margin:0!important; padding:9px; border:1px solid #DCE6ED; border-radius:16px; background:#FFFFFF; box-shadow:0 3px 12px rgba(20,43,73,.035); transition:border-color .15s ease,box-shadow .15s ease; }
body.home #services.tp-compact-services .wp-block-image.tp-service-thumb,
.editor-styles-wrapper #services.tp-compact-services .wp-block-image.tp-service-thumb { width:130px!important; height:108px!important; max-width:none!important; margin:0!important; border-radius:8px; overflow:hidden; line-height:0; }
body.home #services.tp-compact-services .tp-service-thumb img,
.editor-styles-wrapper #services.tp-compact-services .tp-service-thumb img { display:block; width:100%!important; height:100%!important; max-width:none!important; aspect-ratio:auto!important; object-fit:cover!important; border-radius:8px!important; transform:none!important; }
#services.tp-compact-services .tp-service-copy { margin:0!important; min-width:0; padding:0; }
#services.tp-compact-services h3 { margin:0 0 5px!important; font-family:Manrope,sans-serif; color:#142B49; font-size:16px; font-weight:800; line-height:1.25; letter-spacing:-.35px; }
#services.tp-compact-services .tp-service-description { margin:0!important; color:#526477; font-size:14px; line-height:1.35; }
#services.tp-compact-services .tp-service-explore { margin:5px 0 0!important; font-size:13px; line-height:1.45; }
#services.tp-compact-services .tp-service-explore a { display:inline-flex; align-items:center; gap:8px; color:#2165C5; font-weight:700; text-decoration:none; }
#services.tp-compact-services .tp-service-explore a::after { position:absolute; inset:0; content:""; border-radius:16px; }
#services.tp-compact-services .tp-service-explore .dashicons { font-size:17px; width:17px; height:17px; }
#services.tp-compact-services .tp-service-card:hover { border-color:#2165C5; box-shadow:0 5px 16px rgba(20,43,73,.08); }
#services.tp-compact-services .tp-service-card:focus-within { outline:3px solid #23823D; outline-offset:3px; }
@media(max-width:1100px) {
 #services.tp-compact-services .tp-services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #services.tp-compact-services .tp-service-card { grid-template-columns:120px minmax(0,1fr); }
 body.home #services.tp-compact-services .wp-block-image.tp-service-thumb { width:120px!important; }
}
@media(max-width:640px) {
 body.home #services.tp-compact-services { padding:26px 18px!important; }
 #services.tp-compact-services h2 { font-size:27px; line-height:1.16; letter-spacing:-.7px; }
 #services.tp-compact-services .tp-services-intro { font-size:15px; }
 #services.tp-compact-services .tp-services-grid { grid-template-columns:1fr; gap:10px; margin-top:18px!important; }
 #services.tp-compact-services .tp-service-card { grid-template-columns:104px minmax(0,1fr); gap:14px; padding:8px; }
 body.home #services.tp-compact-services .wp-block-image.tp-service-thumb { width:104px!important; height:108px!important; }
 #services.tp-compact-services h3 { font-size:16px; }
}
@media(max-width:360px) {
 #services.tp-compact-services .tp-service-card { grid-template-columns:88px minmax(0,1fr); gap:12px; }
 body.home #services.tp-compact-services .wp-block-image.tp-service-thumb { width:88px!important; height:110px!important; }
 #services.tp-compact-services h3 { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
 #services.tp-compact-services .tp-service-card { transition:none; }
}

#services.tp-compact-services .tp-service-explore a::before { content:"\f344"; font-family:dashicons; font-size:17px; line-height:1; order:2; }
