/* Dev Orbit Tech — Subpage Stylesheet (Services, About, Case Studies, Blog) */
:root {
  --content-max: 1180px;
}

.subpage-hero {
  position: relative;
  padding: 130px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--accent2);
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
.breadcrumbs a:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.breadcrumbs span.separator {
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumbs span.current {
  color: #e2e8f0;
}

.subpage-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 1px;
}

.subpage-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 28px;
}

.subpage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.subpage-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent2);
  font-family: var(--f-ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

/* Service Detail Sections */
.detail-section {
  padding: 65px 0;
  position: relative;
  z-index: 1;
}
.detail-section:nth-of-type(even) {
  background: rgba(7, 15, 34, 0.45);
}

.detail-header {
  margin-bottom: 36px;
}
.detail-header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 12px;
}
.detail-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 750px;
}

/* Features Grid */
.detail-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.detail-card {
  background: rgba(9, 23, 51, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}
.detail-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.detail-card h3 {
  font-family: var(--f-ui);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.detail-card p {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Tech Pills List */
.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.tech-pill-badge {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #f1f5f9;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--f-ui);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* FAQs */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}
.faq-item {
  background: rgba(9, 23, 51, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.35);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  color: #ffffff;
  font-family: var(--f-ui);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-answer {
  padding: 0 24px 20px;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA Card */
.subpage-cta-box {
  background: linear-gradient(135deg, rgba(9, 23, 51, 0.95) 0%, rgba(13, 33, 72, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  padding: 44px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}
.subpage-cta-box h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 14px;
}
.subpage-cta-box p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Screen reader utility for non-visual semantic SEO text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Article styling */
.article-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #cbd5e1;
}
.article-content h2 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: #ffffff;
  margin: 40px 0 16px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  padding-bottom: 8px;
}
.article-content h3 {
  font-family: var(--f-ui);
  font-size: 1.35rem;
  color: var(--accent2);
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.article-content li {
  margin-bottom: 8px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--f-ui);
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* ═══════════════════════════════════════════════════════════════
   SUBPAGE DESIGN v2 — matches the homepage design system
   ═══════════════════════════════════════════════════════════════ */

/* Hero: soft glow + fine engineering grid */
.subpage-hero {
  padding: 148px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(10, 132, 255, .16), transparent 65%),
    radial-gradient(700px 380px at 90% 10%, rgba(34, 211, 238, .10), transparent 60%);
}
.subpage-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 30%, transparent 75%);
}
.breadcrumbs { font-family: var(--f-ui); font-size: .85rem; font-weight: 500; margin-bottom: 22px; }
.breadcrumbs a { color: #67e8f9; }
.breadcrumbs span.current { color: #cbd5e1; }

.subpage-badges { gap: 8px; margin-bottom: 26px; }
.subpage-badge {
  font-family: var(--f-ui); font-size: .78rem; font-weight: 500; letter-spacing: 0;
  padding: 6px 12px; border-radius: 999px;
  color: #cffafe; background: rgba(34, 211, 238, .07); border-color: rgba(34, 211, 238, .22);
}
.subpage-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px;
  background: #22d3ee; box-shadow: 0 0 8px #22d3ee;
}

.subpage-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em;
  max-width: 980px; margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #b9c6d8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.subpage-lead { font-family: var(--f-body); font-size: 1.12rem; line-height: 1.7; color: #a3b1c6; max-width: 720px; margin-bottom: 34px; }
.subpage-actions { gap: 12px; }

/* Section rhythm */
.detail-section { padding: 88px 0; }
.detail-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(10, 19, 40, .55), rgba(10, 19, 40, .25));
  border-top: 1px solid rgba(148, 163, 184, .08);
  border-bottom: 1px solid rgba(148, 163, 184, .08);
}
.detail-header { margin-bottom: 44px; max-width: 760px; }
.detail-header h2 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 14px;
}
.detail-header h2::before {
  content: ''; display: block; width: 36px; height: 3px; border-radius: 3px; margin-bottom: 18px;
  background: linear-gradient(90deg, #0a84ff, #22d3ee);
}
.detail-header p { font-family: var(--f-body); color: #a3b1c6; font-size: 1.05rem; line-height: 1.7; }

/* Cards */
.detail-grid-3 { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.detail-card {
  position: relative; overflow: hidden;
  background: var(--surface, linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015))), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px; padding: 28px 26px;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.6);
}
.detail-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .35);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 48px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(34,211,238,.15);
}
.detail-card:hover::before { opacity: 1; }
.detail-card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em;
  color: #67e8f9;
  background: linear-gradient(135deg, rgba(10,132,255,.22), rgba(34,211,238,.10));
  border: 1px solid rgba(34, 211, 238, .28);
}
.detail-card h3 {
  font-family: var(--f-display); font-weight: 600; font-size: 1.18rem;
  letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px;
}
.detail-card p { font-family: var(--f-body); color: #a3b1c6; font-size: .95rem; line-height: 1.65; }

/* Tech pills */
.tech-pills-row { gap: 10px; }
.tech-pill-badge {
  font-family: var(--f-ui); font-size: .88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.035); border-color: rgba(148,163,184,.18); color: #e2e8f0;
  transition: border-color .2s, background .2s;
}
.tech-pill-badge:hover { border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.06); }

