:root {
  --navy: #0f1729;
  --navy-2: #1b2438;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #14b8a6;
  --ink: #0f1729;
  --muted: #4b5568;
  --line: #e3e8f0;
  --soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
section { padding: 88px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* shortcut: crops the padding baked into the 1536x1024 logo PNG; upload a tightly cropped logo and drop these offsets */
.logo { display: block; width: 234px; height: 40px; overflow: hidden; }
.logo img { width: 287px; max-width: none; height: auto; margin: -72px 0 0 -18px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav ul a:hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% 20%, #1e3a8a 0%, transparent 60%), var(--navy); color: #fff; padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.5vw, 58px); }
.hero h1 span { color: #60a5fa; }
.hero .lead { color: rgba(255,255,255,.8); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 20px; }
.hero-note { font-size: 14px; color: rgba(255,255,255,.65); }
.hero-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 28px; }
.hero-card h3 { font-size: 16px; color: rgba(255,255,255,.7); font-weight: 600; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 13px; 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 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l1.4-1.4L8 10.8l6.2-6.2 1.4 1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Logos */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }
.logo-row img { height: 38px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* Problem / outcome */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { border-radius: var(--radius); padding: 32px; }
.panel h3 { font-size: 20px; }
.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin-bottom: 8px; }
.panel-before { background: #fff5f5; border: 1px solid #fde2e2; }
.panel-after { background: #effcf9; border: 1px solid #c9f2ea; }

/* Services */
.services { background: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e8efff; color: var(--blue); font-weight: 800; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; background: var(--soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 32px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

/* Testimonials */
.testimonials { background: var(--navy); color: #fff; }
.testimonials .lead { color: rgba(255,255,255,.75); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.quote { margin: 0; background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font-size: 18px; }
.who { display: flex; gap: 14px; align-items: center; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; }
.who span { font-size: 14px; color: rgba(255,255,255,.65); }

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

/* CTA */
.cta { background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.cta .lead { color: rgba(255,255,255,.85); margin: 0 auto 28px; }
.cta .btn-primary { background: #fff; color: var(--blue); }
.cta-contact { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.85); }
.cta-contact a { color: #fff; font-weight: 700; }

footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; font-size: 14px; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .logo { width: 150px; height: 26px; }
  .logo img { width: 184px; margin: -46px 0 0 -12px; }
  .nav .btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; margin-left: auto; margin-right: 8px; }
  .menu-btn { display: block; }
  .nav ul { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15,23,41,.08); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav ul a { display: block; padding: 12px 0; font-size: 17px; }
  header.open .nav ul { opacity: 1; visibility: visible; transform: none; }
  .hero { padding: 64px 0 72px; }
  .hero-grid, .split, .quotes, .steps, .foot { grid-template-columns: 1fr; }
  .cta { padding: 40px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Inner pages */
.nav ul a[aria-current="page"] { color: var(--blue); }
.page-hero { background: radial-gradient(900px 400px at 85% 0%, #1e3a8a 0%, transparent 60%), var(--navy); color: #fff; padding: 72px 0 80px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); max-width: 760px; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* Services detail */
.svc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc h2 { font-size: 26px; }
.svc .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e8efff; color: var(--blue); font-weight: 800; margin-bottom: 14px; }
.svc p { color: var(--muted); margin: 0 0 12px; }
.svc-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.svc-box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.svc-box .check li { border-color: var(--line); padding: 8px 0 8px 34px; }
.svc-box .check li::before { top: 11px; }

/* About values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.mission { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; line-height: 1.45; max-width: 820px; margin: 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { font-size: 18px; }
.contact-card a { font-weight: 700; color: var(--blue); text-decoration: none; }
.contact-card ol { padding-left: 20px; color: var(--muted); margin: 0; }
.contact-card ol li { margin-bottom: 8px; }
form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 10px 30px rgba(15,23,41,.06); }
.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
textarea { min-height: 130px; resize: vertical; }
form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

@media (max-width: 860px) {
  .svc, .values, .contact-grid, .row2 { grid-template-columns: 1fr; gap: 20px; }
  .page-hero { padding: 56px 0 60px; }
  form { padding: 22px; }
}

/* ---------- Premium layer: motion & polish ---------- */
:root { --ease: cubic-bezier(.2,.7,.2,1); --shadow-lg: 0 24px 50px -12px rgba(15,23,41,.18); }
::selection { background: #bfd4ff; color: var(--navy); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Smooth cross-page transitions (Chrome/Edge/Safari 18+; others just navigate normally) */
@view-transition { navigation: auto; }
header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Header: shadow once scrolled, mobile menu button */
header { transition: box-shadow .3s, background .3s; }
header.scrolled { box-shadow: 0 8px 24px -12px rgba(15,23,41,.18); }
.nav ul a { position: relative; transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; content: ""; }
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
header.open .menu-btn span { background: transparent; }
header.open .menu-btn span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
header.open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }
@media (max-width: 860px) {
  .menu-btn { display: block; order: 3; }
  .nav .btn { order: 2; }
  .nav ul a::after { display: none; }
}

/* Buttons: soft glow + arrow nudge */
.btn { transition: background .2s, transform .25s var(--ease), box-shadow .25s; }
.btn-primary { box-shadow: 0 8px 20px -8px rgba(37,99,235,.6); }
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(37,99,235,.7); transform: translateY(-2px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }

/* Hero: drifting glow, faint grid, quick staggered entrance */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.35), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-160px, 120px) scale(1.15); } }
.hero .wrap > div > *, .page-hero .wrap > * { animation: rise .7s var(--ease) both; }
.hero .wrap > div > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.hero .wrap > div > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .16s; }
.hero .wrap > div > :nth-child(4) { animation-delay: .24s; }
.hero .wrap > div > :nth-child(5) { animation-delay: .32s; }
.hero-card { animation: rise .8s .2s var(--ease) both, float 6s 1s ease-in-out infinite alternate; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hero-card .check li { animation: rise .5s var(--ease) both; }
.hero-card .check li:nth-child(1) { animation-delay: .35s; } .hero-card .check li:nth-child(2) { animation-delay: .42s; }
.hero-card .check li:nth-child(3) { animation-delay: .49s; } .hero-card .check li:nth-child(4) { animation-delay: .56s; }
.hero-card .check li:nth-child(5) { animation-delay: .63s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float { to { transform: translateY(-10px); } }
.hero h1 span { background: linear-gradient(90deg, #60a5fa, #5eead4, #60a5fa); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Eyebrows get a small accent line */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Cards lift on hover */
.card, .step, .svc-box, .contact-card, .quote, .panel { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover, .step:hover, .contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c7d6fb; }
.card .num, .svc .num { transition: transform .35s var(--ease), background .35s, color .35s; }
.card:hover .num { transform: rotate(-6deg) scale(1.08); background: var(--blue); color: #fff; }
.svc:hover .svc-box { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.quote:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.4); }
.quote blockquote { position: relative; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; height: 28px; color: #60a5fa; font-weight: 800; }

/* Logo marquee (built by site.js; static wrap if JS is off) */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .logo-row { flex-wrap: nowrap; width: max-content; gap: 56px; animation: marquee 32s linear infinite; }
.marquee:hover .logo-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ answer eases in */
details[open] p { animation: rise .35s var(--ease) both; }
details summary::after { transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(180deg); }

/* CTA banner shimmer */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; z-index: -1; inset: -40%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 40%); animation: drift 12s ease-in-out infinite alternate; }

/* Scroll reveal: site.js adds .reveal only when it can also remove it, so content never stays hidden */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Form fields */
input, select, textarea { transition: border-color .2s, box-shadow .2s; }

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