.services-page{
  --brand:#d6b25e;
  --brand-2:#ffd700;
  --panel:#0f1526;
  --panel-2:#0b1020;
  --ink:#e9edf7;
  --muted:#b9c0d6;
  --wrap:1200px;
  --stroke:rgba(214,178,94,.18);
  --stroke-2:rgba(214,178,94,.32);
  --shadow:0 18px 46px rgba(0,0,0,.55);
  padding:56px 16px 78px;
}

.services-page .wrap{
  max-width:var(--wrap);
  margin:0 auto;
}

.services-page .page-head{
  text-align:center;
  margin-bottom:28px;
}

.services-page .page-head h1{
  margin:0 0 12px;
  font-size:clamp(2.05rem,2.3vw,2.65rem);
  font-weight:650;
  letter-spacing:.12em;
  color:rgba(255,255,255,.92);
}

.services-page .page-head h1::after{
  content:"";
  display:block;
  width:min(520px,72%);
  height:1px;
  margin:14px auto 0;
  background:linear-gradient(90deg,transparent,rgba(214,178,94,.70),transparent);
}

.services-page .page-head .lead{
  color:rgba(233,237,247,.82);
  margin:0 auto;
  max-width:840px;
  font-size:clamp(.96rem,1.9vw,1.05rem);
  line-height:1.55;
}

.services-page .page-head .lead.lead-secondary{
  margin-top:10px;
  color:rgba(233,237,247,.72);
}

.services-page .services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}

.services-page .service-card{
  border-radius:18px;
  padding:22px 20px 20px;
  background:
radial-gradient(1200px 260px at 15% -10%, rgba(255, 255, 255, 0.12), transparent 55%), radial-gradient(900px 240px at 95% 0%, rgba(0, 0, 0, 0.5), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(0, 0, 0, 0.14)), linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow:var(--shadow);
  border:1px solid var(--stroke);
  color:var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:280px;
  transition:transform .16s ease, box-shadow .22s ease, border-color .22s ease;
}

.services-page .service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(0,0,0,.65);
  border-color:var(--stroke-2);
}

.services-page .card-head{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.services-page .service-card .title{
  margin:0;
  font-size:1.15rem;
  font-weight:720;
  letter-spacing:.03em;
  color:rgba(255,255,255,.95);
}

/* Линията вече е ПОД заглавието */
.services-page .card-line{
  width:60px;
  height:1px;
  background:linear-gradient(90deg, rgba(214,178,94,.9), rgba(214,178,94,.2));
  margin-top:6px;
}

.services-page .service-card .desc{
  margin:14px 0 0 0;
  color:rgba(233,237,247,.76);
  line-height:1.5;
  font-size:.97rem;
  flex-grow:1;
}

.services-page .service-card .actions{
  margin-top:22px;
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
}

.services-page .service-card .btn-primary,
.services-page .service-card .btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 550;
  font-size: .7rem;
  text-decoration:none;
  transition:transform .14s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.services-page .service-card .btn-primary{
  background:linear-gradient(180deg, rgba(255,215,0,.98), rgba(214,178,94,.92));
  color:#1a1a1a;
  border:1px solid rgba(214,178,94,.60);
}

.services-page .service-card .btn-primary:hover{
  transform:translateY(-2px);
}

.services-page .service-card .btn-secondary{
  background:rgba(255,255,255,.02);
  border:1px solid rgba(214,178,94,.45);
  color:rgba(214,178,94,.96);
}

.services-page .service-card .btn-secondary:hover{
  transform:translateY(-2px);
  background:rgba(214,178,94,.10);
  border-color:rgba(214,178,94,.70);
}

@media (max-width: 980px){
  .services-page .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 600px){
  .services-page .services-grid{
    grid-template-columns:1fr;
  }
  .services-page .service-card .actions{
    justify-content:center;
    flex-wrap:wrap;
  }
}