
/* ==========================================================
   SOMTECH SERVICES — SERVICE PAGE SYSTEM
   Consistent typography, spacing, cards and responsive layout.
   ========================================================== */

:root{
  --svc-bg:#05070c;
  --svc-panel:rgba(255,255,255,.035);
  --svc-panel-2:rgba(255,255,255,.05);
  --svc-border:rgba(148,163,184,.16);
  --svc-border-hi:rgba(34,211,238,.34);
  --svc-white:#f5f7fb;
  --svc-text:#b8c2d4;
  --svc-muted:#7f8ba2;
  --svc-cyan:#22d3ee;
  --svc-blue:#3b82f6;
  --svc-purple:#8b5cf6;
}

html{background:var(--svc-bg);overflow-x:hidden}
body{
  margin:0;
  background:
    radial-gradient(circle at 80% 10%,rgba(59,130,246,.10),transparent 32rem),
    radial-gradient(circle at 15% 35%,rgba(139,92,246,.07),transparent 28rem),
    var(--svc-bg);
  color:var(--svc-text);
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:
    linear-gradient(rgba(148,163,184,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.045) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
}
h1,h2,h3,h4,h5{
  margin:0;
  color:var(--svc-white);
  font-family:'Space Grotesk',Inter,sans-serif;
  letter-spacing:-.025em;
  line-height:1.12;
}
p{color:var(--svc-text);margin:0}
a{text-decoration:none}

/* ---------- HEADER ---------- */
#site-header{
  position:fixed;
  z-index:100;
  top:0;left:0;right:0;
  background:rgba(5,7,12,.72);
  border-bottom:1px solid rgba(148,163,184,.10);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
#site-header .wrap{
  width:min(1180px,calc(100% - 40px));
  min-height:76px;
  margin:auto;
}
#site-header .brand-logo{
  width:auto;
  height:36px!important;
  max-width:170px;
  object-fit:contain;
}
#site-header .nav-links{gap:22px}
#site-header .nav-links a{
  color:#9da8bb;
  font-size:12.5px;
  font-weight:600;
  transition:color .2s;
}
#site-header .nav-links a:hover{color:#fff}

/* ---------- PAGE HERO ---------- */
.service-hero{
  position:relative;
  padding:170px 0 86px;
  overflow:hidden;
}
.service-hero::after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  right:-220px;top:90px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(34,211,238,.13),transparent 68%);
  pointer-events:none;
}
.service-hero .wrap{position:relative;z-index:1}
.service-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  color:var(--svc-cyan);
  font-family:'JetBrains Mono',monospace;
  font-size:11px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.service-kicker::before{
  content:"";
  width:28px;height:1px;
  background:var(--svc-cyan);
  box-shadow:0 0 10px rgba(34,211,238,.5);
}
.service-hero h1{
  max-width:900px!important;
  font-size:clamp(42px,6vw,72px)!important;
  line-height:1.02!important;
  margin:0 0 22px!important;
}
.service-lead{
  max-width:790px;
  color:#aeb9cc!important;
  font-size:clamp(16px,1.7vw,19px)!important;
  line-height:1.75!important;
}
.service-hero .hero-ctas{
  display:flex!important;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px!important;
}
.service-hero .btn{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
}

/* ---------- QUICK VALUE STRIP ---------- */
.service-proof{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:52px;
}
.service-proof-card{
  min-width:0;
  padding:19px 20px;
  border:1px solid var(--svc-border);
  border-radius:16px;
  background:var(--svc-panel);
}
.service-proof-card b{
  display:block;
  color:#f3f6fb;
  font-family:'Space Grotesk',sans-serif;
  font-size:14px;
  margin-bottom:4px;
}
.service-proof-card span{
  display:block;
  color:var(--svc-muted);
  font-size:12px;
  line-height:1.5;
}

