:root {
  --color-canvas: #f6f9fc;
  --color-surface: #ffffff;
  --color-surface-translucent: rgba(255, 255, 255, 0.97);
  --color-surface-subtle: #edf3f8;
  --color-primary: #1e3a5f;
  --color-primary-dark: #0f233d;
  --color-primary-light: #34608c;
  --color-accent: #0284c7;
  --color-accent-soft: #e0f2fe;
  --color-accent-hover: #0369a1;
  --color-text-main: #1e293b;
  --color-text-muted: #475569;
  --color-border: #dbe4ee;
  --color-border-subtle: #e9eff5;
  --color-success: #0f766e;
  --color-success-bg: #ccfbf1;
  --color-warning-bg: #fef3c7;
  --color-warning-text: #92400e;
  --color-danger: #b91c1c;

  --shadow-sm: 0 2px 6px rgba(15, 35, 61, 0.05), 0 1px 2px rgba(15, 35, 61, 0.03);
  --shadow-md: 0 8px 24px rgba(15, 35, 61, 0.08), 0 2px 6px rgba(15, 35, 61, 0.04);
  --shadow-lg: 0 16px 36px rgba(15, 35, 61, 0.12), 0 4px 12px rgba(15, 35, 61, 0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-dark);
  line-height: 1.25;
  overflow-wrap: anywhere;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

p {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.site-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface-translucent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(15, 35, 61, 0.04);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .header-inner {
  max-width: 1260px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f2fe 0%, #edf4f9 100%);
  border: 1px solid #bfdbfe;
  color: var(--color-accent-hover);
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-link:hover .brand-icon-wrap {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.22);
}

.brand-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 0.985rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-primary-dark);
  transition: color 0.15s ease;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent-hover);
  margin-top: 1px;
}

.brand-link:hover .brand-title {
  color: var(--color-accent-hover);
}

/* Desktop Navigation — Refined, balanced, compact layout */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-links-cluster {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 2px rgba(15, 35, 61, 0.03);
}

.nav-links-cluster a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.775rem;
  font-weight: 550;
  color: #475569;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links-cluster a:hover {
  color: var(--color-primary-dark);
  background-color: rgba(255, 255, 255, 0.75);
}

.nav-links-cluster a.is-active {
  color: var(--color-primary-dark);
  background-color: #ffffff;
  font-weight: 650;
  box-shadow: 0 1px 3px rgba(15, 35, 61, 0.08), 0 1px 1px rgba(15, 35, 61, 0.04);
}

.nav-action-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* High-Visibility Contact Desk Button — Fully visible and balanced */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 0.785rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28), 0 1px 2px rgba(15, 35, 61, 0.1);
  white-space: nowrap;
  letter-spacing: 0.005em;
  flex-shrink: 0;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.header-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  pointer-events: none;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.38), 0 1px 3px rgba(15, 35, 61, 0.15);
}

.header-cta-btn.is-active {
  background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  border-color: #38bdf8;
}

.cta-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);
  flex-shrink: 0;
}

.cta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  cursor: pointer;
  color: var(--color-primary-dark);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-accent);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Mobile Nav Overlay Panel */
.mobile-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: var(--space-3);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-nav-panel.is-open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--color-primary-dark);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-links a:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-accent-hover);
}

.mobile-nav-links a.is-active {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-weight: 700;
}

.mobile-nav-footer {
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-subtle);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: background 0.2s ease;
}

.mobile-cta-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.mobile-cta-btn.is-active {
  background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%);
  border: 1px solid #38bdf8;
}

/* Hero Section */
.hero-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background: linear-gradient(180deg, #eaf2f8 0%, var(--color-canvas) 100%);
  border-bottom: 1px solid var(--color-border-subtle);
}

.hero-content {
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.hero-title {
  margin-bottom: var(--space-3);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-primary-dark) !important;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-accent);
}

/* Sections */
.page-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.section-header {
  margin-bottom: var(--space-5);
  max-width: 680px;
}

