:root {
  --color-primary: #0d6efd;
  --color-primary-dark: #0a58ca;
  --color-bg: #f5f5f5;
  --color-text: #222222;
  --color-muted: #6c757d;
  --color-footer-bg: #111111;
  --color-footer-text: #dddddd;
  --radius: 8px;
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Global elements */

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-content {
  padding: 1.5rem 0 3rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin: 0 0 0.9rem;
  color: var(--color-text);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: #e9f1ff;
  text-decoration: none;
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
}

/* Lists */

ul {
  padding-left: 1.1rem;
}

ul.check-list {
  list-style: none;
  padding-left: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

ul.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* Layout helpers */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.card h2,
.card h3 {
  margin-top: 0.3rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.section-muted {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

/* Header & navigation */

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.logo span {
  color: var(--color-primary);
}

.main-nav {
  position: relative;
}

.nav-toggle {
  background: none;
  border: 1px solid #dedede;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-toggle span {
  font-size: 0.8rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0.75rem;
  position: absolute;
  right: 0;
  top: 120%;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-list.nav-list--open {
  display: flex;
}

.nav-list li a,
.nav-dropdown-toggle {
  display: block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-list li a:hover,
.nav-dropdown-toggle:hover {
  background: #f2f4f8;
  text-decoration: none;
    color: #0a58ca !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.4rem 0.35rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: none;
}

.nav-dropdown.nav-dropdown--open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  padding: 0.25rem 0.65rem;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  background: radial-gradient(
    circle at top left,
    #e9f3ff 0,
    #f5f8ff 45%,
    #ffffff 100%
  );
  border-bottom: 1px solid #e5e5e5;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2rem;
}

.hero-content {
  max-width: 700px;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.hero-lead {
  font-size: 1.02rem;
  color: #333333;
  margin-bottom: 1rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-badges li {
  font-size: 0.8rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  border: 1px solid #dbe2f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Sections on home */

.home-section {
  padding: 2rem 0 0;
}

.home-section:last-child {
  padding-bottom: 2.5rem;
}

.bg-light {
  background: #ffffff;
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Contact form */

.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #d0d5dd;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

/* Map */

.map-section {
  margin-top: 2rem;
}

.map-container {
  margin-top: 0.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Footer */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.footer-top p,
.footer-top li {
  font-size: 0.9rem;
  color: var(--color-footer-text);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding: 0.7rem 1.25rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #aaaaaa;
}

/* Legal pages */

.legal-page h1 {
  margin-bottom: 0.4rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.92rem;
}

.legal-page h2 {
  font-size: 1.2rem;
}

/* FAQ */

.faq-item {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.8rem;
}

.faq-item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

/* Blog */

.blog-list article {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

/* Tables (for cookies list, etc.) */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 0.45rem 0.4rem;
}

.table th {
  background: #f4f4f4;
  text-align: left;
}

/* Responsive */

@media (min-width: 600px) {
  .two-cols {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 2.1rem 1.25rem 2.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .header-inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    gap: 0.2rem;
    box-shadow: none;
    min-width: 0;
  }

  .nav-list li {
    position: relative;
  }

  .nav-list li a,
  .nav-dropdown-toggle {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.92rem;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 140%;
    right: 0;
    min-width: 210px;
  }


  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .hero-content {
    max-width: none;
  }
}

.section-muted img {
  border-radius: var(--radius);
  margin-top: 0.8rem;
  box-shadow: var(--shadow-soft);
}


/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #111827;
  color: #f9fafb;
  padding: 0.8rem 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
  font-size: 0.9rem;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-banner__text {
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__buttons .btn {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

.cookie-banner__buttons .btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: #4b5563;
}

.cookie-banner__buttons .btn-secondary:hover {
  background: #1f2937;
}

@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__text {
    max-width: 70%;
  }
}
