:root {
  --color-primary: #1A3263;
  --color-secondary: #547792;
  --color-accent: #FFC570;
  --color-surface: #EFD2B0;
  --color-bg: #fffdf9;
  --color-bg-alt: #fff6ea;
  --color-text: #13233f;
  --color-muted: #4b5f7a;
  --color-ok: #1d6b43;
  --color-border: #c6b08d;
  --font-heading: "Segoe UI", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", "Arial", sans-serif;
  --shadow-soft: 0 10px 24px rgba(26, 50, 99, 0.12);
  --shadow-card: 0 14px 32px rgba(26, 50, 99, 0.1);
  --shadow-focus: 0 0 0 3px rgba(84, 119, 146, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.page-shell {
  min-height: 100vh;
  background: radial-gradient(circle at top right, #fff5df, transparent 45%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  line-height: 1.2;
}

p {
  margin: 0 0 var(--space-md);
}

header,
main,
footer,
section,
article,
nav,
aside {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.menu-toggle:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.primary-nav {
  position: absolute;
  right: var(--space-md);
  top: calc(100% + 6px);
  width: min(88vw, 320px);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: none;
}

.primary-nav.open {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.hero {
  text-align: left;
  padding: var(--space-2xl) 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 20ch;
}

.eyebrow {
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
}

.lead {
  max-width: 65ch;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.section-card {
  background: #ffffff;
  border: 1px solid rgba(198, 176, 141, 0.45);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(26, 50, 99, 0.16);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-lg);
}

.tips-list,
.policy-list {
  margin: 0;
  padding-left: 1.1rem;
}

.tips-list li,
.policy-list li {
  margin-bottom: var(--space-xs);
}

.media-inline {
  display: grid;
  gap: var(--space-md);
}

.content-pillars {
  display: grid;
  gap: var(--space-md);
}

.pillar {
  background: var(--color-bg-alt);
  border: 1px solid rgba(198, 176, 141, 0.65);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.timeline {
  display: grid;
  gap: var(--space-sm);
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: var(--space-sm);
  align-items: start;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(198, 176, 141, 0.5);
}

.timeline-time {
  font-weight: 700;
  color: var(--color-primary);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-sm);
}

.stat-card {
  background: linear-gradient(140deg, #ffffff, #fff8ee);
  border: 1px solid rgba(198, 176, 141, 0.7);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-primary);
}

.disclaimer {
  background: #fff8ef;
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.trust-list {
  margin: 0;
  padding-left: 1.1rem;
}

.trust-list li {
  margin-bottom: var(--space-xs);
}

.contact-form {
  display: grid;
  gap: var(--space-sm);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-ok {
  border-color: #4f9d75;
}

.error {
  color: #9e1c1c;
  min-height: 1.1rem;
  font-size: 0.88rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn {
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
}

.planner-controls {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.planner-output {
  border: 1px solid rgba(198, 176, 141, 0.7);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: #ffffff;
}

.planner-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.faq-item {
  border: 1px solid rgba(198, 176, 141, 0.75);
  border-radius: var(--radius-md);
  background: #ffffff;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: #ffffff;
  color: var(--color-primary);
  font: inherit;
  font-weight: 700;
  padding: var(--space-md);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background: #fff4e2;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 var(--space-md);
}

.faq-item.open .faq-content {
  max-height: 220px;
  padding-bottom: var(--space-md);
}

.map-frame {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius-md);
}

.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 1001;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-controls {
  display: grid;
  gap: var(--space-xs);
  margin: var(--space-sm) 0;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(198, 176, 141, 0.5);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
}

.footer-line {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md);
  font-size: 0.92rem;
  text-align: center;
  color: var(--color-muted);
  background: #fffefb;
}

.footer-line a {
  color: var(--color-primary);
  margin: 0 var(--space-xs);
}

.policy-highlight {
  background: #fff7e8;
  border: 1px solid rgba(198, 176, 141, 0.6);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  animation: floatIn 0.55s ease both;
}

@media (min-width: 768px) {
  .header-inner {
    align-items: flex-start;
  }

  .primary-nav {
    position: static;
    width: auto;
    border: none;
    box-shadow: none;
    background: transparent;
    display: block;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cookie-banner {
    left: auto;
    right: var(--space-md);
    width: min(430px, 92vw);
  }
}