:root {
  --text: #202124;
  --muted: #62666d;
  --line: #e8e9ed;
  --soft: #f5f6f8;
  --card: #ffffff;
  --accent: #e31b23;
  --accent-dark: #b9141b;
  --accent-soft: #fff1f1;
  --shadow: 0 20px 60px rgba(32, 33, 36, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-pin {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  position: relative;
  flex: 0 0 auto;
}

.brand-pin::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  left: 8px;
  top: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.contact-list a:hover {
  color: var(--accent);
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 86px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 21px;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(227, 27, 35, 0.2);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 650px;
}

.hero-stats div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.map-card {
  width: 100%;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8fa;
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.75;
}

.map-route {
  position: absolute;
  height: 16px;
  border-radius: 999px;
  background: #ffd34d;
  opacity: 0.9;
}

.route-one {
  width: 78%;
  left: -12%;
  top: 34%;
  transform: rotate(-16deg);
}

.route-two {
  width: 62%;
  right: -14%;
  bottom: 24%;
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
}

.main-pin {
  width: 58px;
  height: 58px;
  top: 74px;
  right: 84px;
}

.main-pin::after {
  width: 18px;
  height: 18px;
  left: 20px;
  top: 20px;
}

.small-pin {
  width: 26px;
  height: 26px;
  background: #2f3136;
}

.small-pin::after {
  width: 8px;
  height: 8px;
  left: 9px;
  top: 9px;
}

.pin-one {
  left: 88px;
  top: 124px;
}

.pin-two {
  right: 126px;
  bottom: 80px;
}

.company-card {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(32, 33, 36, 0.14);
}

.company-top,
.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.company-top h2 {
  margin: 0 0 2px;
  font-size: 22px;
}

.company-top p,
.growth-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.rating-row {
  margin: 20px 0;
  flex-wrap: wrap;
}

.stars {
  color: #ffbd2e;
  letter-spacing: 0;
}

.growth {
  height: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--soft);
}

.growth span {
  border-radius: 6px 6px 0 0;
  background: var(--accent);
}

.growth span:nth-child(1) { height: 36%; opacity: 0.45; }
.growth span:nth-child(2) { height: 52%; opacity: 0.6; }
.growth span:nth-child(3) { height: 72%; opacity: 0.8; }
.growth span:nth-child(4) { height: 94%; }

.section {
  padding: 82px 0;
}

.section-muted {
  background: var(--soft);
}

.section-head {
  max-width: 740px;
  margin-bottom: 34px;
}

.split-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 19px;
}

.diagnostics-section {
  position: relative;
  overflow: hidden;
}

.diagnostics-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(227, 27, 35, 0.07) 0 1px, transparent 1px),
    linear-gradient(rgba(227, 27, 35, 0.05) 0 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.diagnostics-section .container {
  position: relative;
}

.diagnostic-timer {
  width: 230px;
  min-height: 116px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(227, 27, 35, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(32, 33, 36, 0.08);
}

.diagnostic-timer span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.diagnostic-timer p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: stretch;
}

.checklist {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checklist li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: #2f3136;
  font-size: 19px;
  font-weight: 800;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li span {
  width: 26px;
  height: 26px;
  border: 2px solid #c7cad1;
  border-radius: 6px;
  background: #ffffff;
  flex: 0 0 auto;
}

.diagnostic-result {
  padding: 24px;
  border: 1px solid rgba(227, 27, 35, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(32, 33, 36, 0.08);
}

.diagnostic-result strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1.15;
}

.diagnostic-result p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
}

.diagnostic-result .button {
  width: 100%;
}

.compare-section {
  background: #ffffff;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  gap: 18px;
  align-items: center;
}

.compare-column {
  min-height: 430px;
  padding: 30px;
  border-radius: var(--radius);
}

.compare-column h3 {
  margin-bottom: 24px;
  font-size: 28px;
}

.compare-column ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-column li {
  display: flex;
  gap: 12px;
  color: #2f3136;
  font-size: 18px;
  font-weight: 800;
}

.compare-column li::before {
  flex: 0 0 auto;
}

.before-column {
  border: 1px solid #f0c7c9;
  background: #fff7f7;
}

.before-column h3 {
  color: var(--accent);
}

.before-column li::before {
  content: "✕";
  color: var(--accent);
}

.after-column {
  border: 1px solid #cde7d7;
  background: #f4fbf7;
}

.after-column h3 {
  color: #177a3d;
}

.after-column li::before {
  content: "✓";
  color: #177a3d;
}

.compare-arrow {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(227, 27, 35, 0.2);
}

.audience-section {
  position: relative;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.audience-grid div {
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
}

.audience-grid span {
  font-size: 34px;
  line-height: 1;
}

.audience-grid p {
  max-width: 220px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.24;
}

.audience-note {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.problems-section {
  position: relative;
  overflow: hidden;
}

.problems-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(227, 27, 35, 0.08) 0 1px, transparent 1px),
    linear-gradient(rgba(227, 27, 35, 0.05) 0 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.problems-section .container {
  position: relative;
}

.diagnostic-badge {
  width: 220px;
  min-height: 116px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(227, 27, 35, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(32, 33, 36, 0.08);
}

.diagnostic-badge span {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.diagnostic-badge p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}

.problem-grid,
.service-grid,
.case-grid,
.pricing-grid,
.review-grid {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.problem-grid div,
.service-card,
.case-card,
.price-card,
.review-card,
.audit-note,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.problem-grid div {
  min-height: 96px;
  padding: 18px;
  display: flex;
  align-items: center;
  font-weight: 800;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.05);
}

.problem-grid div::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 158px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  color: #a7abb2;
  font-size: 13px;
  color: var(--accent);
  font-weight: 900;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.service-card h3 {
  grid-column: 1 / -1;
  align-self: end;
  margin-bottom: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 39px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(227, 27, 35, 0.12));
}

.process-list li {
  min-height: 126px;
  padding: 22px;
  position: relative;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(32, 33, 36, 0.05);
}

.process-list span {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  font-weight: 800;
}

.case-grid,
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cases-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 54%, var(--soft) 54%, var(--soft) 100%);
}

.cases-section .section-head {
  padding-left: 22px;
  border-left: 5px solid var(--accent);
}

.case-card,
.price-card,
.review-card {
  padding: 24px;
}

.case-card {
  position: relative;
  overflow: hidden;
  background: #2f3136;
  color: #ffffff;
  border-color: #2f3136;
}

.case-card::after {
  content: "";
  position: absolute;
  width: 108px;
  height: 108px;
  right: -34px;
  top: -34px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.9);
}

