/* ============================================================
   ROUTE381 — style.css
   Premium dark graphite-blue system, gold hairlines.
   Mobile-first. Bez frameworka, bez CDN-a. / No frameworks, no CDN.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg: #0b1220;
  --bg-2: #080e19;
  --panel: #111827;
  --panel-2: #151f30;
  --panel-3: #1a2436;
  --inset: #0d1524;
  --line: rgba(248, 250, 252, 0.09);
  --line-strong: rgba(248, 250, 252, 0.16);
  --gold: #d4a84b;
  --gold-soft: #e8c77e;
  --gold-line: rgba(212, 168, 75, 0.34);
  --gold-glow: rgba(212, 168, 75, 0.16);
  --gold-tint: rgba(212, 168, 75, 0.1);
  --white: #f8fafc;
  --gray: #cbd5e1;
  --gray-2: #94a3b8;
  --danger: #fca5a5;
  --ok: #6ee7b7;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif;

  --step--2: 0.75rem;
  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.0625rem;
  --step-2: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --step-3: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --step-4: clamp(1.7rem, 1.4rem + 1.7vw, 2.35rem);
  --step-hero: clamp(2.1rem, 1.35rem + 3.4vw, 3.5rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 4rem;
  --sp-9: 5rem;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --maxw: 1200px;
  --shadow: 0 18px 40px rgba(3, 7, 14, 0.45);
  --shadow-lg: 0 26px 70px rgba(3, 7, 14, 0.6);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 var(--sp-4); letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--sp-4); }
ul { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
table { border-collapse: collapse; width: 100%; }

/* ---------- UTIL ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-4); }
.section { padding: var(--sp-7) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section--dark { background: var(--bg-2); }
.section + .section { border-top: 1px solid rgba(248, 250, 252, 0.05); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead { font-size: var(--step-1); color: var(--gray); }
.muted { color: var(--gray-2); font-size: var(--step--1); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: #14100a;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 60px;
  padding: var(--sp-2) var(--sp-4);
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
}
.logo .logo-word {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo .logo-word b { color: var(--gold); font-weight: 800; }
.logo .logo-arc { width: 96px; height: 9px; color: var(--gold); }

/* --- „GO": Manrope (lokalno, samo glifovi G i O) + tocak kao slovo O --- */
@font-face {
  font-family: "Manrope GO";
  src: url("../fonts/manrope-go-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0047, U+004F;
}
.logo .logo-go {
  font-family: "Manrope GO", var(--font);
  font-weight: 700;
  font-size: 0.975em;        /* visina verzala izjednacena sa ROUTE381 */
  letter-spacing: 0.045em;
  margin-left: 0.06em;       /* umeren razmak posle 381 (uz razmak u tekstu) */
}
.logo .logo-o { color: transparent; }   /* slovo O ostaje u tekstu, tocak ga pokriva */
.logo .logo-wheel {
  display: inline-block;
  vertical-align: baseline;  /* donja ivica tacno na osnovnoj liniji */
  width: 0.751em;
  height: 0.751em;           /* precnik = visina obline slova O */
  margin-left: -0.795em;
  margin-right: 0.045em;
  margin-bottom: -0.0155em;
  color: var(--gold);
}
.header-nav-wrap { display: contents; }
.header-actions { display: flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: var(--radius-xs);
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 15px; height: 9px; }
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars i {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars i { top: 3.75px; }
.nav-toggle .bars::after { bottom: 0; }

.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 2px;
}
.site-nav a {
  display: block;
  text-decoration: none;
  padding: 0.7rem 0.25rem;
  color: var(--gray);
  border-bottom: 1px solid rgba(203, 213, 225, 0.08);
  font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.04);
  border-radius: 999px;
  font-size: var(--step--2);
  font-weight: 700;
  flex: 0 0 auto;
}
.lang-switch a {
  padding: 0.28rem 0.55rem;
  text-decoration: none;
  color: var(--gray-2);
  border-radius: 999px;
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch .is-active { background: var(--gold-tint); color: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.72rem 1.05rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #191203;
  box-shadow: 0 8px 22px rgba(212, 168, 75, 0.18);
}
.btn--gold:hover { background: linear-gradient(180deg, #f0d494, var(--gold-soft)); }
.btn--dark { background: var(--panel-2); color: var(--white); border-color: var(--line-strong); }
.btn--dark:hover { background: var(--panel-3); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: rgba(248, 250, 252, 0.03); }
.btn--ghost:hover { background: rgba(248, 250, 252, 0.08); border-color: var(--gold-line); }
.btn--outline { border-color: var(--line-strong); color: var(--white); background: transparent; }
.btn--outline:hover { background: rgba(248, 250, 252, 0.06); border-color: var(--gold-line); }
.btn--sm { min-height: 38px; padding: 0.45rem 0.8rem; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn-row { display: grid; gap: var(--sp-3); }
@media (min-width: 560px) {
  .btn-row { display: flex; flex-wrap: wrap; }
}
.header-book { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--sp-6) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 40% 30%;
  background: radial-gradient(60% 60% at 70% 30%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.hero-panel {
  position: relative;
  background: linear-gradient(150deg, var(--panel) 0%, #0e1626 55%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-grid { display: grid; }
.hero-copy { padding: var(--sp-6) var(--sp-5) var(--sp-5); position: relative; z-index: 2; }
.hero h1 {
  font-size: var(--step-hero);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 var(--sp-4);
  max-width: 16ch;
}
.hero-rule {
  width: 62px;
  height: 2px;
  border: 0;
  margin: 0 0 var(--sp-4);
  background: linear-gradient(90deg, var(--gold), rgba(212, 168, 75, 0));
}
.hero-sub { color: var(--gray); font-size: var(--step-1); max-width: 40ch; margin: 0 0 var(--sp-5); }
.hero-media { position: relative; min-height: 210px; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0) 45%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.85) 0%, rgba(11, 18, 32, 0) 45%);
  pointer-events: none;
}
.tagline-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.tagline-chips li {
  font-size: var(--step--2);
  border: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.04);
  color: var(--gray-2);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  letter-spacing: 0.02em;
}

/* ---------- TRUST STRIP ---------- */
.trust-bar { padding: var(--sp-4) 0 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: linear-gradient(180deg, var(--panel), #0f1725);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-item:nth-last-child(-n + 2) { border-bottom: 0; }
.trust-item svg { width: 19px; height: 19px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.trust-item strong { display: block; font-size: var(--step-0); font-weight: 700; letter-spacing: -0.01em; }
.trust-item span { display: block; font-size: var(--step--2); color: var(--gray-2); }

/* ---------- GENERIC GRIDS + CARDS ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid > *, .form-grid > *, .about-grid > *, .hero-grid > *, .footer-grid > *, .trust-grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  background: linear-gradient(180deg, var(--panel), #0f1725);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  color: var(--white);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--gray); font-size: var(--step-0); }
.card p:last-child { margin-bottom: 0; }

/* ---------- PHOTO ROUTE CARDS ---------- */
/* Šest kartica: na širokom ekranu 3×2 daje pun, simetričan red.
   Sa četiri kolone poslednji red bi ostao poluprazan (4+2). */
.route-cards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 560px) { .route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .route-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rcard {
  display: flex;
  flex-direction: column;
  /* Jednaka visina u redu bez obzira na dužinu naziva relacije. */
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rcard:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.rcard-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--inset); }
/* <picture> je inline element — bez ovoga slika unutra izgubi visinu. */
.rcard-media picture { display: block; width: 100%; height: 100%; }
.rcard-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.rcard:hover .rcard-media img { transform: scale(1.04); }
.rcard-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 18, 32, 0.75), rgba(11, 18, 32, 0) 55%);
}
.rcard-body {
  padding: var(--sp-4);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #101827, #0d1524);
  flex: 1;
}
.rcard-name { display: block; font-size: var(--step--1); color: var(--gray); margin: 0 0 2px; }
/* Okvirna kilometraža i vreme puta — diskretno, ispod naziva relacije. */
.rcard-meta { display: block; font-size: var(--step--2); color: var(--dim, #94a3b8); margin: 0 0 4px; letter-spacing: .01em; }
.rcard-price {
  display: block;
  margin: 0;
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.rcard-price .price-prefix { font-size: var(--step--1); font-weight: 600; color: var(--gray-2); margin-right: 0.25rem; }
.rcard-go {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background-color 0.2s ease;
}
.rcard-go svg { width: 15px; height: 15px; }
.rcard:hover .rcard-go { background: var(--gold-tint); }
/* Compact horizontal cards on phones so the list stays scannable. */
@media (max-width: 559px) {
  .route-cards { gap: var(--sp-3); }
  .rcard { flex-direction: row; align-items: stretch; }
  .rcard-media { flex: 0 0 40%; aspect-ratio: auto; }
  .rcard-body { flex: 1 1 auto; border-top: 0; border-left: 1px solid var(--line); align-items: center; }
}

/* ---------- AIRPORT + QUICK FORM BAND ---------- */
.band { display: grid; gap: var(--sp-4); align-items: stretch; }
@media (min-width: 980px) { .band { grid-template-columns: 1.15fr 0.85fr; } }
.band > .card { height: 100%; }
.badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.badge-icon svg { width: 21px; height: 21px; }
.mini-features { display: grid; gap: var(--sp-4); margin: var(--sp-5) 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .mini-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mini-features li { display: flex; gap: var(--sp-3); }
.mini-features svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.mini-features strong { display: block; font-size: var(--step-0); }
.mini-features span { display: block; font-size: var(--step--2); color: var(--gray-2); line-height: 1.5; }

.quick-card { display: flex; flex-direction: column; }
.quick-form { display: grid; gap: var(--sp-3); }
.qf-row { display: grid; gap: var(--sp-3); }
@media (min-width: 480px) {
  .qf-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qf-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.qf-field {
  position: relative;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.7rem 0.5rem;
  transition: border-color 0.15s ease;
}
.qf-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.qf-field label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-2);
  font-weight: 700;
  margin-bottom: 1px;
}
.qf-field input, .qf-field select {
  width: 100%;
  font: inherit;
  font-size: var(--step-0);
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 0 1.35rem 0 0;
  min-height: 24px;
  appearance: none;
}
.qf-field input:focus, .qf-field select:focus { outline: none; }
.qf-field select option { background: var(--panel); color: var(--white); }
.qf-field input::placeholder { color: #64748b; }
.qf-icon svg { width: 100%; height: 100%; }
/* Native date/time pickers: keep the trigger clickable but invisible so the gold icon shows through. */
.qf-field input[type="date"]::-webkit-calendar-picker-indicator,
.qf-field input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 2.4rem;
  height: 100%;
  cursor: pointer;
}
.qf-field input[type="date"], .qf-field input[type="time"] { position: relative; }
.qf-icon {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 15px; height: 15px;
  color: var(--gold);
  pointer-events: none;
}
.qf-field.has-error { border-color: var(--danger); }
/* Read-only fiksna vrednost (smer) / read-only fixed value (direction) */
.qf-field .qf-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-2);
  font-weight: 700;
  margin-bottom: 1px;
}
.qf-field--fixed { background: var(--gold-tint); border-color: var(--gold-line); }
.qf-field--fixed .qf-fixed-value {
  display: block;
  font-size: var(--step-0);
  line-height: 1.3;
  min-height: 24px;
  padding: 0 0.1rem 0 0;
  color: var(--gold);
  font-weight: 700;
}
.qf-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: var(--step--2);
  color: var(--gray-2);
  margin: 0;
}
.qf-note svg { width: 12px; height: 12px; }
.qf-error { font-size: var(--step--2); color: var(--danger); font-weight: 600; margin: 0; }

/* ---------- FEATURE LIST ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.feature-list li { position: relative; padding-left: 1.9rem; font-size: var(--step-0); color: var(--gray); }
.feature-list li svg { position: absolute; left: 0; top: 0.28em; width: 17px; height: 17px; color: var(--gold); }

/* ---------- TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0f1725);
  -webkit-overflow-scrolling: touch;
}
table.price-table { min-width: 300px; font-size: var(--step-0); }
table.price-table th, table.price-table td {
  padding: 0.7rem var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 500;
  color: var(--gray);
}
table.price-table thead th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-2);
  background: rgba(248, 250, 252, 0.03);
  white-space: nowrap;
  font-weight: 700;
}
table.price-table tbody th { color: var(--white); font-weight: 600; }
table.price-table tbody tr:last-child td,
table.price-table tbody tr:last-child th { border-bottom: 0; }
table.price-table td.price-cell { font-weight: 800; white-space: nowrap; color: var(--gold); }
table.price-table td .cell-note { display: block; font-size: 0.72rem; font-weight: 600; color: var(--gray-2); }
/* Quote-on-request labels are long: let them wrap instead of overflowing the table. */
table.price-table td.price-cell--quote { white-space: normal; min-width: 7.5rem; }
@media (max-width: 560px) {
  table.price-table th, table.price-table td { padding: 0.65rem var(--sp-3); }
}

/* ---------- STEPS ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; color: var(--gray); }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: -0.1rem;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--step-0);
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid var(--gold-line);
}

/* ---------- ABOUT ---------- */
.about-grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.about-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--inset);
  margin: var(--sp-5) 0 0;
}
.about-figure figcaption { font-size: var(--step--2); color: var(--gray-2); padding: var(--sp-3) var(--sp-4); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--panel), #0f1725);
  padding: 0 var(--sp-4);
}
.faq details[open] { border-color: var(--gold-line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: var(--sp-4) 2rem var(--sp-4) 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem; top: 1.3rem;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding-bottom: var(--sp-4); color: var(--gray); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CALLOUTS ---------- */
.note {
  border-left: 2px solid var(--gold);
  background: var(--gold-tint);
  padding: var(--sp-4);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: var(--step--1);
  color: var(--gray);
}
.note p:last-child { margin-bottom: 0; }
.urgent-bar { padding: var(--sp-4) 0; }
.urgent-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  background: linear-gradient(120deg, rgba(212, 168, 75, 0.14), rgba(212, 168, 75, 0.03));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}
.urgent-inner p { margin: 0; font-weight: 700; font-size: var(--step-1); }
@media (min-width: 760px) {
  .urgent-inner { grid-template-columns: 1fr auto; }
  .urgent-inner .btn-row { justify-content: flex-end; }
}

/* ---------- FULL FORM ---------- */
.booking-grid { display: grid; gap: var(--sp-6); align-items: start; }
.booking-grid > * { min-width: 0; }
@media (min-width: 980px) {
  .booking-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-7); }
}
.form-shell {
  background: linear-gradient(180deg, var(--panel), #0f1725);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: 0.3rem; color: var(--gray); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--step-0);
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--inset);
  color: var(--white);
  min-height: 42px;
}
.field select option { background: var(--panel); color: var(--white); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.field .hint { display: block; font-size: var(--step--2); color: var(--gray-2); margin-top: 0.25rem; }
.field .error-msg { display: none; font-size: var(--step--2); color: var(--danger); margin-top: 0.25rem; font-weight: 700; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-msg, .check-wrap.has-error .error-msg { display: block; }
.r381-datetime-picker { display: grid; grid-template-columns: minmax(300px, 3fr) minmax(190px, 2fr); gap: .75rem; }
.r381-datetime-group { min-width: 0; margin: 0; padding: .4rem .5rem .5rem; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--inset); }
.r381-datetime-group legend { padding: 0 .3rem; color: var(--gray-2); font-size: var(--step--2); font-weight: 700; }
.r381-datetime-date, .r381-datetime-time { display: grid; gap: .4rem; }
.r381-datetime-date { grid-template-columns: minmax(70px, .8fr) minmax(70px, .8fr) minmax(105px, 1.25fr); }
.r381-datetime-time { grid-template-columns: repeat(2, minmax(76px, 1fr)); }
.field .r381-datetime-group .r381-datetime-input { min-width: 0; min-height: 46px; padding: .55rem .7rem; text-align: center; background-color: #111b2a; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.field.has-error .r381-datetime-group { border-color: var(--danger); }
@media (max-width: 640px) {
  .r381-datetime-picker { grid-template-columns: minmax(0, 1fr); }
  .r381-datetime-date { grid-template-columns: minmax(58px, .8fr) minmax(58px, .8fr) minmax(90px, 1.25fr); }
}
.check-wrap .error-msg { display: none; font-size: var(--step--2); color: var(--danger); margin-top: 0.25rem; font-weight: 700; }
/* Read-only fiksna vrednost u punoj formi / read-only fixed value in the full form */
.field--fixed .fixed-label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: 0.3rem; color: var(--gray); }
.field--fixed .fixed-value {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  min-height: 42px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-xs);
  background: var(--gold-tint);
  color: var(--gold);
  font-size: var(--step-0);
  font-weight: 700;
}
.check {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--gray);
}
.check a { color: var(--gold); }
.check input { width: 20px; height: 20px; min-height: 0; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }
/* ---------- Povratna vožnja / return trip ----------
   Selektori namerno uključuju .field, da po specifičnosti pobede globalno
   pravilo ".field input { width:100% }" nezavisno od redosleda u fajlu.
   The selectors deliberately include .field so they beat the global
   ".field input" rule by specificity, regardless of file order. */
