:root{--bg:#030712;--panel:#071129;--line:rgba(64,140,255,.28);--muted:#8092ad;--text:#f4f8ff;--cyan:#43e7ff;--blue:#477dff;--violet:#8c58ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 84% 8%,rgba(42,110,255,.14),transparent 28%),radial-gradient(circle at 10% 48%,rgba(102,56,255,.10),transparent 26%),var(--bg);color:var(--text);font-family:Manrope,Arial,sans-serif;line-height:1.6}.shell{width:min(1120px,calc(100% - 40px));margin:auto}.site-header{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:18px auto 0;height:68px;padding:0 20px;border:1px solid var(--line);border-radius:17px;background:rgba(4,12,29,.78);backdrop-filter:blur(16px);position:sticky;top:12px;z-index:5}.brand{color:var(--text);text-decoration:none;display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:.08em}.brand b{font:700 25px/1 'Space Grotesk',Arial,sans-serif;color:var(--cyan);letter-spacing:-2px}.brand small{display:block;color:#7891b5;font-size:8px;letter-spacing:.18em}.back{color:#a3eaff;text-decoration:none;font-size:12px}.hero{padding:104px 0 70px;max-width:900px}.eyebrow{color:var(--cyan);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hero h1{font:700 clamp(42px,6vw,72px)/1.02 'Space Grotesk',Arial,sans-serif;letter-spacing:-.055em;margin:17px 0 23px}.lead{max-width:720px;color:#b5c3d8;font-size:19px}.problem{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;color:#a4b4cd;font-size:16px}.section{padding:74px 0;border-bottom:1px solid rgba(68,116,194,.2)}h2{font:700 clamp(30px,4vw,47px)/1.08 'Space Grotesk',Arial,sans-serif;letter-spacing:-.04em;margin:0 0 28px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{padding:25px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(11,29,62,.84),rgba(5,11,26,.86))}.card h3{margin:0 0 10px;font-size:17px}.card p,.card li{color:var(--muted);font-size:14px}.card ul{margin:0;padding-left:18px}.steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.step{padding:22px;border-top:2px solid var(--cyan);background:rgba(8,21,48,.7)}.step:before{counter-increment:step;content:"0" counter(step);display:block;color:var(--cyan);font-weight:800;font-size:11px;letter-spacing:.12em;margin-bottom:18px}.step b{display:block;margin-bottom:8px}.step span{color:var(--muted);font-size:14px}.faq{display:grid;grid-template-columns:1fr 1fr;gap:14px}.faq details{border:1px solid var(--line);border-radius:14px;padding:18px 20px;background:rgba(7,17,41,.72)}.faq summary{cursor:pointer;font-weight:700}.faq p{color:var(--muted);margin:14px 0 0;font-size:14px}.cta{margin:76px 0;padding:48px;border:1px solid rgba(76,171,255,.55);border-radius:24px;background:linear-gradient(135deg,#0a2854,#0b1234 52%,#20134d)}.cta h2{max-width:680px}.cta p{color:#a7bad2;max-width:590px}.button{display:inline-flex;background:linear-gradient(135deg,#337eff,#7548ff);color:#fff;text-decoration:none;border-radius:11px;padding:15px 22px;font-size:13px;font-weight:800;margin-top:8px}.footer{padding:26px 0 45px;color:#647994;font-size:11px}@media(max-width:760px){.site-header{height:58px}.brand small{display:none}.hero{padding-top:74px}.lead{font-size:16px}.grid,.steps,.faq{grid-template-columns:1fr}.section{padding:56px 0}.cta{margin:56px 0;padding:30px 24px}}
/* Shared H4WORKS brief modal for static service pages */
.service-brief-lock { overflow: hidden; }
.service-brief-open { font: inherit; cursor: pointer; }
.service-brief-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(2, 6, 18, .82);
  backdrop-filter: blur(14px);
}
.service-brief-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(89, 152, 255, .42);
  border-radius: 18px;
  color: #e9eef8;
  background:
    radial-gradient(circle at 90% 0%, rgba(66, 66, 255, .18), transparent 34%),
    #08101f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .04);
}
.service-brief-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(125, 150, 200, .25);
  border-radius: 50%;
  color: #9cabc3;
  background: rgba(7, 14, 28, .7);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.service-brief-head > span {
  color: #59c8ff;
  font-family: "Space Grotesk", monospace;
  font-size: 9px;
  letter-spacing: .18em;
}
.service-brief-head h2 {
  margin: 10px 42px 8px 0;
  color: #f5f8ff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.service-brief-head p {
  max-width: 590px;
  margin: 0 0 24px;
  color: #8796b0;
  font-size: 13px;
  line-height: 1.55;
}
.service-brief-form { display: grid; gap: 14px; }
.service-brief-form label { display: grid; gap: 7px; }
.service-brief-form label > span { color: #aab6c9; font-size: 10px; }
.service-brief-form input,
.service-brief-form textarea,
.service-brief-form select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(102, 136, 195, .34);
  border-radius: 8px;
  outline: 0;
  color: #e9eef8;
  background: rgba(4, 10, 22, .82);
  font: inherit;
  font-size: 12px;
}
.service-brief-form input,
.service-brief-form select { min-height: 43px; padding: 0 12px; }
.service-brief-form textarea { min-height: 92px; resize: vertical; padding: 11px 12px; }
.service-brief-form input:focus,
.service-brief-form textarea:focus,
.service-brief-form select:focus {
  border-color: rgba(84, 192, 255, .7);
  box-shadow: 0 0 0 3px rgba(55, 129, 255, .1);
}
.service-brief-form select option { background: #08101f; }
.service-brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-brief-consent {
  grid-template-columns: 18px 1fr !important;
  align-items: start;
  gap: 9px !important;
  color: #728099;
}
.service-brief-consent input { width: 15px; min-height: 15px; margin-top: 1px; }
.service-brief-consent span { line-height: 1.45; }
.service-brief-submit { width: max-content; min-width: 190px; border: 0; cursor: pointer; }
.service-brief-submit:disabled { opacity: .55; cursor: progress; }
.service-brief-error { margin: 0; color: #ff8f9e; font-size: 11px; }
.service-brief-result { display: grid; gap: 12px; padding: 18px 0 2px; }
.service-brief-result[hidden] { display: none; }
.service-brief-result b { color: #75e7c5; font-size: 18px; }
.service-brief-result p { margin: 0; color: #9aa8bc; font-size: 13px; line-height: 1.55; }
.service-brief-done { width: max-content; border: 0; cursor: pointer; }
@media (max-width: 620px) {
  .service-brief-backdrop { padding: 10px; }
  .service-brief-dialog { max-height: calc(100vh - 20px); padding: 24px 16px 18px; border-radius: 14px; }
  .service-brief-row { grid-template-columns: 1fr; }
  .service-brief-submit { width: 100%; }
}

/* H4WORKS secondary pages — synced visual layer */
body {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(1,4,12,.68), rgba(1,4,12,.68)),
    radial-gradient(circle at 84% 8%, rgba(42,110,255,.09), transparent 28%),
    radial-gradient(circle at 10% 48%, rgba(102,56,255,.06), transparent 26%),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(90deg, transparent 0 7%, rgba(74,135,255,.16) 7% 7.08%, transparent 7.08% 20%, rgba(79,188,255,.11) 20% 20.08%, transparent 20.08% 43%, rgba(91,91,255,.10) 43% 43.08%, transparent 43.08% 71%, rgba(67,154,255,.12) 71% 71.08%, transparent 71.08%),
    linear-gradient(0deg, transparent 0 12%, rgba(70,135,255,.13) 12% 12.08%, transparent 12.08% 31%, rgba(61,195,255,.10) 31% 31.08%, transparent 31.08% 57%, rgba(88,98,255,.11) 57% 57.08%, transparent 57.08% 82%, rgba(66,147,255,.10) 82% 82.08%, transparent 82.08%),
    radial-gradient(circle at 7% 12%, rgba(94,221,255,.34) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 20% 31%, rgba(94,221,255,.25) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 43% 57%, rgba(94,221,255,.24) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 71% 82%, rgba(94,221,255,.24) 0 1.2px, transparent 1.8px);
  background-size: 520px 520px, 520px 520px, 520px 520px, 520px 520px, 520px 520px, 520px 520px;
  filter: brightness(.62);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 18%, transparent 0 18%, rgba(1,4,12,.24) 72%, rgba(1,4,12,.48) 100%);
}
.site-header { margin-top: 12px; height: 60px; border-radius: 14px; background: rgba(3,9,23,.86); }
.hero { padding: 76px 0 48px; }
.hero h1 { margin: 13px 0 18px; }
.problem { padding: 20px 0; }
.section { padding: 52px 0; }
.card { padding: 21px; border-radius: 14px; }
.step { padding: 19px; }
.step:before { margin-bottom: 13px; }
.cta { margin: 54px 0; padding: 38px; border-radius: 20px; }
.footer { padding: 20px 0 34px; }
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(101,153,255,.38);
  border-radius: 50%;
  color: #bcd8ff;
  background: rgba(7,14,29,.86);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 18px rgba(55,112,255,.15);
  backdrop-filter: blur(10px);
  font-size: 18px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.back-to-top:hover { border-color: rgba(92,202,255,.75); color: #fff; transform: translateY(-2px); }
@media(max-width:760px){
  .site-header { margin-top: 8px; height: 56px; }
  .hero { padding-top: 60px; padding-bottom: 38px; }
  .section { padding: 44px 0; }
  .cta { margin: 44px 0; padding: 28px 22px; }
  .back-to-top { right: 14px; bottom: 14px; }
}


/* Final approved secondary-page shell */
.section-shell{width:min(1000px,calc(100% - 84px));margin-inline:auto}
body{position:relative;background:#03060f;color:var(--text)}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background-image:url("./pcb-bg-h4.png");background-position:center top;background-size:cover;background-repeat:no-repeat;opacity:.38;filter:brightness(.72) saturate(.78)}
body::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 70% 8%,rgba(38,89,210,.06),transparent 28%),linear-gradient(rgba(3,6,15,.3),rgba(3,6,15,.64))}
.site-header,main,.service-contact,.site-footer,.back-to-top,.service-brief-backdrop{isolation:isolate;position:relative;z-index:1}
.site-header{width:min(1000px,calc(100% - 84px));height:64px;margin:0 auto;padding:0;display:grid;grid-template-columns:248px 1fr 140px;align-items:center;background:transparent;border:0;border-radius:0;backdrop-filter:none;top:auto;z-index:40}
.brand{display:inline-flex;align-items:center;gap:14px;width:max-content;color:#c7d0e0;text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.12em}
.brand-mark{display:flex;align-items:center;justify-content:center;width:47px;height:34px}.brand-mark img{display:block;width:45px;height:auto;filter:drop-shadow(0 0 7px rgba(114,100,255,.25))}.brand-name{white-space:nowrap}
.site-header nav{display:flex;justify-content:center;gap:28px;color:#aab5c8;font-size:9.2px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.site-header nav a{color:inherit;text-decoration:none}.site-header nav a:hover{color:#fff}
.mobile-nav{display:none}.header-cta{justify-self:end;appearance:none;display:flex;align-items:center;justify-content:center;width:130px;min-height:34px;padding:0 13px;border:1px solid rgba(116,96,255,.68);border-radius:7px;color:#eef2ff;font:650 9px/1 Manrope,Arial,sans-serif;background:rgba(25,24,62,.24);box-shadow:0 0 14px rgba(76,94,255,.12);cursor:pointer}
.shell{width:min(1000px,calc(100% - 84px))}.hero{padding:64px 0 44px}.section{padding:48px 0}.cta{margin:52px auto;padding:38px;border-radius:18px}
.service-contact{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:30px;align-items:center;margin-top:52px;padding:40px 28px;border:1px solid rgba(70,129,255,.32);border-radius:24px;background:radial-gradient(circle at 85% 50%,rgba(37,92,223,.22),transparent 37%),linear-gradient(145deg,rgba(12,22,44,.9),rgba(6,11,25,.88))}.service-contact h2{margin:0;font-size:34px;line-height:1.05}.service-contact p{margin:16px 0 0;color:#8796b0;font-size:13px;line-height:1.55}.service-contact-actions{display:grid;gap:12px;align-items:start}.service-contact-actions .button{margin:0;border:0;cursor:pointer}.telegram-link{display:inline-flex;align-items:center;justify-content:center;width:196px;min-height:34px;border:1px solid rgba(119,141,185,.48);border-radius:6px;color:#dce4f3;text-decoration:none;font-size:10px}.service-contact-details{display:grid;gap:10px}.service-contact-details a{color:#d0d9e8;text-decoration:none;font-size:14px}.service-contact-mark{justify-self:end}.service-contact-mark img{width:84px;opacity:.87}
.site-footer{display:flex;align-items:center;justify-content:space-between;min-height:55px;color:#59647a;font-size:8px;letter-spacing:.04em}.site-footer p{margin:0}.site-footer>p:nth-child(2){color:#7d879a;letter-spacing:.34em}.privacy-note{position:relative;text-align:right}.privacy-note summary{list-style:none;cursor:pointer}.privacy-note summary::-webkit-details-marker{display:none}.privacy-note p{position:absolute;right:0;bottom:25px;width:320px;margin:0;padding:12px 14px;border:1px solid rgba(105,141,206,.3);border-radius:8px;color:#aeb9cb;background:#091123;box-shadow:0 12px 34px rgba(0,0,0,.48);font-size:9px;line-height:1.5;letter-spacing:0;text-align:left}
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:90;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(101,153,255,.38);border-radius:50%;color:#bcd8ff;background:rgba(7,14,29,.84);box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 18px rgba(55,112,255,.15);backdrop-filter:blur(10px);font-size:18px;text-decoration:none}
.service-brief-backdrop{position:fixed;z-index:2147483000}
@media(max-width:800px){.section-shell,.shell{width:min(100% - 40px,920px)}.site-header{grid-template-columns:1fr auto auto;gap:10px;width:calc(100% - 40px)}.site-header>nav{display:none}.mobile-nav{position:relative;display:block}.mobile-nav summary{display:grid;gap:4px;width:38px;padding:10px 8px;border:1px solid rgba(105,141,206,.35);border-radius:6px;cursor:pointer;list-style:none}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav summary span{display:block;height:1px;background:#b8c9e5}.mobile-nav>nav{position:absolute;top:calc(100% + 10px);right:0;display:grid;min-width:190px;padding:8px;border:1px solid rgba(105,141,206,.3);border-radius:9px;background:rgba(7,14,30,.97);box-shadow:0 16px 38px rgba(0,0,0,.35)}.mobile-nav>nav a{padding:10px 11px}.header-cta{width:auto;padding-inline:11px}.hero{padding-top:48px}.service-contact{grid-template-columns:1fr;gap:24px}.service-contact-mark{justify-self:start}.site-footer{flex-direction:column;align-items:flex-start;gap:12px;padding:20px 0}.privacy-note{text-align:left}.privacy-note p{position:static;width:min(320px,calc(100vw - 40px));margin-top:10px}.back-to-top{right:14px;bottom:14px}}

/* H4WORKS service-page refresh: shared visual system of the main page */
body{
  --accent:#55c7ff;
  --accent-rgb:85,199,255;
  --hero-code:"SYSTEM / FLOW / RESULT";
  --module-1:"01";
  --module-2:"02";
  --module-3:"03";
  background:
    radial-gradient(circle at 78% 7%,rgba(var(--accent-rgb),.12),transparent 29%),
    radial-gradient(circle at 12% 46%,rgba(98,72,255,.07),transparent 27%),
    #03060f;
}
body::before{opacity:.38;filter:brightness(.72) saturate(.78)}
body::after{background:radial-gradient(ellipse at 57% 16%,transparent 0 16%,rgba(3,6,15,.16) 55%,rgba(3,6,15,.66) 100%)}
.service-ai{--accent:#5de0ff;--accent-rgb:93,224,255;--hero-code:"AI / DATA / CONTEXT";--module-1:"AI";--module-2:"DATA";--module-3:"LOCAL"}
.service-automation{--accent:#7f9dff;--accent-rgb:127,157,255;--hero-code:"TRIGGER / FLOW / DONE";--module-1:"FLOW";--module-2:"CRM";--module-3:"DONE"}
.service-web{--accent:#b983ff;--accent-rgb:185,131,255;--hero-code:"BRAND / UX / LEAD";--module-1:"UX";--module-2:"SEO";--module-3:"LEAD"}
.service-integrations{--accent:#53d5ca;--accent-rgb:83,213,202;--hero-code:"API / SYNC / CONTROL";--module-1:"API";--module-2:"SYNC";--module-3:"LOG"}
.service-infra{--accent:#6ca8ff;--accent-rgb:108,168,255;--hero-code:"VPS / HTTPS / MONITOR";--module-1:"VPS";--module-2:"TLS";--module-3:"UP"}
.service-tools{--accent:#a286ff;--accent-rgb:162,134,255;--hero-code:"RULES / PANEL / RESULT";--module-1:"RULES";--module-2:"PANEL";--module-3:"RESULT"}
.hero{position:relative;min-height:364px;padding:72px 310px 56px 0;overflow:hidden}
.hero h1{max-width:670px;margin-top:15px;font-size:clamp(42px,5.3vw,67px)}
.hero .lead{max-width:640px;font-size:17px;line-height:1.65}
.hero .problem{max-width:640px;margin-top:24px;padding:18px 0;font-size:14px;line-height:1.65}
.hero::before{
  content:var(--hero-code);
  position:absolute;top:77px;right:4px;
  display:grid;place-items:center;
  width:230px;height:230px;
  padding:20px;
  border:1px solid rgba(var(--accent-rgb),.55);
  border-radius:22px;
  color:var(--accent);
  background:
    linear-gradient(90deg,transparent 49.4%,rgba(var(--accent-rgb),.35) 49.5% 50.5%,transparent 50.6%),
    linear-gradient(0deg,transparent 49.4%,rgba(var(--accent-rgb),.35) 49.5% 50.5%,transparent 50.6%),
    radial-gradient(circle at 50% 50%,rgba(var(--accent-rgb),.2),transparent 42%),
    rgba(6,15,35,.72);
  background-size:58px 58px,58px 58px,auto,auto;
  box-shadow:0 0 0 8px rgba(var(--accent-rgb),.025),0 0 50px rgba(var(--accent-rgb),.18),inset 0 0 42px rgba(var(--accent-rgb),.1);
  font:700 11px/1.6 "Space Grotesk",Arial,sans-serif;
  letter-spacing:.18em;
  text-align:center;
  white-space:pre-wrap;
}
.hero::after{
  content:"";
  position:absolute;right:23px;top:96px;width:190px;height:190px;
  border:1px dashed rgba(var(--accent-rgb),.22);border-radius:50%;
  box-shadow:0 0 0 35px rgba(var(--accent-rgb),.025),0 0 0 70px rgba(var(--accent-rgb),.016);
  pointer-events:none;
}
.section{padding:48px 0;border-color:rgba(90,136,218,.16)}
.section h2{max-width:700px;margin:10px 0 24px;font-size:clamp(27px,3.4vw,39px);line-height:1.08}
.grid{gap:16px}.card{position:relative;min-height:198px;padding:24px;border-color:rgba(var(--accent-rgb),.28);border-radius:16px;background:linear-gradient(145deg,rgba(11,27,57,.84),rgba(4,10,25,.91));box-shadow:inset 0 1px rgba(255,255,255,.035),0 16px 32px rgba(0,0,0,.13)}
.card::before{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:23px;padding:0 8px;margin-bottom:24px;border:1px solid rgba(var(--accent-rgb),.42);border-radius:6px;color:var(--accent);background:rgba(var(--accent-rgb),.07);font:700 9px/1 "Space Grotesk",Arial,sans-serif;letter-spacing:.1em}
.card:nth-child(1)::before{content:var(--module-1)}.card:nth-child(2)::before{content:var(--module-2)}.card:nth-child(3)::before{content:var(--module-3)}
.card h3{font-size:16px}.card p{margin-bottom:0;line-height:1.65}
.steps{gap:12px}.step{position:relative;min-height:156px;padding:21px 18px;border:1px solid rgba(var(--accent-rgb),.22);border-top:1px solid rgba(var(--accent-rgb),.46);border-radius:13px;background:rgba(7,17,38,.68)}
.step::before{margin-bottom:23px;color:var(--accent)}.step b{font-size:14px}.step span{line-height:1.58}
.faq{gap:12px}.faq details{border-color:rgba(110,151,222,.23);border-radius:12px;background:rgba(6,15,34,.72)}.faq summary{font-size:14px}.faq p{line-height:1.65}
.cta{position:relative;overflow:hidden;margin:58px auto;padding:42px;border-color:rgba(var(--accent-rgb),.48);background:radial-gradient(circle at 85% 30%,rgba(var(--accent-rgb),.21),transparent 32%),linear-gradient(135deg,rgba(7,24,53,.96),rgba(8,13,34,.95) 55%,rgba(31,18,71,.93))}.cta::after{content:"";position:absolute;right:-50px;top:-50px;width:210px;height:210px;border:1px solid rgba(var(--accent-rgb),.24);border-radius:50%;box-shadow:0 0 0 28px rgba(var(--accent-rgb),.035),0 0 0 56px rgba(var(--accent-rgb),.018)}.cta>*{position:relative;z-index:1}.cta h2{max-width:650px;margin:10px 0 16px;font-size:clamp(28px,3.3vw,40px)}.cta p{line-height:1.65}.button{border:1px solid rgba(255,255,255,.16);background:linear-gradient(135deg,var(--accent),#654cff);box-shadow:0 10px 24px rgba(var(--accent-rgb),.17)}
.service-contact{margin-top:56px;border-color:rgba(var(--accent-rgb),.29);background:radial-gradient(circle at 85% 50%,rgba(var(--accent-rgb),.17),transparent 37%),linear-gradient(145deg,rgba(12,22,44,.93),rgba(6,11,25,.92))}
@media(max-width:800px){.hero{min-height:0;padding:52px 0 42px}.hero::before,.hero::after{display:none}.hero h1{font-size:clamp(39px,10.5vw,54px)}.section h2,.cta h2{font-size:clamp(27px,7.8vw,36px)}.card{min-height:0}.card::before{margin-bottom:18px}.cta{padding:30px 24px}}

/* Compact service-page layout */
.site-header {
  position: sticky;
  top: 0;
  height: 58px;
  background: rgba(3, 6, 15, .88);
  backdrop-filter: blur(18px);
}
.hero { min-height: 316px; padding: 50px 290px 34px 0; }
.section { padding: 36px 0; }
.card { min-height: 164px; padding: 20px; }
.card::before { margin-bottom: 18px; }
.step { min-height: 132px; padding: 17px 16px; }
.step::before { margin-bottom: 17px; }
.cta { margin: 40px auto; padding: 32px; }
.service-contact { margin-top: 40px; padding: 30px 24px; gap: 24px; }
.service-contact p { margin-top: 10px; }
@media(max-width:800px) {
  .site-header { height: 56px; }
  .hero { padding: 42px 0 30px; }
  .section { padding: 32px 0; }
  .cta { margin: 32px auto; padding: 26px 22px; }
  .service-contact { margin-top: 32px; padding: 26px 22px; gap: 20px; }
}

/* One H4WORKS system: homepage palette, scale and spacing on every service page. */
.service-ai, .service-automation, .service-web, .service-integrations, .service-infra, .service-tools {
  --accent: #42e4ff;
  --accent-rgb: 66, 228, 255;
}
body {
  background:
    radial-gradient(circle at 72% 10%, rgba(47, 125, 255, .13), transparent 27%),
    radial-gradient(circle at 12% 42%, rgba(143, 87, 255, .07), transparent 30%),
    #03060f;
}
.site-header {
  height: 64px;
  grid-template-columns: 248px 1fr;
  background: rgba(3, 6, 15, .82);
  border-bottom: 1px solid rgba(82, 133, 225, .12);
}
.hero { min-height: 282px; padding: 38px 232px 28px 0; }
.hero h1 { max-width: 520px; margin: 12px 0 14px; font-size: clamp(36px, 3.6vw, 44px); line-height: 1.04; }
.hero .lead { max-width: 590px; font-size: 14px; line-height: 1.55; }
.hero .problem { max-width: 590px; margin-top: 16px; padding: 13px 0; font-size: 12px; line-height: 1.55; }
.hero::before { top: 50px; right: 8px; width: 178px; height: 178px; border-color: rgba(66, 228, 255, .42); border-radius: 12px; background: radial-gradient(circle at 50% 50%, rgba(47, 125, 255, .16), transparent 46%), rgba(6, 15, 35, .68); box-shadow: 0 0 28px rgba(47, 125, 255, .14), inset 0 0 24px rgba(66, 228, 255, .06); }
.hero::after { top: 69px; right: 27px; width: 140px; height: 140px; border-color: rgba(66, 228, 255, .16); box-shadow: 0 0 0 26px rgba(47, 125, 255, .018); }
.section { padding: 30px 0; }
.section h2 { max-width: 600px; margin: 8px 0 18px; font-size: clamp(25px, 2.7vw, 32px); }
.grid { gap: 12px; }
.card { min-height: 0; padding: 17px; border-color: rgba(81, 139, 245, .28); border-radius: 12px; background: linear-gradient(145deg, rgba(10, 18, 36, .84), rgba(5, 11, 24, .76)); box-shadow: inset 0 1px rgba(255,255,255,.02); }
.card::before { height: 20px; min-width: 40px; margin-bottom: 14px; border-color: rgba(66, 228, 255, .34); font-size: 8px; }
.card h3 { margin-bottom: 7px; font-size: 13px; }
.card p, .card li { font-size: 12px; line-height: 1.5; }
.steps { gap: 10px; }
.step { min-height: 0; padding: 15px; border-color: rgba(81, 139, 245, .24); border-top-color: rgba(66, 228, 255, .48); border-radius: 10px; }
.step::before { margin-bottom: 14px; }.step b { font-size: 13px; }.step span { font-size: 12px; line-height: 1.5; }
.faq { gap: 10px; }.faq details { padding: 14px 16px; border-radius: 10px; }.faq summary { font-size: 13px; }.faq p { font-size: 12px; line-height: 1.5; }
.cta { margin: 34px auto; padding: 28px; border-color: rgba(81, 139, 245, .4); border-radius: 14px; background: radial-gradient(circle at 85% 30%, rgba(47, 125, 255, .16), transparent 32%), linear-gradient(135deg, rgba(7, 24, 53, .94), rgba(8, 13, 34, .94) 55%, rgba(31, 18, 71, .9)); }
.cta h2 { margin: 8px 0 12px; font-size: clamp(25px, 2.7vw, 32px); }.cta p { font-size: 13px; line-height: 1.55; }
.button { background: linear-gradient(135deg, #236eff, #5632ce); box-shadow: 0 8px 18px rgba(32, 112, 255, .3); }
.service-contact { margin-top: 34px; padding: 28px 24px; border-color: rgba(81, 139, 245, .28); border-radius: 16px; background: radial-gradient(circle at 85% 50%, rgba(47, 125, 255, .16), transparent 37%), linear-gradient(145deg, rgba(12, 22, 44, .9), rgba(6, 11, 25, .88)); }
.service-contact h2 { font-size: 30px; }.service-contact p { font-size: 12px; line-height: 1.5; }
@media(max-width:800px) {
  .site-header { height: 58px; grid-template-columns: 1fr auto; }
  .hero { min-height: 0; padding: 34px 0 26px; }
  .hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .section { padding: 26px 0; }
  .cta { margin: 28px auto; padding: 22px; }
  .service-contact { margin-top: 28px; padding: 22px; }
}

/* Remove the service-only hero widget; keep the shared PCB background visible. */
.hero { padding-right: 0; }
.hero::before, .hero::after { content: none; display: none; }
.hero h1, .hero .lead, .hero .problem { max-width: 640px; }

/* Same footer geometry and type treatment as the homepage. */
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 55px; padding: 0; color: #59647a; font-size: 8px; letter-spacing: .04em; }
.site-footer p { margin: 0; }
.site-footer > p:nth-child(2) { color: #7d879a; letter-spacing: .34em; }
.privacy-note { position: relative; text-align: right; }
.privacy-note summary { list-style: none; cursor: pointer; }
.privacy-note summary::-webkit-details-marker { display: none; }
.privacy-note p { position: absolute; right: 0; bottom: 25px; width: 320px; margin: 0; padding: 12px 14px; border: 1px solid rgba(105,141,206,.3); border-radius: 8px; color: #aeb9cb; background: #091123; box-shadow: 0 12px 34px rgba(0,0,0,.48); font-size: 9px; line-height: 1.5; letter-spacing: 0; text-align: left; }
@media(max-width:800px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .privacy-note { text-align: left; }
  .privacy-note p { position: static; width: min(320px, calc(100vw - 40px)); margin-top: 10px; }
}

/* Shared final section: exact homepage grid, type scale and button geometry. */
.hero h1 {
  color: transparent;
  background: linear-gradient(105deg, #50c9ff 2%, #6d9bff 50%, #a86cff 98%);
  background-clip: text;
  -webkit-background-clip: text;
}
.service-contact {
  display: grid;
  grid-template-columns: 280px 210px minmax(235px, 1fr) 110px;
  column-gap: 16px;
  align-items: center;
  min-height: 190px;
  margin-top: 23px;
  padding: 24px 28px;
  border-radius: 15px;
}
.service-contact h2 { margin: 0 0 9px; color: #f5f8ff; font-size: 26px; line-height: 1.02; letter-spacing: -.035em; }
.service-contact p { margin: 0; color: #98a4ba; font-size: 12px; line-height: 1.45; }
.service-contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-right: 14px; border-right: 1px solid rgba(115,141,193,.22); }
.service-contact-actions .button, .telegram-link { width: 196px; min-height: 42px; }
.service-contact-details { display: grid; gap: 10px; }
.service-contact-details a { display: flex; align-items: center; color: #d0d9e8; font-size: 18px; line-height: 1.12; white-space: nowrap; }
.service-contact-mark { justify-self: end; display: flex; align-items: center; justify-content: center; width: 98px; height: 75px; }
.service-contact-mark img { width: 94px; height: auto; filter: drop-shadow(0 0 15px rgba(75,101,255,.38)); }
@media(max-width:800px) {
  .service-contact { grid-template-columns: 1fr 1fr; row-gap: 28px; min-height: 0; margin-top: 40px; padding: 40px 28px; }
  .service-contact-actions { align-items: flex-start; border-right: 0; }
  .service-contact-mark { justify-self: start; }
}
@media(max-width:520px) {
  .service-contact { grid-template-columns: 1fr; }
}

/* Same typography and lower-panel details as the primary application. */
body, .button, input, textarea, select { font-family: "Geist", Arial, Helvetica, sans-serif; }
h1, h2, h3, .brand, .site-header, .service-contact { font-family: "Geist", Arial, Helvetica, sans-serif; }
.hero h1, .section h2, .cta h2 { font-family: "Geist", Arial, Helvetica, sans-serif; }
.eyebrow, .card::before, .step::before, .site-footer > p:nth-child(2) { font-family: "Geist Mono", monospace; }
.card p, .card li, .step span, .faq p { font-size: 11.5px; }
.service-contact-actions .button, .service-contact-actions .telegram-link { font-size: 10px; }
.service-contact { overflow: hidden; }
.service-contact::before { content: ""; position: absolute; inset: 0 0 0 56%; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(85,132,218,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(85,132,218,.1) 1px, transparent 1px); background-size: 21px 21px; mask-image: radial-gradient(circle, black, transparent 72%); transform: perspective(500px) rotateY(-22deg) scale(1.15); }
.service-contact > * { position: relative; z-index: 1; }
.site-footer > p:nth-child(2) { font-family: "Geist Mono", monospace; }

/* Compact service cards and the exact contact-icon treatment from the homepage. */
.card::before, .step::before { display: none; }
.card { min-height: 112px; padding: 14px 16px; }
.card h3 { margin-bottom: 6px; }
.card p, .card li { font-size: 11.5px; line-height: 1.5; }
.step { min-height: 108px; padding: 14px 15px; }
.step b { display: block; margin-bottom: 7px; font-size: 13px; }
.step span { font-size: 11.5px; line-height: 1.5; }
.contact-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.telegram-link { display: flex; align-items: center; gap: 11px; }
.telegram-link .contact-icon { color: #49cfff; filter: drop-shadow(0 0 5px rgba(73,207,255,.35)); }
.service-contact-details a { gap: 9px; }
.service-contact-details .contact-icon { color: #54caff; filter: drop-shadow(0 0 5px rgba(84,202,255,.28)); }

/* One left edge and a tighter vertical rhythm on every secondary page. */
.shell.hero { width: min(1000px, calc(100% - 84px)); max-width: none; }
.hero { min-height: 0; padding: 44px 0 22px; }
.section { padding: 20px 0; }
.section h2 { margin-bottom: 16px; }
.service-contact { margin-top: 18px; }
@media (max-width: 800px) {
  .shell.hero { width: min(100% - 40px, 920px); }
  .hero { padding: 34px 0 20px; }
  .section { padding: 18px 0; }
  .service-contact { margin-top: 18px; }
}
