:root{
  --blue:#18284b;
  --accent:#2f64c8;
  --soft:#f5f8fc;
  --green:#1b8f6a;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--blue);
  background:white;
}

.topbar{
  position:sticky;
  top:0;
  background:white;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 5%;
  box-shadow:0 2px 14px #0001;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.brand img{
  width:62px;
  height:62px;
  object-fit:contain;
}

.brand b{
  font-size:24px;
  display:block;
}

.brand span{
  font-size:13px;
  color:#4d5870;
}

nav{
  display:flex;
  gap:28px;
}

nav a{
  color:var(--blue);
  text-decoration:none;
  font-weight:700;
}

.hero{
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(320px,0.9fr) minmax(420px,1.1fr);
  gap:46px;
  align-items:center;
  padding:70px 5%;
  background:#fff;
}

.hero-text{max-width:620px}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:800;
  color:#2f64c8;
}

h1{
  font-size:64px;
  line-height:1.02;
  margin:10px 0 22px;
}

h2{
  text-align:center;
  font-size:34px;
  margin:0 0 30px;
}

.hero p{
  font-size:21px;
  line-height:1.6;
}

.actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.btn,button{
  background:var(--accent);
  color:white;
  padding:15px 22px;
  border-radius:12px;
  text-decoration:none;
  border:0;
  font-weight:800;
  cursor:pointer;
}

.btn.light{
  background:white;
  color:var(--blue);
  box-shadow:0 8px 24px #0001;
  border:1px solid #e6eaf1;
}

.hero-visual{
  width:100%;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(24,40,75,.12);
}

.hero-visual img{
  width:100%;
  display:block;
}

.section{padding:60px 5%}

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

.cards article{
  background:white;
  border:1px solid #e6eaf1;
  border-radius:20px;
  padding:34px 24px;
  text-align:center;
  box-shadow:0 14px 30px #0000000a;
}

.cards span{font-size:44px}
.cards h3{font-size:21px}
.cards p{line-height:1.55;color:#46506a}

.form-section{background:var(--soft)}

form{
  max-width:720px;
  margin:auto;
  display:grid;
  gap:14px;
}

input,select,textarea{
  width:100%;
  padding:15px;
  border:1px solid #d9deea;
  border-radius:12px;
  font:inherit;
}

textarea{min-height:120px}

.privacy-note{
  margin:0;
  color:#667085;
  font-size:14px;
  text-align:center;
}

.contacts{
  margin:40px 5%;
  background:#f0f5fb;
  border-radius:20px;
  padding:22px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.contacts a{
  color:var(--accent);
  text-decoration:none;
}

footer{
  text-align:center;
  background:var(--blue);
  color:white;
  padding:22px;
}

@media(max-width:1000px){
  .hero{
    grid-template-columns:1fr;
    padding:44px 6%;
  }
  .hero-text{max-width:100%}
  h1{font-size:50px}
  .cards{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:800px){
  .topbar{align-items:flex-start}
  .brand b{font-size:19px}
  nav{display:none}
  h1{font-size:44px}
  .hero p{font-size:18px}
  .cards,.contacts{grid-template-columns:1fr}
}
