*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --deep: #14323b;
  --teal: #0f6f66;
  --sand: #d8b78f;
  --mist: #f4f0ea;
  --ink: #1b1f24;
  --muted: #5a6470;
  --white: #ffffff;
  --focus: #ffcc66;
  --shadow: 0 12px 30px rgba(20, 50, 59, 0.15);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--focus);
  color: var(--deep);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(20, 50, 59, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.desktop-links {
  display: none;
  flex-direction: row;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-links a {
  color: var(--ink);
  font-weight: 500;
}

.menu-toggle {
  background: var(--deep);
  color: var(--white);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.menu-toggle:focus-visible,
.button:focus-visible,
.link-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid rgba(20, 50, 59, 0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 0 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--deep);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--deep);
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--deep);
  border-color: rgba(20, 50, 59, 0.2);
}

.button:hover,
.link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 50, 59, 0.15);
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  margin: 0;
  color: var(--deep);
  font-size: 1.6rem;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  margin: 0;
  color: var(--deep);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.price {
  font-weight: 700;
  color: var(--teal);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 111, 102, 0.1);
  color: var(--teal);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial p {
  margin: 0;
  color: var(--muted);
}

.testimonial span {
  font-weight: 600;
  color: var(--deep);
}

.note {
  background: rgba(216, 183, 143, 0.2);
  padding: 1.25rem;
  border-radius: 16px;
  color: var(--deep);
}

.site-footer {
  background: var(--deep);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.9;
}

.footer-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 2px solid var(--teal);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: none;
  z-index: 200;
}

.cookie-banner.show {
  display: flex;
}

.cookie-content {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 50, 59, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1.5rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-dialog {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow);
}

.toggle-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(20, 50, 59, 0.05);
  border-radius: 12px;
}

.toggle-row button {
  border: 1px solid rgba(20, 50, 59, 0.2);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.toggle-row button[aria-pressed="true"] {
  background: var(--teal);
  color: var(--white);
  border-color: transparent;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-button {
  background: transparent;
  border-color: rgba(20, 50, 59, 0.2);
  color: var(--deep);
}

.utility-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 760px) {
  .desktop-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .button-row,
  .cookie-actions,
  .modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 1.25rem);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > div {
    flex: 1;
  }

  .testimonial-list {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .utility-links {
    flex-direction: row;
    gap: 1.25rem;
  }
}
