* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7fb;
  color: #17212b;
}

a {
  color: inherit;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ef;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  color: #0b4f8a;
  text-decoration: none;
}

.header-cta,
.btn {
  display: inline-block;
  background: #0b5cad;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.header-cta:hover,
.btn:hover {
  background: #084985;
}

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 18px 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.badge {
  display: inline-block;
  background: #e8f2ff;
  color: #07559c;
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 18px;
  color: #101828;
}

h2 {
  font-size: 30px;
  margin: 0 0 16px;
  color: #101828;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: #101828;
}

p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.hero-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  margin: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 17px;
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0b5cad;
  font-weight: 800;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.form-card {
  position: sticky;
  top: 92px;
}

input,
select {
  width: 100%;
  padding: 13px;
  margin: 8px 0;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  font-size: 16px;
  background: #ffffff;
}

.checkbox {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin: 12px 0;
  color: #384454;
}

.checkbox input {
  width: auto;
  margin-right: 6px;
}

button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  font-size: 18px;
  font-weight: 800;
  background: #0b5cad;
  color: #ffffff;
  cursor: pointer;
}

button:hover {
  background: #084985;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.small {
  font-size: 12px;
  color: #667085;
  margin-top: 12px;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 18px;
}

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

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

.steps {
  counter-reset: step;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #0b5cad;
  color: white;
  font-weight: 800;
  margin-bottom: 12px;
}

.notice {
  background: #fff7e6;
  border: 1px solid #ffd591;
  color: #614700;
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
}

.footer {
  background: #101828;
  color: #d0d5dd;
  padding: 28px 18px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  font-size: 14px;
}

.footer a {
  color: #ffffff;
}

.message {
  display: none;
  padding: 12px;
  border-radius: 10px;
  margin-top: 12px;
  font-size: 14px;
}

.message.ok {
  background: #e6f7ed;
  color: #176b3a;
}

.message.err {
  background: #fdecea;
  color: #a61b1b;
}

@media(max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-card {
    position: static;
  }

  .header-inner {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
}
.autocomplete-wrap {
  position: relative;
}

.suggestions {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  margin-top: 4px;
  max-height: 230px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

.suggestion-item {
  padding: 11px 13px;
  cursor: pointer;
  font-size: 15px;
  border-bottom: 1px solid #edf1f7;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #e8f2ff;
}

.suggestion-main {
  font-weight: 700;
  color: #101828;
}

.suggestion-sub {
  font-size: 12px;
  color: #667085;
}

.selected-city-box {
  display: none;
  font-size: 13px;
  background: #e6f7ed;
  color: #176b3a;
  padding: 9px 11px;
  border-radius: 10px;
  margin: 6px 0 10px;
}
