/* ==========================================================
   Invented — site styles
   Colours and type follow the logo pack and Services Lookbook
   ========================================================== */

:root {
  --blue: #0f62fe;        /* lookbook accent blue */
  --sky: #8fcbf7;         /* logo ring */
  --mint: #9ee0cb;        /* logo dot */
  --slate: #507089;       /* inner ring */
  --ink: #161616;
  --ink-soft: #555b63;
  --paper: #ffffff;
  --mist: #f3f3f4;
  --line: #e4e6ea;

  --radius: 14px;
  --max: 1160px;
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; font-weight: 900; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9fa6;
  margin-bottom: 1rem;
}
.eyebrow-blue  { color: var(--blue); }
.eyebrow-light { color: rgba(255, 255, 255, .8); }

.accent, .light-blue { color: var(--sky); }
.blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: #0b4fd0; border-color: #0b4fd0; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand img { width: 150px; height: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--blue); }

.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
  background: var(--ink);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}

.lead { font-size: 1.2rem; color: #d3dcf0; max-width: 36ch; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Animated mark: blue ring, slate inner ring, orbiting mint dot */
.hero-art { display: flex; justify-content: center; }

.orbit {
  position: relative;
  width: min(440px, 80vw);
  aspect-ratio: 1;
}

.ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: clamp(30px, 7vw, 56px) solid var(--blue);
}

.ring-inner {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: clamp(12px, 2.6vw, 22px) solid var(--slate);
}

.moon-track {
  position: absolute;
  inset: 6%;
  animation: orbit 16s linear infinite;
}

.moon {
  position: absolute;
  top: 14.6%;
  left: 85.4%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
  transform: translate(-50%, -50%);
}

@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- Generic sections ---------- */
.section { padding: 104px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }

/* ---------- Overview ---------- */
.overview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.we-list { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; margin-bottom: 1.5rem; }
.we-list span { display: block; }

.lead-dark { font-size: 1.15rem; color: var(--ink-soft); max-width: 40ch; }

.service-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-index a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: var(--radius);
  border-left: 6px solid var(--blue);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-index a:hover { transform: translateX(4px); box-shadow: 0 12px 28px -18px rgba(15, 98, 254, .6); }
.service-index .num { color: var(--blue); font-weight: 900; font-size: 1.3rem; min-width: 30px; }
.service-index strong { display: block; font-size: 1.05rem; }
.service-index small { display: block; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Service blocks ---------- */
.service { padding-bottom: 96px; }

.service-head {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 72px 0 56px;
}
/* ring motif from the lookbook */
.service-head::before,
.service-head::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.service-head::before {
  width: 340px; height: 340px;
  right: -90px; top: -120px;
  border: 46px solid var(--blue);
}
.service-head::after {
  width: 150px; height: 150px;
  right: 5px; top: -25px;
  border: 14px solid var(--slate);
}
.service-head .container { position: relative; z-index: 1; }

.service-num {
  display: block;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.service-head h2 { max-width: 16ch; margin: 0; }

.service-body { padding-top: 40px; }

.tagline {
  color: var(--blue);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 34ch;
  margin-bottom: .6rem;
}
.service-desc { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; margin-bottom: 2rem; }

/* Pill grid */
.tags {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.tags li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--mist);
  font-weight: 700;
  line-height: 1.3;
}
.tags li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
}

.tags-dark li { background: var(--ink); color: #fff; }
.tags-dark li:nth-child(odd)::before  { background: var(--sky); }
.tags-dark li:nth-child(even)::before { background: var(--mint); }

/* AI, Cloud & Professional Development panel */
.panel-blue {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 56px 48px;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
}
.panel-blue::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}
.panel-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; max-width: 14ch; }
.panel-title span { color: #cfe0ff; }
.panel-desc { font-size: 1.1rem; max-width: 56ch; color: #eaf1ff; margin-bottom: 2rem; }

/* Step paths (pills with arrows) */
.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 34px;
}
.path li {
  position: relative;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.path li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
}
.path-light li { background: #fff; color: var(--blue); }
.path-light li:not(:last-child)::after { color: #fff; }

/* Grouped service lists */
.groups {
  display: grid;
  gap: 20px;
  margin-bottom: 2.5rem;
}
.groups-2 { grid-template-columns: repeat(2, 1fr); }
.groups-3 { grid-template-columns: repeat(3, 1fr); }

.group {
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  background: var(--mist);
  border-left: 6px solid var(--blue);
}
.group header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.group h3 { color: var(--blue); margin: 0; }
.group header span { color: var(--ink-soft); font-size: 0.85rem; white-space: nowrap; }
.group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.group li { position: relative; padding-left: 18px; line-height: 1.4; }
.group li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.group-wide { grid-column: 1 / -1; }
.group-wide ul { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }

/* ---------- Core business flow ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.flow-intro { position: sticky; top: 120px; }
.flow-intro p:last-child { color: #d3dcf0; font-size: 1.15rem; max-width: 34ch; }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.timeline li {
  position: relative;
  counter-increment: flow;
  padding: 0 0 26px 68px;
}
.timeline li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0; top: -4px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  z-index: 1;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px; top: 40px; bottom: 0;
  width: 2px;
  background: #3a3a3a;
}
.timeline li:last-child::before { background: var(--mint); color: var(--ink); }
.timeline h3 { font-size: 1.3rem; margin: 0 0 2px; }
.timeline p { color: #a9b0b8; margin: 0; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid #2a2a2a; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14ch; }
.contact-note { color: #a9b0b8; max-width: 50ch; }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card span { color: var(--ink-soft); font-size: 0.95rem; }
.contact-card strong { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 900; }
.contact-card-blue { background: var(--blue); color: #fff; }
.contact-card-blue span { color: #dbe7ff; }
.contact-call { color: var(--sky); font-weight: 700; text-decoration: none; justify-self: end; }
.contact-call:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0e; color: #a9b0b8; padding: 40px 0; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner img { width: 130px; }
.footer-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.copyright { margin: 0; font-size: 0.9rem; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 20px; }
  .groups-3 { grid-template-columns: repeat(2, 1fr); }
  .group-wide ul { grid-template-columns: repeat(2, 1fr); }
  .overview, .flow-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .flow-intro { position: static; }
  .contact-call { justify-self: start; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }

  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .orbit { width: min(240px, 62vw); }

  .section { padding: 72px 0; }
  .service { padding-bottom: 72px; }
  .service-head { padding: 56px 0 40px; }
  .service-head::before { width: 220px; height: 220px; border-width: 30px; right: -80px; top: -80px; }
  .service-head::after  { width: 96px; height: 96px; border-width: 10px; right: -18px; top: -18px; }

  .groups-2, .groups-3 { grid-template-columns: 1fr; }
  .group-wide ul { grid-template-columns: 1fr; }
  .panel-blue { padding: 40px 22px; border-radius: 18px; }

  /* CSS-only mobile menu */
  .nav-burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    cursor: pointer;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: transform .25s ease, background .25s ease;
  }
  .nav-burger span::before,
  .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -7px; }
  .nav-burger span::after  { top: 7px; }

  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; text-align: center; }

  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after  { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .tags { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .moon-track { animation: none; }
  .btn, .service-index a, .contact-card { transition: none; }
}