/* ---------- MAIN CONTENT ---------- */
.service-section{
  padding:84px 0;
}
.service-section.alt{
  border-top:1px solid rgba(148,163,184,.07);
  border-bottom:1px solid rgba(148,163,184,.07);
  background:rgba(255,255,255,.012);
}
.service-heading{
  max-width:780px;
  margin-bottom:38px;
}
.service-heading .eyebrow{
  display:block;
  margin-bottom:10px;
  color:var(--svc-cyan)!important;
  font-family:'JetBrains Mono',monospace!important;
  font-size:11px!important;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.service-heading h2{
  font-size:clamp(30px,4vw,48px);
  margin-bottom:14px;
}
.service-heading p{
  color:#98a5ba;
  font-size:15px;
  line-height:1.75;
}

/* ---------- FOUR STEPS ---------- */
.service-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.service-step{
  min-width:0;
  min-height:205px;
  padding:25px;
  border:1px solid var(--svc-border);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
.service-step:hover{
  transform:translateY(-5px);
  border-color:var(--svc-border-hi);
  box-shadow:0 18px 45px -28px rgba(34,211,238,.45);
}
.service-step .why-no{
  display:block;
  color:var(--svc-cyan);
  font:500 11px 'JetBrains Mono',monospace;
  letter-spacing:.12em;
  margin-bottom:20px;
}
.service-step h3{
  font-size:19px;
  margin-bottom:9px;
}
.service-step p{
  color:#98a5ba;
  font-size:13px;
  line-height:1.7;
}

/* ---------- FEATURE GRID ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.feature-card{
  min-width:0;
  padding:24px;
  border:1px solid var(--svc-border);
  border-radius:18px;
  background:var(--svc-panel);
}
.feature-card h3{
  font-size:17px;
  margin-bottom:8px;
}
.feature-card p{
  color:#95a1b5;
  font-size:13px;
  line-height:1.7;
}

/* ---------- TECH / TAGS ---------- */
.service-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.service-tags span{
  padding:7px 10px;
  border:1px solid rgba(34,211,238,.16);
  border-radius:999px;
  background:rgba(34,211,238,.045);
  color:#9feaf5;
  font-size:11px;
  line-height:1.2;
}

/* ---------- CTA ---------- */
.service-cta{
  margin:0 0 84px;
  padding:38px;
  border:1px solid rgba(34,211,238,.22);
  border-radius:22px;
  background:
    radial-gradient(circle at 90% 0%,rgba(139,92,246,.16),transparent 35%),
    linear-gradient(135deg,rgba(34,211,238,.06),rgba(255,255,255,.025));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.service-cta h2{font-size:clamp(26px,3.5vw,40px);margin-bottom:8px}
.service-cta p{max-width:680px;color:#9aa7bb;font-size:14px}
.service-cta .hero-ctas{display:flex;flex-wrap:wrap;gap:10px;flex:0 0 auto}

/* ---------- FOOTER ---------- */
.service-footer{
  border-top:1px solid rgba(148,163,184,.10);
  padding:30px 0 90px;
}
.service-footer .foot-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:#717e94;
  font-size:11px;
}
.service-footer a{color:#8f9bb0}
.service-footer a:hover{color:var(--svc-cyan)}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px){
  .service-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:720px){
  #site-header .wrap{width:calc(100% - 28px);min-height:68px}
  #site-header .nav-links{display:none}
  #site-header .nav-right .btn{display:none}
  .service-hero{padding:128px 0 62px}
  .service-hero h1{font-size:42px!important}
  .service-hero .hero-ctas{width:100%}
  .service-hero .hero-ctas .btn{flex:1 1 100%;width:100%}
  .service-proof{grid-template-columns:1fr;margin-top:36px}
  .service-section{padding:62px 0}
  .service-steps,.feature-grid{grid-template-columns:1fr}
  .service-step{min-height:auto;padding:22px}
  .service-cta{padding:25px;margin-bottom:62px}
  .service-footer .foot-bottom{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important}
}

/* ===== Service header alignment ===== */
#site-header .nav-links{gap:16px;white-space:nowrap}
#site-header .nav-right{display:flex;align-items:center;gap:10px;flex-shrink:0}
#site-header .header-consultation{white-space:nowrap}
#site-header .header-admin{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 13px;border:1px solid rgba(56,189,248,.42);border-radius:10px;color:#e5f7ff;background:rgba(7,20,38,.72);font-size:12px;font-weight:600;text-decoration:none}
@media(max-width:1180px){#site-header .nav-links{gap:10px;font-size:12px}}
@media(max-width:900px){#site-header .nav-links{display:none}#site-header .nav-right .header-consultation,#site-header .nav-right .header-admin{display:none}}