.field.return-choice,
.return-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.return-choice .return-legend {
  float: none; width: auto; padding: 0; margin: 0 0 0.5rem;
  font-weight: 700; font-size: var(--step--1); color: var(--white);
}
.return-choice .radio-row { display: flex; flex-direction: row; gap: var(--sp-5); align-items: center; }
.field .radio-opt,
.radio-opt {
  display: inline-flex; flex-direction: row; gap: 0.5rem; align-items: center;
  font-size: var(--step--1); color: var(--gray); cursor: pointer;
}
.field .radio-opt input[type="radio"],
.radio-opt input[type="radio"] {
  width: 18px; height: 18px; min-height: 0; min-width: 0;
  padding: 0; margin: 0; flex: 0 0 auto;
  border: 0; background: transparent;
  accent-color: var(--gold); cursor: pointer;
  appearance: auto; -webkit-appearance: radio;
}
.radio-opt input:checked + span { color: var(--white); font-weight: 600; }
.return-choice > .hint { display: block; margin-top: 0.5rem; }
/* Honeypot protiv spama. Ranije je stajao na left: -9999px — a to je pravo
   tekstualno polje, pa ga je autofill na tabletu umeo fokusirati i skrolovati
   stranicu do njega, dakle dole do forme.
   Sada se skriva bez pomeranja: ostaje na mestu, nevidljiv i van dometa dodira.
   clip-path ne stvara offset koji browser može da "poseti".

   The honeypot used to sit at left: -9999px; being a real text input, tablet
   autofill could focus it and scroll the page down to it. It is now hidden in
   place, with no offset for the browser to scroll to. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.estimate {
  display: none;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  border-radius: var(--radius-xs);
  padding: var(--sp-4);
}
.estimate.is-visible { display: block; }
.estimate .estimate-price { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--gold); }
.estimate .estimate-note { font-size: var(--step--2); color: var(--gray); margin: 0.25rem 0 0; }
.form-status { display: none; border-radius: var(--radius-xs); padding: var(--sp-4); font-weight: 600; font-size: var(--step-0); }
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(110, 231, 183, 0.1); border: 1px solid rgba(110, 231, 183, 0.5); color: #a7f3d0; }
.form-status.err { background: rgba(252, 165, 165, 0.09); border: 1px solid rgba(252, 165, 165, 0.45); color: #fecaca; }
.terms-list { font-size: var(--step--1); color: var(--gray-2); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-2);
  color: var(--gray);
  padding: var(--sp-7) 0 var(--sp-6);
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: var(--step-1); letter-spacing: 0.04em; }
.site-footer h3 {
  color: var(--white);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--sp-3);
}
.site-footer p { font-size: var(--step--1); }
.site-footer a { color: var(--gray); text-decoration: none; font-size: var(--step--1); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--2);
  color: var(--gray-2);
  display: grid;
  gap: var(--sp-2);
}
.footer-bottom p { margin: 0; font-size: var(--step--2); }
@media (min-width: 700px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- MOBILE STICKY BAR ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(8, 14, 25, 0.97);
  border-top: 1px solid var(--line);
  padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom));
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.45rem 0.2rem;
  border-radius: var(--radius-xs);
  min-height: 50px;
  background: rgba(248, 250, 252, 0.05);
}
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar a.is-primary { background: var(--gold); color: #191203; }
body { padding-bottom: 74px; }

/* ---------- DESKTOP ---------- */
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .site-nav {
    display: block !important;
    position: static;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex: 1 1 auto;
  }
  .site-nav ul {
    display: flex;
    gap: var(--sp-5);
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .site-nav a {
    border-bottom: 0;
    padding: 0.3rem 0;
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.01em;
  }
  .nav-toggle { display: none; }
  .header-book { display: inline-flex; }
  .header-inner { min-height: 68px; }
  .header-nav-wrap { display: flex; align-items: center; flex: 1 1 auto; justify-content: center; }
  .section { padding: var(--sp-8) 0; }
  .hero { padding: var(--sp-5) 0 0; }
  .hero-grid { grid-template-columns: 45% 55%; align-items: stretch; }
  .hero-copy { padding: var(--sp-8) var(--sp-2) var(--sp-8) var(--sp-7); display: flex; flex-direction: column; justify-content: center; }
  .hero-media { min-height: 420px; }
  .hero-media::after {
    background:
      linear-gradient(90deg, #0e1626 0%, rgba(14, 22, 38, 0.85) 12%, rgba(14, 22, 38, 0) 42%),
      linear-gradient(0deg, rgba(11, 18, 32, 0.5) 0%, rgba(11, 18, 32, 0) 30%);
  }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(odd) { border-right: 0; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); }
}

