/* ============================================================
   HOME.CSS — hero-specific, section-head, services, approach, cta
   ============================================================ */

/* ── Hero (home-specific) ── */
.hero h1 .strike {
  position: relative;
  display: inline-block;
}
.hero h1 .strike svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 22px;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-sub .mkltlabs {
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.hero-sub .em {
  color: var(--green-400);
}

/* ── Section (uses common styles from global) ── */

/* ── Services grid ── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.service {
  padding: 52px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s ease;
}
.service:nth-child(2n) {
  border-right: 0;
}
.service:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.service:hover {
  background: var(--bg-3);
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--green-400);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.service:hover::before {
  transform: scaleY(1);
}
.service-icon {
  width: 100%;
  height: 48px;
  background: var(--green-700);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 24px;
}
.service:hover .service-icon {
  background: var(--green-400);
  box-shadow: var(--glow);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: var(--ink);
  text-transform: uppercase;
}
.service p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tag {
  font-family: "NimbusMono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--rule-2);
  color: var(--green-300);
}

/* ── Service with background SVG ── */
.service--arch,
.service--cpq,
.service--integration,
.service--ai {
  position: relative;
  overflow: hidden;
}
.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.service--arch h3,
.service--arch p,
.service--arch .service-tags,
.service--cpq h3,
.service--cpq p,
.service--cpq .service-tags,
.service--integration h3,
.service--integration p,
.service--integration .service-tags,
.service--ai h3,
.service--ai p,
.service--ai .service-tags {
  position: relative;
  z-index: 1;
}

/* ── Approach ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s ease;
}
.step:last-child {
  border-right: 0;
}
.step:hover {
  background: var(--bg-3);
}
.step-num {
  font-family: "NimbusMono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.step h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--green-400);
  text-transform: uppercase;
}
.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* ── CTA Band ── */
.cta {
  padding: 160px 0;
  border-top: 1px solid var(--rule);
  background: radial-gradient(at 85% 20%, rgba(63, 185, 122, 0.1),
    transparent 55%),
    radial-gradient(at 15% 90%, rgba(1, 97, 54, 0.2), transparent 55%),
    #040506;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-grid .eyebrow {
  margin-bottom: 18px;
}
.cta-grid h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
  text-transform: uppercase;
  color: var(--ink);
}
.cta-grid h2 .thin {
  font-weight: 300;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: -0.025em;
}
.cta-grid h2 .em {
  color: var(--green-400);
}
.cta-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--green-400);
  padding: 28px 32px;
  background: var(--bg-2);
  transition: border-color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
}
.cta-card:hover {
  border-color: var(--green-400);
  background: var(--bg-3);
  box-shadow: var(--glow);
}
.cta-card .label {
  font-family: "NimbusMono", monospace;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.cta-card .val {
  font-family: "NimbusMono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.cta-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green-400);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2n) {
    border-right: 0;
  }
  .step {
    border-bottom: 1px solid var(--rule);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 720px) {
  .hero {
    padding: 100px 0 140px;
  }
  .section,
  .cta {
    padding: 100px 0;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    border-right: 0;
  }
  .service:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
  .service:last-child {
    border-bottom: 0;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .step:nth-child(2n) {
    border-right: 0;
  }
}