.section-subtitle {
  color: var(--color-accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

/* Horizontal Split Cards */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.split-card {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.split-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #b8d0e5;
}

.card-media {
  position: relative;
  min-height: 240px;
  background-color: var(--color-surface-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-title {
  margin-bottom: var(--space-2);
}

.card-title a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--color-accent-hover);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
  margin-top: auto;
}

.card-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-hover);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-cta:hover {
  color: var(--color-primary);
}

/* Feature Highlights Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.feature-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.feature-box h3 {
  margin-bottom: var(--space-2);
  color: var(--color-primary-dark);
}

.feature-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}

/* Article & Topic Subpage Layouts */
.article-header {
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
  background: linear-gradient(180deg, #edf4f9 0%, var(--color-canvas) 100%);
  border-bottom: 1px solid var(--color-border-subtle);
}

.article-breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.article-breadcrumbs a {
  text-decoration: none;
  color: var(--color-accent-hover);
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-5);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.article-body h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border-subtle);
}

.article-body h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-4);
  color: var(--color-text-muted);
}

.article-body li {
  margin-bottom: var(--space-2);
}

.pro-con-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.pro-card, .con-card {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pro-card {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.pro-card h4 {
  color: #166534;
  margin-bottom: var(--space-2);
}

.con-card {
  background-color: #fff7ed;
  border-color: #fed7aa;
}

.con-card h4 {
  color: #9a3412;
  margin-bottom: var(--space-2);
}

.sidebar-panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}

.sidebar-panel h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border-subtle);
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  margin-bottom: var(--space-2);
}

.sidebar-list a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sidebar-list a:hover {
  color: var(--color-accent-hover);
}

.callout-box {
  background-color: var(--color-surface-subtle);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-4) 0;
}

.callout-box p {
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
}

.contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text-main);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: var(--color-danger);
  background-color: #fffafb;
}

.field-error-msg {
  color: var(--color-danger);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.field-error-msg.is-visible {
  display: block;
}

.form-feedback {
  display: none;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid #99f6e4;
}

.form-feedback.error {
  background-color: #fee2e2;
  color: var(--color-danger);
  border: 1px solid #fca5a5;
}

/* Static Map Block */
.static-map-box {
  background-color: #e2eaf1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(var(--color-primary) 1px, transparent 1px),
                    linear-gradient(90deg, var(--color-primary) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-content {
  position: relative;
  z-index: 1;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: #0b1a2d;
  color: #cad9e8;
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
  border-top: 1px solid #1c324c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: #94a9bf;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #a7bccf;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid #1a2f47;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: #7b93ab;
}

.footer-bottom a {
  color: #9db2c7;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 35, 61, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2eaf2;
  padding: var(--space-4) var(--space-3);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 480px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbdbe9;
}

.cookie-text p {
  color: #cbdbe9;
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background-color: var(--color-accent);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: var(--color-accent-hover);
}

.cookie-btn-reject {
  background-color: transparent;
  border-color: #486581;
  color: #e2eaf2;
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.cookie-btn-pref {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cookie-btn-pref:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* Legal text formatting */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--color-surface);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: var(--space-5);
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
  color: var(--color-primary-dark);
}

.legal-section p, .legal-section li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Responsive Navigation Breakpoints */
@media (max-width: 1120px) {
  .site-header .header-inner {
    gap: 10px;
  }

  .nav-desktop {
    gap: 8px;
  }

  .nav-links-cluster {
    gap: 1px;
    padding: 2px;
  }

  .nav-links-cluster a {
    padding: 5px 8px;
    font-size: 0.74rem;
  }

  .header-cta-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 980px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Responsiveness */
@media (max-width: 880px) {
  .split-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .site-header .header-inner {
    min-height: 58px;
  }

  .split-card {
    grid-template-columns: 1fr;
  }

  .card-media {
    min-height: 200px;
  }

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

@media (max-width: 400px) {
  .site-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .cookie-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}