/* ==========================================================================
   SCANDINAVIAN NATIONAL PARKS V3 — SOFT MODERN NORDIC DESIGN SYSTEM
   Brand / Domain: brizoscoostream.living
   Copyright: 2026
   ========================================================================== */

:root {
  /* Nordic Custom Palette */
  --c-midnight: #17282B;
  --c-deep-fjord: #203B3D;
  --c-pine-shadow: #385449;
  --c-forest-moss: #63735F;
  --c-lichen-green: #89977B;
  --c-glacier-teal: #62939A;
  --c-fjord-blue: #789FA5;
  --c-ice-mist: #D8E5E2;
  --c-birch-white: #F0F2EB;
  --c-snow-paper: #F8F8F2;
  --c-granite-grey: #737C79;
  --c-warm-stone: #CFC7B8;
  --c-birch-tan: #DCCEB8;
  --c-copper-trail: #A9795D;
  --c-moss-gold: #B29B5E;
  --c-deep-ink: #202A2B;
  --c-body-text: #465351;
  --c-muted-text: #717C78;
  --c-light-text: #F3F5F0;

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

  /* Spacing Scale */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;

  /* Soft Modern Elevation & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-subtle: 0 2px 8px rgba(23, 40, 43, 0.05);
  --shadow-card: 0 4px 16px rgba(23, 40, 43, 0.07);
  --shadow-hover: 0 8px 24px rgba(23, 40, 43, 0.12);
  --border-subtle: 1px solid rgba(115, 124, 121, 0.2);
}

/* Base Reset & Document Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a {
  color: var(--c-deep-fjord);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--c-copper-trail);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-glacier-teal);
  outline-offset: 3px;
}

/* Natural Reflow Container */
.site-shell {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-24);
  padding-right: var(--sp-24);
  min-width: 0;
}

/* Headings & Text Wraps */
h1, h2, h3, h4, h5, h6,
.brand-name,
.domain-anchor {
  overflow-wrap: anywhere;
  color: var(--c-midnight);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: var(--sp-16);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   Header must NOT be sticky. Height: 56-64px desktop.
   ========================================================================== */

.site-header {
  position: static; /* Explicitly non-sticky */
  background-color: var(--c-snow-paper);
  border-bottom: var(--border-subtle);
  height: 64px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--c-midnight);
  white-space: nowrap;
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-warm-stone);
  border-radius: var(--radius-sm);
  padding: var(--sp-8);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--c-midnight);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--sp-24);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-body-text);
  padding: var(--sp-4) 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-midnight);
  border-bottom-color: var(--c-glacier-teal);
}

.nav-btn {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-snow-paper);
  background-color: var(--c-deep-fjord);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.nav-btn:hover,
.nav-btn.active {
  background-color: var(--c-midnight);
  color: var(--c-snow-paper);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--c-deep-fjord);
  color: var(--c-snow-paper);
}

.btn-primary:hover {
  background-color: var(--c-midnight);
  color: var(--c-snow-paper);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary {
  background-color: var(--c-ice-mist);
  color: var(--c-deep-fjord);
  border-color: var(--c-warm-stone);
}

.btn-secondary:hover {
  background-color: var(--c-birch-white);
  color: var(--c-midnight);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-deep-fjord);
  border: 1.5px solid var(--c-deep-fjord);
}

.btn-outline:hover {
  background-color: var(--c-deep-fjord);
  color: var(--c-snow-paper);
}

/* ==========================================================================
   HERO SECTION (Strict Image & Text Separation)
   Desktop: TEXT / CTA | LARGE NORDIC LANDSCAPE VISUAL
   ========================================================================== */

.hero-section {
  padding: var(--sp-64) 0;
  background-color: var(--c-birch-white);
  border-bottom: var(--border-subtle);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
  align-items: center;
}

.hero-content {
  min-width: 0;
  padding-right: var(--sp-12);
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-copper-trail);
  margin-bottom: var(--sp-12);
}

.hero-title {
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-20);
  color: var(--c-midnight);
}

.hero-summary {
  font-size: 1.12rem;
  color: var(--c-body-text);
  margin-bottom: var(--sp-28);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  margin-bottom: var(--sp-40);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
  padding-top: var(--sp-28);
  border-top: var(--border-subtle);
}

.fact-item {
  display: flex;
  flex-direction: column;
}

.fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-muted-text);
  margin-bottom: var(--sp-4);
}

.fact-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-midnight);
}

.hero-visual {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--c-ice-mist);
}

