.services-page {
  color: #3d1e22;
  background: #fff;
}

.services-page main { padding-top: 122px; }

.services-intro {
  width: min(1040px, 90%);
  margin: 0 auto;
  padding: 34px 0 30px;
  text-align: center;
}

.services-intro p {
  margin: 0;
  color: #6b1234;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}

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

.services-kicker {
  margin: 0 0 12px;
  color: #b28639;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.services-jump {
  position: sticky;
  z-index: 35;
  top: 108px;
  width: 95.6%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px 8px;
  padding: 8px 12px;
  overflow: visible;
  background: linear-gradient(180deg, rgba(207,11,86,.10) 0, rgba(255,250,241,.96) 18px, rgba(255,250,241,.96) 100%);
  border-top: 1px solid rgba(115,32,58,.08);
  border-bottom: 1px solid rgba(115,32,58,.16);
  border-radius: 0 0 18px 18px;
  box-shadow: inset 0 12px 18px -18px rgba(75,16,35,.48), 0 8px 24px rgba(75,16,35,.06);
  scrollbar-width: none;
  backdrop-filter: blur(12px);
}

.services-jump::-webkit-scrollbar { display: none; }

.services-jump a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid rgba(106,23,54,.18);
  border-radius: 10px;
  color: #6a1736;
  background: rgba(255,255,255,.7);
  box-shadow: 0 3px 10px rgba(75,16,35,.05);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.services-jump a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 100%;
  bottom: 10px;
  height: 2px;
  background: #c69a4c;
  transition: right .22s ease;
}

.services-jump a:hover::after,
.services-jump a:focus-visible::after { right: 8px; }

.services-jump a:hover,
.services-jump a:focus-visible {
  border-color: #c69a4c;
  color: #fff;
  background: #cf0b56;
  box-shadow: 0 7px 16px rgba(75,16,35,.16);
  outline: none;
}

.services-jump a::after { display: none; }

.service-showcase {
  scroll-margin-top: 224px;
  padding: 72px 5vw;
}

.service-showcase:nth-of-type(even) {
  background: linear-gradient(105deg, #fffaf0, #f5e7d1);
}

.service-showcase:nth-of-type(odd) {
  background: #fff;
}

.service-showcase__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, .95fr) minmax(0, 1.55fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}

.service-showcase__copy {
  min-width: 0;
  align-self: start;
}

.service-showcase__copy .services-kicker {
  margin-bottom: 9px;
  font-size: 11px;
}

.service-showcase h2 {
  margin: 0 0 18px;
  color: #6b1234;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: .98;
  letter-spacing: -.035em;
}

.service-showcase__copy p:not(.services-kicker) {
  margin: 0;
  color: #66514f;
  font-size: 16px;
  line-height: 1.7;
}

.service-offerings {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-offerings li {
  padding: 8px 11px;
  border-radius: var(--ui-radius);
  color: #6b1234;
  background: rgba(210, 166, 87, .17);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-gallery figure {
  position: relative;
  aspect-ratio: 1.52 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ui-radius);
  background: #eadcc5;
  cursor: zoom-in;
}

.service-gallery figure:focus-visible {
  outline: 3px solid #d2a657;
  outline-offset: 4px;
}

.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.service-gallery figure:hover img,
.service-gallery figure:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.services-cta {
  position: relative;
  padding: 58px 5vw;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #41091e, #7a113a 62%, #b20b52);
}

.services-cta::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -210px;
  top: -365px;
  border: 1px solid rgba(239,213,156,.38);
  border-radius: 50%;
}

.services-cta__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.services-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1;
}

.services-cta p {
  max-width: 660px;
  margin: 13px 0 0;
  color: #ead8dc;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .services-page main { padding-top: 92px; }
  .services-intro { padding-top: 30px; }
  .services-jump {
    top: 84px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    padding: 0 3vw;
    overflow-x: auto;
    border-radius: 0 0 14px 14px;
  }
  .services-jump a { flex: 0 0 auto; }
  .service-showcase { scroll-margin-top: 145px; }
}

@media (max-width: 980px) {
  .service-showcase { padding: 60px 6vw; }
  .service-showcase__inner { grid-template-columns: 1fr; gap: 30px; }
  .service-showcase__copy { max-width: 660px; text-align: center; margin: 0 auto; }
  .service-offerings { justify-content: center; }
  .service-gallery { width: 100%; }
  .services-cta__inner { display: block; text-align: center; }
  .services-cta .header-cta { margin-top: 26px; display: inline-flex; }
}

@media (max-width: 560px) {
  .services-intro { width: 88%; padding: 26px 0 24px; }
  .services-intro p { font-size: 23px; }
  .services-jump { top: 84px; }
  .services-jump a { padding: 15px 12px 14px; font-size: 13px; }
  .service-showcase { scroll-margin-top: 135px; padding: 52px 5vw; }
  .service-showcase h2 { font-size: 39px; }
  .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .service-gallery figure { aspect-ratio: 1.28 / 1; }
  .services-cta { padding: 48px 6vw; }
  .services-cta .header-cta { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .service-gallery img { transition: none; }
}
