@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-400.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-500.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-700.woff2) format('woff2'); }

:root {
  --blue: #0000b7;
  --blue-dark: #00008a;
  --ink: #111;
  --muted: #6b6f80;
  --line: #e4e6ef;
  --soft: #fafbfe;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; transition: background .3s, box-shadow .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.logo img { width: 136px; }
.logo-dark { display: none; }
.nav-link { color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.nav.scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .nav-inner { height: 60px; }
.nav.scrolled .logo-light { display: none; }
.nav.scrolled .logo-dark { display: block; }
.nav.scrolled .nav-link { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  background: #1b3fc4 url(../img/pexels-pixabay-2150-1.jpg) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 180px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(-47deg, #00edff 0%, #0000b7 100%); opacity: .9; }
.hero-inner { position: relative; display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: 46px; text-wrap: balance; }
.hero .eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero p { font-size: 16px; line-height: 1.9; max-width: 520px; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-cta { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.3; border: 1px solid #fff; border-radius: 3px; padding: 10px 25px; transition: background .2s; }
.hero-cta svg { width: 26px; height: 26px; flex: none; }
.hero-cta small { display: block; font-weight: 400; font-size: 11px; }
.hero-cta:hover { background: rgba(255, 255, 255, .15); }
.hero-art img { margin-left: auto; animation: bounce 4s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(-16px); } }

.waves { position: absolute; inset: auto 0 0; height: 220px; pointer-events: none; }
.waves i { position: absolute; inset: auto 0 0; background-repeat: repeat-x; background-position: 0 100%; animation: wave 30s linear infinite; }
.waves .w1 { height: 120px; background-image: url(../img/wave-1.png); }
.waves .w2 { height: 170px; background-image: url(../img/wave-2.png); animation-duration: 45s; animation-direction: reverse; }
.waves .w3 { height: 220px; background-image: url(../img/wave-3.png); animation-duration: 60s; }
@keyframes wave { to { background-position: 2000px 100%; } }

/* Impact & clients */
.tools { background: var(--soft); padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; text-align: center; }
.stats dt { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.stats dd { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.clients, .toolkit { text-align: center; margin: 40px 0 0; color: var(--ink); font-weight: 500; }
.clients span, .toolkit span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toolkit { margin-top: 56px; }

/* Sections */
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 70px; }
.section-head h2 { font-size: 36px; }
.section-head p { font-size: 16px; }

/* Process */
.process { display: grid; grid-template-columns: 1fr 140px 1fr; gap: 56px; align-items: center; }
.process-art img { width: 140px; opacity: .85; }
.steps { display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 18px; }
.step svg { width: 34px; height: 34px; color: var(--blue); margin-top: 2px; }
.step h3 { font-size: 24px; }
.step p { margin: 0; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 30px rgba(17, 17, 60, .08);
  transition: transform .3s;
}
.card:hover { transform: translateY(-6px); }
.card-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 24px; }
.card:nth-child(2) .card-icon { background: #8a8de8; }
.card:nth-child(3) .card-icon { background: #3a3fd1; }
.card:nth-child(4) .card-icon { background: #00a6d6; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 18px; }
.card p { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.contact-info h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-top: 0; }
.contact-info h3 svg { width: 20px; height: 20px; color: var(--blue); }
.contact-info address { font-style: normal; }
.contact-note { margin: 0 0 28px; }
.contact-info p { margin-bottom: 28px; }.contact-form { background: var(--soft); padding: 16px; border-radius: var(--radius); display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.contact-form button {
  justify-self: start;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
}
.contact-form button:hover { background: var(--blue-dark); }
.form-note { margin: 0; font-size: 12px; }

/* Footer */
.footer { background: #222; color: #bbb; text-align: center; padding: 28px 16px; font-size: 13px; }
.footer p { margin: 0; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #111; color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top svg { width: 20px; height: 20px; stroke-width: 2.5; }
.to-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1199px) {
  .hero h1 br { display: none; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .process { grid-template-columns: 1fr; }
  .process-art { order: -1; justify-self: center; }
  .process-art img { width: 96px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 130px 0 240px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 28px; }
  .step h3 { font-size: 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .stats dt { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img, .waves i { animation: none; }
}
