* {
  box-sizing: border-box;
}

:root {
  --bg: #070b10;
  --bg-soft: #101823;
  --bg-muted: #f4f7fb;
  --text: #10151c;
  --text-muted: #5e6a78;
  --white: #ffffff;
  --blue: #1688e8;
  --blue-dark: #0b5fa8;
  --line: rgba(255,255,255,.14);
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 16, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #7bd4ff);
  color: var(--white);
  font-weight: 800;
  letter-spacing: .5px;
}

.brand strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.84);
  font-size: .95rem;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
}

.hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(22,136,232,.35), transparent 34%),
    linear-gradient(135deg, #05080c 0%, #101824 56%, #07111d 100%);
  color: var(--white);
  padding: 86px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  margin: 0 0 10px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.lead {
  color: rgba(255,255,255,.78);
  font-size: 1.16rem;
  max-width: 690px;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(255,255,255,.28);
  color: var(--white);
  background: transparent;
}

.contact-section .btn-ghost {
  border-color: rgba(16,21,28,.18);
  color: var(--text);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.78);
}

.trust-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-right: 8px;
}

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.card-topline {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #82d6ff);
}

.hero-card h2 {
  font-size: 2rem;
  margin-top: 8px;
}

.person {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  color: rgba(255,255,255,.88);
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 1.06rem;
}

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

.service-card,
.info-box,
.contact-form {
  border: 1px solid #e6edf5;
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 35, .07);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eaf5ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card p {
  color: var(--text-muted);
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.section-dark {
  background: var(--bg);
  color: var(--white);
}

.section-dark .section-head p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step span {
  color: var(--blue);
  font-weight: 900;
}

.step p {
  color: rgba(255,255,255,.7);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 220px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22,136,232,.85), rgba(5,8,12,.9)),
    repeating-linear-gradient(45deg, #dfe7ef 0 10px, #edf3f8 10px 20px);
  display: flex;
  align-items: end;
  padding: 22px;
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.section-muted {
  background: var(--bg-muted);
}

.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
}

.info-box a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-section {
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 0;
}

.site-footer {
  background: var(--bg);
  color: rgba(255,255,255,.76);
  padding: 34px 0;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 920px) {
  .menu-btn {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 78px;
    background: #101823;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 58px 0 52px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .steps,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }

  .hero-card {
    padding: 26px;
  }

  .btn {
    width: 100%;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 32px;
  align-items: center;
}

.cert-cards {
  display: grid;
  gap: 16px;
}

.cert-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 45px rgba(16, 24, 35, .07);
}

.cert-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #7bd4ff);
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.cert-card h3 {
  margin-bottom: 6px;
}

.cert-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.small-note {
  color: var(--text-muted);
  font-size: .94rem;
}
