:root {
  --ink: #0b1220;
  --muted: #667085;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #dce3ee;
  --brand: #245bff;
  --brand-dark: #123fd1;
  --accent: #3b82f6;
  --teal: #0f766e;
  --soft-blue: #edf3ff;
  --shadow: 0 26px 80px rgba(11, 18, 32, 0.13);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 238, 0.72);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.06);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 7px;
  border-radius: 10px;
  color: var(--white);
  background: #0b1220;
  box-shadow: 0 12px 26px rgba(11, 18, 32, 0.18);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: auto 7px 7px;
  height: 3px;
  border-radius: 999px;
  background: #2563eb;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  pointer-events: none;
}

.brand-b,
.brand-one {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.brand-one {
  color: #93c5fd;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-name {
  display: block;
  line-height: 1;
}

.brand-name strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid #0b1220;
  border-radius: 8px;
  background: #0b1220;
  color: var(--white);
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(11, 18, 32, 0.12);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 91, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  background-size: 88px 88px, auto;
  padding: 78px 0 0;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  padding: 58px 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.partners h2,
.cta-band h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6vw, 5.45rem);
  overflow-wrap: break-word;
}

.hero-title span {
  display: inline;
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: #4b5565;
  font-size: clamp(1.08rem, 1.55vw, 1.24rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: var(--white);
  background: #0b1220;
  box-shadow: 0 18px 34px rgba(11, 18, 32, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand);
}

.button-soft {
  color: #0b1220;
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 548px;
  display: grid;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.04 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(11, 18, 32, 0.20);
}

.floating-card {
  position: absolute;
  width: 174px;
  padding: 17px;
  border: 1px solid rgba(220, 227, 238, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.16);
  backdrop-filter: blur(14px);
}

.floating-card span {
  display: block;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.floating-card strong {
  display: block;
  margin-top: 5px;
  font-size: 1.02rem;
}

.floating-card-top {
  top: 42px;
  left: -28px;
}

.floating-card-bottom {
  right: -20px;
  bottom: 52px;
}

.stats {
  width: min(var(--max), calc(100% - 32px));
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(11, 18, 32, 0.07);
  overflow: hidden;
}

.stats div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--brand);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.section-heading h2,
.about h2,
.partners h2,
.cta-band h2,
.contact h2 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.section-heading p,
.about-copy p,
.cta-band p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.values article,
.case-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.045);
}

.service-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 91, 255, 0.24);
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.10);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: #0b1220;
  font-weight: 900;
}

.service-card h3,
.values h3,
.case-card h3,
.footer h3 {
  margin: 24px 0 12px;
  font-size: 1.16rem;
}

.service-card p,
.values p,
.case-card p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.values article {
  min-height: 192px;
  padding: 28px;
}

.partners {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px),
    #0b1220;
  background-size: 88px 88px, auto;
  color: var(--white);
}

.partners-inner {
  padding: 86px 0;
}

.partners .eyebrow {
  color: #8fb1ff;
}

.partners h2 {
  max-width: 720px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.partner-grid span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  text-align: center;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.case-card div {
  padding: 26px;
}

.case-card span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 91, 255, 0.26), transparent 46%),
    #0b1220;
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.16);
}

.cta-band .eyebrow {
  color: #8fb1ff;
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-band .button-primary {
  flex: 0 0 auto;
  color: #0b1220;
  background: var(--white);
  box-shadow: none;
}

.cta-band .button-primary:hover,
.cta-band .button-primary:focus-visible {
  color: var(--white);
  background: var(--brand);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: start;
}

address {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(11, 18, 32, 0.10);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f9fbff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.14);
  border-color: var(--brand);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 0.9fr);
  gap: 40px;
}

.footer-brand p,
.footer-bottom p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer h3 {
  margin-top: 0;
}

.footer-links a {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-bottom a {
  color: var(--brand);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 14px;
  }

  .hero-inner,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy {
    padding-bottom: 18px;
  }

  .hero-visual {
    min-height: 0;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .cta-band .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .stats,
  .section,
  .cta-band,
  .footer {
    width: calc(100% - 24px);
  }

  .brand-name {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .hero-copy,
  .hero-actions,
  .hero-lead {
    max-width: min(100%, 366px);
  }

  .hero-title span {
    display: block;
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-actions,
  .stats,
  .service-grid,
  .values,
  .partner-grid,
  .contact-form,
  .footer,
  .footer-links,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 0;
  }

  .service-card,
  .values article {
    min-height: auto;
  }

  .cta-band {
    padding: 28px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-bottom {
    display: grid;
  }
}
