:root {
  --text: #1f2328;
  --muted: #6b7280;
  --accent: #087f7a;
  --accent-hover: #066b67;
  --accent-soft: #e5f3f2;
  --page: #f8fbfc;
  --white: #ffffff;
  --border: #d9e8e7;
  --border-soft: #edf2f2;
  --shadow: 0 18px 44px rgba(19, 53, 56, 0.09);
  --shadow-small: 0 10px 28px rgba(19, 53, 56, 0.07);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

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

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding: 92px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(229, 243, 242, 0.62), rgba(248, 251, 252, 0.35));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(248, 251, 252, 0.9);
  border-bottom: 1px solid rgba(217, 232, 231, 0.7);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
}

.header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo__img {
  width: 64px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo__text {
  display: grid;
  line-height: 1.12;
}

.logo strong {
  font-size: 18px;
  letter-spacing: 0;
}

.logo small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #394047;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  transition: color 0.2s ease;
}

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

.header__contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 700;
}

.phone {
  white-space: nowrap;
}

.telegram {
  color: var(--accent);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 22px rgba(8, 127, 122, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(8, 127, 122, 0.22);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.btn--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.btn--ghost {
  background: var(--white);
  color: var(--accent);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  box-shadow: none;
}

.btn--wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 76px 0 86px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 18, 49, 0.9) 0%, rgba(14, 37, 80, 0.68) 34%, rgba(4, 126, 121, 0.2) 72%, rgba(4, 126, 121, 0.08) 100%),
    url("../img/hero-analytics-bg.png") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(3, 8, 31, 0.1), rgba(3, 8, 31, 0.22)),
    radial-gradient(circle at 16% 52%, rgba(255, 255, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__screen-report {
  position: absolute;
  top: clamp(122px, 20vh, 176px);
  right: clamp(120px, 8vw, 184px);
  z-index: 1;
  width: clamp(330px, 22vw, 412px);
  height: clamp(206px, 14vw, 252px);
  overflow: hidden;
  clip-path: polygon(7% 0, 100% 0, 91% 100%, 0 91%);
  transform: perspective(900px) rotateX(2deg) rotateY(-10deg) skew(-2.5deg, 0deg);
  transform-origin: center;
  pointer-events: none;
}

.hero__screen-report::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.3), transparent 34%),
    rgba(251, 254, 255, 0.68);
  backdrop-filter: blur(1.2px);
}

.hero__screen-report::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(90deg, rgba(4, 126, 121, 0.08), transparent 62%);
  box-shadow: inset 0 0 30px rgba(7, 42, 72, 0.1);
  mix-blend-mode: multiply;
}

.hero__screen-report-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 28px 32px 22px 42px;
  color: rgba(16, 32, 51, 0.78);
  font-size: clamp(12px, 0.73vw, 14px);
  line-height: 1.24;
}

.hero__screen-title {
  margin: 0;
  color: rgba(0, 132, 126, 0.88);
  font-size: clamp(18px, 1.14vw, 22px);
  font-weight: 900;
  line-height: 1.04;
}

.hero__screen-line {
  max-width: 318px;
  margin: 0;
  font-weight: 600;
}

.hero__screen-rule {
  display: block;
  width: 88%;
  height: 1px;
  margin: 3px 0 4px;
  background: rgba(97, 171, 183, 0.35);
}

.hero__screen-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.hero__screen-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hero__screen-list span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 19px;
  border-radius: 999px;
  background: rgba(211, 244, 242, 0.82);
  color: rgba(0, 132, 126, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero .badge {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.15);
  color: #e9fffc;
  backdrop-filter: blur(10px);
}

.hero .hero__benefits {
  color: rgba(255, 255, 255, 0.9);
}

