* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1f2a;
  --midnight: #112f3d;
  --sky: #a9d6f5;
  --amber: #f3b551;
  --cream: #f8f6f1;
  --stone: #d6d2c6;
  --ink: #1f2a31;
  --muted: #5b6a73;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.primary-nav a {
  opacity: 0.9;
}

.menu-toggle {
  background: var(--amber);
  border: none;
  color: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 4vw 1.5rem;
  background: var(--midnight);
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  position: absolute;
  width: 100%;
  left: 0;
}

.mobile-menu a {
  color: #fff;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  transform: translateY(0);
}

main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3.5rem 0 4rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.hero p {
  color: #d7e8f4;
  max-width: 38rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: var(--amber);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 600;
  width: fit-content;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--amber);
  color: #fff;
}

.panel {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(9, 29, 39, 0.08);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 12px 30px rgba(16, 34, 44, 0.08);
}

.card h3 {
  font-size: 1.2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--midnight);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.quote {
  background: var(--stone);
  padding: 2rem;
  border-radius: 1.5rem;
  font-style: italic;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight {
  background: var(--midnight);
  color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-item {
  background: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 4px solid var(--amber);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 38, 48, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.3rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-price {
  font-weight: 700;
  color: var(--midnight);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 12px 28px rgba(16, 34, 44, 0.08);
}

.site-footer {
  background: var(--navy);
  color: #d7e8f4;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #d7e8f4;
  opacity: 0.9;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: min(560px, 92vw);
  padding: 1.3rem;
  border-radius: 1.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 40;
  gap: 1rem;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-actions button {
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--amber);
  color: var(--navy);
}

.cookie-actions .reject {
  background: #eee;
}

.cookie-actions .prefs {
  background: transparent;
  border: 1px solid var(--midnight);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 23, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1.5rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 1.4rem;
  padding: 2rem;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-actions button {
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.modal-actions .save {
  background: var(--amber);
  color: var(--navy);
}

.modal-actions .necessary {
  background: #eee;
}

.modal-actions .close {
  background: transparent;
  border: 1px solid var(--midnight);
}

@media (min-width: 768px) {
  .primary-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-grid,
  .services-list,
  .feature-list,
  .stats-bar,
  .compare {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .feature-item,
  .stat,
  .compare-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .split {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .feature-item,
  .stat,
  .compare-item {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
