:root {
  --forest: #18352D;
  --forest-dark: #0F221D;
  --forest-light: #244C41;
  --sky: #76AFC0;
  --sky-light: #EBF3F6;
  --sky-dark: #5891A2;
  --sand: #E5D3B5;
  --sand-light: #F8F4EC;
  --sand-card: #F2E9DB;
  --sand-border: #D6C3A3;
  --white: #FAFAF7;
  --charcoal: #1C2321;
  --muted: #5C6A65;
  --border-light: rgba(24, 53, 45, 0.12);
  --shadow-sm: 0 2px 6px rgba(24, 53, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(24, 53, 45, 0.09);
  --shadow-lg: 0 16px 40px rgba(24, 53, 45, 0.14);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ======================================================
   SLIM PERFECT NON-STICKY HEADER (50px height, scrolls away)
   ====================================================== */
.site-header {
  height: 50px;
  background-color: var(--forest);
  color: var(--white);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(229, 211, 181, 0.18);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sand);
  line-height: 1;
}

.brand-logo svg {
  width: 20px;
  height: 20px;
  fill: var(--sky);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.82);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--sky);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sky);
  color: var(--forest-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  height: 32px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.header-cta:hover {
  background: var(--sand);
  color: var(--forest-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--sand);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background: var(--forest-dark);
  padding: 20px 24px;
  border-bottom: 2px solid var(--sand);
  flex-direction: column;
  gap: 14px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 0.95rem;
  padding: 6px 0;
}

/* ======================================================
   HERO / BREADCRUMB / PAGE HEADERS
   ====================================================== */
.hero-editorial {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  color: var(--white);
  padding: 64px 24px 54px;
  position: relative;
  overflow: hidden;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(118, 175, 192, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sand);
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--sand);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--sand-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 680px;
  color: rgba(250, 250, 247, 0.85);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.7;
}

.hierarchy-bar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 211, 181, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  max-width: fit-content;
}

.hierarchy-step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sand-light);
}

.hierarchy-step.active {
  color: var(--sky);
  font-weight: 700;
}

.hierarchy-arrow {
  color: var(--sand);
  opacity: 0.6;
}

/* ======================================================
   LAYOUT & CONTAINERS
   ====================================================== */
.section {
  padding: 64px 24px;
}

.section-alt {
  background-color: var(--sand-light);
  border-top: 1px solid var(--sand-border);
  border-bottom: 1px solid var(--sand-border);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sky-dark);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--forest-dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  margin-top: 10px;
}

/* ======================================================
   NOVEL CARD ARCHITECTURE: HORIZONTAL SPLIT-CARD & FRAMED CANVAS
   ====================================================== */
.split-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

/* Horizontal Split-Card */
.split-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.split-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-dark);
}

.split-card-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--forest);
}

.split-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-card:hover .split-card-image-wrap img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--forest-dark);
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 211, 181, 0.4);
}

.card-ranking {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(24, 53, 45, 0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.split-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.split-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

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

.split-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--forest-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.split-card-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.split-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.pill {
  font-size: 0.72rem;
  padding: 4px 9px;
  background: var(--sand-light);
  border: 1px solid var(--sand-border);
  color: var(--forest);
  border-radius: 50px;
  font-weight: 600;
}

.split-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(24, 53, 45, 0.08);
  padding-top: 16px;
  margin-top: auto;
  gap: 12px;
}

.card-spec {
  font-size: 0.8rem;
  color: var(--forest-dark);
  font-weight: 600;
}

.card-spec small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: normal;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: var(--sand-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-card:hover {
  background: var(--sky-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Framed Canvas Card */
.framed-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--forest);
  padding: 26px;
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0px var(--sand);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.framed-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--sky);
}

.framed-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.framed-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--forest-dark);
}

.framed-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ======================================================
   INTERACTIVE MAP EXPLORER MODULE
   ====================================================== */
.map-explorer-wrapper {
  background: var(--forest-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
}

.map-svg-container {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(229, 211, 181, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.europe-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
}

.map-region {
  fill: #224339;
  stroke: #2E5A4D;
  stroke-width: 1.5;
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-region:hover, .map-region.active {
  fill: var(--sky);
  stroke: var(--sand);
  filter: drop-shadow(0 0 8px rgba(118, 175, 192, 0.6));
}

.map-node {
  fill: var(--sand);
  cursor: pointer;
  transition: transform 0.2s;
}

.map-node:hover {
  transform: scale(1.3);
  fill: var(--white);
}

.map-node-label {
  fill: var(--sand-light);
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  pointer-events: none;
}

.map-sidebar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 211, 181, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
}

.map-sidebar-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky);
  font-weight: 700;
}

.map-sidebar h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--sand);
  margin: 6px 0 12px;
}

.map-sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.map-stat-lbl {
  font-size: 0.74rem;
  color: var(--sand-light);
  opacity: 0.8;
}

.map-quick-cities {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-quick-cities li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: all 0.2s;
}

.map-quick-cities li a:hover {
  background: var(--sky);
  color: var(--forest-dark);
}

/* ======================================================
   TABBED CITY CONTENT & ESSENTIALS
   ====================================================== */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--sand-border);
  margin-bottom: 34px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.tab-btn.active {
  color: var(--forest-dark);
  font-weight: 700;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--forest);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Data Matrix Table */
.data-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-md);
  background: var(--white);
}

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

.data-table th {
  background: var(--forest);
  color: var(--sand-light);
  font-weight: 600;
  padding: 13px 18px;
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--charcoal);
}

.data-table tr:nth-child(even) {
  background-color: var(--sand-light);
}

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

/* ======================================================
   FORMS & PLANNER BOX
   ====================================================== */
.planner-box {
  background: var(--sand-card);
  border: 2px solid var(--sand-border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--forest-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  padding: 11px 15px;
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--forest);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest);
  color: var(--sand-light);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--forest-light);
  color: var(--white);
}

/* ======================================================
   EDITORIAL / LEGAL
   ====================================================== */
.editorial-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #2D3734;
  max-width: 820px;
}

.editorial-body h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--forest-dark);
  margin: 34px 0 14px;
}

.editorial-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--forest);
  margin: 22px 0 10px;
}

.editorial-body p {
  margin-bottom: 18px;
}

.editorial-body ul, .editorial-body ol {
  margin: 16px 0 24px 24px;
}

.editorial-body li {
  margin-bottom: 8px;
}

/* ======================================================
   COOKIE CONSENT BANNER
   ====================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 880px;
  background: var(--forest-dark);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(250, 250, 247, 0.9);
}

.cookie-text a {
  color: var(--sky);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--sky);
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--sand);
  border: 1px solid var(--sand);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background: var(--forest-dark);
  color: var(--sand-light);
  padding: 54px 24px 28px;
  border-top: 3px solid var(--sand);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--sand);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(240, 235, 225, 0.8);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sky);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--sand-light);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--sky);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(229, 211, 181, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(240, 235, 225, 0.65);
  gap: 14px;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 960px) {
  .site-header {
    height: 48px;
  }
  .main-nav, .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-drawer {
    top: 48px;
  }
  .map-explorer-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .split-card-grid {
    grid-template-columns: 1fr;
  }
}