*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --primary: #0f4c81;
  --primary-dark: #0b3a64;
  --accent: #2cb7a8;
  --accent-soft: #e6f6f4;
  --sand: #f4efe9;
  --ink: #1f2937;
  --muted: #54616e;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--sand);
}

.section.accent {
  background: var(--accent-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--primary);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e6e6e6;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-toggle {
  border: 1px solid #d8e0e6;
  background: var(--white);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  display: block;
}

.nav-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.6rem;
}

.nav-menu a {
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 80%);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 40;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 31, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-open .mobile-nav {
  transform: translateX(0);
}

.nav-open .overlay {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-panel {
  background: var(--accent-soft);
  padding: 1.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-grid,
.feature-grid,
.stats,
.testimonial-grid,
.service-grid,
.two-column,
.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card,
.feature,
.stat,
.testimonial,
.service-card,
.highlight-panel,
.comparison-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature {
  border-left: 4px solid var(--accent);
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.6rem;
}

.stat {
  background: var(--primary);
  color: var(--white);
}

.stat p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial {
  background: var(--accent-soft);
  border: 1px solid #d7efeb;
}

.highlight-panel {
  background: var(--primary);
  color: var(--white);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card .price {
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.8rem;
}

.comparison-row {
  gap: 1rem;
}

.comparison-card {
  border: 1px solid #e0e7ef;
  box-shadow: none;
}

.comparison-card h4 {
  margin-bottom: 0.4rem;
}

.faq-item {
  border-bottom: 1px solid #d9e2ea;
  padding: 1rem 0;
}

.faq-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.faq-item button span {
  color: var(--accent);
  font-size: 1.4rem;
}

.faq-item .answer {
  padding-top: 0.8rem;
  color: var(--muted);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block {
  background: var(--accent-soft);
  padding: 1.5rem;
  border-radius: 16px;
}

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  width: min(920px, 92%);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 50;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 31, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1.5rem;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  width: min(560px, 100%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e1e8ef;
}

.toggle-row button {
  border-radius: 999px;
  padding: 0.3rem 1rem;
  border: 1px solid #c9d7e4;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.toggle-row button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-grid,
  .feature-grid,
  .stats,
  .testimonial-grid,
  .service-grid,
  .two-column,
  .contact-grid,
  .comparison-row,
  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .feature,
  .stat,
  .testimonial,
  .service-card,
  .highlight-panel,
  .comparison-card,
  .info-block {
    flex: 1 1 240px;
  }

  .hero-panel {
    max-width: 420px;
  }

  .cookie-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .contact-grid .info-block {
    flex: 1 1 45%;
  }
}