/* FAQ */
.faq-grid { gap: 12px; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14); border-radius: 14px;
}
.faq-item:hover, .faq-item.active { border-color: rgba(34, 211, 238, .35); }
.faq-question { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; padding: 20px 24px; }
.faq-answer { font-family: var(--f-body); color: #a3b1c6; font-size: .97rem; }

/* CTA */
.subpage-cta-box {
  position: relative; overflow: hidden;
  padding: 56px 40px; border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(34, 211, 238, .16), transparent 70%),
    linear-gradient(180deg, #0c1a36 0%, #091328 100%);
  border: 1px solid rgba(34, 211, 238, .28);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
}
.subpage-cta-box h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.subpage-cta-box p { font-family: var(--f-body); color: #a3b1c6; font-size: 1.05rem; }

/* Articles */
.article-content { font-family: var(--f-body); font-size: 1.06rem; line-height: 1.8; color: #c5d0de; }
.article-content h2 { font-weight: 700; letter-spacing: -0.02em; border-bottom-color: rgba(148, 163, 184, .14); }
.article-content h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; color: #67e8f9; }
.article-meta { font-family: var(--f-ui); font-size: .88rem; }

@media (max-width: 768px) {
  .subpage-hero { padding: 118px 0 60px; }
  .detail-section { padding: 64px 0; }
  .subpage-cta-box { padding: 40px 22px; }
}


/* ═══════════════════════════════════════════════════════════════
   NEW PAGES — Services hub, Projects, Contact, Training
   ═══════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #67e8f9;
}
.detail-header .eyebrow + h2::before { display: none; }
.title-accent {
  background: linear-gradient(120deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--f-ui); font-size: .72rem; font-weight: 500; line-height: 1;
  padding: 6px 10px; border-radius: 999px;
  color: #cbd5e1; background: rgba(148, 163, 184, .08); border: 1px solid rgba(148, 163, 184, .18);
}

/* shared surface for the new cards */
.core-card, .svc-link-card, .work-card, .info-card, .quote-card, .svc-group {
  background: linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.015) 100%), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.6);
}

