/* Legal studio: indigo + violet, dark hero, no top-bar. */

:root {
  --primary: #221e36;
  --primary-dark: #161326;
  --primary-light: #4a4466;
  --accent: #6d5efc;
  --accent-light: #8b7ffd;
  --accent-soft: rgba(109, 94, 252, 0.12);
  --bg: #f7f6fb;
  --bg-alt: #efeef6;
  --card: #ffffff;
  --text: #221e36;
  --text-muted: #5c5870;
  --border: #ddd9ea;
  --shadow: 0 14px 36px rgba(22, 19, 38, 0.08);
  --font-head: "Syne", "Segoe UI", sans-serif;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 4px;
}

body {
  background: var(--bg);
  color: var(--text);
}

.top-bar {
  display: none !important;
}

.header {
  background: #161326;
  color: #f7f6fb;
  border-bottom: 0;
  padding: 18px 40px;
  align-items: center;
  box-shadow: none;
}

.header.header-scrolled {
  box-shadow: 0 8px 24px rgba(22, 19, 38, 0.28);
}

.logo-main {
  font-family: var(--font-head);
  font-size: 16px;
  color: #f7f6fb;
}

.logo-sub {
  letter-spacing: 0.16em;
  color: #b8b0ff;
}

.site-nav,
.main-nav,
.masthead-nav {
  display: flex;
  gap: 26px;
  margin: 0 auto;
}

.site-nav a,
.main-nav a,
.masthead-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #d8d4ea;
  padding: 4px 0;
  border: 0;
  text-transform: none;
  letter-spacing: 0;
}

.site-nav a:hover,
.main-nav a:hover,
.masthead-nav a:hover {
  color: #fff;
}

.btn-header-cta,
.btn-primary {
  background: #6d5efc;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  padding: 11px 18px;
  box-shadow: none;
}

.btn-header-cta:hover,
.btn-primary:hover {
  background: #5546e4;
  color: #fff;
  transform: none;
  border: 0;
}

.folio {
  display: none !important;
}

.hero {
  display: block !important;
  min-height: 0 !important;
  padding: 72px 40px 64px !important;
  background: #221e36 !important;
  text-align: center;
  color: #f7f6fb;
}

.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
}

.hero-split {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.hero-copy,
.hero-content,
.hero-visual,
.hero-figure {
  max-width: 48rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: transparent !important;
  color: inherit;
  text-align: center;
  padding: 0 !important;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8b0ff;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  color: #fff !important;
  text-shadow: none !important;
  text-align: center !important;
  max-width: 18em;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  margin: 0 auto 18px;
}

.hero-subtitle,
.hero-keywords,
.hero-privacy {
  color: #c9c4de !important;
  text-shadow: none !important;
  text-align: center !important;
  max-width: 38em;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-privacy {
  margin-top: 16px;
  font-size: 13px;
}

.hero-plate {
  width: min(1120px, 100%);
  margin: 8px auto 0;
  border-radius: 4px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.hero-plate img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 360px;
  object-fit: cover;
}

.hero-plate figcaption {
  display: none;
}

.route {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 40px;
  transform: translateY(-28px);
}

.route-item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px 22px;
}

.route-num {
  font-family: var(--font-head);
  font-size: 13px;
  color: #6d5efc;
  font-weight: 700;
  margin-bottom: 8px;
}

.route-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.route-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-label,
.section-title,
.section-desc,
.about-text {
  display: block;
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-sizing: border-box;
}

.section-label {
  margin-bottom: 8px;
  color: #6d5efc;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.section-title {
  margin-top: 0;
  margin-bottom: 12px;
  border: 0;
  padding: 0;
  color: #221e36;
}

.section-desc,
.about-text {
  margin-bottom: 28px;
}

.about {
  text-align: left;
}

.about-features {
  max-width: 1120px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.about-feature {
  align-items: flex-start;
  text-align: left;
}

.services,
.about,
.photo-section,
.info-section,
.reviews-section,
.articles-section,
.faq-section {
  padding: 56px 40px;
}

.faq-list {
  max-width: 1120px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  background: none !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.service-card,
.about-feature,
.review-card,
.article-card,
.info-card,
.faq-item,
.photo-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
}

.service-card {
  border-left: 0 !important;
  border-top: 0 !important;
  background: #fff;
  padding: 28px 26px;
}

.service-icon,
.about-feature-icon {
  border-radius: 0 !important;
  background: var(--accent-soft) !important;
  border: 0 !important;
  color: #6d5efc !important;
  box-shadow: none !important;
}

.service-card:hover .service-icon,
.about-feature:hover .about-feature-icon {
  background: #6d5efc !important;
  color: #fff !important;
  transform: none !important;
}

.stats-section {
  display: none !important;
}

.telegram-float {
  background: #229ed9;
}

.site-footer {
  background: #161326;
  color: #c9c4de;
  border: 0;
}

.quiz-overlay {
  background: linear-gradient(160deg, #161326 0%, #2a2550 60%, #221e36 100%) !important;
}

.article-page {
  background: var(--bg);
}

.article-title {
  font-family: var(--font-head);
}

.success-page {
  background: var(--bg);
}

.success-title {
  font-family: var(--font-head);
}

@media (max-width: 900px) {
  .site-nav,
  .main-nav,
  .masthead-nav {
    display: none;
  }

  .hero {
    padding: 36px 16px 28px !important;
  }

  .route {
    grid-template-columns: 1fr;
    padding: 0 16px;
    transform: none;
    margin-top: 20px;
  }

  .services-grid,
  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-plate img {
    max-height: 200px;
  }

  .header,
  .services,
  .about,
  .photo-section,
  .info-section,
  .reviews-section,
  .articles-section,
  .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}


#startQuiz.btn-primary {
  font-size: 17px;
  padding: 16px 32px;
}

#startQuiz2.btn-primary {
  margin-top: 28px;
}
