:root {
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --navy: #0f274e;
  --muted: #667085;
  --bg: #ffffff;
  --soft: #f4f7fc;
  --line: #e6edf7;
  --footer: #071433;
  --max: 1180px;
  --header: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo-copy {
  display: grid;
  line-height: 1.1;
}

.logo-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.logo-copy small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: #42526b;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a.is-active,
.nav a:hover {
  color: var(--blue);
}

.nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--blue);
  padding-bottom: 4px;
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: end;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 99px;
}

.menu-toggle span:nth-child(1),
.menu-toggle span:nth-child(3) {
  width: 22px;
}

.menu-toggle span:nth-child(2) {
  width: 15px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 51, 0.28);
  z-index: 30;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 8px;
  background:
    radial-gradient(720px 280px at 88% 12%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 72%);
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.55rem);
  max-width: 14ch;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.hero-points li {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 12px;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 88px;
  height: 88px;
  right: 8%;
  top: 4%;
  background: radial-gradient(circle at 30% 30%, #7aa4ff, #2563eb);
  opacity: 0.85;
}

.orb-b {
  width: 46px;
  height: 46px;
  left: 6%;
  bottom: 12%;
  background: radial-gradient(circle at 30% 30%, #dbe7ff, #8fb0ff);
}

.ring {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -10px;
  bottom: 18%;
  border: 14px solid rgba(37, 99, 235, 0.16);
  border-radius: 50%;
}

.browser {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #d7e2f4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 39, 78, 0.10);
  width: 92%;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f6fb;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6deea;
}

.browser-bar span:nth-child(1) { background: #ff7b72; }
.browser-bar span:nth-child(2) { background: #ffc14d; }
.browser-bar span:nth-child(3) { background: #52d67a; }

.browser-bar em {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7a889d;
  font-style: normal;
  font-size: 0.72rem;
  padding: 4px 10px;
}

.browser-body {
  padding: 14px;
}

.mini-head {
  margin-bottom: 12px;
}

.mini-head b {
  display: block;
  font-size: 0.95rem;
}

.mini-head small {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-grid img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.phone {
  position: absolute;
  right: 0;
  bottom: -18px;
  z-index: 3;
  width: 126px;
  background: #0f172a;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 18px 30px rgba(15, 39, 78, 0.22);
}

.phone-notch {
  width: 42px;
  height: 6px;
  border-radius: 99px;
  background: #334155;
  margin: 4px auto 8px;
}

.phone-body {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 8px;
}

.phone-body b {
  display: block;
  font-size: 0.68rem;
  margin-bottom: 6px;
}

.phone-body img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 44ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: #bfd0ff;
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.section-head p {
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 46ch;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

.service-card,
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.service-card {
  padding: 24px;
  background: var(--soft);
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.service-card p,
.project-meta span {
  color: var(--muted);
  margin: 0;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card:hover {
  box-shadow: 0 16px 30px rgba(15, 39, 78, 0.08);
}

.project-meta {
  padding: 14px 16px 16px;
}

.project-meta strong {
  display: block;
}

.stats {
  background: var(--soft);
  padding: 18px 0;
}

.stats-row {
  display: grid;
  gap: 8px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 700;
  padding: 12px;
}

.stat svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  gap: 18px;
}

.about-grid h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  max-width: 16ch;
}

.contact {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  min-height: 1.2em;
  color: var(--muted);
  margin: 0;
}

.site-footer {
  background:
    radial-gradient(900px 180px at 10% 0, rgba(37, 99, 235, 0.22), transparent 55%),
    var(--footer);
  color: #d7def0;
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-inner strong {
  color: #fff;
}

.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contacts svg {
  width: 18px;
  height: 18px;
  color: #93a9ff;
}

@media (max-width: 979px) {
  .nav.open {
    display: grid;
    position: fixed;
    top: var(--header);
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    gap: 14px;
    z-index: 45;
    box-shadow: 0 18px 40px rgba(15, 39, 78, 0.12);
  }

  .hero {
    padding-bottom: 36px;
  }

  .hero-visual {
    min-height: 280px;
    margin-bottom: 12px;
  }

  .phone {
    width: 108px;
    bottom: -6px;
  }
}

.nav-cta {
  margin-top: 6px;
}

@media (min-width: 980px) {
  .menu-toggle,
  .nav-cta {
    display: none;
  }

  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 8px;
  }

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

  .hero {
    padding: 56px 0 36px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 0;
    gap: 48px;
    align-items: center;
  }

  .hero-visual {
    min-height: 420px;
  }

  .browser {
    width: 88%;
  }

  .mini-grid img {
    height: 96px;
  }

  .phone {
    width: 148px;
    bottom: -8px;
  }

  .phone-body img {
    height: 72px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-card img {
    height: 168px;
  }

  .stats-row,
  .footer-contacts {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
