:root {
  --navy: #0b1e38;
  --navy-2: #12305a;
  --navy-3: #1b3f6e;
  --teal: #14b8a6;
  --teal-dark: #0d8f81;
  --sky: #0ea5e9;
  --ink: #1b2533;
  --muted: #5a6779;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 14px;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(11,30,56,.04), 0 8px 24px rgba(11,30,56,.06);
  --shadow-lg: 0 2px 4px rgba(11,30,56,.05), 0 20px 48px rgba(11,30,56,.12);
  --grad: linear-gradient(120deg, #14b8a6 0%, #0ea5e9 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; color: var(--navy); line-height: 1.18; margin: 0 0 .6em; word-spacing: .1em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.015em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(11,30,56,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; word-spacing: .08em; }
.brand-tag { font-size: .74rem; font-weight: 500; font-style: italic; color: var(--muted); }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; border-radius: 2px; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px;
  background: var(--grad); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
  border: 0; cursor: pointer; font-family: inherit;
  box-shadow: 0 6px 18px rgba(20,184,166,.28);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14,165,233,.32); filter: brightness(1.05); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #d6e2f0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(20,184,166,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(14,165,233,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 92px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; }
.hero .grad { background: linear-gradient(120deg, #5eead4, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; max-width: 600px; color: #c3d2e4; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: 64px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: #b6c7dc; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #14b8a6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0,0,0,.25)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero .eyebrow { color: #5eead4; }
.page-hero { padding: 84px 0 76px; }
.page-hero .lead { max-width: 680px; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(20,184,166,.10); box-shadow: 0 0 0 70px rgba(14,165,233,.05);
}
.sector-strip { position: relative; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.12); }
.sector-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; padding-top: 20px; padding-bottom: 20px; }
.sector-strip span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #7f95b2; font-weight: 600; }
.sector-strip b { color: #dbe6f3; font-weight: 600; font-size: .96rem; opacity: .85; }

/* Sections */
section { padding: 96px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #d3dde8; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-wide { grid-column: 1 / -1; background: linear-gradient(135deg, #0b1e38, #17406f); border-color: transparent; color: #c9d7e8; }
.card-wide h3 { color: #fff; }
.card-wide p { color: #c3d2e4; max-width: 900px; }
.card-wide .icon { background: rgba(94,234,212,.14); color: #5eead4; }
.icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(14,165,233,.14));
  display: grid; place-items: center; margin-bottom: 20px; color: var(--teal-dark);
  transition: transform .3s;
}
.card:hover .icon, .service:hover .icon { transform: rotate(-6deg) scale(1.06); }
.icon svg { width: 25px; height: 25px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 8px; }
.stat strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; word-spacing: .1em; background: linear-gradient(120deg, var(--navy), var(--navy-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .95rem; }
.cert-row { margin-top: 56px; text-align: center; }
.cert-row .tags { justify-content: center; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); opacity: .3; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg-soft), 0 8px 20px rgba(20,184,166,.3);
}
.step p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.panel { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c9d5e4; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.panel h3 { color: #fff; }

/* Dashboard illustration */
.why-visual { position: relative; }
.why-visual::before { content: ""; position: absolute; inset: 30px -20px -20px 30px; background: var(--grad); opacity: .12; border-radius: 22px; z-index: 0; }
.dash { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f3f6fa; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; } .dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.dash-title { margin-left: 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.dash-body { display: grid; grid-template-columns: 150px 1fr; gap: 20px 26px; padding: 24px; }
.gauge { text-align: center; }
.gauge svg { width: 130px; display: block; margin: 0 auto 4px; }
.gauge-val { stroke-dasharray: 100; stroke-dashoffset: 28; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.js .reveal:not(.in) .gauge-val { stroke-dashoffset: 100; }
.gauge strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; color: var(--navy); font-size: 1.05rem; }
.gauge span { font-size: .78rem; color: var(--muted); }
.bars { display: grid; gap: 9px; align-content: center; }
.bar { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.bar i { display: block; height: 8px; border-radius: 6px; background: #e8eef5; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); background: var(--grad); border-radius: 6px; transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .3s; }
.js .reveal:not(.in) .bar i::after { transform: scaleX(0); }
.findings { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; font-size: .86rem; color: var(--ink); }
.findings li { display: flex; align-items: center; gap: 10px; }
.pill { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; min-width: 62px; text-align: center; flex: none; }
.pill.hi { background: #fee2e2; color: #b91c1c; } .pill.md { background: #fef3c7; color: #a16207; } .pill.lo { background: #dcfce7; color: #15803d; }
.dash-caption { position: relative; z-index: 1; margin-top: 22px; font-size: .92rem; color: var(--muted); }

/* About illustration */
.about-side { display: grid; gap: 28px; }
.side-art { width: 100%; max-width: 440px; height: auto; margin: 0 auto; display: block; }
.side-art .layer { transition: opacity .6s, transform .6s; transition-delay: var(--d); }
.js .reveal:not(.in) .side-art .layer { opacity: 0; transform: translateY(-14px); }

/* Services */
.service { display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service .icon { width: 60px; height: 60px; border-radius: 14px; }
.service h3 { font-size: 1.3rem; }
.service ul { color: var(--muted); padding-left: 20px; margin: 0; columns: 2; column-gap: 40px; }
.service ul li { margin-bottom: 6px; break-inside: avoid; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; font-size: .88rem; color: var(--navy); font-weight: 500; box-shadow: 0 1px 2px rgba(11,30,56,.04); transition: border-color .2s, transform .2s; }
.tag:hover { border-color: var(--teal); transform: translateY(-1px); }

.cta { position: relative; overflow: hidden; text-align: center; color: #c9d5e4;
  background: radial-gradient(600px 300px at 50% 0%, rgba(20,184,166,.25), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.cta h2 { color: #fff; }
.cta p { max-width: 580px; margin: 0 auto 30px; }

/* Contact */
form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.15); background: #fff; }
textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 18px; }
.contact-list strong { display: block; color: #fff; }
.contact-art { width: 180px; height: auto; display: block; margin-bottom: 18px; }
.note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #071528; color: #8fa1b8; padding: 64px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-about p { margin-top: 16px; max-width: 340px; }
.site-footer .brand svg path:first-child { fill: #1e3a5f; }
.site-footer .brand-tag { color: #8fa1b8; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a, .site-footer span { display: block; color: #a9b8cc; text-decoration: none; margin-bottom: 9px; }
.site-footer a.brand { display: flex; color: #fff; margin: 0; }
.site-footer .brand-text span, .site-footer .brand-text em { margin: 0; }
.site-footer .brand-name { color: #fff; }
.site-footer a:hover { color: #fff; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 8px; font-size: .85rem; }

/* Illustration animation */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.spin-slow { animation: spin 60s linear infinite; }
.spin-rev { animation: spin 40s linear infinite reverse; }
.flow { stroke-dasharray: 6 6; animation: dash 2.4s linear infinite; }
.node { animation: pulse 3s ease-in-out infinite; animation-delay: var(--d); }
.chip { animation: float 6s ease-in-out infinite; animation-delay: var(--d); }
.tick { stroke-dasharray: 80; animation: draw 1.2s .4s cubic-bezier(.2,.7,.2,1) both; }
.ping { animation: float 4s ease-in-out infinite; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; } .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.page-hero .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .wrap > *:nth-child(2) { animation-delay: .08s; } .page-hero .wrap > *:nth-child(3) { animation-delay: .16s; }
.hero-visual { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; transition-delay: var(--delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .grid-3, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service ul { columns: 1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 20px 26px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,30,56,.08);
  }
  .nav.open { display: flex; }
  .grid-3, .grid-2, .steps, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 68px 0; }
  .hero { padding-top: 64px; }
  .page-hero { padding: 64px 0 56px; }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .dash-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  form { padding: 22px; }
  .why-visual::before { inset: 20px -8px -12px 16px; }
}
.cert-note { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.card-span { grid-column: 1 / -1; }
.card-span p { max-width: 900px; }
