:root {
  --navy: #1e5a6d;
  --teal: #2c7a8f;
  --sand: #f4b76e;
  --mist: #e9f1f3;
  --charcoal: #1f2d33;
  --white: #ffffff;
}
[hidden] {
    display: none !important;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(31, 45, 51, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
}

.nav-toggle {
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links {
  position: absolute;
  top: 64px;
  right: 5%;
  background: var(--white);
  border: 1px solid rgba(31, 45, 51, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.2s ease;
}

.nav-links.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

main section {
  padding: 3.5rem 0;
}

.hero {
  background: var(--mist);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card,
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(30, 90, 109, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--navy);
}

.icon {
  width: 56px;
}

.highlights {
  background: #f9fafb;
}

.process .highlight-panel {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.value-grid,
.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-panel {
  background: var(--mist);
  padding: 1.5rem;
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-study {
  background: #f7f4ef;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(31, 45, 51, 0.1);
  border-radius: 12px;
  padding: 1rem;
  background: var(--white);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  margin-top: 0.75rem;
}

.checklist,
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li::before {
  content: "✓";
  color: var(--navy);
  font-weight: 700;
  margin-right: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.timeline li strong {
  color: var(--navy);
}

.comparison-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--mist);
  padding: 1rem;
  border-radius: 12px;
}

.comparison-row span {
  font-weight: 500;
}

.comparison-row .label {
  font-weight: 700;
  color: var(--navy);
}

.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta .button.primary {
  background: var(--sand);
  color: var(--charcoal);
}

.site-footer {
  background: #101a1f;
  color: var(--white);
  padding: 2.5rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  width: min(920px, 90%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(30, 90, 109, 0.25);
  z-index: 20;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 26, 31, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mist);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.toggle-button {
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.page-hero {
  background: var(--mist);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.legal-content p {
  margin-bottom: 1rem;
}

.info-block {
  margin-top: 1rem;
}

.testimonial-grid blockquote {
  background: var(--mist);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-grid span {
  font-weight: 600;
  color: var(--navy);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: none;
    padding: 0;
    gap: 1.5rem;
  }

  .hero-content,
  .split {
    flex-direction: row;
    align-items: center;
  }

  .hero-content > div {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid > * {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .value-grid,
  .testimonial-grid {
    flex-direction: row;
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
