/* VisaRules.info — design system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:        #1B2A4A;
  --bg-dark-hover:  #243656;
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #F6F7F8;
  --bg-tertiary:    #EEF2F7;
  --border-subtle:  #E5E7EB;
  --border-strong:  #D1D5DB;
  --accent:         #2563EB;
  --accent-light:   #EFF6FF;
  --cta:            #EA580C;
  --cta-hover:      #C2410C;
  --green:          #16A34A;
  --green-bg:       #F0FDF4;
  --red:            #DC2626;
  --red-bg:         #FEF2F2;
  --yellow:         #D97706;
  --yellow-bg:      #FFFBEB;
  --text:           #1A1D23;
  --text-2:         #5A6175;
  --text-3:         #9CA3AF;
  --text-inv:       #FFFFFF;
  --r-sm:           8px;
  --r-md:           12px;
  --r-lg:           16px;
  --wrap:           1440px;
  --px:             60px;
  /* legacy compat */
  --color-primary:          #2563EB;
  --color-easy:             #16A34A;
  --color-moderate-easy:    #0e9f6e;
  --color-moderate:         #D97706;
  --color-difficult:        #e3a008;
  --color-very-difficult:   #DC2626;
  --color-warning-bg:       #FFFBEB;
  --color-warning-border:   #D97706;
  --radius:                 8px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-secondary);
}

/* ── INNER PAGE CONTAINER (shared by all sections) ──── */
/* Rule: outer section = bg only (no h-padding). Inner = max-width + auto margin + padding. */
/* This ensures all content aligns to the same horizontal grid on every page. */

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.logo-mark { display: block; flex-shrink: 0; }
.logo-text { display: flex; align-items: center; gap: 1px; line-height: 1; }
.logo-visa, .logo-dash { color: #fff; }
.logo-rules { color: #60A5FA; }
.nav-links { list-style: none; display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.7); font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-home .nav-burger span { background: var(--bg-dark); }

/* ── WHITE HEADER (homepage only) ───────────────────── */
.page-home .site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.page-home .logo-visa,
.page-home .logo-dash { color: var(--bg-dark); }
.page-home .logo-rules { color: var(--accent); }
.page-home .nav-links a { color: var(--text-2); }
.page-home .nav-links a:hover { color: var(--text); }

/* ── FOOTER LOGO ─────────────────────────────────────── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-logo .logo-visa,
.footer-logo .logo-dash { color: #fff; }
.footer-logo .logo-rules { color: #60A5FA; }

/* ── BREADCRUMB BAR ──────────────────────────────────── */
/* Sits between the sticky header and the dark hero — bg-secondary strip */
.breadcrumb-bar {
  background: var(--bg-secondary);
}
.breadcrumb-bar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px var(--px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-2);
  list-style: none;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: var(--text-3); }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 20px;
}
.warning-card { background: var(--yellow-bg); border-color: var(--yellow); }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1 { font-size: 2rem; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; color: var(--text); }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

