/* iSpice Caterers service sections - scoped styles to avoid affecting the existing theme */
.sp-service-details {
  --sp-red: #d52d35;
  --sp-red-dark: #bd202a;
  --sp-ink: #29292e;
  --sp-muted: #77747a;
  --sp-blush: #fff7f6;
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--sp-ink);
  font-family: inherit;
}

.sp-service-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 66px 22px 36px;
  text-align: center;
}

.sp-service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--sp-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.sp-service-eyebrow::before,
.sp-service-eyebrow::after {
  width: 17px;
  height: 1px;
  background: var(--sp-red);
  content: "";
}

.sp-service-intro h2 {
  margin: 0 0 12px;
  color: var(--sp-ink);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 750;
  line-height: 1.2;
}

.sp-service-intro p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.8;
}

.sp-service-row {
  width: 100%;
  background: #fff;
  scroll-margin-top: 95px;
}

.sp-service-row--tint {
  background: var(--sp-blush);
}

.sp-service-row-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
}

.sp-service-row--reverse .sp-service-image {
  order: 2;
}

.sp-service-row--reverse .sp-service-copy {
  order: 1;
}

.sp-service-image {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 13px;
  background: #f6eeee;
  box-shadow: 0 8px 24px rgba(42, 25, 25, 0.09);
}

.sp-service-image::after {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  content: "";
  pointer-events: none;
}

.sp-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sp-service-row:hover .sp-service-image img {
  transform: scale(1.035);
}

.sp-service-copy {
  min-width: 0;
}

.sp-service-copy .sp-service-eyebrow {
  margin-bottom: 9px;
}

.sp-service-copy h2 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 13px;
  color: var(--sp-ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.2;
}

.sp-service-copy h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--sp-red);
  content: "";
}

.sp-service-copy p {
  margin: 0 0 12px;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.85;
}

.sp-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.sp-service-tags span {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid rgba(213, 45, 53, 0.2);
  border-radius: 30px;
  background: #fff;
  color: #5d5558;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.sp-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 43px;
  padding: 11px 20px;
  border: 1px solid var(--sp-red);
  border-radius: 25px;
  background: var(--sp-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sp-service-button:hover,
.sp-service-button:focus {
  border-color: var(--sp-red-dark);
  background: var(--sp-red-dark);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.sp-service-button span {
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 767px) {
  .sp-service-intro {
    padding: 48px 20px 25px;
  }

  .sp-service-row-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding: 34px 20px 39px;
  }

  .sp-service-row--reverse .sp-service-image,
  .sp-service-row--reverse .sp-service-copy {
    order: initial;
  }

  .sp-service-image {
    aspect-ratio: 1.45 / 1;
    border-width: 4px;
  }

  .sp-service-copy h2 {
    margin-bottom: 13px;
    font-size: 26px;
  }

  .sp-service-copy p {
    font-size: 13px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-service-image img,
  .sp-service-button {
    transition: none;
  }
}
