:root {
  color-scheme: light;
  --bg: #f7f7fb;
  --text: #1d1f2a;
  --muted: #5a6173;
  --primary: #2f5bff;
  --secondary: #eef1ff;
  --accent: #0f1f4b;
  --border: #e2e5f2;
  --card: #ffffff;
  --panel: #f0f4ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
  margin: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.4px;
}

.site-nav {
  position: relative;
}

.menu-toggle {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-links {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.8rem;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 16px 40px rgba(15, 31, 75, 0.12);
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  color: var(--muted);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--secondary);
  color: var(--accent);
}

.nav-links.open {
  display: flex;
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: #fff;
}

.section--panel {
  background: var(--panel);
}

.hero {
  padding: 4rem 0;
}

.hero--compact {
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-panel {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 31, 75, 0.08);
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.hero-tags span {
  background: var(--secondary);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.ghost {
  background: transparent;
  color: var(--primary);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.step {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.step span {
  font-weight: 700;
  color: var(--primary);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: #fff;
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.insight-grid,
.testimonial-grid,
.case-grid,
.values-grid,
.team-grid,
.benefits,
.trust-grid,
.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.insight,
.testimonial,
.case-card,
.value-card,
.team-card,
.benefit-card,
.trust-card,
.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.quote-block {
  background: var(--secondary);
  border-radius: 20px;
  padding: 1.6rem;
  margin-bottom: 2rem;
}

.case-result {
  font-weight: 600;
  color: var(--primary);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  background: #fff;
  text-align: center;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--border);
}

.site-footer {
  margin-top: 2rem;
  background: #fdfdff;
}

.legal h2 {
  margin-top: 2rem;
}

.highlight-panel,
.info-block {
  background: var(--secondary);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.team-card p,
.benefit-card p,
.trust-card p,
.value-card p {
  color: var(--muted);
}

.trust-grid .trust-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-column {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.comparison-column.highlight {
  border: 1px solid var(--primary);
  box-shadow: 0 10px 26px rgba(47, 91, 255, 0.12);
}

.price {
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.8rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 30px rgba(15, 31, 75, 0.18);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 30;
  width: min(720px, 92vw);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 31, 75, 0.45);
  z-index: 40;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem;
  width: min(640px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-button {
  background: var(--secondary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-option {
  background: var(--secondary);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toggle-button {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.toggle-button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.toggle-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .hero-content,
  .split,
  .stats,
  .contact-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content > * {
    flex: 1;
  }

  .feature-list {
    flex-direction: column;
  }

  .stat-grid,
  .insight-grid,
  .testimonial-grid,
  .case-grid,
  .values-grid,
  .team-grid,
  .benefits,
  .trust-grid,
  .cards,
  .comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card,
  .insight,
  .testimonial,
  .case-card,
  .value-card,
  .team-card,
  .benefit-card,
  .trust-card,
  .card,
  .comparison-column {
    flex: 1 1 calc(33% - 1rem);
    min-width: 240px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a {
    color: var(--muted);
  }
}
