﻿:root {
  color-scheme: light;
  --navy: #121926;
  --navy-2: #1d2738;
  --blue: #1f2a44;
  --blue-2: #2f3f5f;
  --brand-yellow: #f6c84e;
  --brand-yellow-strong: #eab938;
  --slate: #3b4250;
  --slate-2: #4b5563;
  --bg: #fff6cf;
  --bg-alt: #ffe8a6;
  --text: #1f2937;
  --muted: #4b5563;
  --card: #fffdf4;
  --border: #e6cf7c;
  --success: #1c7c54;
  --warning: #9a5c0a;
  --shadow: 0 18px 36px rgba(77, 52, 10, 0.14);
  --radius: 16px;
  --transition: 200ms ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0f16;
  --bg-alt: #111a26;
  --text: #f5f7fb;
  --muted: #a2adbd;
  --card: #121a27;
  --border: #1f2a3d;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(246, 200, 78, 0.28), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(234, 185, 56, 0.22), transparent 50%),
    linear-gradient(140deg, rgba(77, 52, 10, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(31, 42, 68, 0.45);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

.section-kicker {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.text-muted {
  color: var(--muted);
}

.mt-md {
  margin-top: 16px;
}

.mt-lg {
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 27, 45, 0.16);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 42, 68, 0.12);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brand-yellow);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

[data-theme="dark"] .site-header {
  background: var(--brand-yellow);
}

.site-header,
.site-header .nav-link,
.site-header .logo-title {
  color: #111827;
}

.site-header .nav-link.active,
.site-header .nav-link:hover,
.site-header .nav-group.active summary {
  color: #0f1b2d;
}

.site-header .nav-toggle {
  border-color: rgba(17, 24, 39, 0.2);
}

.site-header .nav-toggle-bar {
  background: #111827;
}

.site-header .nav-cta {
  border-left: 1px solid rgba(17, 24, 39, 0.18);
}

.site-header .btn-ghost {
  border-color: rgba(17, 24, 39, 0.2);
}

.site-header .theme-trigger,
.site-header .theme-select {
  background: #fff;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.2);
}

.site-header .theme-menu {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.2);
}

.site-header .theme-option {
  color: #111827;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

@media (min-width: 960px) {
  .logo-text {
    display: flex;
  }
}

.footer-logo .logo-text {
  display: flex;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-link {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-group.active summary {
  color: var(--blue);
}

.nav-group {
  position: relative;
}

.nav-group summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-submenu {
  position: absolute;
  top: 40px;
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-group[open] .nav-submenu,
.nav-group:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-submenu a:hover {
  background: var(--bg-alt);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 0;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-cta .btn {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.theme-dropdown {
  position: relative;
}

.theme-trigger {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.theme-select-label {
  display: none;
  width: 100%;
}

.theme-select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.theme-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 160px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  gap: 6px;
  box-shadow: var(--shadow);
  z-index: 15;
}

.theme-dropdown.is-open .theme-menu {
  display: grid;
}

.theme-option {
  background: transparent;
  border: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.theme-option:hover,
.theme-option.is-active {
  background: var(--bg-alt);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 10px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 4px 0;
}


.hero {
  padding: 90px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card ul {
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-card span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(31, 42, 68, 0.12);
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.stat {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  color: var(--blue);
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 30px 0;
}

.process {
  display: grid;
  gap: 18px;
}

.calculator-list li {
  display: grid;
  gap: 6px;
}

.calculator-list a {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.calculator-list .text-muted {
  font-size: 0.9rem;
  margin: 0;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.process-step span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(31, 42, 68, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
}

.testimonial {
  display: grid;
  gap: 12px;
}

.testimonial p {
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  margin-top: 12px;
}

.cta {
  background: var(--navy);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 60px 0 40px;
}

.footer-grid h3 {
  margin-bottom: 12px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
}

.footer-text {
  margin: 16px 0;
  color: var(--muted);
}

.footer-nap a {
  color: inherit;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.footer-compliance {
  color: var(--text);
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 30;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cookie-preferences {
  display: none;
  margin-top: 16px;
  gap: 12px;
}

.cookie-preferences.is-open {
  display: grid;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.honeypot {
  display: none;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(31, 42, 68, 0.35);
}

.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
}

.result-panel {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px dashed var(--border);
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(31, 42, 68, 0.12);
  color: var(--blue);
  font-size: 0.75rem;
  margin-left: 6px;
}

.tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  width: 220px;
  box-shadow: var(--shadow);
  color: var(--text);
  z-index: 10;
}

.map-embed {
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 320px;
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .primary-nav {
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }

  body.nav-open .primary-nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    border-left: none;
    padding-left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .nav-cta .btn,
  .theme-trigger {
    width: 100%;
    justify-content: center;
  }

  .theme-dropdown {
    width: 100%;
  }

  .theme-trigger,
  .theme-menu {
    display: none;
  }

  .theme-select-label {
    display: block;
  }


  .nav-group {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 40px;
  }

  .section {
    padding: 60px 0;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