/* ── STATUS BADGES ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-required   { background: var(--red);    color: #fff; }
.badge-on-arrival { background: var(--yellow); color: #fff; }
.badge-free       { background: var(--green);  color: #fff; }

/* legacy support */
.status-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.status-badge { padding: 4px 12px; border-radius: 100px; font-weight: 600; font-size: .85rem; background: #111; color: #fff; }
.status-visa_required   .status-badge { background: var(--red); }
.status-visa_on_arrival .status-badge { background: var(--yellow); }
.status-visa_free       .status-badge { background: var(--green); }
.rejection-rate { font-size: .85rem; color: var(--text-2); }

/* ── DIFFICULTY BADGES ───────────────────────────────── */
.difficulty-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: .78rem; font-weight: 600; color: #fff; }
.difficulty-badge.difficulty-easy           { background: var(--green); }
.difficulty-badge.difficulty-moderate-easy  { background: var(--color-moderate-easy); }
.difficulty-badge.difficulty-moderate       { background: var(--yellow); }
.difficulty-badge.difficulty-difficult      { background: var(--color-difficult); color: #1A1D23; }
.difficulty-badge.difficulty-very-difficult { background: var(--red); }

.difficulty-easy           { color: var(--color-easy); }
.difficulty-moderate-easy  { color: var(--color-moderate-easy); }
.difficulty-moderate       { color: var(--color-moderate); }
.difficulty-difficult      { color: var(--color-difficult); }
.difficulty-very-difficult { color: var(--color-very-difficult); }

/* ── VISA HERO TOP (flag + titles) ───────────────────── */
.visa-hero-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.visa-hero-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}
.visa-hero-flags span { font-size: 2.5rem; line-height: 1; }
.visa-hero-flags .flag-sep { font-size: 1.5rem; color: rgba(255,255,255,.4); }
.visa-hero-flag { font-size: 2.5rem; line-height: 1; flex-shrink: 0; margin-top: 4px; }
.visa-hero-route { color: rgba(255,255,255,.55); font-size: .875rem; margin: 0 0 6px; font-weight: 500; }
.visa-hero-titles h1 { color: #fff; font-size: 1.75rem; margin: 0 0 6px; line-height: 1.25; }
.visa-hero-visa-type { color: rgba(255,255,255,.6); font-size: .875rem; }

/* ── VISA STATUS BANNER ──────────────────────────────── */
.visa-status-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.visa-status-banner.req-visa_required   { background: var(--red-bg);    color: var(--red); }
.visa-status-banner.req-visa_on_arrival { background: var(--yellow-bg); color: var(--yellow); }
.visa-status-banner.req-visa_free       { background: var(--green-bg);  color: var(--green); }
.visa-status-banner.req-e_visa          { background: var(--accent-light); color: var(--accent); }
.status-banner-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO STAT CHIPS ─────────────────────────────────── */
.stat-chips { display: flex; gap: 8px; margin-top: 0; }
.stat-chip {
  flex: 1;
  background: #1E3A5F;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  text-align: center;
  min-width: 0;
}
.stat-chip-value { display: block; font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.2; }
.stat-chip-label { display: block; font-size: .6rem; color: rgba(255,255,255,.5); margin-top: 4px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

/* Colored difficulty chips (on dark hero bg — use lighter tints) */
.stat-chip.chip-easy,
.stat-chip.chip-moderate-easy { background: rgba(22,163,74,.18); border-color: rgba(74,222,128,.35); }
.stat-chip.chip-easy .stat-chip-value,
.stat-chip.chip-moderate-easy .stat-chip-value { color: #4ade80; }

.stat-chip.chip-moderate { background: rgba(217,119,6,.18); border-color: rgba(251,191,36,.35); }
.stat-chip.chip-moderate .stat-chip-value { color: #fbbf24; }

.stat-chip.chip-difficult,
.stat-chip.chip-very-difficult { background: rgba(220,38,38,.18); border-color: rgba(248,113,113,.35); }
.stat-chip.chip-difficult .stat-chip-value,
.stat-chip.chip-very-difficult .stat-chip-value { color: #f87171; }

/* Colored rejection rate chips */
.stat-chip.chip-rej-low  { background: rgba(22,163,74,.18); border-color: rgba(74,222,128,.35); }
.stat-chip.chip-rej-low  .stat-chip-value { color: #4ade80; }
.stat-chip.chip-rej-medium { background: rgba(217,119,6,.18); border-color: rgba(251,191,36,.35); }
.stat-chip.chip-rej-medium .stat-chip-value { color: #fbbf24; }
.stat-chip.chip-rej-high { background: rgba(220,38,38,.18); border-color: rgba(248,113,113,.35); }
.stat-chip.chip-rej-high .stat-chip-value { color: #f87171; }

/* ── CHECKLIST ───────────────────────────────────────── */
.checklist { list-style: none; }
.checklist li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px;
}
.checklist-optional li { opacity: .75; }
.checklist-optional li::before { border-color: var(--border-subtle); }
.doc-note { display: block; font-size: .82rem; color: var(--text-2); margin-top: 2px; }

/* ── WARNINGS / TIPS ─────────────────────────────────── */
.warning-list, .tips-list { list-style: none; }
.warning-list li { padding: 6px 0; }
.tips-list li { padding: 6px 0; }

/* ── STEPS ───────────────────────────────────────────── */
.steps { padding-left: 20px; }
.steps li { margin-bottom: 16px; }
.steps strong { display: block; margin-bottom: 4px; }

/* ── APPLICATION CENTERS ─────────────────────────────── */
.center-card { background: var(--bg-primary); border-radius: var(--r-sm); padding: 12px; margin-bottom: 8px; }
.center-note { font-size: .82rem; color: var(--text-2); margin-top: 4px; }
.btn-secondary {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: .875rem;
  transition: background .2s;
}
.btn-secondary:hover { background: var(--accent-light); }

.rejection-reasons { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rejection-item {
  padding: 14px;
  background: var(--red-bg);
  border-radius: var(--r-sm);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.rejection-x {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center/16px no-repeat;
}
.rejection-content { flex: 1; min-width: 0; }
.rejection-content strong { font-weight: 600; color: var(--red); display: block; margin-bottom: 4px; }
.rejection-content p { color: #7F1D1D; margin: 0; line-height: 1.6; }
.counter { color: var(--green); font-weight: 600; margin-top: 4px; line-height: 1.6; }

/* ── EDITORIAL BLOCKS (warning + tip) ───────────────── */
.editorial-warn-block,
.editorial-tip-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-top: 14px;
}
.editorial-warn-block { background: var(--yellow-bg); border: 1px solid #F59E0B30; }
.editorial-tip-block  { background: var(--green-bg);  border: 1px solid #16A34A30; }
.editorial-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 1px;
}
.warn-icon {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center/20px no-repeat;
}
.tip-icon {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center/20px no-repeat;
}
.editorial-block-content { flex: 1; min-width: 0; }
.warn-title { color: #92400E; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.tip-title  { color: #166534; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }

/* ── FAQ ACCORDION ───────────────────────────────────── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: .875rem;
  color: var(--text);
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .2s;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 16px;
  color: var(--text-2);
  font-size: .875rem;
  line-height: 1.5;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, padding-bottom .35s ease;
}
.faq-item[open] .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-bottom: 14px;
}

/* ── REJECTION ANALYSIS ──────────────────────────────── */

/* ── RELATED LINKS ───────────────────────────────────── */
.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.related-links a {
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: .82rem;
  text-decoration: none;
  color: var(--accent);
  transition: background .2s;
}
.related-links a:hover { background: var(--accent-light); }

/* ── POLICY UPDATES ──────────────────────────────────── */
.update-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  background: var(--bg-secondary);
}
.update-item.update-high { background: var(--accent-light); }
.update-item:last-child { margin-bottom: 0; }

.update-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E") center/18px no-repeat;
}
.update-item.update-high .update-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E");
}

.update-body { flex: 1; min-width: 0; }
.update-date { font-size: .6875rem; font-weight: 600; color: var(--text-3); display: block; margin-bottom: 4px; }
.update-item.update-high .update-date { color: var(--accent); }
.update-headline { font-size: .8125rem; color: var(--text); line-height: 1.4; margin: 0 0 2px; font-weight: 600; }
.update-detail   { font-size: .8125rem; color: var(--text-2); line-height: 1.4; margin: 0; }
.update-item.update-high .update-headline { color: var(--text); }
.update-item.update-high .update-detail   { color: var(--text-2); }

/* ── QUICK FACTS TABLE ───────────────────────────────── */
.facts-table {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.fact-row:nth-child(odd)  { background: var(--bg-primary); }
.fact-row:nth-child(even) { background: var(--bg-secondary); }
.fact-label {
  width: 140px;
  min-width: 140px;
  font-size: .875rem;
  color: var(--text-2);
  flex-shrink: 0;
}
.fact-value {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.fact-usd { font-weight: 400; color: var(--text-2); font-size: .8rem; }

/* legacy dl facts (schengen sidebar) */
.facts-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.facts-grid dt { font-weight: 600; color: var(--text-2); white-space: nowrap; font-size: .875rem; }
.facts-grid dd { color: var(--text); font-size: .875rem; }

/* ── TABLE ───────────────────────────────────────────── */
.visa-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.visa-table th { background: var(--bg-secondary); border-bottom: 2px solid var(--border-subtle); padding: 10px 12px; text-align: left; font-weight: 600; font-size: .8rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .03em; }
.visa-table td { border-bottom: 1px solid var(--border-subtle); padding: 10px 12px; }
.visa-table a { color: var(--accent); text-decoration: none; }
.visa-table a:hover { text-decoration: underline; }
.visa-table tr:hover td { background: var(--bg-secondary); }
/* Compact columns in Schengen table */
.visa-table .col-proc { width: 52px; text-align: center; color: var(--text-2); font-size: .8rem; }
.visa-table .col-notes { font-size: .75rem; color: var(--text-2); max-width: 160px; }

/* ── SCHENGEN OVERVIEW (legacy) ──────────────────────── */
.schengen-overview-banner { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin: 16px 0; }
.overview-stat { text-align: center; padding: 12px; background: var(--bg-secondary); border-radius: var(--r-sm); }
.overview-stat strong { display: block; font-size: 1.4rem; color: var(--accent); }
.overview-stat span { font-size: .8rem; color: var(--text-2); }
.overview-note { color: var(--text-2); font-size: .9rem; }

/* ── STRATEGY GRID ───────────────────────────────────── */
.strategy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.strategy-easiest { background: var(--green-bg); border: 1px solid #bbf7d0; border-radius: var(--r-sm); padding: 16px; }
.strategy-hardest  { background: var(--red-bg);   border: 1px solid #fecaca; border-radius: var(--r-sm); padding: 16px; }
.strategy-easiest ul, .strategy-hardest ul { list-style: none; margin: 8px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.strategy-easiest li a { font-weight: 700; color: var(--green); text-decoration: none; }

/* ═══════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════ */

/* Hero */
.home-hero {
  background: var(--bg-dark);
}
.home-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 60px var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.home-hero-text {}
.home-hero h1 {
  font-size: 2.75rem;
  color: #fff;
  margin-bottom: 14px;
}
.home-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.home-hero-image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: .85rem;
}
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cta);
  color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s;
}
.btn-primary:hover { background: var(--cta-hover); }

/* Section wrapper */
.home-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--px);
}
.home-section-gray {
  background: var(--bg-secondary);
}
.home-section-gray .home-section {
  padding: 48px var(--px);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 { margin: 0; font-size: 1.4rem; }
.section-header a { color: var(--accent); font-size: .9rem; text-decoration: none; }
.section-header a:hover { text-decoration: underline; }

/* Passport cards */
.passport-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.passport-card {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.passport-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37,99,235,.1);
}
.passport-flag { font-size: 2rem; flex-shrink: 0; }
.passport-info strong { display: block; font-size: .95rem; font-weight: 600; }
.passport-info span { font-size: .8rem; color: var(--text-2); }
.passport-arrow { color: var(--text-3); margin-left: auto; font-size: 1.1rem; }

/* Popular destinations grid — homepage only (card itself uses shared .dest-card) */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

/* Schengen promo */
.schengen-promo-section {
  background: var(--bg-secondary);
}
.schengen-promo-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--px) 48px;
}
.schengen-promo {
  background: var(--bg-dark);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.schengen-promo h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.schengen-promo p  { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 520px; margin: 0; }
.schengen-flag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.schengen-flag-row span { font-size: 1.6rem; line-height: 1; }
.schengen-more {
  font-size: .78rem !important;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: .01em;
}

.schengen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════════════════
   PASSPORT HUB
═══════════════════════════════════════════════════════ */
.hub-hero { background: var(--bg-dark); }
.hub-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--px) 32px;
}
.hub-flag { font-size: 2.5rem; line-height: 1; display: block; margin-bottom: 12px; }
.hub-hero-inner h1 { color: #fff; font-size: 2rem; margin: 0 0 6px; }
.hub-subtitle { color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 6px !important; }
.hub-hero-inner p { color: rgba(255,255,255,.75); max-width: 560px; }

.hub-body {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--px) 64px;
}

.schengen-callout {
  background: var(--accent-light);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: .9rem;
}
.schengen-callout a { color: var(--accent); font-weight: 600; text-decoration: none; }
.schengen-callout a:hover { text-decoration: underline; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  background: #fff;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-2);
  transition: all .15s;
  text-decoration: none;
  display: inline-block;
}
.filter-btn:hover,
.filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.dest-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, border-color .2s;
  min-height: 148px; /* consistent card height */
}
.dest-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(37,99,235,.08); }
.dest-flag { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 8px; }
.dest-name { font-weight: 600; font-size: .875rem; margin-bottom: 6px; display: block; }
.dest-req {
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
}
.dest-visa_required   .dest-req { background: var(--red-bg);    color: var(--red); }
.dest-visa_on_arrival .dest-req { background: var(--yellow-bg); color: var(--yellow); }
.dest-visa_free       .dest-req { background: var(--green-bg);  color: var(--green); }

/* Bottom row: price left, difficulty right */
.dest-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}
.dest-prices { min-width: 0; }
.dest-cost {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  white-space: nowrap;
}
.dest-cost-usd {
  font-size: .68rem;
  color: var(--text-3);
  display: block;
  margin-top: 1px;
}
.dest-diff {
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.dest-diff.difficulty-easy           { background: var(--green-bg);  color: var(--green); }
.dest-diff.difficulty-moderate       { background: var(--yellow-bg); color: var(--yellow); }
.dest-diff.difficulty-difficult,
.dest-diff.difficulty-very-difficult { background: var(--red-bg);    color: var(--red); }

/* ═══════════════════════════════════════════════════════
   VISA LEAF PAGE
═══════════════════════════════════════════════════════ */
/* White background strip that wraps the two-column body */
.visa-page-bg { background: var(--bg-primary); }
.visa-hero { background: var(--bg-dark); }
.visa-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--px) 32px;
}
.visa-hero-inner h1 { color: #fff; font-size: 2rem; margin: 0 0 8px; }
.visa-hero-subtitle { color: rgba(255,255,255,.72); margin-bottom: 0; }

.visa-body {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--px) 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.visa-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }

/* ── SECTION BLOCK (replaces .card in visa-main — no border, no bg) */
.section-block { }
.section-block h2 { margin-bottom: 14px; }

/* ── WARNING BLOCK (health requirements etc.) */
.warning-block {
  background: var(--yellow-bg);
  border: 1px solid var(--yellow);
  border-radius: var(--r-sm);
  padding: 16px 20px;
}
.warning-block h2 { color: #92400E; }

/* ── SIDEBAR CARD (bg-secondary, no border) */
.sidebar-card {
  background: var(--bg-secondary);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card:last-child { margin-bottom: 0; }
.sidebar-card h2, .sidebar-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }

/* ── RELATED ITEMS (country + status badge rows) */
.related-items { display: flex; flex-direction: column; gap: 8px; }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-primary);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s;
}
.related-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.related-item-name { font-size: .875rem; font-weight: 500; color: var(--text); }
.related-item-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.req-visa_required   { background: var(--red-bg);    color: var(--red); }
.req-visa_on_arrival { background: var(--yellow-bg); color: var(--yellow); }
.req-visa_free       { background: var(--green-bg);  color: var(--green); }
.req-e_visa          { background: var(--accent-light); color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   SCHENGEN PAGE
═══════════════════════════════════════════════════════ */
.schengen-hero { background: var(--bg-dark); }
.schengen-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--px) 32px;
}
.schengen-hero-inner h1 { color: #fff; font-size: 2rem; margin: 0 0 8px; }
.schengen-hero-inner > p { color: rgba(255,255,255,.72); max-width: 600px; }

.schengen-stats {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.schengen-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
}
.schengen-stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; }
.schengen-stat-label { display: block; font-size: .72rem; color: rgba(255,255,255,.65); margin-top: 2px; }

