/* ==========================================================================
   PLUGABROAD.COM MASTER DESIGN SYSTEM (v13 Full-Stack Audited Spec · 15px Scale)
   Single Source of Truth for WordPress Theme & Static Prototype (6 Templates)
   ========================================================================== */
:root {
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;

  --dark-hull: #0B1120;
  --dark-panel: #151F32;
  --dark-border: #26334D;

  --ink-1: #0F172A;
  --ink-2: #334155;
  --ink-3: #475569;

  --border: #CBD5E1;
  --border-soft: #E2E8F0;

  --cobalt: #2563EB;
  --cobalt-hover: #1D4ED8;
  --cobalt-tint: #EFF6FF;

  /* Semantic Traffic-Light Safety Signals (WCAG AA >= 4.5:1 on white) */
  --safe: #047857;
  --safe-bg: #ECFDF5;
  --safe-border: #10B981;

  --warn: #B45309;
  --warn-bg: #FFFBEB;
  --warn-border: #F59E0B;

  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --danger-border: #EF4444;

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

::selection { background: #DBEAFE; color: var(--ink-1); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
a { text-underline-offset: 3px; }

body {
  background: var(--bg-canvas);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand { font-family: var(--font-display); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ==========================================================================
   Prototype Review Switcher Bar (Remove on WordPress Production Deploy)
   ========================================================================== */
.spec-bar {
  background: #1E293B;
  color: #F8FAFC;
  padding: 9px 24px;
  font-size: 12.5px;
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.spec-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-nav a {
  color: #CBD5E1;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  background: #0F172A;
  border: 1px solid #334155;
  font-weight: 600;
  font-size: 12.5px;
}
.spec-nav a:hover, .spec-nav a.curr {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
}

/* ==========================================================================
   Primary Global Header & Responsive Drawer
   ========================================================================== */
.topbar {
  background: var(--dark-hull);
  border-bottom: 1px solid var(--dark-border);
  color: #F8FAFC;
}
.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-badge {
  background: var(--cobalt);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #FFFFFF; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-btn {
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  color: #E2E8F0;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.lang-wrap { position: relative; }
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 220px;
  background: var(--dark-panel);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  z-index: 200;
}
.lang-menu.open { display: block; }
.lang-opt {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #E2E8F0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.lang-opt-label { display: inline-flex; align-items: center; gap: 8px; }
.flag-icon {
  display: inline-block;
  width: 18px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);
  vertical-align: middle;
  flex-shrink: 0;
  object-fit: cover;
}
.flag-inline { display: inline-flex; align-items: center; gap: 6px; }
.lang-opt:hover { background: rgba(37, 99, 235, 0.25); color: #FFF; }
.lang-opt.active { background: var(--cobalt); color: #FFF; }

.mobile-menu-btn {
  display: none;
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  color: #FFFFFF;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; gap: 6px; }
}
@media (max-width: 520px) {
  .nav-inner { gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-badge { width: 30px; height: 30px; border-radius: 7px; }
  .nav-actions { gap: 6px; }
  .lang-btn { padding: 5px 9px; font-size: 12.5px; }
  .mobile-menu-btn { padding: 6px 9px; font-size: 12.5px; }
}
.mobile-drawer {
  display: none;
  background: var(--dark-panel);
  padding: 12px 24px 16px;
  border-bottom: 1px solid var(--dark-border);
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block;
  color: #F8FAFC;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-drawer a:last-child { border-bottom: none; }

/* ==========================================================================
   Home Hero & Interactive Cockpit
   ========================================================================== */
.home-hero {
  background:
    linear-gradient(96deg, rgba(11, 17, 32, 0.88) 0%, rgba(15, 23, 42, 0.62) 52%, rgba(15, 23, 42, 0.24) 100%),
    url('../images/hero-wing.webp') 76% 52% / cover no-repeat;
  color: #FFFFFF;
  padding: 50px 0 74px;
  border-bottom: 3px solid var(--cobalt);
}
@media (max-width: 900px) {
  .home-hero { padding: 36px 0 60px; background-position: 70% 50%; }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(96, 165, 250, 0.55);
  color: #93C5FD;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.home-h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(11, 17, 32, 0.75);
}
.home-sub {
  color: #F8FAFC;
  font-size: 15.5px;
  max-width: 660px;
  margin-bottom: 26px;
  line-height: 1.58;
  text-shadow: 0 1px 12px rgba(11, 17, 32, 0.85);
}
.tool-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  background: rgba(6, 10, 20, 0.85);
  padding: 4px;
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
}
.t-tab {
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: #CBD5E1;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-tab.active { background: rgba(21, 31, 50, 0.96); color: #FFFFFF; }
.cockpit-box {
  background: rgba(21, 31, 50, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 12px 12px 12px;
  padding: 24px 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
@media (max-width: 600px) {
  .cockpit-box { padding: 18px; border-radius: 0 0 12px 12px; }
}
.cockpit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) minmax(200px, auto);
  gap: 14px;
  align-items: end;
}
.cockpit-grid--pb {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(190px, auto);
}
.cockpit-arrow {
  height: 48px;
  display: grid;
  place-items: center;
  color: #94A3B8;
  font-weight: 700;
}
@media (max-width: 900px) {
  .cockpit-grid, .cockpit-grid--pb { grid-template-columns: 1fr; }
  .cockpit-arrow { height: 36px; justify-items: center; }
}
.dark-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 7px;
}
.dark-select {
  width: 100%;
  height: 48px;
  background: #0B1120;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #FFFFFF;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
}
.dark-select:focus { outline: 2px solid var(--cobalt); border-color: var(--cobalt); }
.cockpit-cta {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.multi-stop-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: #CBD5E1;
}
.stop-badge {
  background: #0B1120;
  border: 1px solid #334155;
  color: #E2E8F0;
  padding: 4px 11px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}
.add-stop-btn {
  background: rgba(11, 17, 32, 0.5);
  border: 1px dashed #60A5FA;
  color: #93C5FD;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.add-stop-btn.active {
  background: rgba(37, 99, 235, 0.25);
  border-style: solid;
  color: #FFFFFF;
}
.gear-bar {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.gear-label { font-size: 13px; color: #E2E8F0; font-weight: 600; white-space: nowrap; }
.gear-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #0B1120;
  border: 1px solid #334155;
  border-radius: 7px;
  color: #E2E8F0;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.gear-pill.active {
  background: rgba(37, 99, 235, 0.28);
  border-color: #3B82F6;
  color: #FFFFFF;
  font-weight: 600;
}
.pb-live-out {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(11, 17, 32, 0.72);
  border: 1px solid rgba(147, 197, 253, 0.28);
  font-size: 14px;
  font-weight: 600;
  color: #93C5FD;
  line-height: 1.55;
}
.pb-live-out.pb-warn { color: #FCD34D; border-color: rgba(245, 158, 11, 0.45); }
.pb-live-out.pb-danger { color: #FCA5A5; border-color: rgba(239, 68, 68, 0.5); }

/* ==========================================================================
   Section Headers & Shared Components
   ========================================================================== */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 44px 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.sec-sub { color: var(--ink-3); margin-top: 4px; font-size: 14.5px; }
.sec-link { color: var(--cobalt); font-weight: 700; text-decoration: none; font-size: 14px; }
.sec-link:hover { text-decoration: underline; }

.page-head {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 26px 0 30px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumbs a { color: var(--cobalt); text-decoration: none; font-weight: 500; }
.page-h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink-1);
  margin-bottom: 10px;
}
.trust-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--ink-3);
  margin: 8px 0 14px;
}
.trust-byline strong { color: var(--ink-2); font-weight: 600; }
.trust-byline a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.trust-byline a:hover { text-decoration: underline; }

.sources-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.sources-title { font-size: 13px; font-weight: 800; color: var(--ink-1); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.sources-list { padding-left: 18px; display: grid; gap: 6px; }
.sources-list a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.sources-list a:hover { text-decoration: underline; }

.aeo-summary {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 100%;
}

/* Verdict Banners */
.home-verdict-wrap { margin-top: -30px; position: relative; z-index: 10; }
.verdict-banner {
  border-radius: 10px;
  padding: 20px 24px;
  border: 1.5px solid;
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 820px) {
  .verdict-banner { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
  .verdict-body { flex: none; width: 100%; }
}
.verdict-body { flex: 1 1 0; min-width: 0; }
.verdict-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .verdict-actions { align-items: flex-start; width: 100%; }
}
.verdict-esim-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cobalt);
  text-decoration: none;
  white-space: nowrap;
}
.verdict-esim-link:hover { text-decoration: underline; }
.verdict-cta { flex-shrink: 0; white-space: nowrap; }
.verdict-title { font-size: 18.5px; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.verdict-desc { color: var(--ink-2); font-size: 14.5px; }
.verdict-warn { background: var(--warn-bg); border-color: var(--warn-border); }
.verdict-danger { background: var(--danger-bg); border-color: var(--danger-border); }
.verdict-safe { background: var(--safe-bg); border-color: var(--safe-border); }

.pill-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  max-width: 100%;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .pill-tag { white-space: normal; line-height: 1.35; }
}
.pill-tag--inline { margin-bottom: 0; }
.pill-tag--blue { background: var(--cobalt-tint); color: var(--cobalt); }
.pill-tag--safe { background: #D1FAE5; color: #065F46; }
.pill-tag--warn { background: #FEF3C7; color: #92400E; }
.pill-tag--danger { background: #FEE2E2; color: #991B1B; }
.verdict-warn .pill-tag { background: #FEF3C7; color: #92400E; }
.verdict-danger .pill-tag { background: #FEE2E2; color: #991B1B; }
.verdict-safe .pill-tag { background: #D1FAE5; color: #065F46; }

/* ==========================================================================
   Plug Render Grid (All 15 IEC Types A-O) & Route Grid
   ========================================================================== */
.plug-render-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 20px;
}
@media (max-width: 920px) { .plug-render-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plug-render-grid { grid-template-columns: 1fr; } }
.plug-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-1);
  transition: 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.plug-card.is-extra { display: none; }
.plug-render-grid.show-all .plug-card.is-extra { display: flex; }
.plug-card:hover { border-color: var(--cobalt); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07); }
.render-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #EEF2F6;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.render-media-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.type-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 17, 32, 0.88);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.plug-card-body { padding: 16px 18px; }
.plug-card-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.plug-card-meta { font-size: 13.5px; color: var(--ink-2); }
.plug-expand-wrap { text-align: center; margin: 16px 0 42px; }

.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 940px) { .route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .route-grid { grid-template-columns: 1fr; } }
.route-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  color: var(--ink-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: 0.15s;
}
.route-item:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.route-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.route-name {
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.route-meta { font-size: 13.5px; color: var(--ink-2); }
.rc-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 5px; background: #FEF3C7; color: #92400E; white-space: nowrap; }
.rc-badge.ok { background: #D1FAE5; color: #065F46; }

/* ==========================================================================
   Split Feature (Airlines + Alerts) & Guide Grid
   ========================================================================== */
.split-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; margin-top: 48px; }
@media (max-width: 860px) { .split-feature { grid-template-columns: 1fr; } }
.dark-feature-card {
  background:
    linear-gradient(135deg, rgba(11, 17, 32, 0.88) 0%, rgba(15, 23, 42, 0.74) 100%),
    url('../images/airline-cabin.webp') center / cover no-repeat;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dark-feature-kicker { font-size: 12.5px; color: #93C5FD; font-weight: 700; margin-bottom: 8px; }
.dark-feature-title { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.dark-feature-desc { font-size: 14.5px; color: #E2E8F0; margin-bottom: 22px; line-height: 1.6; }
.wh-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 600px) { .wh-tier-grid { grid-template-columns: 1fr; } }
.wh-tier-box {
  background: rgba(21, 31, 50, 0.88);
  backdrop-filter: blur(6px);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.wh-tier-val { font-size: 16.5px; font-weight: 800; }
.wh-tier-sub { font-size: 12.5px; color: #CBD5E1; margin-top: 3px; }
.light-feature-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px; }
.alerts-title { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.airline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.airline-row:last-child { border-bottom: none; }
.al-left { display: flex; align-items: center; gap: 12px; }
.al-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.al-note { font-size: 13px; color: var(--ink-3); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guide-card:hover { border-color: var(--cobalt); }
.guide-thumb { width: 100%; height: 175px; object-fit: cover; display: block; border-bottom: 1px solid var(--border-soft); }
.guide-inner { padding: 20px; }
.guide-cat { font-size: 12.5px; font-weight: 700; color: var(--cobalt); margin-bottom: 6px; }
.guide-title { font-size: 17px; font-weight: 800; line-height: 1.38; margin-bottom: 8px; }
.guide-desc { font-size: 14px; color: var(--ink-2); line-height: 1.58; }
.guide-foot { padding: 0 20px 20px; }

/* ==========================================================================
   Two-Column Inner Pages, Comparison Grids, Cards & Responsive Tables
   ========================================================================== */
.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 28px 0 64px;
  align-items: start;
}
.layout-2col > div,
.layout-2col > aside {
  min-width: 0;
}
@media (min-width: 941px) {
  .layout-2col > aside {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 940px) { .layout-2col { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 22px;
}
.card--flush { padding: 0; overflow: hidden; margin-bottom: 0; }
.card--compact { margin-bottom: 0; }

.compare-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
@media (max-width: 640px) { .compare-grid-2 { grid-template-columns: 1fr; } }
.compare-media { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #EEF2F6; }
.compare-body { padding: 16px 18px; }
.compare-kicker { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.compare-kicker--accent { color: var(--cobalt); }
.compare-title { font-size: 17px; font-weight: 800; margin: 4px 0; }
.compare-desc { font-size: 14px; color: var(--ink-2); }

.country-hero-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 680px) { .country-hero-card { grid-template-columns: 1fr; } }
.country-hero-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-soft); }

.sec-h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 30px 0 14px;
  color: var(--ink-1);
}
.sec-h2--top { margin-top: 0; }
.card-h2 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.card-h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 12px; }
.prose-list { padding-left: 20px; display: grid; gap: 11px; color: var(--ink-2); }
.prose-list strong { color: var(--ink-1); }

/* Responsive Table Wrapper */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-surface);
  margin-bottom: 24px;
}
.table-wrap--flush { margin-bottom: 0; }
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--bg-surface);
  font-variant-numeric: tabular-nums;
}
.data-table th {
  background: var(--bg-subtle);
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   Monetization: Flagship Pick, Runner-Up Cards & eSIMcc Cross-Promo
   ========================================================================== */
.disclosure-note { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.hero-pick {
  background: var(--dark-hull);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 2px solid var(--cobalt);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 22px;
  align-items: center;
}
@media (max-width: 720px) { .hero-pick { grid-template-columns: 1fr; } }
.pick-badge {
  background: var(--cobalt);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
}
.pick-title { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.pick-desc { color: #CBD5E1; font-size: 14.5px; margin-bottom: 10px; }
.pick-specs { font-size: 13.5px; color: #93C5FD; font-weight: 600; }
.pick-subnote { font-size: 12.5px; color: #94A3B8; text-align: center; margin-top: 8px; }

.runner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 640px) { .runner-grid { grid-template-columns: 1fr; } }
.runner-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0;
}
.runner-kicker { font-size: 12.5px; font-weight: 700; color: var(--cobalt); margin-bottom: 4px; }
.runner-title { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.runner-desc { font-size: 14px; color: var(--ink-2); }

.btn-gold {
  display: block;
  text-align: center;
  background: #F59E0B;
  color: #0F172A;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.btn-gold:hover { background: #FBBF24; }
.btn-primary {
  display: inline-block;
  background: var(--cobalt);
  color: #FFFFFF;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--cobalt-hover); }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-outline {
  margin-top: 14px;
  display: block;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink-1);
  background: var(--bg-surface);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--cobalt); color: var(--cobalt); }

.facts-list { display: grid; gap: 10px; font-size: 14px; }
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.fact-row:last-child { padding-bottom: 0; border-bottom: none; }
.fact-k { color: var(--ink-3); }

.esim-box {
  background: var(--dark-hull);
  color: #FFF;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--dark-border);
}
.esim-kicker { font-size: 12.5px; font-weight: 700; color: #93C5FD; margin-bottom: 6px; }
.esim-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.esim-desc { font-size: 14px; color: #CBD5E1; margin-bottom: 14px; }

/* ==========================================================================
   Airline Wh Calculator, Filter Bar & Admin Cockpit Grids
   ========================================================================== */
.calc-dark-card {
  background: var(--dark-hull);
  color: #FFF;
  border: 2px solid var(--cobalt);
}
.calc-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
}
@media (max-width: 720px) { .calc-grid-3 { grid-template-columns: 1fr; } }
.calc-input {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: var(--dark-panel);
  color: #FFF;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
}
.wh-result-badge {
  height: 48px;
  border-radius: 8px;
  background: var(--safe);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15.5px;
  padding: 0 12px;
  text-align: center;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.search-input {
  flex: 1 1 260px;
  max-width: 420px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink-1);
}
.search-input:focus { outline: 2px solid var(--cobalt); border-color: var(--cobalt); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
}

.admin-main { padding: 32px 24px 64px; }
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .kpi-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kpi-grid-4 { grid-template-columns: 1fr; } }
.kpi-label { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.kpi-val { font-size: 24px; font-weight: 800; margin: 4px 0; }
.kpi-note { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.diff-card { border-inline-start: 6px solid var(--danger); }
.diff-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .diff-grid-2 { grid-template-columns: 1fr; } }
.diff-old { background: var(--danger-bg); padding: 14px 16px; border-radius: 8px; color: #991B1B; font-size: 14px; }
.diff-new { background: var(--safe-bg); padding: 14px 16px; border-radius: 8px; color: #065F46; font-size: 14px; }
.admin-select {
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--ink-1);
}

/* ==========================================================================
   Packing Checklist, Quick Presets, TOC & FAQ Accordion
   ========================================================================== */
.pack-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pack-label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.pack-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--ink-1);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  align-items: center;
}
@media (max-width: 600px) {
  .preset-row .gear-label { width: 100%; margin-bottom: 2px; }
}
.preset-btn {
  background: var(--dark-panel);
  border: 1px solid #334155;
  color: #E2E8F0;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.preset-btn:hover, .preset-btn.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--bg-surface);
  border: none;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q:hover { background: var(--bg-subtle); }
.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-plus { font-size: 20px; font-weight: 700; color: var(--cobalt); transition: transform 0.18s; }

.guide-figure {
  margin: 0 0 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.guide-figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-soft);
}
.label-diagram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 640px) { .label-diagram-grid { grid-template-columns: 1fr; } }
.label-plate {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1.5px solid;
}
.label-plate--safe { background: var(--safe-bg); border-color: var(--safe-border); }
.label-plate--danger { background: var(--danger-bg); border-color: var(--danger-border); }
.label-plate-tag { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.label-plate-code {
  background: var(--dark-hull);
  color: #F8FAFC;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.label-plate-note { font-size: 13px; color: var(--ink-2); }

.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.toc-box a { color: var(--cobalt); font-weight: 700; text-decoration: none; white-space: nowrap; }
.toc-box a:hover { text-decoration: underline; }

.plug-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0 8px;
  align-items: center;
}
.plug-pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.15s;
}
.plug-pill-btn:hover { border-color: var(--cobalt); color: var(--cobalt); }
.plug-pill-btn.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
}
.plug-hero-wide {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 780px) { .plug-hero-wide { grid-template-columns: 1fr; } }
.esim-banner {
  background: var(--dark-hull);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 22px 26px;
  border: 1px solid var(--dark-border);
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.esim-banner-body { max-width: 660px; }

.spec-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .spec-strip-4 { grid-template-columns: repeat(2, 1fr); } }
.spec-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.spec-tile-k { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.03em; }
.spec-tile-v { font-size: 16px; font-weight: 800; color: var(--ink-1); margin-top: 4px; }
.country-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--ink-1);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.country-chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.legal-prose p { color: var(--ink-2); margin-bottom: 14px; }
.legal-prose h2 { font-size: 19px; font-weight: 800; margin: 24px 0 10px; color: var(--ink-1); }

/* Semantic Text Color Helpers */
.text-safe { color: var(--safe); }
.text-warn { color: var(--warn); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--ink-2); }

/* ==========================================================================
   Global Multi-Column Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-hull);
  color: #CBD5E1;
  padding: 46px 0 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--dark-border);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  text-decoration: none;
}
.footer-brand:hover { color: #FFFFFF; }
.footer-brand-badge { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.footer-about { font-size: 13.5px; color: #94A3B8; line-height: 1.6; }
.footer-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #E2E8F0;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.footer-contact-email:hover { color: #FFFFFF; text-decoration: underline; }
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
a.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #FFFFFF;
}
.footer-social-btn.is-soon {
  color: #94A3B8;
  cursor: default;
}
.footer-h { color: #FFFFFF; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94A3B8;
}

/* ==========================================================================
   WYSIWYG Guide Prose, Tables & Callout Boxes (Zero-HTML Authoring Support)
   ========================================================================== */
.guide-prose {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 24px;
  color: var(--ink-1);
  line-height: 1.72;
  font-size: 15.5px;
}
@media (max-width: 640px) {
  .guide-prose { padding: 18px 16px; font-size: 15px; }
}
.guide-prose > .card {
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 22px;
  box-shadow: none;
  background: transparent;
}
.guide-prose > .card:last-child { margin-bottom: 0; }
.guide-prose h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink-1);
  margin: 26px 0 10px;
  line-height: 1.3;
}
.guide-prose h2:first-child { margin-top: 0; }
.guide-prose h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-1);
  margin: 20px 0 8px;
}
.guide-prose p { margin: 0 0 14px; color: var(--ink-2); }
.guide-prose p:last-child { margin-bottom: 0; }
.guide-prose strong { color: var(--ink-1); }
.guide-prose ul, .guide-prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); display: grid; gap: 7px; }
.guide-prose img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.guide-prose .table-wrap { margin: 18px 0; }
.guide-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}
.guide-prose th {
  background: var(--bg-subtle);
  color: var(--ink-1);
  font-weight: 700;
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
  white-space: normal;
  line-height: 1.35;
}
.guide-prose td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--ink-2);
  vertical-align: top;
}
.guide-prose tbody tr:last-child td { border-bottom: none; }
.pa-callout-warn {
  background: #FFFBEB;
  border: 1.5px solid #F59E0B;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #78350F;
  font-size: 14.5px;
}
.pa-callout-warn strong { color: #92400E; }
.pa-callout-safe {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #065F46;
  font-size: 14.5px;
}
.pa-callout-safe strong { color: #064E3B; }

/* FAQ Plus Icon Rotation & Mobile Tap-Target Accessibility (>= 40px) */
.faq-plus { display: inline-block; transition: transform 0.16s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
@media (max-width: 768px) {
  .mobile-menu-btn,
  .gear-pill,
  .filter-pill,
  .t-tab { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .data-table { min-width: 520px; }
}
