:root {
  --c-primary: #4793AF;
  --c-accent: #FFC470;
  --c-warm: #DD5746;
  --c-deep: #8B322C;
  --c-bg: #f8fbfd;
  --c-surface: #ffffff;
  --c-text: #1f2a30;
  --c-muted: #5f6e77;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 35px rgba(71, 147, 175, 0.16);
  --speed: 0.28s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--c-surface);
  border-bottom: 1px solid rgba(71, 147, 175, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.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 {
  display: none;
  border: 1px solid rgba(71, 147, 175, 0.35);
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 0.4rem 0.6rem;
  color: var(--c-primary);
}

.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--c-text);
  transition: background-color var(--speed), color var(--speed), transform var(--speed);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(255, 196, 112, 0.35);
  color: var(--c-deep);
  transform: translateY(-1px);
}

main {
  padding: var(--space-lg) 0 var(--space-xl);
}

section {
  margin-bottom: var(--space-xl);
}

.section-head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.eyebrow {
  color: var(--c-warm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0.5rem 0 0.9rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  color: var(--c-muted);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-layout .cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--speed), box-shadow var(--speed), background-color var(--speed);
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-soft {
  background: rgba(255, 196, 112, 0.3);
  color: var(--c-deep);
}

.btn-soft:hover {
  background: rgba(255, 196, 112, 0.5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 8px 22px rgba(31, 42, 48, 0.08);
  transition: transform var(--speed), box-shadow var(--speed);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: var(--space-md);
}

.timeline article {
  border-left: 4px solid var(--c-primary);
  padding: 0.35rem 0 0.35rem 1rem;
  background: linear-gradient(90deg, rgba(71, 147, 175, 0.1), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge {
  background: rgba(139, 50, 44, 0.12);
  color: var(--c-deep);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.quote-box {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(71, 147, 175, 0.2);
}

.map-wrap iframe {
  width: 100%;
  min-height: 310px;
  border: 0;
  border-radius: var(--radius-md);
}

form {
  display: grid;
  gap: var(--space-sm);
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  border: 1px solid rgba(71, 147, 175, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(71, 147, 175, 0.3);
  border-color: var(--c-primary);
}

.error {
  color: var(--c-deep);
  font-size: 0.85rem;
  margin-top: -0.2rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox input {
  margin-top: 0.2rem;
}

.cookie-panel {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(71, 147, 175, 0.2);
  padding: 1rem;
  z-index: 999;
  max-width: 760px;
  margin-inline: auto;
}

.cookie-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 48, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal article {
  background: #fff;
  border-radius: var(--radius-md);
  width: min(500px, 95%);
  padding: 1.2rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(71, 147, 175, 0.2);
}

.site-footer {
  background: #15242b;
  color: #d8e2e8;
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: var(--space-lg);
}

.site-footer a {
  color: #d8e2e8;
}

.site-footer a:hover {
  color: #fff;
}

.mini {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.nordic-band {
  background: linear-gradient(110deg, rgba(71, 147, 175, 0.16), rgba(255, 196, 112, 0.18));
  border: 1px solid rgba(71, 147, 175, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
}

.stat-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  border: 1px solid rgba(71, 147, 175, 0.2);
}

.stat-box strong {
  display: block;
  font-size: 1.2rem;
  color: var(--c-deep);
}

.pillars {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-lg);
}

.list-clean {
  margin: 0;
  padding-left: 1rem;
  color: var(--c-muted);
}

.list-clean li {
  margin-bottom: 0.5rem;
}

.interactive-panel {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(71, 147, 175, 0.24);
  padding: var(--space-md);
  box-shadow: 0 10px 26px rgba(31, 42, 48, 0.08);
}

.tab-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid rgba(71, 147, 175, 0.32);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--speed);
}

.tab-btn:hover,
.tab-btn.active {
  background: rgba(71, 147, 175, 0.14);
  color: var(--c-deep);
}

.tab-content {
  margin-top: var(--space-sm);
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeUp 0.35s ease;
}

.accordion {
  display: grid;
  gap: 0.7rem;
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(71, 147, 175, 0.22);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font-weight: 700;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-body {
  display: none;
  padding: 0 1rem 0.9rem;
}

.accordion-item.open .accordion-body {
  display: block;
  animation: fadeUp 0.35s ease;
}

.notice {
  border-left: 4px solid var(--c-warm);
  background: rgba(221, 87, 70, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-lg);
}

.legal-nav {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(71, 147, 175, 0.2);
  padding: 1rem;
  align-self: start;
  position: sticky;
  top: 82px;
}

.legal-nav a {
  display: block;
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.legal-nav a:hover {
  background: rgba(71, 147, 175, 0.14);
}

.legal-article {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(71, 147, 175, 0.2);
  padding: var(--space-lg);
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(71, 147, 175, 0.22);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {

  .hero-layout,
  .split,
  .grid-3,
  .footer-grid,
  .pillars,
  .stat-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding-top: 0.6rem;
  }

  .header-row {
    flex-wrap: wrap;
  }

  .legal-nav {
    position: static;
  }
}