.mp-technology-section,.mp-home-services{background:#fff;padding:64px 0;border-top:1px solid #e5e7eb}.mp-technology-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.mp-technology-heading span{color:#b21f24;font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.12em}.mp-technology-heading h2{margin:0;color:#17191d;font-size:clamp(1.65rem,3vw,2.55rem);font-weight:850}.mp-technology-grid,.mp-home-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mp-technology-card,.mp-home-service-card{min-height:300px;position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:18px;background:#282d34 var(--mp-tech-bg) center/cover no-repeat;color:#fff;text-decoration:none;box-shadow:0 18px 46px rgba(15,23,42,.14)}.mp-technology-card.is-full,.mp-home-service-card.is-full{grid-column:1/-1;min-height:340px}.mp-technology-overlay,.mp-home-service-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,18,22,.08),rgba(15,18,22,.88))}.mp-technology-copy,.mp-home-service-copy{position:relative;z-index:1;padding:28px;display:flex;flex-direction:column;gap:8px;max-width:720px}.mp-technology-copy em,.mp-home-service-copy em{font-style:normal;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:800;color:#ffb4b7}.mp-technology-copy strong,.mp-home-service-copy strong{font-size:clamp(1.25rem,2.2vw,2rem);line-height:1.15}.mp-technology-copy small,.mp-home-service-copy small{font-size:.94rem;line-height:1.6;color:rgba(255,255,255,.82)}.mp-technology-copy b,.mp-home-service-copy b{margin-top:6px;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.mp-service-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.mp-service-detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:22px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.mp-service-detail-card h3{font-size:1rem;font-weight:850;color:#1c2026}.mp-service-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;border-radius:16px;background:#20242b;color:#fff;margin:28px 0}.mp-service-cta a{background:#b52025;color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:800}@media(max-width:767.98px){.mp-technology-section,.mp-home-services{padding:42px 0}.mp-technology-heading{display:block}.mp-technology-grid,.mp-home-services-grid,.mp-service-detail-fields{grid-template-columns:1fr}.mp-technology-card.is-full,.mp-home-service-card.is-full{grid-column:auto}.mp-technology-card,.mp-home-service-card{min-height:260px}.mp-service-cta{align-items:flex-start;flex-direction:column}}

/* Patch 321: compact four-column Featured Services layout. */
body.site-masterpalm .mp-home-services {
  background: #fff;
  padding: 48px 0;
}
body.site-masterpalm .mp-home-services .mp-technology-heading {
  margin-bottom: 20px;
}
body.site-masterpalm .mp-home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-card,
body.site-masterpalm .mp-home-services-grid .mp-home-service-card.is-full {
  grid-column: auto !important;
  min-height: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #d9dee5;
  border-radius: 0 !important;
  background-color: #4c535c;
  background-image: var(--mp-tech-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 18, 0.00) 20%,
    rgba(9, 13, 18, 0.18) 52%,
    rgba(9, 13, 18, 0.72) 100%
  );
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff !important;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy em,
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy strong,
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy small,
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy b,
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy i {
  color: #fff !important;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .9;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy strong {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 850;
  line-height: 1.18;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .82rem;
  line-height: 1.4;
  opacity: .88;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-copy b {
  margin-top: 2px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.site-masterpalm .mp-home-services-grid .mp-home-service-card:hover,
body.site-masterpalm .mp-home-services-grid .mp-home-service-card:focus-visible {
  border-color: #b8001f;
}
@media (max-width: 1199.98px) {
  body.site-masterpalm .mp-home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.site-masterpalm .mp-home-services-grid .mp-home-service-card {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 575.98px) {
  body.site-masterpalm .mp-home-services {
    padding: 36px 0;
  }
  body.site-masterpalm .mp-home-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.site-masterpalm .mp-home-services-grid .mp-home-service-card {
    aspect-ratio: 16 / 10;
  }
  body.site-masterpalm .mp-home-services-grid .mp-home-service-copy {
    padding: 16px;
  }
}

/* Patch 323: apply the compact Featured Services treatment to service and
   technology cards rendered on product and collection pages. */
body.site-masterpalm .mp-technology-section {
  background: #fff;
  padding: 48px 0;
}
body.site-masterpalm .mp-technology-section .mp-technology-heading {
  margin-bottom: 20px;
}
body.site-masterpalm .mp-technology-section .mp-technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
body.site-masterpalm .mp-technology-section .mp-technology-card,
body.site-masterpalm .mp-technology-section .mp-technology-card.is-full {
  grid-column: auto !important;
  min-height: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #d9dee5;
  border-radius: 0 !important;
  background-color: #4c535c;
  background-image: var(--mp-tech-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}
body.site-masterpalm .mp-technology-section .mp-technology-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 18, 0) 20%,
    rgba(9, 13, 18, .16) 54%,
    rgba(9, 13, 18, .70) 100%
  );
}
body.site-masterpalm .mp-technology-section .mp-technology-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff !important;
}
body.site-masterpalm .mp-technology-section .mp-technology-copy em,
body.site-masterpalm .mp-technology-section .mp-technology-copy strong,
body.site-masterpalm .mp-technology-section .mp-technology-copy small,
body.site-masterpalm .mp-technology-section .mp-technology-copy b,
body.site-masterpalm .mp-technology-section .mp-technology-copy i {
  color: #fff !important;
}
body.site-masterpalm .mp-technology-section .mp-technology-copy strong {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.18;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
body.site-masterpalm .mp-technology-section .mp-technology-copy small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .82rem;
  line-height: 1.4;
  opacity: .88;
}
body.site-masterpalm .mp-technology-section .mp-technology-copy b {
  margin-top: 2px;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.site-masterpalm .mp-technology-section .mp-technology-card:hover,
body.site-masterpalm .mp-technology-section .mp-technology-card:focus-visible {
  border-color: #b8001f;
}
@media (max-width: 1199.98px) {
  body.site-masterpalm .mp-technology-section .mp-technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.site-masterpalm .mp-technology-section .mp-technology-card {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 575.98px) {
  body.site-masterpalm .mp-technology-section {
    padding: 36px 0;
  }
  body.site-masterpalm .mp-technology-section .mp-technology-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.site-masterpalm .mp-technology-section .mp-technology-card {
    aspect-ratio: 16 / 10;
  }
  body.site-masterpalm .mp-technology-section .mp-technology-copy {
    padding: 16px;
  }
}
