:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --surface: #ffffff;
  --accent: #2f5d62;
  --accent-dark: #24484d;
  --ink: #1f2933;
  --muted: #52616b;
  --line: #e1e4e8;
  --warm: #f1ebe3;
  --highlight: #e8f1f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
  font-size: 1.1rem;
}

.logo.small {
  font-size: 1rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.menu-toggle-bars {
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  display: inline-block;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle-bars::before {
  top: -6px;
}

.menu-toggle-bars::after {
  top: 6px;
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: absolute;
  right: 5%;
  top: 70px;
}

.nav-open .primary-nav {
  display: flex;
}

.primary-nav a {
  color: var(--ink);
  font-weight: 600;
}

main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 2rem 0 4rem;
}

section {
  display: flex;
  flex-direction: column;
}

.hero {
  background: var(--surface);
  padding: 3rem 0;
}

.hero.small-hero {
  padding: 2.5rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-card {
  background: var(--warm);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.button {
  border: 1px solid var(--accent);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.ghost {
  color: var(--accent);
  background: transparent;
}

.text-link {
  font-weight: 600;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--highlight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trust-strip {
  background: var(--accent);
  color: #fff;
  padding: 1rem 0;
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-panel {
  background: var(--highlight);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--accent);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-card,
.testimonial-card,
.feature-block,
.profile-card,
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

.service-card.detailed {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.section-head {
  margin-bottom: 1.5rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}

.step-number {
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

.stats {
  background: var(--accent-dark);
  color: #fff;
  padding: 2.5rem 0;
}

.stats-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-panel {
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  padding: 1.6rem;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
}

.quote-author {
  margin-top: 1rem;
  font-weight: 600;
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.insight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 1rem;
}

.cta {
  background: var(--surface);
  padding: 2rem 0;
}

.cta-box {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
  background: var(--warm);
}

.alt-section {
  background: var(--surface);
  padding: 2rem 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-year {
  font-weight: 700;
  color: var(--accent);
}

.role {
  color: var(--muted);
  margin-top: -0.3rem;
}

.comparison-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.comparison-row div {
  min-width: 120px;
}

.comparison-head {
  background: var(--highlight);
  font-weight: 700;
}

.contact-details .info-block {
  margin-top: 1rem;
}

.company-info .feature-block {
  background: var(--highlight);
}

.legal-page {
  gap: 2rem;
}

.legal-content h2 {
  margin-top: 1.8rem;
}

.legal-list {
  padding-left: 1.2rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  display: none;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 40;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.6rem;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-button {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--highlight);
}

.toggle {
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  min-width: 70px;
}

.toggle[aria-checked="true"] {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 768px) {
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    border: none;
    padding: 0;
    gap: 1.4rem;
    background: transparent;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content,
  .split,
  .card-row,
  .stats-row,
  .case-grid,
  .insight-list,
  .steps {
    flex-direction: row;
  }

  .hero-content > div,
  .split > div,
  .card-row > article,
  .stats-row > div,
  .case-grid > article,
  .insight-list > div,
  .steps > div {
    flex: 1;
  }

  .cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .trust-items {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 2.6rem;
  }

  .lead {
    font-size: 1.15rem;
  }
}
