/* ═══════════════════════════════════════════════════════════════
   Auto-Zagranica.pl — Design System 2.1
   Palette: dark-green (#0A2D24) + teal (#159C7A, calmed half-tone) — Localrent brand
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts: self-hosted Inter (variable wght 100–900) ──────────
   Subsets: latin + latin-ext (Polish diacritics ą ę ó ł ż ź ń ś ć,
   curly quotes, €, dashes). One variable file per subset covers all
   weights used in this CSS (400/500/600/700/800). No external requests. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --navy:          #0A2D24;
  --navy-mid:      #163D30;
  --navy-light:    #1F5242;
  --orange:        #159C7A;   /* calmed accent teal (was #1dbd90) */
  --orange-dark:   #0F8467;   /* hover (was #17a07a) */
  --orange-glow:   rgba(21,156,122,.16);
  --accent-hi:     #2FB394;   /* lighter teal for gradients / on-dark icons */
  --text:          #0F172A;
  --text-2:        #475569;
  --text-3:        #94A3B8;
  --surface:       #F8FAFC;
  --surface-2:     #F1F5F9;
  --white:         #FFFFFF;
  --border:        #E2E8F0;
  --border-2:      #CBD5E1;
  --green:         #10B981;
  --green-bg:      #ECFDF5;
  /* image + icon layer (Design System 2.1) */
  --icon-badge:    linear-gradient(135deg,#EAFBF4,#D6F5E9);
  --scrim:         linear-gradient(180deg, rgba(6,21,16,.34) 0%, rgba(6,21,16,.58) 55%, rgba(6,21,16,.84) 100%);
  --scrim-side:    linear-gradient(90deg, rgba(6,21,16,.82) 0%, rgba(6,21,16,.46) 46%, rgba(6,21,16,.12) 100%);
  --thumb-ph:      #E7F1EC;   /* thumbnail placeholder while image loads */
  --r-sm:          6px;
  --r:             10px;
  --r-lg:          16px;
  --r-xl:          24px;
  --shadow-xs:     0 1px 3px rgba(10,45,36,.06), 0 1px 2px rgba(10,45,36,.04);
  --shadow-sm:     0 2px 8px rgba(10,45,36,.08), 0 1px 4px rgba(10,45,36,.05);
  --shadow:        0 4px 16px rgba(10,45,36,.10), 0 2px 8px rgba(10,45,36,.06);
  --shadow-lg:     0 12px 40px rgba(10,45,36,.14), 0 4px 16px rgba(10,45,36,.08);
  --shadow-xl:     0 24px 64px rgba(10,45,36,.18);
  --w:             1200px;
  --ease:          cubic-bezier(.4,0,.2,1);
  --ease-out:      cubic-bezier(0,.55,.45,1);
  /* aliases */
  --muted:         #475569;
  --bg:            #F8FAFC;
  --radius:        10px;
  --radius-lg:     16px;
  --primary:       var(--navy);
  --accent:        var(--orange);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flex   { display: flex; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-2); }
.text-small  { font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,45,36,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.4px;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,.09);
}

