/* Service detail page styles — share tokens with the main site */
@import url("../styles.css");

.svc-hero {
  padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--ink-200);
  background: linear-gradient(180deg, var(--brand-50) 0%, transparent 90%);
}
.svc-hero__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-500); text-decoration: none;
}
.svc-hero__back:hover { color: var(--brand); }
.svc-hero__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end;
  margin-top: 32px;
}
@media (max-width: 900px) { .svc-hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.svc-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 600; line-height: 0.96; color: var(--ink-900);
  letter-spacing: -0.02em; margin: 16px 0 24px;
}
.svc-hero__title em { font-style: italic; font-weight: 400; color: var(--brand); }
.svc-hero__sub { font-size: 17px; line-height: 1.6; color: var(--ink-600); max-width: 520px; }
.svc-hero__card {
  border: 1px solid var(--ink-200); background: #fff; border-radius: 24px;
  padding: 28px; box-shadow: var(--shadow-md);
}
.svc-hero__card-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--ink-200);
}
.svc-hero__card-row:last-child { border-bottom: none; }
.svc-hero__card-row .lbl {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
}
.svc-hero__card-row .val {
  font-family: var(--font-heading); font-size: 22px; color: var(--ink-900); font-weight: 600;
}

.svc-body { padding: clamp(60px, 8vw, 100px) 0; }
.svc-body__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
@media (max-width: 900px) { .svc-body__grid { grid-template-columns: 1fr; } }
.svc-body__rail {
  position: sticky; top: 96px; align-self: start;
  border-left: 1px solid var(--ink-200); padding-left: 24px;
}
.svc-body__rail h4 {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600; margin: 0 0 16px;
}
.svc-body__rail a {
  display: block; padding: 8px 0; font-size: 14px; color: var(--ink-700);
  text-decoration: none; border-bottom: 1px solid var(--ink-100);
}
.svc-body__rail a:hover { color: var(--brand); }
.svc-body__copy h2 {
  font-family: var(--font-heading); font-size: clamp(28px, 3vw, 44px);
  font-weight: 600; color: var(--ink-900); margin: 0 0 16px; letter-spacing: -0.01em;
}
.svc-body__copy p { font-size: 16px; line-height: 1.75; color: var(--ink-600); margin: 0 0 32px; }
.svc-body__copy h2:not(:first-child) { margin-top: 56px; }

.proto-list { display: grid; gap: 12px; counter-reset: step; margin: 24px 0 40px; }
.proto-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  border: 1px solid var(--ink-200); border-radius: 16px;
  padding: 20px 24px; background: #fff;
  transition: all var(--dur-base);
}
.proto-step:hover { border-color: var(--brand); transform: translateX(4px); }
.proto-step__num {
  font-family: var(--font-heading); font-size: 32px;
  color: var(--brand); font-weight: 600; counter-increment: step;
}
.proto-step__num::before { content: "0" counter(step); }
.proto-step h3 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 22px; color: var(--ink-900); font-weight: 600; }
.proto-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-600); }

.price-table {
  border: 1px solid var(--ink-200); border-radius: 16px; overflow: hidden;
  margin-top: 16px;
}
.price-row {
  display: grid; grid-template-columns: 1.2fr 80px 1fr 120px;
  align-items: center; gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-200); background: #fff;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--brand-50); }
.price-row__name { font-weight: 500; color: var(--ink-900); }
.price-row__dur { font-size: 12px; color: var(--ink-500); letter-spacing: 0.06em; }
.price-row__desc { font-size: 13px; color: var(--ink-600); }
.price-row__price {
  font-family: var(--font-heading); font-size: 22px; color: var(--brand); font-weight: 600;
  text-align: right; font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row__dur, .price-row__desc { display: none; }
}

.faq { display: grid; gap: 8px; }
.faq__item {
  border: 1px solid var(--ink-200); border-radius: 16px; background: #fff; overflow: hidden;
}
.faq__q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 24px; font-size: 15px; font-weight: 500; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q span:last-child { color: var(--brand); font-size: 24px; transition: transform var(--dur-base); font-family: var(--font-heading); }
.faq__item.is-open .faq__q span:last-child { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq__item.is-open .faq__a { max-height: 320px; padding-bottom: 22px; }
.faq__a p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-600); }

.cta-band {
  background: #0a0a0a; color: #fff; border-radius: 32px; padding: 56px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 32px; } }
.cta-band h3 {
  font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 44px); font-weight: 600;
  color: #fff; margin: 0; line-height: 1.05;
}
.cta-band h3 em { color: var(--brand); font-style: italic; font-weight: 400; }
.cta-band a {
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 18px 32px; border-radius: 9999px; font-size: 12px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.cta-band a:hover { background: var(--brand-hover); }
