:root {
  --navy-950: #06182d;
  --navy-900: #071d36;
  --navy-800: #0d2c4d;
  --blue-600: #0878c9;
  --blue-500: #1697df;
  --aqua: #56c7df;
  --ice: #edf6fb;
  --sky: #f4f8fb;
  --white: #ffffff;
  --ink: #14263a;
  --muted: #607388;
  --line: #d8e3eb;
  --shadow: 0 22px 70px rgba(7, 29, 54, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 108px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; border-radius: 6px; background: var(--white); color: var(--navy-900); transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(6, 24, 45, .96); box-shadow: 0 10px 30px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.nav-shell { width: min(1320px, calc(100% - 48px)); height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { position: relative; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.28); color: var(--white); font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 800; }
.brand-mark i { position: absolute; right: 5px; bottom: 5px; width: 8px; height: 14px; background: var(--blue-500); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font: 700 17px/1.1 "Manrope", sans-serif; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.main-nav { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--aqua); transition: right .25s; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.44); color: var(--white); transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--white); color: var(--navy-900); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle i { display: block; width: 24px; height: 2px; margin: 5px 0; background: white; transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 820px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-950); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,36,.98) 0%, rgba(5,24,44,.92) 31%, rgba(6,27,49,.38) 57%, rgba(4,18,33,.16) 100%), linear-gradient(0deg, rgba(4,18,33,.7), transparent 40%); }
.hero-grid { position: relative; z-index: 2; padding-top: 82px; padding-bottom: 145px; }
.hero-copy { max-width: 670px; }
.eyebrow { margin: 0 0 22px; color: var(--blue-600); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; margin: 0 10px 4px 0; background: currentColor; }
.eyebrow.light { color: #8bdcf0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { max-width: 720px; margin: 0 0 26px; font-size: clamp(3.1rem, 5.7vw, 5.25rem); line-height: 1.01; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--blue-500); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 610px; margin: 0; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; padding: 14px 22px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: #0969ad; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.proof-bar { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); min-height: 124px; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.proof-bar > div { padding: 26px 30px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.proof-bar > div:last-child { border-right: 0; }
.proof-bar p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.proof-number { color: var(--blue-600); font: 800 24px/1 "Manrope", sans-serif; }
.proof-lead { background: var(--navy-900); color: var(--white); }
.proof-lead strong { color: var(--aqua); font: 800 51px/1 "Manrope", sans-serif; }
.proof-lead span { font-size: 13px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.section-heading h2, .why-copy h2, .contact-copy h2, .expertise-panel h2 { margin: 0; color: var(--navy-900); font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading .eyebrow { margin-bottom: 20px; }
.intro-body { padding-top: 36px; }
.intro-body p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.intro-body .lead { color: var(--ink); font-size: 23px; line-height: 1.48; }

.services { background: var(--sky); border-top: 1px solid #e4edf3; }
.section-heading.split { display: grid; grid-template-columns: 1.25fr .55fr; gap: 90px; align-items: end; margin-bottom: 60px; }
.section-heading.split > p { margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 350px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-7px); box-shadow: 0 22px 50px rgba(7,29,54,.12); border-color: transparent; }
.service-card.featured { background: var(--navy-900); color: var(--white); }
.service-index { color: #9cafbf; font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.service-icon { width: 52px; height: 52px; margin: 47px 0 26px; display: grid; place-items: center; background: var(--ice); color: var(--blue-600); }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.featured .service-icon { background: rgba(255,255,255,.09); color: var(--aqua); }
.service-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.service-card.featured p { color: rgba(255,255,255,.66); }

.expertise { background: var(--white); }
.expertise-layout { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 620px; box-shadow: var(--shadow); }
.expertise-panel { padding: 70px 62px; background: var(--navy-900); color: var(--white); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.expertise-panel::after { content: ""; position: absolute; right: -130px; bottom: -130px; width: 340px; height: 340px; border: 1px solid rgba(86,199,223,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(86,199,223,.04), 0 0 0 110px rgba(86,199,223,.025); }
.expertise-panel h2 { color: var(--white); }
.expertise-panel > p:not(.eyebrow) { max-width: 470px; margin: 28px 0 35px; color: rgba(255,255,255,.68); font-size: 17px; }
.text-link { position: relative; z-index: 2; max-width: 380px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.25); color: var(--white); font-weight: 600; display: flex; justify-content: space-between; gap: 24px; }
.text-link span { color: var(--aqua); font-size: 22px; }
.expertise-list { padding: 34px 58px; background: var(--white); }
.expertise-list article { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.expertise-list article:last-child { border-bottom: 0; }
.expertise-list article > span { color: var(--blue-600); font: 700 13px/1.8 "Manrope", sans-serif; }
.expertise-list h3 { margin: 0 0 5px; font-size: 19px; }
.expertise-list p { margin: 0; color: var(--muted); font-size: 15px; }

.method { background: var(--sky); }
.section-heading.centered { max-width: 760px; margin: 0 auto 66px; text-align: center; }
.section-heading.centered p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.method-steps li { position: relative; min-height: 250px; padding: 0 24px; border-left: 1px solid var(--line); }
.method-steps li:last-child { border-right: 1px solid var(--line); }
.method-steps li::before { content: ""; position: absolute; top: 40px; left: 0; right: 0; height: 1px; background: var(--line); }
.method-steps li::after { content: ""; position: absolute; top: 34px; left: 24px; width: 13px; height: 13px; border: 3px solid var(--sky); border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 1px var(--blue-600); }
.method-steps span { display: block; margin-bottom: 75px; color: var(--blue-600); font: 700 13px/1 "Manrope", sans-serif; }
.method-steps h3 { margin: 0 0 10px; font-size: 19px; }
.method-steps p { margin: 0; color: var(--muted); font-size: 14px; }

.why { padding: 0; background: var(--navy-900); color: var(--white); }
.why-grid { width: min(1320px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; }
.why-copy { padding: 105px 75px; background: #09223e; }
.why-copy h2 { color: var(--white); }
.why-copy > p:last-child { margin: 28px 0 0; color: rgba(255,255,255,.65); font-size: 18px; }
.why-points { padding: 74px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.why-points article { padding: 32px; background: var(--navy-900); }
.why-points b { color: var(--aqua); font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .13em; }
.why-points h3 { margin: 42px 0 10px; font-size: 20px; }
.why-points p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.contact { background: var(--white); }
.contact-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-copy { position: sticky; top: 130px; }
.contact-copy > p:not(.eyebrow) { margin: 27px 0 38px; color: var(--muted); font-size: 18px; }
.contact-note { display: flex; align-items: center; gap: 17px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-note > span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ice); color: var(--blue-600); font: 800 14px/1 "Manrope", sans-serif; }
.contact-note p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-note strong { color: var(--ink); }
.contact-form { padding: 48px; background: var(--sky); border-top: 4px solid var(--blue-600); box-shadow: 0 16px 50px rgba(7,29,54,.08); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-form label { display: block; margin-bottom: 20px; color: var(--ink); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(8,120,201,.1); }
.contact-form .invalid { border-color: #b3261e; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted) !important; font-weight: 500 !important; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--blue-600); }
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 24px; margin: 14px 0 0; text-align: center; color: #17683a; font-weight: 600; font-size: 14px; }

.footer { background: #041426; color: var(--white); }
.footer-main { min-height: 170px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 40px; }
.footer-main > p { margin: 0; max-width: 330px; color: rgba(255,255,255,.58); font-size: 14px; }
.footer-links { display: flex; justify-content: flex-end; gap: 25px; color: rgba(255,255,255,.74); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.45); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .main-nav { gap: 20px; }
  .hero { min-height: 780px; }
  .proof-bar > div { padding: 22px 18px; }
  .intro-grid, .contact-shell { gap: 55px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(3, 1fr); row-gap: 38px; }
  .method-steps li:last-child { border-right: 0; }
  .why-copy, .why-points { padding: 65px 42px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 680px); }
  .section { padding: 78px 0; }
  .nav-shell { width: calc(100% - 32px); height: 74px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 74px 0 auto; height: calc(100vh - 74px); padding: 40px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; background: var(--navy-950); transform: translateX(100%); transition: transform .28s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 15px; font-size: 17px; }
  .main-nav .nav-cta { margin-top: 12px; text-align: center; }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 920px; align-items: flex-start; }
  .hero-image { object-position: 63% center; opacity: .55; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,19,36,.98), rgba(5,24,44,.75)), linear-gradient(0deg, rgba(4,18,33,.9), transparent); }
  .hero-grid { padding-top: 160px; padding-bottom: 330px; }
  h1 { font-size: clamp(2.7rem, 12vw, 4.5rem); }
  .proof-bar { grid-template-columns: repeat(2, 1fr); width: calc(100% - 32px); }
  .proof-bar > div:nth-child(2) { border-right: 0; }
  .proof-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .section-heading.split, .expertise-layout, .why-grid, .contact-shell { grid-template-columns: 1fr; }
  .intro-grid, .section-heading.split { gap: 28px; }
  .intro-body { padding-top: 0; }
  .expertise-panel { padding: 60px 38px; }
  .expertise-list { padding: 24px 36px; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { width: 100%; }
  .why-points { padding: 1px; }
  .contact-copy { position: static; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 45px 0; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 64px 0; }
  .brand-copy strong { font-size: 15px; }
  .hero { min-height: 1020px; }
  .hero-grid { padding-top: 130px; padding-bottom: 400px; }
  .hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .proof-bar { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .proof-bar > div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-bar > div:last-child { border-bottom: 0; }
  .proof-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-lead strong { font-size: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .section-heading.split { margin-bottom: 40px; }
  .expertise-panel, .expertise-list { padding: 44px 24px; }
  .expertise-list article { grid-template-columns: 38px 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li { min-height: 210px; }
  .why-copy { padding: 60px 26px; }
  .why-points { grid-template-columns: 1fr; }
  .why-points article { padding: 30px 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 32px 20px; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
