:root{
  --bg:#050505;
  --fg:#ffffff;
  --dim:rgba(255,255,255,.78);

  --gold1:#f4e1a6;
  --gold2:#d6b35f;

  --card:rgba(255,255,255,.04);
  --card2:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);
  --stroke2:rgba(255,255,255,.22);

  --radius:24px;
  --shadow1:0 18px 44px rgba(0,0,0,.35);
  --shadow2:0 22px 60px rgba(0,0,0,.46);
}

body.service-page{
  background-color:var(--bg);
  color:var(--fg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.035) 0,
      rgba(255,255,255,.035) 1px,
      rgba(255,255,255,0) 1px,
      rgba(255,255,255,0) 12px
    ),
    radial-gradient(850px 560px at 16% 0, rgba(214,179,95,.10), rgba(0,0,0,0) 60%),
    radial-gradient(980px 680px at 88% 12%, rgba(244,225,166,.08), rgba(0,0,0,0) 56%);
  background-attachment:fixed;
}

.sp-wrap{
  width:min(1200px,calc(100% - 40px));
  margin:0 auto;
}

.sp-wrap--hero{
  width:min(1560px,calc(100% - 40px));
}

.sp-section{
  margin:42px 0;
}

.sp-card{
  background:linear-gradient(180deg, var(--card), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow1);
}

.sp-grid-2{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:24px;
  align-items:start;
}

.sp-grid-2--middle{
  align-items:center;
}

.sp-h2{
  font-size:clamp(22px,2.1vw,30px);
  line-height:1.18;
  margin:0 0 12px 0;
}

.sp-h3{
  margin:0 0 8px 0;
  font-size:clamp(18px,1.4vw,22px);
  line-height:1.25;
  color:#fff;
}

.sp-p{
  color:var(--dim);
  font-size:16px;
  line-height:1.78;
  max-width:80ch;
}

.sp-p--small{
  font-size:15px;
  line-height:1.68;
}

.sp-premium{
  background:linear-gradient(90deg,var(--gold1),var(--gold2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.sp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--stroke2);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  color:var(--fg);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.2px;
  transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease;
}

.sp-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(244,225,166,.55);
  background:linear-gradient(180deg,rgba(244,225,166,.10),rgba(255,255,255,.02));
  box-shadow:0 12px 28px rgba(0,0,0,.32);
}

.sp-btn:focus-visible,
.sp-proof-card:focus-visible{
  outline:2px solid rgba(244,225,166,.7);
  outline-offset:3px;
}

.sp-btn--gold{
  border-color:rgba(244,225,166,.55);
  background:linear-gradient(180deg,rgba(244,225,166,.14),rgba(255,255,255,.02));
}

.sp-chip,
.sp-hero-badge,
.sp-proof-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(0,0,0,.36);
  color:rgba(255,255,255,.93);
  font-size:12px;
  letter-spacing:.3px;
  text-transform:uppercase;
}

.sp-chip{
  padding:8px 12px;
}

.sp-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.sp-hero-media{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  background:rgba(255,255,255,.02);
  aspect-ratio:19 / 9;
}

.sp-hero-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.sp-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
  padding:24px;
  pointer-events:none;
  background:
    radial-gradient(980px 720px at 24% 18%, rgba(244,225,166,.10), rgba(0,0,0,0) 55%),
    linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.42) 58%, rgba(0,0,0,0) 82%),
    linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,.72) 100%);
}

.sp-hero-actions,
.sp-hero-actions a{
  pointer-events:auto;
}

.sp-hero-badge{
  padding:7px 10px;
}

.sp-hero-title{
  margin:0;
  font-size:clamp(28px,3vw,48px);
  line-height:1.08;
  max-width:22ch;
}

.sp-hero-text{
  margin:0;
  color:rgba(255,255,255,.84);
  font-size:15px;
  line-height:1.68;
  max-width:74ch;
}

.sp-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}

.sp-mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.sp-mini-card,
.sp-scope-card,
.sp-faq-item{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:18px;
}

.sp-section-head{
  margin-bottom:16px;
}

