*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5f6b73;
  --brand: #0b7285;
  --brand-dark: #0a5564;
  --accent: #d99a3c;
  --border: #e0e4e7;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.menu-toggle {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  padding: 10px 0;
  font-weight: 600;
  color: var(--text);
}

main {
  padding: 32px 0 56px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.section {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header h2 {
  margin: 0;
}

.lead {
  color: var(--muted);
  max-width: 680px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-weight: 700;
  margin: 0;
}

.price {
  font-weight: 700;
  color: var(--brand);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  width: fit-content;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #eef4f6;
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial span {
  font-weight: 700;
  color: var(--brand-dark);
}

.site-footer {
  background: #111a1f;
  color: #f8fafc;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #f8fafc;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  width: min(640px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pref-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pref-toggle {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
}

.pref-toggle[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .site-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .card-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .button-row,
  .cookie-actions,
  .modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-grid {
    flex-direction: row;
  }

  .info-row {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }
}
