/* Service detail page styles */
.svc-meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: 0.04em; text-transform: uppercase; flex-wrap: wrap; }
.svc-pill { padding: 6px 12px; border-radius: 100px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent); }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-card { position: relative; overflow: hidden; padding: 36px; border: 1px solid var(--line); background: var(--bg-elev); border-radius: var(--radius); transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease); }
.offer-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.offer-card:hover { border-color: var(--line-strong); background: var(--bg-elev-2); transform: translateY(-3px); }
.offer-card:hover::after { transform: scaleX(1); }
.offer-num { font-family: "Jost", var(--sans); font-weight: 600; font-style: normal; font-size: 38px; line-height: 1; letter-spacing: -0.035em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offer-card h3 { font-family: "Jost", var(--sans); font-size: 23px; line-height: 1.12; margin: 26px 0 13px; font-weight: 600; letter-spacing: -0.025em; }
.offer-card p { color: var(--fg-dim); font-size: 15px; line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.deliver-list { list-style: none; display: grid; gap: 20px; padding-top: 12px; }
.deliver-list li { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.deliver-list li:last-child { border-bottom: 1px solid var(--line); }
.deliver-list li span { color: var(--accent); font-family: var(--mono); }

/* mirrors .proc-grid on the index: hairline-divided columns, oversized
   numerals, and a gradient rule that fills across as the row reveals */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px; border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl-step {
  position: relative; padding: 38px 36px 38px 0;
  border-right: 1px solid var(--line);
}
.tl-step:last-child { border-right: none; }
@media (max-width: 900px) {
  .tl-step:nth-child(2n) { border-right: none; }
  .tl-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tl-step { padding-right: 28px; }
}
@media (max-width: 560px) {
  .tl-step { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .tl-step:last-child { border-bottom: none; }
}
.tl-step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .9s var(--ease);
}
.timeline.in .tl-step::before { width: 100%; }
.timeline.in .tl-step:nth-child(2)::before { transition-delay: .15s; }
.timeline.in .tl-step:nth-child(3)::before { transition-delay: .30s; }
.timeline.in .tl-step:nth-child(4)::before { transition-delay: .45s; }
.tl-dot {
  font-family: "Jost", var(--sans); font-weight: 600; font-size: 58px;
  line-height: 1; letter-spacing: -.04em; color: var(--line-strong);
  transition: color .35s var(--ease);
}
.tl-step:hover .tl-dot {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tl-week {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-faint); margin: 18px 0 8px;
}
.tl-title {
  font-family: "Jost", var(--sans); font-weight: 600; font-size: 20px;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.tl-desc { color: var(--fg-dim); font-size: 14.5px; line-height: 1.6; }

/* element cards, matching the stack section on the index */
.stack-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1100px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 440px)  { .stack-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.stack-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.06;
  padding: 15px 15px 13px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.stack-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--fg-faint);
}
.stack-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  opacity: .55; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.stack-foot { display: flex; flex-direction: column; gap: 9px; }
.stack-sym {
  font-family: "Jost", var(--sans); font-weight: 600;
  font-size: clamp(17px, 1.65vw, 23px); line-height: 1.12; letter-spacing: -0.03em;
  color: var(--fg); overflow-wrap: anywhere;
  transition: color .35s var(--ease);
}
.stack-item::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.stack-item:hover {
  border-color: var(--line-strong); background: var(--bg-elev-2); transform: translateY(-4px);
}
.stack-item:hover::after { transform: scaleX(1); }
.stack-item:hover .stack-dot { opacity: 1; transform: scale(1.4); }
.stack-item:hover .stack-sym {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 28px 0; cursor: pointer; list-style: none; display: grid; grid-template-columns: 60px 1fr 40px; gap: 24px; align-items: center; font-family: "Jost", var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.025em; transition: color 0.2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-num { font-family: var(--mono); font-size: 11px; color: var(--fg-faint); letter-spacing: 0.08em; }
.faq-icon { justify-self: end; font-family: var(--mono); font-size: 24px; color: var(--accent); font-weight: 300; transition: transform 0.3s var(--ease); }
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq p { padding: 0 40px 32px 84px; color: var(--fg-dim); line-height: 1.6; max-width: 72ch; font-size: 16px; }
@media (max-width: 600px) {
  .faq summary { grid-template-columns: 1fr 40px; font-size: 18px; }
  .faq-num { display: none; }
  .faq p { padding: 0 0 32px 0; }
}

