@charset "UTF-8";

/* ─── Brand wordmark (shared by all service pages) ─── */
.brand__name { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 600; letter-spacing: -0.04em; }
.brand__name::after { content: "|"; margin-left: 1px; color: inherit; animation: kscur 1.06s steps(1) infinite; }
@keyframes kscur { 50% { opacity: 0; } }

/* ─── Service-page layout ─── */
main.service { padding-top: 80px; }

.svc-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.svc-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
.svc-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,16,32,0.78) 0%, rgba(8,16,32,0.45) 60%, rgba(8,16,32,0.2) 100%);
}
.svc-hero__inner {
  max-width: 720px;
  padding: 80px 0;
}
.svc-hero .eyebrow {
  color: #60a5fa;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.svc-hero h1 {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 22px;
  color: #fff;
}
.svc-hero h1 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: #60a5fa;
}
.svc-hero h1 .blue { color: #60a5fa; }
.svc-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 580px;
}
.svc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-hero__cta .btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.svc-hero__cta .btn--ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

/* Section spacing */
.svc-section { padding: 80px 0; }
.svc-section--alt { background: var(--bg-alt, #f5f8f8); }

.svc-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink, #0f172a);
  margin: 0 0 16px;
  max-width: 760px;
}
.svc-section h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #2563eb);
}
.svc-section .lead {
  font-size: 1.1rem; line-height: 1.6;
  color: var(--text-body, #475569);
  max-width: 680px;
  margin: 0 0 36px;
}

/* Two-column blocks */
.svc-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.svc-cols .card {
  background: #fff;
  border: 1px solid var(--border, #e7eaee);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
}
.svc-section--alt .svc-cols .card { background: #fff; }
.svc-cols .card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink, #0f172a);
  margin: 0 0 10px;
}
.svc-cols .card p {
  font-size: 0.95rem; line-height: 1.55;
  color: var(--text-body, #475569);
  margin: 0;
}
.svc-cols .card a { color: var(--accent, #2563eb); }

/* Banner strip — full-bleed image */
.svc-banner {
  width: 100%;
  aspect-ratio: 40 / 9;
  background-size: cover;
  background-position: center;
  background-color: #0a1628;
}

/* Process steps */
.svc-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0 0;
}
.svc-steps li {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--border, #e7eaee);
  border-radius: 14px;
  counter-increment: step;
}
.svc-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -16px; left: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent, #2563eb);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}
.svc-steps h4 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink, #0f172a);
  margin: 0 0 8px;
}
.svc-steps p {
  font-size: 0.93rem; line-height: 1.55;
  color: var(--text-body, #475569);
  margin: 0;
}

/* FAQ */
.svc-faq {
  max-width: 780px;
  margin: 36px 0 0;
}
.svc-faq details {
  border-top: 1px solid var(--border, #e7eaee);
  padding: 22px 0;
}
.svc-faq details:last-child { border-bottom: 1px solid var(--border, #e7eaee); }
.svc-faq summary {
  cursor: pointer;
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink, #0f172a);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: "+";
  font-size: 24px; font-weight: 300;
  color: var(--accent, #2563eb);
  transition: transform 0.2s;
}
.svc-faq details[open] summary::after { content: "\2212"; }
.svc-faq p {
  margin: 12px 0 0;
  font-size: 0.98rem; line-height: 1.65;
  color: var(--text-body, #475569);
}
.svc-faq a { color: var(--accent, #2563eb); }

/* Related services strip */
.svc-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.svc-related a {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1628;
  color: #fff;
  display: block;
  isolation: isolate;
  transition: transform 0.25s;
}
.svc-related a:hover { transform: translateY(-3px); }
.svc-related a img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.45s;
}
.svc-related a:hover img { opacity: 1; transform: scale(1.04); }
.svc-related a::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,16,32,0) 30%, rgba(8,16,32,0.85) 100%);
}
.svc-related a span {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  font-size: 0.95rem; font-weight: 600;
  line-height: 1.2;
}
.svc-related a::after {
  content: "\2192";
  position: absolute;
  top: 14px; right: 16px;
  font-size: 18px;
  opacity: 0.7;
}

/* Final CTA band */
.svc-cta {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.svc-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 auto 16px;
}
.svc-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* Services index page — grid of all 5 services */
.svc-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.svc-index-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #0a1628;
  color: #fff;
  display: block;
  isolation: isolate;
  transition: transform 0.3s, box-shadow 0.3s;
}
.svc-index-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -10px rgba(37,99,235,0.35);
}
.svc-index-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -1;
  transition: transform 0.5s;
}
.svc-index-card:hover img { transform: scale(1.05); }
.svc-index-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,16,32,0.45) 0%, rgba(8,16,32,0.85) 80%);
}
.svc-index-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.svc-index-card__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #60a5fa;
  margin: 0 0 8px;
}
.svc-index-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 6px;
  color: #fff;
}
.svc-index-card__desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  margin: 0 0 10px;
}
.svc-index-card__more {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}
.svc-index-card__more::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.2s;
}
.svc-index-card:hover .svc-index-card__more::after { transform: translateX(3px); }

@media (max-width: 700px) {
  .svc-hero { min-height: 460px; }
  .svc-section { padding: 60px 0; }
  .svc-cta { padding: 60px 0; }
}
