*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f7f2;
  --surface: #ffffff;
  --text: #1d2321;
  --muted: #4b5753;
  --brand: #2a6f6a;
  --brand-strong: #1f524e;
  --accent: #f2c14e;
  --border: #d8e1dc;
  --shadow: 0 12px 30px rgba(15, 24, 20, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(42, 111, 106, 0.08);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #1a1a1a;
  z-index: 2000;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.brand svg {
  width: 36px;
  height: 36px;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 0.8rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(29, 35, 33, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-panel .nav-content {
  background: var(--surface);
  width: min(320px, 85%);
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.nav-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nav-panel a {
  font-weight: 600;
}

.nav-inline {
  display: none;
}

main {
  padding: 2.5rem 0 3.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.section {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card .price {
  font-weight: 700;
  color: var(--brand-strong);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: 0.8rem;
}

.testimonial span {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-card {
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

footer {
  background: #1b2523;
  color: #f5f7f6;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #f5f7f6;
}

.legal-content {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  padding: 1.2rem;
  display: none;
  z-index: 1500;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner .banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 23, 21, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1600;
  padding: 1.2rem;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal .pref-item {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pref-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toggle-btn {
  border: 1px solid var(--border);
  background: transparent;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  align-self: flex-start;
}

.toggle-btn[aria-pressed="true"] {
  background: rgba(42, 111, 106, 0.12);
  border-color: var(--brand);
  color: var(--brand-strong);
  font-weight: 600;
}

.modal-close {
  align-self: flex-start;
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .nav-inline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-panel {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions,
  .pref-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
