/* ── FINAL CTA BANNER (contact-cta.njk, used on every page) ── */
.cs-cta-section {
  background: var(--navy2);
  border-top: 1px solid var(--bd2);
  border-bottom: 1px solid var(--bd2);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-cta-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.cs-cta-inner {
  position: relative;
  z-index: var(--z-content);
  max-width: 560px;
  margin: 0 auto;
}

.cs-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--w);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cs-cta-inner h2 span {
  color: var(--accent);
}

.cs-cta-inner p {
  font-size: 15px;
  color: var(--w2);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ── PROCESS STEPS (used on homepage + service pages) ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--bd2);
  margin: 1.5rem 0;
}

.process-step {
  background: var(--navy2);
  padding: 28px 24px;
}

.process-step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w3);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.process-step .step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--w);
  margin-bottom: 0.5rem;
}

.process-step .step-desc {
  font-size: 13px;
  color: var(--w2);
  line-height: 1.6;
  font-weight: 300;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--bd2);
}

.service-card {
  background: var(--navy2);
  padding: 36px 32px;
  transition: background var(--transition-med);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.service-card:hover {
  background: var(--navy3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w3);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--w);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: var(--w2);
  line-height: 1.7;
  font-weight: 300;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.2rem;
}

.stag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--afaint);
  border: 1px solid var(--bd2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ── PROJECT CARDS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.project-card {
  background: var(--navy2);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--transition-med),
    transform var(--transition-med);
  position: relative;
}

.project-card:hover {
  border-color: var(--bd);
  transform: translateY(-4px);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-bottom: 1px solid var(--bd2);
  position: relative;
  overflow: hidden;
}

.project-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(2, 8, 16, 0.9));
  padding: 20px 16px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-body {
  padding: 22px 24px;
}

.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--w);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w3);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.project-role-label {
  color: var(--w2);
  font-weight: 500;
}

.project-desc {
  font-size: 13px;
  color: var(--w2);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}

.project-highlights {
  list-style: none;
  margin-bottom: 1rem;
}

.project-highlights li {
  font-size: 12px;
  color: var(--w2);
  padding: 3px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 300;
}

.project-highlights li::before {
  content: "\203A";
  color: var(--accent);
  flex-shrink: 0;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.ptag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--w3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.project-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--afaint);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.project-links {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.plink-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.region-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--w3);
  letter-spacing: 0.04em;
  padding-left: 2px;
}

.project-cs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--bd2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--w3);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.project-cs-link:hover {
  color: var(--accent);
}

.project-cs-link .cs-arrow {
  color: var(--accent);
  font-size: 13px;
  transition: transform var(--transition-fast);
}

.project-cs-link:hover .cs-arrow {
  transform: translateX(4px);
}

/* ── CASE STUDY CARDS (index/preview) ── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.cs-card {
  background: var(--navy);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  display: block;
  transition:
    border-color var(--transition-med),
    transform var(--transition-med);
  position: relative;
  overflow: hidden;
}

.cs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.cs-card:hover {
  border-color: var(--bd);
  transform: translateY(-4px);
}

.cs-card:hover::before {
  opacity: 1;
}

.cs-industry {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.cs-problem {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--w);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cs-result {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--afaint);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.cs-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--w3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.cs-card:hover .cs-cta {
  color: var(--accent);
}

/* ── SKILL / TECH CHIPS ── */
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--w2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bd2);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast);
}

.chip:hover {
  border-color: var(--bd);
  color: var(--accent);
  background: var(--afaint);
}

.chip.hi {
  color: var(--accent);
  background: var(--afaint);
  border-color: var(--bd);
}

/* ── CONTACT ITEMS ── */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-decoration: none;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.contact-item:hover {
  border-color: var(--bd);
  background: var(--afaint);
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--w3);
  text-transform: uppercase;
  margin-bottom: 2px;
  text-align: left;
}

.contact-item-val {
  font-size: 14px;
  color: var(--w);
  font-weight: 400;
  text-align: left;
  word-break: break-word;
}

/* ── CASE STUDY BODY COMPONENTS ── */
.cs-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cs-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-metric .val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.cs-metric .key {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-quote {
  border-left: 2px solid var(--accent);
  padding: 16px 24px;
  margin: 2rem 0;
  background: var(--afaint);
  border-radius: 0 4px 4px 0;
}

.cs-quote p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--w);
  line-height: 1.5;
  margin: 0;
}

.cs-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 1.5rem 0;
}

.cs-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--w2);
  line-height: 1.65;
  font-weight: 300;
}

.cs-feature-list li::before {
  content: "\2192";
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.cs-feature-list li strong {
  color: var(--w);
  font-weight: 500;
}

.cs-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--bd2);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
}

.cs-result-item {
  background: var(--navy2);
  padding: 28px 24px;
}

.cs-result-item .rval {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.cs-result-item .rlbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.cs-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--afaint);
  border: 1px solid var(--bd2);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.cs-img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bd2);
  margin: 2rem 0;
  background: var(--navy2);
}

.cs-img-wrap picture {
  display: block;
}

.cs-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.cs-img-caption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--bd2);
}

.cs-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bd2);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
}

.cs-ba-item {
  background: var(--navy2);
  padding: 28px 24px;
}

.cs-ba-item .ba-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--w3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cs-ba-item.after .ba-label {
  color: var(--accent);
}

.cs-ba-item .ba-stat {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--w);
  line-height: 1;
  margin-bottom: 6px;
}

.cs-ba-item.after .ba-stat {
  color: var(--accent);
}

.cs-ba-item .ba-desc {
  font-size: 13px;
  color: var(--w3);
  line-height: 1.6;
  font-weight: 300;
}

.cs-insight,
.cs-challenge-box {
  background: var(--navy3);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 2rem 0;
}

.cs-insight .ins-label,
.cs-challenge-box .ch-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.cs-insight p {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--w);
  line-height: 1.5;
  margin: 0;
}

.cs-challenge-box p {
  font-size: 15px;
  color: var(--w2);
  line-height: 1.75;
  font-weight: 300;
  margin: 0;
}

.cs-challenge-box p strong {
  color: var(--w);
  font-weight: 500;
}

.cs-note {
  font-size: 13px;
  color: var(--w3);
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── FAQ (new, matches existing card/section language) ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  background: var(--navy2);
  padding: 24px 28px;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--w);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14px;
  color: var(--w2);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 14px;
}

/* ── METRIC CARD (new, generic homepage/about credibility stats) ── */
.metric-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-card .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.metric-card .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card .note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--w3);
  opacity: 0.75;
  letter-spacing: 0.06em;
}
