:root {
  --ink: #17131f;
  --ink-soft: #3d3548;
  --muted: #716a78;
  --paper: #fbf9fc;
  --white: #ffffff;
  --lavender: #eee8ff;
  --lavender-strong: #d9ccff;
  --purple: #6d3fd2;
  --purple-dark: #4a249f;
  --blue: #229ed9;
  --line: #e7e1ee;
  --warm: #c56d4f;
  --max: 1160px;
  --shadow: 0 18px 50px rgba(62, 35, 111, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 14px; color: #fff; background: var(--purple);
}
.skip-link:focus { left: 8px; }

.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 249, 252, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-inner {
  min-height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  color: #fff; background: var(--purple); border-radius: 13px 13px 13px 3px;
  font-size: 1rem; font-weight: 900; letter-spacing: -.04em;
}
.brand-name { display: block; font-size: .98rem; font-weight: 900; letter-spacing: .04em; }
.brand-sub { display: block; margin-top: 1px; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple); }
.nav-links a.external { color: var(--blue); }
.nav-links a.external:hover { color: #1275a5; }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--purple);
  color: #fff; background: var(--purple); border-radius: 999px;
  font-size: .8rem; font-weight: 800; text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav-cta:hover, .button:hover { background: var(--purple-dark); box-shadow: 0 8px 18px rgba(74, 36, 159, .2); transform: translateY(-2px); }
.button.secondary { color: var(--purple-dark); background: transparent; }
.button.secondary:hover { color: #fff; background: var(--purple); }
.menu-button { display: none; border: 0; padding: 8px; color: var(--ink); background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative; overflow: hidden; padding: 92px 0 104px;
  background: radial-gradient(circle at 82% 10%, #e8ddff 0, transparent 33%), var(--paper);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 70px; align-items: center; }
.eyebrow {
  color: var(--purple); font-size: .72rem; font-weight: 900;
  letter-spacing: .15em; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 680px; margin: 18px 0 22px;
  font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.065em;
}
h1 span, .accent { color: var(--purple); }
.hero-copy { max-width: 600px; color: var(--muted); font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 20px; }
.trust-line { color: var(--muted); font-size: .78rem; }
.telegram-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.telegram-link { color: var(--blue); font-size: .8rem; font-weight: 800; text-decoration: none; }
.telegram-link:hover { text-decoration: underline; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-image-actions {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-image-actions .button { min-height: 48px; padding: 12px 18px; box-shadow: 0 8px 22px rgba(17, 11, 28, .24); }
.hero-image-actions .button.secondary { color: var(--purple-dark); background: #fff; border-color: #fff; }
.hero-image-actions .button.secondary:hover { color: #fff; background: var(--purple-dark); border-color: var(--purple-dark); }
.hero-card {
  position: absolute; right: -24px; bottom: -28px; max-width: 230px;
  padding: 18px 20px; color: #fff; background: var(--ink);
  border-radius: 18px; box-shadow: var(--shadow);
}
.hero-card strong { display: block; margin-bottom: 4px; color: var(--lavender-strong); font-size: .86rem; }
.hero-card span { display: block; font-size: .75rem; line-height: 1.55; }

.breadcrumbs { border-bottom: 1px solid var(--line); background: var(--white); }
.breadcrumbs nav { min-height: 44px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a { color: var(--purple-dark); text-decoration: none; }
.page-hero { padding: 76px 0 68px; background: linear-gradient(130deg, var(--ink), #302243); color: #fff; }
.page-hero h1 { max-width: 800px; margin-bottom: 18px; }
.page-hero .eyebrow { color: var(--lavender-strong); }
.page-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 1rem; }

.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.05em; }
.section-heading p { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 26px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); box-shadow: 0 8px 28px rgba(40, 20, 70, .04);
}
.card h3 { margin: 10px 0 8px; font-size: 1.16rem; line-height: 1.25; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.card-number { color: var(--purple); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.service-card { overflow: hidden; padding: 0; }
.service-card img { width: 100%; height: 245px; object-fit: cover; }
.service-card .card-body { padding: 23px; }
.tag {
  display: inline-flex; padding: 5px 9px; border-radius: 999px;
  color: var(--purple-dark); background: var(--lavender);
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
}
.card-link { display: inline-flex; margin-top: 17px; color: var(--purple-dark); font-size: .8rem; font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.icon-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--purple-dark); background: var(--lavender); font-size: 1.3rem; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.split h2 { margin: 12px 0 16px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.05em; }
.split-copy { color: var(--muted); }
.list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.step-no { color: var(--purple); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.step h3 { margin: 10px 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .84rem; }
.note { padding: 18px 20px; border-left: 4px solid var(--warm); color: var(--ink-soft); background: #fff4ef; border-radius: 0 14px 14px 0; font-size: .88rem; }

.price-card { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--white); }
.price-card.featured { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 24px; padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--purple); font-size: .68rem; font-weight: 900; }
.price-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.price-duration { color: var(--muted); font-size: .78rem; }
.price { margin: 20px 0 5px; color: var(--purple-dark); font-size: 2.6rem; font-weight: 900; line-height: 1; }
.price small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.price-card ul { margin: 20px 0 24px; padding: 0; list-style: none; }
.price-card li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.price-card li::before { content: "•"; margin-right: 8px; color: var(--purple); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; }
th { color: #fff; background: var(--purple-dark); font-size: .78rem; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
td:last-child { color: var(--purple-dark); font-weight: 800; }

.faq { display: grid; gap: 12px; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
summary { cursor: pointer; color: var(--ink); font-weight: 800; }
details p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.contact-panel { max-width: 760px; margin: 0 auto; padding: 38px; border-radius: 24px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.contact-panel h2 { margin: 0 0 8px; font-size: 2rem; }
.contact-panel p { color: rgba(255,255,255,.73); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-links .button { color: var(--ink); background: #fff; border-color: #fff; }
.contact-links .button.blue { color: #fff; background: var(--blue); border-color: var(--blue); }
.contact-links .button:hover { transform: translateY(-2px); }

.cta { padding: 74px 0; color: #fff; background: linear-gradient(125deg, var(--purple-dark), var(--purple)); text-align: center; }
.cta h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.cta p { margin-bottom: 24px; color: rgba(255,255,255,.8); }
.cta .button { color: var(--purple-dark); background: #fff; border-color: #fff; }
.site-footer { padding: 42px 0 24px; color: rgba(255,255,255,.7); background: #110b1c; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: start; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: rgba(255,255,255,.56); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .8rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.legal { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .72rem; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: grid; gap: 0; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .menu-button { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding: 66px 0 84px; }
  .hero-media { max-width: 720px; }
  .hero-image-actions { top: 16px; left: 16px; gap: 8px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-inner { min-height: 68px; }
  .hero { padding: 52px 0 72px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-card { right: 12px; bottom: -22px; max-width: 195px; padding: 14px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 54px 0 50px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .card, .price-card { padding: 22px; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 24px; }
  .contact-panel { padding: 26px 21px; }
}