:root {
  --bg: #f3f4f6;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --line: #d9dde5;
  --dark: #1f2937;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-soft: #fff4d8;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.09);
  --shadow-soft: 0 12px 32px rgba(17, 24, 39, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font-family: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-sprite symbol {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 41, 55, 0.08), transparent 32%),
    var(--bg);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 244, 246, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 221, 229, 0.8);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 23px;
  color: var(--dark);
  white-space: nowrap;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--dark), #111827);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.25);
  transform: rotate(-40deg);
  right: -5px;
  top: 10px;
}

.logo-mark svg {
  width: 25px;
  height: 25px;
  position: relative;
  z-index: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: var(--white);
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.burger span {
  top: 21px;
}

.burger::before {
  top: 14px;
}

.burger::after {
  top: 28px;
}

.burger.is-open span {
  opacity: 0;
}

.burger.is-open::before {
  top: 21px;
  transform: rotate(45deg);
}

.burger.is-open::after {
  top: 21px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

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

.btn-primary {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.26);
}

.btn-primary:hover {
  background: #fbbf24;
  box-shadow: 0 20px 38px rgba(245, 158, 11, 0.33);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
  border-color: var(--line);
}

.hero {
  position: relative;
  padding: 84px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.74fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #374151;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.16);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  color: #111827;
}

.hero-text {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: 19px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.meta-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(217, 221, 229, 0.86);
  box-shadow: var(--shadow-soft);
}

.meta-card strong {
  display: block;
  font-size: 17px;
  color: var(--dark);
  line-height: 1.25;
}

.meta-card span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  min-height: 540px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    repeating-linear-gradient(45deg, rgba(31, 41, 55, 0.04) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(217, 221, 229, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 28px;
  isolation: isolate;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.hero-panel::before {
  width: 230px;
  height: 230px;
  background: rgba(245, 158, 11, 0.18);
  right: -78px;
  top: -78px;
}

.hero-panel::after {
  width: 210px;
  height: 210px;
  background: rgba(31, 41, 55, 0.06);
  left: -70px;
  bottom: -80px;
}

.tool-visual {
  position: absolute;
  inset: 22px;
}

.visual-card {
  position: absolute;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  animation: float 6s ease-in-out infinite;
}

.visual-card:nth-child(1) {
  width: 210px;
  top: 20px;
  left: 0;
}

.visual-card:nth-child(2) {
  width: 230px;
  top: 128px;
  right: 4px;
  animation-delay: -1.3s;
}

.visual-card:nth-child(3) {
  width: 245px;
  bottom: 70px;
  left: 30px;
  animation-delay: -2.4s;
}

.visual-card:nth-child(4) {
  width: 175px;
  right: 18px;
  bottom: 34px;
  animation-delay: -3.1s;
}

.visual-icon,
.icon-box {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.visual-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 13px;
}

.visual-icon svg {
  width: 31px;
  height: 31px;
}

.visual-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.22;
  color: var(--dark);
}

.visual-card span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.hero-badge {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(145deg, #111827, #374151);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.27);
  border: 8px solid rgba(255, 255, 255, 0.8);
}

.hero-badge strong {
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
}

.hero-badge span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.25;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

section {
  padding: 72px 0;
  scroll-margin-top: 94px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head.center {
  display: block;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--dark);
}

.section-subtitle {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.benefits-grid,
.categories-grid,
.audience-grid,
.steps-wrap {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.audience-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.steps-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.benefit-card,
.category-card,
.audience-card,
.step-card,
.contact-card,
.form-card,
.request-note {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.benefit-card,
.category-card,
.audience-card,
.step-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.benefit-card,
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 18px;
}

.icon-box svg {
  width: 30px;
  height: 30px;
}

.benefit-card h3,
.category-card h3,
.audience-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
  color: var(--dark);
}

.benefit-card p,
.category-card p,
.audience-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.categories,
.contacts {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-card {
  min-height: 218px;
  padding: 22px;
}

.category-card p {
  font-size: 14px;
}

.promo-band {
  padding: 0;
}

.promo-inner {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #111827, #374151);
  color: var(--white);
  padding: 46px;
  box-shadow: var(--shadow);
}

.promo-inner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -90px;
  top: -120px;
  background: rgba(245, 158, 11, 0.23);
}

.promo-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.promo-content h2 {
  color: var(--white);
  max-width: 760px;
}

.promo-content p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 780px;
  margin: 14px 0 0;
  font-size: 17px;
}

.audience-card {
  min-height: 190px;
}

.audience-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 18px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--dark);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.step-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  right: -48px;
  bottom: -58px;
}

.contacts-grid,
.request-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.contacts-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
}

.request-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
}

.contact-card,
.form-card,
.request-note {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 2px;
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.map-box {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 100%;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.request-note ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.request-note li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.request-note li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.form-card form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--dark);
  font-weight: 800;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 15px 16px;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-weight: 800;
}

.form-message.is-visible {
  display: block;
}

.site-footer {
  padding: 32px 0;
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-radius: 14px;
  }

  .burger {
    display: block;
  }

  .hero-grid,
  .contacts-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  .visual-card:nth-child(1) {
    top: 0;
    left: 0;
  }

  .visual-card:nth-child(2) {
    top: 70px;
    right: 0;
  }

  .visual-card:nth-child(3) {
    bottom: 0;
    left: 0;
  }

  .visual-card:nth-child(4) {
    right: 20px;
    bottom: 0;
  }

  .benefits-grid,
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .map-box iframe {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    top: 70px;
    left: 12px;
    right: 12px;
  }

  .logo {
    font-size: 19px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .hero h1 {
    letter-spacing: -0.055em;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta,
  .benefits-grid,
  .categories-grid,
  .audience-grid,
  .steps-wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
    padding: 18px;
  }

  .tool-visual {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .visual-card {
    position: static;
    width: 100% !important;
    animation: none;
  }

  .hero-badge {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    border-radius: 24px;
    margin: 12px 0 0;
  }

  section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .promo-inner {
    padding: 30px 22px;
    border-radius: 26px;
  }

  .promo-content {
    grid-template-columns: 1fr;
  }

  .promo-content .btn {
    width: 100%;
  }

  .contact-card,
  .form-card,
  .request-note {
    padding: 22px;
    border-radius: 24px;
  }

  .map-box {
    border-radius: 24px;
  }

  .map-box iframe {
    min-height: 360px;
  }

  .footer-inner {
    display: grid;
    gap: 14px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
