/* Layout: corporate one-pager, 1180px container, white header + centered nav, wide hero with media on the right fading into white */
:root {
  --navy: #1b2a5e;
  --navy-dark: #121d45;
  --text: #1b2a5e;
  --muted: #5b6478;
  --bg: #ffffff;
  --soft: #f1f4f9;
  --line: #e3e8f0;
  /* tokens used by the illustrations */
  --brand: #1b2a5e; --brand-ink: #ffffff; --sheet: #ffffff; --paper: #f1f4f9; --ink: #1b2a5e;
  --ink-soft: #6b7590; --rule: #dbe2ec; --cyan: #2f6fd6; --magenta: #3b82f6; --yellow: #f2b632; --key: #1b2a5e;
  --f-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 8px;
  --shadow: 0 10px 30px -12px rgba(27, 42, 94, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--f-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 90px; }
.section.soft { background: var(--soft); }
.eyebrow { display: block; font: 800 13px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.title { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.title h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.title p { color: var(--muted); margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: var(--radius); font: 700 16px/1 var(--f-head); text-decoration: none; border: 1.5px solid var(--navy); white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { background: var(--soft); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { display: block; font: 800 27px/1 var(--f-head); color: var(--navy); letter-spacing: -.02em; }
.brand-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.menu a { white-space: nowrap; text-decoration: none; font-size: 17px; color: var(--navy); }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 46px; height: 46px; color: var(--navy); font-size: 22px; cursor: pointer; }

/* Hero */
.hero .wrap { position: relative; }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 650px; overflow: hidden; background: linear-gradient(180deg, #f7f9fc, #eef2f8); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; display: grid; place-items: center; padding: 40px 30px 40px 60px; }
.hero-media svg { width: 100%; height: auto; max-height: 100%; }
.hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; background: linear-gradient(90deg, #f7f9fc 10%, rgba(247, 249, 252, 0)); z-index: 1; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; padding: 60px 0 60px 48px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 31em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats */
.stats { background: var(--soft); border-block: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 36px; text-align: center; }
.stats strong { display: block; font: 800 19px/1.3 var(--f-head); color: var(--navy); }
.stats span { font-size: 15px; color: var(--muted); }

/* Sectors (logo row) */
.sectors h2 { text-align: center; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 40px; }
.sector-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector { display: grid; place-items: center; gap: 8px; padding: 22px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font: 700 15px/1.3 var(--f-head); color: var(--navy); }
.sector svg { width: 34px; height: 34px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-media { aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #eef3fb, #dfe8f6); }
.svc-media .svc-ico { width: 46%; height: auto; }
.svc-body { padding: 20px 20px 24px; display: grid; gap: 8px; }
.svc h3 { font-size: 18px; font-weight: 800; }
.svc p { font-size: 15px; color: var(--muted); }
.svc-group { text-align: center; font: 800 13px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.services + .svc-group { margin-top: 48px; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.why-grid .title { text-align: left; margin: 0 0 36px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: start; }
.why-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; }
.why-ico svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-item strong { font: 800 17px/1.3 var(--f-head); color: var(--navy); }
.why-item span { font-size: 15px; color: var(--muted); }
.why-media { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #eef3fb, #dfe8f6); padding: 24px; }
.why-media svg { width: 100%; height: auto; }

/* Portfolio */
.pf-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.pf-head .title { text-align: left; margin: 0; }
.pf-link { font: 700 16px var(--f-head); color: var(--navy); text-decoration: none; }
.pf-link:hover { text-decoration: underline; }
.portfolio { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pf { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; background: var(--soft); border: 1px solid var(--line); position: relative; }
.pf svg, .pf img { width: 100%; height: 100%; object-fit: cover; }
.pf figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(18, 29, 69, .85), rgba(18, 29, 69, 0)); color: #fff; font: 700 14px/1.3 var(--f-head); }

/* Steps */
.how-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.how-grid .title { text-align: left; margin: 0 0 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; align-items: start; }
.steps b { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 18px var(--f-head); }
.steps strong { font: 800 17px/1.3 var(--f-head); color: var(--navy); padding-top: 3px; }
.steps span { font-size: 15px; color: var(--muted); }
.how-media { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #eef3fb, #dfe8f6); padding: 28px; }
.how-media svg { width: 100%; height: auto; }

/* About */
.about { text-align: center; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.about p { color: var(--muted); max-width: 800px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.checks li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 700 15px var(--f-head); color: var(--navy); }
.checks li::before { content: "✓"; margin-right: 8px; }

/* CTA */
.cta-box { background: var(--navy); color: #fff; border-radius: 16px; padding: 60px 40px; text-align: center; }
.cta-box .eyebrow { color: #c9d4ee; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.cta-box p { color: #c9d4ee; margin: 14px auto 30px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-box .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-box .btn-outline { background: transparent; color: #fff; border-color: #fff; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c9d4ee; padding-block: 60px 26px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-links { display: grid; gap: 6px; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; font-size: 14px; }

/* Floating chat */
.wa-float { position: fixed; right: calc(28px + env(safe-area-inset-right, 0px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(18, 29, 69, .5); }
.wa-float svg { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 1200px) {
  .menu, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { min-height: 76px; }
  .menu.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); gap: 2px; }
  .menu.open a { display: block; padding: 10px 0; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .sector-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .section { padding-block: 64px; }
  .hero-inner { flex-direction: column; min-height: 0; }
  .hero-media { position: relative; width: 100%; padding: 0 20px 30px; order: 2; }
  .hero-media::before { display: none; }
  .hero-copy { padding: 40px 20px 28px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .why-grid, .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .services, .portfolio { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .hero .wrap { padding-left: 0; padding-right: 0; }
  .hero-copy { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .why-list, .sector-row { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div:first-child { grid-column: span 1; }
  .brand-sub { display: none; }
  .brand-name { font-size: 23px; }
  .wa-float { width: 60px; height: 60px; }
  .cta-box { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc { transition: none; }
}