.hero .hero__benefits li {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.badge {
  padding: 8px 13px;
}

.eyebrow {
  padding: 6px 12px;
}

.eyebrow {
  display: none;
}

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

h1 {
  max-width: 820px;
  margin: 22px 0 22px;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.lead {
  max-width: 710px;
  color: #374151;
  font-size: 20px;
  line-height: 1.5;
}

.hero__content > p:not(.lead) {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__actions .btn {
  flex: 0 1 auto;
  white-space: nowrap;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.hero__benefits li {
  padding: 8px 11px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.diagnostic-result {
  background: #f5f8fa;
}

.diagnostic-result__head {
  max-width: 820px;
}

.diagnostic-result__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.diagnostic-result-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(10, 30, 50, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.diagnostic-result-card:hover {
  border-color: rgba(8, 127, 122, 0.36);
  box-shadow: 0 24px 58px rgba(8, 127, 122, 0.16);
  transform: translateY(-6px);
}

.diagnostic-priority {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.diagnostic-priority--p1 {
  background: rgba(8, 127, 122, 0.13);
  color: #06786d;
}

.diagnostic-priority--p2 {
  background: rgba(50, 80, 120, 0.1);
  color: #344760;
}

.diagnostic-result-card:hover .diagnostic-priority--p1 {
  background: rgba(8, 127, 122, 0.2);
  color: #045f57;
}

.diagnostic-result-card:hover .diagnostic-priority--p2 {
  background: rgba(50, 80, 120, 0.16);
  color: #25374e;
}

.diagnostic-result-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.diagnostic-result-card p {
  margin: 0;
  color: rgba(20, 30, 40, 0.72);
}

.diagnostic-result-card__action {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #283844;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.diagnostic-result__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(10, 30, 50, 0.08);
}

.diagnostic-result__summary p {
  max-width: 760px;
  margin: 0;
  color: rgba(20, 30, 40, 0.78);
  font-size: 18px;
}

.diagnostic-result__summary .btn {
  flex: 0 0 auto;
}

.quiz-card,
.audit-preview,
.check-card,
.problem-grid article,
.service-card,
.timeline article,
.steps article,
.case-grid article,
.audit-finding,
.expert-card,
.faq-list details,
.result-card,
.contact-form,
.modal__dialog,
.thanks__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.quiz-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.quiz-card__top {
  margin-bottom: 24px;
}

.quiz-card__mark {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.quiz-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.quiz-card p {
  color: var(--muted);
}

.audit-preview {
  padding: 28px;
  box-shadow: var(--shadow);
}

.audit-preview__head {
  margin-bottom: 22px;
}

.audit-preview h2 {
  margin-bottom: 0;
  font-size: 30px;
}

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

.audit-preview__list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fbfdfd;
  color: #374151;
  font-weight: 700;
}

.audit-preview__list span,
.priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 38px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.audit-preview__format {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f4fbfa;
  color: #374151;
}

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

.field span {
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(8, 127, 122, 0.1);
}

.quiz-form {
  display: grid;
  gap: 16px;
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.card-grid,
.problem-grid,
.service-grid,
.case-grid,
.scope-grid {
  display: grid;
  gap: 18px;
}

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

.check-card {
  min-height: 214px;
  padding: 24px;
}

.check-card__label {
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 650;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.check-result {
  margin: 16px 0 0;
  padding: 10px 11px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #25615e;
  font-size: 13px;
  font-weight: 800;
}

.check-card p,
.problem-grid p,
.service-card p,
.timeline p,
.steps p,
.case-grid p,
.faq-list p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

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

.niche-grid span {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: #374151;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 35, 40, 0.04);
}

.wide-text {
  max-width: 850px;
  margin: 28px 0 0;
  color: #374151;
  font-size: 18px;
}

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

.problem-grid article {
  padding: 22px;
}

.problem-grid h3 {
  font-size: 18px;
}

.result-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.result-card p {
  color: var(--muted);
  font-size: 18px;
}

.result-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 30px;
  color: #374151;
  font-weight: 600;
}

.result-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

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

.scope-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.scope-card--muted {
  background: #fbfdfd;
}

.scope-card h3 {
  margin-bottom: 18px;
}

.audit-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.audit-finding {
  padding: 24px;
}

.audit-finding--critical {
  border-color: #b7dcda;
  background: #f4fbfa;
}

.audit-finding h3 {
  margin: 16px 0 12px;
}

.audit-finding p {
  margin-bottom: 0;
  color: var(--muted);
}

.result__cta {
  margin-top: 24px;
}

.expert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 48px;
  align-items: center;
}

.expert-copy {
  max-width: 720px;
}

.expert-title {
  max-width: 720px;
}

.expert-text {
  display: grid;
  gap: 16px;
  max-width: 720px;
  color: #27323d;
  font-size: 19px;
  line-height: 1.6;
}

.expert-text p {
  margin: 0;
}

.expert-text strong {
  color: var(--text);
  font-weight: 900;
}

.expert-card {
  display: grid;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  gap: 20px;
  padding: 36px;
  border-color: rgba(8, 137, 124, 0.25);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(10, 30, 50, 0.08);
}

.expert-card__photo {
  width: 150px;
  height: 150px;
  border: 1px solid #b7dcda;
  border-radius: 24px;
  background: var(--accent-soft);
  object-fit: cover;
  object-position: center 38%;
  box-shadow: 0 14px 30px rgba(19, 53, 56, 0.12);
}

.expert-name {
  margin-bottom: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

.expert-company {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.expert-card__role {
  margin: 6px 0 0;
  color: rgba(20, 30, 40, 0.65);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.expert-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 137, 124, 0.1);
  color: #06786d;
  font-size: 13px;
  font-weight: 800;
}

.expert-list {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.expert-list li {
  font-size: 15px;
  line-height: 1.45;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  min-height: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: #b7dcda;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card:hover .btn,
.service-card:focus-within .btn {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(8, 127, 122, 0.22);
  transform: translateY(-1px);
}

.service-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 22px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.48;
}

.service-card__result {
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #25615e;
  font-size: 13px;
  font-weight: 800;
}

.service-card--featured {
  background: #f0faf9;
  border-color: #b7dcda;
}

.service-disclaimer {
  max-width: 880px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  color: #374151;
  font-weight: 700;
}

.timeline,
.steps {
  display: grid;
  gap: 18px;
}

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

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

.timeline article,
.steps article {
  padding: 24px;
}

.timeline span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

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

.case-grid article {
  padding: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 18px 22px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  padding-bottom: 112px;
}

.final-cta__grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 48px;
  align-items: start;
}

.final-cta h2 {
  margin-top: 14px;
}

.final-cta p {
  color: var(--muted);
  font-size: 18px;
}

.form {
  display: grid;
  gap: 16px;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.field--full,
.form__footer {
  grid-column: 1 / -1;
}

.form__footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

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

.form-message.is-error {
  background: #fff3f2;
  color: #a33a31;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--white);
}

.footer__seo {
  max-width: 860px;
  padding: 36px 0 10px;
}

.footer__seo h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.footer__seo p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
}

.footer__inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer__inner a:last-child {
  color: var(--accent);
  font-weight: 800;
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--accent);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 35, 40, 0.46);
}

.modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  box-shadow: 0 28px 90px rgba(31, 35, 40, 0.24);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.modal__head {
  margin-bottom: 22px;
  padding-right: 48px;
}

.modal__head h2 {
  margin: 12px 0 8px;
  font-size: 32px;
}

.modal__head p {
  color: var(--muted);
}

.quiz-summary {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  color: #374151;
  font-size: 14px;
}

.quiz-summary strong {
  display: block;
  margin-bottom: 8px;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thanks {
  width: min(760px, 100%);
}

.thanks__card {
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
  box-shadow: var(--shadow);
}

.thanks__logo {
  justify-content: center;
  margin-bottom: 28px;
}

.thanks h1 {
  margin: 18px auto 18px;
  font-size: clamp(38px, 7vw, 64px);
}

.thanks p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.quiz-card,
.audit-preview,
.check-card,
.problem-grid article,
.service-card,
.timeline article,
.steps article,
.case-grid article,
.audit-finding,
.expert-card,
.faq-list details,
.result-card,
.scope-card,
.diagnostic-result-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quiz-card:hover,
.audit-preview:hover,
.check-card:hover,
.problem-grid article:hover,
.service-card:hover,
.timeline article:hover,
.steps article:hover,
.case-grid article:hover,
.audit-finding:hover,
.expert-card:hover,
.faq-list details:hover,
.result-card:hover,
.scope-card:hover,
.diagnostic-result-card:hover {
  border-color: rgba(8, 127, 122, 0.36);
  box-shadow: 0 24px 58px rgba(8, 127, 122, 0.16);
  transform: translateY(-6px);
}

@media (max-width: 1120px) {
  .header__contacts .phone,
  .header__contacts .telegram {
    display: none;
  }

  .final-cta__grid,
  .result-card,
  .expert-grid {
    grid-template-columns: 1fr;
  }

  .expert-card {
    justify-self: start;
  }

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

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

  .steps,
  .timeline,
  .audit-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header__inner {
    gap: 12px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px 12px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--accent-soft);
  }

  .header__contacts {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    background-position: center right 34%;
  }

  .quiz-card,
  .audit-preview {
    width: 100%;
  }

  .card-grid--six,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero {
    padding: 42px 0 58px;
    background:
      linear-gradient(90deg, rgba(12, 17, 45, 0.93) 0%, rgba(12, 32, 72, 0.84) 48%, rgba(4, 126, 121, 0.28) 100%),
      url("../img/hero-analytics-bg.png") center right 22% / cover no-repeat;
  }

  .logo__text small {
    display: none;
  }

  .logo__img {
    width: 54px;
    height: 36px;
  }

  .header__contacts {
    display: none;
  }

  h1 {
    margin: 18px 0;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .lead {
    font-size: 17px;
  }

  .hero__actions,
  .form__footer,
  .thanks__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

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

  .diagnostic-result__summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 20px;
  }

  .diagnostic-result__summary .btn {
    width: 100%;
  }

  .expert-section {
    padding: 56px 0;
  }

  .expert-grid {
    gap: 32px;
  }

  .expert-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .expert-text {
    font-size: 17px;
    line-height: 1.55;
  }

  .expert-card {
    max-width: none;
    padding: 24px;
  }

  .expert-card__photo {
    width: 120px;
    height: 120px;
  }

  .expert-card .btn {
    width: 100%;
  }

  .quiz-card,
  .audit-preview,
  .result-card,
  .audit-finding,
  .expert-card,
  .contact-form,
  .modal__dialog {
    padding: 22px;
  }

  .card-grid--six,
  .problem-grid,
  .service-grid,
  .timeline,
  .steps,
  .case-grid,
    .audit-example-grid,
    .scope-grid,
    .diagnostic-result__grid,
    .contact-form {
      grid-template-columns: 1fr;
    }

  .service-card,
  .check-card {
    min-height: auto;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }

  .modal {
    padding: 12px;
    align-items: flex-start;
  }

  .modal__dialog {
    max-height: calc(100vh - 24px);
  }

  .expert-card {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    padding-top: 36px;
  }

  .quiz-card h2,
  .audit-preview h2,
  .modal__head h2 {
    font-size: 27px;
  }

  .niche-grid span {
    width: 100%;
  }
}
