* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8f7f4;
  --text: #1c1b1a;
  --muted: #5f5a55;
  --brand: #1f6f8b;
  --brand-dark: #164d61;
  --accent: #f2c14e;
  --panel: #ffffff;
  --border: #e5e1dc;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: absolute;
  right: 4%;
  top: 70px;
  width: min(260px, 80%);
}

.nav-links a {
  font-weight: 500;
}

.nav-links.open {
  display: flex;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at top, #ffffff 0%, #f3f1ed 65%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--brand-dark);
}

.btn.ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.section {
  padding: 56px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.section-title p {
  color: var(--muted);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .icon {
  width: 42px;
  height: 42px;
}

.highlight-panel {
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.85);
}

.stats-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.6rem;
  color: var(--brand);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote {
  background: #fffdf6;
  border-left: 4px solid var(--accent);
  padding: 18px;
  border-radius: 12px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--border);
}

.step span {
  font-weight: 700;
  color: var(--brand);
}

.alternating {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.alt-block {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--panel);
}

.comparison-card h3 {
  margin-bottom: 8px;
}

.cta {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
}

footer {
  background: #111312;
  color: #e7e4df;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-grid a {
  color: #e7e4df;
}

.footer-small {
  font-size: 0.9rem;
  color: #b6b0a9;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: min(920px, 92%);
  padding: 16px;
  display: none;
  z-index: 50;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  width: min(560px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.toggle-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card span {
  font-weight: 700;
  color: var(--brand);
}

.info-block {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--border);
}

.simple-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    border: none;
    padding: 0;
    box-shadow: none;
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-text {
    flex: 1.2;
  }

  .hero-visual {
    flex: 1;
  }

  .card-grid,
  .stats-row,
  .testimonials,
  .process-steps,
  .alternating,
  .comparison,
  .service-list,
  .simple-grid,
  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .quote,
  .step,
  .alt-block,
  .comparison-card,
  .service-card,
  .info-block {
    flex: 1 1 calc(50% - 10px);
  }

  .footer-grid {
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .card,
  .stat,
  .quote,
  .step,
  .alt-block,
  .comparison-card,
  .service-card,
  .info-block {
    flex: 1 1 calc(33% - 12px);
  }

  .hero-text {
    padding-right: 40px;
  }
}