.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* ==========================================================================
   HORIZONTAL SPLIT CARDS (Strict Rule: Desktop Image | Gap | Content)
   ========================================================================== */

.section {
  padding: var(--sp-64) 0;
}

.section-intro {
  margin-bottom: var(--sp-48);
  max-width: 720px;
}

.section-title {
  font-size: 1.85rem;
  margin-bottom: var(--sp-12);
  color: var(--c-midnight);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--c-body-text);
  line-height: 1.55;
}

.split-cards-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-48);
}

.split-card {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: var(--sp-40);
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.split-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card-visual {
  width: 100%;
  height: 100%;
  background-color: var(--c-ice-mist);
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.card-content {
  padding: var(--sp-32) var(--sp-40) var(--sp-32) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}

.meta-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-pine-shadow);
  background-color: var(--c-ice-mist);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.meta-country {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted-text);
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: var(--sp-12);
  color: var(--c-midnight);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--c-body-text);
  margin-bottom: var(--sp-20);
  line-height: 1.55;
}

.card-attributes {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: var(--sp-24);
  color: var(--c-body-text);
  border-top: 1px dashed var(--c-warm-stone);
  padding-top: var(--sp-16);
}

.card-attributes li {
  margin-bottom: var(--sp-8);
}

.card-attributes li:last-child {
  margin-bottom: 0;
}

.card-attributes li strong {
  color: var(--c-midnight);
}

.card-cta {
  margin-top: auto;
  padding-top: var(--sp-8);
}

/* ==========================================================================
   FIVE STEPS SECTION
   ========================================================================== */

.bg-birch {
  background-color: var(--c-birch-white);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-20);
}

.step-card {
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-24);
  min-width: 0;
  box-shadow: var(--shadow-subtle);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-glacier-teal);
  margin-bottom: var(--sp-12);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: var(--sp-12);
  letter-spacing: 0.02em;
}

.step-text {
  font-size: 0.88rem;
  color: var(--c-body-text);
  line-height: 1.5;
}

/* ==========================================================================
   NOTICE SECTION
   ========================================================================== */

.notice-box {
  background-color: var(--c-ice-mist);
  border-left: 4px solid var(--c-glacier-teal);
  border-radius: var(--radius-sm);
  padding: var(--sp-28);
  display: flex;
  gap: var(--sp-20);
  align-items: flex-start;
}

.notice-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.notice-title {
  font-size: 1.05rem;
  margin-bottom: var(--sp-8);
  color: var(--c-midnight);
}

.notice-text {
  font-size: 0.92rem;
  color: var(--c-body-text);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   TOPIC & LEGAL PAGES COMMON STYLES
   ========================================================================== */

.article-page {
  padding: var(--sp-64) 0;
  min-width: 0;
}

.article-header {
  margin-bottom: var(--sp-48);
  max-width: 820px;
}

.page-title {
  font-size: 2.25rem;
  margin-bottom: var(--sp-20);
  color: var(--c-midnight);
  letter-spacing: -0.02em;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--c-body-text);
  line-height: 1.6;
}

.horizontal-feature {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: var(--sp-40);
  background-color: var(--c-birch-white);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-48);
  align-items: center;
}

.feature-visual {
  width: 100%;
  height: 100%;
  background-color: var(--c-ice-mist);
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-panel {
  padding: var(--sp-40) var(--sp-40) var(--sp-40) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.panel-heading {
  font-size: 1.45rem;
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-16);
  color: var(--c-midnight);
  line-height: 1.35;
}

.feature-panel p {
  margin-bottom: var(--sp-16);
  line-height: 1.55;
}

.feature-panel p:last-child {
  margin-bottom: 0;
}

.content-body {
  max-width: 860px;
}

.prose-block {
  margin-bottom: var(--sp-48);
}

.prose-block h2 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-20);
  color: var(--c-midnight);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--c-warm-stone);
}

.prose-block h3 {
  font-size: 1.15rem;
  margin-top: var(--sp-20);
  margin-bottom: var(--sp-12);
  color: var(--c-midnight);
}

.prose-block ul,
.prose-block ol {
  margin-left: var(--sp-24);
  margin-bottom: var(--sp-20);
}

.prose-block li {
  margin-bottom: var(--sp-8);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
  margin: var(--sp-28) 0;
}

.comp-card {
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--sp-20);
}

.comp-card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: var(--sp-12);
  color: var(--c-deep-fjord);
}

