/* ==========================================================
   Sysrol — main stylesheet
   Edit the variables below to change brand colors and fonts.
   ========================================================== */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1e6bff;
  --blue-dark: #1553cc;
  --teal: #12b5a6;
  --ink: #1b2533;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c9d4e3; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #a9b7cb; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #6ee7d8; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.nav-menu > li > a.btn, .nav-menu > li > a.btn:hover { color: #fff; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(30, 107, 255, .3); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #b9c6d8; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #dfe7f2; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact span, .topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social span { display: inline-flex; align-items: center; gap: 7px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11,31,58,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: -0.03em; }
.logo:hover { color: var(--navy); }
.logo img { height: 40px; width: auto; }
.logo span em { font-style: normal; color: var(--blue); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 8px; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--blue); }
.nav-menu .btn { margin-left: 10px; padding: 11px 22px; }
.has-dropdown > a::after { content: ""; display: inline-block; margin-left: 6px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 8px; font-size: .94rem; font-weight: 500; }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #d6e0ee; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(30,107,255,.45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(18,181,166,.35), transparent 40%),
    linear-gradient(135deg, #071529 0%, var(--navy) 50%, var(--navy-2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #5aa2ff, #6ee7d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; max-width: 560px; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: #6ee7d8; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  color: #c9d4e3; padding: 90px 0 80px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(30,107,255,.4), transparent 45%),
    linear-gradient(135deg, #071529, var(--navy) 60%, var(--navy-2));
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 680px; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #93a4bb; }
.breadcrumb a { color: #c9d4e3; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(30,107,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.panel { background: var(--bg-soft); border-radius: 22px; padding: 40px; position: relative; }
.panel-art svg { width: 100%; height: auto; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(30,107,255,.12), rgba(18,181,166,.14)); color: var(--blue);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 a { color: var(--navy); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--blue); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { color: #a9b7cb; font-size: .95rem; }

/* ---------- Process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-size: 2.4rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 10px; line-height: 1;
}
.step p { color: var(--muted); margin: 0; }

/* ---------- Partners / platforms ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-tile {
  display: grid; place-items: center; text-align: center; min-height: 86px; padding: 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: #6b7a8e; font-size: .95rem;
  transition: color .2s, border-color .2s;
}
.logo-tile:hover { color: var(--navy); border-color: var(--blue); }

/* ---------- Industries ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), #0f4fd1 55%, var(--teal)); color: #e8f0ff; border-radius: 24px;
  padding: 56px 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn--primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--navy); color: #fff; }

/* ---------- Service detail blocks ---------- */
.service-block { padding: 70px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: 0; }
.service-block .icon-lg {
  width: 120px; height: 120px; border-radius: 28px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: var(--shadow-lg);
}
.service-block .icon-lg svg { width: 56px; height: 56px; }
.service-block .art { display: grid; place-items: center; background: var(--bg-soft); border-radius: 24px; min-height: 300px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .92rem; }
.service-nav a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Values / team ---------- */
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 10px; }
.value h3 svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { background: var(--navy); color: #c9d4e3; border-radius: 22px; padding: 40px; }
.contact-info h3 { color: #fff; }
.contact-item { display: flex; gap: 16px; margin: 26px 0; }
.contact-item .ci-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #6ee7d8; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: #fff; }
.contact-item a { color: #dfe7f2; }
.contact-item a:hover { color: #fff; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink);
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,107,255,.12); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f8f1; color: #0b7a55; }
.form-status.err { display: block; background: #fdecec; color: #b42318; }
.map-embed { margin-top: 30px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: #3a4656; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #071529; color: #93a4bb; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b9c6d8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { margin-bottom: 16px; }
.site-footer .logo img { height: 44px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #dfe7f2; transition: background .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw); background: #fff; flex-direction: column;
    align-items: stretch; padding: 90px 20px 30px; gap: 0; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .3s ease, visibility .3s; overflow-y: auto; z-index: 99; visibility: hidden;
  }
  .nav-open .nav-menu { transform: none; visibility: visible; }
  .nav-toggle { position: relative; z-index: 101; }
  .nav-menu > li > a { padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .btn { margin: 20px 0 0; justify-content: center; border-bottom: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; display: none; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero .container { padding-top: 70px; padding-bottom: 80px; }
  .hero-visual { max-width: 520px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .grid--3, .grid--4, .grid--2, .form-row { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .form, .contact-info, .panel { padding: 28px 22px; }
  .topbar-social { display: none; }
  .topbar-contact { gap: 14px; font-size: .8rem; }
}

/* Centre a lone last card in 3-column grids */
@media (min-width: 961px) {
  .grid--3 > :last-child:nth-child(3n+1) { grid-column: 2; }
}

/* Partner pages */
.pill-list--links a { color: var(--navy); }
.pill-list--links li:hover { border-color: var(--blue); }
.pill-list--links li:hover a { color: var(--blue); }
.trademark-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 36px auto 0; max-width: 720px; }
.panel h3 { margin-bottom: .2em; }
