:root {
  --bg: #f7f9fc;
  --text: #102033;
  --muted: #607086;
  --primary: #143f7d;
  --primary-dark: #0d2f62;
  --accent: #f7941d;
  --card: #ffffff;
  --border: #dbe4f0;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.brand strong {
  font-size: 22px;
  color: var(--text);
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
}

.menu a:hover {
  color: var(--primary);
}

.menu-button {
  display: none;
  border: 0;
  background: var(--primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 22px;
}

.hero {
  padding: 74px 0;
  background:
    radial-gradient(circle at top right, rgba(247, 148, 29, 0.20), transparent 30%),
    linear-gradient(135deg, #f7f9fc 0%, #eaf1fb 100%);
}

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

.badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: #e8f1ff;
  border: 1px solid #cfe1fb;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1,
.section h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
}

.features {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.features div {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 30px;
}

.contact-card h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.contact-card p,
.contact-card small {
  color: var(--muted);
}

.contact-card label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 16px;
  background: #fff;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 63, 125, 0.12);
}

button[type="submit"] {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
}

button[type="submit"]:hover {
  filter: brightness(1.08);
}

.contact-card small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
}

.success-message {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  background: #edf9f0;
  border: 1px solid #bce7c6;
  color: #1f7a35;
  border-radius: 14px;
  font-weight: 700;
}

.success-message.show {
  display: block;
}

.section {
  padding: 82px 0;
}

.muted {
  background: #ffffff;
}

.two-columns,
.contact-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.text-block p,
.policy p,
.contact-section p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 17px;
}

.info-grid,
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.info-grid div,
.contact-info div,
.cards article,
.steps article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.info-grid strong,
.contact-info strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.info-grid span,
.contact-info span {
  color: var(--muted);
}

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

.steps span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 20px;
}

.steps h3,
.cards h3,
.policy h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.steps p,
.cards p {
  color: var(--muted);
}

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

.cards article {
  border-top: 5px solid var(--accent);
}

.policy {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
}

.policy h3:not(:first-child) {
  margin-top: 28px;
}

.footer {
  background: #0e1d31;
  color: #fff;
  padding: 36px 0 18px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer p,
.copy {
  color: #b8c4d4;
}

.footer a {
  display: inline-block;
  color: #dbe8ff;
  margin-left: 20px;
}

.copy {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
}

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

  .menu {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .hero-grid,
  .two-columns,
  .contact-section,
  .steps,
  .cards,
  .info-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 46px 0;
  }

  .section {
    padding: 58px 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer a {
    margin-left: 0;
    margin-right: 18px;
    margin-top: 10px;
  }
}
