/* =====================================================================
   XyberCore services page (services.html only) — funnel layout v2
   Link AFTER xc-theme.css:
   <link rel="stylesheet" href="/assets/css/xc-theme.css">
   <link rel="stylesheet" href="/assets/css/xc-services.css">
   ===================================================================== */
.xc-page {
  font-family: var(--xc-body);
  background: var(--xc-bg)
}

.xc-page h1,
.xc-page h2,
.xc-page h3 {
  font-family: var(--xc-display);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--xc-ink)
}

.xc-sec-head {
  max-width: 640px;
  margin: 0 auto
}

.xc-sec-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  text-align: center
}

.xc-sec-head p {
  margin-top: 14px;
  color: var(--xc-muted);
  font-size: 1.02rem;
  text-align: center
}

.xc-grid-bg {
  background-color: #E1EEE6;
  background-image: linear-gradient(rgba(14, 42, 32, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 42, 32, .06) 1px, transparent 1px);
  background-size: 32px 32px
}

/* ---------- hero (top of funnel) ---------- */
.xc-s-hero {
  padding: 64px 0 0;
  background: var(--xc-tint);
  border-bottom: 1px solid var(--xc-line);
  overflow: hidden
}

.xc-s-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px
}

.xc-s-hero .xc-eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--xc-green-dk);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px -8px rgba(14, 42, 32, .25)
}

.xc-s-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  max-width: 13em
}

.xc-s-hero p {
  margin: 16px 0 0;
  color: var(--xc-muted);
  max-width: 34em;
  font-size: 1.08rem
}

.xc-s-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px
}

.xc-s-hero-note {
  margin-top: 16px;
  color: var(--xc-muted);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px
}

.xc-s-hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--xc-green)
}

/* hero visual: stacked mini "dashboard" cards */
.xc-s-hero-visual {
  position: relative;
  border-radius: 32px;
  padding: 34px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center
}

.xc-s-mini {
  background: #fff;
  border: 1.5px solid var(--xc-line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 30px -22px rgba(14, 42, 32, .35)
}

.xc-s-mini.xc-in {
  transform: translateX(-14px)
}

.xc-s-mini.xc-out {
  transform: translateX(14px)
}

.xc-s-mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px
}

.xc-s-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--xc-green-soft);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none
}

.xc-s-mini-name {
  font-weight: 700;
  font-size: .85rem
}

.xc-s-mini-role {
  font-size: .72rem;
  color: var(--xc-muted)
}

.xc-s-mini-text {
  font-size: .85rem;
  color: #3D4A43;
  line-height: 1.5
}

.xc-s-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--xc-green-soft);
  color: var(--xc-green-dk);
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 8px
}

/* ---------- stats strip ---------- */
.xc-s-stats {
  border-top: 1px solid var(--xc-line);
  background: #fff
}

.xc-s-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center
}

.xc-s-stat {
  padding: 26px 12px;
  border-right: 1px solid var(--xc-line)
}

.xc-s-stat:last-child {
  border-right: 0
}

.xc-s-stat b {
  display: block;
  font-family: var(--xc-display);
  font-size: 1.7rem;
  color: var(--xc-green-dk)
}

.xc-s-stat span {
  display: block;
  color: var(--xc-muted);
  font-size: .8rem;
  margin-top: 2px
}

/* ---------- services grid (consideration) ---------- */
.xc-s-grid-wrap {
  padding: 80px 0
}

.xc-s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 24px;
  margin-top: 48px
}

.xc-s-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--xc-line);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden
}

.xc-s-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--xc-accent, var(--xc-green))
}

.xc-s-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 44px -28px rgba(14, 42, 32, .4)
}

.xc-s-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--xc-accent-soft, var(--xc-green-soft));
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px
}

.xc-s-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px
}

.xc-s-desc {
  color: var(--xc-muted);
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 16px
}

.xc-s-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 7px
}

.xc-s-list li {
  font-size: .85rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 7px
}

.xc-s-list svg {
  width: 15px;
  height: 15px;
  color: var(--xc-green);
  flex: none;
  margin-top: 2px
}

.xc-s-price {
  font-family: var(--xc-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--xc-green-dk);
  margin-bottom: 16px
}

.xc-s-card .xc-cta {
  margin-top: auto;
  width: 100%;
  min-height: 46px;
  font-size: .9rem
}

/* ---------- trust / why work with me ---------- */
.xc-s-trust {
  padding: 80px 0;
  background: var(--xc-tint);
  border-block: 1px solid var(--xc-line)
}

.xc-s-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px
}

