:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f2f5f9;
  --text: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --primary: #182234;
  --primary-2: #24324a;
  --accent: #f59f1a;
  --accent-dark: #dc8a0d;
  --blue: #3d78f2;
  --success: #20b26b;
  --shadow: 0 20px 50px rgba(20, 29, 43, 0.08);
  --shadow-soft: 0 12px 30px rgba(20, 29, 43, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 96px 0;
}

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

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.centered {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.light p,
.section-head.light .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 224, 234, 0.8);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #485264;
  font-size: 0.97rem;
  font-weight: 600;
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--accent-dark);
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 34, 52, 0.08);
  background: rgba(24, 34, 52, 0.04);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.header-phone:hover {
  background: rgba(245, 159, 26, 0.08);
  border-color: rgba(245, 159, 26, 0.35);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}

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

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(245, 159, 26, 0.25);
}

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

.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.section:not(.section-dark) .btn-secondary,
.contact-section .btn-secondary,
#pricing .btn-secondary {
  color: var(--primary);
  border-color: var(--line);
  background: #fff;
}

.section:not(.section-dark) .btn-secondary:hover,
.contact-section .btn-secondary:hover,
#pricing .btn-secondary:hover {
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 18px 0 22px;
  gap: 14px;
}

.mobile-menu-inner a {
  font-weight: 600;
  color: var(--primary);
}

.mobile-menu-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(24, 34, 52, 0.05);
  border: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 96px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: center;
}

.hero-text {
  max-width: 720px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .28;
}

.hero-bg-1 {
  width: 520px;
  height: 520px;
  background: #4f8fff;
  top: -120px;
  right: -120px;
}

.hero-bg-2 {
  width: 420px;
  height: 420px;
  background: #f59f1a;
  bottom: -160px;
  left: -80px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0 28px;
}

.stat-card {
  min-width: 180px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.stat-card strong {
  font-size: 1.18rem;
}

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

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,0.8);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 159, 26, 0.14);
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  transform: rotate(3deg);
}

.dashboard-card img {
  border-radius: 18px;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 6px 4px;
  color: var(--primary);
}

.dashboard-footer span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 4px;
}

.result-badge {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(32,178,107,0.14);
  color: var(--success);
  font-weight: 800;
}

.floating-note {
  position: absolute;
  left: -22px;
  bottom: 34px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--blue);
  font-weight: 800;
}

.floating-note.secondary {
  left: auto;
  right: -10px;
  top: 20px;
  color: var(--accent-dark);
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 24px 0;
}

.trust-item {
  padding: 12px 10px;
}

.trust-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
}

.trust-item span {
  color: var(--muted);
  font-size: .95rem;
}

.cards-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card,
.case-card,
.audience-card,
.value-card,
.cert-card,
.ps-card,
.price-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 28px;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.split-block {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-item {
  position: relative;
  padding: 16px 18px 16px 48px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.check-item::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 20px;
  height: 20px;
  color: var(--success);
  font-weight: 800;
}

.problem-solution {
  display: grid;
  gap: 18px;
}

.ps-card {
  padding: 28px;
}

.ps-card.highlighted {
  background: linear-gradient(180deg, #fff8ef, #fff);
  border-color: #f4d7a4;
}

.ps-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--accent-dark);
}

.case-card {
  overflow: hidden;
}

.case-image {
  height: 240px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-body {
  padding: 24px;
}

.tag-row {
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(61, 120, 242, 0.1);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.metric {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.metric span,
.case-foot span {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric strong {
  color: var(--primary);
  font-size: 1.45rem;
}

.case-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-foot strong {
  color: var(--success);
  font-size: 1.2rem;
}

.audience-grid,
.value-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.audience-card,
.value-card {
  padding: 26px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 30px;
}

.price-card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(245, 159, 26, 0.14);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.price-top p {
  min-height: 48px;
}

.price {
  margin-top: 18px;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 28px;
  display: grid;
  gap: 14px;
}

.price-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
}

.price-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: -1px;
  color: var(--accent);
  font-size: 1.3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.step-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.step-card p,
.step-card h3 {
  color: #fff;
}

.step-card p {
  color: rgba(255,255,255,0.74);
}

.cert-card {
  padding: 14px;
}

.cert-card img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
  object-position: center;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  font-size: 1.5rem;
  color: var(--accent-dark);
  transition: transform .2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 32px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-point {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-title {
  display: block;
  margin-bottom: 6px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
}

.contact-point a,
.contact-point span:last-child {
  color: var(--primary);
  font-weight: 700;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row input {
  min-height: 54px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 120, 242, 0.12);
}

.form-note {
  font-size: .88rem;
  text-align: center;
}

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.74);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-col,
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(24, 34, 52, 0.96);
  color: rgba(255,255,255,0.82);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner.hidden {
  display: none;
}

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

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

@media (max-width: 1100px) {
  .hero-grid,
  .split-block,
  .contact-grid,
  .footer-grid,
  .trust-grid,
  .cards-grid.three,
  .pricing-grid,
  .steps-grid,
  .audience-grid,
  .value-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    align-items: start;
  }

  .header-inner {
    gap: 16px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-phone {
    padding: 0 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 74px 0;
  }

  .nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-phone {
    display: inline-flex;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .split-block,
  .contact-grid,
  .footer-grid,
  .trust-grid,
  .cards-grid.three,
  .pricing-grid,
  .steps-grid,
  .audience-grid,
  .value-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .dashboard-card {
    transform: none;
  }

  .floating-note {
    position: static;
    display: inline-flex;
    margin-top: 14px;
    margin-right: 10px;
  }

  .price-card.featured {
    transform: none;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .logo {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-phone {
    font-size: 0.73rem;
    padding: 0 10px;
    min-height: 38px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
  }

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

  .stat-card {
    min-width: 100%;
  }

  .form-card {
    padding: 20px;
    border-radius: 22px;
  }

  .faq-question {
    padding: 18px;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }
}