:root {
  --bg: #f7f4fb;
  --text: #1e1a2b;
  --muted: #5f5670;
  --primary: #4c2a85;
  --accent: #7c5cc4;
  --light: #ffffff;
  --shadow: rgba(30, 26, 43, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  z-index: 2;
}

.site-header {
  background: var(--light);
  box-shadow: 0 12px 24px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--primary), var(--accent));
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu-toggle {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
}

.menu-panel {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 43, 0.7);
  display: flex;
  flex-direction: column;
  padding: 80px 32px;
  gap: 16px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.menu-panel.is-open {
  transform: translateY(0);
}

.menu-panel a {
  color: white;
  font-size: 1.4rem;
}

.menu-close {
  align-self: flex-end;
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
}

.menu-desktop {
  display: none;
  gap: 18px;
}

.menu-desktop a {
  color: var(--text);
  font-weight: 500;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero {
  background: var(--light);
  padding: 64px 0 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border-color: rgba(76, 42, 133, 0.3);
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: #efe9f7;
}

.section.cya {
  background: #221535;
  color: white;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.feature {
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 20px var(--shadow);
}

.panel {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 25px var(--shadow);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.stat {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 18px var(--shadow);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 18px;
  border-left: 4px solid var(--accent);
}

.step-number {
  font-weight: 700;
  color: var(--accent);
}

.quote {
  background: #221535;
  color: white;
  text-align: center;
}

.quote blockquote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.quote-meta {
  color: rgba(255, 255, 255, 0.7);
}

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

.pillar {
  background: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 16px var(--shadow);
}

.insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}

.badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.badges span {
  background: #f1ebff;
  padding: 10px 12px;
  border-radius: 12px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: 14px;
  box-shadow: 0 6px 15px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: transparent;
  font-weight: 600;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cta {
  background: #efe7ff;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.page-hero {
  background: var(--light);
  padding: 56px 0;
}

.team, .cases {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card, .case {
  background: white;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 8px 18px var(--shadow);
}

.role {
  color: var(--muted);
  margin-top: -6px;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  background: white;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 8px 18px var(--shadow);
}

.price {
  font-weight: 700;
  color: var(--primary);
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #f3effa;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 6px 16px var(--shadow);
}

.directions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direction-card {
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 6px 14px var(--shadow);
}

.legal h2 {
  margin-top: 28px;
}

.site-footer {
  background: #1d1629;
  color: white;
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 12px 28px var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 43, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: 20px;
  padding: 24px;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f4f0fa;
  padding: 12px;
  border-radius: 12px;
}

.toggle {
  border: 1px solid var(--primary);
  background: white;
  padding: 6px 12px;
  border-radius: 14px;
  font-weight: 600;
}

.toggle.is-active {
  background: var(--primary);
  color: white;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-visual {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .cards, .team, .cases, .service-grid, .process, .directions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards > *, .team > *, .cases > *, .service-card, .process-step, .direction-card {
    flex: 1 1 calc(33% - 16px);
  }

  .feature-list {
    flex-direction: row;
  }

  .feature {
    flex: 1;
  }

  .stats {
    flex-direction: row;
    justify-content: space-between;
  }

  .timeline {
    flex-direction: row;
  }

  .timeline-steps {
    flex-direction: row;
    flex: 1;
  }

  .step {
    flex: 1;
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: none;
  }

  .menu-desktop {
    display: flex;
  }

  .menu-panel {
    display: none;
  }

  .cookie-actions, .modal-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: column;
  }
}