/* Standalone breadcrumb bar (below nav) */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 11px 24px;
}
.breadcrumb-bar .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: var(--w);
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb-bar .breadcrumb a { color: var(--text-3); transition: color .15s; }
.breadcrumb-bar .breadcrumb a:hover { color: var(--navy-light); }
.breadcrumb-bar .breadcrumb .current { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(21,156,122,.16) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 80%, rgba(21,156,122,.06) 0%, transparent 50%),
    linear-gradient(145deg, #061510 0%, #0A2D24 45%, #0c3028 100%);
  color: var(--white);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

/* Decorative grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Bottom wave */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(58% 100% at 50% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero label (flag + country > city) */
.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* Breadcrumb inside hero */
.hero-inner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.hero-inner .breadcrumb a {
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.hero-inner .breadcrumb a:hover { color: rgba(255,255,255,.9); }
.hero-inner .breadcrumb span { color: rgba(255,255,255,.85); }

.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Trust bar inside hero */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ═══════════════════════════════════════════════════════════════
   GEO LEAD
   ═══════════════════════════════════════════════════════════════ */
.geo-section { padding: 36px 0 0; }
.geo-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 24px 28px;
  max-width: 820px;
}

/* ═══════════════════════════════════════════════════════════════
   WIDGET
   ═══════════════════════════════════════════════════════════════ */
.widget-section { padding: 40px 0; }
.widget-hero    { padding: 48px 0; }
.widget-mid     { padding: 0 0 48px; }
.widget-hero-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
/* ── Wybór kierunku na stronie głównej ─────────────────────────────
   Zastępuje widget Localrent w hero: widget wymaga data-country, a strona
   główna obsługuje wiele krajów. Wybór prowadzi na stronę kraju. */
.dest-picker {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px 22px;
  margin-top: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  text-align: left;
}
.dest-picker__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.dest-picker__row { display: flex; gap: 10px; flex-wrap: wrap; }
.dest-picker__select {
  flex: 1 1 320px;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  appearance: none;
  background-image: 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='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.dest-picker__select:focus-visible,
.dest-picker__btn:focus-visible { outline: 3px solid var(--orange-glow); outline-offset: 2px; }
.dest-picker__btn {
  flex: 0 0 auto;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  cursor: pointer;
  transition: background .15s ease;
}
.dest-picker__btn:hover { background: var(--orange-dark); }
.dest-picker__note { margin-top: 10px; font-size: 14px; }
@media (max-width: 560px) {
  .dest-picker { padding: 16px 16px 18px; }
  .dest-picker__select, .dest-picker__btn { flex: 1 1 100%; }
}

.widget-cta {
  background: linear-gradient(145deg, #061510, #0A2D24);
  padding: 64px 0;
  margin-top: 64px;
}
.widget-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
.widget-cta h2 { color: var(--white); }
.widget-cta p  { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: 16px; }
.cta-container { text-align: center; }

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s;
  box-shadow: 0 4px 20px rgba(21,156,122,.32);
}
.cta-btn-large:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(21,156,122,.42);
}

/* CTA section (full-width) */
.cta-section {
  background: linear-gradient(145deg, #061510, #0A2D24);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta-section p  { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(21,156,122,.32);
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(21,156,122,.42); }

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (generic)
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }

.info-section,
.prices-section,
.routes-section,
.practical-section,
.special-pages-section,
.faq-section,
.related-section,
.cities-section,
.intro-section,
.steps-section,
.explainer-section,
.cars-section,
.destinations-section,
.countries-section,
.usp-section {
  padding: 56px 0;
}

.info-section:nth-child(even),
.prices-section { background: var(--surface); }

.info-section h2,
.prices-section h2,
.routes-section h2,
.practical-section h2,
.special-pages-section h2,
.faq-section h2,
.cities-section h2,
.steps-section h2,
.explainer-section h2,
.cars-section h2,
.destinations-section h2,
.countries-section h2,
.usp-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  color: var(--text);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.section-sub { color: var(--text-2); font-size: 16px; margin-bottom: 36px; }

.intro-section { padding: 48px 0 0; }
.intro-section .geo-lead { max-width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   INFO TABLE
   ═══════════════════════════════════════════════════════════════ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.info-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.info-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.info-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.info-table tbody tr:last-child { border-bottom: none; }
.info-table tbody tr:hover { background: var(--surface); }
.info-table td {
  padding: 13px 18px;
  vertical-align: middle;
}
.info-table td:first-child {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  width: 38%;
}
.info-table td:last-child { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   PRICES TABLE
   ═══════════════════════════════════════════════════════════════ */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.prices-table thead tr {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: var(--white);
}
.prices-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}
.prices-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.prices-table tbody tr:hover { background: var(--surface); }
.prices-table tbody tr:last-child { border-bottom: none; }
.prices-table td { padding: 14px 18px; }
.prices-table td:first-child { font-weight: 700; }
.prices-table td:nth-child(2) { color: var(--green); font-weight: 700; }
.prices-table td:nth-child(3) { color: var(--orange); font-weight: 700; }
.prices-note { font-size: 13px; color: var(--text-3); margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════════
   ROUTE CARDS
   ═══════════════════════════════════════════════════════════════ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.route-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.route-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.route-dest { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.route-details { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }
.route-details::before { content: '→'; color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════
   PRACTICAL TIPS
   ═══════════════════════════════════════════════════════════════ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow .18s;
}
.tip-block:hover { box-shadow: var(--shadow); }
.tip-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-block h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.tip-block p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   SPECIAL PAGE OPTIONS
   ═══════════════════════════════════════════════════════════════ */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.option-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .18s, box-shadow .18s, transform .2s var(--ease);
  text-decoration: none;
  color: inherit;
}
.option-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.option-icon {
  width: 48px; height: 48px;
  background: var(--icon-badge);
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;               /* legacy emoji fallback */
  color: var(--orange-dark);     /* drives inline-svg via currentColor */
}
.option-icon svg { width: 25px; height: 25px; }
.option-card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.option-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; flex: 1; }
.option-cta { font-size: 14px; font-weight: 700; color: var(--navy-light); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

/* USP card (alias) */
.usp-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .18s, box-shadow .18s, transform .2s;
}
.usp-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Warn box */
.warn-box {
  background: #F0FDF9;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: #065F46;
}
.warn-box strong { color: var(--orange-dark); }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color .15s;
}
.faq-q:hover { color: var(--navy-light); }
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform .2s var(--ease), color .15s;
  line-height: 1;
}
.faq-q[aria-expanded="true"] { color: var(--navy); }
.faq-q[aria-expanded="true"]::after { content: '−'; color: var(--orange); }
.faq-a { font-size: 15px; color: var(--text-2); line-height: 1.75; padding-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════
   CHIPS & BADGES
   ═══════════════════════════════════════════════════════════════ */
.related-chips, .related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip, .related-chip {
  display: inline-block;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.city-chip:hover, .related-chip:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}
.badge-green { background: var(--green-bg); color: #166534; border: 1px solid #BBF7D0; }
.badge-blue  { background: #F0FDF9; color: var(--navy-light); border: 1px solid #99F6E4; }

.badge-special {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-glow); border: 1px solid rgba(21,156,122,.35);
  color: var(--orange-dark); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   CITY CARDS (on country page)
   ═══════════════════════════════════════════════════════════════ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .2s var(--ease);
}
.city-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.city-card-name, .city-name { font-size: 17px; font-weight: 700; color: var(--text); }
.city-card-airport, .city-airport { font-size: 13px; color: var(--text-3); }
.city-card-price, .city-price { font-size: 14px; font-weight: 700; color: var(--orange); margin-top: 4px; }
.city-card-cta { font-size: 13px; color: var(--navy-light); font-weight: 600; margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════════
   DESTINATION CARDS (homepage)
   ═══════════════════════════════════════════════════════════════ */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: border-color .18s, box-shadow .2s, transform .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.dest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--accent-hi));
  opacity: 0;
  transition: opacity .18s;
}
.dest-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.dest-card:hover::before { opacity: 1; }
.dest-flag, .dest-price { font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.dest-name { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.dest-country { font-size: 13px; color: var(--text-3); text-transform: capitalize; }

/* ═══════════════════════════════════════════════════════════════
   COUNTRIES GRID (homepage)
   ═══════════════════════════════════════════════════════════════ */
.countries-section { background: var(--surface); }
.countries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.country-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  min-width: 0;
}
.country-card:hover {
  border-color: var(--navy-light);
  background: #F0FDF9;
}
.country-flag { font-size: 24px; flex-shrink: 0; }
.country-name { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-price { font-size: 12px; color: var(--orange); font-weight: 600; white-space: nowrap; flex-shrink: 0; margin-left: auto; }

/* ═══════════════════════════════════════════════════════════════
   USP SECTION
   ═══════════════════════════════════════════════════════════════ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usp-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: box-shadow .18s;
}
.usp-item:hover { box-shadow: var(--shadow); }
.usp-icon {
  width: 52px; height: 52px;
  background: var(--icon-badge);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;               /* legacy emoji fallback */
  color: var(--orange-dark);     /* drives inline-svg via currentColor */
  margin-bottom: 18px;
}
.usp-icon svg { width: 26px; height: 26px; }
.usp-item h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.usp-item p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   AIRPORT: Steps
   ═══════════════════════════════════════════════════════════════ */
.steps-list {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
}
.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.steps-list li strong { color: var(--text); }
.steps-list li { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   NO DEPOSIT: Comparison
   ═══════════════════════════════════════════════════════════════ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
}
.compare-col {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
}
.compare-col--highlight {
  border-color: var(--green);
  background: var(--green-bg);
}
.compare-col h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.compare-col ul { display: flex; flex-direction: column; gap: 10px; }
.compare-col li {
  font-size: 14px; color: var(--text-2);
  padding-left: 22px; position: relative; line-height: 1.5;
}
.compare-col li::before { content: '•'; position: absolute; left: 6px; color: var(--text-3); }
.compare-col--highlight li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   ARTICLE / BLOG
   ═══════════════════════════════════════════════════════════════ */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-body { font-size: 16px; line-height: 1.8; color: #334155; }
.article-body h2 { font-size: 24px; font-weight: 800; color: var(--text); margin: 40px 0 16px; letter-spacing: -0.3px; }
.article-body h3 { font-size: 19px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { margin-bottom: 7px; }
.article-body a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 2px; }
.article-sidebar { position: sticky; top: 80px; }
.toc-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.toc-box h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 14px; }
.toc-box ol { margin-left: 16px; display: flex; flex-direction: column; gap: 8px; }
.toc-box li a { font-size: 14px; color: var(--navy-light); }
.tip-box {
  background: #F0FDF9; border-left: 4px solid var(--navy-light);
  border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 24px 0; font-size: 15px;
}
.tip-box strong { color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   STATS / TEAM / CAR CARDS
   ═══════════════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 32px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  transition: box-shadow .18s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-num { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.stat-label { font-size: 14px; color: var(--text-2); margin-top: 6px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 24px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.team-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--orange); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--text-2); line-height: 1.65; }

.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 24px; transition: box-shadow .18s, transform .2s; }
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.car-icon { font-size: 36px; color: var(--orange-dark); margin-bottom: 14px; }
.car-icon svg { width: 40px; height: 40px; }
.car-name { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.car-price { font-size: 14px; color: var(--text-3); margin-bottom: 12px; }
.car-price strong { color: var(--orange); font-size: 16px; }
.car-features { font-size: 14px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.car-features li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.car-btn { display: block; text-align: center; background: var(--navy); color: var(--white); border-radius: var(--r); padding: 12px; font-weight: 700; font-size: 14px; margin-top: 20px; transition: background .15s; }
.car-btn:hover { background: var(--navy-light); }

/* Author */
.author-chip { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 600; }
.author-bio { font-size: 12px; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(145deg, #061510, #0A2D24);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col strong,
.footer-col h4 {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.footer-col p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a,
.footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul a:hover,
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .countries-grid { grid-template-columns: repeat(4, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 32px; }
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-container { height: 56px; }
  .hero { padding: 40px 0 60px; }
  .hero::after { height: 40px; }
  .hero h1 { font-size: 26px; letter-spacing: -0.3px; }
  .hero-sub { font-size: 15px; }
  .trust-bar span { font-size: 12px; padding: 6px 11px; }
  .routes-grid,
  .options-grid,
  .cities-grid,
  .destinations-grid,
  .usp-grid,
  .car-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-table td:first-child { width: 45%; font-size: 12px; }
  .widget-cta { padding: 48px 0; }
  .cta-btn-large { font-size: 15px; padding: 14px 28px; }
  .faq-q { font-size: 15px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM 2.1 — INLINE SVG ICONS
   Icons live in /static/img/icons/*.svg (stroke=currentColor).
   Inline the <svg> so it inherits color; these rules size it.
   ═══════════════════════════════════════════════════════════════ */
.icon        { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.icon-sm     { width: 1em;    height: 1em;    vertical-align: -0.15em; }
.icon-lg     { width: 1.5em;  height: 1.5em;  vertical-align: -0.32em; }
.icon--accent{ color: var(--orange); }
.icon--muted { color: var(--text-3); }

/* Trust-bar pills (inside hero): monochrome white line icons */
.trust-bar span svg,
.trust svg { width: 15px; height: 15px; flex-shrink: 0; }
/* usp/option/car icon svg sizing declared with their badges above */

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM 2.1 — IMAGE LAYER
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero with photo (add class .hero--photo to <section class="hero">) ──
   Contract: first child of .hero is <div class="hero-bg"><img …></div>.
   The <img> fills the hero (absolute, cover) → NO layout height → NO CLS.
   Content (.hero-inner) and the Localrent widget stay above the photo. */
.hero--photo .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* photo is a band behind the HEADING only — NOT the full hero (the Localrent
     widget lives in the hero and makes it several screens tall). */
  height: clamp(340px, 52vh, 500px);
  z-index: 0;
  overflow: hidden;
  background: var(--navy);           /* fallback: no white flash before load */
}
.hero--photo .hero-bg picture { display: contents; }
.hero--photo .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Scrim: keeps white headline/sub readable over any photo (side + vertical) */
.hero--photo .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* side scrim for text legibility + vertical fade that dissolves the photo
     band into the hero's dark-green base, so it blends into the widget area. */
  background:
    var(--scrim-side),
    linear-gradient(to bottom,
      rgba(6,21,16,.20) 0%,
      rgba(6,21,16,.28) 42%,
      rgba(10,45,36,.72) 80%,
      #0A2D24 100%);
}
/* Explicit stacking so the decorative grid/wave sit over the photo,
   and the content sits over everything. */
.hero--photo::before,
.hero--photo::after { z-index: 1; }
.hero--photo .hero-inner { position: relative; z-index: 2; }

/* ── Card thumbnails (dest-card / city-card) ──
   Contract: add class .card--media to the card, then:
   <div class="card-thumb"><img …></div><div class="card-body"> …text… </div>
   aspect-ratio reserves height → NO CLS. */
.card--media { padding: 0; overflow: hidden; }
.card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--thumb-ph);       /* placeholder while image loads */
  overflow: hidden;
}
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.card--media:hover .card-thumb img { transform: scale(1.05); }
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Optional price/label pill sitting on the photo */
.thumb-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6,21,16,.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
}
.thumb-badge svg { width: 13px; height: 13px; color: var(--accent-hi); }

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM 2.1 — MOBILE NAV (CSS-only burger, no external JS)
   Markup contract inside <nav class="nav-container"> (after the logo):
     <input type="checkbox" id="nav-toggle" class="nav-toggle">
     <label for="nav-toggle" class="nav-burger" aria-label="Menu" role="button"
            aria-controls="nav-menu"><span></span><span></span><span></span></label>
     <ul class="nav-links" id="nav-menu"> … </ul>
   ═══════════════════════════════════════════════════════════════ */
.nav-container { position: relative; }
/* checkbox: visually hidden but kept focusable for keyboard toggling */
.nav-toggle {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    margin-right: -6px;
    border-radius: 9px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s var(--ease);
  }
  .nav-burger:hover { background: rgba(255,255,255,.09); }
  .nav-burger span {
    display: block;
    width: 22px; height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .26s var(--ease), opacity .18s var(--ease);
  }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0 10px;
    background: rgba(9,38,30,.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 24px 44px rgba(0,0,0,.34);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .3s var(--ease), opacity .2s var(--ease), padding .3s var(--ease);
  }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 13px 14px; font-size: 15px; border-radius: 9px; }

  .nav-toggle:checked ~ .nav-links {
    max-height: 78vh;
    opacity: 1;
    pointer-events: auto;
    padding: 8px 10px 14px;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM 2.1 — REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── Country flag (inline SVG via {{ flag(slug) }}) ── */
.flag { display:inline-block; width:1.35em; height:1em; border-radius:2px; overflow:hidden; vertical-align:-0.14em; box-shadow:0 0 0 1px rgba(0,0,0,.08); line-height:0; }
.flag svg { width:100%; height:100%; display:block; object-fit:cover; }
.country-flag { line-height:0; }