.sp-proof-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.sp-proof-card{
  display:block;
  text-decoration:none;
  color:inherit;
}

.sp-proof-media{
  position:relative;
  margin:0;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  background:rgba(255,255,255,.02);
  aspect-ratio:4 / 3;
}

.sp-proof-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0) 42%, rgba(0,0,0,.68) 100%),
    radial-gradient(880px 600px at 30% 16%, rgba(244,225,166,.07), rgba(0,0,0,0) 58%);
}

.sp-proof-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .22s ease;
}

.sp-proof-card:hover .sp-proof-media img{
  transform:scale(1.02);
}

.sp-proof-tag{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  padding:8px 12px;
}

.sp-proof-tag--project{
  border-color:rgba(244,225,166,.58);
}

.sp-proof-tag--real{
  border-color:rgba(255,255,255,.38);
  background:rgba(10,10,10,.48);
}

.sp-proof-caption{
  position:absolute;
  inset:auto 0 0 0;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px;
}

.sp-proof-title{
  color:#fff;
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}

.sp-proof-text{
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.5;
}

.sp-scope-grid,
.sp-faq-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.sp-points{
  display:grid;
  gap:12px;
}

.sp-point{
  display:grid;
  grid-template-columns:30px 1fr;
  gap:10px;
  align-items:start;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.sp-point strong{
  color:var(--gold1);
  font-size:18px;
  line-height:1;
  margin-top:2px;
}

.sp-point span{
  color:rgba(255,255,255,.86);
  line-height:1.6;
}

.sp-cta{
  text-align:left;
}

body.service-page #header-spacer{
  height:calc(var(--headerH, 0px) - 18px) !important;
}

body.service-page main > .sp-section:first-child{
  margin-top:-60px !important;
}

@media (max-width: 980px){
  .sp-wrap,
  .sp-wrap--hero{ width:min(1560px,calc(100% - 26px)); }

  .sp-section{ margin:34px 0; }
  .sp-card{ padding:20px; }

  .sp-grid-2,
  .sp-proof-grid,
  .sp-scope-grid,
  .sp-faq-grid{ grid-template-columns:1fr; }

  .sp-mini-grid{ grid-template-columns:1fr 1fr; }

  .sp-hero-media{
    display:flex;
    flex-direction:column;
    aspect-ratio:auto;
    overflow:visible;
    border:none;
    box-shadow:none;
    background:transparent;
  }

  .sp-hero-overlay{
    position:static;
    inset:auto;
    order:-1;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:12px;
    padding:0 0 18px 0;
    pointer-events:auto;
    background:none;
  }

  .sp-hero-media img{
    width:100%;
    height:auto;
    aspect-ratio:16 / 10;
    display:block;
    object-fit:cover;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.92);
    box-shadow:var(--shadow2);
    background:rgba(255,255,255,.02);
  }

  .sp-hero-title,
  .sp-hero-text{
    max-width:100%;
  }

  .sp-hero-actions{
    margin-top:2px;
  }
}

@media (max-width: 720px){
  .sp-mini-grid{ grid-template-columns:1fr; }

  .sp-hero-media{
    gap:14px;
  }

  .sp-hero-overlay{
    display:contents;
  }

  .sp-hero-title{
    order:-2;
    margin:0;
    max-width:100%;
    font-size:clamp(25px,7vw,34px);
    line-height:1.08;
  }

  .sp-hero-media img{
    order:-1;
    aspect-ratio:4 / 3;
  }

  .sp-hero-badge{
    order:1;
  }

  .sp-hero-text{
    order:2;
    max-width:100%;
    font-size:14px;
    line-height:1.62;
    color:rgba(255,255,255,.84);
  }

  .sp-hero-actions{
    order:3;
    margin-top:2px;
  }

  .sp-proof-media{ aspect-ratio:4 / 3; }
  .sp-proof-caption{ padding:14px; }
  .sp-proof-title{ font-size:16px; }
}

@media (prefers-reduced-motion: reduce){
  .sp-btn,
  .sp-proof-media img{ transition:none; }
}