:root {
  --ink: #20172b;
  --muted: #665c70;
  --brand: #3f2c51;
  --brand-2: #6f5a82;
  --accent: #f2b93b;
  --line: #e7e2ea;
  --soft: #f7f5f8;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #241432;
}

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

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

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

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 191px;
  height: 41px;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.menu a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.menu a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(32, 23, 43, 0.90), rgba(63, 44, 81, 0.68)),
    url("hero.jpg") center / cover;
}

.hero-inner {
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.84rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
}

.hero p {
  max-width: 670px;
  margin: 20px 0 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--accent);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  padding: 72px 0;
}

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

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

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(32, 23, 43, 0.06);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.card h2 {
  margin-bottom: 10px;
  font-size: 1.38rem;
}

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

.card ul,
.content ul,
.content ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.content li {
  margin: 8px 0;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
}

.service-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(242, 185, 59, 0.28), transparent 26%),
    linear-gradient(135deg, #f7f5f8 0%, #ffffff 54%, #f0ebf4 100%);
}

.service-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.service-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.service-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.visual-panel {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(32, 23, 43, 0.12);
  padding: 24px;
}

.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.visual-panel::before {
  width: 92px;
  height: 92px;
  right: 24px;
  top: 24px;
  background: rgba(242, 185, 59, 0.26);
}

.visual-panel::after {
  width: 150px;
  height: 150px;
  right: 56px;
  bottom: 26px;
  border: 18px solid rgba(63, 44, 81, 0.12);
}

.visual-lines {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.visual-lines span {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: var(--line);
}

.visual-lines span:nth-child(1) {
  width: 76%;
}

.visual-lines span:nth-child(2) {
  width: 58%;
}

.visual-lines span:nth-child(3) {
  width: 68%;
}

.visual-kpi {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  width: min(230px, calc(100% - 48px));
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
}

.visual-kpi strong {
  font-size: 1.8rem;
  line-height: 1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 58px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
}

.fact {
  border-left: 4px solid var(--accent);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 800;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.qa-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.qa-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qa-item h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

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

.band {
  color: var(--white);
  background: var(--brand);
  padding: 46px 0;
}

.band h2 {
  color: var(--white);
}

.band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.page-title {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}

.page-title p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.content {
  max-width: 880px;
}

.content p {
  margin: 0 0 16px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-item strong {
  display: block;
  color: var(--brand);
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    padding: 16px 0;
  }

  .menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-inner {
    min-height: 380px;
    padding: 54px 0;
  }

  .section {
    padding: 52px 0;
  }

  .grid.three,
  .grid.four,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .service-hero .container {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 240px;
  }
}
