:root {
  /* Фон бренда */
  --bg: #1d827d;
  --bg-deep: #166661;
  --bg-soft: #218a85;
  /* Поверхности: затемнённые оттенки того же тона (Adobe: shades) */
  --card: #155955;
  --card-media: #124f4b;
  --line: rgba(255, 255, 255, 0.22);
  /* Текст на #1D827D: светлые нейтрали (Adobe / WCAG) */
  --text: #ffffff;
  --text-soft: #f0faf9;
  --muted: #d4eeeb;
  --muted-dim: #b8e0dc;
  /* Акцент действий: тёплый контраст к холодному фону (Adobe: complement) */
  --accent-cta: #fff8ed;
  --accent-cta-text: #1a4a47;
  --accent-link: #fff8ed;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(15, 60, 57, 0.35);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  line-height: 1.55;
}

a { color: var(--accent-link); text-decoration: none; font-weight: 500; }
a:hover { color: var(--text); text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 64px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(22, 102, 97, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--text);
}
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent-cta);
  color: var(--accent-cta-text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--accent-cta-text);
}
.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.hero {
  margin-top: 48px;
  padding: 40px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, var(--bg-soft), var(--bg-deep));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}
.hero .lead {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px;
}
.hero .lead strong { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background: var(--card-media);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  max-height: 420px;
}
.hero-visual img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section { margin-top: 56px; }
.section h2 {
  margin: 0 0 20px;
  font-size: 1.55rem;
  color: var(--text);
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.card {
  padding: 0;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 60, 57, 0.2);
}
.card-media {
  margin: 0;
  flex: 0 0 auto;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--card-media);
  border-bottom: 1px solid var(--line);
}
.card-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.card-body {
  padding: 18px 20px 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.card p a { color: var(--accent-link); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  padding: 16px 16px 16px 56px;
  position: relative;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
  color: var(--muted);
}
.steps li strong { color: var(--text); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
}
.price-table td strong { color: var(--text); }
.price-table th {
  color: var(--text);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.12);
}
.price-table tr:hover td { background: rgba(255, 255, 255, 0.06); }
.price-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .hero-visual { order: -1; max-height: 320px; }
  .hero-visual img { max-height: 300px; }
}

@media (max-width: 640px) {
  .nav-links { width: 100%; }
  .card-media { height: 180px; min-height: 180px; max-height: 180px; }
}