.comp-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.two-column-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-28);
  margin: var(--sp-36) 0;
}

.panel-box {
  background-color: var(--c-birch-white);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-28);
}

.panel-box h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-16);
  color: var(--c-midnight);
}

.check-list,
.warning-list {
  list-style: none;
  font-size: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: var(--sp-24);
  margin-bottom: var(--sp-12);
  line-height: 1.5;
}

.check-list li:last-child,
.warning-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-pine-shadow);
  font-weight: 700;
}

.warning-list li {
  position: relative;
  padding-left: var(--sp-24);
  margin-bottom: var(--sp-12);
  line-height: 1.5;
}

.warning-list li::before {
  content: "!";
  position: absolute;
  left: 2px;
  color: var(--c-copper-trail);
  font-weight: 700;
}

/* Related Links Block */
.related-block {
  margin: var(--sp-48) 0;
  padding-top: var(--sp-28);
  border-top: var(--border-subtle);
}

.related-block h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-20);
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
}

.related-item,
.rel-tag-item {
  display: flex;
  flex-direction: column;
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--sp-20);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-item:hover,
.rel-tag-item:hover {
  border-color: var(--c-glacier-teal);
  transform: translateY(-2px);
}

.rel-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-muted-text);
  margin-bottom: var(--sp-8);
}

.rel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-midnight);
}

/* Page CTA Box */
.page-cta-box {
  background-color: var(--c-ice-mist);
  border-radius: var(--radius-md);
  padding: var(--sp-40);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-32);
  margin-top: var(--sp-48);
}

.page-cta-text h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-8);
  color: var(--c-midnight);
}

.page-cta-text p {
  font-size: 0.95rem;
  color: var(--c-body-text);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Data Table */
.table-container {
  overflow-x: auto;
  margin: var(--sp-28) 0;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-warm-stone);
}

.data-table th {
  background-color: var(--c-birch-white);
  color: var(--c-midnight);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-48);
  margin-top: var(--sp-28);
}

.contact-form-panel {
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-40);
  box-shadow: var(--shadow-subtle);
}

.form-instructions {
  font-size: 0.9rem;
  color: var(--c-muted-text);
  margin-bottom: var(--sp-28);
}

.req {
  color: var(--c-copper-trail);
}

.form-group {
  margin-bottom: var(--sp-24);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-midnight);
  margin-bottom: var(--sp-8);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--c-midnight);
  background-color: var(--c-snow-paper);
  border: 1.5px solid var(--c-warm-stone);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-glacier-teal);
  box-shadow: 0 0 0 3px rgba(98, 147, 154, 0.2);
  outline: none;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #b93838;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #b93838;
  margin-top: 6px;
  min-height: 18px;
}

.form-status {
  margin-top: var(--sp-20);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-status.is-success {
  background-color: #e4efe4;
  border: 1px solid #7eb37e;
  color: #1e4a1e;
}

.form-status.is-error {
  background-color: #fbeae8;
  border: 1px solid #e08b82;
  color: #791c13;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-28);
}

.office-card {
  background-color: var(--c-birch-white);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-28);
}

.office-title {
  font-size: 1.2rem;
  margin-bottom: var(--sp-20);
  color: var(--c-midnight);
}

.office-item {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(115, 124, 121, 0.15);
  padding-bottom: var(--sp-12);
}

.office-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-muted-text);
  margin-bottom: 4px;
}

.item-val {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-midnight);
}

