* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.5;
}

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

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

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

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}

.nav a:hover {
  color: #2563eb;
}

.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  color: #111827;
}

.hero p {
  margin: 0 0 28px;
  max-width: 680px;
  font-size: 18px;
  color: #4b5563;
}

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

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 24px;
  font-size: 32px;
  color: #111827;
}

.section-accent {
  background: #ffffff;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #111827;
}

.card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 12px;
  color: #374151;
}

.contact-form {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font: inherit;
  background: #ffffff;
  color: #111827;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.btn-block {
  width: 100%;
  border: none;
  cursor: pointer;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cards-3,
  .cards-4,
  .contacts-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-3,
  .cards-4,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 0;
  }

  .nav {
    gap: 14px;
  }
}