/* ---------- MOTION ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .rcard:hover { transform: none; }
  .rcard:hover .rcard-media img { transform: none; }
}

/* ---------- PROSE + PAGE HEAD ---------- */
.prose { max-width: 72ch; color: var(--gray); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-6); color: var(--white); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-5); color: var(--white); }
.prose a { color: var(--gold); }
.prose li { margin-bottom: 0.4rem; }
.page-head {
  padding: var(--sp-7) 0 var(--sp-6);
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(212, 168, 75, 0.1), transparent 65%),
    linear-gradient(180deg, var(--panel), var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 22ch; }
.page-head .lead { max-width: 62ch; margin-bottom: 0; }
.breadcrumbs { font-size: var(--step--1); color: var(--gray-2); margin-bottom: var(--sp-3); }
.breadcrumbs a { color: var(--gray); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- SECTION HEAD ROW ---------- */
.section-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (min-width: 860px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .lead { max-width: 54ch; }
}

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 430px) {
  .header-inner { padding: var(--sp-2) var(--sp-3); gap: var(--sp-2); }
  .logo .logo-word { font-size: 1.05rem; }
  .logo .logo-arc { width: 82px; }
  .logo .logo-wheel { stroke-width: 2; }   /* tanka linija ostaje citljiva na malom ekranu */
  .nav-toggle { font-size: 0.75rem; padding: 0.45rem 0.5rem; }
  .hero-copy { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .card, .form-shell { padding: var(--sp-4); }
}

/* ---------- ROUTE381 STANDARD (additive section) ---------- */
.std-head { max-width: 62ch; }
.std-head .lead { margin-bottom: 0; }
.std-grid {
  list-style: none;
  margin: var(--sp-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .std-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.std-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 88px;
  padding: var(--sp-5);
  background: linear-gradient(180deg, var(--panel), #0f1725);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.std-card h3 { margin: 0; font-size: var(--step-1); color: var(--white); }
.std-ic {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: var(--gold-tint);
  color: var(--gold);
}
.std-ic svg { width: 22px; height: 22px; }
@media (max-width: 559px) {
  .std-card { padding: var(--sp-4); min-height: 76px; }
}

/* ---------- FORM CONTROL INTERACTION HARDENING (behaviour only, no visual change) ----------
   SR: Kontrole u obe forme moraju ostati klikljive/tapljive u svakom trenutku. Dekorativni
       slojevi iznad kontrole nikada ne primaju pointer event, a pojava kartice sa cenom ne sme
       da uvuče polje pod fiksnu mobilnu traku.
   EN: Controls in both forms must stay clickable/tappable at all times. Decorative layers above
       a control never receive pointer events, and the appearing price card must not push a field
       under the sticky mobile bar. */
.field input, .field select, .field textarea,
.qf-field input, .qf-field select {
  touch-action: manipulation;
  position: relative;
  z-index: 1;
}
/* Dekoracija iznad polja / decoration above a field: never swallow a tap. */
.field > svg,
.field .req,
.field .hint,
.field--fixed .fixed-value,
.qf-icon,
.form-shell::before,
.form-shell::after,
.quick-card::before,
.quick-card::after { pointer-events: none; }
.field .error-msg, .check-wrap .error-msg { pointer-events: none; }
.field label, .qf-field label { pointer-events: auto; }
/* Kartica sa cenom se pojavljuje ispod polja; scroll-margin drži polje iznad fiksne trake.
   Bez ikakve vizualne promene / no visual change. */
@media (max-width: 899px) {
  .form-shell, .quick-card { scroll-margin-bottom: 86px; }
  .field, .qf-field, .estimate { scroll-margin-bottom: 90px; }
}
/* Po završenoj reveal animaciji nema zaostalog kompozitnog sloja (iOS native picker). */
.reveal.is-settled { transition: none; transform: none; opacity: 1; will-change: auto; }

/* ============================================================
   BETA 1.4 — DESKTOP POLISH
   Samo širine i razmaci na velikim ekranima. Nijedno pravilo
   ispod ne menja mobilni ni tablet prikaz, ni HTML strukturu.
   ============================================================ */
@media (min-width: 1000px) {

  /* Dugačak red teksta preko celog ekrana teško se prati.
     Oko 70 znakova je granica ugodnog čitanja. */
  .lead { max-width: 68ch; }
  .section-head .lead,
  .section-head p { max-width: 64ch; }

  /* FAQ se na širokom ekranu inače razvuče preko celih 1200px,
     pa pitanje i odgovor ostanu razdvojeni praznim prostorom. */
  .faq { max-width: 860px; }

  /* Ujednačen razmak između sekcija — ranije je zavisio od
     toga koliko sadržaja sekcija ima. */
  .section { padding: var(--sp-7) 0; }
  .section-head { margin-bottom: var(--sp-6); }
}

/* Kartice ruta u redu moraju biti jednake visine i kad naziv
   relacije pređe u drugi red. */
.rcard-body { flex: 1 1 auto; }

/* ============================================================
   iOS: sprečavanje automatskog zumiranja na fokus polja

   Safari na iPhone-u sam zumira stranicu čim se fokusira polje
   čiji je font manji od 16px. Posle zatvaranja tastature zum
   ostaje, pa stranica može da se pomera levo-desno.

   Naš --step-0 je 15px, pa je uslov bio ispunjen na svakom polju.
   Rešenje je najmanji font od 16px SAMO na dodirnim uređajima —
   izgled na računaru ostaje nepromenjen.

   iOS Safari zooms the page whenever a focused field has a font
   below 16px, and the zoom sticks after the keyboard closes.
   Forcing 16px on touch devices only keeps the desktop look intact.
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .field input,
  .field select,
  .field textarea,
  .qf-field input,
  .qf-field select {
    font-size: 16px;
  }
}

/* Dodatni pojas sigurnosti: ništa ne sme da probije širinu ekrana.
   Namerno SAMO na body — overflow-x na <html> gasi position:sticky,
   a zaglavlje sajta se oslanja upravo na njega.
   Deliberately on body only: overflow-x on <html> breaks position:sticky,
   which the site header depends on. */
body { overflow-x: clip; }

/* Tip transfera zaključan aerodromom: vizuelno prigušen, ali i dalje
   šaljiv u prijavi. `disabled` bi izbacio polje iz FormData, pa se
   koristi samo izgled + vraćanje vrednosti u JS-u.

   `:not(:focus)` je namerno: ovo pravilo stoji posle ".field select:focus",
   pa bi bez njega pri jednakoj specifičnosti pojelo prsten fokusa i
   korisnik tastature ne bi video gde se nalazi.

   The type locked by an airport is dimmed but still submitted. `:not(:focus)`
   is deliberate: this rule comes after ".field select:focus", so without it the
   focus ring would be swallowed and keyboard users would lose their place. */
.field select[data-locked="1"]:not(:focus) {
  opacity: 0.75;
  cursor: not-allowed;
  border-color: var(--gold-line);
}
.field.has-error select[data-locked="1"] { border-color: var(--danger); }
.field [data-route-locked="1"] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .78;
  border-color: var(--gold-line);
  background-color: var(--gold-tint);
}

/* ---------- PRETRAGA GRADOVA / CITY COMBOBOX ----------
   Vidljivo polje preuzima izgled ostalih polja forme; izvorni <select>
   ostaje u dokumentu kao nosilac vrednosti, samo sklonjen iz vidokruga.
   The visible input inherits the form field styling; the original select
   stays in the DOM as the value holder, merely taken out of view. */
.combo { position: relative; }
/* Selektor mora da pobedi ".qf-field select" i ".field select" (0,1,1),
   inače izvorni select ostaje u toku i polje dobija dvostruku visinu:
   vidljivi input gore, zaboravljeni select ispod njega.
   This must outrank ".qf-field select" and ".field select" (0,1,1) — otherwise
   the native select stays in flow and the field renders at double height. */
.qf-field select.combo-native,
.field select.combo-native,
select.combo-native,
.combo-native {
  position: absolute;
  width: 1px; height: 1px;
  min-height: 0;
  padding: 0; margin: -1px; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden;
  appearance: none;
}
.field .combo-input,
.qf-field .combo-input { width: 100%; }

.combo-list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  left: 0; right: 0;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-xs);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.combo-item {
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-0);
  color: var(--white);
  cursor: pointer;
}
.combo-item:hover,
.combo-item.is-active {
  background: rgba(212, 168, 75, 0.16);
  color: var(--gold);
}
.combo-empty {
  padding: 0.55rem 0.6rem;
  font-size: var(--step--1);
  color: var(--gray);
}
@media (hover: none) and (pointer: coarse) {
  .field .combo-input { font-size: 16px; }
}

/* ---------- Traka za kontakt dok je tastatura otvorena ----------
   Na iOS-u `position: fixed; bottom: 0` gubi pravo dno čim se tastatura
   pojavi: layout viewport ostaje visok, pa traka odleti preko sredine
   ekrana i pri skrolovanju poskakuje. Dok korisnik kuca, traka mu ionako
   ne treba — sklanjamo je i vraćamo kad polje izgubi fokus.

   On iOS a bottom-fixed bar loses the real bottom edge once the keyboard
   opens: the layout viewport stays tall, so the bar floats over the middle
   of the screen and jumps while scrolling. It is not needed while typing. */
body.keyboard-open .mobile-bar {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  pointer-events: none;
}
.mobile-bar {
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

/* Dugme za prikaz svih relacija u cenovniku. Koristi postojeći
   sekundarni stil (.btn--ghost) — ovde se dodaje samo razmak i
   centriranje ispod tabele.
   The "show all" control reuses the existing secondary button style;
   only spacing and centring are added here. */
.price-more { margin-top: var(--sp-4); text-align: center; }

/* Blok fiksne cene u brzoj formi — koristi postojeći .estimate izgled,
   samo se uklapa u uži raspored quick forme.
   The fixed-price block reuses the existing .estimate styling. */
.qf-fixed { margin-top: var(--sp-4); }
.qf-fixed[hidden] { display: none !important; }

/* Zaključana destinacija (tip je aerodromski) — isti prigušeni izgled
   kao zaključan tip transfera, uz zadržan prsten fokusa.
   Locked destination mirrors the locked type styling, focus ring intact. */
.field select[data-locked="1"]:not(:focus) { opacity: 0.75; cursor: not-allowed; border-color: var(--gold-line); }

/* ---------- Cookie consent traka ----------
   Diskretna traka na dnu, u postojećem panel stilu. Nije modal preko celog
   ekrana — korisnik može da čita sajt dok odlučuje. Obe opcije su vizuelno
   ravnopravne: "Odbij" nije skriven ni oslabljen.
   A discreet bottom bar in the existing panel style, not a full-screen modal.
   Accept and Reject carry equal visual weight. */
.cookie-bar {
  position: fixed;
  left: var(--sp-4); right: var(--sp-4);
  bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  z-index: 130;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-5);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: var(--sp-4);
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; font-size: var(--step--1); color: var(--gray); }
.cookie-bar a { color: var(--gold); }
.cookie-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 auto; min-width: 120px; }
/* Traka ustupa mesto mobilnoj traci za kontakt, da se ne preklapaju. */
@media (max-width: 900px) {
  .cookie-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* Dugme za zamenu smera u quick widgetu — u postojećem jeziku forme,
   dovoljno veliko za dodir na telefonu (44px).
   Swap control in the existing form language, 44px touch target. */
.qw-swap-row { display: flex; justify-content: center; margin: calc(var(--sp-3) * -1) 0; }
.qw-swap {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--gold);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.qw-swap svg { width: 20px; height: 20px; }
.qw-swap:hover { border-color: var(--gold); transform: rotate(180deg); }
.qw-swap:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Pretraga gradova: ponašanje po širinama ekrana ----------
   Lista je uvek unutar kartice (left/right: 0 na roditelju sa position:
   relative), pa ne može izaći iz layouta ni na jednoj širini.

   Telefon    — viša lista i veći redovi za dodir, ali ne preko trake za
                kontakt na dnu; z-index ostaje ispod nje (120).
   Tablet     — srednja visina, kompaktniji redovi.
   Desktop    — najkompaktnija; miš ne traži velike ciljeve.

   The list is always anchored inside the card, so it cannot break out of the
   layout at any width; only height and row size change per breakpoint. */

/* Telefon (do 559px): veći tap ciljevi, više vidljivih rezultata. */
@media (max-width: 559px) {
  .combo-list {
    max-height: 46vh;
    padding: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .combo-item {
    padding: 0.85rem 0.7rem;       /* ~44px visina reda */
    font-size: 16px;               /* bez iOS zumiranja pri fokusu */
  }
  .combo-empty { padding: 0.85rem 0.7rem; }
}

/* Tablet (560–1023px). */
@media (min-width: 560px) and (max-width: 1023px) {
  .combo-list { max-height: 320px; }
  .combo-item { padding: 0.7rem 0.65rem; }
}

/* Desktop (1024px naviše). */
@media (min-width: 1024px) {
  .combo-list { max-height: 300px; }
  .combo-item { padding: 0.55rem 0.6rem; }
}

/* Lista nikad ne sme da izađe iz kartice ni da napravi bočno pomeranje. */
.combo { max-width: 100%; }
.combo-list { max-width: 100%; box-sizing: border-box; }
.combo-item { overflow-wrap: anywhere; }

/* ============================================================
   TABLET I VELIKI EKRANI — namerni slojevi, ne skaliranje
   ------------------------------------------------------------
   Do sada je poslednji layout prag bio 1000px, pa je iPad landscape
   (1024–1366) dobijao pun desktop layout: tipografiju crtanu za miš na
   40 cm i gridove od četiri kolone. Tablet se drži na 50–70 cm i koristi
   prstom, često na suncu — isti brojevi tamo ne rade.

   Klase:
     ≤559       telefon                (postojeće)
     560–767    veliki telefon         (postojeće)
     768–1023   tablet portrait        NOVO
     1024–1365  tablet landscape       NOVO
     1366–1679  laptop / desktop       (postojeće)
     ≥1680      veliki ekran           NOVO

   Until now the last layout breakpoint was 1000px, so iPad landscape got the
   full desktop layout — type drawn for a mouse at 40cm and four-column grids.
   A tablet is held at 50–70cm and used with a finger.
   ============================================================ */

/* ---------- TABLET: 768–1365px ---------- */
@media (min-width: 768px) and (max-width: 1365px) {
  :root {
    /* Krupniji osnovni tekst nego na desktopu — veća udaljenost gledanja. */
    --step--2: 0.8125rem;   /* 13px, bilo 12 */
    --step--1: 0.9063rem;   /* 14.5px, bilo 13 */
    --step-0:  1rem;        /* 16px, bilo 15 */
    --step-1:  1.125rem;    /* 18px, bilo 17 */
  }

  /* Navigacija: čitljiva i dovoljna za prst. */
  .site-nav a {
    font-size: var(--step-0);
    padding: 0.6rem 0.7rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .lang-switch a { min-height: 40px; padding: 0.45rem 0.75rem; font-size: var(--step--1); }
  .header-book { min-height: 44px; font-size: var(--step--1); }

  /* Kartice: veći razmak i unutrašnji prostor, da ne izgledaju kao tabela. */
  .card { padding: var(--sp-5); }
  .card h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
  .card p { font-size: var(--step--1); }
  .grid { gap: var(--sp-5); }

  /* Muted napomene su bile na granici čitljivosti na tabletu. */
  .muted, .note, .hint, .qf-note { font-size: var(--step--1); line-height: 1.55; }

  /* Forme: veći ciljevi za dodir. */
  .field input, .field select, .field textarea { min-height: 48px; font-size: var(--step-0); }
  .field label { font-size: var(--step--1); }
  /* Quick forma ima labelu unutar iste kutije, pa je sama kontrola bila
     30px — ispod dodirnog minimuma. Kontrola dobija 46px, a padding kutije
     se smanjuje da ukupna visina ostane razumna (≈74px sa labelom).
     The quick form keeps its label inside the field box, so the control itself
     was only 30px; it now gets 46px while the box padding shrinks to compensate. */
  .qf-field input, .qf-field select {
    font-size: var(--step-0);
    min-height: 46px;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }
  .qf-field { padding: 0.5rem 0.8rem 0.3rem; }
  .qf-field label { font-size: 0.7rem; margin-bottom: 2px; }
  /* Ikona prati novu visinu kontrole. */
  .qf-icon { bottom: 1.05rem; width: 17px; height: 17px; }
  /* Combo polje pretrage isto — nasleđuje .qf-field input, ali osiguravamo. */
  .qf-field .combo-input { min-height: 46px; }
  .btn { min-height: 48px; font-size: var(--step-0); }

  /* Traka za kontakt ostaje — tablet je i dalje dodirni uređaj — ali niža. */
  .mobile-bar { display: grid; padding: 0.3rem 0.4rem calc(0.3rem + env(safe-area-inset-bottom)); }
  .mobile-bar a { font-size: var(--step--2); padding: 0.4rem 0.3rem; }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 64px; }
}

/* ---------- TABLET PORTRAIT: 768–1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Nikad četiri kolone na portraitu — kartice postaju neupotrebljivo uske. */
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Dve kolone teksta pored tabele su na portraitu presabijene. */
  .grid--2 { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  /* Puna forma: dve kolone tek ovde, ne od 700px. */
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- TABLET LANDSCAPE: 1024–1365px ---------- */
@media (min-width: 1024px) and (max-width: 1365px) {
  /* Pet kartica u gridu od četiri daje raspored 4+1 — jedna sama u redu.
     Tri kolone daju 3+2, što izgleda namerno.
     Five cards in a four-column grid leave one orphan; three columns give 3+2. */
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Quick widget ostaje vertikalan i na landscape tabletu.
     Horizontalni raspored FROM | swap | TO bi zahtevao prepakivanje markupa
     u jedan grid, a vertikalni tok je na dodirnom uredaju citljiviji: oko
     ide odozgo nadole, polja su puna sirina i laka za prst. Umesto zbijanja
     u kolone, kartica se centrira i ogranicava na citljivu sirinu.
     The widget stays vertical on landscape tablets: full-width fields read
     better under a finger than a cramped three-column row. */
  .quick-card { max-width: 620px; margin-left: auto; margin-right: auto; }
  .quick-card .qf-row + .qf-row { margin-top: var(--sp-4); }
  /* Rezultat cene mora vizuelno dominirati kad se pojavi. */
  .quick-card .estimate-price { font-size: var(--step-4); line-height: 1.1; }
}

/* ---------- VELIKI EKRANI: ≥1680px ---------- */
@media (min-width: 1680px) {
  :root { --maxw: 1320px; }     /* šire, ali i dalje kontrolisano */
  .wrap { max-width: var(--maxw); }
  /* Tekst ne sme da se razvuče preko celog ekrana. */
  .lead, .section-head p { max-width: 68ch; }
  .section { padding: calc(var(--sp-7) * 1.15) 0; }
}

/* Bez horizontalnog prelivanja ni na jednoj širini. */
img, svg, table { max-width: 100%; }

/* Cenovnik na stranicama ruta — na tabletu i telefonu red postaje čitljiva
   traka umesto sabijene tabele: naziv relacije levo, cena desno, veći redovi
   za dodir. Na desktopu tabela ostaje kakva jeste.
   On tablets and phones each row becomes a readable band instead of a cramped
   table; the desktop table stays as it is. */
@media (max-width: 1023px) {
  .price-table { min-width: 0; width: 100%; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--line);
  }
  .price-table th, .price-table td { border: 0; padding: 0; }
  .price-table th[scope="row"] { font-size: var(--step--1); font-weight: 600; text-align: left; }
  .price-cell { font-size: var(--step-0); }
}

/* ---------- Benefit red: ikonica + naslov + opis ----------
   Zamenjuje pet punih kartica u sekciji Vozila i vozaci. Na telefonu je to
   kompaktan red visine ~64px umesto kartice od ~150px, a ikonica nosi
   prepoznavanje umesto praznog prostora.
   Replaces five full cards with a compact icon row: ~64px per item on phones
   instead of ~150px, with the icon carrying recognition. */
.benefits { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 0; }
.benefit-ic {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}
.benefit-ic svg { width: 18px; height: 18px; }
.benefit-txt { display: block; font-size: var(--step--1); color: var(--gray); line-height: 1.45; }
.benefit-txt strong { display: block; color: var(--white); font-size: var(--step-0); margin-bottom: 1px; }

/* Tablet portrait: dve kolone, bez linija izmedu. */
@media (min-width: 768px) and (max-width: 1023px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
  .benefit { border-bottom: 0; padding: 0.4rem 0; }
  .benefit-ic { width: 40px; height: 40px; }
  .benefit-ic svg { width: 21px; height: 21px; }
}
/* Tablet landscape: tri kolone - pet stavki daje 3+2. */
@media (min-width: 1024px) and (max-width: 1365px) {
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
  .benefit { border-bottom: 0; padding: 0.4rem 0; }
  .benefit-ic { width: 40px; height: 40px; }
  .benefit-ic svg { width: 21px; height: 21px; }
}
/* Desktop: pet u redu, elegantno bez rastezanja. */
@media (min-width: 1366px) {
  .benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5); }
  .benefit { flex-direction: column; align-items: flex-start; gap: var(--sp-3); border-bottom: 0; padding: 0; }
}

/* ---------- Quick checker odmah posle trust trake ----------
   Zasebna sekcija, ne produzetak trust bloka: gornji razmak je manji od
   standardnog (da checker bude rano u toku), ali dovoljan da se jasno
   odvoji. Kartica ostaje kontrolisane sirine i centrirana na svim ekranima,
   pa se ne rasteze preko 1920/2560/4K.
   A separate section rather than an extension of the trust band: less top
   padding so the checker comes early, enough to read as its own block. */
#quick-route { padding-top: var(--sp-6); }
#quick-route .quick-card { max-width: 620px; margin-left: auto; margin-right: auto; }

@media (min-width: 1366px) {
  #quick-route .quick-card { max-width: 680px; }
}

/* Oznaka grupe uz rezultat pretrage — domaca ili medjunarodna relacija.
   Group label next to a search result: domestic or international. */
.combo-item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.combo-group {
  flex: 0 0 auto;
  font-size: var(--step--2);
  letter-spacing: .06em;
  color: var(--gray-2);
  text-transform: uppercase;
}
.combo-item.is-active .combo-group, .combo-item:hover .combo-group { color: var(--gold); }