.schengen-body {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--px) 64px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}
.schengen-main { min-width: 0; }

/* ── SCHENGEN HUB PAGE ───────────────────────────────── */
.schengen-hub-hero { background: var(--bg-dark); }
.schengen-hub-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 52px var(--px) 44px;
}
.schengen-hub-hero-inner h1 { color: #fff; font-size: 2rem; margin: 12px 0 10px; }
.schengen-hub-hero-inner > p { color: rgba(255,255,255,.72); max-width: 580px; margin-bottom: 20px; }

.schengen-hub-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.schengen-hub-fact {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-secondary);
  border-radius: var(--r-md);
}
.schengen-hub-fact-value { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.schengen-hub-fact-label { display: block; font-size: .78rem; color: var(--text-2); margin-top: 4px; }

.schengen-passport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.schengen-passport-card {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.schengen-passport-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(37,99,235,.1);
}
.schengen-passport-card-top { display: flex; align-items: center; gap: 14px; }
.schengen-passport-flag { font-size: 2.2rem; flex-shrink: 0; }
.schengen-passport-card-top strong { display: block; font-size: 1rem; font-weight: 700; }
.schengen-passport-meta { font-size: .78rem; color: var(--text-2); display: block; margin-top: 2px; }
.schengen-passport-best {
  background: var(--bg-secondary);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: .8rem;
}
.schengen-passport-best .label { color: var(--text-2); display: block; margin-bottom: 4px; }
.schengen-passport-best .countries { font-weight: 600; color: var(--text); }
.schengen-passport-cta { font-size: .85rem; font-weight: 600; color: var(--accent); margin-top: auto; }

/* ── HOMEPAGE: POPULAR DESTINATIONS BY PASSPORT ─────── */
.pop-passport-section { margin-bottom: 40px; }
.pop-passport-section:last-child { margin-bottom: 0; }
.pop-passport-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pop-passport-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.pop-passport-title span { font-size: 1.4rem; }
.pop-passport-header a { font-size: .85rem; color: var(--accent); text-decoration: none; }
.pop-passport-header a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .schengen-hub-facts { grid-template-columns: repeat(2, 1fr); }
  .schengen-passport-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .schengen-hub-facts { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--px) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { margin-bottom: 10px; }
.footer-tagline { line-height: 1.55; font-size: .82rem; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col ul  { list-style: none; }
.footer-col li  { margin-bottom: 8px; }
.footer-col a   { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 16px var(--px);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --px: 32px; }
  .pop-grid { grid-template-columns: repeat(3, 1fr); }
  .schengen-promo { margin: 0 var(--px) 40px; }
}
@media (max-width: 768px) {
  :root { --px: 16px; }
  h1 { font-size: 1.5rem; }
  .home-hero h1 { font-size: 1.75rem; }
  .passport-cards { grid-template-columns: 1fr; }
  .pop-grid { grid-template-columns: repeat(2, 1fr); }
  .schengen-promo { flex-direction: column; text-align: center; gap: 20px; }
  .visa-body { grid-template-columns: 1fr; background: var(--bg-primary); }
  .schengen-body { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .visa-table { font-size: .8rem; }
  .stat-chips { gap: 8px; flex-wrap: wrap; }
  .stat-chip { min-width: 0; padding: 8px 14px; }
  .chip-price { flex: 0 0 100%; }
  .schengen-stats { gap: 8px; }
  .schengen-stat { min-width: 90px; }
  .visa-sidebar .card { position: static; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-image { display: none; }

  /* Mobile nav */
  .nav-container { flex-wrap: wrap; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .page-home .nav-links a { border-bottom-color: var(--border-subtle); }

  /* Flags above title on mobile */
  .visa-hero-top { flex-direction: column; gap: 8px; }
  .visa-hero-flags { margin-top: 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
}
