* {
  box-sizing: border-box;
}

:root {
  --ink: #1b1b1b;
  --muted: #5c5c5c;
  --brand: #1f4f47;
  --brand-2: #caa56b;
  --accent: #2b2b2b;
  --paper: #f7f4ef;
  --sand: #efe8dd;
  --line: #e1d9cd;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--accent);
  color: var(--white);
}

.section.dark .eyebrow {
  color: #f7f4ef;
}

.section.headline {
  padding: 72px 0 40px;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stack-top {
  margin-top: 18px;
}

.list-muted {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Header + navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  position: absolute;
  right: 20px;
  top: 64px;
  width: 220px;
}

.nav-links a {
  font-weight: 500;
  color: var(--ink);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
}

.nav-open .nav-links {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero-content p {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hero-metric:last-child {
  border-bottom: none;
}

.hero-metric span {
  color: var(--muted);
}

.hero-illustration {
  background: var(--sand);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card img {
  width: 36px;
  height: 36px;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item img {
  width: 28px;
  height: 28px;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat strong {
  font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.testimonial p {
  margin: 0 0 12px;
  color: var(--muted);
}

.testimonial strong {
  display: block;
}

/* Alternating blocks */
.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.panel {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--line);
}

/* Service list */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.service-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card h3 {
  margin: 0;
}

.service-card span {
  font-weight: 700;
  color: var(--brand);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.comparison-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact blocks */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: var(--white);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--white);
  font-size: 0.95rem;
}

.footer-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: none;
  z-index: 200;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 220;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-panel {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cookie-option label {
  font-weight: 600;
}

.cookie-option span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content,
  .hero-panel,
  .hero-illustration {
    flex: 1;
  }

  .cards,
  .stats,
  .testimonials,
  .service-grid,
  .comparison,
  .contact-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial,
  .service-card,
  .comparison-item,
  .contact-card {
    flex: 1 1 calc(50% - 18px);
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .panel {
    flex: 1;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: auto;
    background: transparent;
    border: none;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .cookie-banner {
    max-width: 720px;
    margin: 0 auto;
  }

  .cookie-actions {
    flex-direction: row;
  }
}