.xc-s-trust-item {
  background: #fff;
  border: 1.5px solid var(--xc-line);
  border-radius: 20px;
  text-align: center;
  padding: 32px 20px;
  transition: transform .2s, box-shadow .2s
}

.xc-s-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px -26px rgba(14, 42, 32, .3)
}

.xc-s-trust-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--xc-green-soft);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin: 0 auto 16px
}

.xc-s-trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px
}

.xc-s-trust-item p {
  color: var(--xc-muted);
  font-size: .9rem;
  line-height: 1.5
}

/* ---------- testimonial ---------- */
.xc-s-quote-wrap {
  padding: 80px 0
}

.xc-s-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--xc-line);
  border-radius: 28px;
  padding: 48px 40px;
  position: relative
}

.xc-s-quote-mark {
  font-family: var(--xc-display);
  font-size: 4rem;
  color: var(--xc-green-soft);
  line-height: 0;
  display: block;
  margin-bottom: 6px
}

.xc-s-quote p {
  font-family: var(--xc-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--xc-ink);
  line-height: 1.5;
  letter-spacing: -.01em
}

.xc-s-quote-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px
}

.xc-s-quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--xc-green-soft);
  display: grid;
  place-items: center;
  font-size: 20px
}

.xc-s-quote-name {
  font-weight: 700;
  font-size: .92rem;
  text-align: left
}

.xc-s-quote-role {
  font-size: .8rem;
  color: var(--xc-muted);
  text-align: left
}

/* ---------- process (decision) ---------- */
.xc-s-process {
  padding: 80px 0;
  background: var(--xc-tint);
  border-block: 1px solid var(--xc-line)
}

.xc-s-process-grid {
  display: flex;
  gap: 0;
  margin-top: 52px
}

.xc-s-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative
}

.xc-s-step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--xc-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--xc-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 16px;
  box-shadow: 0 10px 18px -8px rgba(21, 122, 85, .5)
}

.xc-s-step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px
}

.xc-s-step p {
  color: var(--xc-muted);
  font-size: .88rem;
  line-height: 1.5
}

.xc-s-step-arrow {
  position: absolute;
  top: 16px;
  right: -24px;
  color: #E58A1F;
  display: none
}

.xc-s-step-arrow svg {
  width: 38px;
  height: 14px
}

@media (min-width:861px) {
  .xc-s-step:not(:last-child) .xc-s-step-arrow {
    display: block
  }
}

/* ---------- final CTA (bottom of funnel) ---------- */
.xc-s-final {
  position: relative;
  overflow: hidden;
  background: var(--xc-green);
  color: #fff;
  padding: 0
}

.xc-s-final::before,
.xc-s-final::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .1)
}

.xc-s-final::before {
  left: -60px;
  top: -30px;
  width: 340px;
  height: 380px;
  clip-path: polygon(0 12%, 100% 0, 55% 100%, 0 100%)
}

.xc-s-final::after {
  right: -40px;
  bottom: -30px;
  width: 320px;
  height: 380px;
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 60% 100%)
}

.xc-s-final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0
}

.xc-s-final h2 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  max-width: 11em
}

.xc-s-final p {
  margin: 16px 0 0;
  max-width: 32em;
  color: #DDF0E6;
  font-size: 1.08rem
}

.xc-s-final-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px
}

.xc-s-final-note {
  margin-top: 20px;
  color: #DDF0E6;
  font-size: .9rem
}

.xc-s-final-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline
}

.xc-s-final-card {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(2px)
}

.xc-s-final-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px
}

.xc-s-final-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem
}

.xc-s-final-card li span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none
}

@media (max-width:900px) {
  .xc-s-hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 40px
  }

  .xc-s-stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .xc-s-stat:nth-child(2) {
    border-right: 0
  }

  .xc-s-trust-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .xc-s-process-grid {
    flex-direction: column;
    gap: 36px
  }

  .xc-s-step {
    padding: 0
  }

  .xc-s-final-grid {
    grid-template-columns: 1fr;
    padding: 56px 0
  }
}

@media (max-width:600px) {
  .xc-s-hero {
    padding: 44px 0 0
  }

  .xc-s-grid-wrap,
  .xc-s-trust,
  .xc-s-process,
  .xc-s-quote-wrap {
    padding: 52px 0
  }

  .xc-s-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .xc-s-card {
    padding: 24px 22px
  }

  .xc-s-hero-cta .xc-cta,
  .xc-s-final-row .xc-cta {
    flex: 1 1 100%
  }

  .xc-s-quote {
    padding: 32px 24px
  }

  .xc-s-quote p {
    font-size: 1.1rem
  }

  .xc-s-stat {
    padding: 18px 8px
  }

  .xc-s-stat b {
    font-size: 1.35rem
  }
}