.case-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: #d5d7dc;
}

.case-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.08;
}

.case-card span,
.price-card p,
.review-card span {
  color: var(--muted);
}

.case-card span {
  position: relative;
  z-index: 1;
  color: #d5d7dc;
}

.price-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.badge {
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.price {
  margin: 8px 0 12px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.price span {
  font-size: 17px;
  color: var(--muted);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

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

.review-card p {
  min-height: 120px;
  margin-bottom: 22px;
  color: #35373b;
}

.review-card strong,
.review-card span {
  display: block;
}

.audit-section {
  background: #2f3136;
  color: #ffffff;
}

.audit-section .eyebrow {
  color: #ff6b70;
}

.audit-section .section-lead,
.audit-note span {
  color: #d5d7dc;
}

.audit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.audit-note {
  max-width: 520px;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.audit-note strong,
.audit-note span {
  display: block;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.lead-form label,
.lead-form label span {
  display: block;
}

.lead-form label span {
  margin-bottom: 8px;
  color: #4b4f56;
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(227, 27, 35, 0.22);
  border-color: var(--accent);
}

.full {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #177a3d;
  font-weight: 800;
}

.contacts {
  padding: 42px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.contacts p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 10px;
  justify-items: end;
}

@media (max-width: 980px) {
  .hero-grid,
  .audit-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .split-head {
    align-items: start;
  }

  .diagnostic-panel,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    margin: 2px auto;
    transform: rotate(90deg);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .problem-grid,
  .service-grid,
  .process-list,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .split-head {
    display: grid;
  }

  .diagnostic-badge {
    width: 100%;
  }

  .diagnostic-timer {
    width: 100%;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    padding: 44px 0 50px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions,
  .hero-stats,
  .problem-grid,
  .service-grid,
  .process-list,
  .review-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .map-card {
    min-height: 380px;
  }

  .company-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .main-pin {
    right: 34px;
  }

  .pin-one {
    left: 44px;
  }

  .section {
    padding: 56px 0;
  }

  .diagnostic-panel {
    gap: 18px;
  }

  .checklist li {
    min-height: 54px;
    font-size: 16px;
  }

  .diagnostic-result strong {
    font-size: 22px;
  }

  .compare-column {
    min-height: auto;
    padding: 22px;
  }

  .compare-column h3 {
    font-size: 24px;
  }

  .compare-column li {
    font-size: 16px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid div {
    min-height: auto;
    grid-template-columns: 42px 1fr;
    align-items: center;
    align-content: center;
  }

  .audience-grid p {
    max-width: none;
    font-size: 16px;
  }

  .process-list::before {
    left: 38px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), rgba(227, 27, 35, 0.12));
  }

  .process-list li {
    padding-left: 68px;
  }

  .process-list span {
    position: absolute;
    left: 22px;
    top: 22px;
  }

  .problem-grid div,
  .service-card,
  .case-card,
  .price-card,
  .review-card {
    min-height: auto;
  }

  .price {
    font-size: 30px;
  }

  .review-card p {
    min-height: auto;
  }
}
