﻿:root {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #0f172a;
  background-color: #f5f6fb;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f6fb;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
}

.hero {
  background: #0b1226;
  color: #f5f6fb;
  padding: 3rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.hero__content {
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: #9aa3c3;
}

.hero__lead {
  font-size: 1.25rem;
  color: #e1e6ff;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: #ff9f43;
  color: #0b1226;
}

.btn--ghost {
  background: transparent;
  color: #f5f6fb;
  border-color: #f5f6fb;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero__meta {
  min-width: 220px;
  font-size: 0.95rem;
  color: #b6bfdf;
  line-height: 1.6;
}

.section {
  padding: 0 5vw;
}

.section__header h2 {
  margin: 0;
  font-size: 2rem;
}

.section__header p {
  margin-top: 0.5rem;
  max-width: 640px;
  color: #475467;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.card--case {
  border: 1px solid #e2e8f0;
}

.card__meta {
  font-size: 0.9rem;
  color: #475467;
  margin-top: 1rem;
  display: inline-block;
}

.advantages__list {
  margin: 0;
  padding-left: 1.25rem;
  color: #0f172a;
  display: grid;
  gap: 0.4rem;
}

.process__steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.process__steps li {
  padding-left: 1.75rem;
  position: relative;
  color: #0f172a;
}

.process__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #0b1226;
  color: #f5f6fb;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__inner {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  max-width: 720px;
  margin-top: 2rem;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: #0b1226;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

input,
select,
textarea {
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.form__checkboxes {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.form__checkboxes label {
  font-weight: 400;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.form__hint {
  margin: 0;
  color: #64748b;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contacts__link {
  font-size: 1.2rem;
  color: #0b1226;
  font-weight: 600;
}

.contacts__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer {
  padding: 1.5rem 5vw;
  color: #475467;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero__actions {
    flex-direction: column;
  }
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
  background: radial-gradient(circle at top right, rgba(255, 159, 67, 0.9), transparent 55%),
    linear-gradient(145deg, rgba(15, 17, 38, 0.1), rgba(15, 17, 38, 0.05));
}

.card::after {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  opacity: 0.35;
}

.services .card:nth-of-type(1)::before {
  background: radial-gradient(circle at 20% 15%, rgba(255, 159, 67, 0.85), transparent 45%),
    linear-gradient(180deg, rgba(15, 17, 38, 0.08), rgba(11, 18, 38, 0.2));
}
.services .card:nth-of-type(2)::before {
  background: radial-gradient(circle at 80% 20%, rgba(255, 94, 58, 0.8), transparent 40%),
    linear-gradient(155deg, rgba(255, 159, 67, 0.15), rgba(11, 18, 38, 0.2));
}
.services .card:nth-of-type(3)::before {
  background: radial-gradient(circle at 50% 20%, rgba(15, 136, 255, 0.9), transparent 50%),
    linear-gradient(135deg, rgba(15, 17, 38, 0.08), rgba(11, 18, 38, 0.25));
}
.services .card:nth-of-type(4)::before {
  background: radial-gradient(circle at 30% 30%, rgba(255, 221, 153, 0.9), transparent 45%),
    linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(11, 18, 38, 0.2));
}
.services .card:nth-of-type(5)::before {
  background: radial-gradient(circle at 80% 40%, rgba(255, 255, 102, 0.8), transparent 50%),
    linear-gradient(135deg, rgba(11, 18, 38, 0.08), rgba(15, 17, 38, 0.25));
}
.services .card:nth-of-type(6)::before {
  background: radial-gradient(circle at 20% 70%, rgba(15, 136, 255, 0.6), transparent 45%),
    linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(11, 18, 38, 0.25));
}
