:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3fb;
  --text: #13233a;
  --text-muted: #4f6078;
  --primary: #1f66d1;
  --primary-dark: #184fa4;
  --border: #d9e2f1;
  --shadow: 0 12px 30px rgba(16, 36, 66, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.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.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 18px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-cta {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.hero {
  padding: 64px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f0fe;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(1.8rem, 4.3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface-muted);
  color: var(--text);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.hero-facts li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8eef8, #f8fbff);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-device-photo {
  display: block;
  width: 100%;
  max-width: 559px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.section {
  padding: 56px 0;
}

section[id] {
  scroll-margin-top: 88px;
}

.section-alt {
  background: #eff4fc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.9vw, 2rem);
}

h3 {
  margin-top: 0;
}

.section-lead {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 22px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list .card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.card img {
  border-radius: 10px;
  margin-bottom: 12px;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.spec-item span {
  color: var(--text-muted);
}

.spec-item strong {
  text-align: right;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.contact-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.contact-list span {
  color: var(--text-muted);
}

.contact-list a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.legal-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.legal-box p {
  margin: 8px 0;
}

.small-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
}

.form-status {
  margin: 2px 0 0;
  min-height: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-status.success {
  color: #0d7a3a;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 30px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copy p {
  margin: 0 0 4px;
}

.yandex-iks img {
  display: block;
  border: 0;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .contacts-grid,
  .cards.three,
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
