/* Service-specific layout using the homepage's existing type, spacing and card system. */
.service-page {
  --sp-gutter: clamp(16px, 4vw, 40px);
  --sp-section: clamp(32px, 4vw, 56px);
  --sp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service-page .sp-shell {
  width: 100%;
  max-width: 1240px;
  margin: auto;
  padding: 44px var(--sp-gutter) 0;
}
.service-page .sp-shell > * {
  min-width: 0;
}
.service-page .service-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 14px 22px;
  margin: 0 0 20px;
  border: 1.5px solid #c791b7;
  border-radius: 999px;
  background: transparent;
  color: #76225e;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.25s var(--sp-ease),
    border-color 0.25s var(--sp-ease);
}
.service-page .service-back:hover {
  background: #f7e8f1;
  border-color: #76225e;
}
.service-page .service-back:focus-visible {
  outline: 2px solid #76225e;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .service-page .service-back {
    transition: none;
  }
}
.service-page .sp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 0 0 40px;
  border: 0;
}
.service-page .sp-hero__copy {
  min-width: 0;
}
.service-page .sp-hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 20px 0 24px;
  overflow-wrap: normal;
}
.service-page .sp-hero h1 em {
  font-size: 0.58em;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.service-page .sp-hero p {
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  color: #6b5966;
}
.service-page .sp-hero__visual {
  min-width: 0;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  background: #f7e8f1;
  aspect-ratio: 4/4.6;
}
.service-page .sp-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--sp-ease);
}
.service-page .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #76225e;
  line-height: 1.6;
}
.service-page .service-actions {
  gap: 12px;
  margin-top: 28px;
}
.service-page .button,
.service-page .service-actions .text-link,
.service-page .consultation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  transition:
    background-color 0.25s var(--sp-ease),
    transform 0.25s var(--sp-ease),
    border-color 0.25s var(--sp-ease);
}
.service-page .service-actions .text-link {
  margin: 0;
  border: 1.5px solid #c791b7;
  color: #76225e;
  background: transparent;
}
.service-page .service-actions .text-link:hover {
  background: #f7e8f1;
  border-color: #76225e;
}
.service-page .service-section {
  padding: var(--sp-section) 0;
  border-bottom: 1px solid #ecdfe8;
  scroll-margin-top: 136px;
}
.service-page .service-section > h2,
.service-page .sp-related-head > h2 {
  font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 32px;
}
.service-page .service-section > p {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b5966;
  margin: 20px 0 0;
  max-width: 70ch;
}
.service-page .sp-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.service-page .sp-introduction > h2,
.service-page .sp-introduction > p {
  margin: 0;
}
.service-page .service-zone-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-page .service-zone-list li {
  border-radius: 20px;
  background: #fcf8fb;
  border: 1px solid #ecdfe8;
  padding: 22px;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-page .service-zone-list li::before {
  content: "✓";
  color: #76225e;
  font-weight: 700;
  flex: none;
}
:is(#masters, .sp-masters) .sp-master-grid,
:is(#equipment, .sp-equipment) .sp-equipment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
:is(#masters, .sp-masters) .sp-master-grid.sp-single,
:is(#equipment, .sp-equipment) .sp-equipment-grid.sp-single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 560px);
  margin-inline: auto;
}
:is(#masters, .sp-masters) .sp-master-grid .masters-ref-card {
  grid-template-columns: minmax(0, 1fr);
}
.service-page .sp-master-specialization {
  display: block;
  font:
    500 0.92rem/1.6 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin-top: 8px;
  color: #6b5966;
}
.service-page .sp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #76225e;
  font-size: 0.78rem;
}
.service-page .sp-chips > span {
  padding: 4px 11px;
  border-radius: 999px;
  background: #f7e8f1;
  color: #4e163e;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
}
.service-page .sp-equipment .eq-ref-photo {
  aspect-ratio: 4/3;
}
.service-page .sp-prices {
  background: #fcf8fb;
  border-radius: 28px;
  padding: 32px;
  margin-block: var(--sp-section);
  border: 1px solid #ecdfe8;
}
.service-page .sp-prices .rf-pricer {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.service-page .sp-prices .rf-pricer__foot {
  margin-top: 24px;
  font-size: 0.875rem;
  line-height: 1.65;
}
.service-page .sp-prices .rf-basket {
  top: 136px;
}
.service-page .service-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  padding: 0;
  margin: 0;
  list-style: none;
}
.service-page .service-steps li {
  counter-increment: step;
  padding: 24px;
  border: 1px solid #ecdfe8;
  border-radius: 20px;
  background: #fcf8fb;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.service-page .service-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #76225e;
}
.service-page .service-section.sp-editorial {
  padding: 32px;
  margin-block: 28px;
  background: #f7e8f1;
  border: 1px solid #ecdfe8;
  border-radius: 28px;
}
.service-page .sp-editorial > p {
  max-width: none;
}
.service-page .service-section.sp-consultation {
  padding: 36px;
  margin-block: 28px;
  border: 1px solid #ecdfe8;
  border-radius: 28px;
  background: #fcf8fb;
}
.service-page .sp-consultation > h2 {
  margin-bottom: 20px;
}
.service-page .consultation-link {
  background: #76225e;
  color: #fff;
  border: 1px solid #76225e;
  margin-top: 24px;
}
.service-page .consultation-link:hover {
  background: #4e163e;
  transform: translateY(-2px);
}
.service-page .service-location {
  gap: 24px;
  align-items: stretch;
}
.service-page .service-location > div:first-child {
  padding: 28px;
  border: 1px solid #ecdfe8;
  background: #fcf8fb;
  border-radius: 28px;
}
.service-page .service-location p {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b5966;
  margin: 0 0 16px;
}
.service-page .service-location p:last-child {
  margin: 0;
}
.service-page .studio-map {
  border-radius: 28px;
  border-color: #ecdfe8;
}
.service-page .studio-map iframe {
  height: 280px;
}
.service-page .sp-related-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}
.service-page .sp-related-head > h2 {
  margin: 0;
}
.service-page .sp-picker-link {
  justify-self: end;
  color: #76225e;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.service-page .sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-page .sp-related-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ecdfe8;
  border-radius: 24px;
  background: #fff;
  min-width: 0;
  transition:
    border-color 0.35s var(--sp-ease),
    box-shadow 0.35s var(--sp-ease),
    transform 0.35s var(--sp-ease);
}
.service-page .sp-related-image {
  width: 72px;
  height: 88px;
  overflow: hidden;
  border-radius: 16px;
  background: #f7e8f1;
}
.service-page .sp-related-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s var(--sp-ease);
}
.service-page .sp-related-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.service-page .sp-related-eyebrow {
  color: #76225e;
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.4;
}
.service-page .sp-related-name {
  font-family: Montserrat, Arial, sans-serif;
  color: #31232e;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.service-page .sp-related-price {
  font-size: 0.83rem;
  font-weight: 600;
  color: #76225e;
}
.service-page .sp-related-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7e8f1;
  color: #76225e;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .service-page .sp-hero__visual:hover img {
    transform: scale(1.025);
  }
  .service-page .sp-related-card:hover {
    transform: translateY(-2px);
    border-color: #c791b7;
    box-shadow: 0 18px 40px -26px #76225e55;
  }
  .service-page .sp-related-card:hover img {
    transform: scale(1.03);
  }
  .service-page .sp-related-card:hover .sp-related-arrow {
    background: #76225e;
    color: #fff;
    transform: translateX(2px);
  }
}
@media (max-width: 1099px) {
  .service-page .sp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  .service-page .sp-hero {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }
  .service-page .service-zone-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-page .sp-introduction {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-page .sp-prices {
    padding: 24px;
  }
  .service-page .sp-related-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-page .sp-picker-link {
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .service-page .sp-shell {
    padding-top: 28px;
  }
  .service-page .sp-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-page .sp-hero__visual {
    aspect-ratio: 4/3;
    border-radius: 28px;
  }
  .service-page .service-zone-list,
  .service-page .service-steps,
  .service-page .service-location,
  .service-page .sp-related-grid {
    grid-template-columns: 1fr;
  }
  :is(#masters, .sp-masters) .sp-master-grid,
  :is(#equipment, .sp-equipment) .sp-equipment-grid {
    grid-template-columns: 1fr;
  }
  .service-page .sp-prices {
    padding: 20px 14px;
  }
  .service-page .service-section.sp-editorial,
  .service-page .service-section.sp-consultation {
    padding: 24px;
  }
  .service-page .sp-related-card {
    grid-template-columns: 80px minmax(0, 1fr) 38px;
    padding: 16px;
  }
  .service-page .sp-related-image {
    width: 80px;
    height: 88px;
  }
  .service-page .service-actions > a {
    flex: 1 1 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-page .sp-shell * {
    animation: none !important;
    transition: none !important;
  }
  .service-page .sp-shell img,
  .service-page .sp-related-card {
    transform: none !important;
  }
}

/* Studio essentials: three grouped, top-aligned pieces of information. */
.service-page .sp-info-card {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1fr;
  gap: 28px;
  padding: 28px 32px;
  background: #fcf8fb;
  border: 1px solid #ecdfe8;
  border-radius: 28px;
  align-items: start;
}
.service-page .sp-info-intro .eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  margin: 0 0 12px;
}
.service-page .sp-info-intro h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 0.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.service-page .sp-info-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 1px solid #ecdfe8;
  padding-left: 24px;
  min-width: 0;
}
.service-page .sp-info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #76225e;
  background: #f7e8f1;
}
.service-page .sp-info-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.service-page .sp-info-detail__body {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-top: 4px;
}
.service-page .sp-info-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6b5966;
}
.service-page .sp-info-detail__body > p:first-child {
  color: #31232e;
}
.service-page .sp-info-card .text-link {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  margin: 2px 0 0;
  padding: 4px 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #76225e;
  line-height: 1.5;
}
@media (min-width: 721px) and (max-width: 999px) {
  .service-page .sp-info-card {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .service-page .sp-info-intro {
    grid-column: 1/-1;
  }
  .service-page .sp-info-detail {
    border: 0;
    padding: 0;
  }
  .service-page .sp-info-intro h2 {
    text-wrap: initial;
  }
}
@media (max-width: 720px) {
  .service-page .sp-info-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .service-page .sp-info-detail {
    border-left: 0;
    border-top: 1px solid #ecdfe8;
    padding: 20px 0 0;
  }
  .service-page .sp-info-intro h2 {
    text-wrap: initial;
  }
}