.static-map-box {
  background-color: var(--c-snow-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.map-graphic-header {
  padding: 12px 16px;
  background-color: var(--c-midnight);
  color: var(--c-light-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.map-visual-frame {
  padding: var(--sp-8);
  background-color: #eaf0ed;
}

.map-vector {
  width: 100%;
  height: 210px;
  display: block;
  border-radius: var(--radius-sm);
}

.map-footer-caption {
  padding: 12px 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  background-color: var(--c-birch-white);
  color: var(--c-muted-text);
  text-align: center;
  border-top: var(--border-subtle);
}

/* ==========================================================================
   FOOTER (Exact requirements)
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background-color: var(--c-midnight);
  color: var(--c-light-text);
  padding: var(--sp-64) 0 var(--sp-24) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  min-width: 0;
}

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

.footer-brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-snow-paper);
  margin-bottom: var(--sp-12);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--c-warm-stone);
  margin-bottom: var(--sp-20);
  line-height: 1.55;
  max-width: 440px;
}

.footer-legal-line {
  font-size: 0.8rem;
  color: var(--c-ice-mist);
  margin-bottom: 6px;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-glacier-teal);
  margin-bottom: var(--sp-20);
}

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

.footer-links li {
  margin-bottom: var(--sp-12);
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--c-ice-mist);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-birch-white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-20);
  padding-top: var(--sp-28);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright-notice {
  font-size: 0.82rem;
  color: var(--c-warm-stone);
  margin-bottom: 0;
}

.footer-domain-wrap {
  margin-bottom: 0;
}

.domain-anchor {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-glacier-teal);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(98, 147, 154, 0.12);
  border: 1px solid rgba(98, 147, 154, 0.3);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.domain-anchor:hover {
  color: var(--c-snow-paper);
  background-color: var(--c-glacier-teal);
  border-color: var(--c-glacier-teal);
}

/* ==========================================================================
   COOKIE BANNER (Compact Fixed Bottom)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--c-midnight);
  color: var(--c-snow-paper);
  border-top: 2px solid var(--c-glacier-teal);
  padding: var(--sp-16) var(--sp-24);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--c-birch-white);
  flex: 1;
}

.cookie-text strong {
  color: var(--c-snow-paper);
}

.cookie-text p {
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex-shrink: 0;
}

.btn-cookie {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--c-granite-grey);
  background-color: transparent;
  color: var(--c-snow-paper);
  transition: all 0.2s ease;
}

.btn-cookie:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--c-warm-stone);
}

.btn-cookie-primary {
  background-color: var(--c-glacier-teal);
  border-color: var(--c-glacier-teal);
  color: var(--c-midnight);
  font-weight: 700;
}

.btn-cookie-primary:hover {
  background-color: #72a4ab;
  color: var(--c-midnight);
}

.btn-cookie-secondary {
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Breakpoints: 1024px, 768px, 400px, 320px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-split {
    gap: var(--sp-36);
  }

  .split-card {
    grid-template-columns: 44% 56%;
    gap: var(--sp-32);
  }

  .card-content {
    padding: var(--sp-28) var(--sp-28) var(--sp-28) 0;
  }

  .horizontal-feature {
    grid-template-columns: 45% 55%;
    gap: var(--sp-32);
  }

  .feature-panel {
    padding: var(--sp-28) var(--sp-28) var(--sp-28) 0;
  }

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

  .steps-grid .step-card:nth-child(4),
  .steps-grid .step-card:nth-child(5) {
    grid-column: span 1;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-16);
  }

  .related-links-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-16);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--c-snow-paper);
    border-bottom: 2px solid var(--c-glacier-teal);
    padding: var(--sp-24);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-16);
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  /* Hero Mobile Layout: Text -> Clean Spacing -> Image */
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--sp-36);
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-visual {
    margin-top: var(--sp-8);
  }

  .hero-img {
    height: 300px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  /* Split Cards Mobile Stack: Image -> Safe Gap -> Content with generous padding */
  .split-cards-stack {
    gap: var(--sp-40);
  }

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

  .card-img {
    min-height: 240px;
    height: 260px;
  }

  .card-content {
    padding: var(--sp-28) var(--sp-24) var(--sp-32) var(--sp-24);
  }

  /* Horizontal Feature on Guide Pages */
  .horizontal-feature {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--sp-40);
  }

  .feature-img {
    min-height: 240px;
    height: 260px;
  }

  .feature-panel {
    padding: var(--sp-28) var(--sp-24) var(--sp-32) var(--sp-24);
  }

  .two-column-panels {
    grid-template-columns: 1fr;
    gap: var(--sp-20);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-16);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-36);
  }

  .contact-form-panel {
    padding: var(--sp-28);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-16);
  }

  .cookie-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .page-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-28);
    gap: var(--sp-24);
  }
}

/* Breakpoint below 400px (320px - 375px behavior) */
@media (max-width: 400px) {
  .site-shell {
    padding-left: var(--sp-16);
    padding-right: var(--sp-16);
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .hero-split {
    gap: var(--sp-28);
  }

  .hero-img {
    height: 220px;
  }

  .card-img,
  .feature-img {
    min-height: 200px;
    height: 210px;
  }

  .card-content {
    padding: var(--sp-20) var(--sp-16) var(--sp-24) var(--sp-16);
  }

  .feature-panel {
    padding: var(--sp-20) var(--sp-16) var(--sp-24) var(--sp-16);
  }

  .contact-form-panel {
    padding: var(--sp-20);
  }

  .btn {
    width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================================== */
@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;
  }
}