body[data-page="services"] {
  background: var(--white);
}

.services-hero {
  min-height: 78dvh;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.services-hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 13, 7, 0.82), rgba(18, 13, 7, 0.28)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.98), transparent 24%);
}

.services-hero-copy {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 9rem 0 5rem;
  color: var(--white);
}

.services-hero-panel {
  max-width: 780px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(18, 13, 7, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(18, 13, 7, 0.22);
  backdrop-filter: blur(14px);
  animation: textLift 860ms ease both;
}

.services-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
}

.services-hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.services-hero-tags span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  animation: chipFloat 3.4s ease-in-out infinite;
}

.services-hero-tags span:nth-child(2) {
  animation-delay: 160ms;
}

.services-hero-tags span:nth-child(3) {
  animation-delay: 320ms;
}

.services-hero-tags span:nth-child(4) {
  animation-delay: 480ms;
}

.category-tabs {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 0.6rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-tabs a {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-tabs a:hover {
  color: var(--white);
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.service-category {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.service-category + .service-category {
  border-top: 1px solid var(--line);
}

.category-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 850px;
  margin-bottom: 2rem;
}

.category-heading > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  font-weight: 900;
}

.category-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.category-heading p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.treatment-grid article {
  min-height: 210px;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(201, 155, 63, 0.08), transparent 34%),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.treatment-grid article::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -75%;
  width: 55%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.treatment-grid article:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.treatment-grid article:hover::after {
  animation: sheen 900ms ease;
}

.treatment-grid h3 {
  margin: 0 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.treatment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.expected {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(201, 155, 63, 0.2);
  border-radius: var(--radius);
}

.expected strong {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expected span {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-note {
  max-width: 820px;
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  color: var(--muted);
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.service-booking {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 13, 7, 0.86), rgba(18, 13, 7, 0.58)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1400&q=86") center/cover;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-booking p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 960px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-booking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-hero-copy {
    padding: 7rem 0 4rem;
  }

  .service-category {
    padding: 3.8rem 0;
  }

  .category-heading {
    grid-template-columns: 1fr;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
  }
}
