body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05060a;
  color: #f5f5f5;
}

a {
  color: #ffd54f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  padding: 60px 10%;
  background: radial-gradient(circle at top left, #22263a, #05060a);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1rem;
  color: #bbbbbb;
}

.hero-offer {
  margin-top: 20px;
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-tags {
  margin-top: 10px;
  color: #ffd54f;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background: #ffd54f;
  color: #05060a;
  border-radius: 4px;
  font-weight: 600;
}

.hero-photo img {
  max-width: 260px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

section {
  padding: 40px 10%;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.stats li {
  margin-bottom: 6px;
}

.why-line {
  margin-top: 10px;
  color: #ffd54f;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.benefit {
  background: #11141f;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
}

.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: #11141f;
  border-radius: 6px;
  padding: 16px;
}

.service-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.link-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

.results-list {
  list-style: none;
  padding: 0;
}

.results-list li {
  margin-bottom: 6px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.about-photo img {
  max-width: 220px;
  border-radius: 8px;
}

.about-text p {
  margin-bottom: 10px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.case-card {
  background: #11141f;
  border-radius: 6px;
  padding: 14px;
}

.footer {
  padding: 30px 10%;
  background: #020308;
  text-align: center;
  font-size: 0.95rem;
}

.services-page .service-full {
  border-bottom: 1px solid #22263a;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.price {
  color: #ffd54f;
  font-weight: 600;
}

.link-back {
  color: #ffd54f;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f5;
  font-size: 1rem;
}

.contact-link img {
  width: 32px;
  height: 32px;
}

.contact-link:hover {
  color: #ffd54f;
}

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

/* --- Доработка исходного сайта: сохраняем базовый стиль --- */
:root {
  --bg: #05060a;
  --bg-soft: #090b12;
  --panel: #11141f;
  --panel-2: #0d1119;
  --gold: #ffd54f;
  --gold-soft: #d5a944;
  --text: #f5f5f5;
  --muted: #b8bcc5;
  --line: rgba(255, 213, 79, 0.18);
}

html { scroll-behavior: smooth; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { width: 220px; max-height: 52px; object-fit: contain; object-position: left center; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { color: #dddfe5; font-size: 0.92rem; }
.main-nav a:hover { color: var(--gold); text-decoration: none; }
.nav-cta { background: var(--gold); color: #05060a !important; padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; }

.hero { padding-top: 64px; }
.hero-content { width: min(1180px, 100%); margin: 0 auto; justify-content: space-between; }
.hero-text { flex: 1 1 520px; }
.hero-photo { flex: 0 0 auto; }

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 24px;
}
.section-title-row h2 { margin-bottom: 0; }
.section-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; margin: 0 0 8px; }
.section-lead { max-width: 560px; margin: 0; color: var(--muted); font-size: .98rem; }
.section-dark { background: var(--bg-soft); }

.info-grid, .results-grid, .audience-grid, .process-grid {
  display: grid;
  gap: 16px;
}
.info-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-card, .result-card, .audience-card, .process-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.03);
  border-radius: 6px;
  padding: 18px;
}
.info-card strong, .result-card strong { display: block; margin-top: 8px; font-size: 1rem; }
.info-card p, .result-card span, .audience-card p, .process-card p { color: var(--muted); margin: 6px 0 0; font-size: .9rem; }
.mini-icon { color: var(--gold); font-size: 1.5rem; }

.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.benefit { min-height: 126px; display: flex; flex-direction: column; justify-content: flex-start; }
.benefit strong { display: block; margin-bottom: 8px; }
.benefit span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.compact-benefits { grid-template-columns: repeat(4, 1fr); }

.service-card { padding: 0; overflow: hidden; }
.service-card img { margin-bottom: 0; aspect-ratio: 3/2; object-fit: cover; }
.service-body { padding: 16px; }

.results-grid { grid-template-columns: repeat(3, 1fr); }
.result-card { min-height: 130px; }

.about-content { align-items: center; justify-content: space-between; }
.about-photo-round { flex: 0 0 360px; }
.about-photo-round img { max-width: 360px; width: 100%; border-radius: 50%; border: 1px solid rgba(255,213,79,.28); }
.about-text { flex: 1 1 520px; }
.about-text h2 { margin-top: 0; }
.about-text li { margin-bottom: 8px; }
.btn-secondary { display: inline-block; margin-top: 14px; padding: 10px 18px; border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; font-weight: 600; }
.btn-secondary:hover { text-decoration: none; background: rgba(255,213,79,.06); }

.case-card span { color: var(--gold); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.case-card h3 { margin-bottom: 6px; }
.case-card p { color: var(--muted); margin: 0; }

.footer { padding-top: 48px; padding-bottom: 48px; }
.footer h2 { margin-top: 0; }

/* About page */
.page-header { padding: 56px 10%; background: radial-gradient(circle at top left, #22263a, #05060a); }
.page-header h1 { font-size: 2.5rem; margin: 0 0 8px; }
.page-header p { color: var(--muted); }
.page-head-inner { width: min(1180px, 100%); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.page-head-photo { flex: 0 0 280px; }
.page-head-photo img { width: 280px; border-radius: 50%; border: 1px solid rgba(255,213,79,.28); }
.process-grid { grid-template-columns: repeat(5, 1fr); }
.process-card span { color: rgba(255,213,79,.35); font-size: 2rem; font-weight: 800; }
.process-card h3 { margin: 8px 0 0; }
.audience-grid { grid-template-columns: repeat(4, 1fr); }

/* Services page */
.services-page main { background: #05060a; }
.services-page .service-full {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 38px;
  align-items: center;
  padding: 52px 10%;
  margin: 0;
}
.services-page .service-full:nth-child(even) { background: #090b12; }
.services-page .service-full.reverse .service-copy { order: 2; }
.services-page .service-full.reverse .service-visual { order: 1; }
.service-visual img { width: 100%; border-radius: 6px; box-shadow: 0 0 30px rgba(0,0,0,.45); }
.service-copy h2 { margin-top: 0; }
.service-copy li { margin-bottom: 7px; }

@media (max-width: 1050px) {
  .info-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .brand img { width: 180px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #05060a;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .section-title-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .about-photo-round { flex-basis: 280px; }
  .about-photo-round img { max-width: 280px; }
  .services-page .service-full { grid-template-columns: 1fr; }
  .services-page .service-full.reverse .service-copy,
  .services-page .service-full.reverse .service-visual { order: initial; }
}

@media (max-width: 640px) {
  .brand img { width: 150px; }
  .info-grid-5, .benefits, .compact-benefits, .results-grid, .process-grid, .audience-grid { grid-template-columns: 1fr; }
  .page-head-inner { flex-direction: column; align-items: flex-start; }
  .page-head-photo { flex-basis: auto; }
  .page-head-photo img { width: 220px; }
}


/* Версия 5: точечные доработки без смены общего стиля */
.info-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trust-card {
  border-color: rgba(255,213,79,.22);
  background: linear-gradient(180deg, #11141f 0%, #0d1421 100%);
}

/* Живой визуал на странице услуг: серо-синяя светящаяся рамка */
.service-visual {
  position: relative;
  padding: 3px;
  border-radius: 10px;
  background: linear-gradient(135deg, #566b86 0%, #c9d7e7 48%, #526983 100%);
  box-shadow:
    0 0 0 1px rgba(151, 180, 215, .22),
    0 0 18px rgba(92, 135, 184, .28),
    0 0 42px rgba(55, 91, 132, .18);
}

.service-visual img {
  display: block;
  border-radius: 7px;
  margin: 0;
}

/* Кейсы */
.cases-grid-6 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  border: 1px solid rgba(255,213,79,.08);
  padding: 20px;
}

.case-card p {
  line-height: 1.5;
  margin-top: 10px;
}

.case-card p strong {
  color: #f5f5f5;
}

.case-result {
  padding-top: 10px;
  border-top: 1px solid rgba(255,213,79,.12);
  color: #ffd54f !important;
}

@media (max-width: 1200px) {
  .info-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
  .cases-grid-6 { grid-template-columns: 1fr; }
}

/* v6.1 — mobile-only refinement; desktop HTML untouched */
@media (max-width: 700px) {
  .page-header {
    padding: 30px 20px 24px;
  }
  .page-header h1 {
    font-size: 2rem;
    line-height: 1.12;
    margin-bottom: 8px;
  }
  .page-header p {
    font-size: .96rem;
    line-height: 1.45;
    margin: 0;
  }

  .services-page .service-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 20px;
  }

  /* На мобильном всегда: заголовок + цена + текст + визуал + список */
  .services-page .service-full .service-copy,
  .services-page .service-full.reverse .service-copy {
    order: 1;
  }
  .services-page .service-full .service-visual,
  .services-page .service-full.reverse .service-visual {
    order: 2;
    margin: 4px 0 8px;
  }

  .service-copy h2 {
    font-size: 1.32rem;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .service-copy .price {
    display: inline-block;
    margin: 0 0 10px;
    padding: 7px 11px;
    border: 1px solid rgba(255,213,79,.22);
    border-radius: 999px;
    background: rgba(255,213,79,.07);
    color: #ffd54f;
    font-weight: 700;
  }

  .service-copy p {
    font-size: .96rem;
    line-height: 1.48;
  }

  .service-visual {
    padding: 2px;
    border-radius: 9px;
  }

  .service-visual img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 7px;
  }

  .service-copy ul {
    padding-left: 18px;
    margin: 14px 0;
  }
  .service-copy li {
    font-size: .94rem;
    line-height: 1.42;
    margin-bottom: 7px;
  }

  .footer {
    padding: 24px 20px 28px;
  }
}


/* v6.2 — about page header refinement */
.about-page-head {
  padding-top: 46px;
  padding-bottom: 42px;
}

.about-head-copy {
  max-width: 700px;
}

.about-page-head .section-kicker {
  font-size: .9rem;
  margin-bottom: 10px;
}

.about-page-head h1 {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

.about-role {
  font-size: 1.12rem;
  font-weight: 700;
  color: #eef1f7;
  margin: 0 0 14px;
}

.about-intro {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}

.about-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.about-trust-card {
  background: linear-gradient(180deg, rgba(17,20,31,.96) 0%, rgba(10,13,21,.96) 100%);
  border: 1px solid rgba(255,213,79,.16);
  border-radius: 8px;
  padding: 16px 18px;
  min-height: 92px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.about-trust-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.about-trust-card span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .about-trust-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .about-page-head {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .about-page-head h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .about-page-head .section-kicker {
    font-size: .82rem;
    margin-bottom: 8px;
  }

  .about-role {
    font-size: 1rem;
    line-height: 1.45;
  }

  .about-intro {
    font-size: .95rem;
    line-height: 1.5;
  }

  .about-trust-row {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .about-trust-card {
    min-height: auto;
    padding: 14px 15px;
  }
}
