:root {
  --purple-900: #2d1b4e;
  --purple-700: #4b2e83;
  --purple-600: #5a3a9c;
  --purple-100: #c8b2f4;
  --yellow-500: #f5c242;
  --yellow-600: #e5ae1c;
  --ink-900: #12131a;
  --ink-700: #2a2d3a;
  --ink-500: #5a6175;
  --ink-300: #a7aec2;
  --ink-100: #e9ecf4;
  --white: #ffffff;
  --radius: 14px;
  --shadow-1: 0 6px 20px rgba(18, 19, 26, 0.08);
  --shadow-2: 0 12px 40px rgba(18, 19, 26, 0.12);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--purple-100);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: Montserrat, Inter, Arial, sans-serif; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
  scroll-margin-top: var(--header-h);
}

.section-title {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.06rem;
  color: var(--ink-700);
  margin: 0 0 24px 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow-500);
  color: var(--ink-900);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  backdrop-filter: saturate(1.2) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo { width: auto; height: 60px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; }

.main-nav { display: contents; }

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  background: var(--white);
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  display: block;
  position: relative;
}
.nav-toggle-bar + .nav-toggle-bar { margin-top: 4px; }

.nav-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--white);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  display: grid;
  gap: 8px;
  padding: 12px 4%;
  border-bottom: 1px solid var(--ink-100);
}
.nav-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-menu li { list-style: none; }
.nav-link {
  display: block;
  padding: 10px 12px;
  color: var(--ink-900);
  text-decoration: none;
  border-radius: 10px;
}
.nav-link:hover,
.nav-link:focus-visible { background: var(--ink-100); }
.nav-link.active { color: var(--purple-700); font-weight: 700; }
.divider { height: 1px; background: var(--ink-100); margin: 6px 0; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--ink-100);
  background: var(--purple-700);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero {
  background: var(--purple-700);
  color: var(--white);
  padding: 88px 0 96px 0;
}
.hero-inner { text-align: center; }
.hero-title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  margin: 0 0 12px 0;
}
.hero-subtitle {
  color: #efeafc;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.2rem);
  margin: 0 0 24px 0;
}
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform .06s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--yellow-500);
  color: var(--ink-900);
  border-color: var(--yellow-500);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--yellow-600); border-color: var(--yellow-600); color: var(--ink-900); }

.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-700);
}
.btn-outline:hover,
.btn-outline:focus-visible { background: var(--purple-700); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover,
.btn-ghost:focus-visible { background: var(--white); color: var(--purple-700); }

.split {
  display: grid;
  gap: 16px;
}

.grid.cards,
.grid.pricing {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
}

.card-title {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.service:nth-child(1) { border-top: 4px solid var(--purple-700); }
.service:nth-child(2) { border-top: 4px solid var(--yellow-500); }
.service:nth-child(3) { border-top: 4px solid var(--purple-600); }
.service:nth-child(4) { border-top: 4px solid var(--ink-300); }
.service:nth-child(5) { border-top: 4px solid var(--purple-100); }

.pricing .price {
  padding-top: 22px;
  border-top: 6px solid var(--ink-100);
}
.pricing .featured { border-top-color: var(--yellow-500); box-shadow: var(--shadow-2); }
.pricing .custom { border-top-color: var(--purple-700); }

.price-name {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
}
.price-value {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-700);
}

.list { padding-left: 18px; margin: 0 0 16px 0; }
.list li { margin: 6px 0; }

.accordion-item {
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font: inherit;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion-trigger::after {
  content: "+";
  font-weight: 800;
  color: var(--purple-700);
}
.accordion-trigger[aria-expanded="true"]::after { content: "–"; }
.accordion-panel { padding: 0 18px 16px 18px; color: var(--ink-700); }

.form {
  max-width: 720px;
}
.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
label { font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--ink-100);
  background: #fafbff;
  color: var(--ink-900);
  font: inherit;
}
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.lang-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #0000;
  box-shadow: 0 0 0 3px var(--yellow-500);
}
.error {
  display: block;
  min-height: 18px;
  color: #b00020;
  font-size: .9rem;
}
.form-actions { margin-top: 8px; }
.form-status { margin-top: 12px; font-weight: 600; color: var(--purple-700); }

.site-footer {
  background: #0f0f17;
  color: #d9dbe6;
  padding: 36px 0;
}
.footer-inner {
  display: grid;
  gap: 18px;
}
.footer-name { font-weight: 800; }
.footer-meta { color: #b9bdd0; }
.disclaimer { color: #a6abc1; font-size: .95rem; margin: 0 0 6px 0; }
.copyright { margin: 0; color: #d9dbe6; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .divider { width: 1px; height: 24px; margin: 0 8px; background: var(--ink-100); }
  .section { padding: 88px 0; }
  .split { grid-template-columns: 1fr 1fr; }
  .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.pricing { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-inner { text-align: left; }
  .hero-ctas { justify-content: flex-start; }
}