/* ── Core capability cards ── */
.core-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.core-card {
  display: flex; flex-direction: column; padding: 26px 22px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.core-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ic, #22d3ee) 45%, transparent); box-shadow: 0 24px 48px -16px rgba(0,0,0,.7); }
.core-card-icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 20px; border-radius: 13px;
  color: var(--ic, #22d3ee);
  background: color-mix(in srgb, var(--ic, #22d3ee) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic, #22d3ee) 35%, transparent);
}
.core-card-icon svg { width: 100%; height: 100%; display: block; }
.core-card h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; color: #fff; }
.core-card p { font-family: var(--f-body); color: #a3b1c6; font-size: .93rem; line-height: 1.65; flex-grow: 1; margin-bottom: 18px; }

/* ── Service groups (real project image + links) ── */
.svc-group {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; overflow: hidden;
  margin-bottom: 22px;
}
.svc-group:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc-group:nth-child(even) .svc-group-media { order: 2; }
.svc-group-media { position: relative; min-height: 280px; background: #050b1a; }
.svc-group-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-group:hover .svc-group-media img { transform: scale(1.04); }
.svc-group-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 8, 20, .92) 100%); }
.media-caption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.media-kicker { font-family: var(--f-ui); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #67e8f9; }
.media-caption strong { font-family: var(--f-display); font-size: 1.1rem; color: #fff; letter-spacing: -0.01em; }
.svc-group-body { padding: 30px; }
.svc-group-body h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.svc-group-blurb { color: #a3b1c6; font-size: .97rem; margin-bottom: 20px; }
.svc-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.svc-link-card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; border-radius: 14px;
  background: rgba(255, 255, 255, .025); box-shadow: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.svc-link-card:hover { border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .05); transform: translateY(-2px); }
.svc-link-card:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }
.svc-link-card h4 { font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; line-height: 1.3; }
.svc-link-card p { font-size: .88rem; line-height: 1.6; color: #a3b1c6; }
.link-arrow { margin-top: auto; padding-top: 4px; font-family: var(--f-ui); font-size: .84rem; font-weight: 600; color: #67e8f9; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.svc-link-card:hover .link-arrow span { transform: translateX(4px); }

/* ── Process steps ── */
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; counter-reset: none; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px;
  border-radius: 16px; border: 1px solid rgba(148, 163, 184, .14);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: #67e8f9;
  background: linear-gradient(135deg, rgba(10,132,255,.22), rgba(34,211,238,.1)); border: 1px solid rgba(34,211,238,.3);
}
.step h4 { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; margin-bottom: 6px; line-height: 1.3; }
.step p { font-size: .9rem; color: #a3b1c6; line-height: 1.6; }

/* ── Projects page ── */
.work-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip {
  font-family: var(--f-ui); font-size: .88rem; font-weight: 500; color: #a3b1c6;
  height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .2);
  transition: color .2s, background-color .2s, border-color .2s;
}
.filter-chip:hover { color: #fff; border-color: rgba(148, 163, 184, .4); }
.filter-chip.is-active { color: #a5f3fc; background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .4); }
.filter-chip:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .35); box-shadow: 0 24px 48px -16px rgba(0,0,0,.75); }
.work-media { aspect-ratio: 16 / 9; overflow: hidden; background: #050b1a; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-body { display: flex; flex-direction: column; flex-grow: 1; padding: 22px 22px 24px; }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.work-badge { font-family: var(--f-ui); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #67e8f9; padding: 5px 10px; border-radius: 999px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25); }
.work-lang { font-family: var(--f-ui); font-size: .82rem; color: #94a3b8; }
.work-body h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.work-body p { font-size: .94rem; color: #a3b1c6; line-height: 1.65; flex-grow: 1; margin-bottom: 20px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.work-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px;
  font-family: var(--f-ui); font-size: .86rem; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, #0a84ff 0%, #06b6d4 100%); border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.work-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.work-btn--ghost { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.work-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }
.work-empty { margin-top: 20px; color: #94a3b8; }

/* ── Contact page ── */
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--nav-h-compact, 64px) + 20px); }
.info-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; border-radius: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
a.info-card:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-2px); }
a.info-card:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }
.info-icon { flex-shrink: 0; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.15rem; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.22); }
.info-label { display: block; font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #67e8f9; margin-bottom: 3px; }
.info-value { display: block; font-family: var(--f-body); font-size: .95rem; color: #e2e8f0; line-height: 1.45; word-break: break-word; }
.map-frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .14); aspect-ratio: 4 / 3; background: #0a1328; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
@media (min-width: 601px) and (max-width: 991px) { .map-frame { aspect-ratio: 16 / 9; } }
.contact-form-title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.contact-form-sub { color: #a3b1c6; font-size: .92rem; margin-bottom: 22px; }
.contact-form-sub .req { color: #f472b6; }
.form-success[role="status"] {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px; line-height: 1.6;
  color: #d1fae5; background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .35);
}
.form-success[role="status"]:focus { outline: none; }

/* ── Training page ── */
.mentor-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.mentor-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .16); box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.mentor-photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: center top; }
.mentor-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 20, .95));
}
.mentor-photo figcaption strong { font-family: var(--f-display); font-size: 1.15rem; color: #fff; }
.mentor-photo figcaption span { font-size: .85rem; color: #67e8f9; }
.mentor-copy h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #fff; margin-bottom: 16px; }
.mentor-copy > p { color: #a3b1c6; font-size: 1.02rem; line-height: 1.75; margin-bottom: 20px; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: #dbe5f1; font-size: .97rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(34,211,238,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(34,211,238,.3);
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 460px; }
.stat-row > div { padding: 16px; border-radius: 14px; text-align: center; border: 1px solid rgba(148,163,184,.14); background: rgba(255,255,255,.03); }
.stat-row strong { display: block; font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.stat-row span { font-size: .8rem; color: #94a3b8; }
.core-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.quote-card { margin: 36px 0 0; padding: 30px 32px; }
.quote-card p { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: #f1f5f9; margin-bottom: 18px; }
.quote-card footer { display: flex; align-items: center; gap: 12px; }
.quote-card footer > span:last-child { display: flex; flex-direction: column; }
.quote-card footer strong { color: #fff; font-size: .95rem; }
.quote-card footer span span { color: #94a3b8; font-size: .85rem; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #0a84ff, #06b6d4); }

@media (max-width: 991px) {
  .svc-group, .svc-group:nth-child(even) { grid-template-columns: 1fr; }
  .svc-group:nth-child(even) .svc-group-media { order: 0; }
  .svc-group-media { min-height: 220px; aspect-ratio: 16 / 8; }
  .contact-layout, .mentor-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .mentor-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  .svc-group-body { padding: 22px 18px; }
  .stat-row strong { font-size: 1.35rem; }
  .quote-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .core-card, .work-card, .svc-link-card, .svc-group-media img, .work-media img { transition: none; }
}


/* ═══════════════════════════════════════════════════════════════
   LONG-FORM PAGES (company website service + business blog guides)
   ═══════════════════════════════════════════════════════════════ */
.page-container { position: relative; z-index: 1; padding-top: calc(var(--nav-h, 76px) + 36px); }
.page-container > section, .article-wrapper { position: relative; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* breadcrumbs */
.breadcrumb-container { max-width: 1200px; margin: 0 auto 8px; padding: 0 24px; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-family: var(--f-ui); font-size: .85rem; font-weight: 500; color: #cbd5e1; }
.breadcrumb-list a { color: #67e8f9; text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list .separator { color: rgba(255, 255, 255, .3); }

/* shared buttons used by these pages */
.btn-primary-glow, .btn-secondary-glow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px;
  font-family: var(--f-ui); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s var(--ease), background-color .2s var(--ease);
}
.btn-primary-glow { color: #fff; background: linear-gradient(135deg, #0a84ff 0%, #06b6d4 100%); box-shadow: 0 8px 24px -8px rgba(6, 182, 212, .6); }
.btn-primary-glow:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-secondary-glow { color: #e6fbff; background: rgba(0, 240, 255, .04); border: 1px solid rgba(0, 240, 255, .45); }
.btn-secondary-glow:hover { transform: translateY(-2px); background: rgba(0, 240, 255, .1); }
.btn-primary-glow:focus-visible, .btn-secondary-glow:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }

.badge-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--f-ui); font-size: .78rem; font-weight: 500; color: #cffafe;
  background: rgba(34, 211, 238, .07); border: 1px solid rgba(34, 211, 238, .22);
}

/* service hero */
.hero-service {
  padding: 40px 0 80px; border-bottom: 1px solid rgba(148, 163, 184, .12);
  background: radial-gradient(900px 420px at 15% 0%, rgba(10, 132, 255, .14), transparent 65%);
}
.hero-service-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-service h1 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 940px; margin: 22px 0 18px;
  background: linear-gradient(180deg, #fff 30%, #b9c6d8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.service-lead { font-size: 1.1rem; line-height: 1.7; color: #a3b1c6; max-width: 760px; margin-bottom: 30px; }
.hero-service-actions, .cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* section scaffolding */
.direct-answer-section, .service-breakdown, .page-container .process-section, .faq-section, .related-services-section { padding: 80px 0; }
.service-breakdown, .faq-section { background: linear-gradient(180deg, rgba(10, 19, 40, .5), rgba(10, 19, 40, .2)); border-top: 1px solid rgba(148, 163, 184, .08); border-bottom: 1px solid rgba(148, 163, 184, .08); }
.section-heading { max-width: 760px; margin: 0 auto 44px; }
.section-heading.text-center { text-align: center; }
.section-heading h2, .direct-answer-section h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.15; color: #fff; margin: 8px 0 12px; }
.section-heading p { color: #a3b1c6; font-size: 1.04rem; line-height: 1.7; }
.direct-answer-section h2 { margin-bottom: 22px; }

.answer-card, .pillar-card, .timeline-step, .mini-service-card, .highlight-box, .article-cta-box, .related-card, .cta-banner-content {
  background: linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.015) 100%), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.6);
}
.answer-card { padding: 30px; }
.answer-card p { color: #c5d0de; line-height: 1.75; margin-bottom: 16px; }
.answer-card .check-list { margin: 8px 0 0; }
.answer-card .check-list li { line-height: 1.6; }

.pillars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.pillar-card { padding: 26px 24px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.pillar-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .35); }
.pillar-icon {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
  border-radius: 12px; color: #67e8f9; font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(10,132,255,.22), rgba(34,211,238,.1)); border: 1px solid rgba(34, 211, 238, .28);
}
.pillar-card h3, .timeline-step h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.pillar-card p, .timeline-step p { color: #a3b1c6; font-size: .93rem; line-height: 1.65; }

.timeline-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.timeline-step { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.timeline-step .step-num { width: 40px; height: 40px; }

/* FAQ (long-form pages): closed until toggled by js/faq.js */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px;
  background: none; border: 0; cursor: pointer; text-align: left; color: #fff;
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq-toggle i { color: #67e8f9; transition: transform .3s var(--ease); }
.faq-item.active .faq-toggle i { transform: rotate(180deg); }
.faq-toggle:focus-visible, .faq-question:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #22d3ee; border-radius: 14px; }
.faq-content { max-height: 0; overflow: hidden; opacity: 0; padding: 0 24px; transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .3s var(--ease); }
.faq-item.active .faq-content { max-height: 600px; opacity: 1; padding: 0 24px 20px; }
.faq-content p { color: #a3b1c6; line-height: 1.7; }
.faq-question span { transition: transform .3s var(--ease); color: #67e8f9; }
.faq-item.active .faq-question span { transform: rotate(45deg); }

.services-grid-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.mini-service-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.mini-service-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .4); }
.mini-service-card i { color: #67e8f9; font-size: 1.2rem; }
.mini-service-card h4 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; color: #fff; }
.mini-service-card p { color: #a3b1c6; font-size: .9rem; line-height: 1.6; }

.cta-banner { padding: 40px 24px 96px; }
.cta-banner-content {
  max-width: 1000px; margin: 0 auto; padding: 52px 40px; text-align: center; border-color: rgba(34, 211, 238, .28);
  background: radial-gradient(600px 240px at 50% 0%, rgba(34, 211, 238, .16), transparent 70%), linear-gradient(180deg, #0c1a36, #091328);
}
.cta-banner-content h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.025em; color: #fff; margin-bottom: 14px; }
.cta-banner-content p { color: #a3b1c6; font-size: 1.05rem; line-height: 1.7; max-width: 660px; margin: 0 auto 28px; }
.cta-banner-actions { justify-content: center; }

/* blog articles */
.article-wrapper { max-width: 860px; margin: 0 auto; padding: 24px 24px 96px; }
.article-header { padding: 16px 0 32px; margin-bottom: 36px; border-bottom: 1px solid rgba(148, 163, 184, .14); }
.article-meta-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.read-time { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: .85rem; color: #94a3b8; }
.article-header h1 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 30%, #b9c6d8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.article-subtitle { font-size: 1.15rem; line-height: 1.7; color: #a3b1c6; margin-bottom: 26px; }
.author-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(148, 163, 184, .14); }
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-info strong { color: #fff; font-size: .95rem; }
.author-info span, .publish-date { color: #94a3b8; font-size: .85rem; }
.article-body { font-size: 1.06rem; line-height: 1.8; color: #c5d0de; }
.article-body h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.2; color: #fff; margin: 48px 0 16px; }
.article-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; color: #67e8f9; margin: 32px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 24px 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: #22d3ee; }
.article-body strong { color: #f1f5f9; }
.article-body a { color: #67e8f9; }
.highlight-box { padding: 26px 28px; margin: 0 0 36px; border-color: rgba(34, 211, 238, .3); }
.highlight-box h3 { margin-top: 0; }
.highlight-box ol, .highlight-box ul { margin-bottom: 0; }
.table-responsive { overflow-x: auto; margin: 0 0 28px; border-radius: 14px; border: 1px solid rgba(148, 163, 184, .16); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, .12); vertical-align: top; }
.comparison-table th { font-family: var(--f-ui); font-weight: 600; color: #fff; background: rgba(34, 211, 238, .08); }
.comparison-table tr:last-child td { border-bottom: 0; }
/* Blog .data-table: same look as .comparison-table, scrolls sideways on narrow screens instead of overflowing */
.data-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; font-size: .95rem; margin: 0 0 28px; border: 1px solid rgba(148, 163, 184, .16); border-radius: 14px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, .12); vertical-align: top; min-width: 120px; }
.data-table th { font-family: var(--f-ui); font-weight: 600; color: #fff; background: rgba(34, 211, 238, .08); }
.data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .data-table { font-size: .86rem; } .data-table th, .data-table td { padding: 10px 12px; } }
.article-cta-box { padding: 36px 32px; margin: 44px 0 0; text-align: center; border-color: rgba(34, 211, 238, .28); }
.article-cta-box h3 { color: #fff; margin: 0 0 10px; font-size: 1.5rem; }
.article-cta-box p { color: #a3b1c6; }
.article-cta-box .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.article-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(148, 163, 184, .14); }
.related-articles h3 { font-family: var(--f-display); font-size: 1.3rem; color: #fff; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.related-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .4); }
.related-card h4 { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.35; }
.related-card p { color: #a3b1c6; font-size: .9rem; line-height: 1.6; }

@media (max-width: 600px) {
  .answer-card, .highlight-box { padding: 22px 18px; }
  .cta-banner-content, .article-cta-box { padding: 36px 20px; }
  .direct-answer-section, .service-breakdown, .page-container .process-section, .faq-section, .related-services-section { padding: 60px 0; }
}
.faq-item:not(.active) .faq-answer { padding-top: 0; padding-bottom: 0; }

/* ── Project cards (projects page): balanced, uniform size ── */
.work-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.work-media { aspect-ratio: 16 / 9; }
.work-body { padding: 18px 18px 20px; }
.work-meta { margin-bottom: 10px; }
.work-body h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.work-body p {
  font-size: .9rem; line-height: 1.6; margin-bottom: 16px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  min-height: calc(1.6em * 3); flex-grow: 0;
}
.work-actions { margin-top: auto; }
.work-btn { height: 36px; padding: 0 14px; font-size: .82rem; }

/* ── About: product spotlight ── */
.spotlight {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); overflow: hidden; margin-bottom: 22px;
  border-radius: 20px; border: 1px solid rgba(34, 211, 238, .22);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), #0a1328;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.75);
}
.spotlight-media { position: relative; min-height: 320px; background: #050b1a; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-badge {
  position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #a5f3fc; background: rgba(3, 8, 20, .82); border: 1px solid rgba(34, 211, 238, .35);
}
.spotlight-body { padding: 32px 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.spotlight-body h3 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; line-height: 1.1; }
.spotlight-sub { margin-top: -8px; font-family: var(--f-ui); font-size: .92rem; font-weight: 500; color: #67e8f9; }
.spotlight-body > p { color: #a3b1c6; font-size: .97rem; line-height: 1.7; }
.spotlight-problem { padding: 14px 16px; border-radius: 12px; background: rgba(248, 113, 113, .06); border: 1px solid rgba(248, 113, 113, .2); }
.spotlight-problem b { display: block; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fca5a5; margin-bottom: 4px; }
.spotlight-problem p { color: #cbd5e1; font-size: .92rem; line-height: 1.6; }
.spotlight-points { margin: 2px 0 0; gap: 9px; }
.spotlight-points li { font-size: .92rem; line-height: 1.55; }
.spotlight-stack { margin-top: 2px; }
.spotlight .work-actions { margin-top: 6px; }
.related-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 16 / 9; }
  .related-products { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
}
@media (max-width: 600px) { .spotlight-body { padding: 24px 20px; } }

/* ── About: compact product cards (4 in a row) + SVG card icons ── */
.related-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-products .work-body { padding: 14px 16px 16px; }
.related-products .work-meta { margin-bottom: 8px; gap: 6px; flex-wrap: wrap; }
.related-products .work-badge { font-size: .62rem; padding: 4px 8px; }
.related-products .work-lang { font-size: .74rem; }
.related-products .work-body h3 { font-size: 1rem; margin-bottom: 6px; }
.related-products .work-body p { font-size: .84rem; line-height: 1.55; min-height: calc(1.55em * 3); margin-bottom: 12px; }
.related-products .work-btn { height: 32px; padding: 0 12px; font-size: .78rem; }
.detail-card-icon svg { width: 22px; height: 22px; display: block; }
@media (max-width: 1100px) { .related-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .related-products { grid-template-columns: 1fr; } }
.core-card .chip { display: inline-flex; align-items: center; gap: 6px; }
.core-card .chip .tag-ic { width: 14px; height: 14px; flex-shrink: 0; }
.core-card .chip svg.tag-ic { color: var(--ic, #67e8f9); }
.core-card .chip .tag-logo--invert { filter: invert(1); }

/* ═══════ SERVICES PAGE v2 — categories with project picture + compact cards ═══════ */
.svc-cat { margin-bottom: 40px; }
.svc-cat:last-child { margin-bottom: 0; }
.svc-cat-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center;
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.svc-cat-text h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.svc-cat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex-shrink: 0; }
.svc-cat-text p { color: #a3b1c6; font-size: .95rem; line-height: 1.6; }
.svc-cat-proof { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(148, 163, 184, .16); background: #050b1a; }
.svc-cat-proof img { width: 100%; height: 100%; object-fit: cover; }
.svc-cat-proof figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font-size: .7rem; color: #cbd5e1;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 20, .92));
}
.svc-cat-proof figcaption b { color: #fff; font-weight: 600; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 18px 36px -16px rgba(0,0,0,.75); }
.svc-card:focus-visible { outline: none; box-shadow: 0 0 0 2px #030814, 0 0 0 4px #22d3ee; }
.svc-card-icon {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; margin-bottom: 6px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.svc-card h4 { font-family: var(--f-display); font-size: 1.04rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; line-height: 1.3; }
.svc-card p { font-size: .88rem; line-height: 1.55; color: #a3b1c6; flex-grow: 1; }
.svc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(148, 163, 184, .1); }
.svc-skills { display: flex; gap: 6px; }
.svc-skills img { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 163, 184, .16); }
.svc-skills img.inv { filter: invert(1); background: rgba(0, 0, 0, .35); }
.svc-card .link-arrow { padding: 0; margin: 0; font-size: .8rem; white-space: nowrap; color: var(--c); }
.svc-card:hover .link-arrow span { transform: translateX(3px); }
@media (max-width: 991px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cat-head { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-cat-head { grid-template-columns: 1fr; }
  .svc-cat-proof { max-width: 320px; }
}

/* ═══════ CASE STUDIES v2 ═══════ */
.cs-list { display: flex; flex-direction: column; gap: 28px; }
.cs-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: 20px; scroll-margin-top: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), #0a1328;
  border: 1px solid rgba(148, 163, 184, .14);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 46px -22px rgba(0,0,0,.8);
}
.cs-card:target { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.cs-card--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cs-card--flip .cs-media { order: 2; }
.cs-media { position: relative; min-height: 300px; background: #050b1a; }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.cs-badge {
  align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-family: var(--f-ui); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.cs-body h2 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #fff; margin: 0; }
.cs-sub { margin-top: -6px; color: #94a3b8; font-size: .95rem; }
.cs-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-block { display: flex; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .12); }
.cs-block b, .cs-results > b { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e2e8f0; margin-bottom: 4px; }
.cs-block p { font-size: .88rem; line-height: 1.6; color: #a3b1c6; }
.cs-block-ic {
  flex-shrink: 0; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.cs-results > b .cs-block-ic { width: 26px; height: 26px; }
.cs-results ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; }
.cs-results li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: #dbe5f1; line-height: 1.5; }
.cs-results li svg { flex-shrink: 0; margin-top: 3px; color: var(--c); }
.cs-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-tech {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-family: var(--f-ui); font-size: .78rem; font-weight: 500; color: #e2e8f0;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .18);
}
.cs-tech img { width: 16px; height: 16px; }
.cs-tech img.inv { filter: invert(1); }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cs-actions .work-btn svg { margin-left: 2px; }
.cs-list .subpage-cta-box { margin-top: 12px; }
@media (max-width: 991px) {
  .cs-card, .cs-card--flip { grid-template-columns: 1fr; }
  .cs-card--flip .cs-media { order: 0; }
  .cs-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .cs-body { padding: 22px 18px; }
  .cs-blocks { grid-template-columns: 1fr; }
}

/* ═══════ SERVICES PAGE v3 — two-column categories, clean cards (no "learn more") ═══════ */
.svc-cat {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px; align-items: start;
  padding: 36px 0; margin: 0; border-top: 1px solid rgba(148, 163, 184, .1);
}
.svc-cat:first-child { border-top: 0; padding-top: 0; }
.svc-cat-head { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0; border: 0; position: sticky; top: calc(var(--nav-h-compact, 64px) + 24px); }
.svc-cat-text h3 { font-size: 1.6rem; margin-bottom: 8px; }
.svc-cat-text p { font-size: .97rem; }
.svc-cat-proof { width: 100%; max-width: none; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
.svc-cat-proof figcaption { padding: 26px 14px 10px; font-size: .76rem; }
.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc-card { padding: 22px; gap: 6px; min-height: 172px; position: relative; overflow: hidden; }
.svc-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px;
  background: var(--c); opacity: 0; transition: opacity .25s var(--ease);
}
.svc-card:hover::before { opacity: 1; }
.svc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.svc-card-top .svc-card-icon { margin: 0; }
.svc-card h4 { font-size: 1.08rem; }
.svc-card p { flex-grow: 0; font-size: .9rem; }
.svc-skills img { width: 28px; height: 28px; }
@media (max-width: 991px) {
  .svc-cat { grid-template-columns: 1fr; gap: 20px; }
  .svc-cat-head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-cat-head { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
}

/* ═══════ CASE STUDIES v3 — three equal cards ═══════ */
.cs-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cs-list .subpage-cta-box { grid-column: 1 / -1; }
.cs-card, .cs-card--flip { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 18px; }
.cs-card--flip .cs-media { order: 0; }
.cs-media { min-height: 0; aspect-ratio: 16 / 9; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.cs-body { padding: 20px 20px 22px; gap: 12px; }
.cs-badge { font-size: .64rem; padding: 4px 9px; }
.cs-body h2 { font-size: 1.22rem; }
.cs-sub { font-size: .86rem; margin-top: -4px; }
.cs-blocks { grid-template-columns: 1fr; gap: 8px; }
.cs-block { padding: 11px 12px; gap: 10px; }
.cs-block-ic { width: 26px; height: 26px; border-radius: 8px; }
.cs-block-ic svg { width: 15px; height: 15px; }
.cs-block b, .cs-results > b { font-size: .66rem; margin-bottom: 2px; }
.cs-block p { font-size: .84rem; line-height: 1.55; }
.cs-results ul { gap: 5px; }
.cs-results li { font-size: .84rem; }
.cs-stack { gap: 6px; }
.cs-tech { font-size: .72rem; padding: 4px 8px; }
.cs-tech img { width: 14px; height: 14px; }
.cs-actions { margin-top: auto; padding-top: 4px; }
.cs-actions .work-btn { height: 36px; padding: 0 14px; font-size: .8rem; }
@media (max-width: 1100px) { .cs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .cs-list { grid-template-columns: 1fr; } }

/* ═══════ SERVICES PAGE v4 — compact category bars, full rows, smooth reveal ═══════ */
/* tighter vertical rhythm on this page only */
.subpage-hero:has(+ .svc-page) { padding: 128px 0 52px; }
.svc-page .detail-section { padding: 56px 0; }
.svc-page .detail-section + .detail-section { padding-top: 8px; }
.svc-page .detail-header { margin-bottom: 28px; }

/* category: compact header bar above a full-width grid */
.svc-cat {
  display: block; padding: 0; margin: 0 0 40px; border-top: 0;
}
.svc-cat:last-child { margin-bottom: 0; }
.svc-cat-head {
  position: static; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 14px 14px 20px; margin: 0 0 16px; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255, 255, 255, .015) 60%), #0a1328;
  border: 1px solid color-mix(in srgb, var(--c) 22%, rgba(148, 163, 184, .14));
}
.svc-cat-text { min-width: 0; }
.svc-cat-text h3 { font-size: 1.3rem; margin: 0 0 4px; }
.svc-cat-text p { font-size: .92rem; margin: 0; }
.svc-cat-proof {
  flex-shrink: 0; width: 200px; aspect-ratio: 16 / 9; margin: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
}
.svc-cat-proof figcaption { display: flex; flex-direction: column; gap: 1px; padding: 18px 9px 6px; font-size: .62rem; line-height: 1.2; }
.svc-cat-proof figcaption span { color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; font-size: .56rem; }

/* full rows: columns follow the number of services in the category */
.svc-grid { gap: 14px; }
.svc-grid--1 { grid-template-columns: 1fr; }
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { min-height: 0; padding: 20px; }
.svc-card-top { margin-bottom: 8px; }
.svc-card p { margin: 0; }

/* smooth interactions */
.svc-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease, background-color .35s ease; will-change: transform; }
.svc-card:hover { transform: translateY(-4px); background-color: rgba(255, 255, 255, .02); }
.svc-card .svc-card-icon, .svc-skills img { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.svc-card:hover .svc-card-icon { transform: scale(1.06); }
.svc-card:hover .svc-skills img { transform: translateY(-2px); }
.svc-cat-proof img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.svc-cat-head:hover .svc-cat-proof img { transform: scale(1.05); }

/* gentle fade-up as cards scroll into view (browsers with scroll-driven animations) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .svc-page .svc-card, .svc-page .svc-cat-head, .svc-page .step {
      animation: svcReveal both cubic-bezier(.2, .8, .2, 1);
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes svcReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* phones & tablets: no rise-up; cards stay in place and only fade (reveal.js .rv-lite in style.css) */
@media (max-width: 991px), (pointer: coarse) {
  .svc-page .svc-card, .svc-page .svc-cat-head, .svc-page .step { animation: none; }
}

@media (max-width: 991px) {
  .svc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cat-proof { width: 160px; }
}
@media (max-width: 600px) {
  .subpage-hero:has(+ .svc-page) { padding: 112px 0 40px; }
  .svc-page .detail-section { padding: 40px 0; }
  .svc-grid--2, .svc-grid--3 { grid-template-columns: 1fr; }
  .svc-cat-head { flex-direction: column; align-items: flex-start; padding: 16px; }
  .svc-cat-proof { width: 100%; }
}
.svc-cat-head { flex-direction: row; text-align: left; }
@media (max-width: 991px) { .svc-cat-head { display: flex; flex-direction: row; } }
@media (max-width: 600px) { .svc-cat-head { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .svc-cat-head { gap: 12px; } .svc-cat-proof { width: 100%; aspect-ratio: 3 / 1; } .svc-cat { margin-bottom: 28px; } .svc-card { padding: 18px; } }
